Commit graph

18650 commits

Author SHA1 Message Date
Alf Eaton
01f7f19446 Ensure sendMBOnce only sends event once (#5481)
GitOrigin-RevId: 360ae263213b4fd36aa33d41c6d54ef91f7f54fa
2021-10-18 08:03:37 +00:00
Alf Eaton
09f3962ded Ensure that the TimeoutUpgradePrompt component returns null (#5482)
GitOrigin-RevId: 95e58537c82d9bedd055839cfb916a06c1ef96df
2021-10-18 08:03:34 +00:00
Alf Eaton
12eab99990 Migrate log entry component to new PDF preview (#5478)
* Migrate log entry component to new PDF preview
* Add a test for expandable log content

GitOrigin-RevId: 3e2154983c1ea03b5db44c87822e7043c4aa2cfe
2021-10-18 08:03:30 +00:00
Alf Eaton
f7ef2532e0 Handle PDF preview on toggle between split and full-width views (#5470)
* Only hide the compile logs pane when toggled off
* Handle PDF preview on toggle between split and full-width views

GitOrigin-RevId: 9ceca8a06a22abfa78f245e1ae5d24af98215906
2021-10-18 08:03:26 +00:00
japm48
90befc1fdd [Imported] recognize \addsec in layout, (#954) (#5428)
* recognize \addsec instead of \addsect in outline

\addsec is the correct name used by KOMA-Script,
\addsect was a typo and is removed.

COPYBARA_INTEGRATE_REVIEW=https://github.com/overleaf/overleaf/pull/954 from japm48:patch-2 11934c71f2

* Fix test for addsec(t)

Co-authored-by: japm48 <japm48@users.noreply.github.com>
GitOrigin-RevId: 634cef54d9d097b10700fabb05187a1af7b27375
2021-10-15 08:03:19 +00:00
Alexandre Bourdin
121ee4b72e Merge pull request #5460 from overleaf/ab-skip-invalid-identify
Skip identify event when analyticsId is invalid

GitOrigin-RevId: 1fd9c54f59ad0b6196875f9826021e95752eddf0
2021-10-15 08:03:16 +00:00
June Kelly
231ba305ed Merge pull request #5477 from overleaf/jk-git-bridge-put-log-upgrade
[git-bridge] raise log level to error in put hook

GitOrigin-RevId: 45a4a77200f8e8490c4b70922614253c984c9d36
2021-10-15 08:03:12 +00:00
CNOCycle
fb51388f71 correct PHONY target in Makefile (#5434)
COPYBARA_INTEGRATE_REVIEW=https://github.com/overleaf/overleaf/pull/967 from CNOCycle:CNOCycle-patch-1 d5278c9b71

Co-authored-by: CNOCycle <github@marginalman.org>
GitOrigin-RevId: 8aa48e4f617c2fdd689442fb959c9a856fc3b859
2021-10-14 08:03:30 +00:00
Brian Gough
d2c76b05cf Merge pull request #5425 from overleaf/bg-add-feature-override-script
add feature override script

GitOrigin-RevId: 90def174b4ac182b6f62984e8f9621f3dc16b92d
2021-10-14 08:03:18 +00:00
Brian Gough
b9e7f6ab5e Merge pull request #5384 from overleaf/bg-add-symbol-palette-feature-flag
[web] add symbol palette feature flag

GitOrigin-RevId: 154499aaef72b677f28d85c501d0015811081887
2021-10-14 08:03:11 +00:00
Allemand
4313cba624 Update app.js (#5452)
change metrics app name

COPYBARA_INTEGRATE_REVIEW=https://github.com/overleaf/overleaf/pull/947 from salleman33:patch-1 052d4aa0a8

Co-authored-by: Allemand <37148072+salleman33@users.noreply.github.com>
GitOrigin-RevId: fe23c5431402f918bce1c933051bebd5416d5d94
2021-10-13 08:04:17 +00:00
John Lees-Miller
c4f1020f2a Merge pull request #5440 from overleaf/revert-5430-import-public-pr-947
Revert "[Imported] Update real-time app.js, (#947)"

GitOrigin-RevId: 9aadf63459b861c4316ead76741a2a9aeea7aad3
2021-10-13 08:04:05 +00:00
Alexandre Bourdin
da6d6abe80 Merge pull request #5422 from overleaf/ab-queues-default-job-options
Add default job options for queues in analytics

GitOrigin-RevId: ab8cf13a0ba35acb0b21519f21131df128bb3f29
2021-10-13 08:03:58 +00:00
Brian Gough
96d9e6578a Merge pull request #5430 from overleaf/import-public-pr-947
[Imported] Update real-time app.js, (#947)

GitOrigin-RevId: 4212705fff58252d02056f7744c97aaeeac065ce
2021-10-13 08:03:52 +00:00
Alf Eaton
2f835144c8 Upgrade pdfjs-dist to v2.10.377 (#5436)
* Upgrade pdfjs-dist
* Explicitly disable XFA in PDF.js

GitOrigin-RevId: 6987fe6e6f87a05d8f71d83a8b09b33caeade712
2021-10-13 08:03:45 +00:00
Alf Eaton
1d9615b672 Enable new PDF preview for alpha users (#5410)
GitOrigin-RevId: 19b1d8045ddff525fbd738526bc02b64f38c3726
2021-10-13 08:03:27 +00:00
Alf Eaton
4274782443 Improve LESS loading in Storybook (#5406)
GitOrigin-RevId: ad128b8be645ed54de498b543f655751a6a0799b
2021-10-13 08:03:21 +00:00
Alf Eaton
9c0b6f0fa7 Remove clsiserverid query parameter from compile request (#5408)
* Remove clsiserverid query parameter from compile request

* Rename buildQueryParams to buildPostCompileParams

GitOrigin-RevId: 4448179e910eeb664cece2b9384f8e7197f3185c
2021-10-13 08:03:14 +00:00
Alf Eaton
ce3b304ec8 Remove chktex fetching and parsing from migrated PDF preview (#5409)
GitOrigin-RevId: 3c6721a1272d809679ec1e2f2fcd1a7251e1321b
2021-10-13 08:03:08 +00:00
Alf Eaton
e26d47cb41 Add hybrid toolbar to migrated PDF preview (#5414)
GitOrigin-RevId: 6266028091229c819aee3c8d4bd3bff2e2417125
2021-10-13 08:03:01 +00:00
Alf Eaton
7f7e5ed749 Mock requests for invalid PDF URLs (#5429)
GitOrigin-RevId: 35a492abb3c8ee1232672efb0d3f0fb4c643a63a
2021-10-13 08:02:57 +00:00
Alf Eaton
adf8828860 Fix a few minor test issues (#5415)
* Remove signal.abort()
* Fix usage of .toString
* Fix requests for files
* Fix story

GitOrigin-RevId: 37ab4be34a8975881aed2329d4b67f8df74837d8
2021-10-12 08:03:58 +00:00
Alf Eaton
845b2fbc04 Move useScopeValue hook to shared hooks folder and wrap setValue in a function (#5386)
GitOrigin-RevId: b1a6a4e871af3b52fb3d100a83b479c834cb75ca
2021-10-11 08:03:29 +00:00
Alf Eaton
165520a6f2 Refactor scoped layout values into LayoutContext (#5356)
GitOrigin-RevId: b0b07ddd078bfc5acd944cac14bc00dc83d09d21
2021-10-11 08:03:17 +00:00
Miguel Serrano
8766c45362 Add log limit and info notice to PDF Preview log view (#5390)
GitOrigin-RevId: 14764d109dbe13d7e4fb4f79f098c74d4b57d59d
2021-10-11 08:03:13 +00:00
Alf Eaton
ffc72416ff Move clsiServerId and compileGroup from ide to ide.$scope.pdf (#5314)
GitOrigin-RevId: 6050898614b4fc9dee52e893149acfda17c324a0
2021-10-11 08:03:10 +00:00
Miguel Serrano
07ca18cdbb Added keyboard shortcuts for zoom (#5334)
GitOrigin-RevId: b284f923e9b4aba7837430239b09e05bb0308d09
2021-10-11 08:03:07 +00:00
Alf Eaton
a4799c29b6 Fail tests when context propTypes validation fails (#5323)
* Fail test when context proptypes validation fails
* Remove isRequired from context propTypes validation

GitOrigin-RevId: c6da5f93672434c0d80be3f659c1fc15dc3dab1f
2021-10-11 08:03:03 +00:00
Alf Eaton
4adf32cb43 Filter out "source: compile' annotations (#5324)
GitOrigin-RevId: f0febf42fa46a28b357b2c4c2768f2a9b543e609
2021-10-11 08:03:00 +00:00
Alf Eaton
b902bd9265 Refactor compile-related code from PDF preview context provider into a separate class (#5341)
GitOrigin-RevId: 96b8bb527fa3d60a5fb84eee2b8f4fabc1726875
2021-10-11 08:02:56 +00:00
June Kelly
515180aeaa Merge pull request #5400 from overleaf/revert-5307-jk-web-upgrade-nodemailer
Revert "[web] upgrade packages, fix security warnings"

GitOrigin-RevId: 64fa59eb9969a26d236ba14a42fa88705e0d478e
2021-10-11 08:02:53 +00:00
June Kelly
cdde801b05 Merge pull request #5307 from overleaf/jk-web-upgrade-nodemailer
[web] upgrade packages, fix security warnings

GitOrigin-RevId: d2d958bb5b39d879bdbb8b09242bb368cf4ada3e
2021-10-11 08:02:49 +00:00
CloudBuild
cdf7e00200 auto update translation
GitOrigin-RevId: b0c61af2445c9eef3b9c80c698423fbfe652e7da
2021-10-08 08:03:19 +00:00
Thomas
85adea3f50 Merge pull request #5382 from overleaf/tm-analytics-project-create-segmentation
Fix for project-created event segmentation data

GitOrigin-RevId: 5b8eb14a4ea03e7136c529742a183291557d2715
2021-10-08 08:03:04 +00:00
Thomas
d984e3d826 Project history upgrade script for None without SL history (#4814)
GitOrigin-RevId: 604fb8a8193b798be1a342af5f08c004eee5521b
2021-10-08 08:03:00 +00:00
CloudBuild
ef85cbea44 auto update translation
GitOrigin-RevId: d80e9a1f2eaaa0fb910a59911bafb24499a71ae0
2021-10-07 08:05:03 +00:00
Eric Mc Sween
94b36dfbba Merge pull request #5355 from overleaf/em-stack-overflow
Avoid stack overflow with synchronous jobs in ProjectZipStreamManager

GitOrigin-RevId: b7e948b98c675527a8417247a840ab27690c1027
2021-10-07 08:04:56 +00:00
Jakob Ackermann
13b8321986 Merge pull request #5375 from overleaf/jpa-401-failed-login
[web] send a non success status code for failed logins in Server CE/Pro

GitOrigin-RevId: 1aace4456c8602af26a362346bfc462e1476b0f7
2021-10-07 08:04:49 +00:00
Jakob Ackermann
0f1be83f46 Merge pull request #5362 from overleaf/revert-5350-jpa-debug-cdn-errors
[web] bring back the sentry integration for the de-ng bundle

GitOrigin-RevId: 74dbafaf0984b782f2df75f8cb79be0ea71af9f2
2021-10-07 08:04:43 +00:00
Jakob Ackermann
a4fb83e38e Merge pull request #5359 from overleaf/jpa-web-passwordStrengthOptions
[web] add defaults for passwordStrengthOptions into the server-ce config

GitOrigin-RevId: 69f4aec55219cd349fed861c766c135481b2bfea
2021-10-07 08:04:36 +00:00
Jakob Ackermann
12890edd14 Merge pull request #5344 from overleaf/jpa-no-callback-literal
[web] fix eslint violations for node/no-callback-literal

GitOrigin-RevId: 8d6bb1398b3db2794bf1b2f97cd6d2886f2b4b0a
2021-10-07 08:04:30 +00:00
Jakob Ackermann
cc8faa0535 Merge pull request #5343 from overleaf/jpa-faster-eslint
[web] faster eslint

GitOrigin-RevId: 1dff39acf9905355650bb41f3f42b206ea84f8d4
2021-10-07 08:04:23 +00:00
Jakob Ackermann
34beda9a1f Merge pull request #5332 from overleaf/jpa-rework-metrics-csv-download
[web] metrics module: rework the 'Download CSV' button

GitOrigin-RevId: ab15513e7c49098716207ecf4d0ff893692c3de6
2021-10-07 08:04:16 +00:00
Jakob Ackermann
66ea2e613c Merge pull request #5281 from overleaf/jpa-rework-language-picker
[web] rework the language picker UI in the footer

GitOrigin-RevId: fb9fe9a560a0f059f58c76d6a85f31ffabc14f4f
2021-10-07 08:04:10 +00:00
Brian Gough
5d6a833216 Merge pull request #5338 from overleaf/bg-update-docupdater-logger
[docupdater] upgrade from logger-sharelatex to @overleaf/logger

GitOrigin-RevId: 26294a1e61d25b907d594a586f9b4714bc36ae4f
2021-10-07 08:04:03 +00:00
Brian Gough
b4cd9b089d Merge pull request #5327 from overleaf/bg-extend-docupdater-profiler
[docupdater] record synchronous operations in profiler

GitOrigin-RevId: 994139e7f3fb04645e435273f5143e1fa6091be2
2021-10-07 08:03:57 +00:00
Jakob Ackermann
94c208311c Merge pull request #5351 from overleaf/jpa-clsi-drop-sqlite
[clsi] goodbye sqlite db

GitOrigin-RevId: e7f16920c44e74a425b92884b48a60272dfb015b
2021-10-07 08:03:50 +00:00
June Kelly
03e1daa038 Merge pull request #5201 from overleaf/msm-pdf-viewer-error-boundaries
Error boundaries for React PDF viewer

GitOrigin-RevId: 90052fc183f7ece8125ecfb0410a529cf905c13b
2021-10-07 08:03:43 +00:00
June Kelly
94773e898e Merge pull request #5280 from overleaf/hb-max-log-entries-display
Display only a max of 100 log entries

GitOrigin-RevId: 7a9a9d6824eda72dd6c19024d1e0ff6d25bebf49
2021-10-07 08:03:37 +00:00
June Kelly
1e7dbeeb94 Merge pull request #5180 from overleaf/msm-pdf-js-viewer-tests
Unit Tests for `pdf-js-viewer.js`

GitOrigin-RevId: 4bd38cf98c598e2ea30791052b9c24568d92c6b8
2021-10-07 08:03:30 +00:00