Commit graph

17911 commits

Author SHA1 Message Date
Alasdair Smith
350e2ac38f Merge pull request #1886 from overleaf/as-upgrade-ace-1.4.5
Upgrade to Ace v1.4.5

GitOrigin-RevId: 7ab7ba24c0bfc927567fbd4196e05a1c3f26d283
2019-06-20 09:21:27 +00:00
Eric Mc Sween
55a13f3228 Merge pull request #55 from overleaf/em-aws-stream-fix
Fix createUnbufferedStream() function call
2019-06-19 14:31:39 -04:00
Eric Mc Sween
7d900b57bf Fix createUnbufferedStream() function call
In 49a21155f642670dfea264ac73fb60241f37cb87, I managed to incorrectly
write the `createUnbufferedStream()` function from the AWS SDK as
`getUnbufferedStream()` and to consistently use that naming in the unit
tests.

This commit fixes that. I have tested again on S3.
2019-06-19 12:58:17 -04:00
Shane Kilkelly
013400d7a4 Re-add environment variable for conversions 2019-06-19 14:04:57 +01:00
Shane Kilkelly
f865762c29 update logger and metrics 2019-06-19 13:50:58 +01:00
Eric Mc Sween
cbe32ba1b9 Merge pull request #53 from overleaf/em-get-file-stream-with-aws-sdk
Use AWS SDK for getFileStream()
2019-06-19 08:48:20 -04:00
Eric Mc Sween
f2521a29b9 Use AWS SDK for getFileStream()
The AWS SDK has a retry strategy to deal with rate limiting or transient
unavailability of S3. We hope it will reduce our error rates.
2019-06-19 08:18:11 -04:00
Ersun Warncke
fb55063c2f remove collabratec v1 deps, and user stubs for oauth
GitOrigin-RevId: c4bc497a07658eb580b0bfdb011fea32ea1657e1
2019-06-19 11:42:21 +00:00
Ersun Warncke
aec0ea5b08 remove sharelatex auth
GitOrigin-RevId: 7c72b7f80ff0b15d994423f552c67359cac03634
2019-06-19 11:42:15 +00:00
Ersun Warncke
8cc9bc5335 write to v1/v2 on register, password change and reset
GitOrigin-RevId: 29045912319d1d387613ec55c6620852d8857614
2019-06-19 11:06:21 +00:00
Shane Kilkelly
e8a8c446ed Increase timeout on test? 2019-06-19 11:34:38 +01:00
Alasdair Smith
d6651183b5 Merge pull request #1889 from overleaf/as-fix-cached-icons
Temporarily rename icons to bust cache

GitOrigin-RevId: 4dc496bbc2f61de1051068f4cbb7ded982fc999f
2019-06-19 09:53:48 +00:00
Shane Kilkelly
080b482e51 Update logger, metrics, and redis
Also fix acceptance tests, broken by a change in the redis driver
behaviour. It now returns promises from most operations, which confuses mocha.
2019-06-19 10:25:54 +01:00
Alasdair Smith
f83ab4ec3b Merge pull request #1767 from overleaf/as-color-contrast
Improve colour contrast

GitOrigin-RevId: 56796839e5c2e741e85bc849399cb28d3db36976
2019-06-19 09:01:43 +00:00
Shane Kilkelly
a9b35dde00 update logger and metrics 2019-06-19 09:37:54 +01:00
Shane Kilkelly
cb46848e2e update logger and metrics 2019-06-19 09:11:59 +01:00
Simon Detheridge
ab5b1b6dc4 Merge pull request #1870 from overleaf/spd-invalid-intent-sso
Fix invalid intent errors when logging in with OAuth

