Commit graph

1795 commits

Author SHA1 Message Date
Brian Gough
ee4e1f5429 Trim project name and validate whitespace (#14976)
* add whitespace check to fixProjectname
* add whitespace check to validateProjectName
* Log a warning if the project name starts or ends with whitespace

---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: ba81e0f795e52dbba92c9fbb48cebfd8e547af08
2023-11-06 09:03:55 +00:00
Alexandre Bourdin
e322f4a31f Merge pull request #15418 from overleaf/ds-managedUsersEnabled
Managed users - Adding a managedUsersEnabled flag on subscription model

GitOrigin-RevId: a03dd169ba71255dd1bec5f7bee8ce9609d95a2f
2023-11-03 09:00:26 +00:00
Eric Mc Sween
75c7a58100 Merge pull request #15515 from overleaf/em-promisify-user-controller
Promisify UserController

GitOrigin-RevId: d56ddb32abff2c33f45efa58285c7bf02b578cd2
2023-11-03 09:00:13 +00:00
Brian Gough
d3adcff0f1 Merge pull request #15544 from overleaf/bg-misc-use-literal-paths
Replace APP_ROOT and other variables with literal paths in web imports

GitOrigin-RevId: 138f03ad9355c8c6c92a206b0e54573234a6f65d
2023-11-02 08:53:03 +00:00
Domagoj Kriskovic
af4b22fab5 Confirm email new routes (#15377)
* confirm email routes

* Style the email confirmation template (#15196)

* error handling

* prettier

* error message

* rename variables

* message codes change

* v1 redirect

* fix assigning to session

* rename rate limitter

* rate limitter per email

* add try/catch

* added stub

* prettier

* confirm email acceptance test

* confirm when created

* tests

* added rate limit tests

* new email text

* subscribe to newsletter

* beforeEach/afterEach test both variants

* move tests to OverleafAuthenticationTests

* Revert "move tests to OverleafAuthenticationTests"

This reverts commit 3c745382815da1594044a811882ba3daa24a7a3a.

* cacheflow reset after each

* remove test archive request

* use crypto for random code

* rate limit in userEmailsConfirmationHandler

* ratelimiter per type

* req.session.pendingUserRegistration

* spy in before/after each

* without deleteMany

* delete staffUser in afterEach

* stub response, format

* rate limiter outside userEmailConfirmationHandler

* mock ratelimitter

* fix subscribe promise

* add email to logger

* logger calls

* using tsscmp

* fix lint

* resendConfirmationCode rate limiter in router

* remove redirect

---------

Co-authored-by: Rebeka Dekany <50901361+rebekadekany@users.noreply.github.com>
GitOrigin-RevId: 786c477966cf2c5f6e28417fe486146ee5c10884
2023-11-02 08:52:48 +00:00
Miguel Serrano
220998839b Merge pull request #15504 from overleaf/msm-fix-import-sp
[web] Replace module import breaking Server Pro

GitOrigin-RevId: 23f65b06d14019d1878c61abdf71b6b556192dc4
2023-11-01 09:03:25 +00:00
Miguel Serrano
e22e8ff7a8 [web] SSO linking for existing group members (#15471)
* [web] SSO linking for existing group users

GitOrigin-RevId: 22a5a5a28a213860f88ae0284c1ef51a31bb268f
2023-11-01 09:03:19 +00:00
Miguel Serrano
1f56441184 Merge pull request #15514 from overleaf/jpa-single-webpack-runtime
[web] enable webpack option runtimeChunk=single in dev-env

GitOrigin-RevId: 905b362496fc5df896632db920c91aee75c30b46
2023-11-01 09:03:16 +00:00
Miguel Serrano
93b7e65f6c Merge pull request #15405 from overleaf/msm-remove-redundant-check
[web] Remove redundant check

GitOrigin-RevId: 035adf436c0d694fcb7817cd27e743683eb1252d
2023-11-01 09:03:08 +00:00
Jakob Ackermann
6906c6a28c Merge pull request #15513 from overleaf/jpa-consistent-return-type
[web] ExpressLocals: avoid returning undefined from getCssThemeModifier

GitOrigin-RevId: f5256719c2b4f06e2957f6bc971d3c895bdff5d2
2023-11-01 09:02:51 +00:00
Brian Gough
a12699133d Merge pull request #15420 from overleaf/bg-group-sso-handle-errors
handle errors in group sso login

GitOrigin-RevId: dcfba6bc4f7aec8aa9d27945b297154594368d92
2023-10-31 09:04:48 +00:00
Jessica Lawshe
8a0f2dbe1d Merge pull request #15419 from overleaf/em-error-request-logging
Use the request logger for errors in web

GitOrigin-RevId: f654fc69e0bbdab8b16d23b007aefbad08925358
2023-10-31 09:04:36 +00:00
Jessica Lawshe
1054b2d6fa Merge pull request #15491 from overleaf/jel-token-hash-log-user-id
[web] Log the user ID on token hash prefix mismatches

GitOrigin-RevId: 78d298051a9c1794ed38422bef24c852dcee3bb2
2023-10-31 09:04:26 +00:00
Jessica Lawshe
a3251394e1 Merge pull request #15473 from overleaf/jel-remove-encoded-hash
[web] Remove encoded hashtag when checking token hash prefix

GitOrigin-RevId: 2b9c369beceb7897d0f6f165b4c3a70b79c14469
2023-10-31 09:04:22 +00:00
Thomas
3cd0cefd30 Gradual rollout of new compile timeout to existing users (#15478)
* Rollout compile timeout to existing users

* Update copy for compile timeout messages

GitOrigin-RevId: bada02efb3fc506ae6e35bdb7871a58ef4295cbe
2023-10-31 09:04:11 +00:00
Alf Eaton
1314f9082c Improve detection of folder move into subfolder (#15422)
GitOrigin-RevId: 200d6e10a6e92ca85de24cae6d20f50c697ca584
2023-10-31 09:04:00 +00:00
Alexandre Bourdin
cd27ee3c8f Merge pull request #15446 from overleaf/ab-tie-user-enrollment
[web] Prevent a user from becoming managed by another group after linking group SSO

GitOrigin-RevId: d8cb763a68ca38b4aaf1518a5f93ac5a61cec28c
2023-10-30 09:04:47 +00:00
Alexandre Bourdin
c71301ac9a Merge pull request #15223 from overleaf/ab-sso-multiple-certificates-ui
[web] Support multiple certificates in group SSO settings

GitOrigin-RevId: 5f014eb82b7e0820040941fdd2bded8d33958316
2023-10-30 09:04:38 +00:00
Jessica Lawshe
16e859e40a Merge pull request #15429 from overleaf/jel-token-hash-metrics
[web] Log mismatched link sharing token hash prefixes

GitOrigin-RevId: 5ba690f4209987fccef859c858686c465e972f62
2023-10-27 08:03:27 +00:00
Davinder Singh
f97689aa87 Group SSO - Adding the SSO invite link reminder button in the dropdown (#15289)
GitOrigin-RevId: 9641946e65ede2d52645caf8876d7587a24e7dfc
2023-10-26 08:03:21 +00:00
Jessica Lawshe
21514418e5 Merge pull request #14881 from overleaf/ab-beta-program-async-await
[web] Convert BetaProgramController to async/await

GitOrigin-RevId: 2423cb00b78b2f3fddb7bcd317d34ed4dbc12b95
2023-10-25 08:05:03 +00:00
Jessica Lawshe
8da063d640 Merge pull request #15326 from overleaf/jel-link-sharing
[web] Add prefix of token hash to link sharing URLs

GitOrigin-RevId: 4b764c076a335768ab261dd1e181d90ce00fd1a2
2023-10-25 08:04:59 +00:00
Jakob Ackermann
488825efc4 Merge pull request #15383 from overleaf/jpa-remove-unused-angular-deps
[web] remove unused angular dependencies

GitOrigin-RevId: 58efeb5755b5f7d0f893e343b319bc4f1a6a3d76
2023-10-25 08:04:08 +00:00
Jakob Ackermann
347da4e6bb Merge pull request #15247 from overleaf/jpa-submission-backend-class
[web] use n2d instances for compiling submissions

GitOrigin-RevId: 57eb27af230b994c3816c0476673ea558226ac1e
2023-10-25 08:04:03 +00:00
Alf Eaton
774a0a3f18 Merge pull request #15354 from overleaf/ae-i18next-compatibility
Set compatibilityJSON to v3 for plural suffixes

GitOrigin-RevId: 8da0fc5a2777dbdc9abe9d72a47adab029ab91ef
2023-10-23 08:04:01 +00:00
Davinder Singh
3b48b32754 Revert "Revert "Group SSO - Adding a bug fix for sending emails"" (#15307)
* Revert "Revert "Group SSO - Adding a bug fix for sending emails""
* adding conditional rendering of columns and styling fixes for each render mode with some cypress test

GitOrigin-RevId: 168011503ffacff61c8f37bee4c4bfb012909c1f
2023-10-20 08:04:08 +00:00
Eric Mc Sween
680ebae30b Merge pull request #15172 from overleaf/em-promise-utils
Move util/promises from web into a shared library

GitOrigin-RevId: fe1980dc57b9dc8ce86fa1fad6a8a817e9505b3d
2023-10-20 08:04:05 +00:00
Alf Eaton
ef3e8f666b Merge pull request #15214 from overleaf/ae-legacy-source-editor
Remove legacy source editor option from Server CE/Pro

GitOrigin-RevId: 32a7bf9b54c0082f3ab3ffb5fa11f5b4f2a3bf64
2023-10-20 08:03:51 +00:00
Alf Eaton
749aef1c6f Add optional personal access tokens for git bridge (#15209)
GitOrigin-RevId: 50d4c0e11728e014e81172c062a3b22fefa6286c
2023-10-20 08:03:27 +00:00
M Fahru
6408d150d5 Merge pull request #15242 from overleaf/mf-index-all-references-after-bib-is-modified
[web] If a particular bib is modified, index all the existing bib files instead of only indexing the modified bib file

GitOrigin-RevId: 2d0f965746c45142f0927d06a23759aa5ff52c1a
2023-10-19 08:03:25 +00:00
Jimmy Domagala-Tang
01315b9291 Merge pull request #15175 from overleaf/jdt-parse-bib-slashes
feat: adding better error handling for brackets with only backslashes
GitOrigin-RevId: b98ed165d882ce40c924f7ac6d063cc33c867104
2023-10-19 08:03:14 +00:00
Tim Down
ec085a0807 Merge pull request #15262 from overleaf/td-ide-page-feature-flag
Add IDE page split test handling

GitOrigin-RevId: 911e6d842ad473fcdb99d9715aeea18f02907a99
2023-10-19 08:02:59 +00:00
M Fahru
e53f3bb158 Merge pull request #15044 from overleaf/mf-send-warning-to-users-with-personal-and-group-subscriptions
Show notification warning to user with both personal and group subscriptions

GitOrigin-RevId: 7f46d7af10389f552175ce26fae9469e0167f95b
2023-10-18 08:05:04 +00:00
Alexandre Bourdin
fcdc754fe4 Merge pull request #15272 from overleaf/ab-group-sso-check-plans-page
[web] Conditionally display the Group SSO check for Group Pro plan

GitOrigin-RevId: 8e661543277d989240d50d2ee7f019b604649bf7
2023-10-18 08:04:53 +00:00
Rebeka Dekany
4b6b9c3bef Merge pull request #15258 from overleaf/rd-remove-b2s
Tear down Back to School promo 2023

GitOrigin-RevId: e2682f5fd265bdb4ad561a6d98fe49bc1f326489
2023-10-17 08:03:22 +00:00
Alexandre Bourdin
b8a5eca1d0 Merge pull request #14836 from overleaf/ab-split-test-cache-refactoring
[web] Fetch all active split test into cache at once

GitOrigin-RevId: b477b88bf281349433af2cf692a0e9ea5b036588
2023-10-17 08:03:17 +00:00
Miguel Serrano
22531969f6 Merge pull request #15080 from overleaf/msm-configurable-upload-timeout
[web] Add configurable project upload timeout

GitOrigin-RevId: da26d7edbce9169c92cc3bc8746cb42e5c0e4919
2023-10-16 10:02:04 +00:00
Eric Mc Sween
5b08d76817 Merge pull request #15211 from overleaf/em-remove-sl-history-frontend
Remove SL history frontend

GitOrigin-RevId: f6f98db7792b47f365b46da14fc823ee58787cdb
2023-10-13 08:03:51 +00:00
Davinder Singh
e1532f068a sending emails to user when SSO is enabled (#15133)
Co-authored-by: Miguel Serrano <mserranom@gmail.com>
GitOrigin-RevId: 1b485a09844edc8f71f88fa07439581afc007749
2023-10-13 08:03:40 +00:00
Eric Mc Sween
863a645dfb Merge pull request #15095 from overleaf/em-invite-audit-logs-3
Write audit logs when a user joins a project via token

GitOrigin-RevId: 083fb7301ac2193c276a35bbf4dbf4f37d0ffa3b
2023-10-12 08:03:37 +00:00
Eric Mc Sween
cb16d6fb2e Merge pull request #15090 from overleaf/em-invite-audit-logs-2
Write audit logs when user leaves or is removed from a project

GitOrigin-RevId: 7c9cf025a0266099c1afa34035a8d8db38353193
2023-10-12 08:03:33 +00:00
John Lees-Miller
8f1dac6d68 Merge pull request #15195 from overleaf/tm-compile-timeout-20s-phase-two-date-change
Update new/existing user cut off date for compile timeout

GitOrigin-RevId: 382e8bc171f1d3728cfbaefa85d9c2d13779d4ee
2023-10-11 08:03:46 +00:00
Eric Mc Sween
33765cd650 Merge pull request #15001 from overleaf/em-invite-audit-logs
Project audit logs for invite operations

GitOrigin-RevId: c2db4bc719f508c5bf33be2c59eddfb63fcdae25
2023-10-11 08:03:41 +00:00
Thomas
03aaabd5cb Merge pull request #15169 from overleaf/tm-compile-timeout-20s-phase-two
Decide new user cutoff using baseline (original) n2d assignment

GitOrigin-RevId: 7ea263cc551f87a4d9fed70450c32d7dea6b1e58
2023-10-11 08:03:33 +00:00
Alexandre Bourdin
13709ddf0e Merge pull request #15176 from overleaf/ab-enable-managed-users-prod
[web] Set MANAGED_USERS_ENABLED=true for production

GitOrigin-RevId: b5fb15903b6e5289ea2ac67b7dea5be01420fe54
2023-10-10 07:58:18 +00:00
Davinder Singh
9563373466 Group SSO - Adding disable button functionality (#15052)
GitOrigin-RevId: 50024c6a8c6ce3fc64262f813bb31f3639746aae
2023-10-10 07:57:51 +00:00
Alexandre Bourdin
06e57bce87 Merge pull request #15137 from overleaf/ab-managed-users-professional-plan
[web] Restrict managed users eligibility to professional group plans

GitOrigin-RevId: 29b20067858d3aac9a17f5c78defc05d04d29bda
2023-10-09 08:04:15 +00:00
Alexandre Bourdin
7268e0f0aa Merge pull request #15084 from overleaf/ab-managers-users-ga
[web] Managed users general availability prep

GitOrigin-RevId: 9ab286a67c15f67e5d7617db506547b6ead8a9cb
2023-10-09 08:04:11 +00:00
Alf Eaton
8a93044a2a Merge pull request #15127 from overleaf/ae-mandrill
Remove Mandrill nodemailer transport

GitOrigin-RevId: e83897fd8d54accec0954b9a36bb502a30cff22f
2023-10-09 08:03:56 +00:00
Brian Gough
1f4960165b Merge pull request #15061 from overleaf/bg-server-pro-migrate-emails-script
add migrate emails script for server pro

GitOrigin-RevId: be5fc166554d08100de175133d413ecb1a29623a
2023-10-06 08:04:16 +00:00
M Fahru
d378246468 Merge pull request #15057 from overleaf/mf-lhs-makefile-editable
[web] Add `lhs` and makefiles (`makefile`, `gnumakefile`, and `*.mk`) as editable files

GitOrigin-RevId: d5f32aeab05947e7b8fec1c9bb6ec1defca42cdf
2023-10-05 08:04:50 +00:00
Eric Mc Sween
872904d73e Merge pull request #14945 from overleaf/em-promisify-collaborators-invite-handler
Promisify CollaboratorsInviteHandler

GitOrigin-RevId: 070f7938eb1c306905b3b70bef212a09b57cdf20
2023-10-05 08:04:13 +00:00
Alf Eaton
6dbb2df5b8 Remove editor split tests (#14985)
* Remove source-editor-toolbar split test
* Remove editor-left-menu split test
* Remove paste-html split test
* Remove figure-modal split test
* Remove rich-text split test
* Remove table-generator split test

GitOrigin-RevId: e3fe415b81ff0135d8764cd3f3c91b1dd4a77cf0
2023-10-04 08:04:34 +00:00
Eric Mc Sween
0f473d9a9f Merge pull request #14989 from overleaf/em-promisify-collaborators-invite-controller
Promisify CollaboratorsInviteController

GitOrigin-RevId: 007b77823a9332464123c11da55dda8571803095
2023-10-04 08:04:28 +00:00
Jakob Ackermann
efb36b7193 Merge pull request #14698 from overleaf/bg-sg-use-node-watch
[misc] replace nodemon with "node --watch"

GitOrigin-RevId: 8b34861887b39ffe1c64d9e4679f8ebef09302bd
2023-10-03 08:04:36 +00:00
Thomas
843b4f3940 Move checkout to subscriptions module (#15022)
* Move checkout to subscriptions module

GitOrigin-RevId: 0ad6587ddd7042aed7f2e18d9d0668e02942eb1e
2023-10-03 08:04:31 +00:00
Tim Down
ea1fc5f74e React IDE page shell (#14988)
* React IDE page shell

* Set the maximum height of the symbol palette to 336px

* Tidy export

* Remove unnecessary destructuring

* Update comment

* Optimize toggle

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>

* Change snap-to-collapse threshold to 5%

* Synchronize left column width between history and editor views and remove duplication in ide-page

* Replace resizer dots with SVG

* Rermove unnecessary import and comment the remaining ones

* Use block prepend to avoid duplication

* Improve vertical content divider styling

* Implement fixed width during container resize on left column

* Change IDE page file extension

* Refactor fixed-size panel into a hook and use for chat panel

---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: aa881e48a2838a192b6f8f9e16e561f5cd706bd3
2023-10-03 08:04:04 +00:00
Tim Down
6fc312165f Reindex references on deleting or refreshing a .bib file (#14938)
* Reindex references on deleting or refreshing a .bib file

* Remove rendundant props

* Tweak file refresh payload, send refresh response after update to keys, remove some unnecessary returns

* Tidy up

GitOrigin-RevId: bc0309a54fbfd0eb7d8285032300453d360d6b2f
2023-09-29 08:04:25 +00:00
Alf Eaton
15475cdb3c Copy tags when cloning a project (#14987)
GitOrigin-RevId: 4cdca0ef2f26bf6bba02b675b0ef02ba8da881e2
2023-09-29 08:04:14 +00:00
Mathias Jakobsen
dc86b0285a Merge pull request #14663 from overleaf/mj-table-generator-promo
[cm6] Add promotion popover for table generator and pasting formatted text

GitOrigin-RevId: 9096b36ac4f07d1fc862ecc3bd5df033348950ab
2023-09-28 08:04:21 +00:00
M Fahru
8111ff2865 Merge pull request #13543 from overleaf/mf-enhance-group-invitation-ux
Show dashboard notification to registered users after being invited to join a group subscription

GitOrigin-RevId: ad03dfea95f0d5d1a38780adc3e9d618eae0a48d
2023-09-26 08:04:11 +00:00
Jakob Ackermann
926d8911e1 Merge pull request #14913 from overleaf/jpa-no-cache-for-anon
[web] purge split test cache for anonymous users

GitOrigin-RevId: e268b30ac03d4cab0f7976657089c58bc3c84210
2023-09-25 08:04:30 +00:00
Jakob Ackermann
a2cf7b459c Merge pull request #14902 from overleaf/jpa-node-18-18-0
[misc] upgrade Node.js to latest LTS 18.18.0

GitOrigin-RevId: 96c7171065ceb8797c28efa4ab331d86a84868d2
2023-09-25 08:04:25 +00:00
Brian Gough
5e21812e17 Merge pull request #14925 from overleaf/revert-14923-csh-2023-09-20-double-revert
Revert "Csh 2023 09 20 double revert" and remove content-length header

GitOrigin-RevId: 04e88bb46ac0de221325f98805d471dcf4956758
2023-09-22 08:03:52 +00:00
Christopher Hoskin
b1ae8be927 Merge pull request #14923 from overleaf/csh-2023-09-20-double-revert
Csh 2023 09 20 double revert

GitOrigin-RevId: 6446cbb999aa892cd2fa32fc66d231654bbdf12a
2023-09-21 08:04:13 +00:00
Brian Gough
2e00894270 Merge pull request #14861 from overleaf/jpa-web-restrict-new-subscription
[web] block web sales to restricted countries

GitOrigin-RevId: 21029cf016eaa0c63ce6939ab8681979118a9dc4
2023-09-21 08:03:56 +00:00
Brian Gough
1234534a7f Merge pull request #14871 from overleaf/bg-fix-linked-files-with-fetch-utils-error
handle "File too large" errors from linked-url-proxy in web

GitOrigin-RevId: f370e8855a9f696bfbff3658f79a1f2fc2f02028
2023-09-21 08:03:35 +00:00
Brian Gough
2394a32858 Merge pull request #14870 from overleaf/bg-async-await-linked-files-handler
add exported promises to linked files handler

GitOrigin-RevId: 43570f7e93240c3b5901eecb28325930f2b8fb05
2023-09-20 08:03:47 +00:00
Brian Gough
67ec78f7c6 Merge pull request #14827 from overleaf/bg-size-limit-for-all-files
add size limit for all streamed files in web

GitOrigin-RevId: 65ab73163bc94a643977f8a0a1fd7418bbf6e365
2023-09-20 08:03:43 +00:00
Jimmy Domagala-Tang
ab4f0d6c5f Merge pull request #14866 from overleaf/jdt-hist-rename-test
fix: rename the history view split test so we can reroll it
GitOrigin-RevId: fd42fab5b6fd715b89688b401596962453b1d002
2023-09-19 08:04:10 +00:00
John Lees-Miller
7939abdcab Merge pull request #14878 from overleaf/tm-compile-timeout-20s-split-test-fix
Fix for incorrect split test assignment function calls

GitOrigin-RevId: e942ee78a2a5fb3a6a50b6f73eb212afdccbe63d
2023-09-19 08:04:06 +00:00
John Lees-Miller
3487ddbc81 Merge pull request #14874 from overleaf/tm-compile-timeout-20s-plans-pages
Changes to the plans/interstitial pages for compile timeout reduction

GitOrigin-RevId: 753e6eaf98d70b8aa994ec9dcad5185dbbeb5a42
2023-09-19 08:04:01 +00:00
Thomas
31cb9e336b Implement test to reduce compile timeout to 20 seconds (#14705)
Compile timeout reduction to 20s for treatment users

Co-authored-by: Rebeka <rebeka.dekany@overleaf.com>
GitOrigin-RevId: 54f70fe4b1fc631cef966deb0c1d28c904dd3a44
2023-09-19 08:03:52 +00:00
Jakob Ackermann
fb4b6e0e41 Merge pull request #14859 from overleaf/jpa-web-restrict-ip-override
[web] ignore ip override for non admin users

GitOrigin-RevId: c11b938fa05d0328531b0ce088c7c3c29a9f13f5
2023-09-18 08:04:04 +00:00
ilkin-overleaf
c6289cc67f Merge pull request #14773 from overleaf/ii-modify-design-system-update-split-test
[web] Modify design-system-update split test

GitOrigin-RevId: f28aeef5ba782006afd30fd2862d0ad129077f6c
2023-09-18 08:03:49 +00:00
Jakob Ackermann
c32303280d Merge pull request #14825 from overleaf/jpa-debug-bcrypt-get-rounds
[web] add debug logging for bcrypt.getRounds calls

GitOrigin-RevId: 3fe8dca1d188f4e65d666da19f4bd4697623b7a6
2023-09-14 08:04:45 +00:00
M Fahru
7216d35174 Fix invite url is not passed correctly to managed users invitation emails
GitOrigin-RevId: f334215a7c83088df175467561d41537cfe9e2a8
2023-09-14 08:04:41 +00:00
Jakob Ackermann
1e4dcc84d9 Merge pull request #14803 from overleaf/jpa-split-test-cache-alpha-beta
[web] invalidate split test cache when alpha/beta program status changes

GitOrigin-RevId: 3023d2adf8466b48490c51497f5c80e7b0a1fe3d
2023-09-14 08:04:12 +00:00
Jakob Ackermann
d19090e398 Merge pull request #14736 from overleaf/jpa-split-test-optimizations
[web] split test optimizations

GitOrigin-RevId: 97aa6c5aaad7f2dbb2f2fe9da33812857982996a
2023-09-13 08:03:50 +00:00
Miguel Serrano
0f30edf69f Merge pull request #14585 from overleaf/msm-sso-config-modal
[web] SSO Config modal

GitOrigin-RevId: e704afa61fe14390b64ce29a27ccbce7e884b396
2023-09-13 08:03:46 +00:00
Thomas
6be63d4f96 Run create subscription checks in subscriptions module (#14738)
GitOrigin-RevId: dacdf883e477b2587f9a10a069e9f63989f94498
2023-09-12 08:05:08 +00:00
Jakob Ackermann
7b472bcd80 Merge pull request #14732 from overleaf/jpa-split-test-metrics
[web] collect metrics for split test system

GitOrigin-RevId: 6440b9b9d9900cb8eac9a82ab2f62ae93d7e502a
2023-09-11 08:05:22 +00:00
Jakob Ackermann
3bc7407ba9 Merge pull request #14696 from overleaf/jpa-lean-mongo-queries
[web] use lean mongo queries

GitOrigin-RevId: 5c9e2cddb2c45835dd9bb87c31b6e9d2b91873fd
2023-09-08 08:04:08 +00:00
Brian Gough
e7703242e1 Merge pull request #14687 from overleaf/bg-queue-affiliation-confirmation
add rate limited bull queue for institutional domain confirmation

GitOrigin-RevId: 6dd38b586b7023e017d6480567a3f5faff74cbd5
2023-09-08 08:03:51 +00:00
Brian Gough
2f926ce09e Merge pull request #14685 from overleaf/bg-refactor-institutions-controller
refactor InstitutionsController and unit tests

GitOrigin-RevId: 947733b276fd3a5597baa0e95cd0ecca4853611f
2023-09-08 08:03:47 +00:00
Eric Mc Sween
3fa1245860 Merge pull request #14567 from overleaf/em-history-ranges-flag
Add historyRangesSupport flag to projects

GitOrigin-RevId: 1e3f24a7c6f209bbd34eaaf4caee56dc7061b3da
2023-09-06 08:06:19 +00:00
Eric Mc Sween
16c4f6219e Merge pull request #14470 from overleaf/em-promisify-document-controller
Promisify DocumentController

GitOrigin-RevId: f9ae24fc396cbcd27148ec4add641a0907bcf014
2023-09-06 08:06:14 +00:00
Thomas Mees
64159d7e5c Show back to school banner on plans page for logged out users
GitOrigin-RevId: 599df0ca2f650a43a66a4c031692266e2b0d3cd4
2023-09-06 08:05:42 +00:00
Jakob Ackermann
a2e231185c Merge pull request #14606 from overleaf/jpa-bcrypt-metrics
[web] add metrics for bcrypt operations

GitOrigin-RevId: 42bf9bedb84295ceea7f660f1daac3adb7b853d9
2023-09-05 08:04:56 +00:00
Alf Eaton
5aeb461551 Add style-src directive to CSP for binary template PDF output (#14573)
GitOrigin-RevId: c4a93af0a3dad8accbe2655c2323f2d14cc8e551
2023-09-04 08:04:26 +00:00
Brian Gough
bf04275478 Merge pull request #14090 from overleaf/bg-best-reduce-rate-limiter-on-confirmation-email-resend
reduce rate limiter on confirmation emails

GitOrigin-RevId: 87743dd9dac483a68ff82f1185ae1156d60b0575
2023-08-31 08:04:05 +00:00
Jimmy Domagala-Tang
3bb7a7c7ba Merge pull request #14380 from overleaf/jdt-history-onboarding-saves
save onboarding completion on user

GitOrigin-RevId: bcb4d9d1909aa11e5cfcf283e04fe1057460bf7b
2023-08-30 08:05:17 +00:00
Jakob Ackermann
6b61d906ba Merge pull request #14562 from overleaf/jpa-disable-connection-checking
[web] workaround for broken detection of idle connections in CI

GitOrigin-RevId: ae9ff2b9b1bf99b56d8eb1af6e035b6ed08f7477
2023-08-30 08:05:02 +00:00
Rebeka
2b4d3dcb20 revert documentation-on-editor split test implementation
GitOrigin-RevId: dacdd0eca50a14525366d55f1c4cc12f7b54c0de
2023-08-30 08:04:10 +00:00
Jakob Ackermann
63bd1f6095 Merge pull request #14501 from overleaf/jpa-streaming-log-noise
[web] CompileController: ignore noisy spurious error

GitOrigin-RevId: 8885286a5e06bfa38bc70d98b703f52a1269d899
2023-08-28 08:04:57 +00:00
John Lees-Miller
401f9d6297 Merge pull request #14526 from overleaf/jlm-improve-confirmed-email-check
Check confirmation on subscription new and create

GitOrigin-RevId: daf95be86d529427a128973f8185b2cf91ec940b
2023-08-28 08:04:52 +00:00
M Fahru
a834e02cd5 Merge pull request #14442 from overleaf/mf-resend-group-invite
[web] Add an option to resend group invite in managed users setting

GitOrigin-RevId: 75625c5a50dfc74b48b3a465c9f713e2d6179db8
2023-08-24 08:04:18 +00:00
M Fahru
f4455d3e87 Merge pull request #14474 from overleaf/ab-managed-users-copy-url-updates
[web] Update URLs and copy in managed users screens

GitOrigin-RevId: 97820499c4f8123425ddf103a4cd2666be4db08a
2023-08-24 08:04:12 +00:00
Thomas
43c92642c6 Implement Back to School 2023 banners and modal (#14363)
* Implement Back to School 2023 banners and modal

* Only show WritefullPromoBanner if not showing BackToSchoolModal

GitOrigin-RevId: 3bd2ea48fa6d66f112cc26662a61be05cf7daafd
2023-08-24 08:04:09 +00:00
Alf Eaton
8ec33fb9bf Enable panel toggle buttons in all environments (#14406)
GitOrigin-RevId: 3af322c3c679d5bae467a70a4415b88a040f930d
2023-08-24 08:03:59 +00:00
Miguel Serrano
0bb5e27dff Merge pull request #14432 from overleaf/msm-repurpose-managed-users-flag
[web] Repurpose `managedUsers.enabled` flag

GitOrigin-RevId: b968048a51feba887aaed798908779612e8c8c96
2023-08-24 08:03:37 +00:00
Miguel Serrano
9727cfb6b7 Merge pull request #14370 from overleaf/msm-managed-user-plan-page
[web] Add managed users to plans page

GitOrigin-RevId: 878f5b6d8531542dc6d4df0cb6bab3f2fe90fbdd
2023-08-24 08:03:34 +00:00
Jakob Ackermann
b0f5003708 Merge pull request #14091 from overleaf/jpa-split-web-dependencies
[web] only include production dependencies in the production image

GitOrigin-RevId: edb33543145903de55f263de7385f6a779830b54
2023-08-24 08:03:31 +00:00
John Lees-Miller
2ad98aa61c Merge pull request #14460 from overleaf/tm-prevent-checkout-unconfirmed-email
Restrict checkout page for users without confirmed primary email

GitOrigin-RevId: a02b0f64824f8adc8f15ae24b9132569bd1029f3
2023-08-24 08:03:21 +00:00
M Fahru
1e4028d05e Merge pull request #14311 from overleaf/mf-resend-surrender-email
[web] Add an option to resend managed users invite in managed users setting

GitOrigin-RevId: 2734ef3be31f77c309caec96e97411c9d48a8160
2023-08-23 08:05:50 +00:00
Alexandre Bourdin
68c4b58eaa Merge pull request #14414 from overleaf/ab-group-sso-feature-flag
[web] Group SSO subscription feature flag

GitOrigin-RevId: 697290ba716d7b82c161de2a8434e31a9bc5f373
2023-08-23 08:05:14 +00:00
Eric Mc Sween
59dbf3ca10 Merge pull request #14424 from overleaf/em-test-server-pro-templates
Add a switch to enable ServerPro templates in the dev environment

GitOrigin-RevId: 27bd9921ae43a4c29f66f78c34ca8c10f14d930c
2023-08-22 08:03:56 +00:00
Jakob Ackermann
ec11a74452 Merge pull request #14408 from overleaf/jpa-server-pro-history-zip-name
[web] fix file name for history zip download in Server Pro/CE

GitOrigin-RevId: e51213c4758bf241f8291a67231169ad7d54d423
2023-08-18 12:11:46 +00:00
Alf Eaton
e54a1d1a43 [cm6] Remove Galileo code (#14336)
GitOrigin-RevId: 878faff8eea90f508aa94e4471990c31d5d3f0e5
2023-08-18 12:11:28 +00:00
Jakob Ackermann
33ac9e18f9 Merge pull request #14358 from overleaf/jpa-abort-check
[web] skip streaming clsi response when the request was aborted

GitOrigin-RevId: 8152399f18328eafd3e93143190a5eb8d1fdff1d
2023-08-18 08:04:51 +00:00
M Fahru
a5ad8a1deb Merge pull request #14252 from overleaf/mf-send-emails-surrendering-account
Send email to notify users to surrender their account to be managed in a managed users group environment

GitOrigin-RevId: 1f366a9ca1b5359844e288d33ee91097acb71c64
2023-08-17 08:03:10 +00:00
Miguel Serrano
b8dc589303 Merge pull request #14241 from overleaf/msm-skip-subscription-deletion-groups
Temporarily skip subscription deletion for managed groups

GitOrigin-RevId: 6452a156e255fc599bdd25e38edb15659009a15a
2023-08-17 08:03:02 +00:00
Alf Eaton
c8f0885316 Remove CM5 Rich Text module (#11776)
GitOrigin-RevId: 812d3b5f1df7e769c8be732ccb31653e8e9a8aa3
2023-08-16 08:03:35 +00:00
Miguel Serrano
1725415e31 [web] Remove module import from core
Replaces the imported function call with an inline check.

GitOrigin-RevId: 692af8353258b13b61104cbac775c75d3bda3528
2023-08-15 08:03:46 +00:00
M Fahru
014d08e166 Pass object with err field to logger instead of passing OError class instance.
GitOrigin-RevId: 7944ba970f0b9867cfed431ae1fb7e15145c7ba7
2023-08-15 08:03:41 +00:00
M Fahru
be8b7dfa1e Add link to "change project owner" wiki page in the email template when inviting an existing user to join managed users.
GitOrigin-RevId: a1079a6a54f0c354bef368fe6e9257be4ce0b07e
2023-08-15 08:03:38 +00:00
M Fahru
7ab6f751d9 Add trailing dot on email template when inviting new user to join managed users.
GitOrigin-RevId: 531e9a201782e7fb373bd7cde9f14c45e267f704
2023-08-15 08:03:36 +00:00
Alf Eaton
8f1de5fa09 [visual] Convert pasted HTML to LaTeX (#12094)
GitOrigin-RevId: a2fd4411ab8655eea834d321025efb9644081252
2023-08-14 08:05:05 +00:00
M Fahru
c71bf25363 Show admin email in enrollment page accessed via dashboard notification and email invitation.
GitOrigin-RevId: 4589a276a1b7db2ba0a5da2c06bde797ba8d0b65
2023-08-11 08:04:05 +00:00
M Fahru
a3e30c0a39 Merge pull request #14178 from overleaf/mf-admin-email-managed-group-alert
Add managed group admin email inside managed group alert on the subscription page & team invite page warning

GitOrigin-RevId: 00929008170ef9302ddcbbf10aefd76f95e189a8
2023-08-10 08:05:04 +00:00
Rebeka
b9e8cbff2e copy the plan&interstitial pages and update the view to show the annual view and plan to show the free trial options
GitOrigin-RevId: e77f0f9c4825776d3abb28ce5c46e3e2c456719e
2023-08-10 08:04:47 +00:00
Rebeka
616bf6c43e add annual trial split test
GitOrigin-RevId: 01b04a1fc7054178b6c17f7e4f0f5aef3e72ac24
2023-08-10 08:04:42 +00:00
Alexandre Bourdin
c634267142 Merge pull request #14187 from overleaf/mf-update-email-group-invite-general
Add new email template when sending managed users group invitation for existing users

GitOrigin-RevId: e4b4ded9b28400e73f85948f8f10f6fc5a7c01b4
2023-08-10 08:04:35 +00:00
Alexandre Bourdin
53131239d0 Merge pull request #14169 from overleaf/revert-14167-revert-14106-ab-ab-group-settings-admin-only
Revert "Revert "[web] Restrict group settings page and managed users activation to group admin""

GitOrigin-RevId: 3e622fe3c25dfa9940351450f55c1441634fbd44
2023-08-10 08:04:24 +00:00
Alexandre Bourdin
114e9bc9c8 Merge pull request #14130 from overleaf/ab-cancel-reactivate-sub-sync-status
[web] Update subscription from Recurly when canceling/reactivating

GitOrigin-RevId: 7ba9a3d8ee41efa3435ef6d8b29c7b71f008c069
2023-08-10 08:04:20 +00:00
Mathias Jakobsen
c332a65eb0 Merge pull request #14105 from overleaf/mj-table-generator
[visual] Initial table generator

GitOrigin-RevId: 5c1a9cad898c988d21390358872a6c2eaf1c32fc
2023-08-09 08:04:15 +00:00
Alf Eaton
c0ab5d498d Set Cache-Control: private for project files (#13750)
GitOrigin-RevId: b111c792a49a8a5e37734b5fcce1a69f4904c1ff
2023-08-04 08:05:31 +00:00
Mathias Jakobsen
8bca6ed9e9 Merge pull request #14167 from overleaf/revert-14106-ab-ab-group-settings-admin-only
Revert "[web] Restrict group settings page and managed users activation to group admin"

GitOrigin-RevId: 01eea0696bae95a5c1c6b48486c08219445558a4
2023-08-04 08:04:46 +00:00
Jimmy Domagala-Tang
dfc9138dd6 Merge pull request #13272 from overleaf/jdt-hackathon-merge-ff
Allow merge/ replace of local feature flags

GitOrigin-RevId: 531c2b9e73da8b8ca90ec0ed334a21c584cebe59
2023-08-04 08:04:25 +00:00
Domagoj Kriskovic
d3fabbc3e3 [cm6] autocomplete for memoir ref commands (#14120)
* [cm6] autocomplete for memoir ref commands

* added nameref

* remove from top hundred

GitOrigin-RevId: df34ee145b04831bf63d756fbdda05dcc4633b5d
2023-08-04 08:04:11 +00:00
ilkin-overleaf
083bee6545 Merge pull request #14129 from overleaf/ii-ref-providers
[web] Map refProviders values to booleans

GitOrigin-RevId: d1a81dab4eb432e4e34f1f195b80dd676bfe172e
2023-08-04 08:04:02 +00:00
Alexandre Bourdin
d2d2386441 Merge pull request #14106 from overleaf/ab-ab-group-settings-admin-only
[web] Restrict group settings page and managed users activation to group admin

GitOrigin-RevId: 97235d3e78d97d9c367ce7de70072607f15d98f0
2023-08-04 08:03:48 +00:00
Alexandre Bourdin
d981ac2279 Merge pull request #14102 from overleaf/ab-disable-managed-users
[web] Disable managed users from admin panel

GitOrigin-RevId: 04328fe0caf81cacc42d05100f6400d5dfb748ce
2023-08-04 08:03:44 +00:00
Jakob Ackermann
bf2e33ec83 Merge pull request #14023 from overleaf/jpa-web-clsi-fetch
[web] migrate CompileController from request to node-fetch

GitOrigin-RevId: ffb3319319d7f986ec972b4b6c56bd5499ecd9ab
2023-08-04 08:03:39 +00:00
John Lees-Miller
7c7a3d7a9c Merge pull request #14143 from overleaf/jlm-unsampled-compiles
Remove compile sampling for analysis

GitOrigin-RevId: 2457977d61756be52db506d7c84531b22a26abe0
2023-08-03 08:04:12 +00:00
Jakob Ackermann
595f59201c Merge pull request #14135 from overleaf/jpa-web-tpds-no-filewriter
[web] remove FileWriter dependency in tpds update

GitOrigin-RevId: 7b7b31d919e61631fdeaf4909637ab2181848060
2023-08-03 08:03:41 +00:00
Jakob Ackermann
6bf8841560 Merge pull request #14103 from overleaf/jpa-web-create-dump-once
[web] create the dump folder once at startup

GitOrigin-RevId: 0026ebe15a92f0d17f97966c89cb471b1282d061
2023-08-03 08:03:37 +00:00
Alexandre Bourdin
4b3cff051a Merge pull request #14096 from overleaf/bg-managed-users-restrict-join-other-group
prevent managed users joining other groups

GitOrigin-RevId: ad47e08d302473dccbe150722d93c9194f15e95f
2023-08-01 08:04:44 +00:00
Alexandre Bourdin
72ba5596c4 Merge pull request #14027 from overleaf/ab-tags-handler-async
[web] Convert TagsHandler to async/await

GitOrigin-RevId: ddde174b77a6d42e61f3f6aa2783762c8605ee91
2023-08-01 08:04:37 +00:00
Rebeka
d2a27c1da0 tear down remove personal plan split test
GitOrigin-RevId: 5bcd4073ffbd444f153a9e081ecdca2b1435487d
2023-08-01 08:04:12 +00:00
Jimmy Domagala-Tang
53c613906f Merge pull request #13809 from overleaf/jdt-front-panel-improvements
Front panel improvements

GitOrigin-RevId: 6d295453819ba2931dc8b6e1c3d947e09ea4eff8
2023-08-01 08:03:52 +00:00
Tim Down
800c9d63b4 Merge pull request #14048 from overleaf/mj-recurly-script-update
[web] recurly resync script update

GitOrigin-RevId: 798cb73f46b763f6ece6b12d63fe82fbcc6c2920
2023-07-28 08:04:14 +00:00
Brian Gough
9631cb1039 Merge pull request #14032 from overleaf/bg-managed-users-per-subscription-database-flag
add per subscription database flag for managed users

GitOrigin-RevId: 5e01a0bb74a167f1072a99a0b689d5856432863d
2023-07-28 08:03:54 +00:00
Brian Gough
5c5649bc8c Merge pull request #14009 from overleaf/bg-project-name-validation-clone-whitespace
trim whitespace from project name when cloning

GitOrigin-RevId: cb3908a49ad15a9ad4f4e5d490932c4d97a84590
2023-07-25 08:04:26 +00:00
Tim Down
3aa0fcf464 Merge pull request #13934 from overleaf/tm-block-subscriptions-restricted-countries
Block web sales to restricted countries

GitOrigin-RevId: 47c0ac1d5dc387369bbadb67f5822d7fc6637d98
2023-07-25 08:03:59 +00:00
Mathias Jakobsen
c7006fabd4 Merge pull request #13980 from overleaf/mj-web-compile-timeout
[web] Add timeout for compile requests to clsi

GitOrigin-RevId: 94d6de60eec1fc9e52971e14f38f2d4aef6b7f5d
2023-07-24 08:03:46 +00:00
Brian Gough
d2f470450e Merge pull request #13933 from overleaf/bg-managed-users-add-missing-jsdoc-param
refactor getUserValidationStatus in PermissionsManager

GitOrigin-RevId: 80ef8142d3556e47e1d6cb323148f1f1042057aa
2023-07-21 08:04:40 +00:00
Brian Gough
558992d947 Merge pull request #13916 from overleaf/bg-managed-users-hide-leave-group-action
managed users hide leave group action

GitOrigin-RevId: 160e31e6935cd3737356714020e057f8c1acc5b8
2023-07-21 08:04:36 +00:00
Brian Gough
f3ac016566 Merge pull request #13907 from overleaf/bg-managed-users-allow-cancelled-subscriptions
allow cancelled subscriptions for managed users

GitOrigin-RevId: 56262ce4bd4cc93d4e5ea92222c76a874d6cad1e
2023-07-20 08:05:08 +00:00
Brian Gough
f9a7ede032 Merge pull request #13931 from overleaf/bg-managed-users-add-missing-param
add missing parameter on getUserValidationStatus

GitOrigin-RevId: 018f1194c92a1b3d8d6db9628f16554de244c187
2023-07-19 08:05:11 +00:00