Commit Graph

1753 Commits

Author SHA1 Message Date
toasted-nutbread
3e1b080cd3 Simplify how anki templates are reset 2019-12-01 21:08:46 -05:00
toasted-nutbread
767a480a84 Organize main settings script 2019-12-01 17:02:01 -05:00
toasted-nutbread
a4de2d425a Move popup preview settings into new script 2019-12-01 17:02:01 -05:00
toasted-nutbread
65e9d47743 Move storage settings into new script 2019-12-01 17:02:01 -05:00
toasted-nutbread
69ba665a4f Move anki template settings into new script 2019-12-01 17:02:01 -05:00
toasted-nutbread
67990f4cb9 Move anki settings into new script 2019-12-01 16:19:15 -05:00
toasted-nutbread
3a517f0574 Move audio settings into new script 2019-12-01 16:19:15 -05:00
toasted-nutbread
ae94f84ffd Move settings scripts 2019-12-01 16:19:12 -05:00
toasted-nutbread
a7e4901f72 Move PageExitPrevention to its own file 2019-12-01 15:19:21 -05:00
siikamiika
5929018fac move Display context to a new class 2019-12-01 05:38:23 +02:00
siikamiika
be23ad7213 remove dead code 2019-11-30 04:59:36 +02:00
siikamiika
ff9510356e rewrite history as a doubly linked list 2019-11-30 04:49:37 +02:00
siikamiika
e3d96eb67d fix yomichan menu on Firefox Android 2019-11-29 02:58:17 +02:00
siikamiika
71a117c267 clear Display history on search page lookup 2019-11-28 23:52:15 +02:00
siikamiika
1f2734863f Display history navigation buttons fixed position 2019-11-28 18:06:24 +02:00
siikamiika
2e04f752a5 fix clicking on query parser 2019-11-28 16:08:19 +02:00
siikamiika
beea89a421 store popped context history in Display 2019-11-28 15:20:18 +02:00
toasted-nutbread
5a1046bc90 Update arrow-parens to always 2019-11-26 22:06:27 -05:00
toasted-nutbread
63a775ebca Add missing semicolon 2019-11-26 22:06:27 -05:00
toasted-nutbread
df9e697fca Remove trailing commas 2019-11-26 22:06:27 -05:00
toasted-nutbread
acb70f126c Update unused arguments 2019-11-26 22:06:27 -05:00
toasted-nutbread
ef833d2bea Use const rather than let where possible 2019-11-26 22:06:27 -05:00
toasted-nutbread
527595f79b Remove unnecessary escapes from regex literals 2019-11-26 22:06:27 -05:00
toasted-nutbread
1daed12290 Comment empty blocks 2019-11-26 22:06:27 -05:00
toasted-nutbread
943350a1f6 Use single quotes 2019-11-26 22:06:27 -05:00
toasted-nutbread
0aed27b66d Replace hasOwnProperty with simplified hasOwn function 2019-11-26 22:06:27 -05:00
toasted-nutbread
4110a848f5 Move additional utility functions to DOM 2019-11-26 18:59:52 -05:00
toasted-nutbread
099847729c utilIsObject => isObject, move to core.js 2019-11-26 17:33:09 -05:00
toasted-nutbread
d71bd056e8 Use consistent event handler notation 2019-11-26 17:18:17 -05:00
toasted-nutbread
7f9a73135d Remove utilAsync 2019-11-26 17:18:17 -05:00
toasted-nutbread
cfa16ce675 Include sentence in context on search page 2019-11-26 11:34:06 -05:00
siikamiika
3423ed7d67
Merge pull request #279 from siikamiika/query-parser-1
Search page query parser
2019-11-26 18:31:35 +02:00
toasted-nutbread
91c54e1853 Remove JQuery from the context popup window 2019-11-24 11:46:29 -05:00
toasted-nutbread
10b33dbd20 Optimize toggle on the context popup window
Remove bootstrap-toggle dependency
2019-11-24 11:42:27 -05:00
toasted-nutbread
cf18e3b42e Replace string.substr and string.slice with string.substring
Improves semantic clarity, and it's recommended to not use substr.
2019-11-24 11:02:52 -05:00
siikamiika
89c6ef54b0 always return a promise from Mecab.invoke 2019-11-24 02:34:16 +02:00
siikamiika
43fad608fb remove popup from background page
Not supported on all browsers
2019-11-23 19:25:11 +02:00
siikamiika
7bf2c8048d add mecab version check 2019-11-23 19:18:29 +02:00
siikamiika
2577d4054e fix scanning parser 2019-11-23 18:08:22 +02:00
siikamiika
cc8221c6ea add reading modes 2019-11-23 17:50:46 +02:00
siikamiika
f625321650 refactor selected parser refreshing 2019-11-23 17:50:46 +02:00
siikamiika
933fd77957 remove async 2019-11-23 17:50:46 +02:00
siikamiika
707b039927 store local copy of selected parser
Options don't update early enough even after awaiting
2019-11-23 17:50:46 +02:00
siikamiika
f6f19dc9de typo 2019-11-23 17:50:46 +02:00
siikamiika
9dff658640 add parser selection 2019-11-23 17:50:46 +02:00
siikamiika
b02a30a2fd explicit checks in while and if 2019-11-23 17:50:46 +02:00
siikamiika
1f2eee449e mecab refactoring and bugfix 2019-11-23 17:50:46 +02:00
siikamiika
f97877a209 promise improvements 2019-11-23 17:50:46 +02:00
siikamiika
b336ab3a9a use const 2019-11-23 17:49:25 +02:00
siikamiika
8d9a635d5c remove dead code 2019-11-23 17:48:03 +02:00
siikamiika
c1d24208d3 start mecab only after enabling the setting 2019-11-23 17:45:44 +02:00
siikamiika
955e131f96 add parser selection options 2019-11-23 17:45:44 +02:00
siikamiika
1bf48d24ef change mecab path
https://github.com/siikamiika/yomichan-mecab-installer
2019-11-23 17:45:44 +02:00
siikamiika
515345ba0a remove code duplication 2019-11-23 17:45:44 +02:00
siikamiika
b0c924d4bd fix mecab variable 2019-11-23 17:45:44 +02:00
siikamiika
bc66f254ea click & text selection improvements on search page 2019-11-23 17:45:44 +02:00
siikamiika
c78ca36f3d switch to mousemove events in query parser 2019-11-23 17:45:44 +02:00
siikamiika
8825c481b5 respect text selection option in query parser 2019-11-23 17:45:44 +02:00
siikamiika
5a3e8c819c optimize mouseover scanning in query parser 2019-11-23 17:45:44 +02:00
siikamiika
41020289ab add mecab support 2019-11-23 17:45:44 +02:00
siikamiika
3881457e4e use handlebars templates for query parser 2019-11-23 17:45:44 +02:00
siikamiika
e6a1b78164 use correct source text 2019-11-23 17:44:31 +02:00
siikamiika
627e16d44b improve text preview 2019-11-23 17:43:30 +02:00
siikamiika
d19f447b80 fix stem length checking
Starting from the end and stopping at first match doesn't guarantee
correctness. Starting from the beginning does.
2019-11-23 17:40:52 +02:00
siikamiika
c35a05cd62 add kana to text 2019-11-23 17:40:52 +02:00
toasted-nutbread
b4c6fa2d37 Improve usability of domain profile condition 2019-11-23 10:28:37 -05:00
siikamiika
f63e8e4be0 add simple query parser 2019-11-23 16:56:10 +02:00
toasted-nutbread
baf0325f62 Fix missing details 2019-11-18 21:55:06 -05:00
Alex Yatskov
b1659522b3
Merge pull request #274 from toasted-nutbread/lookup-wildcards
Lookup wildcards
2019-11-13 18:51:50 -08:00
siikamiika
7d9d45ae10 close popups on search page when query changes 2019-11-13 21:19:01 +02:00
siikamiika
29c38b06b2 only paste Japanese text from clipboard 2019-11-13 13:51:47 +02:00
toasted-nutbread
db4a303365 Fix dictionary settings not using the current profile 2019-11-12 20:13:25 -05:00
toasted-nutbread
72e7a42c8d Fix settings not being saved correctly 2019-11-12 20:01:55 -05:00
toasted-nutbread
7333873244 Add support for wildcards 2019-11-10 14:02:43 -05:00
toasted-nutbread
3a225c3f91 Add details field to apiTermsFind 2019-11-10 14:02:43 -05:00
toasted-nutbread
7093d8f06e Simplify how definition count is limited 2019-11-10 14:02:43 -05:00
toasted-nutbread
58c0997999 Give findKanji the same API as findTerms 2019-11-10 14:02:43 -05:00
toasted-nutbread
af1662acad Update how apiTermsFind works 2019-11-10 14:02:43 -05:00
toasted-nutbread
ae10bb7096 Simplify dictTermsSort 2019-11-10 14:02:43 -05:00
toasted-nutbread
fe82913991 Rename function 2019-11-10 14:02:43 -05:00
toasted-nutbread
a9ab774a3f Move function 2019-11-10 14:02:43 -05:00
toasted-nutbread
d6cdd693c8 Fix several warnings about name conflicts 2019-11-10 13:55:37 -05:00
toasted-nutbread
157e6f7c75 Optimize DisplaySearch.onKeyDown 2019-11-10 13:40:48 -05:00
toasted-nutbread
120f97be26 Refactor apiOptionsSet 2019-11-10 13:36:35 -05:00
toasted-nutbread
aa92855b37 Fixes for Edge 2019-11-10 13:01:39 -05:00
toasted-nutbread
e48bfb8f1a Use native indexedDB pointer 2019-11-10 13:01:39 -05:00
toasted-nutbread
183ec6b381 Use native IndexedDB to delete the database 2019-11-10 13:01:39 -05:00
toasted-nutbread
3a1e3392ed Use native IndexedDB to create database and object stores 2019-11-10 13:01:39 -05:00
toasted-nutbread
6c023789d9 Use native IndexedDB for bulkAdd operations 2019-11-10 13:01:39 -05:00
toasted-nutbread
750439ebf0 Use native IndexedDB for database additions 2019-11-10 13:01:39 -05:00
toasted-nutbread
3e864c44c3 Fixes for Edge 2019-11-09 20:52:16 -05:00
toasted-nutbread
184cc4cf28 Allow templates to be tested on the settings page 2019-11-09 16:34:39 -05:00
toasted-nutbread
085881d342 Use HTML templates for anki fields 2019-11-09 14:31:13 -05:00
siikamiika
40c8268fd6 always disable scanning IME checkbox label 2019-11-09 13:01:21 +02:00
siikamiika
cf0bb0a9e2 enable custom CSS on search page 2019-11-09 12:43:22 +02:00
siikamiika
177fad56b5 use scan toggling for stroke order diagram too 2019-11-09 12:28:12 +02:00
siikamiika
25af532ab7 enable expression scan toggling on search page 2019-11-09 12:27:09 +02:00
toasted-nutbread
b59a5b8cdb Add support for some regex functions in handlebars templates 2019-11-08 22:57:20 -05:00
toasted-nutbread
4d7940e8e4 Optimize dictFieldFormat 2019-11-08 22:25:03 -05:00
toasted-nutbread
b059609670 Add outdated warning 2019-11-07 20:30:55 -05:00
toasted-nutbread
cad0648cbe Remove unused function 2019-11-07 20:30:55 -05:00
toasted-nutbread
f7700789fe Update dictionary order based on priority 2019-11-07 20:30:55 -05:00
toasted-nutbread
fcb922400a Prevent page exit while database operations are in progress 2019-11-07 20:30:55 -05:00
toasted-nutbread
e5dcb41824 Add support for importing multiple dictionaries at once 2019-11-07 20:30:55 -05:00
toasted-nutbread
e091c7ebe2 Add support for deleting individual dictionaries 2019-11-07 20:30:55 -05:00
toasted-nutbread
e355b83914 Update how nodes are hidden 2019-11-07 20:30:55 -05:00
toasted-nutbread
3d78d5400d Add button and confirmation dialog for database purge 2019-11-07 20:30:55 -05:00
toasted-nutbread
2ab871e7ee Update how dictionaries are displayed on the settings page 2019-11-07 20:30:55 -05:00
toasted-nutbread
79069d5908 Add functions for getting dictionary information 2019-11-07 20:30:55 -05:00
toasted-nutbread
44638b7ceb Simplify how option visibility is changed 2019-11-07 20:30:55 -05:00
toasted-nutbread
75ff05148d Fix autoHideResults not working 2019-11-03 11:06:31 -05:00
toasted-nutbread
f927f806ba Move check 2019-10-28 17:03:42 -04:00
toasted-nutbread
dcb6f68826 Don't pass null textSource into searchSource 2019-10-28 17:03:42 -04:00
siikamiika
a31ee0a0e9 refactoring 2019-10-28 00:09:36 +02:00
siikamiika
d62d04f806 fix wanakana toggle on empty input 2019-10-27 23:52:16 +02:00
siikamiika
68179607b3 use apiOptionsGet to modify the correct profile 2019-10-27 23:34:50 +02:00
siikamiika
9641747ba1 Revert "modify correct profile apiOptionsSet"
This reverts commit 51c35c9f30.
2019-10-27 23:02:41 +02:00
siikamiika
51c35c9f30 modify correct profile apiOptionsSet 2019-10-27 22:43:20 +02:00
siikamiika
70418202cf make search page checkbox options persist 2019-10-27 20:11:23 +02:00
siikamiika
48776145d6 add workaround to Chrome clipboard.readText
For some reason this doesn't work on Firefox, so keep using the new API
for Firefox
2019-10-27 15:46:27 +02:00
siikamiika
d3f51690f8 make clipboardRead an optional permission 2019-10-27 01:51:18 +03:00
siikamiika
7ee87265cd refactor and tune wanakana toggling 2019-10-27 01:26:17 +03:00
siikamiika
01ffb052e6 simplify search history state handling 2019-10-26 19:32:41 +03:00
siikamiika
bbbd23c842 add button to enable/disable wanakana IME 2019-10-26 19:12:13 +03:00
siikamiika
303205dc12 keep url query in history 2019-10-26 18:42:57 +03:00
siikamiika
704864b7b2 add clipboard monitor to search page
Related to issue #262 about APIs
2019-10-26 18:15:28 +03:00
siikamiika
bebd70b4e2 remember search history 2019-10-26 16:39:43 +03:00
siikamiika
50769feea7 ignore more keys on search page 2019-10-26 15:15:12 +03:00
siikamiika
9132814ccf focus and scroll to input only when it's needed 2019-10-26 14:30:36 +03:00
siikamiika
fe8eb76928 tweak ignored keys on search page 2019-10-26 03:39:08 +03:00
siikamiika
3a70346eb3 fix various unwanted focus issues on search page
Don't focus input if a modifier or specific keys are pressed
2019-10-26 03:26:24 +03:00
siikamiika
a716a52cab make non-hotkey keys focus input on search page
The issue was that scanning on search page introduced a way to lose
focus of the query input, and the new feature that the search page
hotkey focuses an existing search page instead of opening a new one made
it more obvious.

