Commit graph

17912 commits

Author SHA1 Message Date
Jakob Ackermann
13b7cc8bcb Merge pull request #4117 from overleaf/ab-geoiplookup-fix
Fix regression in GeoIpLookup + add tests

GitOrigin-RevId: 4bf0ecac7b6e5aaed0f56b0f0455d76923c094e1
2021-06-02 02:05:36 +00:00
Brian Gough
fd6a0dcb1d Merge pull request #4120 from overleaf/jpa-captcha-other-domain
[misc] fetch re-captcha script from another domain: www.recaptcha.net

GitOrigin-RevId: b8871af07be75e4f6ea01e7b791e877944753763
2021-06-02 02:05:33 +00:00
CloudBuild
5bd973ddd2 auto update translation
GitOrigin-RevId: 83ec8d61614983f4036c84939fa0ab24b6620d8e
2021-06-02 02:05:30 +00:00
Jakob Ackermann
7380b54900 [ProjectPersistenceManager] check all user content dirs for full disk 2021-06-01 16:13:48 +01:00
Jakob Ackermann
1127bf640e [misc] wait for refreshing of expiry timeout before triggering cleanup 2021-06-01 15:51:09 +01:00
Jakob Ackermann
710035899a Merge pull request #4121 from overleaf/jpa-health-check-api
[misc] add /health_check/api

GitOrigin-RevId: bfa907821e8b5963a865a59fdbc717de34159834
2021-06-01 02:05:52 +00:00
Jakob Ackermann
051c9960f0 Merge pull request #4119 from overleaf/jpa-captcha-login
[misc] optionally require captcha on login

GitOrigin-RevId: ba0a30f361546dab31c79794cb406c629f46f2be
2021-06-01 02:05:49 +00:00
Jakob Ackermann
95c83866c5 Merge pull request #4112 from overleaf/tm-private-api-basic-auth
Add requireBasicAuth middleware and refactor httpAuth to use it

GitOrigin-RevId: 7f68c0dc4a40102bfe4a97711def517e465ec7fd
2021-06-01 02:05:46 +00:00
Jakob Ackermann
d6454a84bb Merge pull request #4104 from overleaf/jpa-pdf-object-caching
[misc] serviceWorker: back fill object context when sent by the backend

GitOrigin-RevId: 1bddbff9b2c996ec71f9c493e6896a22d1e27560
2021-06-01 02:05:43 +00:00
Jakob Ackermann
12eb7b38a2 Merge pull request #4096 from overleaf/msm-online-user-widget-test
OnlineUsersWidget and ToolbarHeader unit tests

GitOrigin-RevId: 5a8dfe94d54590b108a2caaa938f6e01ef844b67
2021-06-01 02:05:40 +00:00
Jakob Ackermann
6140b53493 Merge pull request #4081 from overleaf/msm-symbol-toggle-styling
Added 'active' styling to Symbol Palette toggle button

GitOrigin-RevId: a1a51e42a08cd3627d0bc4610e6895e111d951f9
2021-06-01 02:05:37 +00:00
Jakob Ackermann
7338560899 Merge pull request #4106 from overleaf/ta-sync-user-entitlement-lean
Reduce Memory Footprint of Sync User Entitlements Script

GitOrigin-RevId: 673ea76f8af9e5be6ff99b8e340414a434c203f4
2021-06-01 02:05:34 +00:00
Jakob Ackermann
b4d80de408 Merge pull request #4111 from overleaf/jpa-fix-re-compile-react
[frontend] fix re-compile button in react sending an event as options

GitOrigin-RevId: 69dcebc3c74c89189f18715d5adf0e6329eb1ef6
2021-06-01 02:05:30 +00:00
Jakob Ackermann
1c2314a854 Merge pull request #4095 from overleaf/msm-fix-react-navbar-history-toggle
Fix history mode not being restored with React Nav Toolbar

