Commit graph

22485 commits

Author SHA1 Message Date
Tim Alby
76b13e7d35 rename to OError 2019-07-05 15:25:22 +02:00
Tim Alby
9c1b48a5e4 remove ErrorWithStatusCode 2019-07-05 15:24:11 +02:00
Shane Kilkelly
88adce3a02 Use UUID in file url, not (encoded) file path.
This fixes a bunch of issues where funny characters in the file path
(spaces, unicode, etc) would cause the file server in this process to
respond with a 404 when asked for the file. The 404 would then cause
the push to fail.

Now we just use a UUID as an opaque and unambiguous identifier for each file.
2019-07-05 11:07:47 +01:00
Shane Kilkelly
1e3b973d9a Merge pull request #69 from overleaf/sk-update-local-config-2019-07
Point local OAuth config at v2
2019-07-05 11:06:46 +01: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
Eric Mc Sween
62a0c57021 Merge pull request #1927 from overleaf/as-fix-hard-coded-module-import
Fix hard coded module import

GitOrigin-RevId: b41dbe5fc5c65a238f0a482023f19b023f6dc89f
2019-07-04 12:51:32 +00:00
Eric Mc Sween
f7b4ae1e1a Merge pull request #1938 from overleaf/jel-login-line-height
Only apply custom line-height on login page to <hr/>

GitOrigin-RevId: 43f8be3847de93f706fa04e5d09e19ff33fc0212
2019-07-04 12:51:27 +00:00
Eric Mc Sween
545b57d6be Merge pull request #1939 from overleaf/jel-no-search-results
Show message when there are no learn wiki search results

GitOrigin-RevId: cb1600baeb4a9860575385be78a825cb3942903a
2019-07-04 12:51:22 +00:00
Eric Mc Sween
a31090daab Merge pull request #1944 from overleaf/em-password-reset
Store the email address in the password reset token data