Now every key that isn't a hotkey focuses the query input, and typing
text into the box scrolls it into view in case it wasn't there when
searching.

There is an accessibility issue that this can cause, because now tab
also focuses the query input before it focuses the next element. I
didn't implement a workaround for that because it would have been more
complicated than this simple fix.

Fixes #263
2019-10-26 01:26:56 +03:00
Danny
aeac7bf2a8
Proper spacing for Anki in {furigana-plain}
This should fix #264 

Note it does not address broken segmentation, just representation
within Anki itself to work properly.
2019-10-23 07:46:43 -04:00
toasted-nutbread
7a3315d75d Use chrome.runtime.getURL instead of chrome.extension.getURL 2019-10-22 20:23:03 -04:00
Alex Yatskov
d8f9c2e1d4
Merge pull request #261 from toasted-nutbread/search-button-reuse-tab
Reuse open search tab when clicking search button
2019-10-20 11:06:23 -07:00
toasted-nutbread
362a1ed9e4 Catch exception thrown on Edge 2019-10-20 10:58:22 -04:00
toasted-nutbread
ce92591b63 Fix window focus not always working 2019-10-19 22:55:32 -04:00
toasted-nutbread
7abc7fd0e7 Use links instead of buttons on context page 2019-10-19 22:54:58 -04:00
toasted-nutbread
205498ef3b Validate chrome.windows exists before usage 2019-10-19 22:45:29 -04:00
toasted-nutbread
ffb6ff9325 Allow multiple options pages to be opened on middle click 2019-10-19 22:34:47 -04:00
toasted-nutbread
d9ae34821c Add support for middle clicks opening new tabs on the context buttons 2019-10-19 22:30:16 -04:00
toasted-nutbread
dbec4bffda Make the search button reuse an open search tab if it exists 2019-10-19 22:28:23 -04:00
toasted-nutbread
eea95eb130 Simplify score to term frequency conversion 2019-10-19 14:18:57 -04:00
toasted-nutbread
96e4bf1735 Use native IndexedDB APIs for findTagForTitle 2019-10-19 13:41:18 -04:00
toasted-nutbread
610c2b9cca Move tagCache out of Database and into Translator 2019-10-19 13:32:05 -04:00
toasted-nutbread
6f5fa6771b Remove unused database functions 2019-10-19 12:44:23 -04:00
toasted-nutbread
97de7883a3 Update getMergedSecondarySearchResults to use findTermsExactBulk 2019-10-19 12:42:26 -04:00
toasted-nutbread
4446cbeabb Create getMergedSecondarySearchResults 2019-10-19 12:28:33 -04:00
toasted-nutbread
96f37fd9dc Create function for body of findTermsMerged's sequencedDefinitions loop 2019-10-19 12:16:38 -04:00
toasted-nutbread
a08cbebeb3 Use findTermsBySequenceBulk instead of findTermsBySequence 2019-10-19 11:34:12 -04:00
toasted-nutbread
a25167df73 Use findKanjiBulk and findKanjiMetaBulk in Translator.findKanji 2019-10-19 10:39:08 -04:00
toasted-nutbread
d212d0aba1 Add additional database bulk methods 2019-10-19 10:19:12 -04:00
toasted-nutbread
9364a7cb4e Create function for creating kanji data and meta 2019-10-18 23:16:33 -04:00
toasted-nutbread
6743b785c9 Remove temp createResult 2019-10-18 23:09:00 -04:00
toasted-nutbread
31ae00d0d3 Add missing validate calls 2019-10-18 23:04:06 -04:00
toasted-nutbread
127a728675 Remove unused functions 2019-10-18 21:58:28 -04:00
toasted-nutbread
598cd32946 Update *show* APIs to unified showContent and setContent 2019-10-17 18:40:43 -04:00
toasted-nutbread
16521fec93 Assign first popup on the search page as a depth of 1 2019-10-15 20:23:25 -04:00
toasted-nutbread
099909287f Show warning messages if persistant storage fails
Only Firefox seems to support persistent storage properly.
2019-10-15 19:22:30 -04:00
toasted-nutbread
4443ad370e Catch error when trying to persist storage
This happens on Firefox Mobile
2019-10-13 18:41:16 -04:00
toasted-nutbread
d42a07dc0b Improve layout of context.html on Firefox Mobile 2019-10-13 18:23:59 -04:00
toasted-nutbread
17e2f825f4 Add warning message for Mac users about App Nap 2019-10-13 17:32:28 -04:00
toasted-nutbread
cb236a7430 Add apiGetEnvironmentInfo function 2019-10-13 17:20:55 -04:00
toasted-nutbread
4f8c84d524 Fix Japanese voice ordering on Firefox for Android 2019-10-13 16:30:31 -04:00
toasted-nutbread
f8e666b70c Fix backend handling errors incorrectly 2019-10-13 16:08:15 -04:00
siikamiika
f3ab7673f9 add css class for dictionary name
Can be used for dictionary specific styling
2019-10-13 21:50:29 +03:00
toasted-nutbread
7bae3824e7 Add support for text-to-speech playback 2019-10-13 12:21:19 -04:00
toasted-nutbread
69b28571bd audioBuildUrl => audioGetUrl and simplify 2019-10-13 12:20:56 -04:00
toasted-nutbread
54d4c65854 Rename audioGetFromSources's createAudioObject argument to download 2019-10-13 12:20:56 -04:00
toasted-nutbread
21a2730cde Add option for text-to-speech 2019-10-13 12:20:56 -04:00
toasted-nutbread
1b96e69ea2 Placeholder and improve consistency of stylesheet rule priorities 2019-10-13 12:12:52 -04:00
toasted-nutbread
42d67249c9 Update the popup preview to show live updates to outer CSS changes 2019-10-13 12:12:52 -04:00
toasted-nutbread
c9158a37b5 Allow outer popup stylesheets to be injected 2019-10-13 12:12:51 -04:00
toasted-nutbread
3272948284 Adds setting for controlling the outer style of the popup 2019-10-13 12:12:51 -04:00
toasted-nutbread
b086fca69f Add separate theme option for outer popup style 2019-10-12 19:00:24 -04:00
toasted-nutbread
1da60aae2d Update live preview custom CSS on input event 2019-10-12 19:00:24 -04:00
toasted-nutbread
883226b045 Update how custom CSS is applied 2019-10-12 19:00:24 -04:00
toasted-nutbread
696ea80e06 Add option for popup theme 2019-10-12 15:44:35 -04:00
toasted-nutbread
be7fa57d5c Add support for a popup preview 2019-10-12 15:44:32 -04:00
toasted-nutbread
537d2ef532 Remove Display.dependencies 2019-10-12 15:31:29 -04:00
toasted-nutbread
6da7683552 Don't pass options around for calls to termsShow, kanjiShow, etc. 2019-10-12 15:31:29 -04:00
toasted-nutbread
3e249e19ac Update Display initialization process 2019-10-12 15:31:29 -04:00
toasted-nutbread
cc72514ce6 Frontend updates 2019-10-11 23:24:51 -04:00
toasted-nutbread
a6903d68a4 Revert default audio source behaviour
This more closely matches the upgrade process
2019-10-11 23:24:51 -04:00
toasted-nutbread
70bceb5b56 Improve display of storage stats 2019-10-11 19:48:43 -04:00
toasted-nutbread
6014fe5344 Add support for persistent storage 2019-10-11 19:44:13 -04:00
toasted-nutbread
2bfc7e3972 Fix order of {screenshot} tag 2019-10-11 19:44:13 -04:00
toasted-nutbread
6208d6c93b Add UI for editing audio playback sources 2019-10-10 21:36:09 -04:00
toasted-nutbread
1dc8bf77ca Add input setting for custom audio source 2019-10-10 21:30:38 -04:00
toasted-nutbread
27c8430915 Implement custom audio source 2019-10-10 21:30:38 -04:00
toasted-nutbread
1d516b3b24 Implement audio fallbacks 2019-10-10 21:30:38 -04:00
toasted-nutbread
8ae1da4277 Update audio options format 2019-10-10 21:30:35 -04:00
toasted-nutbread
22b218d172 Pass optionsContext to audioBuildUrl handlers 2019-10-09 22:03:56 -04:00
toasted-nutbread
60a80418d7 Update how audio URLs are constructed 2019-10-09 21:54:58 -04:00
toasted-nutbread
7ce54864f3 Show the viewer button for anki notes which already exist 2019-10-09 20:31:09 -04:00
toasted-nutbread
97f5b7139f Add findNoteIds to AnkiConnect 2019-10-09 20:27:05 -04:00
toasted-nutbread
c5d6b9452d Create utility function for logging errors 2019-10-08 22:38:05 -04:00
toasted-nutbread
6a6e200ef9 Update rejections to use Error 2019-10-08 21:44:25 -04:00
toasted-nutbread
88de427184 Throw Error instead of string 2019-10-08 21:32:08 -04:00
toasted-nutbread
bf5d301685 Only use foreground api.js/util.js 2019-10-08 20:01:03 -04:00
toasted-nutbread
1074c33f20 Add support for query parameter in URL on search page 2019-10-08 20:01:03 -04:00
toasted-nutbread
176f6a248b Fix findTermMetaBulk trying to use undefined row.id 2019-10-07 22:34:40 -04:00
toasted-nutbread
7c826fdd0b Switch from using PNGs to SVGs 2019-10-06 21:28:43 -04:00
toasted-nutbread
50a47348a7 Optimize internal data structure used by the Deinflector class 2019-10-05 18:28:30 -04:00
Alex Yatskov
46ab36180f
Merge pull request #233 from toasted-nutbread/static-handlers
Static handlers
2019-10-05 09:20:45 -07:00
Alex Yatskov
a369f8d0a4
Merge pull request #229 from toasted-nutbread/database-optimizations
Database optimizations
2019-10-05 09:18:09 -07:00
toasted-nutbread
0d6177398d Use static object for api command handlers 2019-10-02 21:12:24 -04:00
toasted-nutbread
10458c63e7 Use static object for backend message handlers 2019-10-02 21:12:23 -04:00
Alex Yatskov
3c3a2c9474
Merge pull request #230 from toasted-nutbread/edge-fixes
Use toIterable for cross-window origin objects
2019-09-30 19:54:27 -07:00
toasted-nutbread
44119eea2c Fix deinflections not being handled correctly 2019-09-30 22:09:16 -04:00
toasted-nutbread
8b7558a757 Use toIterable for cross-window origin objects 2019-09-29 15:26:57 -04:00
toasted-nutbread
e18b8438ae Updated button styles 2019-09-29 12:33:16 -04:00
toasted-nutbread
1286b5115f Use bulk database searches 2019-09-28 22:05:10 -04:00
toasted-nutbread
664a318d7f Use non-async function for cache lookups 2019-09-28 21:54:18 -04:00
toasted-nutbread
a4f8a459de Create common function for creating term object 2019-09-28 21:49:08 -04:00
toasted-nutbread
1a8cb78391 Add version information 2019-09-28 16:04:22 -04:00
toasted-nutbread
95a7fd81f5 Use raw element references for container and spinner 2019-09-27 21:41:00 -04:00
toasted-nutbread
b61fc81012 Remove jQuery usage from search.js 2019-09-27 21:16:10 -04:00
toasted-nutbread
9a243630a5 Improve slide up animation 2019-09-27 21:16:10 -04:00
odehjoseph
62b95a656f Add option to enable Alt+B lookup 2019-09-26 21:33:33 -07:00
toasted-nutbread
352d214203 Isolate objects to background window 2019-09-18 19:14:04 -04:00
toasted-nutbread
dcfe722ba6 Add support for using optionsContext to select which profile to use 2019-09-18 19:14:04 -04:00
toasted-nutbread
8c4fb28a30 Add support creating profile usage conditions 2019-09-18 19:14:01 -04:00
toasted-nutbread
9fb89d8f7d Isolate to background window 2019-09-15 16:04:26 -04:00
toasted-nutbread
8b7e293eae Remove profile without popup when shift key is pressed
Also removes duplicate click listener.
2019-09-15 15:58:19 -04:00
toasted-nutbread
34ddbf25fe Implement profile order changing 2019-09-15 15:58:19 -04:00
toasted-nutbread
1f77506f43 Implement profile copy 2019-09-15 15:58:19 -04:00
toasted-nutbread
c002e1bbd2 Update dictionaries for all profile options 2019-09-15 15:58:19 -04:00
toasted-nutbread
6c571bf828 Add UI for profiles 2019-09-15 15:56:53 -04:00
toasted-nutbread
c8171f5ec7 Add preliminary support for profiles 2019-09-15 15:56:53 -04:00
toasted-nutbread
6358b655ae Isolate options objects created via settings.js
Prevents dead objects created by different windows.
2019-09-14 16:21:41 -04:00
Alex Yatskov
60b32a4a1a
Merge pull request #206 from toasted-nutbread/fix-incorrect-function-name
Replace profileCreateDefaultFieldTemplates with optionsFieldTemplates
2019-09-12 19:47:52 -07:00
toasted-nutbread
c38c7fbda1 Replace profileCreateDefaultFieldTemplates with optionsFieldTemplates 2019-09-11 19:56:13 -04:00
toasted-nutbread
84bd9ff93b Update settings if a different source triggers optionsUpdate 2019-09-10 21:58:53 -04:00
toasted-nutbread
71b700cd22 Add checkbox for options.general.enable 2019-09-10 21:45:43 -04:00
toasted-nutbread
87e513dd77 Fix options reference being changed 2019-09-10 21:44:32 -04:00
toasted-nutbread
1f8c7358cb Create function for setting up form event listeners 2019-09-10 21:43:52 -04:00
toasted-nutbread
36b39e2f65 Create formWrite function 2019-09-10 21:43:51 -04:00
toasted-nutbread
c4e6d7e3d1 Add utility method for checking if a value is a standard object 2019-09-10 20:09:33 -04:00
toasted-nutbread
05ce350792 Use apiOptionsSave instead of optionsSave 2019-09-10 20:09:33 -04:00
toasted-nutbread
4686a31a0a Use apiOptionsGet instead of optionsLoad 2019-09-10 20:09:33 -04:00
toasted-nutbread
99cec1d23f Change how formRead works
The function now modifies values in-place.
2019-09-10 20:09:33 -04:00
toasted-nutbread
8175f80183 Remove calls to apiOptionsGetSync
Use apiOptionsGet everywhere to ensure options is initialized.
2019-09-10 20:09:33 -04:00
toasted-nutbread
1b2a1e50eb Add getOptions function to backend 2019-09-10 20:09:33 -04:00
toasted-nutbread
bc8793eb56 Add a context object for all calls to fetch options 2019-09-10 20:09:33 -04:00
toasted-nutbread
aae971a09e Pass options directly to translator.findTerms* 2019-09-10 20:09:33 -04:00
toasted-nutbread
91bc31d758 Change how options updates are handled on the frontend
Only an 'optionsUpdate' signal is now sent to the frontend with empty data. The frontend then responds by performing apiOptionsGet to update the options. This makes it so that there is only a single function which is responsible for requesting options from the backend.
2019-09-10 20:09:33 -04:00
Alex Yatskov
cc53510883
Merge pull request #204 from toasted-nutbread/settings-improvements
Settings improvements
2019-09-08 19:34:39 -07:00
toasted-nutbread
eb98dfb1a8 Simplify logic for how option updates are propagated 2019-09-06 21:23:35 -04:00
toasted-nutbread
7db2c66105 Use consistent structure for params 2019-09-06 21:23:35 -04:00
toasted-nutbread
13b184707b Remove unnecessary functions
apiOptionsSet not required in bg/js/api.js after optionsSave; optionsSave already invokes apiOptionsSet.
apiOptionsSet not required in fg/js/api.js since it's never invoked by the foreground.
optionsSet handler not required in bg/js/backend.js since the message is never sent by the foreground.
2019-09-06 21:23:35 -04:00
toasted-nutbread
35ca0f35dd Create common function for utilBackend().options 2019-09-06 21:23:35 -04:00
toasted-nutbread
a74cdbff1d Change update process 2019-09-06 19:55:58 -04:00
Alex Yatskov
6dc44e3f33
Merge pull request #202 from toasted-nutbread/temporary-object-optimization
Temporary object optimization
2019-09-05 19:46:14 -07:00
toasted-nutbread
5ddbb0373f Add function to create default options 2019-09-05 20:57:52 -04:00
toasted-nutbread
ec110fa1b7 Add some validation to options loading 2019-09-05 20:57:52 -04:00
toasted-nutbread
1c767711bb Prevent infinite loops for corrupt options 2019-09-05 20:57:52 -04:00
toasted-nutbread
b90dea0e6d Use string.substr instead of string.split 2019-09-02 20:25:30 -04:00
toasted-nutbread
fc4a961412 Replace some instances of Array.concat
.push or .unshift can accomplish the same operation without constructing new arrays.
2019-09-02 20:25:30 -04:00
toasted-nutbread
71471d08e5 Add option to enable/disable scanning of source expressions in popups 2019-09-02 19:33:52 -04:00
toasted-nutbread
53aad0bef6 Fix messaging issues when iframes are present in the document 2019-09-02 19:33:28 -04:00
toasted-nutbread
42ec3e2a43 Add support for popup on the search page 2019-09-02 19:33:28 -04:00
toasted-nutbread
1a9348ec27 Add option for maximum nested popup depth 2019-09-02 19:32:08 -04:00
toasted-nutbread
5c4614f585 Add support for showing recursive popups 2019-09-02 19:31:42 -04:00
toasted-nutbread
171e3f1097 Add option for enabling deep scanning 2019-09-02 11:43:48 -04:00
toasted-nutbread
85472d9407 Add option for position of popup for horizontal text 2019-08-31 11:57:09 -04:00
toasted-nutbread
68af0d86c3 Improve popup position for vertical text 2019-08-31 11:57:07 -04:00
toasted-nutbread
7ba71de5e7 Replace double quotes with single quotes 2019-08-29 20:45:07 -04:00
Alex Yatskov
cd75f5b97d
Merge pull request #188 from toasted-nutbread/edge-support
Add support for Edge browser
2019-08-28 19:41:30 -07:00
toasted-nutbread
a39a1fa9e4 Add support for Edge browser 2019-08-26 21:58:03 -04:00
toasted-nutbread
a50ce724eb Suppress messages about unchecked runtime.lastError 2019-08-23 15:41:41 -04:00
317a7a1538 pr fixes 2019-08-17 15:42:36 -07:00
toasted-nutbread
3a5b06bd10 Add screenshot settings 2019-08-15 19:56:14 -04:00
toasted-nutbread
0f0adf750c Add ability to save screenshot to anki cards 2019-08-15 19:39:58 -04:00
siikamiika
3b07a9000c add source term button to terms 2019-08-03 19:54:01 +03:00
siikamiika
afc771de9f inject doc functions as dependencies 2019-08-03 15:06:28 +03:00
siikamiika
0ee6d05cb1 Revert "use ES6 import and export"
This reverts commit 04f4607922.
2019-08-03 14:57:17 +03:00
siikamiika
04f4607922 use ES6 import and export 2019-08-02 00:04:39 +03:00
toasted-nutbread
ad897713e6 Add support for custom popup CSS 2019-07-09 18:06:27 -04:00
Alex Yatskov
84b990cd80
Merge pull request #140 from KarboniteKream/horizontal-offset
Add horizontal popup offset
2019-05-19 17:43:31 -07:00
toasted-nutbread
f2a5d50959 Database changes automatically update storage stats 2019-05-04 13:02:56 -04:00
toasted-nutbread
d96d4b0658 Passively handle database errors 2019-05-04 13:02:56 -04:00
toasted-nutbread
2328d61a81 Add storage information to settings page 2019-05-04 13:02:56 -04:00
toasted-nutbread
769dc205fb Make extension badge and onCommand optional 2019-05-04 13:02:56 -04:00
Alex Yatskov
c7f8d0874a
Merge pull request #157 from toasted-nutbread/touch-input
Add support for touch input
2019-03-07 11:31:06 -08:00
toasted-nutbread
ee5e47251e Rename normalizeAudioUrl to audioUrlNormalize 2019-02-20 21:16:40 -05:00
toasted-nutbread
b58b91d3fc Fix audio URLs 2019-02-16 22:34:00 -05:00
toasted-nutbread
ba972d8547 Add popup display mode
Allows the popup to be stretched to the full width of the screen, anchored to the top or bottom of the window.
2019-02-14 21:42:59 -05:00
toasted-nutbread
01f611d189 Add support for touch input 2019-02-10 20:44:16 -05:00
Klemen Košir
99a231a773 Add horizontal popup offset 2018-10-02 23:27:59 +09:00
guidocella
15b93060c7 Add option to play audio automatically 2017-12-16 19:56:53 +01:00
siikamiika
1682850970 merged mode: expand termTags earlier
Fixes errors with main dictionary other than JMdict
2017-11-09 17:25:28 +02:00
5f6830c7dd fixing broken anki template 2017-11-08 17:18:16 -08:00
siikamiika
0c3e10a822 merged mode: remove whitespace between expressions 2017-11-06 04:38:01 +02:00
c08dc6e00a add dictionary update nag screen 2017-10-29 12:20:56 -07:00
d6603fd031 include sequence property in header data 2017-10-29 10:59:50 -07:00
c62cc01642 simplify database interface 2017-10-29 10:42:39 -07:00
7d29e5b533 cleanup of settings page 2017-10-29 10:18:15 -07:00
siikamiika
ab1e2b3d5d settings: move main dictionary below Dictionaries, styling 2017-10-26 10:31:59 +03:00
siikamiika
e063a315d4 settings: add missing const 2017-10-26 10:20:48 +03:00
siikamiika
de28190f5a merged mode: restore whitespace between frequencies 2017-10-26 10:18:28 +03:00
siikamiika
ee80fa5331 merged mode: restore whitespace between termTags 2017-10-25 00:58:11 +03:00
siikamiika
f828043838 terms.html: fix whitespace issues in merged mode 2017-10-24 23:50:33 +03:00
siikamiika
9697c9a65b terms.html: rename classes, remove inline css 2017-10-24 23:30:55 +03:00
siikamiika
6f43fffb4e util.js: remove unnecessary conditional 2017-10-24 23:12:55 +03:00
siikamiika
73d542547b translator.js: coding style 2017-10-24 23:10:47 +03:00
siikamiika
c9b1dd56dc fixups: remove redundant options, use template str 2017-10-24 23:01:07 +03:00
siikamiika
27a56dc236 expand tags before dictTermsMergeByGloss 2017-10-24 18:31:18 +03:00
siikamiika
78442fff1a settings: main dictionary selection as dropdown 2017-10-24 16:23:13 +03:00
siikamiika
df0d2beb73 database.js: add hasSequences 2017-10-24 13:45:51 +03:00
siikamiika
8400f0e4c0 Anki: use CSS classes for term frequency color 2017-10-24 12:49:10 +03:00
siikamiika
e034ca3ad4 add tag meta score 2017-10-24 12:38:05 +03:00
siikamiika
bf15358bb4 ...with {furigana-plain}, too 2017-10-19 19:30:29 +03:00
siikamiika
bc92327d86 Anki: term frequency colors in merged mode 2017-10-19 19:27:28 +03:00
siikamiika
f54f909701 merged mode: rewrite term frequency (use score) 2017-10-19 18:35:42 +03:00
siikamiika
04def64521 merged mode: fix another OBOE related to sequence 2017-10-19 18:15:50 +03:00
siikamiika
9d4b75de20 fix error in utilStringHashCode 2017-10-19 00:47:08 +03:00
siikamiika
7e556e8d32 field template fixup for modified templates only 2017-10-18 23:40:56 +03:00
siikamiika
b59980067a old database format compatibility 2017-10-18 11:08:54 +03:00
siikamiika
2cbbcd242e fixups: remove useless check 2017-10-18 10:08:34 +03:00
siikamiika
552185ffb4 Anki: fixup for note template 2017-10-18 08:01:38 +03:00
siikamiika
966fa2ff75 merged mode: replace ", " with "、" in Anki notes 2017-10-17 18:07:28 +03:00
siikamiika
c1c851d781 merged mode: support {audio} marker (first term) 2017-10-17 17:57:44 +03:00
siikamiika
81f0a61651 merged mode: Anki support 2017-10-17 11:16:38 +03:00
siikamiika
1edeabdaa8 merged mode: tags -> termTags (inside expressions) 2017-10-17 09:27:47 +03:00
siikamiika
b104dfd524 merged mode: fix OBOE (sequence 0) 2017-10-17 08:29:31 +03:00
siikamiika
7913b094b7 scrap tagLineBreak option 2017-10-15 10:38:30 +03:00
siikamiika
293606d2b1 line break after tags on by default 2017-10-15 10:22:29 +03:00
siikamiika
0404b42f61 compact glossaries, line break after tags: on/off 2017-10-15 09:45:00 +03:00
siikamiika
03f7ca23e1 merged mode: add secondary searches 2017-10-15 05:19:16 +03:00
siikamiika
4203fda906 rename pos to partOfSpeech 2017-10-13 03:14:06 +03:00
siikamiika
7ec28bea54 change db format, rename tags to definitionTags 2017-10-13 02:40:20 +03:00
siikamiika
c0f56480bb compact tags: reset PoS on new dictionary 2017-10-12 11:28:32 +03:00
siikamiika
8d660e2829 add compact tags 2017-10-12 09:59:09 +03:00
siikamiika
4e57fa1ad1 merged mode: remove options.dictionary.main 2017-10-12 01:10:05 +03:00
siikamiika
7783aa4c1a reset main dictionary on purge 2017-10-11 19:58:57 +03:00
siikamiika
4fb983a70c add termTags
The dictionary tags field can now have a '\t' in it, and it is used to
separate tags associated with definitions and terms.
2017-10-11 09:18:55 +03:00
siikamiika
e1c5d7a401 merged mode: make gloss hash more unique
Use ['gloss', 'ary'].concat('DictName')
Known collision: 日本国有鉄道 in JMdict and JMnedict
2017-10-10 06:04:49 +03:00
siikamiika
9f277b6a20 merged mode: support frequencies 2017-10-10 00:56:47 +03:00
siikamiika
84420e00bf merged mode: fix tags for non-main dictionaries 2017-10-09 23:22:12 +03:00
siikamiika
7b9ad61352 merged mode: fix regression (voice), tweak hover
Alt+P now works again in grouped/split mode

