Commit graph

17789 commits

Author SHA1 Message Date
Brian Gough
64ea22d259 remove unnecessary null checks 2020-12-17 12:05:17 +00:00
Brian Gough
299d7cc5fe remove unnecessary returns 2020-12-17 12:01:14 +00:00
Brian Gough
5a539b7f90 remove guard function 2020-12-17 11:59:15 +00:00
Brian Gough
4d8e4d54e5 remove Array.from 2020-12-17 11:49:02 +00:00
Alasdair Smith
2c556366e2 Merge pull request #3464 from overleaf/as-import-from-settings-macro
Load modules in React using importOverleafModules Babel macro

GitOrigin-RevId: 5553ede59d75306a7085424b5e0a20dabe0792f5
2020-12-17 03:07:42 +00:00
Alasdair Smith
d487ffea5c Merge pull request #3490 from overleaf/as-remove-eslint-disables
Remove empty eslint disable comments

GitOrigin-RevId: 5a0f3a5a9e4f20fdd8138ecc8c929a7587ccef66
2020-12-17 03:07:37 +00:00
Alasdair Smith
7cbf2cdd9e Merge pull request #3496 from overleaf/ae-eslint-dot-notation
Enable the eslint dot-notation rule

GitOrigin-RevId: e11cbad3e8a77a4a60590d3674fbf34feccc5bc9
2020-12-17 03:07:31 +00:00
Alf Eaton
2ff1cf43d6 Merge pull request #3470 from overleaf/eslint
Upgrade and configure ESLint

GitOrigin-RevId: ad5aeaf85e72c847a125ff3a9db99a12855e38aa
2020-12-16 03:08:28 +00:00
Shane Kilkelly
6d44851869 Merge pull request #88 from overleaf/jpa-docker-image
[misc] docker image
2020-12-15 09:54:33 +00:00
Miguel Serrano
1fcf94c3b9 Merge pull request #3436 from overleaf/msm-react-shared-context
React shared context

GitOrigin-RevId: ebc6fa90dd8c65ddf803fd457c99a30f0e8e3c9c
2020-12-15 03:05:07 +00:00
Brian Gough
c446f7712c Merge pull request #3487 from overleaf/bg-shut-down-connection-manager
shut down connection manager on out of sync

GitOrigin-RevId: e191ed62a49c72e8b8ed8c9ba57ed6e0b3606abe
2020-12-15 03:05:03 +00:00
Brian Gough
9a1ef37991 Merge pull request #3484 from overleaf/jpa-hide-ui-below-out-of-sync
[frontend] hide ui elements below the out-of-sync modal

GitOrigin-RevId: 4e48b402522531524f347c784c58f4589b753997
2020-12-15 03:04:58 +00:00
Brian Gough
ad8f7fbb5d Merge pull request #3483 from overleaf/jpa-leave-on-out-of-sync
[frontend] displaying the out-of-sync modal is a dead end

GitOrigin-RevId: 475bf851c9f07bb2a7b052879b98756881de44a2
2020-12-15 03:04:53 +00:00
Brian Gough
0b94c89990 Merge pull request #3482 from overleaf/jpa-cleanup-on-epoch-mismatch
[frontend] on editorOpenDocEpoch mismatch, cleanup the old doc

GitOrigin-RevId: b07beb33a17d218d7aa35961dee5e215bd82c315
2020-12-15 03:04:49 +00:00
Brian Gough
a393352516 Merge pull request #3479 from overleaf/jpa-ignore-error-of-other-doc
[frontend] do not process otUpdateError of other docs

GitOrigin-RevId: 95b43fbe1f24c1b60a0b9beeb3814645231e5063
2020-12-15 03:04:45 +00:00
Brian Gough
62dd773629 Merge pull request #3478 from overleaf/jpa-preseve-out-of-sync-trigger
[frontend] preserve the error handler that powers the out-of-sync modal

