Commit graph

20171 commits

Author SHA1 Message Date
Jakob Ackermann
01f4df08ee Merge pull request #12620 from overleaf/jpa-align-compile-size-limit
[web] align size limit for editable content between SAAS and Server Pro

GitOrigin-RevId: 84da372ac5e3716f7987cc2d195834a5180d2978
2023-04-14 08:03:33 +00:00
Davinder Singh
ff25ac1d9c Merge pull request #12591 from overleaf/ds-subscription-date-tooltip
Admin Panel- Subscription tab tool tip

GitOrigin-RevId: 2f1c4e39e9fdc360d1595b6fd54ab187cdc33932
2023-04-14 08:03:29 +00:00
Jakob Ackermann
3841177931 Merge pull request #12504 from overleaf/jel-cms-card-padding
[web] Option to set padding on CMS rows

GitOrigin-RevId: 297344c9bf6c04eae630f1ddbed59f9519d4e4c7
2023-04-14 08:03:19 +00:00
Jakob Ackermann
bc91aebf1c Merge pull request #12410 from overleaf/bg-fix-restore-deleted-docs-script
fix async call usage of restoreDeletedDoc

GitOrigin-RevId: 693c3d1e2e1d7757815d310eacd148a107b44395
2023-04-14 08:03:15 +00:00
Jakob Ackermann
1096c81f4a Merge pull request #12528 from overleaf/jpa-switch-dashboard-events-to-bq
[web] switch events on project dashboard to BQ

GitOrigin-RevId: 9326c19cc5663c4dc2919877eb8df91e312bb902
2023-04-14 08:03:12 +00:00
Jakob Ackermann
c35da85ad8 Merge pull request #12526 from overleaf/jpa-delete-redundant-assignment
[web] delete redundant variable assignment in tests

GitOrigin-RevId: 2876e217eb21a886dc2c8b251b7208de1b5ea349
2023-04-14 08:03:09 +00:00
Miguel Serrano
0146b72885 Merge pull request #12613 from overleaf/msm-base-image-rebuild
[CE/SP] Rebuild base-image - TexLive 2023 update

