Commit Graph

573 Commits

Author SHA1 Message Date
da29797dcf User dictionary importing 2016-11-07 09:22:57 -08:00
8f995194bb WIP 2016-11-07 09:16:38 -08:00
a18f3be559 Renaming things 2016-11-07 08:29:21 -08:00
c11b24cb37 Cleanup 2016-11-07 08:24:39 -08:00
8c22f53f3e Dexie fixes 2016-11-07 08:21:49 -08:00
ed2091ae1b WIP 2016-11-06 22:19:48 -08:00
6eab90b89c Cleanup 2016-11-06 20:43:09 -08:00
3655e5a820 Cleanup 2016-11-06 19:14:43 -08:00
7fa51d682f More work on options 2016-11-06 18:58:00 -08:00
73c7c225f1 Save dictionary options 2016-11-06 18:30:51 -08:00
20304b5460 WIP 2016-11-06 18:09:12 -08:00
712cd6a9ab Simplify field code 2016-11-06 17:56:47 -08:00
fd6622400f Templates 2016-11-06 17:10:31 -08:00
5172155c78 WIP 2016-11-06 12:06:56 -08:00
3f606a0ab0 Combined import 2016-11-06 11:01:35 -08:00
81b7f504f4 WIP 2016-11-05 22:49:13 -07:00
c24e179b10 WIP 2016-11-05 18:24:45 -07:00
92fbc14e0b WIP 2016-11-05 18:10:49 -07:00
d3a0173874 Dictionary naming 2016-11-05 17:51:01 -07:00
e2f1560afa WIP 2016-11-05 17:30:00 -07:00
fd2820bc1a WIP 2016-11-05 16:44:29 -07:00
5710dc55a7 Fix #22 2016-10-26 20:30:44 -07:00
b1bd441bf2 Verison bump 2016-10-21 21:34:23 -07:00
e51f43886b Fixing blank tags 2016-10-21 21:33:54 -07:00
83f5bd24df Enable katakana soft search (resolves #14) 2016-10-21 20:43:09 -07:00
5467ed11e1 Adding soft katakana search option 2016-10-21 20:15:00 -07:00
25a8f4fb68 Cleanup 2016-10-21 20:08:16 -07:00
3962a9cb19 Adding wanakana 2016-10-21 19:43:42 -07:00
53c8885cad . 2016-10-21 09:10:46 -07:00
13676f3f4c Version bump 2016-10-19 21:21:31 -07:00
ba02ae7f8d Improved error handling 2016-10-19 21:21:00 -07:00
7618b8e909 Cleanup 2016-10-19 20:57:08 -07:00
055174efd2 Options page TLC 2016-10-19 20:32:22 -07:00
83af15e94b Options form cleanup 2016-10-19 20:12:03 -07:00
db918d3675 Relog when ankiweb auth settings change 2016-10-19 09:26:26 -07:00
7d93587acb Conditionally show add buttons 2016-10-19 08:52:22 -07:00
a4a67be455 Merge branch 'master' into dev 2016-10-18 21:29:39 -07:00
e7a9215959 WIP 2016-10-18 21:28:25 -07:00
de33a19498 WIP 2016-10-17 20:59:54 -07:00
9d1756a2a8 WIP 2016-10-17 20:20:50 -07:00
6cd1f70baa Error handling 2016-10-17 20:02:50 -07:00
0afc4579c5 WIP 2016-10-17 09:17:10 -07:00
f22fcb0a5d Cleanup, reset scroll position on definition lookup (#20) 2016-10-17 09:14:49 -07:00
aa1a2b0176 Make text easier to select in hover mode (#18) 2016-10-17 09:01:43 -07:00
bc8ef56cc2 Improved login behavior 2016-10-16 21:45:41 -07:00
f2c8d7d04e WIP 2016-10-16 19:19:04 -07:00
153e64e08e WIP 2016-10-16 18:56:49 -07:00
052815ae29 WIP 2016-10-16 18:50:07 -07:00
c076821e37 WIP 2016-10-16 18:44:36 -07:00
1fe2626443 Cleanup 2016-10-16 18:34:31 -07:00
16cdb1f13e WIP 2016-10-16 17:56:00 -07:00
9eaadd2a6e WIP 2016-10-16 12:12:31 -07:00
9f67e5e584 WIP 2016-10-15 23:38:00 -07:00
0b4bdec7f2 WIP 2016-10-15 23:23:40 -07:00
38c1a9a593 WIP 2016-10-15 20:33:04 -07:00
5057d6b6cf WIP 2016-10-15 19:51:41 -07:00
49f98a8c53 WIP 2016-10-15 19:21:02 -07:00
7aa6d6feee WIP 2016-10-15 19:05:53 -07:00
ef25ad144e WIP 2016-10-15 17:34:29 -07:00
6898de4ca6 WIP 2016-10-15 17:30:49 -07:00
66fe5018cf Don't hide popup when scrolling (resolves #21) 2016-10-12 21:12:21 -07:00
ef86c69bd6 Add ankiweb stub 2016-10-11 20:54:54 -07:00
82162a071a WIP 2016-10-11 19:45:36 -07:00
910af58b34 Fixing incorrect autocomplete 2016-10-10 20:52:43 -07:00
a949e66a6c Fixes 2016-10-10 20:51:42 -07:00
f85874f97b WIP 2016-10-10 19:50:55 -07:00
a6dd997122 Pressing keys other than escape no longer closes definition popup 2016-10-09 12:33:02 -07:00
f34b512522 Revert "Allow bootstrap in popup templates"
This reverts commit da0cb81801.
2016-10-08 19:40:19 -07:00
da0cb81801 Allow bootstrap in popup templates 2016-10-08 18:47:24 -07:00
4ec94078cd Bumping version 2016-10-08 17:40:53 -07:00
1e9906c624 Automatically look up Kanji when cannot find definitions.
Allow text scanning without holding Shift key (resolves #18).
2016-10-08 17:39:21 -07:00
1d573f4179 Add visibility query 2016-09-29 21:04:03 -07:00
e433207968 Version bump 2016-09-28 20:15:08 -07:00
004a0d5281 Fix activation bug 2016-09-28 20:14:21 -07:00
071902cd05 Fixing bad dictionary data 2016-09-27 22:01:08 -07:00
adfc9b7f2a Cleanup 2016-09-19 21:12:45 -07:00
fcd9439bf5 Updating readme 2016-09-19 21:04:01 -07:00
7666d6a3e6 Cleanup 2016-09-19 20:17:58 -07:00
4e2d7327c5 Bumping version number 2016-09-18 19:49:59 -07:00
2a65060b73 Hold down ctrl to search for kanji, fixes #13 2016-09-18 17:32:57 -07:00
daf774150d Activate on startup 2016-09-18 09:45:39 -07:00
c05f7a7c1c Work on progress bar 2016-09-16 20:28:59 -07:00
dc273c0c73 Cleanup 2016-09-15 22:44:33 -07:00
b969e8952c Cleanup 2016-09-15 21:03:58 -07:00
b87611cfdd Bugfixes 2016-09-15 20:16:23 -07:00
7069f428ee Cleanup 2016-09-15 20:10:11 -07:00
3608c9c16e . 2016-09-14 22:54:07 -07:00
c3ead3af93 . 2016-09-14 22:40:35 -07:00
0eb54e24c6 Deleting dead options 2016-09-14 22:34:05 -07:00
07a1f94806 Updating icons 2016-09-14 21:14:34 -07:00
ce49a126cf Progress bar 2016-09-14 21:08:51 -07:00
b9d53f8427 Progress update 2016-09-14 20:08:49 -07:00
ff3896ed01 Fix progress counting 2016-09-13 22:43:16 -07:00
17366e521a Progress callback for dictionary loading 2016-09-13 20:36:13 -07:00
0e89d0e7e6 Database stuff 2016-09-13 15:59:18 -07:00
cd4f16c096 Options cleanup 2016-09-13 13:38:37 -07:00
540d0e239c Cleanup 2016-09-12 22:14:58 -07:00
4241b4f859 WIP 2016-09-11 22:47:08 -07:00
f4314497e4 Cleanup 2016-09-11 20:59:42 -07:00
fa446f540a WIP 2016-09-11 20:41:41 -07:00
f653195aed Cleanup 2016-09-11 20:35:53 -07:00
8f776cf759 Cleanup 2016-09-11 20:18:34 -07:00
6183864f16 Cleanup 2016-09-11 19:47:40 -07:00
94dccfd875 WIP 2016-09-11 12:48:53 -07:00
8eb43c93d9 Cleanup 2016-09-11 12:40:45 -07:00
d5ea03171e Working with IndexDb 2016-09-11 12:29:18 -07:00
1ac14cd633 WIP 2016-09-10 22:51:04 -07:00
64d6b8761d WIP 2016-09-10 22:35:31 -07:00
3ec57d5bf6 Fixes 2016-09-10 22:25:16 -07:00
0587399883 WIP 2016-09-10 19:44:54 -07:00
47ef617eb4 Cleanup 2016-09-10 19:40:56 -07:00
fa391bd5d3 WIP 2016-09-10 19:36:28 -07:00
05ac931285 Work on deinflector 2016-09-10 18:57:00 -07:00
133abb6f58 . 2016-08-29 20:27:04 -07:00
c55ba3b2be WIP 2016-08-29 19:51:37 -07:00
9462bc397b Cleanup 2016-08-28 21:02:51 -07:00
4bebe92159 WIP 2016-08-24 09:14:23 -07:00
b2d9b613ad Cleanup 2016-08-23 22:28:37 -07:00
8b5f74f99b WIP 2016-08-23 22:22:09 -07:00
6366d9bd8e WIP 2016-08-23 20:53:11 -07:00
f106b64876 WIP 2016-08-23 20:33:04 -07:00
9621a0cd4b WIP 2016-08-22 08:48:19 -07:00
a062b25178 Work on DB integration 2016-08-21 19:51:12 -07:00
67f906ab24 Import stubs 2016-08-21 13:32:36 -07:00
96c6c4ad1a Adding dexie 2016-08-20 22:03:16 -07:00
8416c9d633 More cleanup 2016-08-20 19:32:50 -07:00
18fc8d9865 Performance improvements 2016-08-20 19:15:30 -07:00
015c262bbf Cleanup 2016-08-20 13:42:12 -07:00
9649a83181 Better control over result ordering. This fixes #12 2016-08-20 13:04:59 -07:00
28e217b75b WIP 2016-08-18 21:48:40 -07:00
70188eacb1 WIP 2016-08-18 20:33:39 -07:00
1d6223e540 WIP 2016-08-18 20:28:02 -07:00
eca27326ec Bumping version 2016-08-18 20:28:02 -07:00
e6eea28174 Tweaks 2016-08-15 18:44:17 -07:00
c76aeba190 Fixing tag 2016-08-14 22:52:49 -07:00
02cee68727 Adding usage guide 2016-08-14 12:32:19 -07:00
d0654e2cf6 Adding stub for usage guide 2016-08-14 12:08:06 -07:00
03ac18004e Version bump 2016-08-12 19:10:40 -07:00
8524881d33 Backwards compat 2016-08-12 19:05:48 -07:00
de2029fb7a WIP 2016-08-11 20:56:49 -07:00
eb7456089a Adding dropdown 2016-08-11 08:57:23 -07:00
5cc989b87f Rename references of "vocab" to "term" 2016-08-10 08:44:52 -07:00
0ef6a2f6c9 Version bump 2016-08-09 22:02:49 -07:00
e6d821b731 Cleanup using promises 2016-08-09 21:23:05 -07:00
dcce58fc2e Cleanup 2016-08-08 20:02:58 -07:00
b080e30b14 Metadata 2016-08-08 19:50:49 -07:00
afef392491 Simplify loading code with promises 2016-08-08 09:09:03 -07:00
6c838b7fb4 Cleanup 2016-08-07 22:42:56 -07:00
29135ff84f Updating kanji display 2016-08-07 19:56:50 -07:00
a9e86544c1 Work on tags 2016-08-07 13:42:10 -07:00
3c9f2c6a2e Cleanup 2016-08-07 13:01:27 -07:00
d3272efef7 Get rid of addon hack 2016-08-07 12:41:09 -07:00
024ec83251 Reduce file size 2016-08-06 23:16:55 -07:00
9468797b87 Use entity data from dictionary 2016-08-06 23:04:03 -07:00
08d92a4ddb New Kanjidic data 2016-08-05 22:14:54 -07:00
02d679a461 Updating enamdict and edict, code to load dictionaries. 2016-08-03 21:09:21 -07:00
43e2024529 Cleanup 2016-07-25 20:43:35 -07:00
3ffcf184bb Fix typo 2016-07-25 20:32:45 -07:00
80fedc4f7a Hook up sentence search extent to options 2016-07-25 20:28:56 -07:00
2b2e6cba3f Updating options page to include new tags 2016-07-25 20:15:56 -07:00
657b541e25 Bumping version 2016-07-25 20:13:53 -07:00
f88f8dc97f Sentence and URL support 2016-07-25 20:07:54 -07:00
d26ecab0b5 Adding sentence extraction code 2016-07-24 21:22:03 -07:00
19cc8fda33 Better range handling. 2016-07-24 21:18:17 -07:00
871acf7c2d Bumping version 2016-07-24 10:59:55 -07:00
25580a3e02 Add local permissions 2016-07-24 10:59:37 -07:00
e75d00f25b Bugfix 2016-07-23 23:04:39 -07:00
282ada3b91 Fixing exception 2016-07-23 23:02:55 -07:00
e062ae2063 Support looking up definitions for buttons and inputs. 2016-07-23 19:06:33 -07:00
b2c19ab9c9 Deleting dead code, bumping version. 2016-07-23 15:21:22 -07:00
fc17c6a603 Use document.write to populate IFRAME, as this avoids flicker on navbar
buttons and performs better. Will have to conditionally do the old
behavior for Firefox.
2016-07-23 15:17:35 -07:00
22d73228ca Cleanup 2016-07-23 15:14:13 -07:00
6d9b4392e2 Renaming classes 2016-07-23 13:12:24 -07:00
a72e958ebf Support looking up image tags 2016-07-23 13:06:09 -07:00
a889e1ffaa WIP 2016-07-23 12:47:42 -07:00
6099de71d8 Work on supporting different text sources 2016-07-22 22:14:59 -07:00
4e46f4bded Stub 2016-07-22 21:47:12 -07:00
9589a68def Fixing range optimization 2016-07-21 09:13:38 -07:00
e4ecf11fc7 Version bump 2016-07-20 09:01:59 -07:00
ab27ef0096 Fixing audio not working on some pages 2016-07-20 09:01:40 -07:00
e32f31fa43 Formatting legal page 2016-07-19 22:19:54 -07:00
a9a694358f Fixing Kanji behavior, bumping version 2016-07-18 08:41:46 -07:00
a567ef3605 Pronounce => Play Audio 2016-07-18 08:08:31 -07:00
cea8471290 More error updates 2016-07-17 11:01:17 -07:00
7d5e8b9b8c Better error message 2016-07-17 10:57:51 -07:00
09ec4af3c1 Audio support 2016-07-17 10:35:16 -07:00
f2bd0ec7bb Add option to enable and disable audio playback 2016-07-15 23:29:36 -07:00
361dd47f0a Simplify requests 2016-07-14 22:06:47 -07:00
22219693c9 Bumping version number 2016-07-10 18:24:10 -07:00
0eccd89f14 Support additional replacement fields 2016-07-10 18:16:51 -07:00
1574f79534 Updating options page for smaller layout 2016-07-06 22:16:18 -07:00
abb3d74142 Temporarily removing gecko code from master until everything works in
firefox branch.

This reverts commit 30585892b8, reversing
changes made to bd89db4ec5.
2016-07-06 19:56:13 -07:00
80d2eac33c Revert "Remove firefox related warning for chrome branch"
This reverts commit 125877a653.
2016-07-06 19:42:01 -07:00
125877a653 Remove firefox related warning for chrome branch 2016-07-05 22:31:15 -07:00
ispedals
a9863de95e Request permission to access localhost
Permission is required to do XHR request to the domain. Otherwise
Gecko attempts to use CORS to negotiate the request, which AnkiConnect
does not expect.
2016-06-19 12:54:35 -04:00
ispedals
099d48ef48 Polyfill caretRangeFromPoint()
Gecko did not implment the older caretRangeFromPoint() and instead
implemented the newer caretPositionFromPoint()
2016-06-19 12:54:32 -04:00
ispedals
651231fbc1 Use iFrame srcdoc attribute to set the content of the popup
Previously the contentdocument of the iFrame was opened and
document.write() was being used set the contents of the popup.
In Gecko, content scripts do not have the same security context
as of the embedded page, so the call to document.open() results in
a SecurityError.
2016-06-19 12:54:30 -04:00
ispedals
28de6a4d6e Add mimetype to XHR call
This silences warnings about the JSON files being ill-formed
2016-06-19 12:54:27 -04:00
ispedals
5e0ac4e8ea Workaround spidermonkey bug so dictionary data loads
We need to make a copy of the iteration variable in the for-of
loop so that the distinct values are available in the callback.
2016-06-19 12:54:22 -04:00
ispedals
b4fe1f1fa6 Add polyfills for Gecko's WebExtension implementation
Gecko currently does not support chrome.storage.sync and
chrome.runtime.onInstalled. Use chrome.storage.local instead of
sync and ignore calls to onInstalled. The implication of not
having runtime.onInstalled is that the options page is not shown
on first-run.
2016-06-19 12:54:12 -04:00