GitOrigin-RevId: 759ede691658d42cedec7c984b284e45d5c776e9
2020-12-15 03:04:40 +00:00
Brian Gough
2200221820 Merge pull request #3477 from overleaf/jpa-harden-switching-docs
[frontend] harden the process of switching between docs

GitOrigin-RevId: f3540782f0c45671330ca7324d9d58d9c161bf84
2020-12-15 03:04:35 +00:00
dependabot[bot]
a25246106e build(deps): bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-13 07:36:01 +00:00
dependabot[bot]
2d69ba69c3 Bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-13 07:35:09 +00:00
dependabot[bot]
a017ecab1a Bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-13 07:35:07 +00:00
dependabot[bot]
ab6705481d Bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-13 07:35:06 +00:00
dependabot[bot]
458eab6336 Bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-13 07:34:38 +00:00
dependabot[bot]
0d7dc837d6 Bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-13 07:33:47 +00:00
dependabot[bot]
dbbb1b0b4c build(deps): bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-13 07:33:42 +00:00
dependabot[bot]
f5594e023f Bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-12 11:02:53 +00:00
Jakob Ackermann
b7e4ece352 Merge pull request #3475 from overleaf/jpa-frontend-logging
[frontend] proper source location for console.log calls with debug=true

GitOrigin-RevId: b82860e6c113745694c3dc0617cc1bfe7daefbfb
2020-12-12 03:04:40 +00:00
Jakob Ackermann
f560ee6d53 Merge pull request #3471 from overleaf/jel-showNewLogsUI
window.showNewLogsUI as boolean and add fallback

GitOrigin-RevId: beebbc65046b9c6a56227ffecd5ab86c52fde9f3
2020-12-12 03:04:35 +00:00
Jakob Ackermann
50b7591a11 Merge pull request #3469 from overleaf/msm-add-koma-outline-sections
Add addpart, addchap, addsect levels to Outline

GitOrigin-RevId: 4e750664011c208df6403a7d6efd52ce30fc5310
2020-12-12 03:04:30 +00:00
Jakob Ackermann
d11f3d8a24 Merge pull request #3468 from overleaf/jpa-drop-vendored-ace
[frontend] drop vendored ace

GitOrigin-RevId: a0266350b3bf085976a8c95d020f2127466bede3
2020-12-12 03:04:25 +00:00
Jakob Ackermann
4781c0bc3c Merge pull request #3467 from overleaf/jel-async-getUserFullEmails
Convert getUserFullEmails to async

GitOrigin-RevId: 88e81460a7cc5703eb900e81f7cf594aeb204932
2020-12-12 03:04:19 +00:00
dependabot[bot]
3ea6677de8 Bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-11 22:52:34 +00:00
Eric Mc Sween
55bf16c06d Merge pull request #3437 from overleaf/em-project-specific-blobs
Use per-project v1 history blob URLs for git-bridge

GitOrigin-RevId: b68ee2129ceb57f4b7f68262c5bcbadc0952b56f
2020-12-11 03:05:03 +00:00
Alf Eaton
ba2a89c841 Merge pull request #3480 from overleaf/ae-fix-formatting
Fix quotes in JSX

GitOrigin-RevId: 81f548ae5c0b641fe2fcade36e6a1318682a971e
2020-12-11 03:04:57 +00:00
Alf Eaton
da93df7f26 Merge pull request #3440 from overleaf/upgrade-mmmagic
Upgrade mmmagic to 0.5.3

GitOrigin-RevId: f3332ce3fd8429baa29afc7feeb1c3b580a468da
2020-12-11 03:04:52 +00:00
Alf Eaton
4c42f6fd71 Merge pull request #3443 from overleaf/ta-file-tree-noselect
[ReactFileTree] Show Create Actions When No Entities Are Selected

GitOrigin-RevId: b98146fe83ce72b3122e8c8905c864a2fd73c5ad
2020-12-11 03:04:47 +00:00
Alf Eaton
771a39f267 Merge pull request #3441 from overleaf/3803-hotkeys-modal
Migrate hotkeys modal to React

