Jakob Ackermann
480148bf1c
Merge pull request #12993 from overleaf/jpa-configurable-request-threshold
...
[spelling] make ASpellWorkerPool.MAX_REQUESTS configurable via env var
GitOrigin-RevId: babedafb16b05f53ba0fefc73250bcf623ec4f89
2023-05-09 08:04:52 +00:00
Eric Mc Sween
f6c1e2738d
Merge pull request #10938 from overleaf/em-esm-spelling
...
Migrate spelling to ES modules
GitOrigin-RevId: 4a200c8d1c28be44027cc8a3097e42575ab6593f
2022-12-21 09:03:55 +00:00
Eric Mc Sween
bcf20abbc2
Merge pull request #10912 from overleaf/em-remove-mongo-from-spelling
...
Remove mongo dependency from spelling
GitOrigin-RevId: 1fff65610b7c64537697574ef35d9a7c9f295089
2022-12-16 09:03:03 +00:00
Eric Mc Sween
e0d91eaa26
Merge pull request #7906 from overleaf/em-downgrade-logs
...
Downgrade all INFO logs to DEBUG
GitOrigin-RevId: 05ed582ef0721fcada059f0ad158565f50feca27
2022-05-17 08:05:26 +00:00
Jakob Ackermann
2465a32451
Merge pull request #6234 from overleaf/jpa-web-owns-spelling-preferences
...
[misc] move ownership of spellingPreferences collection to web
GitOrigin-RevId: f2584a1119a578c3df15371c6798923a4f2d15ae
2022-01-07 09:03:11 +00:00
Jakob Ackermann
17eb841b31
Merge pull request #6151 from overleaf/jpa-jel-ta-spelling-client-cache
...
[misc] filter out saved words from users dict client side
GitOrigin-RevId: 01b496c60d25954c8e65a71c06fd90a6c428a698
2022-01-05 09:02:59 +00:00
Eric Mc Sween
f7275a6c4b
Merge pull request #6079 from overleaf/em-upgrade-logger
...
Upgrade logger and metrics in all services
GitOrigin-RevId: 2baf63eeeab77fb3559cf763ddacfbf4b745cd0b
2021-12-15 09:04:25 +00:00
Jakob Ackermann
638fbd5510
Merge pull request #5573 from overleaf/jpa-prefer-regex-literals
...
[misc] fix eslint violations for prefer-regex-literals
GitOrigin-RevId: 216288af22b9eeb18cddace7ec285e0a8046f94a
2021-10-28 08:03:41 +00:00
Jakob Ackermann
a6f05109a3
Merge pull request #5352 from overleaf/jpa-no-var
...
[misc] fix eslint violations for `no-var`
GitOrigin-RevId: c52e82f3a8a993b8662cc5aa56e7b95ca3c55832
2021-10-27 08:03:00 +00:00
Jakob Ackermann
58eafb1583
[misc] run format_fix and lint:fix
2021-07-13 12:04:47 +01:00
Jakob Ackermann
053a0f6333
[misc] switch from settings-sharelatex to @overleaf/settings
2021-07-12 17:47:20 +01:00
Jakob Ackermann
944a243753
[AspellWorker] sanitize user input before writing it to the worker pipe
2021-05-03 11:57:48 +01:00
Jakob Ackermann
9afdb32689
[misc] bump metrics module to 3.4.1
...
- renamed package from `metrics-sharelatex` to `@overleaf/metrics`
- drop support for statsd backend
- decaffeinate
- compress `/metrics` response using gzip
- bump debugging agents to latest versions
- expose prometheus interfaces for custom metrics (custom tags)
- cleanup of open sockets metrics
- fix deprecation warnings for header access
2020-11-25 11:57:24 +00:00
Jakob Ackermann
033af5091f
[SpellingAPIManager] get the list of ignored misspellings from settings
...
The settings will allow overrides via the environment variable
`IGNORED_MISSPELLINGS`.
2020-10-08 09:36:47 +01:00
Jakob Ackermann
baaf376128
[misc] mongodb: use the new db connector by default
...
mongojs was enabling it by default as well.
2020-09-10 10:57:29 +01:00
Jakob Ackermann
cb4a7516ac
[misc] migrate the app to the native mongo driver, drop mongojs
2020-09-07 12:21:48 +01:00
Jakob Ackermann
c722a79e93
[misc] bump the dev-env to 3.3.2
2020-08-10 17:23:15 +01:00
Jakob Ackermann
5cfd92cf85
[ASpell] error handling of cache dump: fix an async fs function call
...
fs.unlink requires a callback as second parameter.
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
2020-07-03 11:13:01 +01:00
Miguel Serrano
1662622c23
Updated OError code to v3
2020-06-03 11:14:44 +02:00
Miguel Serrano
b91e59e8a7
fixed linting
2020-06-03 11:00:35 +02:00
Miguel Serrano
803ed1607c
format:fix
2020-06-03 10:52:36 +02:00
mserranom
caa28a0ff0
updated minor, patch dependencies and lru-cache. Fixed constructor in lru-cache
2020-03-30 12:49:56 +02:00
Tim Alby
72d16c7c1f
filter out duplicates learned words
2020-02-18 10:58:03 -05:00
Tim Alby
1d405914fd
don't learn the same word twice
2020-02-18 09:22:50 -05:00
Jakob Ackermann
90d12cc602
[test/unit] misc: cleanup a pending interval
2020-02-11 19:01:11 +01:00
Brian Gough
1f861a6772
fix regex and add AspellWorker unit tests
2019-10-02 16:29:18 +01:00
Brian Gough
b0e0eeff3c
look for end marker across chunk boundaries
2019-09-27 11:57:45 +01:00
Brian Gough
f273a27b95
use utf8 encoding for stdout from aspell
2019-09-27 11:28:03 +01:00
Simon Detheridge
00d09fd6f5
Return 204 instead of 200 when [un]learning words
...
Also remove unnecessary calls to `next()`
2019-07-22 12:15:07 +01:00
Simon Detheridge
e7ab9f79a9
Add endpoint to remove learned words
2019-07-20 14:04:08 +01:00
Miguel Serrano
134ff0b29d
Removed concurrent aspell works within the same request ( #32 )
2019-07-16 08:51:15 +02:00
Miguel Serrano
74c9a3c095
updated API Manager to call aspell in batches ( #30 )
2019-07-11 12:29:00 +02:00
Miguel Serrano
ba642b9807
fixed renaming missing callback ( #28 )
2019-07-05 10:30:43 +01:00
Miguel Serrano
46d0cf9c4b
increased logging info ( #27 )
2019-07-04 15:17:14 +01:00
Miguel Serrano
6ca60b8724
improved error handling and increased timeout ( #26 )
2019-07-04 11:55:16 +01:00
Miguel Serrano
0eba057cef
Initial decaffeination ( #24 )
2019-07-03 13:41:01 +01:00
Henry Oswald
f94deb2cf2
improve metrics of aspool
2019-01-14 10:35:32 +00:00
Henry Oswald
186f321391
change metrics a bit for promethious
2019-01-14 10:18:12 +00:00
Henry Oswald
5eaf4c8551
increase mongo cache size
2019-01-14 10:10:32 +00:00
Henry Oswald
74ceea14dd
set lru cache to 10 hours
2019-01-13 21:43:12 +00:00
Henry Oswald
b89db17ea6
reduce logging
2019-01-09 15:41:52 +00:00
Henry Oswald
a4eda59189
add getDic
2019-01-02 15:23:40 +00:00
Henry Oswald
31d62c3359
added delete dic endpoint
2017-10-30 16:57:34 +00:00
Shane Kilkelly
a03bfbc020
Use post-filtering for whitelist, like learnedWords
2017-06-23 10:00:47 +01:00
Shane Kilkelly
407283ee3c
Fix a daft mistake, blank out whitelisted words, rather than remove
...
This had caused an issue whereby spelling-mistakes would be highlighted
on the wrong word in the client. This was a function of how many whitelisted
words had already occured in the sequence. An off-by-n error.
2017-06-23 09:14:39 +01:00
Shane Kilkelly
7842bcd24f
Add a whitelist of words which should not be spellchecked
2017-06-22 09:23:47 +01:00
Shane Kilkelly
31128a2580
update to new api
2017-03-17 15:19:25 +00:00
Shane Kilkelly
54af5fec96
Upgrade metrics
2017-03-16 16:35:51 +00:00
Henry Oswald
33df3346f8
Merge branch 'master' of https://github.com/sharelatex/spelling-sharelatex
2016-12-13 09:14:31 +00:00
Henry Oswald
a695fd33b2
write cache into cache dir
2016-12-13 09:14:09 +00:00