GitOrigin-RevId: dd49782549e9d12112ed579590ab52613fd7520d
2023-04-14 08:03:02 +00:00
Tim Down
7f37ba737c Move source editor out of module (#12457)
* Update Copybara options in preparation for open-sourcing the source editor

* Move files

* Update paths

* Remove source-editor module and checks for its existence

* Explicitly mention CM6 license in files that contain code adapted from CM6

GitOrigin-RevId: 89b7cc2b409db01ad103198ccbd1b126ab56349b
2023-04-13 08:40:56 +00:00
M Fahru
3f992f9453 Ensure new data are fetched properly whenever history is opened (#12577)
GitOrigin-RevId: e0ae14cdc90c95dbd44b12bd8332bc982ea34a10
2023-04-13 08:04:45 +00:00
Alexandre Bourdin
f03b75e55f [web] Tags/color picker tweaks (#12595)
* Change wording of tags header and hide uncategorized when tags list is empty

* Add a tooltip on the colour picker more button

* Fix linting

GitOrigin-RevId: 07e1c411c2c9f6f66e0a00c1610af662b829c4e4
2023-04-13 08:04:37 +00:00
Jakob Ackermann
08673c9c1c Merge pull request #12594 from overleaf/jpa-fix-cleanup-unused
[web] scripts/translations: fix searching for unused translations

GitOrigin-RevId: 2cfefc6ffde7aaab0ef2d00888059ddafda3bb1d
2023-04-13 08:04:29 +00:00
Alexandre Bourdin
376d9c43a3 Merge pull request #12374 from overleaf/ab-rename-folders-tags
[web] Rename folders to tags

GitOrigin-RevId: 05c34c515aeeb9230ed512c267f97bcb679767a8
2023-04-13 08:04:20 +00:00
Alexandre Bourdin
481cd14cb1 Merge pull request #12557 from overleaf/ii-history-react-labels-only
[web] History labels only list

GitOrigin-RevId: 58b8e5a5af0754e32841223f9c478c25900df526
2023-04-13 08:04:12 +00:00
Alexandre Bourdin
04c204f989 [web] Colour picker for tags (#12255)
* Base for color picker

* React color picker and updated modals

* Add tag color picker to mobile dashboard

* Update existing tests and fix disable save button condition

* CSS adaptations for desktop modal streched into mobile display

* Update TagsController tests

* Add aria-hidden label on color pickers

* Fix linting

* Fix project list test

* Select random color when creating tag

* Cleanup leftovers in project list context

* Test cleanup

* Pre-select custom color and store local color while picking

* Add type to preset colors

* Add css fix to override disabled button opacity

* Skip redundant check

* Fix linting

* Add back btn-secondary on manage tag modal after rebase

GitOrigin-RevId: a4cf24e85cc0ca01466f4bf9c77482be8360e68e
2023-04-13 08:04:03 +00:00
M Fahru
fb6746a887 Add default pathname logic on history react file tree (#12505)
On history react, when the initial screen has been loaded, no default pathname is selected. This PR adds logic for selecting default pathname and getting the diff for that pathname.

Also, add some other small changes, the notable ones are:

- Refactor some type naming and file structure related to the history file tree
- Refactor file tree selectable hooks (merge selectable context provider into the main provider)
- prevent clicking on the same file tree item by checking the current pathname before invoking the handler function

GitOrigin-RevId: 73c36e9ed918ae3d92dd47108fbe8542a7571bdd
2023-04-12 08:04:58 +00:00
June Kelly
e780a09a15 Merge pull request #12473 from overleaf/ab-server-pro-split-test-overrides
[web] Add split test overrides through settings for non-SaaS env

GitOrigin-RevId: 82cb6a573a992e730107f6287e7804cfe0f04aa5
2023-04-12 08:04:37 +00:00
June Kelly
17109393c5 Merge pull request #12387 from overleaf/jk-split-button-tweaks
[web] Split-menu style tweaks

GitOrigin-RevId: a04121981c4fe240c247cf03da5be7052c26f541
2023-04-12 08:04:28 +00:00
June Kelly
841df71a1d Merge pull request #12342 from overleaf/jk-password-ux-please-use-another-password
[web] Password UX: 'Please use another password'

GitOrigin-RevId: ca9b26cbcf2dabb27c716da314764ee40ffc83dd
2023-04-12 08:04:13 +00:00
Jakob Ackermann
9362d286b7 Merge pull request #12560 from overleaf/jpa-faster-migration
[web] migrations: cut delay in auditLog migration from 10s to 10ms

GitOrigin-RevId: 2a6525212149c5e0f1ebfec4023f4e0fe91ecc5f
2023-04-12 08:04:05 +00:00
Miguel Serrano
7aa68ebcec Merge pull request #12551 from overleaf/msm-git-bridge-vulnerabilites
[git-bridge] Update `httpclient` and `commons-compress`

GitOrigin-RevId: cb4f6cca09d991114bd784af6d2a79d887de256d
2023-04-12 08:03:57 +00:00
ilkin-overleaf
8e0aa685ce Merge pull request #12549 from overleaf/ii-history-react-list-of-all-versions
[web] All versions of history entries

GitOrigin-RevId: 7365ac4913c115b3b2872a3713d893463719c15e
2023-04-12 08:03:47 +00:00
Eric Mc Sween
fb1f61434a Merge pull request #12545 from overleaf/em-oauth-tokens-ttl
Delete expired OAuth tokens and authorization codes

GitOrigin-RevId: 2743ed12a11101a383c46de93deabc5cdeeddc5b
2023-04-11 08:04:23 +00:00
Eric Mc Sween
1f9cfd877a Merge pull request #12536 from overleaf/em-oauth-refresh-tokens-index
Allow OAuth access tokens without refresh tokens

GitOrigin-RevId: 5f95985b3a2e9b1c9a391b73476ce6b55875af87
2023-04-11 08:04:06 +00:00
Alexandre Bourdin
25282f720e Merge pull request #12542 from overleaf/ab-reorder-config-local-env
Reorder config loading for local env web

GitOrigin-RevId: 86a2ba22aa684b09691458ee4be87151c0b4be51
2023-04-07 08:03:54 +00:00
Christopher Hoskin
5f69488f67 Merge pull request #12369 from overleaf/csh-issue-4497-bump-profiler
Bump @google-cloud/profiler from 4.1.3 to 5.0.4

GitOrigin-RevId: 2426be7f50f91c8a67430f1097a9d97412178873
2023-04-06 08:02:49 +00:00
Miguel Serrano
ea0df8a7dd Merge pull request #12506 from overleaf/msm-check-github-module-frontend
[web] add checks for github and V1 being available

GitOrigin-RevId: 90ba19d41c28bbc96d07825086697d2f946eabcd
2023-04-05 09:05:27 +00:00
M Fahru
17a98d756e Add badges UI to history react file tree (#12479)
GitOrigin-RevId: 52c45b72110e01bb193139654fa9385cb9b9e489
2023-04-05 08:03:05 +00:00
Jessica Lawshe
a4586074d7 Merge pull request #12442 from overleaf/jel-bsStyle
[web] Add bsStyle to `react-bootstrap` buttons

GitOrigin-RevId: 0059a457cbd8b4c316aa3b34e4d77f1b92bd690e
2023-04-05 08:02:50 +00:00
Jessica Lawshe
caf8a57f47 Merge pull request #12383 from overleaf/jel-card-color
[web] Update default card color for new CMS page style

GitOrigin-RevId: bb74164f8e29d32e3d01418e77e6c370b281a3d7
2023-04-05 08:02:47 +00:00
Eric Mc Sween
8ed9144c7d Merge pull request #12422 from overleaf/em-server-pro-history-config
Allow git bridge to communicate with history in Server Pro

GitOrigin-RevId: f6eca0063e582ad73a7db29d06da0018387de444
2023-04-04 12:22:51 +00:00
Eric Mc Sween
330d671c96 Merge pull request #12428 from overleaf/em-server-pro-git-bridge-proxy
Git bridge proxy in Server Pro

GitOrigin-RevId: 298c63c89e71865432512fdb4612cb42a762f29b
2023-04-04 12:22:41 +00:00
Eric Mc Sween
6b110cf4d0 Merge pull request #12481 from overleaf/td-history-remove-source-editor-imports
Remove accidental imports from source-editor module in history

GitOrigin-RevId: 808597e113c3b1e74cacc712313af0e20b0e1786
2023-04-04 12:22:25 +00:00
Eric Mc Sween
470dcdedb7 Merge pull request #12474 from overleaf/em-oauth-scripts
Management scripts for OAuth client configurations

GitOrigin-RevId: 4463f4716fdd060708581635fb20980e61a78df9
2023-04-04 08:05:39 +00:00
M Fahru
9a55bbf325 Port editor react file tree to history file tree (#12453)
This new history file tree is mostly copied from the editor file tree, with some of the features stripped away:

1. Remove multiple selections
2. Remove drag and drop ability
3. Remove the ability to rename files & folders
4. No more right-click hijacking (context menu)
5. No more triple dots menu on a file tree item shown
6. No file references, since history doesn't have the data to differentiate between real files and linked file
7. etc (some other small changes that are not too important to be listed)

Other notable changes:

1. Simplify the selectable provider (the only context provider being copied from react file tree)
2. Convert to typescript

GitOrigin-RevId: 1017e545b2bd99775e01307a9b7eac2daf454014
2023-04-04 08:05:30 +00:00
Eric Mc Sween
6c234e81c0 Merge pull request #12377 from overleaf/em-server-pro-config
Config adjustments for git bridge in Server Pro

GitOrigin-RevId: 1fc4563253252e5a05118d8fda99a00c8b22126a
2023-04-04 08:05:01 +00:00
Jessica Lawshe
91ec3ca47e Merge pull request #12425 from overleaf/jel-mobile-padding
[web] Option to add padding for mobile layout on CMS pages

GitOrigin-RevId: 33775905725710d7fc16d84c00af643c4adcc590
2023-04-04 08:04:46 +00:00
Jessica Lawshe
df8000fa83 Merge pull request #12414 from overleaf/jel-grid-in-card
[web] Option to render grid in a card on the CMS

GitOrigin-RevId: b65ee396915b4e8622384ab37a453d59b1d18c88
2023-04-04 08:04:38 +00:00
Jessica Lawshe
5b1d95748d Merge pull request #12430 from overleaf/jel-tests-in-locals
[web] Move middleware setting split tests in locals

GitOrigin-RevId: 07e0203ef13d8686cf8f7a2237a45bbdab2ac3ed
2023-04-04 08:04:29 +00:00
Jessica Lawshe
17525532d0 Merge pull request #12411 from overleaf/jel-saml-cert-check
[web] Add script to check certificate dates from IdP SAML metadata

GitOrigin-RevId: 9a1153c5a636dea798bdd112d400f370355c5783
2023-04-04 08:04:21 +00:00
ilkin-overleaf
dfda9d0677 Merge pull request #12434 from overleaf/ii-history-react-feature-flag
[web] Fix history view feature flag

GitOrigin-RevId: af2e76074ed43ec1ed1b877a6ffd403abab48ec8
2023-04-04 08:03:50 +00:00
Tim Down
11f8905be4 Connect up document diff viewer to history state
GitOrigin-RevId: 610a254ea77c194969033d0791ecf1129e02c4bf
2023-03-31 08:03:47 +00:00
ilkin-overleaf
867b37b76f Merge pull request #12417 from overleaf/ii-history-react-toggle-switch
[web] Toggle switch history migration

GitOrigin-RevId: c0812d03d576bc66dd8878fa80d4ac18dd8576d0
2023-03-30 08:04:22 +00:00
M Fahru
568092e16b Add react file tree UI to history view (#12357)
* Add react file tree UI to history view

* Use history data from API to render react file tree in history view

GitOrigin-RevId: 2b1eb5422f0c91fdf5e87e21d1e5d06defd45e98
2023-03-30 08:04:17 +00:00
Brian Gough
f2e0a41f9c Merge pull request #12409 from overleaf/bg-restore-orphaned-docs
add script to restore orphaned docs

GitOrigin-RevId: d17ca801fa39ed6e6d02fa27c8f922c89fe5a2a4
2023-03-30 08:03:59 +00:00
Eric Mc Sween
ea7d633117 Merge pull request #12371 from overleaf/em-git-bridge-data-directory
Server Pro entrypoint for git bridge

GitOrigin-RevId: 278e3fa912fe015ef131d2c3f6673d154a1cdfb7
2023-03-30 08:03:54 +00:00
ilkin-overleaf
8ee8f2ded3 Merge pull request #12370 from overleaf/td-history-basic-editor
Basic document diff viewer for history view

GitOrigin-RevId: a6919cc003f8f7fad24126e407313013cf489b63
2023-03-30 08:03:48 +00:00
ilkin-overleaf
95c8a1aeea Merge pull request #12366 from overleaf/ii-react-history-context
[web] Add context to history

GitOrigin-RevId: bc504994c50c0e7abe8181a671357d5db59a3343
2023-03-30 08:03:43 +00:00
Alf Eaton
0227f186c5 Merge pull request #12389 from overleaf/mj-indentation-markers-update
[web] Update codemirror-indentation-markers

GitOrigin-RevId: 709a61cc4c9e21703313d17d6c3d8fe5632d6b10
2023-03-30 08:03:38 +00:00
Alf Eaton
4c9c0641b2 Avoid reading some variables directly from window (#12280)
GitOrigin-RevId: 93af19498470fd7903db9d55d7468f0298097cc4
2023-03-30 08:03:32 +00:00
Alf Eaton
9c78422efa Jump to line after the stored scroll position has been restored (#12324)
GitOrigin-RevId: 82265c6b0cab1ed3a34343efc5d47648e72dc41e
2023-03-30 08:03:25 +00:00