GitOrigin-RevId: 78399d3d62771cd296bdc2f4f8b1083263d31551
2020-12-11 03:04:42 +00:00
CloudBuild
fb7dffaa88 auto update translation
GitOrigin-RevId: 5e09b490678d9f7fefa9336b5dd1b438c352abfe
2020-12-11 03:04:37 +00:00
Jakob Ackermann
4644faf212 [misc] integrate git-bridge with overleaf dev-env and prod setup
- Add `base` target for dev-env
- Add `node` user for dev-env and prod
- Use `make` all the way
2020-12-10 17:37:09 +00:00
Jakob Ackermann
3e7cf07c8e Merge branch 'master' into jpa-docker-image
# Conflicts:
#	README.md
2020-12-10 14:28:03 +00:00
Jakob Ackermann
d01216ee38 Merge pull request #3473 from overleaf/jpa-add-back-rate-limit-clear
[SmokeTests] add back the clearing of the overleaf-login rate-limit

GitOrigin-RevId: af2f7ad84083d757416d39784f31b3fa5577c1c3
2020-12-10 03:05:07 +00:00
Hugh O'Brien
7812a77cd8 Merge pull request #3449 from overleaf/ta-storybook-sentry
Stub ExposedSettings in Storybook

GitOrigin-RevId: 2729b181bba869ab3ce8d896e8cff25d5e42c142
2020-12-10 03:05:02 +00:00
Hugh O'Brien
88b9c371bc Merge pull request #3447 from overleaf/ae-eslint-braces-rule
Enable react/jsx-curly-brace-presence rule

GitOrigin-RevId: f3683cf7ae4566bcfa442fff2242370331209a54
2020-12-10 03:04:57 +00:00
Hugh O'Brien
aa346e2da8 Merge pull request #3444 from overleaf/ta-file-tree-sort
[ReactFileTree] Sort Files Docs and Folders

GitOrigin-RevId: 720c66ad2018d8e1fa18ffb16b24f985eddc566b
2020-12-10 03:04:52 +00:00
Hugh O'Brien
3fe462f06f Merge pull request #3439 from overleaf/fix-file-tree-stories
Add missing onInit prop to file-tree stories

GitOrigin-RevId: 161977a1051eb437999c1af7aa73d3b4a60d4a56
2020-12-10 03:04:48 +00:00
Hugh O'Brien
af3ea9e695 Merge pull request #3459 from overleaf/ta-dragged-overflow
[ReactFileTree] Fix Overflow of Dragged Preview

GitOrigin-RevId: be73883f49a84ab5455ecfaa0a3b7f32126cbd5e
2020-12-10 03:04:43 +00:00
Hugh O'Brien
be51810be5 Merge pull request #3410 from overleaf/hb-validate-new-folder
React File Tree - Validate new folder names and renames

GitOrigin-RevId: f040eb08e2daefb3dfd639e18aaef95d7123d727
2020-12-10 03:04:38 +00:00
Hugh O'Brien
e7b490a056 Merge pull request #3432 from overleaf/hb-handle-github-name-errors
return to and then display when name errors recieved from github sync

GitOrigin-RevId: 20d1b4851530e0174a0d0f4e02a24fbdffa4bd92
2020-12-10 03:04:33 +00:00
Jakob Ackermann
dc576baa05 Merge pull request #3472 from overleaf/jpa-fix-flaky-assertion
[HealthCheckControllerTests] harden assertion on timed-out http requests

GitOrigin-RevId: f6e8346b2f9744e7f4d11b8ac6164c236d3d7e74
2020-12-10 03:04:29 +00:00
Jakob Ackermann
cb9d207ba0 Merge pull request #3427 from overleaf/jpa-rewite-smoke-tests
[SmokeTests] rewrite

GitOrigin-RevId: eda39db6b339d997f5669cb9bfca2aefe7d96699
2020-12-10 03:04:18 +00:00
Eric Mc Sween
8a5027255a Merge pull request #86 from overleaf/em-handle-history-error
Handle errors from the history service
2020-12-09 09:05:24 -05:00