GitOrigin-RevId: 0022153b24db015c6122f45ad7965830e0033540
2021-06-01 02:05:27 +00:00
Jakob Ackermann
294088fb27 [ContentCacheManager] use PDF.js Xref table instead of stream detection (#242)
* make the content cache manager tests configurable

* extend stream content in unit tests

* [ContentCacheManagerTests] prepare for full object caching

* filesystem stream for pdfjs

* working??

* cleaning up

* handle overflow

* [misc] install pdfjs-dist

* [misc] move pdfjs code into app/lib/ and scripts/, also use CamelCase

* [misc] abstract the file loading and parsing of xRef tables into helper

* [misc] pdfjsTests: add snapshot based tests for the Xref table parser

* [misc] FSStream: throw proper error and drop commented code

* [misc] FSStream: integrate throwing of MissingDataException into getter

* [misc] pdfjs: fix eslint errors

* [misc] pdfjs: run format_fix

* [misc] pdfjs: allocate very small non empty dummy buffers explicitly

* [misc] install @overleaf/o-error

* [ContentCacheManager] use PDF.js Xref table instead of stream detection

Co-Authored-By: Brian Gough <brian.gough@overleaf.com>

* [pdfjs] parseXrefTable: handle empty PDF files gracefully

Co-authored-by: Brian Gough <brian.gough@overleaf.com>
2021-05-31 09:20:25 +01:00
Jakob Ackermann
d657007291 Merge pull request #241 from overleaf/jpa-wait-for-tests
[misc] AllowedImageNamesTests: add missing done callbacks
2021-05-31 10:20:07 +02:00
Alf Eaton
cc6629693e Merge pull request #4114 from overleaf/ae-fix-share-modal-test
Fix share modal test by ensuring that scoped value is used

GitOrigin-RevId: 618dd15bf1b21403cc9a64d3174707ee713bda86
2021-05-30 02:08:54 +00:00
CloudBuild
9e56924580 auto update translation
GitOrigin-RevId: e873399938283f138588ad92766a3a6ef7aef5c7
2021-05-30 02:08:50 +00:00
Alf Eaton
d54424bd52 Merge pull request #177 from overleaf/ae-decaffeinate-config
Decaffeinate scripts
2021-05-28 12:25:44 +01:00
Alf Eaton
b6f10d8780 Merge pull request #149 from overleaf/ae-decaffeinate-config
Decaffeinate settings
2021-05-28 11:40:35 +01:00
Alf Eaton
5ef647742a Merge pull request #67 from overleaf/ae-remove-populate
Delete prepopulate.coffee
2021-05-28 10:47:55 +01:00
Alf Eaton
2764b9c606 Merge pull request #112 from overleaf/dependabot-npm_and_yarn-hosted-git-info-2.8.9
build(deps): bump hosted-git-info from 2.8.5 to 2.8.9
2021-05-28 10:25:11 +01:00
Alf Eaton
3aeaafaee4 Merge pull request #111 from overleaf/dependabot-npm_and_yarn-lodash-4.17.21
build(deps): bump lodash from 4.17.20 to 4.17.21
2021-05-28 10:25:01 +01:00
Alf Eaton
4f57b6ee37 Merge pull request #110 from overleaf/dependabot-npm_and_yarn-underscore-1.13.1
build(deps): bump underscore from 1.9.2 to 1.13.1
2021-05-28 10:24:30 +01:00
Alf Eaton
93b4bc8a4a Merge pull request #108 from overleaf/jpa-explicit-dependencies
[misc] add linting for missing explicit dependencies and fix any errors
2021-05-28 10:24:14 +01:00
Alf Eaton
0ea35ab52b Merge pull request #107 from overleaf/dependabot-npm_and_yarn-y18n-4.0.1
build(deps): bump y18n from 4.0.0 to 4.0.1
2021-05-28 10:23:30 +01:00
Alf Eaton
93b87d5a00 Merge pull request #114 from overleaf/ae-remove-coffee
Delete CoffeeScript scripts
2021-05-28 10:23:16 +01:00
Alf Eaton
955c9162c0 Rename to @overleaf/settings 2021-05-28 09:15:24 +01:00
Jessica Lawshe
ed889a078c Merge pull request #4064 from overleaf/jel-tidy-algolia
Tidy Algolia usage

GitOrigin-RevId: 8d33da3d9f2bb9f0df90e5f9273fba591c6b8eec
2021-05-28 02:08:54 +00:00
Jessica Lawshe
1b63923f8c Merge pull request #4075 from overleaf/jel-decaf-cleanup-algoliasearch
Decaf cleanup frontend using Algolia search

GitOrigin-RevId: bfe2ccde66c28569ea8d5d63fca9e2081aac3519
2021-05-28 02:08:50 +00:00
Jakob Ackermann
f5942f1a7b Merge pull request #4098 from overleaf/msm-fix-application-provider-required-user
Fixed `isRequired` usages for `ApplicationProvider.value.user`

GitOrigin-RevId: 0f3db77fa5da1cb0aec29ef112d1044173df88e0
2021-05-28 02:08:46 +00:00
Jakob Ackermann
614734c3e1 Merge pull request #4100 from overleaf/ab-sub-page-click-event
Add event on subscription page upgrade button click

GitOrigin-RevId: 964eb6ad2d6ee7eceb3aac54501a61601d4948ac
2021-05-28 02:08:41 +00:00
Jakob Ackermann
8e9776fe3d Merge pull request #4103 from overleaf/jpa-add-missing-stub
[FileSystemImportManagerTests] add missing stub for the settings module

GitOrigin-RevId: f0a0da3f08e0d4bc323af420767bafa7a9159bda
2021-05-28 02:08:37 +00:00
Jakob Ackermann
52961250aa Merge pull request #4102 from overleaf/jpa-fix-pdf-caching-feature-flags
[ProjectController] fix pdf caching feature flags and add tests

GitOrigin-RevId: bab312f20dd98414aab92931dd6a1ec85e4bafd2
2021-05-28 02:08:33 +00:00
CloudBuild
687d87b2dd auto update translation
GitOrigin-RevId: effc81ac1da5f64de405854739ce857ab79dda6c
2021-05-28 02:08:29 +00:00
nate stemen
cee6c0aad9 Merge pull request #105 from overleaf/dependabot-npm_and_yarn-underscore-1.13.1
Bump underscore from 1.10.2 to 1.13.1
2021-05-27 11:53:50 -04:00
nate stemen
081201f796 Merge pull request #103 from overleaf/jpa-retry-archive-deletion
[DocArchiveManager] retry the deletion of doc archives three times
2021-05-27 11:45:53 -04:00
nate stemen
3bbc9156cd Merge pull request #108 from overleaf/ae-decaffeinate-config
Finish decaffeinating settings.default.js
2021-05-27 11:45:13 -04:00
nate stemen
64e201283b Merge pull request #107 from overleaf/dependabot-npm_and_yarn-hosted-git-info-2.8.9
Bump hosted-git-info from 2.8.5 to 2.8.9
2021-05-27 11:45:00 -04:00
nate stemen
fcf0e026c3 Merge pull request #106 from overleaf/dependabot-npm_and_yarn-lodash-4.17.21
Bump lodash from 4.17.19 to 4.17.21
2021-05-27 11:44:52 -04:00
dependabot[bot]
91c19e1f88 Bump underscore from 1.10.2 to 1.13.1
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.10.2 to 1.13.1.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.10.2...1.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 15:43:37 +00:00
nate stemen
d0d9cec7e2 Merge pull request #102 from overleaf/jpa-explicit-dependencies
[misc] add linting for missing explicit dependencies and fix any errors
2021-05-27 11:43:04 -04:00
nate stemen
20f70b120a Merge pull request #97 from overleaf/dependabot-npm_and_yarn-y18n-4.0.1
Bump y18n from 4.0.0 to 4.0.1
2021-05-27 11:42:43 -04:00
Alexandre Bourdin
a65c5dde01 Merge pull request #4068 from overleaf/ab-split-test-user-properties
Store assigned split tests as user properties

GitOrigin-RevId: 1cc09d4d8f19badb73e87c46064bdeac131dd307
2021-05-27 02:06:10 +00:00
Alexandre Bourdin
551e2bfb5c Merge pull request #4084 from overleaf/ab-subscription-flow-events
Subscription flow analytics events

GitOrigin-RevId: c74121031ba8623244657c607a76a513380e96f5
2021-05-27 02:06:07 +00:00
Alexandre Bourdin
18d62dcee9 Merge pull request #4071 from overleaf/ab-subscription-decaf-cleanup
Subscription controller decaf cleanup

GitOrigin-RevId: 79b8adfabe30e4557a95b1aad71a5162e6f42cce
2021-05-27 02:06:03 +00:00
Jakob Ackermann
b93761f275 Merge pull request #4094 from overleaf/jpa-tag-pdf-caching-traffic
[frontend] PdfController: tag traffic that uses the pdf caching logic

GitOrigin-RevId: ab0d847ff1fe31131428c782ce95b3a5b3dff4fd
2021-05-27 02:05:59 +00:00
Jakob Ackermann
687cd091f6 Merge pull request #4090 from overleaf/ae-dropbox-beta
Enable React Dropbox modal for beta users

GitOrigin-RevId: dc7a0b43ad1ab9a35fdb7fd70bf3b2c5d60efb94
2021-05-27 02:05:55 +00:00
Jakob Ackermann
2f08406109 Merge pull request #4093 from overleaf/jpa-pdf-js-chunked-transfer-threshold
[misc] serviceWorker: tweak detection of PDF.js chunked transfer probe

GitOrigin-RevId: ed55618939e94b24e5a732ac90f31bd99508ec3c
2021-05-27 02:05:52 +00:00
Alf Eaton
f716134b53 Delete CoffeeScript scripts 2021-05-26 15:56:08 +01:00