Eric Mc Sween
2401909919
Merge pull request #7381 from overleaf/em-revert-node-16
...
Revert part of the Node 16 upgrade
GitOrigin-RevId: 0b1f7c1af6d692510a206bb73dae605ae8095023
2022-04-05 12:20:57 +00:00
Eric Mc Sween
3235119302
Merge pull request #7228 from overleaf/em-node-16
...
Upgrade to Node 16
GitOrigin-RevId: 3db1ae57ffb02f8a2b9012ffbb3efecfc01d2b04
2022-04-05 12:20:52 +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
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
7f9fd00bda
Merge pull request #5367 from overleaf/jpa-node-handle-callback-err
...
[misc] fix eslint violations for node/handle-callback-err
GitOrigin-RevId: 83a4900e8861010df1917bff49382bd9c93375bd
2021-10-28 08:03:26 +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
Eric Mc Sween
11261a0cb9
Add global test setup
...
Configure SanboxedModule and chai in a central place. Configure
SandboxedModule globals that are needed in Node 12.
2021-03-19 16:04:30 -04: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
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
Miguel Serrano
803ed1607c
format:fix
2020-06-03 10:52:36 +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
Jakob Ackermann
94d564bce3
[misc] fix prettier-eslint errors
...
using prettier-eslint --write
2020-02-11 18:59:29 +01:00
Brian Gough
672d03eae6
formatting fixes
2019-10-03 09:41:16 +01:00
Brian Gough
c7a7887d67
remove decaff comments
2019-10-02 16:47:36 +01:00
Brian Gough
0e14ad50db
fix eslint check
2019-10-02 16:34:15 +01:00
Brian Gough
1f861a6772
fix regex and add AspellWorker unit tests
2019-10-02 16:29:18 +01:00
Brian Gough
d96ec9d7fd
add acceptance tests for utf8 responses
2019-09-27 11:58:35 +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
7105ee58d3
Cleanup decaffienation in LearnedWordsManagerTests
2019-07-22 12:14:30 +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
a28ecc0c39
Added acceptance tests for the spelling module ( #29 )
2019-07-09 20:12:30 +02:00
Miguel Serrano
0eba057cef
Initial decaffeination ( #24 )
2019-07-03 13:41:01 +01:00
Henry Oswald
b89db17ea6
reduce logging
2019-01-09 15:41:52 +00:00
Henry Oswald
8da92907b1
fix unit test
2017-11-02 11:24:01 +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
00358aa14b
Use more robust checking of error values
2017-06-22 10:09:30 +01:00
Shane Kilkelly
e19806cf8b
Mock out metrics in test
2017-06-22 09:24:08 +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
54af5fec96
Upgrade metrics
2017-03-16 16:35:51 +00:00
Henry Oswald
a427634cbb
lock down metrics and spelling
2015-09-17 10:42:36 +01:00
Brian
9a41def921
increase time allowed for exiting ASpellWorker test from 100ms to 1s
2015-05-20 20:42:49 +01:00
Brian Gough
6e0d72a3b1
timeout does not need async test here
2015-05-20 11:45:17 +01:00
Brian Gough
da7250c6f2
disable logger in tests
2015-05-20 11:44:54 +01:00
James Allen
f7e0f0c54b
Add comment about tests on OS X
2015-03-20 15:02:26 +00:00
Brian
31f6013172
increase delay for timeout in test
2015-03-11 15:38:19 +00:00
Brian
080f33335a
added stress test example
2015-03-11 15:37:18 +00:00
Brian Gough
c549d29d8e
test that Aspell is killed by timeout
2015-03-04 16:44:13 +00:00
Henry Oswald
5b0f69a50d
added cache to learn words manager
2015-03-03 14:28:47 +00:00
Henry Oswald
536e014600
remove js tests
2015-03-03 14:27:55 +00:00
Henry Oswald
35254be989
fix up the aspell tests
2015-03-03 14:25:54 +00:00
James Allen
5c002bc9b1
Use ShareLaTeX conventions
2014-08-15 12:25:54 +01:00