Commit graph

18269 commits

Author SHA1 Message Date
Eric Mc Sween
fd60549482 Merge pull request #6386 from overleaf/em-promisify
Promisify UserAdminController

GitOrigin-RevId: 51bf4ddd0673409006658fb0d8cc60a8b4e1071d
2022-01-20 09:04:15 +00:00
Eric Mc Sween
7446523205 Merge pull request #6358 from overleaf/jel-fix-de-ng-link
[web] Fix modal link in plans FAQ

GitOrigin-RevId: 29137e71f5f0930443660086fb3a1cc3d87b05dd
2022-01-20 09:04:09 +00:00
Alf Eaton
f065a7a909 Improve the Icon component (#6245)
GitOrigin-RevId: fbb23b32c47edbe5a22badc627318accbd09e82a
2022-01-20 09:03:58 +00:00
Alf Eaton
ee00ff3c44 [web] Add the meta[viewport] tag to all pages (#6301)
* Always add the meta[viewport] tag
* Set metadata.viewport to false on projects list page
* Remove setting metadata.viewport = true
* Add viewport: false to editor page

GitOrigin-RevId: 6f9d4c1972e3e6fdf1b6c23cd17d57ba866fcaeb
2022-01-20 09:03:48 +00:00
Alf Eaton
d1e210319b Merge pull request #6389 from overleaf/ae-github-capitalisation
Fix "GitHub" capitalisation

GitOrigin-RevId: 9b47d58a3d92c8dd695ca1c8f3d28ea7d6178da5
2022-01-20 09:03:38 +00:00
Alf Eaton
1dd62570a6 Merge pull request #6390 from overleaf/ae-is-visible-binary
[web] Only run updateOnResize when the PDF viewer is visible

GitOrigin-RevId: 90b5632f45406b66af7710c6e8346cf73ffbebea
2022-01-20 09:03:28 +00:00
Jakob Ackermann
5701cc9e4b Merge pull request #6351 from overleaf/jk-cm6-context-menu-revamp
[web] Spelling: use button instead of `a` tag

GitOrigin-RevId: e63a89eb781bbecf33c49cfcd83e8ff7612fa554
2022-01-20 09:03:11 +00:00
Jakob Ackermann
1fc0b3e4aa Merge pull request #6349 from overleaf/jpa-password-strength-checking
[web] data collection for password strength using HaveIBeenPwned api

GitOrigin-RevId: 7e4d57a979c29027fb7ca5294f3935500a0b4cf3
2022-01-20 09:03:07 +00:00
Jakob Ackermann
220daff655 Merge pull request #6384 from overleaf/jpa-fix-proxying-of-json
[web] fix proxying of responses from other services

GitOrigin-RevId: ac1ecc02c06e353f8379fadb47824a46672610e5
2022-01-18 09:03:30 +00:00
Jakob Ackermann
d720d6affa Merge pull request #6317 from overleaf/jpa-send-explicit-content-type
[web] send explicit content type in responses

GitOrigin-RevId: d5aeaba57a7d2fc053fbf5adc2299fb46e435341
2022-01-18 09:03:18 +00:00
Jakob Ackermann
c97e95aeba [web] confirmDomain: skip fetching affiliations per user
Nothing is looking at either
 - `user.emails[i].affiliation` or
 - `user.emails[i].emailHasInstitutionLicence`
So we might as well skip fetching the data.

This eliminates N v1 calls and N mongo calls from the endpoint.

GitOrigin-RevId: bb1d077df19910b9dfb7ef06562cf35ce5302290
2022-01-14 09:03:33 +00:00
Jakob Ackermann
5a7698ddef [web] refactor updating of scroll position in pdf view
Co-Authored-By: Timothée Alby <tim.alby@overleaf.com>
GitOrigin-RevId: 932c880bcd41e68d231928bdcbbaeb06c60f6fd5
2022-01-14 09:03:28 +00:00
lawshe
212430e430 Run script on primary
GitOrigin-RevId: 655191d2948ce3a1cfedc4e660965ed90c0371ba
2022-01-14 09:03:23 +00:00
Tim Alby
d5c574360f remove uses of this in tests
GitOrigin-RevId: 2eea02c91358a7bb5e1d32c8990f793d6f794ac4
2022-01-14 09:03:14 +00:00
Tim Alby
5798011bce always check response's status code in tests
GitOrigin-RevId: 46ed4912a6508aa3ce2048ff8d887af4d8907d6a
2022-01-14 09:03:11 +00:00
Tim Alby
795ed56034 asyncify tests
GitOrigin-RevId: 62f875bb121a599fab830a3244959596796cd6e1
2022-01-14 09:03:08 +00:00
Tim Alby
67ce7c3c75 asyncify MessageHttpController
GitOrigin-RevId: 678a22807f1cbb51a8c1c9bd11b34e1c045d9361
2022-01-14 09:03:06 +00:00
Tim Alby
01cdb4025e asyncify MessageManager
GitOrigin-RevId: 6b89b70f7c19fc9e71d60b634808030f324f40fe
2022-01-14 09:03:03 +00:00
Tim Alby
49e2e02105 asyncify ThreadManager
GitOrigin-RevId: 24fc2d5e04238a7e4e23826a19b69a9fbb2f9637
2022-01-14 09:03:00 +00:00
Tim Alby
f3a5e8a0e8 move module functions to top level
GitOrigin-RevId: 73524dcec49faa05d1fd4dd4ffa6950803175f33
2022-01-14 09:02:57 +00:00
Tim Alby
b5d2122f05 decaf cleanup: remove unnecessary callback fallbacks
GitOrigin-RevId: a6b347e121a30221a305116327e42ad070e81977
2022-01-14 09:02:55 +00:00
Tim Alby
ea8e0af551 decaf cleanup: rewrite code to no longer use __guard__
GitOrigin-RevId: 591dbefe98423ead89505250c4f46c8ad2610305
2022-01-14 09:02:52 +00:00
Tim Alby
291f28a655 decaf cleanup: remove unnecessary use of Array.from
GitOrigin-RevId: 78c835929c9d7c38e0231f8fbb3e16a35efb7498
2022-01-14 09:02:50 +00:00
Tim Alby
efc131175c decaf cleanp: consider shorter variations of null checks
GitOrigin-RevId: 393297eb7d674e2c801701db87e5d7eb876186f0
2022-01-14 09:02:47 +00:00
Tim Alby
87544fc5a5 decaf cleanup: consider reworking code to avoid use of IIFEs
GitOrigin-RevId: 8d60da088deac4a19c6b6a03083765af547d9570
2022-01-14 09:02:44 +00:00
Tim Alby
0a0722a8f8 decaf cleanup: remove unnecessary code created because of implicit returns
GitOrigin-RevId: 9717a14d34a662c9740aa50446d0699c6afd3222
2022-01-14 09:02:41 +00:00
Tim Alby
d56b49d529 fix eslint violations
GitOrigin-RevId: c2ee81487ab2fd66890ac5fda60f396bb537e0e1
2022-01-14 09:02:39 +00:00
June Kelly
c72ec548bb Merge pull request #5976 from overleaf/jk-login-audit-log-type
[web] Add 'method' info to login audit log

GitOrigin-RevId: 093fe885bc1b688aebd640d6762f031c752191d4
2022-01-14 09:02:28 +00:00
Jessica Lawshe
d7365e2929 Merge pull request #6338 from overleaf/jel-prettier-test
Run prettier on file

GitOrigin-RevId: bcd3a355d5ffa9271dd7b9a0f4ff0efa0d61a7ee
2022-01-13 09:04:41 +00:00
Jessica Lawshe
c849b8f244 Merge pull request #5985 from overleaf/jel-detached-event
Analytics event when PDF detach layout setup done

GitOrigin-RevId: 9f20a339ed9a45f9d85e1872454fe50236178aac
2022-01-13 09:04:29 +00:00
Jessica Lawshe
e8a4a88e87 Merge pull request #6238 from overleaf/jel-script-remove-email
[web] Script to remove email

GitOrigin-RevId: c8f1a69259904b08ef39181b8b7e9c3150ea59f0
2022-01-13 09:04:22 +00:00
Jessica Lawshe
1122a83b60 Merge pull request #6254 from overleaf/jel-saml-entitlement
[web] Always update entitlement in v1 after SAML callback

GitOrigin-RevId: 2569d6d8e6142786ad2875c62c9cd4568837654a
2022-01-13 09:04:16 +00:00
Jessica Lawshe
bbc5e2d34c Merge pull request #6255 from overleaf/jel-tidy-saml-tests
[web] Tidy SAML tests

GitOrigin-RevId: 3b13fa847d935235bafe61c4118b046eb972f922
2022-01-13 09:04:09 +00:00
Thomas
4792208ed2 Merge pull request #6329 from overleaf/tm-wfh2021-ending-soon
Update WFH offer notification text with offer end date

GitOrigin-RevId: f50b7f7f1b0c04ce20bd4ea45af6d8684f91fc2b
2022-01-13 09:03:52 +00:00
June Kelly
5acaff1ed2 Merge pull request #6259 from overleaf/jpa-cleanup-self
[web] ExportsHandler: replace usage of self with ExportsHandler

GitOrigin-RevId: aa895f955248bf791008afc0d3dfbd61be75f154
2022-01-13 09:03:46 +00:00
June Kelly
864d2bdeff Merge pull request #6258 from overleaf/bg-improve-routes-tool
[web] format output from bin/routes using escodegen

GitOrigin-RevId: a2a3d4ffb044dfb214d167c411dd1b55fa18a3dd
2022-01-13 09:03:40 +00:00
June Kelly
b5625fe3df Merge pull request #6227 from overleaf/jpa-de-dupe-feature-refresh
[web] when confirming institution domain, refresh features once per user

GitOrigin-RevId: 3855441848cf0b140a6cf0264b887d8eca7db5ad
2022-01-13 09:03:33 +00:00
June Kelly
0e2997a237 Merge pull request #6323 from overleaf/jpa-web-remove-gnu-parallel
[web] remove old way of running unit tests in parallel

GitOrigin-RevId: 77ff350824f7e21a44dae3f233ee9eedcf07c389
2022-01-13 09:03:27 +00:00
June Kelly
02bb2f1c5a Merge pull request #6181 from overleaf/jk-fix-sub-handler-xml-exception
[web] Catch XML errors in RecurlyWrapper

GitOrigin-RevId: bc20146b67e0ceac76f21b5d28ea2b36e2e97f0d
2022-01-13 09:03:23 +00:00
June Kelly
d71da1de88 Merge pull request #6177 from overleaf/jk-resizer-z-index
[web] Fix z-index on panel resizers

GitOrigin-RevId: 4f31fd6fc05f7eb88631f6aab6926d17b2e35e14
2022-01-13 09:03:19 +00:00
June Kelly
000f849381 Merge pull request #6143 from overleaf/jk-register-password-validation
[web] Password length validation on register

GitOrigin-RevId: 8d97d92f3176f25c5af29479ba85789eac28540a
2022-01-13 09:03:16 +00:00
Miguel Serrano
56d826f255 Force Promise.allSettled polyfill (#6192)
* Force `Promise.allSettled` polyfill

`Promise.allSettled` is required by `pdf.js`, but the polyfill is not available in the bundle. This forces babel to include the polyfill without having to process `pdf.js` with webpack/babel, which causes issues loading documents.

* Updated core.js version for test config

GitOrigin-RevId: 981da187352ffc8c59cb77ba55a0a9643bd7cc9a
2022-01-12 09:04:06 +00:00
Miguel Serrano
35396ab61a Add limit to log parsing for react log viewer (#6213)
* Add limit to log parsing for react log viewer

GitOrigin-RevId: e2e5ffd6eaf1c207cc4f49fb5c637457990c328e
2022-01-12 09:03:59 +00:00
Christopher Hoskin
cf4269d4ee Merge pull request #6221 from overleaf/ae-web-port
Change web port to 3000 in dev environment

GitOrigin-RevId: 8e9af8fa5e1a35c2c9089d4e9cbf744634cc4e85
2022-01-12 09:03:47 +00:00
Thomas
a3ab9468a4 Merge pull request #6169 from overleaf/tm-group-plan-upgrade-ui-changes
Tweak group plan upgrade modal to match UI changes of marketing page group plans purchase modal

GitOrigin-RevId: 91db5de38fa4d273ae50924eec5db2b8e12ed7f9
2022-01-12 09:03:41 +00:00
Thomas
1678ea5de3 Merge pull request #6293 from overleaf/ta-synctex-tooltip
Update Synctex Button Tooltip

GitOrigin-RevId: c6c4d5847eea76b5456457b96f5432824dd267dc
2022-01-12 09:03:34 +00:00
Thomas
3f05f7f283 Merge pull request #6294 from overleaf/ta-synctex-detach-icon
Remove Arrows from Synctex Button in Detach Mode

GitOrigin-RevId: 0b96ed29fd43308383c1db658f1d8d5143e3dd23
2022-01-12 09:03:28 +00:00
Thomas
5e61fce3b4 Enable additional currencies when purchasing (or upgrading to) a group plan (#4884)
* Add script to fetch group data pricing from Recurly

* Update groups pricing data using script to fetch prices from Recurly

* Add additional currencies to saas settings

* Refactor group plans upgrade modal to use shared options from settings

GitOrigin-RevId: 6d13d5b152d01e0399f9d2b8f6f8bf99784589e8
2022-01-12 09:03:21 +00:00
Alf Eaton
7288c05075 [web] Use EditorView.scrollIntoView in CodeMirror 6 (#6212)
GitOrigin-RevId: df2cc5c6f671d157c28a76711f3790f23073b6cb
2022-01-12 09:03:14 +00:00
Alf Eaton
d1e3ce8225 [web] Add a delay before showing loading spinner while lazy-loading React components (#6262)
GitOrigin-RevId: a77d11e980103de31a5bf1a19391874bea70cfec
2022-01-12 09:03:08 +00:00