GitOrigin-RevId: 20f88a24080b41256bd31b9fb55b68a872ded56b
2019-06-18 15:48:29 +00:00
Shane Kilkelly
1edda47b0e update logger and metrics 2019-06-18 16:29:20 +01:00
Shane Kilkelly
ef0d9c5afc Update logger, metrics, and redis client
Also fix acceptance tests, broken by a change in behaviour of the redis client.
It now returns a promise from most operations. This interferes with how mocha
handles callbacks in `before` blocks.
2019-06-18 15:31:19 +01:00
Simon Detheridge
93386bcb8c Merge pull request #1859 from overleaf/spd-sl-user-password-copy
Copy old SL hashed passwords to a new field

GitOrigin-RevId: 28e7ff57e8753a1e887c54e9ed63cb17984e2fd4
2019-06-18 08:46:14 +00:00
Simon Detheridge
3ce74a3877 Merge pull request #1868 from overleaf/bg-sanitise-error-for-google-analytics
sanitise error sent to google analytics

GitOrigin-RevId: 6307b7a54f18b9e8a1da31f45a5a148e1321db62
2019-06-18 01:56:02 +00:00
Simon Detheridge
08861187d5 Merge pull request #1834 from overleaf/ns-sd-synctex-fail-gooder
display warning if synctex fails to return filename

GitOrigin-RevId: 1de5f9f06a03d6debc35cd4bace6cc921a634d6d
2019-06-17 15:14:31 +00:00
Simon Detheridge
82672269c4 Merge pull request #1862 from overleaf/em-json-stringify
Globally apply StringHelper.stringifyJsonForScript()

GitOrigin-RevId: 82dc812a43a1e6f389471380a6a430c0a18dcec2
2019-06-17 15:14:25 +00:00
Simon Detheridge
321d66f804 Merge pull request #1869 from overleaf/ns-uprade-task-decaf-bug
.../js/... -> .../src/...

GitOrigin-RevId: d93cc4c34010ea7b318778a456e59bd702faa739
2019-06-17 15:14:18 +00:00
Simon Detheridge
d189dad162 Merge pull request #1865 from overleaf/ta-group-invite-self-view
Return User Data when Inviting Self in Group

GitOrigin-RevId: 5aeb9f0b21b84184a612ed730ac08dcb1c434f6e
2019-06-17 15:14:11 +00:00
Simon Detheridge
7e1b4195c5 Merge pull request #1875 from overleaf/sk-fix-multi-script
Fix the password-removal script, pass the `multi` flag to update

GitOrigin-RevId: 753f0911304cfe02e97e03e2e018a826c176e780
2019-06-17 15:13:57 +00:00
Simon Detheridge
4b0a445337 Merge pull request #1876 from overleaf/spd-cleanup-stubs-no-user
Handle user stubs with no user in cleanup script

