toasted-nutbread
deed5027cd
Move mixed/lib/ to lib/ ( #1382 )
2021-02-13 21:28:47 -05:00
toasted-nutbread
4053d9b2fa
Move html files ( #1375 )
...
* Move background.html to /
* Move context.html to /
* Move info.html to /
* Move legal.html to /
* Move permissions.html to /
* Move pitch-accents-preview.html to /
* Move popup-preview.html to /
* Move search.html to /
* Move settings.html to /
* Move settings2.html to /
* Move template-renderer.html to /
* Move welcome.html to /
* Move float.html to /
* Move display-templates.html to /
2021-02-12 23:03:15 -05:00
toasted-nutbread
8454f52378
Move more data files ( #1373 )
...
* Move deinflect.json
* Move button.mp3
* Move fonts
2021-02-12 20:37:43 -05:00
toasted-nutbread
f70464e5f3
Add additional vz deinflection rule ( #1367 )
2021-02-12 20:29:23 -05:00
toasted-nutbread
2b4af57bd7
Move data folder ( #1371 )
...
* Move handlebars template files
* Move schema files
2021-02-12 19:56:24 -05:00
toasted-nutbread
c6315cdb8c
え deinflection ( #1343 )
...
* Add -e deinflections
* Add tests
* Add more rules for double え
2021-02-08 17:52:30 -05:00
toasted-nutbread
9e83faa02c
Html lint ( #1336 )
...
* Move style rules
* Fix non-unique IDs
* Remove erroneous ids
* Add title
* Fix invalid closing tag
* Install html-validate
* Add .htmlvalidate.json
* Update HTML and styles
* Add test-lint-html
* Update test files
* Update test-lint-html/css commands to have more explicit targets
2021-01-30 20:44:54 -05:00
toasted-nutbread
a81787c55b
Remove the dictionary tag from the definitionTags ( #1324 )
...
* Remove dictionary tag from term definitionTags and kanji tags
* Update test data
* Update templates
* Update tests
* Update information
2021-01-28 21:33:30 -05:00
toasted-nutbread
e610a62ceb
Refactor anki field templates ( #1323 )
...
* Update glossary and glossary-single
* Define patch
* Create TemplatePatcher
* Add test
2021-01-28 21:17:10 -05:00
toasted-nutbread
8d292363d4
Update clipboard options organization ( #1318 )
...
* Update options organization
* Update general.enableClipboardPopups to clipboard.enableBackgroundMonitor
* Update general.enableClipboardMonitor to clipboard.enableSearchPageMonitor
* Update general.maximumClipboardSearchLength to clipboard.maximumSearchLength
* Update general.autoSearchClipboardContent to clipboard.autoSearchContent
2021-01-26 18:30:01 -05:00
toasted-nutbread
981f73b562
Clipboard lookup skip option ( #1314 )
...
* Add autoSearchClipboardContent option
* Hide header if there is any search text
* Add setting for autoSearchClipboardContent
* Add support for autoSearchClipboardContent
2021-01-25 22:05:06 -05:00
toasted-nutbread
ebfef0c748
Multiple custom audio sources ( #1303 )
...
* Fix label
* Fix icon size being flexible
* Add schema
* Add customSourceType option
* Update settings
* Pass customSourceType to the audio downloader
* Implement custom audio JSON mode
2021-01-23 22:46:00 -05:00
toasted-nutbread
cf57c4e38d
Simplify CacheMap ( #1287 )
...
* Simplify CacheMap, removing support for array path keys
* Update keys
* Update JsonSchemaValidator
* Update AudioSystem
2021-01-21 22:49:54 -05:00
toasted-nutbread
b0f0ecd7df
Hotkey util ( #1270 )
...
* Create HotkeyUtil
* Create tests
* Use HotkeyUtil
* Fix issues
2021-01-18 13:52:07 -05:00
toasted-nutbread
d21de9df00
Update copyHostSelection to be popup-only ( #1267 )
2021-01-17 19:35:01 -05:00
toasted-nutbread
d89f23261c
Update default settings page ( #1254 )
...
* Update settings v2 to be the default for existing users
* Update information on the old settings page
* Update information on the new settings page
* Update tests
2021-01-16 16:55:40 -05:00
toasted-nutbread
b234294540
Stroke count marker ( #1251 )
...
* Add stroke-count definition
* Update options
* Update documentation
* Add helper
2021-01-16 15:29:42 -05:00
toasted-nutbread
8766744aa4
Popup window options ( #1245 )
...
* Add popupWindow options
* Add toBoolean converter
* Add settings
* Use new options
* Add test link
* Fix window state not working
* Make the window section advanced only
2021-01-16 10:22:24 -05:00
toasted-nutbread
0a1664ba29
Separate close hotkey ( #1242 )
...
* Add focusSearchBox hotkey
* Update close hotkey action
* Update hotkeys
2021-01-15 20:19:56 -05:00
toasted-nutbread
1dcfbf6ba6
Support suspending new anki cards ( #1240 )
...
* Add new option: anki.suspendNewCards
* Update Anki APIs
* Suspend card based on options
* Add setting
* Disable wrap for toggle property
2021-01-14 22:42:11 -05:00
toasted-nutbread
84d3af0f8d
Hotkeys ( #1236 )
...
* Set up hotkey inputs
* Improve key display
* Add setInput
* Add KeyboardShortcutController
* Update how display handles hotkeys
2021-01-14 20:56:18 -05:00
toasted-nutbread
25080ac82e
Change popupActionBarLocation to top ( #1222 )
2021-01-10 16:49:40 -05:00
toasted-nutbread
f6a38f40dc
Customizable sentence parsing ( #1217 )
...
* Add new sentenceParsing options
* Update TextScanner.setOptions
* Assign terminator/quote maps
* Pass sentence parsing info to extractSentence
* Simplify setting
* Add setting for enableTerminationCharacters
* Create new settings for sentence termination characters
2021-01-10 14:43:06 -05:00
toasted-nutbread
083da93142
Refactor sentence parsing ( #1215 )
...
* Rename sentenceExtent with sentenceScanExtent
* Update TextScanner.setOptions
* Change function argument order
* Rename quote map variables
* Fix edge case quote handling
* Update terminator maps to support character inclusion
2021-01-09 23:10:55 -05:00
toasted-nutbread
da1e1e5c5b
Sentence parsing options ( #1214 )
...
* Rename options.anki.sentenceExt to options.sentenceParsing.scanExtent
* Create sentence parsing icon
* Create new sentence parsing section
2021-01-09 21:25:04 -05:00
toasted-nutbread
d698911bc9
Refactor sentence scanning ( #1213 )
...
* Update tests
* Update extractSentence implementation
* Remove old extractSentence implementation
* Optimize maps/sets
2021-01-09 19:02:51 -05:00
toasted-nutbread
63971776a5
CSS lint ( #1201 )
...
* Use single quotes instead of double
* Install stylelint
* Set up config
* Update package/tests
* Fix lint issues
* Update CSS rules
2021-01-03 15:30:38 -05:00
toasted-nutbread
8e304b83c6
Translator regex replacements ( #1199 )
...
* Add support for regex replacements during the translation process
* Allow assignment of textReplacements
* Rename
* Set up test data
* Write expected data
* Set up options
* Prevent infinite loop if regex matches empty string
* Implement setting controller
* Add support for testing pattern replacements
2021-01-03 12:12:55 -05:00
toasted-nutbread
a02891e52c
Update copyright year ( #1194 )
...
* Update copyright year
* Remove redundant Author info
2021-01-01 14:50:41 -05:00
toasted-nutbread
4650f0b542
Translator frequency data improvements ( #1184 )
...
* Specify if a frequency has a specific reading
* Make frequency data creation more standardized
* Update test data
2020-12-30 15:12:08 -05:00
toasted-nutbread
c03340c4aa
Change popupCurrentIndicatorMode default to triangle ( #1161 )
2020-12-22 18:22:14 -05:00
toasted-nutbread
a354becd51
Furigana distribution improvements ( #1157 )
...
* Improve furigana when reading kana is not an exact match
* Simplify group structure
* Return consistent type
* Add more tests
* Remove redundant isAmbiguous assignment
* Simplify group usage
* Add helper function
* Optimize returned arrays
* Use variable
* Remove s(p)lice calls
* Reduce number of convertKatakanaToHiragana calls
* Optimize text length access
* Optimize reading substring
* Move segmentize to a separate function
* Use var
* Use _createFuriganaSegment
* Optimize distributeFuriganaInflected
2020-12-22 11:02:19 -05:00
toasted-nutbread
abc017545c
Update the popup preview to always be visible on the settings v2 page ( #1151 )
2020-12-20 22:16:38 -05:00
toasted-nutbread
443d6d1956
Popup action bar options ( #1140 )
...
* Add options for action bar visibility and location
* Add settings
* Update styles
* Expose properties
* Update styles
* Update tests
2020-12-19 20:07:55 -05:00
toasted-nutbread
af9b4d2b93
Update termTags for termGrouped mode to include all definition tags ( #1138 )
...
* Update termTags for termGrouped mode to include all definition tags
* Update tests
2020-12-19 16:47:32 -05:00
toasted-nutbread
1b1b24ab35
Entry indicator update ( #1134 )
...
* Move entry current indicator rules
* Simplify rules
* Add popupCurrentIndicatorMode option
* Add option to settings page
* Expose popupCurrentIndicatorMode
* Restore asterisk current indicator
* Implement dot
* Update action button vars
* Fix tests
* Add none option
* Add triangle option
2020-12-19 15:42:44 -05:00
toasted-nutbread
05d4049f16
DOMParser replacement ( #561 )
...
* Add script to build library files
* Add built parse5 library
* Add new SimpleDOMParser which uses parse5
* Update license info
* Update MV3 build to use the new SimpleDOMParser
* Update file exclusions
* Hide/clarify license info for MV2 builds
2020-12-18 17:06:30 -05:00
toasted-nutbread
51223abfa6
Set up initial manifest v3 support ( #605 )
2020-12-18 15:54:05 -05:00
toasted-nutbread
c728448a4d
Maximum clipboard search length ( #1118 )
...
* Add maximumClipboardSearchLength an option
* Add setting
* Add limits
* Update tests
2020-12-18 11:24:43 -05:00
toasted-nutbread
ddb71af6bd
Add zuru deinflections ( #1091 )
...
* Update deinflector rule types
* Add deinflection rules for zuru verbs
* Add tests
2020-12-12 10:17:25 -05:00
toasted-nutbread
2484ba68d1
Add classic suru deinflection negative tests ( #1090 )
...
* Add negative tests for classic suru verbs
* Add missing test for non-negative classic: causative, potential or passive
2020-12-08 22:59:40 -05:00
toasted-nutbread
df9436bc3e
Add classic suru deinflections ( #1089 )
...
* Add classic suru deinflections
* Add tests
2020-12-08 22:39:06 -05:00
toasted-nutbread
2be81cbb77
Update/test deinflector ( #1087 )
...
* Update formatting
* Add missing rule for progressive/perfect
* Add adnomial -ki rule
* Update rules for irregular verbs
* Organize rules by rulesOut
For the most part, the order is:
adj-i => v1 => v5 => vs => vk => other
* Add tests
2020-12-08 20:29:42 -05:00
toasted-nutbread
2910685a96
Database test updates ( #1086 )
...
* Remove unused
* Create DatabaseVM
* Update sequences in test dictionary
* Update documentation
* Add second valid testing dictionary
* Set up translator tests
* Write expected data
2020-12-08 20:27:36 -05:00
toasted-nutbread
35fbc76df4
Settings v2 testing setup ( #1084 )
...
* Add option for using settings v2
* Add options/info about settings v2
* Use settings v2 URL when applicable
* Update tests
2020-12-06 21:17:05 -05:00
toasted-nutbread
ae9a20e0de
Json schema improvements ( #1078 )
...
* Test multipleOf
* Refactor defaulting
* Use default if invalid for non-object/array properties
* Add tests
2020-11-30 18:56:28 -05:00
toasted-nutbread
34451ebf71
JapaneseUtil normalization ( #1076 )
...
* Use JapaneseUtil as a class which is manually instantiated
* Use alias function for toKana
2020-11-29 13:09:02 -05:00
toasted-nutbread
008ffdb6bf
Frequencies marker ( #1074 )
...
* Update japanese.js tests
* Simplify fallback/early exit
* Add overloads to furigana and furiganaPlain handlebars helper functions
* Expose unique expression/reading arrays (and subsequently counts)
* Add {frequencies} marker
2020-11-28 14:30:50 -05:00
toasted-nutbread
92e9f69c80
Popup style updates ( #1066 )
...
* Replace compactGlossaries option with new glossaryLayoutMode option
* Update attributes
* Update attributes
* Update color definitions
* Fix default theme scrollbar
2020-11-25 23:22:05 -05:00
toasted-nutbread
ec021964b7
Compact tags refactor ( #1021 )
...
* Update translator to flag redundant tags instead of remove
* Update how compact tags are shown in the popup
* Pass compactTags option to note builder
* Update options templates
* Add options upgrade
* Add options upgrade test
2020-11-12 20:34:11 -05:00