GitOrigin-RevId: 9aa2eaff49de9ac88258cb996202934dab71cc0a
2019-07-04 12:51:16 +00:00
Henry Oswald
8042a415ec move pubsub traffic over to a pubsub redis connection string 2019-07-04 13:38:39 +01:00
Henry Oswald
3b3b2da0f5 add pubsub redis connection and remove real time redis connection 2019-07-04 13:34:31 +01:00
Miguel Serrano
6ca60b8724 improved error handling and increased timeout (#26) 2019-07-04 11:55:16 +01:00
Timothée Alby
c63cc52fda Merge pull request #3 from overleaf/ta-info-undefined
Handle Custom Errors Created Without Info
2019-07-04 10:40:02 +02:00
Tim Alby
7bb8a5bd11 handle custom errors created without info 2019-07-04 10:38:56 +02:00
Miguel Serrano
0518840b4e updated node version to v10 and removed v8 profiler (#25) 2019-07-03 14:19:01 +01:00
Simon Detheridge
0e1c021353 Merge pull request #40 from overleaf/spd-destroy-docs
Add endpoint to completely purge a project's documents
2019-07-03 13:57:34 +01:00
Miguel Serrano
0eba057cef Initial decaffeination (#24) 2019-07-03 13:41:01 +01:00
Simon Detheridge
02a4289422 Merge pull request #1928 from overleaf/jel-email-after-registration
Send welcome email after registration

GitOrigin-RevId: 1f2b34299e6f4a1e4e44c100711e8f3b8db54595
2019-07-03 11:11:00 +00:00
Henry Oswald
a42aa45a36 Merge branch 'sk-dep-upgrades-2019-06' into ho-pubsub-connection 2019-07-03 10:18:13 +01:00
Jessica Lawshe
f8d895100a Return custom error if provider linked to another account
GitOrigin-RevId: c34a615b210a22e220736c9ba44d17be5add491b
2019-07-03 08:50:51 +00:00
Shane Kilkelly
11e42ecb6f Point local config to v2 2019-07-03 09:37:11 +01:00
Henry Oswald
eed8e215d7 bump redis-sharelatex (and io redis) to 1.0.9 2019-07-02 16:58:30 +01:00
Henry Oswald
b268285ff6 bump redis-sharelatex (and io redis) to 1.0.9 2019-07-02 16:55:07 +01:00
Henry Oswald
670ce61da1 require underscore 2019-07-02 15:36:17 +01:00
Simon Detheridge
5261e1b0be Add endpoint to completely purge a document 2019-07-02 15:02:37 +01:00
Henry Oswald
88b75b8baa send health check data to all redis backends 2019-07-02 14:56:50 +01:00
Henry Oswald
92f60690f3 add redis set 2019-07-02 14:46:58 +01:00
Henry Oswald
922a1a1aba bump redis driver 2019-07-02 12:04:19 +01:00
Miguel Serrano
27985458ea Uploading an empty zipfile throws specific error (#1909)
Added a counter for the total files extracted from a zip. If no files are extracted a specific error is thrown.

GitOrigin-RevId: 391bb669500c86e2e7fecebd90e2201248a8afd3
2019-07-02 10:58:58 +00:00
Henry Oswald
630a957d7b bump ioredis to have naptmap for sentinal 2019-07-02 11:56:21 +01:00
Simon Detheridge
67c0a3c2a4 Merge pull request #1933 from overleaf/spd-leave-project-without-tags
Fix crash when leaving a project with no tags

GitOrigin-RevId: fcbbea5907d3e967785e3f21de039f02bc2123c0
2019-07-02 09:16:28 +00:00
Simon Detheridge
b86f46a4f8 Merge pull request #1885 from overleaf/sk-dep-upgrades-2019-06
Update logger, metrics, and redis client

GitOrigin-RevId: fa425f37c9065dc644da44f62e89a9955ce09f66
2019-07-02 09:16:23 +00:00
Hugh O'Brien
f84c43a7b7 Merge pull request #1913 from overleaf/jel-v1-logout
Remove the v1-logout endpoint

GitOrigin-RevId: 4a31f277c2cf1fa0f8c76c546728dae3eb7665c7
2019-07-01 15:31:08 +00:00
Timothée Alby
b1e8cb9cf0 Merge pull request #1924 from overleaf/ta-full-error
Don't Callback with String

GitOrigin-RevId: 82e3efb055ef197d95ff9c8a876bee0d6a0327a3
2019-07-01 14:06:54 +00:00
Timothée Alby
c86910a5ef Merge pull request #1912 from overleaf/ta-invite-404
Better Handling of Invites not Found

GitOrigin-RevId: 6fddd1dca772bb4b5108fef433044720fb78c4e9
2019-07-01 14:06:49 +00:00
Timothée Alby
e029616ed4 Merge pull request #1914 from overleaf/jel-no-pw-message
Check for password on delete modal

GitOrigin-RevId: a2ec40b9c73e92490a9dfd0377b10f9d1831f56f
2019-07-01 14:06:42 +00:00
Timothée Alby
e73a5d9103 Merge pull request #1923 from overleaf/ta-error-log-level
Reduce Log Level

GitOrigin-RevId: 63a8859e6b78cb0774a28069089f4bce73eb91ec
2019-07-01 14:06:36 +00:00
John Lees-Miller
5bf235c549 Merge pull request #2 from overleaf/es6
Add support for errors based on ES6 classes
2019-07-01 11:48:03 +01:00
John Lees-Miller
c167ad9bdb Upgrade mocha version 2019-07-01 11:35:24 +01:00
John Lees-Miller
ed7dc939ac Add support for errors with ES6 classes 2019-07-01 11:34:15 +01:00
Brian Gough
cf940cc835 Merge pull request #1916 from overleaf/ta-join-project-404
Return 404 on JoinProject When Project Is Not Found

GitOrigin-RevId: cd87ce6e2564fd4a80faa66e8b22edec7b0c783c
2019-07-01 09:25:41 +00:00
Shane Kilkelly
1e74d545c4 Merge pull request #21 from overleaf/sk-dep-upgrades-2019-06
update logger and metrics
2019-07-01 10:05:19 +01:00
Shane Kilkelly
abe9d324e5 Merge pull request #10 from overleaf/sk-dep-upgrades-2019-06
update logger and metrics
2019-06-27 15:42:24 +01:00
Shane Kilkelly
461bc0f4b7 Merge pull request #9 from overleaf/sk-dep-upgrades-2019-06
update logger and metrics
2019-06-27 15:03:40 +01:00
Shane Kilkelly
7d204e01a5 Merge pull request #24 from overleaf/sk-dep-upgrades-2019-06
Update logger, metrics, and redis client
2019-06-27 13:49:36 +01:00
Brian Gough
44c36ee63b Merge pull request #74 from overleaf/revert-73-bg-skip-hash-for-bad-char-replacement
Revert "skip hash check when non-BMP characters replaced"
2019-06-27 11:40:33 +01:00
Brian Gough
16fb297043 Revert "skip hash check when non-BMP characters replaced" 2019-06-27 11:39:45 +01:00
Miguel Serrano
0e52453931 Merge pull request #1908 from overleaf/as-remove-tags-on-leave
Remove tags when leaving project

GitOrigin-RevId: 833412264d09348b02f57fb60cd0f07d81cfc037
2019-06-27 10:32:12 +00:00
Miguel Serrano
dc54a261e3 Merge pull request #1907 from overleaf/as-fix-tag-project-count
Fix tag project count

GitOrigin-RevId: 60236571403f8cc02f70bbe49e652ef18bbeab4d
2019-06-27 10:32:01 +00:00