GitOrigin-RevId: 810134f0876bc595f2d749921929b52dae4e7958
2019-06-17 15:13:48 +00:00
Eric Mc Sween
42d15fd8a9 Merge pull request #52 from overleaf/em-get-file-size
Return file size on HEAD request
2019-06-17 08:41:36 -04:00
Eric Mc Sween
3575c89d03 Return file size on HEAD request
This will be used by the file preview feature when it gets partial
content.
2019-06-17 08:23:59 -04:00
Ersun Warncke
b46d855487 backing account creation fixes: (#1866)
* fix requires for decaf
* add error handling for missing v1 profile
* truncate names
* create random password for users without password

GitOrigin-RevId: 0efc4b742d9295a83e126b1df1d4ce2700d7a333
2019-06-14 09:48:49 +00:00
Henry Oswald
fdef197271 Merge branch 'master' into ho-detailed-flush-status 2019-06-13 14:33:22 +01:00
Henry Oswald
d9a737f97c return failed and succesfully flushed projects when flushing everything 2019-06-13 14:21:38 +01:00
Shane Kilkelly
a68afc2e28 Merge pull request #67 from overleaf/sk-dont-catch-throwable-swap-impl
Don't catch `Throwable` in swap-job, catch Exception
2019-06-13 12:11:01 +01:00
Shane Kilkelly
591617f996 Merge pull request #68 from overleaf/sk-fix-unicode-file-paths
Encode file path when building url, allows unicode
2019-06-13 12:10:55 +01:00
Brian Gough
4134c32f8d Merge pull request #1861 from overleaf/bg-check-existing-import
check if project already imported

GitOrigin-RevId: 6dbca42fd524c34bb79a86b7449fe6ed3d542b43
2019-06-13 08:47:58 +00:00
Brian Gough
c242a8d4c1 Merge pull request #1853 from overleaf/bg-check-doc-hashes-staged-rollout
enable sharejs hash checking

GitOrigin-RevId: 2c71d239b2f5ee2bee6baf03dd54aaa8afc6fae7
2019-06-13 08:47:52 +00:00
Brian Gough
e8dd1aae9c Merge pull request #70 from overleaf/bg-metric-for-invalid-hash
add metric for invalid hash and other sharejs errors
2019-06-12 13:50:34 +01:00
Brian Gough
99f896fa57 Merge pull request #69 from overleaf/bg-fix-hash-check
fix hash check
2019-06-12 13:42:19 +01:00
Eric Mc Sween
9ca3b68efc Merge pull request #1858 from overleaf/em-fix-file-preview
Fix a typo that breaks file preview

GitOrigin-RevId: d7aa7e8090bfe36414455741c3dd970bc6835d92
2019-06-11 18:35:28 +00:00
Brian Gough
d50b93df2f add metric for invalid hash and other sharejs errors 2019-06-11 16:48:06 +01:00
Brian Gough
984b2d38e6 add unit tests 2019-06-11 16:33:14 +01:00
Timothée Alby
4583c25b1b Merge pull request #1843 from overleaf/ta-limit-affiliation-rate
Limit the Number of Affiliations Created Simultaneously

GitOrigin-RevId: 242d3f3a2859eb2114f43091e7ca52534b282396
2019-06-11 13:34:18 +00:00
Timothée Alby
e659703745 Merge pull request #1842 from overleaf/ta-remove-v1-sync
Remove v1 Sync on Features Refresh

GitOrigin-RevId: a99e0a74c4fc503bf81d0b847b3f331b3228e24f
2019-06-11 13:34:11 +00:00
Timothée Alby
8caea13193 Merge pull request #1845 from overleaf/ta-invite-self
Don't Send Invite when Group Manager Invite Self

GitOrigin-RevId: 35d7aecc82cf1124fbdac7fe986081b9556c23f9
2019-06-11 13:34:00 +00:00
Timothée Alby
f6c2cfe727 Merge pull request #1848 from overleaf/sk-increase-compile-timeout-hard-limit-10
Increase compile socket timeout to 10 minutes

GitOrigin-RevId: 93712c493c67bf54022df43175d331557b7cf49a
2019-06-11 13:33:53 +00:00
Brian Gough
966478cac4 fix hash check to use 'v' field instead of version 2019-06-11 14:11:46 +01:00
Eric Mc Sween
0cc4f6d329 Merge pull request #1857 from overleaf/em-fix-linked-files
Revert "Decaffeination fixes"

GitOrigin-RevId: e36e6c2b0f5430cfbd1d1bfac8de055b4db10b77
2019-06-11 11:45:33 +00:00
Shane Kilkelly
12efec605c Merge pull request #126 from overleaf/sk-increase-hard-timeout
Increase the hard-timeout to 10 minutes.
2019-06-10 09:44:48 +01:00
Eric Mc Sween
4dc1e97d27 Merge pull request #1844 from overleaf/em-no-pdf-eps-previews
Do not try to preview PDF or EPS files

GitOrigin-RevId: fd4fcd1c57573e9bc5fa1eed74e3430188482be4
2019-06-07 16:16:32 +00:00
Shane Kilkelly
71df1b0a31 Encode file path when building url, allows unicode 2019-06-07 14:17:33 +01:00