toasted-nutbread
106172e2c1
Merge pull request #447 from toasted-nutbread/util-conversions
...
Util conversions
2020-04-18 14:12:41 -04:00
toasted-nutbread
649adb13d8
Merge pull request #440 from toasted-nutbread/collapse-emphatic-sequences
...
Add support for collapsing emphatic character sequences
2020-04-12 11:42:46 -04:00
toasted-nutbread
51e17b35e3
Convert some util* functions into api* functions
2020-04-11 15:25:19 -04:00
4e5029f7ec
Update license author field to broader to explicitly reflect that
...
Yomichan is an ongoing community project. It really does take a village,
and everyone who contributes code owns a part of it :)
2020-04-10 11:10:21 -07:00
toasted-nutbread
42a2917bf7
Add support for collapsing emphatic character sequences
2020-04-10 11:56:18 -04:00
toasted-nutbread
f177e3699a
Merge pull request #434 from toasted-nutbread/error-fixes
...
Error fixes
2020-04-07 19:28:07 -04:00
toasted-nutbread
ac1ecb35ee
Merge pull request #433 from toasted-nutbread/extra-dictionary-information
...
Extra dictionary information
2020-04-07 19:27:58 -04:00
toasted-nutbread
1d7c86ded0
Add document-title tag to settings options
2020-04-06 18:20:04 -04:00
toasted-nutbread
4011a091b6
Add support for {document-title}
2020-04-06 18:20:04 -04:00
toasted-nutbread
059db280bb
Add custom context object for note creation
2020-04-06 18:20:04 -04:00
toasted-nutbread
9dfe531dfd
Use logError instead of console.log
2020-04-05 18:27:53 -04:00
toasted-nutbread
7449ffd4dc
Fix error reporting during dictionary import
2020-04-05 18:26:38 -04:00
toasted-nutbread
dd9d50bfc1
Update settings page to display additional information
2020-04-05 14:46:45 -04:00
siikamiika
31a326fe63
add option for iframe popups
2020-04-05 20:03:42 +03:00
toasted-nutbread
cbc7e2646d
Add options
2020-03-28 10:25:57 -04:00
toasted-nutbread
64fc0349a1
Update global declarations
2020-03-10 22:40:35 -04:00
toasted-nutbread
aad4ab5ecc
Rename audio functions using "url" to use "uri"
2020-03-07 21:57:26 -05:00
toasted-nutbread
7ac1c843a9
Use dependency injection for apiTemplateRender
2020-03-07 21:47:48 -05:00
toasted-nutbread
69cce49b0d
Move Anki note generation functionality into a new class
2020-03-07 21:46:59 -05:00
toasted-nutbread
a8eb50d96f
Use dependency injection for getAudioUri implementation
2020-03-07 21:43:51 -05:00
toasted-nutbread
d8e2e69ca5
Use AudioSystem on the audio settings page
2020-03-07 21:42:18 -05:00
siikamiika
e0edb30efd
fix Backend prepare issues in settings
2020-03-02 11:18:09 +02:00
siikamiika
2abf46b6fa
simplify backend prepare
2020-03-01 23:06:37 +02:00
toasted-nutbread
8e29da0c6b
Load default Anki field templates from a file
2020-02-27 20:33:13 -05:00
toasted-nutbread
fdfc2d33bb
Simplify event to use bind
2020-02-26 21:19:22 -05:00
toasted-nutbread
2d109c3e56
Use functions directly rather than wrapping in () => {} when args are same
2020-02-26 21:17:01 -05:00
toasted-nutbread
8bc1a40914
Use .bind instead of () => {}
2020-02-26 21:01:40 -05:00
toasted-nutbread
78dc501d02
Move event handler definitions
2020-02-26 20:07:14 -05:00
toasted-nutbread
6bd714fec0
Use Map to avoid using for in
2020-02-25 22:12:00 -05:00
toasted-nutbread
15f79bc78b
Fix popupScalingFactor being limited to integer values
2020-02-23 21:12:43 -05:00
toasted-nutbread
c0d91bffc4
Add no-shadow
2020-02-22 14:53:02 -05:00
toasted-nutbread
56567903a5
Fix unnamed functions
2020-02-22 14:52:09 -05:00
toasted-nutbread
aa76113e75
Fix block padding
2020-02-22 14:52:09 -05:00
toasted-nutbread
452eec8a88
Use Map
2020-02-22 14:36:07 -05:00
toasted-nutbread
aee16c4431
Check origin on window messages
2020-02-16 23:41:17 -05:00
toasted-nutbread
9fd6ee382d
Create more generic function for injecting stylesheets
2020-02-16 21:46:13 -05:00
toasted-nutbread
d3aefdc4e3
Override setCustomOuterCss instead of Popup.injectOuterStylesheet
2020-02-16 21:45:30 -05:00
toasted-nutbread
b6a50e234c
Change parameter name
2020-02-16 21:44:45 -05:00
toasted-nutbread
dcd243c9e9
Update how popups are created
2020-02-16 18:59:08 -05:00
toasted-nutbread
070ae70f7c
Create EventListenerCollection class
2020-02-16 18:47:57 -05:00
toasted-nutbread
faf15c08aa
Rename optionsUpdate event to optionsUpdated
...
Past tense better indicates that the options were changed, but no data
is being included as part of the event. It is also more consistent with
the other event names the yomichan object currently provides.
2020-02-14 22:34:44 -05:00
toasted-nutbread
e2ac478cb7
Define more globals
2020-02-11 22:22:16 -05:00
toasted-nutbread
ab9d2b38e0
Remove redundant declaration
2020-02-11 22:22:16 -05:00
toasted-nutbread
4629fb3639
Change no-undef from off to error
2020-02-11 22:22:16 -05:00
siikamiika
91682dd633
add permission check to formRead
2020-02-09 21:51:33 +02:00
siikamiika
37a922adc0
fix settings page checkbox
2020-02-09 21:51:33 +02:00
siikamiika
939ad42dac
add global clipboard monitor that spawns popups
...
TODO: refactor the search page clipboard monitor and popup clipboard
monitor to use a common ClipboardMonitor class
2020-02-09 21:51:33 +02:00
toasted-nutbread
e8701cb950
Hide anki-invalid-response-error when there is no error
2020-02-02 14:53:32 -05:00
siikamiika
b8326138a3
add scannable tags for expression and reading
2020-02-02 13:57:30 +02:00
toasted-nutbread
d5c0155a82
Update main dictionary value when changing modifying profile
2020-02-01 21:00:43 -05:00
toasted-nutbread
8eaa0334ac
Remove option for dictionaries that aren't installed after changing values
2020-02-01 21:00:43 -05:00
toasted-nutbread
55047def9d
Separate the functionality of updateMainDictionarySelect
...
One function now updates the options, and another handles updating the value.
The options are no longer mutated due to updating this <select>'s available options.
2020-02-01 21:00:43 -05:00
toasted-nutbread
748cd27ad0
Remove argument from onDictionaryOptionsChanged
2020-02-01 21:00:43 -05:00
toasted-nutbread
566012f228
Use await
2020-02-01 21:00:43 -05:00
toasted-nutbread
2dbb24ea04
Improve error messages when Interface server is invalid
2020-01-26 21:01:19 -05:00
toasted-nutbread
1f3ff6fad0
Fix equals function on TextSourceRange when imposter elements are used
2020-01-26 10:31:17 -05:00
siikamiika
e70638e8ea
fix term spacing value display in settings
2020-01-26 00:56:52 +02:00
siikamiika
7357eaf07a
Merge pull request #330 from siikamiika/query-parser-helper-disabling
...
Query parser helper disabling
2020-01-25 03:29:55 +02:00
toasted-nutbread
67759b7aa3
Add convertHiraganaToKatakana option
2020-01-24 20:15:25 -05:00
toasted-nutbread
538d83c5a6
Reorganized variants to better reflect usage order
2020-01-24 20:15:25 -05:00
toasted-nutbread
4415a71ae2
Add translation options
2020-01-24 20:15:25 -05:00
siikamiika
fa4004437d
query parser: add toggle for term spacing
2020-01-25 02:57:57 +02:00
toasted-nutbread
5d366b722f
Add option for changing poup scale relative to visual viewport
2020-01-22 20:38:21 -05:00
toasted-nutbread
351598a182
Add settings to control popup content scale
2020-01-22 20:38:21 -05:00
toasted-nutbread
f725549330
Remove redundant window resize handler
2020-01-22 20:38:21 -05:00
toasted-nutbread
26ea278c29
Improve debug logging
2020-01-21 19:08:56 -05:00
toasted-nutbread
0d7ccf25b8
Update license info URL
2020-01-01 12:00:31 -05:00
toasted-nutbread
899ef167d1
Update copyright
2020-01-01 12:00:00 -05:00
toasted-nutbread
e2a4a46e60
Implement settings reset
2019-12-29 12:33:28 -05:00
toasted-nutbread
f17b55239e
Implement settings import
2019-12-29 12:33:28 -05:00
toasted-nutbread
5045a9a3a0
Implement settings export
2019-12-29 12:33:28 -05:00
toasted-nutbread
d2ae7364bb
Update anki-templates.js to control the value of fieldTemplates
...
Also assigns a value of null when using the default value
2019-12-29 12:33:03 -05:00
toasted-nutbread
3033fea31e
Treat null templates as the default value
2019-12-29 12:33:03 -05:00
toasted-nutbread
a2175f2c29
Move PopupProxyHost initialization
2019-12-21 13:27:32 -05:00
toasted-nutbread
7ae0584077
Update initialization
2019-12-21 13:19:31 -05:00
toasted-nutbread
8c236cca44
Remove unused yomichan_frontend
2019-12-20 23:20:22 -05:00
toasted-nutbread
2a95f1420f
Move optionsUpdate message handler into Yomichan class
2019-12-20 13:36:54 -05:00
toasted-nutbread
29734ea6e9
isVisible => isVisibleSync
2019-12-16 19:54:41 -05:00
toasted-nutbread
41fadfd0a9
Add setChildrenSupported to popup
2019-12-16 19:54:41 -05:00
toasted-nutbread
7140a19100
Remove unused property assignment
2019-12-16 19:54:41 -05:00
toasted-nutbread
db7e179626
Clear files after getting the value
2019-12-15 15:51:30 -05:00
toasted-nutbread
8c9416d70d
Move conditions-ui into settings folder
2019-12-14 12:08:07 -05:00
toasted-nutbread
87ece13647
Isolate arguments passed across window contexts
2019-12-14 11:12:39 -05:00
toasted-nutbread
b1f72905cf
Add functions for modifying mutable options
2019-12-13 23:11:56 -05:00
toasted-nutbread
17277a6450
Remove getOptionsArray
2019-12-13 23:11:56 -05:00
toasted-nutbread
4177b63726
Remove redundant getUrl handlers
2019-12-13 23:11:56 -05:00
toasted-nutbread
7837e9f0e3
Update popup preview frame message handlers
2019-12-13 23:11:56 -05:00
toasted-nutbread
f287d68624
Add showContentCompleted for improved semantic clarity
2019-12-11 21:31:21 -05:00
toasted-nutbread
99867ebdd8
Fix text source issue
2019-12-11 21:27:42 -05:00
toasted-nutbread
7446c99f98
Fix Text-to-speech voice dropdown being reset
2019-12-11 21:15:51 -05:00
toasted-nutbread
2dad7f888b
Update how errors are reported when importing a dictionary
2019-12-08 16:01:29 -05:00
siikamiika
b8fddd96c8
fix popup preview
...
resolves #302
2019-12-08 11:10:19 +02:00
toasted-nutbread
b862035fbc
Show info about whether a dictionary supports wildcard searches
2019-12-07 14:34:35 -05:00
toasted-nutbread
1a0a345ae7
Make reverse reading/expressions optional during database import
2019-12-07 14:34:35 -05:00
toasted-nutbread
b418760a52
Simplify audio settings UI
2019-12-05 22:36:59 -05:00
toasted-nutbread
774db569eb
Simplify ankiGetFieldMarkersHtml
2019-12-02 22:19:55 -05:00
toasted-nutbread
5339381c30
Update how anki data is updated
2019-12-02 22:17:45 -05:00
toasted-nutbread
f89806e05d
Simplify how anki errors are shown
2019-12-01 22:26:23 -05:00
toasted-nutbread
093fa3a437
Group public/private functions together
2019-12-01 22:21:10 -05:00
toasted-nutbread
4f7fa8474d
Mark functions as private
2019-12-01 22:19:45 -05:00