In merged mode, 「、」 is added even after the last term, but it's
hidden for that. This ensures consistent behavior with voice button and
tags
2017-10-08 03:37:28 +03:00
siikamiika
94d590fc85 merged mode: support audio and tags for terms 2017-10-07 07:02:50 +03:00
siikamiika
981d9eddb6 merged mode: rewrite previous commit 2017-10-07 01:19:40 +03:00
siikamiika
72fe83d353 merged mode: merge other results with main dict 2017-10-05 06:56:45 +03:00
siikamiika
cfad3b3099 merged mode: add main dictionary selection 2017-10-05 05:21:07 +03:00
siikamiika
03fd9dcdb4 merged mode: remove extra whitespace between terms 2017-10-05 01:06:11 +03:00
siikamiika
69ad4a7c9b merged mode: implement missing stuff, refactoring
- use correct tags
- indicate popular and rare terms
- indicate definitions restricted to specific terms
- frequencies (Innocent Corpus)
2017-10-03 07:20:02 +03:00
siikamiika
803ccc1661 merged: first draft, only supports JMdict 2017-10-01 04:17:02 +03:00
siikamiika
b24c705234 basic structure for feature-merge-similar-results 2017-09-29 05:41:29 +03:00
8651c11d36 frequency fixup 2017-09-23 13:31:03 -07:00
d13cb09fae improve error text for firefox 2017-09-23 08:55:53 -07:00
8d85321cf9 update database for new format 2017-09-23 08:46:34 -07:00
088c608d80 Revert "kanji template work"
This reverts commit d398440d2b.
2017-09-22 20:50:52 -07:00
d398440d2b kanji template work 2017-09-22 20:48:07 -07:00
578ec0b6d1 rewrite indexedDb errors to work around firefox issues 2017-09-22 20:38:23 -07:00
7a6e2925bd improved error reporting 2017-09-22 19:57:00 -07:00
8ba8397170 update error handling 2017-09-22 19:39:05 -07:00
27296de9f5 wip 2017-09-21 23:22:49 -07:00
3d87615917 sort stats 2017-09-21 23:20:51 -07:00
fe859a96cd kanji layout 2017-09-21 23:10:43 -07:00
f22a699012 wip 2017-09-21 20:59:43 -07:00
a55576260a work on kanji page 2017-09-21 20:52:18 -07:00
2ba01d2910 fix dictionary indices 2017-09-21 11:14:17 -07:00
65ce976423 wip 2017-09-21 09:21:32 -07:00
119def2beb wip 2017-09-20 23:15:02 -07:00
e90274519a combine indices and stats 2017-09-17 19:57:39 -07:00
d9d16613f8 wip 2017-09-17 19:16:08 -07:00
269a4f0b9b template fixups 2017-09-17 14:17:14 -07:00
7c69b4f28a fix sort order 2017-09-17 13:07:15 -07:00
ba25fbfd1f backwards compat 2017-09-17 12:56:34 -07:00
5476c10046 more improvements to automatic search result hiding (#71) 2017-09-17 10:09:48 -07:00
9280985306 add option to automatically hide search results (fixes #71) 2017-09-16 23:08:43 -07:00
5a53154123 style fixes 2017-09-15 14:06:10 -07:00
e044f0107a style fixes 2017-09-15 14:03:05 -07:00
7f55f1c8d2 display term frequencies 2017-09-15 13:32:49 -07:00
39e38d5665 improve kanji template 2017-09-15 13:18:21 -07:00
d3d760ed6c cleanup 2017-09-14 10:15:54 -07:00
f5009cd63c cleanup 2017-09-13 23:22:41 -07:00
33d9d6ff57 cleanup 2017-09-13 18:03:55 -07:00
04f9a0f543 cleanup 2017-09-13 17:30:45 -07:00
4d4b819d6c tag caching 2017-09-13 17:26:02 -07:00
13961e6a10 better tag handling 2017-09-13 16:42:04 -07:00
ba8451f429 cleanup 2017-09-13 15:45:53 -07:00
219eeb6e81 cleanup 2017-09-13 15:41:06 -07:00
79b99131f6 add frequency table support for kanji 2017-09-12 20:20:03 -07:00
3b29893072 add frequency table support for terms 2017-09-12 18:29:16 -07:00
28364b97b0 hopeful workaround to firefox crash 2017-09-12 14:12:40 -07:00
af93d446de fix dictionary importing 2017-09-12 13:29:13 -07:00
be87e916df wip on new database 2017-09-10 21:49:37 -07:00
5f46006e8d scrap sandbox 2017-09-09 12:59:49 -07:00
9a5a9aa47f better error handling 2017-09-09 11:36:50 -07:00
9efe7bfe1b work on sandbox 2017-09-06 13:35:18 -07:00
a3c8508031 work on sandbox 2017-09-06 13:18:06 -07:00
083999212e work on sandbox 2017-09-05 21:10:19 -07:00
722ddf1638 work on sandbox 2017-09-05 20:35:39 -07:00
643e6204dc cleanup 2017-08-26 12:20:04 -07:00
18321ee4ed ankidroid furigana support 2017-08-26 12:18:35 -07:00
190c749527 improved furigana support 2017-08-26 11:57:34 -07:00
a4c3ba434a fixing syntax issues 2017-08-23 20:56:52 -07:00
Yoitsumi
c89678f5db Improve {furigana} marker for anki export 2017-08-20 16:07:55 +02:00
7219bc99f5 fixing deck and model not being set correctly 2017-08-19 11:23:19 -07:00
112bf36f88 cleanup 2017-08-18 21:33:30 -07:00
30fe3d2506 fix anki network error dialog on search page, cleanup template
workaround
2017-08-18 21:14:09 -07:00
d960ba6dd6 fixing bugs, new version 2017-08-18 09:42:34 -07:00
6367894df0 fixing broken firefox object behavior 2017-08-17 19:11:23 -07:00
84d2204d96 firefox fixes 2017-08-15 21:51:48 -07:00
8ed3ca6fd4 cleanup 2017-08-15 21:40:41 -07:00
e19933f980 jisho.org audio support 2017-08-15 21:36:30 -07:00
e079e5f252 fix loss of anki settings 2017-08-15 20:58:50 -07:00
c9623276e1 change color for "off" state, fixes #67 2017-08-14 22:58:03 -07:00
bdf231082f lots of fixes to backend 2017-08-14 21:43:09 -07:00
82863cd861 renaming files 2017-08-14 19:55:04 -07:00
8b50dfe1e9 unify files 2017-08-13 21:11:10 -07:00
aac2a58b5f wip 2017-08-13 16:11:51 -07:00
7e635d6382 more cleanup 2017-08-05 19:23:17 -07:00
dfecef1f23 more cleanup 2017-08-05 19:11:06 -07:00
8e1c6776d1 more cleanup 2017-08-05 19:02:03 -07:00
257c864bb5 fix anki 2017-08-05 14:57:33 -07:00
b2003a0a56 cleanup 2017-08-05 13:13:06 -07:00
b061cc9142 cleanup 2017-07-29 09:55:54 -07:00
fea35435b2 cleanup 2017-07-29 08:55:29 -07:00
ba155e7706 cleanup 2017-07-27 23:26:36 -07:00
9ecc7c17f3 cleanup 2017-07-27 21:45:18 -07:00
adbc7a32cc cleanup 2017-07-27 21:42:14 -07:00
eed630e9fa cleanup 2017-07-24 22:44:19 -07:00
32680c58b8 cleanup 2017-07-23 22:48:33 -07:00
a0e2d9cb72 cleanup 2017-07-20 21:32:17 -07:00
ac2e079c98 cleanup 2017-07-19 21:41:30 -07:00
fe137e94c9 cleanup 2017-07-19 21:28:09 -07:00
62db3d74b8 factor out handlebars from util 2017-07-19 09:24:38 -07:00
26e1cc517f refactor 2017-07-18 23:07:46 -07:00
f6077c4242 . 2017-07-17 00:00:38 -07:00
c4a39da766 . 2017-07-16 23:56:36 -07:00
dcaf345549 cleanup 2017-07-16 19:55:33 -07:00
a22facec98 refactor options page 2017-07-16 19:29:43 -07:00
39f1f30dc9 refactor bg/js/util.js 2017-07-16 13:14:28 -07:00
7dd75082ab rename options to settings 2017-07-16 12:59:16 -07:00
dequis
ede139097c Add glossary-brief anki field, like glossary but without tags 2017-07-16 05:33:16 -03:00
1ed8997240 work on audio 2017-07-10 16:48:26 -07:00
b0cdf59bd8 move anki to async 2017-07-10 16:24:31 -07:00
a73b8fbab7 cleanup 2017-07-10 15:20:07 -07:00
28bc1449d1 cleanup 2017-07-10 15:00:38 -07:00
f694026827 move zip import to async 2017-07-10 14:53:06 -07:00
49352c5fa1 move deinflector to async 2017-07-10 14:30:34 -07:00
b6f3919ef6 move translator to async 2017-07-10 14:10:58 -07:00
f49a69c993 move database to use async 2017-07-10 13:16:24 -07:00
6e986bf1f5 cleanup 2017-07-09 16:29:52 -07:00
b3984ccd54 cleanup 2017-07-09 15:23:11 -07:00
d57c5530b7 view added notes 2017-07-01 18:27:49 -07:00
5e72c387cc fix result page for no items found 2017-06-25 21:14:39 -07:00
1849f95b4e simplify file loading 2017-06-25 15:56:30 -07:00
4cb7e8d2ac reset file input after upload 2017-06-25 15:43:29 -07:00
d3c342071f support importing from zip files 2017-06-25 15:36:28 -07:00
98d22a92f3 prepare ui for zip dictionaries 2017-06-12 22:58:02 -07:00
618a3cb319 support variable modifier keys, fixes #5 2017-05-25 20:56:08 -07:00
992852d3c0 make form search be always enabled 2017-05-24 20:42:54 -07:00
867f7dd24f make soft katakana search be implicit 2017-05-24 20:29:50 -07:00
0efab9773d options debugging code 2017-05-24 19:13:56 -07:00
5de9ac1712 add debug logging 2017-05-23 21:27:20 -07:00
ac406bdbf0 add debug info checkbox 2017-05-23 20:54:03 -07:00
abdb5e68be deal with firefox object reference bug (fixes #49) 2017-04-29 12:30:36 -07:00
e661c4bd43 add option to disable searching of alphanumeric text, fixes #47 2017-04-22 13:02:06 -07:00
d263a93d44 usage guide 2017-04-08 18:01:36 -07:00
1ba458ea82 fixing cloze bug 2017-04-08 12:25:18 -07:00
9ac55fb5d1 support for multiple audio sources, version bump 2017-04-02 12:08:15 -07:00
4de9e5e9e0 support for audio volume adjustment (fixes #39) 2017-04-01 12:01:34 -07:00
e62c46c4fc fix grouped definition sorting bug (fixes #41) 2017-04-01 11:05:28 -07:00
f15f30019b version bump, cloze support 2017-03-28 20:49:26 -07:00
3b0aa88de1 cleanup 2017-03-26 22:42:17 -07:00
5de3005d0b show "off" on button when extension is disabled 2017-03-26 17:14:50 -07:00
063f3d4dbf version bump, finishing up keyboard shortcuts 2017-03-25 18:18:31 -07:00
9d31801b73 more hotkey work 2017-03-25 18:08:42 -07:00
218db0771f cleanup, firefox scrolling 2017-03-25 16:45:43 -07:00
bc2bf51a07 wip 2017-03-25 16:28:15 -07:00
b8d0788144 wip 2017-03-25 15:59:33 -07:00
ff3315ebf1 fixing reason sorting 2017-03-25 12:09:57 -07:00
83a6c30d0e audio improvements 2017-03-25 12:01:20 -07:00
20d062329b more audio handling improvements 2017-03-25 10:46:59 -07:00
6d55767191 wip 2017-03-18 18:21:02 -07:00
ad313fd182 polish 2017-03-18 17:53:21 -07:00
57697ee2a0 polish and initial command support 2017-03-18 13:00:29 -07:00
f39323126d cleanup 2017-03-18 09:48:53 -07:00
a55b74c92e adding back link on kanji defs 2017-03-17 21:03:52 -07:00
1dbcb35eb7 wip 2017-03-17 20:45:47 -07:00
8893db14ca wip 2017-03-15 21:13:58 -07:00
299195f677 move data out of git lfs 2017-03-14 23:08:17 -07:00
94af149040 fix broken options on update 2017-03-12 09:18:40 -07:00
e8a993bf35 remove references to chrome.storage.sync 2017-03-11 18:39:01 -08:00
83e2fd4748 add options for setting popup width, height, offset 2017-03-11 17:48:30 -08:00
Dan Frei
99754802aa Bind wanakana IME to search field 2017-03-10 23:10:32 -06:00
19ffd1a0d3 anki related fixes, version bump 2017-03-06 19:42:59 -08:00
e27355a6b0 don't display errors on search page when anki is enabled but not open 2017-03-05 22:14:41 -08:00
44d7ad5a8b firefox fixes 2017-03-05 16:27:29 -08:00
efc5be4dac middle mouse button scanning 2017-03-05 16:03:14 -08:00
a4dfadaa15 wip 2017-03-05 15:54:03 -08:00
d4e95c27d2 wip 2017-03-05 12:35:58 -08:00
ca778d30f7 visual improvements to search page 2017-03-05 11:54:48 -08:00
0e8f00a68f add code to enable all dictionaries if all are disabled (workaround for
old options bug)
2017-03-05 11:39:07 -08:00
41624605f5 fix options for good 2017-03-05 11:34:14 -08:00
592f15f96c options 2017-03-05 11:29:28 -08:00
200b8f6b75 fix options loading and storing code 2017-03-05 11:12:48 -08:00
974b103409 initial code for migration from sync storage to local storage 2017-03-04 20:56:54 -08:00
6b6190ade7 misc fixes 2017-03-04 20:27:46 -08:00
5daf2accf4 wip 2017-03-04 20:10:49 -08:00
e799aa5e5f cleanup 2017-03-04 19:53:28 -08:00
7269583547 polish 2017-03-04 19:42:30 -08:00
db7e80dabf wip 2017-03-04 19:16:19 -08:00
30999c13d3 wip 2017-03-04 18:24:57 -08:00
b039d30024 wip 2017-03-04 17:56:10 -08:00
2e7ce45112 file reorg 2017-03-04 12:27:05 -08:00
395af352f0 wip 2017-03-04 11:53:55 -08:00
b1950cf47e prelim search support 2017-03-04 11:45:55 -08:00
acb0bc2e9e style fixes 2017-03-03 20:25:14 -08:00
faf13d696c cleanup 2017-03-02 22:35:02 -08:00
a01ca1f17c renaming things to make more sense 2017-03-02 21:01:49 -08:00
5ecca4627e enable and disable via toggle switch 2017-03-02 20:23:56 -08:00
b9c849a020 wip 2017-03-01 21:35:29 -08:00
95cf7a784f wip on browser action button 2017-03-01 20:49:46 -08:00
dfe97a2b77 fixup of gecko polyfill 2017-02-26 12:14:22 -08:00
0d2e9be0ce wip 2017-02-26 11:12:54 -08:00
32f95e59a9 Merge branch 'dev' into firefox 2017-02-26 11:05:41 -08:00
6b7e094041 fix options versioning code, update usage guide 2017-02-26 10:38:48 -08:00
55dd9b1e6b delete unused dictionary deletion code 2017-02-26 10:11:23 -08:00
465a8e21c0 usability improvements 2017-02-25 19:14:44 -08:00
64db42d536 switch to new ankiconnect interface 2017-02-19 10:09:15 -08:00
2e3aec9ba1 fix "url" not being set on kanji cards, add more fields 2017-02-08 20:13:45 -08:00
f3fe0994f5 add option to disable imposters, bump version 2017-02-08 09:24:14 -08:00
b3487370db fix kanji template 2017-02-07 22:21:33 -08:00
5076b80f96 tweaks for ankiconnect 2017-02-05 11:44:59 -08:00
bed16022e0 fix dictionary priority visibility bug 2017-01-31 21:10:20 -08:00
2a29429104 WIP 2017-01-28 20:36:58 -08:00
944be5fa64 adding more polyfill goodness for firefox 2017-01-28 19:22:28 -08:00
491480c409 adding gecko polyfill 2017-01-28 19:01:06 -08:00
8efe5b1fbf workaround for broken const in firefox 2017-01-28 18:46:15 -08:00
bf9925ec9c add versioning code for people broken by last update 2017-01-28 18:14:07 -08:00
2398b990af fix options versioning for real, bump version 2017-01-28 18:03:24 -08:00
0f69843202 fix versioning, bump version 2017-01-28 17:44:13 -08:00
25d03b0584 fixing templates 2017-01-27 22:36:06 -08:00
b58468cb10 removing unused ankiweb file 2017-01-27 21:25:15 -08:00
1d49473c1f fixing enabled state 2017-01-27 21:21:05 -08:00
79194bcafc versioning fixes 2017-01-27 20:26:44 -08:00
d134c6b297 options versioning 2017-01-27 20:11:06 -08:00
b3e4137340 WIP 2017-01-27 19:43:45 -08:00
3fa393354b store max number of results to display 2017-01-27 09:01:12 -08:00
0e0a0a3e51 moving more controls to advanced group 2017-01-27 08:49:49 -08:00
b9addc8428 template work 2017-01-26 22:38:59 -08:00
2b783018c1 WIP 2017-01-26 21:51:24 -08:00
34ea9979ab wip 2017-01-26 20:22:52 -08:00
da33d00e45 WIP 2017-01-23 21:12:46 -08:00
72fbcc26fb sort deck names and model names 2017-01-22 19:51:14 -08:00
5cd3e35f9e furigana tag 2017-01-22 19:49:07 -08:00
f808221470 wip 2017-01-22 19:22:53 -08:00
985c5df328 WIP 2017-01-21 19:30:01 -08:00
03e1a03634 add option for html cards 2017-01-18 20:46:17 -08:00
404f3f1b16 unify dictionary enabled state 2017-01-16 22:30:53 -08:00
268e00435f support for dictionary priority sorting 2017-01-16 20:54:01 -08:00
e8840465f0 WIP 2017-01-15 22:17:49 -08:00
434ccc18ee dict priority work 2017-01-15 12:42:44 -08:00
0c88d3fa27 allow console log in one place 2017-01-15 12:03:27 -08:00
a5aff370e4 don't wipe options when disabling anki support (fixes #27) 2017-01-15 11:37:05 -08:00
b5e1a9e260 fixing optionsNew/optionsOld 2017-01-15 11:30:04 -08:00
655bcec511 cleanup 2017-01-15 11:22:34 -08:00
c512412c05 fix options page 2017-01-15 11:15:24 -08:00
6ad860bd72 WIP 2017-01-14 20:38:11 -08:00
8fe82573cc WIP 2017-01-13 21:06:33 -08:00
11fcc465ac WIP 2017-01-13 20:47:40 -08:00
94034890cc WIP 2017-01-12 20:14:05 -08:00
c574ef4bc0 Merge branch 'master' into dev 2017-01-11 20:44:53 -08:00
916751420e sayonara ankiweb 2017-01-11 20:21:11 -08:00
5c1c894df9 versioning 2017-01-11 19:55:51 -08:00
5c562c0288 fixing ankiweb, version up 2017-01-10 21:13:38 -08:00
124a2eb2b7 fixing ankiweb 2017-01-10 21:11:38 -08:00
01d73dd2ad WIP 2017-01-09 19:51:21 -08:00
40838790d5 WIP 2017-01-09 19:42:54 -08:00
f1c826e2d3 fixing kanji template 2017-01-09 19:05:21 -08:00
60e23ab42c simplify templates 2017-01-08 22:44:13 -08:00
3b83f8b7fe styling 2017-01-08 19:03:48 -08:00
67ca7adc4c WIP 2017-01-08 18:39:59 -08:00
53a8e9061c styling 2017-01-08 18:10:38 -08:00
148291d3a7 WIP 2017-01-08 15:33:45 -08:00
0498ea5d36 initial pass at term grouping function 2017-01-08 15:08:18 -08:00
984b5326a9 cleanup 2017-01-08 14:08:36 -08:00
d7b4aa681c fixing dictionary tags 2017-01-08 11:18:55 -08:00
a5efe50322 add dictionary tags 2017-01-07 21:11:52 -08:00
f7d7b1bd84 add dictionary formatting field 2017-01-07 20:48:59 -08:00
786ef851c9 WIP 2017-01-07 19:21:16 -08:00
d770030688 WIP 2017-01-07 18:52:51 -08:00
15ebc06fb3 WIP 2017-01-07 12:21:47 -08:00
86e39efe28 checkbox for grouping term results 2017-01-04 21:33:23 -08:00
8615d5f497 show spinner when adding notes (resolves #25) 2017-01-04 19:44:50 -08:00
8049c6083e don't show add buttons till we know card state for #25 2017-01-03 22:17:53 -08:00
6005b10f87 database version 2016-12-30 10:53:21 -08:00
9dfafe9d26 purge old database versions 2016-12-30 10:47:27 -08:00
6c940656ca GET unless POSTing data 2016-12-29 11:10:12 -08:00
b9363dc979 add optionalscrollbars to glossary-list 2016-12-29 10:03:37 -08:00
c185125e9f fixing ankiweb breakage (resolves #26) 2016-12-29 09:36:54 -08:00
37d61b35d0 fix glossary lists with one item 2016-12-28 19:28:59 -08:00
c7e9179b68 fixing bug that was preventing katakana terms from being searchable 2016-12-27 18:56:28 -08:00
b81e11f633 revision support 2016-12-23 21:59:19 -08:00
09b2db4fdf file management 2016-12-23 16:25:14 -08:00
3047f8c4fc fixing various deinflection issues 2016-12-23 15:44:16 -08:00
4c5f93c7a7 better output for epwing 2016-12-21 19:47:50 -08:00
e973788f7d Remove dictionary delete button 2016-12-21 18:56:03 -08:00
45bf72b40b dictionary result caching 2016-12-20 22:43:27 -08:00
dd3db8faad fixing various deinflection issues 2016-12-20 21:54:01 -08:00
28b8bae6a7 deinflector optimizations 2016-12-19 21:23:17 -08:00
0aa603694c Fixing deinflection 2016-12-19 20:03:06 -08:00
238c9e340e WIP 2016-12-18 22:24:34 -08:00
04ff83cc6c Don't show list numbering on glossary lists with only one item 2016-12-18 12:24:07 -08:00
5eb1e4842f . 2016-12-18 12:07:01 -08:00
9395d46712 WIP 2016-12-18 11:52:11 -08:00
e5275560ce Fixes 2016-12-17 23:38:14 -08:00
d44f0c5764 WIP 2016-12-17 21:42:53 -08:00
5be864bb6f WIP 2016-12-17 21:26:46 -08:00
5c755043fa CWIP 2016-12-17 19:30:26 -08:00
15e1cf3358 Fixes 2016-12-17 19:08:28 -08:00
d98f4566bc WIP 2016-12-17 18:45:19 -08:00
5c94923264 WIP 2016-12-17 17:42:41 -08:00
2f63eeb2d1 WIP 2016-11-14 21:14:22 -08:00
09afc64928 Open guide on install 2016-11-14 21:02:04 -08:00
4e89d27fda WIP 2016-11-14 20:42:45 -08:00
71d8cd4a32 Cleanup 2016-11-14 09:12:49 -08:00
984a3ad756 Cleanup 2016-11-14 08:15:08 -08:00
72ed8be877 WIP 2016-11-13 21:53:56 -08:00
8ad217970f WIP 2016-11-13 19:22:11 -08:00
a9fb566884 WIP 2016-11-13 19:10:28 -08:00
d95d607c19 Handle no definitions 2016-11-13 18:06:49 -08:00
253da36755 WIP 2016-11-13 17:50:09 -08:00
a9eea9f634 WIP 2016-11-13 13:29:35 -08:00
2587b9ae6b Dictionary simplification 2016-11-13 12:49:28 -08:00
dab46eda3e WIP 2016-11-13 11:58:23 -08:00
7598de2234 Cleanup 2016-11-13 11:37:54 -08:00
320a82146b Optimization 2016-11-12 20:20:23 -08:00
371c07ab1f Revert "Delete dictionary deletion"
This reverts commit 0ff41d5843.
2016-11-12 19:34:02 -08:00
b5cc47a9d1 WIP 2016-11-12 19:29:30 -08:00
0ff41d5843 Delete dictionary deletion 2016-11-10 19:36:45 -08:00
8b5ee62931 Better deletion 2016-11-09 09:21:11 -08:00
aab3803786 WIP 2016-11-09 08:55:40 -08:00
58357552f8 WIP 2016-11-08 22:20:06 -08:00
121d5e7c5e WIP 2016-11-08 21:16:51 -08:00
cbe1b2e2a3 WIP 2016-11-08 21:10:46 -08:00
45877c4602 WIP 2016-11-08 21:08:36 -08:00
1b1f4a3ed7 WIP 2016-11-08 21:02:12 -08:00
deb4ef52ba WIP 2016-11-08 20:40:32 -08:00
5bbf9aa07b WIP 2016-11-08 20:34:28 -08:00
885f508eda WIP 2016-11-08 19:41:03 -08:00
af45e8fab6 Error handling 2016-11-07 22:31:57 -08:00
f2f7b7f3db Tweaks 2016-11-07 22:16:00 -08:00
638fe54c2a Prevent duplicate import 2016-11-07 22:12:18 -08:00
407da51918 WIP 2016-11-07 21:02:13 -08:00
bd29cc0c16 WIP 2016-11-07 20:55:06 -08:00
5ad4782bfb Fixes 2016-11-07 19:15:51 -08:00
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
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
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
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
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
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
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
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
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
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
7666d6a3e6 Cleanup 2016-09-19 20:17:58 -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
b969e8952c Cleanup 2016-09-15 21:03:58 -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
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
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
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
d0654e2cf6 Adding stub for usage guide 2016-08-14 12:08:06 -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
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
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
80fedc4f7a Hook up sentence search extent to options 2016-07-25 20:28:56 -07:00
f88f8dc97f Sentence and URL support 2016-07-25 20:07:54 -07:00
282ada3b91 Fixing exception 2016-07-23 23:02:55 -07:00
b2c19ab9c9 Deleting dead code, bumping version. 2016-07-23 15:21:22 -07:00
22d73228ca Cleanup 2016-07-23 15:14:13 -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
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
0eccd89f14 Support additional replacement fields 2016-07-10 18:16:51 -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
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
b7901945b3 Support tagging 2016-06-14 20:44:38 -07:00
ad61722130 Use let instead of const in for loops. 2016-06-14 20:44:38 -07:00
caf0678832 Cleanup 2016-06-14 20:44:38 -07:00
e0f91b9a8a Elementary audio playback support 2016-06-14 20:44:38 -07:00
96dd2d45f9 Removing HTML option 2016-06-14 20:44:38 -07:00
19c9a16e46 Option stubs 2016-06-14 20:44:38 -07:00
061cbb0141 Better selection handling, fixing scan length being treated as a string. 2016-06-14 20:44:38 -07:00
14fd0d6514 Option preference page on install. 2016-06-14 20:44:38 -07:00
c73641ec77 Better glossary formatting 2016-05-29 15:00:19 -07:00
6f63999dce Adding version checking 2016-05-29 14:20:13 -07:00
9ab95e6602 Delete unused functions 2016-05-29 13:32:31 -07:00
d479107eb5 Cleanup 2016-05-29 13:26:09 -07:00
4995135657 Cleanup 2016-05-29 12:58:51 -07:00
8c944c6294 New fact creation 2016-05-29 12:46:37 -07:00
a936bc0088 Fixing field table 2016-05-28 18:53:06 -07:00
7a37c10aed Options page now works as intended 2016-05-28 18:27:26 -07:00
b229295688 More cleanup 2016-05-28 15:21:01 -07:00
9c51f2ecda More work on options page 2016-05-28 14:45:10 -07:00
5f8cd06533 Show proper options 2016-05-28 14:18:43 -07:00
281b8018a6 Cleanup 2016-05-28 14:00:35 -07:00
4103b09893 Improvements to options page 2016-05-28 13:35:46 -07:00
e7b6b171cb WIP 2016-05-22 20:51:06 -07:00
bd17b05eef Cleanup 2016-05-22 16:53:28 -07:00
ca13c947bb Adding default options 2016-05-22 14:26:12 -07:00
7c06a22451 Field selector working 2016-05-22 13:41:52 -07:00
997947caed Cleanup 2016-05-21 22:59:29 -07:00
10226663bd Adding tabs 2016-05-21 20:17:12 -07:00
f1850defa6 Cleanup 2016-05-21 18:07:57 -07:00
5f97e8d16a WIP 2016-05-21 17:44:02 -07:00
ad54735a80 WIP 2016-05-21 17:11:17 -07:00
8b4d19c9f2 WIP 2016-05-21 16:36:41 -07:00
c2532a9fd0 WIP 2016-05-21 15:50:59 -07:00
07a90ec0f1 Show when the extension is disabled 2016-05-21 15:40:08 -07:00
a306d73118 Revert "Fixing certain definitions not showing up"
This reverts commit 85015b1776.
2016-05-18 12:30:45 -07:00
85015b1776 Fixing certain definitions not showing up 2016-05-18 12:19:40 -07:00
aaf8bb43d1 Styling, switching port to one that is not likely to be used. 2016-05-18 10:24:11 -07:00
eaf5ded127 Revert "Reverse sort order"
This reverts commit a39feb66db.
2016-05-17 22:01:36 -07:00
a39feb66db Reverse sort order 2016-05-17 22:00:38 -07:00
3a656a8009 Consistant ordering with Anki 2016-05-17 20:32:08 -07:00
84747e5502 Styling 2016-05-09 19:23:40 -07:00
8438a1fe32 Custom fonts for Japanese 2016-05-09 19:07:39 -07:00
5359ea983e Fixing term ordering bug 2016-05-09 14:33:28 -07:00
4a6055d781 WIP 2016-05-07 18:24:31 -07:00
c620b4ba36 Simplify options page 2016-05-07 14:02:54 -07:00
9b9985bd4b Improvements 2016-05-07 13:43:32 -07:00
8c1ebe6bcb WIP 2016-05-06 21:42:15 -07:00
7015b80469 Async pooling 2016-05-06 21:34:06 -07:00
f1e078c7d8 Removing flicker 2016-05-05 21:36:50 -07:00
cc33a30b5e Fixing options 2016-05-05 20:36:01 -07:00
809e4f855f More cleanup 2016-05-05 20:27:04 -07:00
9cb099e5f6 Optimization 2016-05-05 20:06:13 -07:00
dd4b2f7365 Cleanup 2016-05-05 18:55:43 -07:00
320d9bca0e Adding indices 2016-05-04 19:31:06 -07:00
22ff1f8695 Simplify templates 2016-05-04 19:10:28 -07:00
574b2251b7 Cleanup 2016-05-04 18:58:12 -07:00
36e9a332df WIP 2016-05-03 22:18:03 -07:00
8926eeab45 WIP 2016-05-03 22:07:05 -07:00
f535683e9b WIP 2016-05-03 20:53:53 -07:00
5eea27004c Optimization 2016-05-03 20:49:09 -07:00
1e2a249c53 Show action icons 2016-05-03 20:25:35 -07:00
2b3550bd33 Async fix 2016-05-02 21:53:12 -07:00
0ed936438c WIP 2016-05-02 21:50:36 -07:00
57a426f4f2 Plumbing 2016-05-02 20:40:41 -07:00
c70aedc2ff WIP 2016-05-02 17:27:26 -07:00
eaa7291683 Updating options page 2016-05-01 21:18:28 -07:00
a7e5a23e2d Style cleanup 2016-04-28 20:36:55 -07:00
240aca8415 Kanji page cleanup 2016-04-28 20:32:04 -07:00
4ef620d74c Styling 2016-04-24 22:06:49 -07:00
f466fe7218 Styling work 2016-04-24 20:50:27 -07:00
62c2120286 Use KanjiStrokeOrders 2016-04-24 20:04:14 -07:00
46a2f0e87b WIP 2016-04-24 19:50:04 -07:00
8773ab991d WIP 2016-04-24 19:39:10 -07:00
6908d9e7e3 WIP 2016-04-24 19:23:13 -07:00
cac6fc1427 Basic kanji output 2016-04-24 18:59:29 -07:00
a192a8d8b5 Plumbing 2016-04-24 18:34:31 -07:00
8143e372cd Stub handler for kanji click 2016-04-24 16:48:30 -07:00
59989cd78c File management 2016-04-24 16:18:47 -07:00
4b46a2988b Get rid of flicker 2016-04-23 22:22:58 -07:00
7ef0f4e881 Handle intermediate tags through addons 2016-04-19 22:04:55 -07:00
8c0ead7a3a Making suru verb work again 2016-04-19 21:37:11 -07:00
b02ec434f5 Fixing tag description 2016-04-18 20:45:14 -07:00
0c0271ae34 Tag sorting and sanitation 2016-04-18 20:35:40 -07:00
2495774891 Better tag rendering 2016-04-18 19:59:56 -07:00
c4e35fbf54 Display tooltips for tags 2016-04-18 19:38:03 -07:00
f8d2cc1b03 Get rid of lame spaces 2016-04-17 20:50:58 -07:00
94c30c83e6 Cleanup 2016-04-17 20:24:22 -07:00
d5170414af Adding kanji links 2016-04-17 19:06:57 -07:00
de268e73a6 Rethinking dictionary switching 2016-04-17 18:42:44 -07:00
5bebf3ed2c Revert "Support switching between edict and enamdict"
This reverts commit f079db0471.
2016-04-17 18:38:29 -07:00
52a8e2207c Fixups 2016-04-17 18:35:22 -07:00
6f45cc2871 Splitting out header and footer templates 2016-04-17 18:20:39 -07:00
f079db0471 Support switching between edict and enamdict 2016-04-17 18:13:20 -07:00
bcd34149ab Plumbing 2016-04-17 17:36:15 -07:00
be43981e25 Adding dictionary switcher stubs 2016-04-17 17:23:53 -07:00
1b3b33078e Appearance tweaking 2016-04-17 09:36:06 -07:00
c353ec04bc Styling 2016-04-16 22:54:19 -07:00
9ceef4649f Fixes to deinflection logic 2016-04-16 20:11:27 -07:00
ccf5459190 WIP 2016-04-16 11:41:33 -07:00
80da71148a Adding better rule output 2016-04-16 11:24:03 -07:00
aa288d524b Styling 2016-04-15 22:33:13 -07:00
5f74c473ce Switch to iframe 2016-04-14 20:36:00 -07:00
6e32b08d1c Updating styles and templates 2016-04-13 20:13:41 -07:00
18720aa150 Show definitions as lists 2016-04-13 18:55:31 -07:00
c198a0f919 Bugfix 2016-04-13 17:28:44 -07:00
972b945b4c Work on new dictionary format 2016-04-12 23:12:20 -07:00
bf28dea283 Updating dictionaries 2016-04-12 20:58:41 -07:00
ae3d8d27d9 Options page improvements 2016-04-08 13:33:46 -07:00
26af561c12 . 2016-04-07 22:41:47 -07:00
5db0d5d59a WIP 2016-04-07 22:41:16 -07:00
0acc0ad90c Autoload when needed 2016-04-06 21:04:38 -07:00
03b02070b7 Add load on startup checkbox 2016-04-06 21:02:31 -07:00
7c9d64e95f Options now work 2016-04-06 20:48:36 -07:00