Commit graph

22485 commits

Author SHA1 Message Date
decaffeinate
b667b9ad1c decaffeinate: Run post-processing cleanups on HealthCheckController.coffee and 2 other files 2020-01-13 20:04:03 +01:00
decaffeinate
ddccb85dda decaffeinate: Convert HealthCheckController.coffee and 2 other files to JS 2020-01-13 20:04:03 +01:00
decaffeinate
27afdd47cd decaffeinate: Rename HealthCheckController.coffee and 2 other files from .coffee to .js 2020-01-13 20:04:03 +01:00
Tim Alby
8ba667fd20 decaffeinate: add eslint and prettier packages 2020-01-13 20:04:02 +01:00
Tim Alby
f82f4cac46 decaffeinate: update .gitignore 2020-01-13 20:04:02 +01:00
Tim Alby
d2ed80a1fb decaffeinate: update build scripts to es 2020-01-13 20:04:02 +01:00
Tim Alby
ce80f99487 update build scripts to 1.3.1
This also completes the Node version update.
2020-01-13 19:20:38 +01:00
Brian Gough
a638ef4251 add comment about locking in redis migration 2020-01-13 15:56:28 +00:00
Timothée Alby
1af8f0358b Merge pull request #2501 from overleaf/as-unvendor-algoliasearch
Unvendor Algolia search client

GitOrigin-RevId: ad0ea56c66a516bd8a26a76d454cbc8d0594a03f
2020-01-11 04:15:10 +00:00
Simon Detheridge
9615a06e0f Improve logging middleware to add info methods to request object 2020-01-10 17:22:06 +00:00
Simon Detheridge
f40fbe77aa Simplify logging to log only once per http request 2020-01-10 15:41:36 +00:00
Chrystal Maria Griffiths
4c72278257 Merge pull request #2503 from overleaf/revert-2499-revert-2496-cmg-clear-leaving-archived
Revert "Revert "Clear archived/trashed status when leaving a project""

