Commit graph

22485 commits

Author SHA1 Message Date
Miguel Serrano
f8ad17c01b Merge pull request #1910 from overleaf/msm-project-cleanedup-after-failed-upload
Project is cleaned up after zip upload fails

GitOrigin-RevId: a09bb51161d0565a5c7eb55a5e29530f8ec65eb6
2019-06-27 10:31:48 +00:00
Miguel Serrano
8a825bb065 Merge pull request #1902 from overleaf/msm-return-429-tdps-update-too-many-connections
Project on cooldown returns 429 on TDPS update

GitOrigin-RevId: b8da35a61be7508bc56d7798d233c186f694c364
2019-06-27 10:31:38 +00:00
Brian Gough
09c69dfdab Merge pull request #73 from overleaf/bg-skip-hash-for-bad-char-replacement
skip hash check when non-BMP characters replaced
2019-06-27 11:17:16 +01:00
Shane Kilkelly
4c85f6622f actually fix the linter 2019-06-27 10:58:27 +01:00
Shane Kilkelly
37e0703aff add mocha globals to eslint config 2019-06-27 10:53:46 +01:00
Shane Kilkelly
f5f83854eb format fix 2019-06-27 10:47:27 +01:00
Miguel Serrano
4c49fd1191 Merge pull request #56 from overleaf/msm-downgrade-unauthorised-log-to-warning
Downgraded unathorised log to warning
2019-06-26 16:15:34 +02:00
Brian Gough
30d8247d54 Merge pull request #1911 from overleaf/bg-block-non-bmp-characters
block null and non-BMP characters in Ace

GitOrigin-RevId: cdeaffc88e128a62463229d5cb55143028f23112
2019-06-26 11:07:20 +00:00
Brian Gough
f37860599d skip hash check when non-BMP characters replaced 2019-06-25 16:36:10 +01:00
Simon Detheridge
bd3f59c22a Merge pull request #1895 from overleaf/jel-oauth-db-flip
Add setting var for OAuth data source

GitOrigin-RevId: e8a2ce588c7b5c8a9cf2c782d0434b421df7b356
2019-06-25 11:22:17 +00:00
Simon Detheridge
aa5f45e128 Merge pull request #1891 from overleaf/revert-1889-as-fix-cached-icons
Switch back to better icon naming scheme

GitOrigin-RevId: f41e01b2fec2d3af35603ef6b6120f4cafa1b981
2019-06-25 11:22:08 +00:00
Simon Detheridge
14c176a832 Merge pull request #1896 from overleaf/as-remove-v1-return-message-flag
Remove unused v1-return-message feature flag

GitOrigin-RevId: c8ffe88fc3294ec207ad8888254ee8d4b95cde05
2019-06-25 11:21:58 +00:00
Miguel Serrano
ab07761eef Merge pull request #1863 from overleaf/msm-refactor-project-upload-manager-promises
Refactored ProjectUploadManager to support Promises

GitOrigin-RevId: 1d747f5ca07164299060bb27c6f14fa9e2968fdf
2019-06-24 13:31:35 +00:00
Shane Kilkelly
61450bb125 update logger and metrics 2019-06-21 16:12:40 +01:00
Simon Detheridge
757ae39487 Merge pull request #1899 from overleaf/spd-implicit-return-tests
Decaf cleanup: Remove implicit return from 'it' and 'describe' in tests

GitOrigin-RevId: f297820e6212dddc0d60697a2fe1612ef27403b6
2019-06-21 13:58:57 +00:00
Simon Detheridge
6fc507aea3 Merge pull request #1883 from overleaf/as-remove-rttc-beta-program
Move rich text track changes out of the beta program

GitOrigin-RevId: 4b23a42f3b2ef53012b5c6cca310fe82de5d9a0c
2019-06-21 13:58:52 +00:00
Simon Detheridge
6e238a8345 Merge pull request #1898 from overleaf/as-tags-archived-projects
Clean up decaffeinated project list code

GitOrigin-RevId: ae2408b8768eb8be02b4cf80be5400bb707fff66
2019-06-21 13:58:46 +00:00
Shane Kilkelly
7034c65696 update logger and metrics 2019-06-21 11:52:15 +01:00
Shane Kilkelly
283a6066d4 update logger and metrics 2019-06-21 11:26:28 +01:00
Simon Detheridge
d1e587a51e Merge pull request #1864 from overleaf/ta-analytics-backoff-strategy
Update Analytics Backoff Strategy

GitOrigin-RevId: 9a3dc11ee19ff03432730a36617208ac7f58c5be
2019-06-21 10:10:52 +00:00
Shane Kilkelly
429c593cdf update logger and metrics 2019-06-21 10:06:02 +01:00
miguel
46dfe56b05 Downgraded unathorised log to warning 2019-06-21 07:30:12 +02:00
Simon Detheridge
c30e83a4ed Merge pull request #1877 from overleaf/em-filestore-range-request
Get file size before truncating files for preview

GitOrigin-RevId: 0822691d75bd8bfe3d6cfd23f9ca4b1c3be20585
2019-06-20 11:30:50 +00:00
Simon Detheridge
1e14f75e08 Merge pull request #1872 from overleaf/hb-autocomplete-braces
Autocomplete braces bugfixes

GitOrigin-RevId: 9b3af30b71b85cf95288b0388c9af7792b87ca80
2019-06-20 11:30:44 +00:00
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