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
James Allen
421647ff63
Initial open source commit
2014-08-15 12:13:35 +01:00