GitOrigin-RevId: cca06b37414b6bdb9175b9fbb3dd032962ab56e5
2020-01-10 04:15:24 +00:00
Miguel Serrano
103941eab3 Updated location of synctex path in docker-compose.yml (#680) 2020-01-09 15:56:19 +01:00
Miguel Serrano
4a424096f2 Added environment variables for web-api user/pass (#131) 2020-01-09 15:55:57 +01:00
Simon Detheridge
c85d211735 Merge pull request #76 from overleaf/spd-general-errors
Handle AccessDenied and stream-premature-close errors
2020-01-09 14:47:46 +00:00
Simon Detheridge
e331a3130c Handle AccessDenied and stream-premature-close errors
These errors tend to occur as part of normal operation and should not generate `logger.err` messages
2020-01-09 14:15:01 +00:00
Simon Detheridge
25f8242d6f Merge pull request #60 from overleaf/spd-integration-node10-decaf
Upgrade to Node 10 and decaffeinate
2020-01-09 11:43:30 +00:00
Shane Kilkelly
2826832c5e Merge pull request #2502 from overleaf/sk-fix-mongoose-push-all
Tell mongoose to set `usePushEach` on all models

GitOrigin-RevId: faea6653f272f74ea7274596bdc934ef93638d76
2020-01-09 04:14:22 +00:00
Simon Detheridge
d8470d4a59 Use correct object path for s3BucketCreds 2020-01-08 11:32:05 +00:00
Simon Detheridge
9d52c521c4 Merge pull request #74 from overleaf/spd-decaf-cleanup-11
Restore bucket-specific settings and clean up related endpoint
2020-01-08 09:29:41 +00:00
Simon Detheridge
3bf51cac67 Improve naming on internal '_client' method and use Map over object 2020-01-08 09:17:30 +00:00
Miguel Serrano
9878a1321f Add environment variable to disable email confirmation banner (#676) 2020-01-08 10:03:59 +01:00
Jessica Lawshe
358ab03e32 Merge pull request #2499 from overleaf/revert-2496-cmg-clear-leaving-archived
Revert "Clear archived/trashed status when leaving a project"

GitOrigin-RevId: b6a72b59b95b6783ed19d3dd7e41ac6ce1064a76
2020-01-08 04:18:28 +00:00
Jessica Lawshe
e4cc1b1403 Merge pull request #2496 from overleaf/cmg-clear-leaving-archived
Clear archived/trashed status when leaving a project

GitOrigin-RevId: ca7026bb7848fd7b17c13856bc65b28e577a8236
2020-01-08 04:18:24 +00:00
Jessica Lawshe
f2943054fb Merge pull request #2491 from overleaf/as-unvendor-moment
Unvendor moment from the frontend

GitOrigin-RevId: 19ffc42a2d3e6eecfbec42575a0472f992c8abda
2020-01-08 04:18:19 +00:00
Jessica Lawshe
1a1a387301 Merge pull request #2485 from overleaf/jel-add-saml-feature-check
Add SAML feature check back to portals and user settings

GitOrigin-RevId: 758b6debdfab057078f53827bc49f19aa4eada59
2020-01-08 04:18:14 +00:00
Timothée Alby
987f181121 Merge pull request #2494 from overleaf/as-remove-unused-platform-dep
Remove unused platform dependency

GitOrigin-RevId: 50df832eb4875e505503f29b37ef962add21e894
2020-01-08 04:18:10 +00:00
Timothée Alby
195dca5600 Merge pull request #2492 from overleaf/as-remove-unused-typeahead-dep
Remove unused typeahead vendored dependency

GitOrigin-RevId: 9552fc2a2ac29fdb3752c2f24ed1ff09bf17320f
2020-01-08 04:18:05 +00:00
Timothée Alby
b185e60749 Merge pull request #2483 from overleaf/as-switch-frontend-to-lodash
Switch frontend from underscore to lodash

GitOrigin-RevId: 7fbc72d2ead6a14ff04f085f01fff5a3dddb77f0
2020-01-08 04:18:01 +00:00
Timothée Alby
b1db115427 Merge pull request #2467 from overleaf/jel-settings-add-email
Reset new email affiliation when no affiliation

GitOrigin-RevId: 0d18552ed0ad738d549e59004fe831110512e222
2020-01-08 04:17:57 +00:00
Timothée Alby
bf05d23793 Merge pull request #2493 from overleaf/ta-system-messages-refresh
Refresh System Messages at Regular Interval

GitOrigin-RevId: 39728c89ca61905a2166a90b083834e6b2c61316
2020-01-08 04:17:53 +00:00
Timothée Alby
850d5f957c Merge pull request #2480 from overleaf/ta-refresh-features-script-improve
Refresh Features Script Improvements

GitOrigin-RevId: 1cd0fc3b689cf85760d9a22804bf9cab19e22409
2020-01-08 04:17:47 +00:00
Simon Detheridge
384896d70c Merge pull request #73 from overleaf/spd-decaf-cleanup-10
Cleanup and refactor S3PersistorManager to use aws-sdk only
2020-01-07 15:49:06 +00:00
Simon Detheridge
90ab85d2b3 Merge pull request #72 from overleaf/spd-decaf-cleanup-9
Post-decaf cleanup of app.js
2020-01-07 15:48:34 +00:00
Simon Detheridge
0c6fedb9dd Merge pull request #71 from overleaf/spd-decaf-cleanup-8
Post-decaf cleanup of PersistorManager and KeyBuilderTests
2020-01-07 15:47:50 +00:00
Simon Detheridge
70dc58db32 Merge pull request #70 from overleaf/spd-decaf-cleanup-7
Decaf cleanup of FileController
2020-01-07 15:47:20 +00:00
Simon Detheridge
6d8da1ade2 Merge pull request #69 from overleaf/spd-decaf-cleanup-6
Decaf cleanup and promisification for FSPersistorManager
2020-01-07 15:46:51 +00:00
Simon Detheridge
a65ea5d034 Merge pull request #68 from overleaf/spd-decaf-cleanup-5
Cleanup and promisify acceptance tests. Run tests for all backends.
2020-01-07 15:46:03 +00:00
Simon Detheridge
7781da15a7 Merge pull request #67 from overleaf/spd-decaf-cleanup-4
Decaf and promisify ImageOptimiser
2020-01-07 15:45:15 +00:00
Simon Detheridge
cca5b66313 Merge pull request #66 from overleaf/spd-decaf-cleanup-3
Clean up and promisify health-check controller and KeyBuilder
2020-01-07 15:44:23 +00:00
Simon Detheridge
110aad166a Merge pull request #65 from overleaf/spd-decaf-cleanup-2
Cleanup and promisify FileConverter
2020-01-07 15:43:51 +00:00
Simon Detheridge
66fe01e392 Merge pull request #64 from overleaf/spd-decaf-cleanup-1c
Decaf cleanup for FileHandler and LocalFileWriter
2020-01-07 15:42:51 +00:00
Simon Detheridge
9b64aadcfc Merge pull request #62 from overleaf/spd-decaf-cleanup-1a
Decaf cleanup of SafeExec
2020-01-07 15:41:42 +00:00
Simon Detheridge
80d41cf51b Move bucket-specific file endpoint into FileController 2020-01-07 15:05:51 +00:00
Simon Detheridge
6cc5d94f13 Re-add bucket-specific credentials support for S3 2020-01-07 10:55:00 +00:00
Simon Detheridge
2bb2caf7b3 Clean up settings tests 2020-01-07 09:46:53 +00:00
Simon Detheridge
ffd002dc76 Add explanatory comment 2020-01-07 09:30:30 +00:00
Simon Detheridge
b642b3cf3a Rename incorrectly-named 'getDirectorySize' method 2020-01-07 09:30:30 +00:00
Simon Detheridge
a6d9d34fe3 Configure PersistorManager to use the new S3 manager for 'aws-sdk' 2020-01-07 09:30:30 +00:00
Simon Detheridge
2ca74fdf15 Cleanup and refactor S3PersistorManager to use aws-sdk only 2020-01-07 09:30:30 +00:00