Commit graph

33 commits

Author SHA1 Message Date
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