Commit graph

17723 commits

Author SHA1 Message Date
Jakob Ackermann
4489a080fd Merge pull request #186 from overleaf/jpa-import-132
[LocalCommandRunner] run: block a double call of the callback
2020-07-15 10:57:46 +02:00
Jakob Ackermann
8277623ecc Merge pull request #185 from overleaf/jpa-import-123
[ExampleDocumentTests] drop out in case of an error during compilation
2020-07-15 10:57:34 +02:00
Alasdair Smith
2556fded1e Merge pull request #2998 from overleaf/as-beta-page-updates
Update beta program page to include feedback survey link

GitOrigin-RevId: 549cd2be01b8f64d952d0347c8c102d0d2efae24
2020-07-15 02:06:35 +00:00
Hugh O'Brien
d4d6e2c45d Merge pull request #3002 from overleaf/hb-parse-bst-errors
Adds parser for bst file bibtex errors

GitOrigin-RevId: 6481b0ca7cf6ab4522827ed5c6161b84472ccc19
2020-07-15 02:06:30 +00:00
Hugh O'Brien
ad7af82c53 Merge pull request #3001 from overleaf/hb-fix-typo-email
Fix a typo in onboarding email

GitOrigin-RevId: 83ea41346d900ce678df02a02535050ae03a750a
2020-07-15 02:06:24 +00:00
Hugh O'Brien
0a0e649518 Merge pull request #2986 from overleaf/jpa-silence-react
[misc] silence react messages in the dev-tools console

GitOrigin-RevId: 7ef4d783d0db55fb3fec6d15b9c76191cd49dd6c
2020-07-14 02:06:57 +00:00
Hugh O'Brien
ff2ee573bb Merge pull request #2993 from overleaf/jpa-drop-private-api-usage
[misc] launchpad: refactor private api usage of AuthenticationController

GitOrigin-RevId: 74585bcf7bf7483ae19af7b341e1173293d667fe
2020-07-14 02:06:52 +00:00
Hugh O'Brien
eaa7491c2b Merge pull request #2948 from overleaf/hb-onboarding-email
User onboarding email

GitOrigin-RevId: 367fd8b6292024bfcad2139728c16cf00f2fb1cb
2020-07-14 02:06:47 +00:00
Hugh O'Brien
d9d8f9a531 Merge pull request #2956 from overleaf/as-c8
Add frontend test coverage command

GitOrigin-RevId: ae4e760e343807ebdc94292d21434d4154694f0c
2020-07-14 02:06:41 +00:00
Jakob Ackermann
cafe9387f8 Merge pull request #2996 from overleaf/jpa-rate-limit-project-download
[misc] rate limit the download of project revisions to 30 per user/hour

GitOrigin-RevId: 81244a0dad1cf183da69406ef488f6684d5f134a
2020-07-11 02:04:45 +00:00
Miguel Serrano
ce3ca981a8 Merge pull request #2980 from overleaf/ta-outline-no-reopen
Don't Always Expand File Outline After Switching Files

GitOrigin-RevId: 639887686082e2868561c3e7300d42a73dd34f5a
2020-07-11 02:04:40 +00:00
Miguel Serrano
b573374d0e Merge pull request #2950 from overleaf/as-jsdom-tests
JSDOM tests

GitOrigin-RevId: d9e39c61fb2028c5b5577488d74720ef2985eebc
2020-07-11 02:04:35 +00:00
Miguel Serrano
8023e48efd Merge pull request #2974 from overleaf/jel-ns-user-projections-beta
Remove user projections in BetaProgramHandler

GitOrigin-RevId: 88b7bc3b6f11ae9f8314543ee538c84d25cde7cd
2020-07-11 02:04:30 +00:00
Miguel Serrano
1cac5227d6 Merge pull request #2958 from overleaf/jel-optimize-zotero
Add Optimize variant on Zotero paywall prompt

