toasted-nutbread
c91831a817
Anki template regex helper updates ( #1934 )
...
* Update regexReplace and regexMatch to support content arguments
* Update documentation
2021-09-05 22:59:46 -04:00
toasted-nutbread
b988417031
Fix incorrect index being used for headword removal ( #1933 )
2021-09-05 21:07:23 -04:00
toasted-nutbread
97a80276f6
Database readwrite transaction updates ( #1932 )
...
* Add _readWriteTransaction helper
* Improve deleteDictionary order
* Make onProgress event optional
* Simplify progress rate parameter
2021-09-05 20:00:08 -04:00
toasted-nutbread
f68ad1f843
Structured content data ( #1930 )
...
* Add support for structured-content data attributes
* Assign dataset properties
* Don't remove data-sc attributes
* Use helper functions
* Update test data
2021-09-04 12:43:56 -04:00
toasted-nutbread
eb457caea9
Fix repeated note IDs shown on the "View Note" button ( #1927 )
2021-09-03 22:42:27 -04:00
toasted-nutbread
0331374241
Dictionary media import improvements ( #1926 )
...
* Add base64ToArrayBuffer to StringUtil
* Remove unnecessary media-util.js import
* Run async requirements in serial rather than parallel
* Update API.getMedia handler to convert ArrayBuffer content to base64
* Rename getImageResolution to getImageDetails
* Change parameter order of getImageDetails
* Pre-process and store media as an ArrayBuffer
* Remove MediaUtil.createBlobFromBase64Content
* Fix Anki media injection
2021-09-03 22:33:58 -04:00
toasted-nutbread
764d59df13
Update version
2021-08-31 21:49:57 -04:00
toasted-nutbread
1599ec1f15
Fix dictionary import total progress ( #1921 )
...
* Fix incorrect total count for final step of dictionary import
* Update tests to validate progress args
2021-08-31 21:42:18 -04:00
toasted-nutbread
02194fcb9f
Add support for structured content margins ( #1920 )
2021-08-31 21:08:30 -04:00
toasted-nutbread
ce1a862df4
Fix empty sentence on some search page URLs ( #1919 )
2021-08-31 20:45:29 -04:00
toasted-nutbread
3e7f3af63c
Fix history replacement issue ( #1917 )
...
* Remove unused "history" field of event details
* Change setContent history parameter to historyMode
2021-08-30 21:55:08 -04:00
toasted-nutbread
f565cc5a47
Improve accessibility of links without href ( #1915 )
2021-08-28 14:45:25 -04:00
toasted-nutbread
87fbb3c01c
Dictionary worker updates ( #1914 )
...
* Add support for running getDictionaryCounts via DictionaryWorker
* Run dictionary integrity checks on a separate thread
* Remove api.getDictionaryCounts
2021-08-28 14:30:50 -04:00
toasted-nutbread
74709296e5
Dictionary database worker refactoring ( #1913 )
...
* Rename DictionaryWorker => DictionaryWorkerHandler
* Rename var
* Rename file
* Simplify
* Rename DictionaryDatabaseModifier => DictionaryWorker
* Rename dictionary-database-modifier.js => dictionary-worker.js
2021-08-28 14:22:16 -04:00
toasted-nutbread
93f193c89e
Fix incorrect dictionary name ordering being used for counts ( #1912 )
2021-08-28 13:47:03 -04:00
toasted-nutbread
dfd52e1ecd
Hiragana & katakana helpers ( #1908 )
...
* Add hiragana and katakana template helpers
* Update documentation
* Fix documentation
2021-08-25 21:58:51 -04:00
toasted-nutbread
dd10dd601e
Replace ... with … ( #1902 )
2021-08-20 20:56:33 -04:00
toasted-nutbread
9bc708bb8d
Fix border radius on the outline-item style ( #1901 )
2021-08-20 18:20:56 -04:00
toasted-nutbread
e56734fc88
Input styles updates ( #1900 )
...
* Rename class
* Update styles
* Use input-group class
* Update styles
* Update input line height
* Update border styles
* Update styles
* Update line height
* Update styles
* Update line height
* Update line height
* Update outline item style
2021-08-20 18:13:56 -04:00
toasted-nutbread
b08bf103eb
Add connection icon ( #1898 )
2021-08-15 10:52:50 -04:00
toasted-nutbread
b6fc786f9a
Update dictionary importer progress event for step 6 to occur slightly earlier ( #1897 )
2021-08-14 18:16:30 -04:00
toasted-nutbread
4839503d54
Threaded dictionary delete ( #1895 )
...
* Generalize dictionary worker
* Add deleteDictionary functionality
* Update DictionaryController to use DictionaryDatabaseModifier
* Fix incorrect result handling
2021-08-14 12:41:58 -04:00
toasted-nutbread
3e350bd563
Dictionary worker refactor ( #1894 )
...
* Rename dictionary worker files
* Rename classes
* Rename file
* Rename class
* Generalize the _invoke method
* Rename 'import' to 'importDictionary'
* Improve DictionaryImporterMediaLoader usage
* Refactor message handler
* Generalize onProgress event
2021-08-14 11:46:26 -04:00
toasted-nutbread
cd78d56fee
Database improvements to data persistency ( #1893 )
...
* Fix function check
* Rename arguments of getAll, getAllKeys, and their private functions
* Simplify bulkAdd
* Simplify delete
* Simplify bulkDelete
* Remove persistData
2021-08-13 18:35:31 -04:00
toasted-nutbread
9facacfb23
Update CssStyleApplier.prepare to passively fail if it can't read the file ( #1891 )
2021-08-11 20:14:19 -04:00
toasted-nutbread
9e7e9da1c3
Update third-party libraries ( #1886 )
...
* Update third-party libraries
* Update README
* Update legal.html
2021-08-10 20:11:56 -04:00
toasted-nutbread
916189f402
Fix auto-play not working on the search page ( #1882 )
2021-08-10 19:23:05 -04:00
toasted-nutbread
69e448a955
Add support for manifest V3 script injection ( #1878 )
2021-08-07 17:17:53 -04:00
toasted-nutbread
2d5e6f8394
Fix data not being persisted after terminating Worker thread ( #1877 )
2021-08-07 15:25:00 -04:00
toasted-nutbread
5d4141a429
Google Docs accessibility ( #1875 )
...
* Add accessibility option for forcing Google Docs HTML-based rendering
* Update settings
* Send a documentStart message at document start
* Add accessibility script for Google Docs
* Set up accessibility
* Update tests
2021-08-07 12:40:51 -04:00
toasted-nutbread
ad31b70b67
Add accessibility icon ( #1874 )
2021-08-07 11:49:36 -04:00
toasted-nutbread
edb0aaf6b4
Improve audio auto play cancellation ( #1873 )
...
* Cancel automatic audio playback when hiding the popup
* Don't play audio if the popup is hidden
2021-08-02 19:25:10 -04:00
toasted-nutbread
b0df8045f6
Update version
2021-07-31 19:24:02 -04:00
toasted-nutbread
cd3f47a359
Dictionary import progress improvements ( #1868 )
...
* Update loop vars
* Update loop
* Improve progress reporting during the import process
2021-07-31 19:13:41 -04:00
toasted-nutbread
01c5c5c04b
Dictionary importer refactoring ( #1867 )
...
* Remove map of schemas
* Don't reuse dictionary importer instances
* Refactor
* Update how progress callback is used
2021-07-31 18:08:51 -04:00
toasted-nutbread
1d6e437fb2
Dictionary importer refactor ( #1866 )
...
* Move function implementations
* Use file() instead of files[]
* Move functionality into local functions
* Simplify
* Pass dictionary title to conversion functions
* Update how legacy tags are added
2021-07-31 16:53:38 -04:00
toasted-nutbread
8c4a50f68c
DictionaryImporterThreaded ( #1865 )
...
* Create new classes for importing dictionaries from a separate thread
* Use threaded importer
* Update worker tests
2021-07-31 14:46:09 -04:00
toasted-nutbread
11f210375e
DictionaryImporter improvements ( #1862 )
...
* Improve error message
* Simplify URL for JSON fetching
2021-07-31 14:00:19 -04:00
toasted-nutbread
454ffaad96
StringUtil ( #1861 )
...
* Add StringUtil class
* Use StringUtil
2021-07-31 13:04:16 -04:00
toasted-nutbread
00c5ae7983
DictionaryImporterMediaLoader ( #1860 )
...
* Rename param for consistency
* Move media loading functionality into DictionaryImporterMediaLoader
* Create test class for media loading
* Remove unnecessary Blob/Image/URL functionality
2021-07-31 12:30:31 -04:00
toasted-nutbread
2d57d69b9e
Improve dictionary importer ( #1859 )
...
* Optimize dictionary data parsing during import
* Use ArrayBuffer instead of string
* Add missing function for testing
2021-07-31 10:53:35 -04:00
toasted-nutbread
b99850ed54
Call URL.revokeObjectURL for created URLs ( #1858 )
...
* Call URL.revokeObjectURL for created URLs
* Refactor image usage
2021-07-29 21:16:55 -04:00
toasted-nutbread
a0fa67d57c
Update JsonSchema ( #1856 )
...
* Fix issues with validating properties
* Simplify multiple destructuring
* Add an optiona progress callback
* Add functions
* Add more functions
2021-07-28 20:31:36 -04:00
toasted-nutbread
b0596c8a3c
Rename pitchAccent in source code ( #1852 )
...
* Rename pitchAccentPosition to pitchAccentDownstepPosition
* Rename function
* Rename
* Rename
* pitches => pronunciations
2021-07-26 19:45:30 -04:00
toasted-nutbread
a9710b8acf
Rename CSS class names "pitch-accent" to "pronunciation" ( #1850 )
...
* pitch-accents => pronunciations
* Update dataset property names
* pitch-accent-dictionary => pronunciation-dictionary
* Update styles
* Update template name
* Update attributes
2021-07-25 18:16:07 -04:00
toasted-nutbread
3f73889874
Update de/serializeError functions to only serialize data if present ( #1849 )
2021-07-25 12:54:26 -04:00
toasted-nutbread
73f06a3fa0
Fix definition image aspect ratio issue ( #1847 )
...
* Fix incorrect aspect ratio
* Update test data
2021-07-22 18:11:46 -04:00
Thermospore
2d36714093
List vz
rule identifier in term bank schema ( #1843 )
...
Also could you describe the purpose of the `iru` rule identifier further?
2021-07-19 18:42:12 -04:00
toasted-nutbread
2ee3e3a7a1
Update pronunciation anki templates ( #1842 )
...
* Update anki pronunciation templates
* Expose nasalPositions/devoicePositions
* Update templates to support nasal/devoice positions
* Update test data
2021-07-18 16:01:42 -04:00
toasted-nutbread
637d4a2087
Pronunciation template helper ( #1840 )
...
* Rename field
* Set up pronunication components
* Fix documentation
* Rename function
* Update test dependencies
* Fix constructor
* Log errors
* Add pronunciation helper
* Add styleApplier argument to _getHtml/_normalizeHtml
* Use getAttribute for 'class' to support namespaced elements (e.g. svg)
* Update format name
* Add optional tag
* Update docs
2021-07-18 13:43:11 -04:00