GitOrigin-RevId: 005cf27d40a367e4617c399023204dacb80af8de
2020-07-11 02:04:26 +00:00
Miguel Serrano
d8d3ac82e9 Replace HTTPErrors.ForbiddenError with calls to forbidden() handler (#2972)
GitOrigin-RevId: 2a0c8fdaef9ba62b97cebad84603e6f076d770c0
2020-07-11 02:04:21 +00:00
Brian Gough
49784e8ac0 Merge pull request #2990 from overleaf/bg-add-health-check-on-active-handles
add health check limit on active handles (optional)

GitOrigin-RevId: c26071c96b220935178012d881bb53013df64155
2020-07-11 02:04:15 +00:00
Eric Mc Sween
6521837993 Add S3 options: httpOptions, maxRetries 2020-07-09 17:50:05 -04:00
Eric Mc Sween
82ec8d21a4 Merge pull request #5 from overleaf/em-s3-signed-url
Implement getRedirectUrl() for the S3 backend
2020-07-09 11:04:31 -04:00
Eric Mc Sween
3e7e4369af Implement getRedirectUrl() for the S3 backend 2020-07-08 17:13:20 -04:00
Jakob Ackermann
ca4168ce90 [misc] use overleaf/socket.io and overleaf/socket.io-client forks 2020-07-08 15:07:19 +01:00
Eric Mc Sween
7abea41166 Merge pull request #4 from overleaf/em-metadata
Support metadata when uploading objects
2020-07-08 09:27:25 -04:00
Eric Mc Sween
523ff9c4cd Support metadata when uploading objects
Add contentType and contentEncoding options to sendStream(). These
options will set the corresponding metadata on the object.

This changes the API. The fourth argument to sendStream() used to be the
source md5. Now, it's an options object and the source md5 is a property
of that object.
2020-07-08 08:13:53 -04:00
Jakob Ackermann
f4b9f2d2ca Merge pull request #760 from overleaf/jpa-post-decaff
[bin/compile-services] all services are decaffeinated now
2020-07-08 13:17:03 +02:00
Jakob Ackermann
2766993c65 [bin/compile-services] all services are decaffeinated now 2020-07-08 11:18:47 +01:00
Simon Detheridge
dc0967b01b Merge pull request #124 from overleaf/spd-persistor-config
Move config settings to correct place for new persistor module
2020-07-08 11:16:15 +01:00
Simon Detheridge
14834abf83 Move config settings to correct place for new persistor module 2020-07-08 10:32:41 +01:00
Jakob Ackermann
398d2deb07 Merge pull request #2977 from overleaf/jpa-import-697
[ProjectController] fix the sorting of project entities for node v11+

GitOrigin-RevId: d4458aeaf83f610e36669050e664c902dbcce36e
2020-07-08 02:04:28 +00:00
Jakob Ackermann
ae068781ca Merge pull request #2978 from overleaf/jpa-expose-hostname
[misc] optionally expose the hostname in the X-Served-By response header

GitOrigin-RevId: f3ac14aeb75cef8c9ed1d8cb1d649dd7f909b99b
2020-07-08 02:04:24 +00:00
Jakob Ackermann
f0f29e2f17 Merge pull request #2976 from overleaf/jpa-import-671
[misc] Add a copy the the GNU Affero General Public License v3.0

GitOrigin-RevId: e3e0f207275b1740b0edc3684822201bf9be51bc
2020-07-08 02:04:19 +00:00
Jakob Ackermann
7bb02d87bc Merge pull request #2973 from overleaf/jel-emails-cleanup
Remove unused email bodies/layout

GitOrigin-RevId: c7fb12ce70560f32fabd6e4dfd1890e709090673
2020-07-08 02:04:14 +00:00
Jakob Ackermann
6050de114e Merge pull request #2966 from overleaf/cmg-jpa-tags-update-propagation
Remove tag in place instead of replacing array

GitOrigin-RevId: 779577e8981e37508d20364903a843795c36dffe
2020-07-08 02:04:09 +00:00
Simon Detheridge
6c853de5d5 Migrate to new object-persistor module (#122)
* Migrate to new object-persistor module

* Support updated persistor module using ES6 classes

* Update object-persistor

* Upgrade new persistor code to OError3

* Update to latest minor release for outdated packages

* Update package hashes to sha512

* Point object-persistor at master branch
2020-07-07 13:49:54 +01:00
Simon Detheridge
cd8c8b2b7f Merge pull request #3 from overleaf/spd-oerror3
Update to OError3
2020-07-07 13:24:52 +01:00
Jakob Ackermann
383f7a1e2e Merge pull request #167 from overleaf/jpa-expose-hostname
[misc] reland optionally expose the hostname in the 'debug.getHostname' rpc
2020-07-07 12:10:58 +02:00
Jakob Ackermann
9fff03bca5 [misc] optionally expose the hostname in the 'debug.getHostname' rpc 2020-07-07 11:07:28 +01:00
Jakob Ackermann
aa9d6c8dc9 [misc] reland decaff cleanup (#166)
* [misc] decaff cleanup: RoomManager

* [misc] decaff cleanup: RedisClientManager

* [misc] decaff cleanup: SafeJsonParse

* [misc] decaff cleanup: WebApiManager

* [misc] decaff cleanup: WebsocketController

* [misc] decaff cleanup: WebsocketLoadBalancer

* [misc] decaff cleanup: SessionSockets

* [misc] decaff cleanup: HttpController

* [misc] decaff cleanup: HttpApiController

* [misc] decaff cleanup: HealthCheckManager

* [misc] decaff cleanup: EventLogger

* [misc] decaff cleanup: Errors

o-error will eliminate most of it -- when we migrate over.

* [misc] decaff cleanup: DrainManager

* [misc] decaff cleanup: DocumentUpdaterManager

* [misc] decaff cleanup: DocumentUpdaterController: no-unused-vars

* [misc] decaff cleanup: DocumentUpdaterController: Array.from

* [misc] decaff cleanup: DocumentUpdaterController: implicit return

* [misc] decaff cleanup: DocumentUpdaterController: IIFE

* [misc] decaff cleanup: DocumentUpdaterController: null checks

* [misc] decaff cleanup: DocumentUpdaterController: simpler loops

* [misc] decaff cleanup: DocumentUpdaterController: move module name def

* [misc] decaff cleanup: ConnectedUsersManager: handle-callback-err

* [misc] decaff cleanup: ConnectedUsersManager: implicit returns

* [misc] decaff cleanup: ConnectedUsersManager: null checks

* [misc] decaff cleanup: ChannelManager: no-unused-vars

* [misc] decaff cleanup: ChannelManager: implicit returns

* [misc] decaff cleanup: ChannelManager: other cleanup

- var -> const
- drop variable assignment before return

* [misc] decaff cleanup: AuthorizationManager: handle-callback-err

Note: This requires a change in WebsocketController to provide a dummy
 callback.

* [misc] decaff cleanup: AuthorizationManager: Array.from

* [misc] decaff cleanup: AuthorizationManager: implicit returns

* [misc] decaff cleanup: AuthorizationManager: null checks

* [misc] decaff cleanup: Router: handle-callback-err

* [misc] decaff cleanup: Router: standard/no-callback-literal

* [misc] decaff cleanup: Router: Array.from

* [misc] decaff cleanup: Router: implicit returns

* [misc] decaff cleanup: Router: refactor __guard__ wrapper

* [misc] decaff cleanup: Router: null checks

And a minor bug fix: user.id -> user._id

* [misc] decaff cleanup: Router: move variable declarations to assignments

* [misc] decaff cleanup: app: implicit returns

* [misc] decaff cleanup: app: __guard__

* [misc] decaff cleanup: app: null checks

* [misc] decaff cleanup: app: function definitions

* [misc] decaff cleanup: app: drop unused next argument

* [misc] decaff cleanup: app: var -> const
2020-07-07 11:06:02 +01:00
Jakob Ackermann
e913c57aab Merge pull request #162 from overleaf/jpa-fix-unit-tests
[misc] fix unit tests
2020-07-07 11:54:05 +02:00
Simon Detheridge
990bacf3c2 Update to OError3 2020-07-07 10:40:37 +01:00
Ersun Warncke
1a3f1f1200 Merge pull request #117 from overleaf/as-ew-jlm-upgrade-to-o-error-v3
upgrade to o-error v3
2020-07-06 07:58:04 -07:00
Ersun Warncke
046c8d916b remove un-needed config change in unit test 2020-07-06 09:27:12 -04:00
Ersun Warncke
83f6eabaf6 upgarde logger-sharelatex 2020-07-06 09:26:59 -04:00
Eric Mc Sween
bf636047a3 Merge pull request #33 from overleaf/em-swagger-fix
Log requests that don't have a route property
2020-07-06 08:37:26 -04:00
Eric Mc Sween
e197e4dc11 2.7.0 2020-07-06 08:20:02 -04:00
Jakob Ackermann
bf5eaff056 Merge pull request #161 from overleaf/jpa-msm-decaf
[misc] decaffeinate real-time
2020-07-06 12:48:46 +02:00
Eric Mc Sween
d69195eaa9 Log requests that don't have a route property
The v1 history service has its routes set up via swagger-tools, which
doesn't write a route property on the request. This prevents us to send
request metrics based on the route, but we can still log the request.
2020-07-03 16:38:29 -04:00
Simon Detheridge
588979bbff Merge pull request #2 from overleaf/circleci-project-setup
Add .circleci/config.yml and fix errors
2020-07-03 13:16:29 +01:00
Simon Detheridge
7369e2f339 Add .circleci/config.yml and fix errors 2020-07-03 11:59:34 +01:00
Jakob Ackermann
c3a3ed341b Merge pull request #132 from das7pad/hotfix-double-call
[LocalCommandRunner] run: block a double call of the callback
2020-07-03 12:58:25 +02:00
Jakob Ackermann
cd87d3018e [misc] fix formatting 2020-07-03 11:47:53 +01:00
Jakob Ackermann
fe7218fefb Merge pull request #123 from das7pad/hotfix/test-error-handling
[ExampleDocumentTests] drop out in case of an error during compilation
2020-07-03 12:40:15 +02:00