Brian Gough
cf25ff058f
use new endpoint docupdater get_and_flush_if_old
2017-10-11 16:05:28 +01:00
Joe Green
38b3626014
Try email only on master branch ( #47 )
2017-10-11 15:21:21 +01:00
Alasdair Smith
5047213c3c
Change rollout detection to account for changes in proportion preserving rolled out users
2017-10-11 14:47:39 +01:00
Hayden Faulds
f017a94b7e
remove unused HistoryManager
2017-10-11 11:18:20 +01:00
Hayden Faulds
4e0a159db4
Merge pull request #40 from sharelatex/hof-pathname-for-doc-store
...
return pathname from DocumentController.getDoc
2017-10-11 09:52:56 +01:00
Paulo Reis
274be4932a
Adjust padding values.
2017-10-09 17:29:55 +01:00
Brian Gough
5b0d3d1429
simplify rate-limit checking code
2017-10-09 16:31:01 +01:00
Paulo Reis
8a3f104c60
Fix some issues with longer project names.
2017-10-09 16:19:02 +01:00
Paulo Reis
407157e3eb
Minor adjustmnents.
2017-10-09 15:27:01 +01:00
Brian Gough
ea89638010
rename autocompile_disabled to autoCompileDisabled
...
for consistency
2017-10-09 15:21:01 +01:00
Brian Gough
15e2deed73
rename isAutoCompile and isBackgroundAutoCompile
...
changed to isAutoCompileOnLoad and isAutoCompileOnChange
2017-10-09 15:18:55 +01:00
James Allen
24dd89bc38
Adjust wording
2017-10-09 14:23:05 +01:00
James Allen
8c9ad69dfe
Always npm install translations from master
2017-10-09 14:22:04 +01:00
Brian Gough
9eec245358
allow docupdater to flush docs in background
2017-10-09 14:17:28 +01:00
Paulo Reis
500dcc5bc2
Quick accessibility fixes for the dashboard.
2017-10-09 11:59:03 +01:00
Paulo Reis
435a5b6a43
Adjust the body to take header and footer into account with padding.
2017-10-09 10:30:09 +01:00
Paulo Reis
6e6c058d49
Fix the header.
2017-10-09 10:28:21 +01:00
Paulo Reis
4b246501d2
Fix the footer.
2017-10-09 10:28:03 +01:00
Paulo Reis
fd215280a8
Some more scroll fixes.
2017-10-06 15:54:54 +01:00
Paulo Reis
9d35ce5fe1
Fix label issues.
2017-10-06 14:26:34 +01:00
Paulo Reis
f405dc49b3
Implement two different scrolling models for OL and SL.
2017-10-06 14:22:06 +01:00
Paulo Reis
e1775128e4
Fixed flexbox based width issues.
2017-10-06 12:18:13 +01:00
Paulo Reis
1c9d5828b1
Even more adjustments to make the SL theme closer to original.
2017-10-06 12:02:20 +01:00
Paulo Reis
045fae7109
Some more adjustments to make the SL theme closer to original.
2017-10-06 10:50:59 +01:00
Paulo Reis
9047e9a365
Make SL theme closer to original.
2017-10-05 18:16:52 +01:00
Paulo Reis
60a76c45c3
Some more footer adjustments.
2017-10-05 16:41:11 +01:00
Paulo Reis
15eb23da54
Overall project list page layout; flex-based, i.e. needs lots of testing
2017-10-05 16:35:53 +01:00
Paulo Reis
3c662f6d05
Basic footer colors.
2017-10-05 16:35:27 +01:00
James Allen
3c54419eb3
Remove commented debug code
2017-10-05 16:12:26 +01:00
Paulo Reis
8b98455674
Adjustments to the folders menu.
2017-10-05 15:26:49 +01:00
James Allen
9c1faa4395
Add method to transfer projects from one user_id to another
2017-10-05 14:26:34 +01:00
Paulo Reis
166a0605a3
Make form elements consistent with button sizes.
2017-10-05 10:49:56 +01:00
James Allen
70efda68f2
Merge pull request #36 from sharelatex/ja-account-merge
...
Add packages and assets needed for account merging; Connects to overleaf/sharelatex#127
2017-10-04 15:13:10 +01:00
James Allen
afe40809ad
Add in account merge module to build step
2017-10-04 14:57:08 +01:00
Nate Stemen
64f44ab102
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex-internal into ns-package-completer
2017-10-04 09:53:04 +01:00
Nate Stemen
8b4843cf8b
cleaning up usepackage completion
2017-10-03 17:32:34 +01:00
Alasdair Smith
550e7d75ca
Check if user is part of autocompile rollout when showing setting or running autocompile
2017-10-03 17:19:51 +01:00
Alasdair Smith
8366ea271f
Restrict autocompile onboarding to users in rollout (factor of 100)
2017-10-03 17:08:19 +01:00
Brian Gough
2723537f82
disable autocompile when rate limit is hit
2017-10-03 16:23:49 +01:00
Brian Gough
d14723f24a
add rate limits for autocompiles
...
global rate limit for all users and a lower rate limit for free users
2017-10-03 16:16:21 +01:00
Paulo Jorge Reis
6996f52195
Merge pull request #30 from sharelatex/pr-fix-chrome-61-62-shadow
...
Fix chrome 61 and 62 shadow
2017-10-03 11:18:08 +01:00
Paulo Jorge Reis
05f9e9b2c1
Merge pull request #27 from sharelatex/as-autocompile-onboarding
...
Autocompile onboarding
2017-10-03 11:09:51 +01:00
Alasdair Smith
cab3efd77c
Merge pull request #25 from sharelatex/hof-history-name
...
show user.name in history if available
2017-10-03 10:57:52 +01:00
Alasdair Smith
91e0397bf5
Update signup date check to today
2017-10-03 10:48:59 +01:00
James Allen
15b73713d2
Add OL + SL image from blog
2017-10-03 10:43:17 +01:00
James Allen
38b8450cee
Add jsonwebtoken package
2017-10-03 10:29:49 +01:00
Nate Stemen
7d5785b98f
adding top 100 packages and package tracking
2017-10-02 18:10:53 +01:00
Paulo Reis
17ea9d9799
Style project list tags.
2017-10-02 17:01:51 +01:00
Alasdair Smith
a3800a321b
Add beta program badge on autocompile popover & setting
2017-10-02 14:12:18 +01:00
Alasdair Smith
a69afae03d
Remove unnecessary arrow elem
2017-10-02 13:49:28 +01:00
Brian Gough
b7330801bd
Merge branch 'master' of github.com:sharelatex/web-sharelatex-internal
2017-10-02 11:06:18 +01:00
Brian Gough
bd005d7bb6
fix double callback in precompile resources check
2017-10-02 10:14:52 +01:00
Brian Gough
e9114551ba
add unit test for precompile resources check
2017-10-02 10:14:05 +01:00
Hayden Faulds
bf1c24f6f9
return pathname from DocumentController.getDoc
2017-09-29 15:37:10 +01:00
Alasdair Smith
738acefac7
Style onboarding image with more space & light border
2017-09-29 11:38:56 +01:00
Alasdair Smith
a4fa713f38
Fix typo
2017-09-29 11:18:44 +01:00
Alasdair Smith
ab7d83b1c5
Switch to translations
2017-09-29 10:59:01 +01:00
Alasdair Smith
ba6a0b44a9
Fix incorrect selector
2017-09-29 10:53:06 +01:00
Alasdair Smith
dd7e6f0612
Make class names more consistent & switch to JS targeting through id
2017-09-29 10:49:45 +01:00
Joe Green
3c9c94f3c2
release number ( #32 )
...
Replace release number in pug template for sentry
2017-09-29 10:37:39 +01:00
Brian Gough
c50f309b09
add missing whitespace in pdf.pug
2017-09-28 15:12:37 +01:00
Alasdair Smith
8cd1f8c7ac
Simplify logic for showing autocompile onboarding
2017-09-28 14:13:51 +01:00
Paulo Reis
65d38aa7f7
Remove debug line.
2017-09-28 14:09:37 +01:00
Paulo Reis
e41a48de72
Conditionally disable text-shadow on chrome v61 and v62.
2017-09-28 14:01:03 +01:00
Alasdair Smith
3e2388a7de
Don't show autocompile for users signed up after release date
2017-09-28 13:57:15 +01:00
Alasdair Smith
f2c0bf5515
First pass at getting onboarding shown event from analytics
2017-09-28 13:04:18 +01:00
Alasdair Smith
e95778c703
Fix event tracking not being injecting
2017-09-28 13:02:16 +01:00
Alasdair Smith
39c8a6a193
Send analytics data when onboarding dismissed
2017-09-28 12:27:29 +01:00
Alasdair Smith
199e85e4a9
Comment
2017-09-28 12:16:02 +01:00
Alasdair Smith
d9af9e723b
Clean up popover wrapper
2017-09-28 12:12:48 +01:00
Paulo Reis
e68b166309
Style the navbar.
2017-09-28 12:12:33 +01:00
Paulo Reis
589d4521a5
Add source map to less files.
2017-09-28 12:12:22 +01:00
Paulo Reis
af6b722dfb
Add Overleaf SVG assets.
2017-09-28 12:12:04 +01:00
Alasdair Smith
e78ee69c04
Fix positioning & styling of arrows
2017-09-28 12:03:30 +01:00
Alasdair Smith
2d5a61f5b6
Determine placement of popover based on width of pdf panel
2017-09-28 11:32:38 +01:00
Alasdair Smith
464c7c79d8
Keep track of pdf panel width
2017-09-28 11:31:55 +01:00
Alasdair Smith
fcc2db9ea7
Use width of button instead of hardcoded
2017-09-28 11:13:49 +01:00
Alasdair Smith
7e407621e9
Position onboarding popover after measuring position
2017-09-28 11:13:49 +01:00
Alasdair Smith
3259b871c0
Dismiss autocompile onboarding
2017-09-28 11:13:49 +01:00
Alasdair Smith
9386ddf4a9
Only show autocompile onboarding when first manual compile is run
2017-09-28 11:13:49 +01:00
Alasdair Smith
316cf07225
Add AutoCompileOnboardingController
2017-09-28 11:13:49 +01:00
Alasdair Smith
8d2a451b44
First pass at autocompile onboarding popover
2017-09-28 11:13:49 +01:00
Alasdair Smith
afff8ddf29
Pass (dummy) autocompile onboarding
2017-09-28 11:13:49 +01:00
Brian Gough
13628f82ec
Merge pull request #17 from sharelatex/bg-lock-compiles
...
show error for compile in progress
2017-09-27 13:54:16 +01:00
Hayden Faulds
96a129a860
show user.name in history if available
2017-09-27 10:54:06 +01:00
James Allen
63097aaf73
Merge pull request #24 from sharelatex/ja-dockerize-acceptance-tests
...
Set up acceptance tests to run in docker container; Fixes overleaf/sharelatex#138
2017-09-27 11:01:49 +02:00
James Allen
23bd840796
Fix MockDocStoreApi name
2017-09-27 10:53:00 +02:00
James Allen
ffc35d9d65
Include docker command directly because node isn't available in Jenkins
2017-09-27 10:50:34 +02:00
James Allen
1502da85cf
Set up acceptance tests to run in docker container
2017-09-27 10:37:20 +02:00
Hayden Faulds
02d54d815f
Merge pull request #16 from sharelatex/as-prevent-hidden-autocompile
...
Prevent autocompile if PDF preview hidden
2017-09-26 15:38:31 +01:00
Paulo Reis
1b6829eed6
Style the project list table.
2017-09-26 13:49:46 +01:00
Hayden Faulds
4adf88ca01
handle OL or SL ids in UserInfoController.getPersonalInfo
2017-09-26 11:40:05 +01:00
Hayden Faulds
2c0e9bb89a
return overleaf details from ProejctsDetailsHandler.getdetails
2017-09-26 10:19:30 +01:00
Brian Gough
0f855689a7
show error for compile in progress
2017-09-26 08:07:35 +01:00
Paulo Reis
f6e236afa6
Link typography.
2017-09-25 17:12:31 +01:00
Paulo Reis
465de8701b
Use a different strategy to achieve rounded buttons (less impact on other elements).
2017-09-25 16:56:22 +01:00
Paulo Reis
08e0865870
Customize dashboard sidebar.
2017-09-25 16:41:09 +01:00
Alasdair Smith
5b3c9f4033
Prevent autocompile if pdf preview is hidden
2017-09-25 15:46:43 +01:00
Alasdair Smith
e31464b47d
Keep track of pdf layout hidden state
2017-09-25 15:46:29 +01:00
Paulo Reis
66654e4a14
Customize buttons; make button borders configurable.
2017-09-25 15:40:44 +01:00
Paulo Reis
e68b367f3f
Common variables; refactor some Bootstrap hard-coded stuff into new variables.
2017-09-25 11:48:42 +01:00
Alasdair Smith
96d13215e3
Be more defensive when checking encoded text
2017-09-22 09:36:50 +01:00
Alasdair Smith
f8d4923547
Wrap in try/catch
2017-09-21 15:41:24 +01:00
Alasdair Smith
42b604dcda
Clean up decoding from websockets
2017-09-21 15:41:24 +01:00
Alasdair Smith
a022f83cce
Fix order of args
2017-09-21 15:22:56 +01:00
Alasdair Smith
e2bb6dcecb
Pass option to encode range
...
To ensure backwards compat with clients not refreshing, pass a flag to enable
encoding. This way, old client won't receive encoded ranges, but also won't
have decoding logic. The flag can then be removed once all clients are up to
date
2017-09-21 14:23:39 +01:00
Alasdair Smith
b33929fa83
DRY up
2017-09-21 13:36:31 +01:00
Alasdair Smith
24f44889a7
First pass at decoding changes & comments in ranges
2017-09-21 13:25:19 +01:00
Alasdair Smith
4007fc682b
Send JSON in autocompile setting event payload
2017-09-19 15:55:00 +01:00
Alasdair Smith
66bed67270
Merge pull request #4 from sharelatex/as-client-auto-compile
...
Client-side auto compile
2017-09-19 15:20:07 +01:00
Alasdair Smith
963a14b33c
Fix incorrectly named var and remove unneccessary semicolon
2017-09-19 14:25:30 +01:00
James Allen
8852e09274
Merge pull request #1 from sharelatex/jpallen-patch-1
...
Delete cleanup.js
2017-09-18 14:30:04 +02:00
James Allen
5a7e4f9fb0
Merge pull request #3 from sharelatex/ja-oss-sync
...
Push master branch to public repo after successful build
2017-09-18 14:15:33 +02:00
James Allen
d0ce22b0f8
Add in overleaf-integration module to build
2017-09-18 11:30:43 +02:00
James Allen
ece7a4cbb7
Merge pull request #601 from sharelatex/ns-raise-safari-regex-count
...
Raising the limit on safari regex count
2017-09-18 11:16:49 +02:00
James Allen
1bafba8992
Merge pull request #586 from sharelatex/ns-add-SL-command-data
...
adding commands that appear in top 100 from SL-CLSI analysis
2017-09-18 11:16:41 +02:00
James Allen
fa13e1051a
Merge pull request #585 from sharelatex/sk-ac-refactor-autocompletemanager
...
Refactor out common code in AutocompleteManager.
2017-09-18 11:16:29 +02:00
James Allen
a0ac11eb0d
Actually push to master branch
2017-09-18 11:11:33 +02:00
James Allen
f0092bc85a
Push master branch to public repo after successful build
...
Note that this has to happen outside of the docker container to
work around issues with git and user ids, so we've had to
modify the pipeline to explicitly run the steps inside docker
as needed.
2017-09-18 11:10:22 +02:00
Henry Oswald
a7217f1d37
Merge branch 'ho-csrf-acceptence-tests'
2017-09-15 13:50:17 +01:00
James Allen
adf211a226
Merge pull request #594 from sharelatex/ja-include-token-in-project-schema
...
Include OL tokens in project schema
2017-09-15 11:41:24 +02:00
Brian Gough
1bca1e11a9
fix broken unit test
2017-09-15 09:20:53 +01:00
Brian Gough
9f9c15f6f5
Merge pull request #599 from sharelatex/bg-reset-project-state
...
clear docupdater project state in deleteAuxFiles
2017-09-15 09:09:29 +01:00
James Allen
a0e25386fc
Delete cleanup.js
2017-09-14 17:00:44 +02:00
Brian Gough
28a80cf23d
Merge pull request #604 from sharelatex/bg-fix-root-doc-in-incremental-compile
...
fix root doc in incremental compile
2017-09-13 13:47:22 +01:00
Tim Alby
a04adbf132
remove extra security headers
2017-09-13 11:53:11 +02:00
Brian Gough
51eb94a493
handle incremental compile without root doc
2017-09-13 10:10:44 +01:00
Brian Gough
0e87b8950e
update clearProjectState endpoint
2017-09-12 11:40:00 +01:00
Shane Kilkelly
54070c7734
pin chai
2017-09-12 11:21:34 +01:00
Tim Alby
d6834ff417
add security headers using Helmet
...
- use all Helmet's default headers except `X-DNS-Prefetch-Control`
- use `Referrer-Policy`
- use cache headers when:
- a user is logged in, OR
- a project is displayed
2017-09-12 11:17:59 +02:00
Nate Stemen
80c00b13f7
Raising the limit on safari regex count
2017-09-11 11:27:03 +01:00
Brian Gough
5430c8a3c2
Merge pull request #593 from sharelatex/bg-fix-inactive-projects-request
...
avoid error when passing as limit in mongo query
2017-09-11 08:16:28 +01:00
Brian Gough
6d73c48c36
Merge pull request #596 from sharelatex/bg-suppress-incremental-compile-after-errors
...
suppress incremental compile after errors
2017-09-11 08:15:50 +01:00
Brian Gough
2b4c8bd846
clear docupdater project state in deleteAuxFiles
2017-09-08 15:57:29 +01:00
Brian Gough
e8435e3eae
make condition clearer for incremental compile
2017-09-08 13:39:24 +01:00
Paulo Reis
98b380f70a
Update translations commit in shrinkwrap.
2017-09-08 12:14:05 +01:00
Alasdair Smith
1b144ed183
Merge pull request #595 from sharelatex/as-fix-share-emails
...
Fix UX issues in email autocompletion in share modal
2017-09-08 11:25:16 +01:00
Alasdair Smith
38eaf82c65
Ensure that time is monotonic when running autocompile
2017-09-08 11:00:46 +01:00
Alasdair Smith
4a490aafbf
Improve UX of triggering autocompile.
...
If a user is making infrequent edits (i.e. if reading and making small
changes), then waiting 5 seconds for a recompile is bad. Therefore we track
the time since the last recompile and use this to decide whether a recompile
should be run. This reduces the time to recompile, unless the user is typing
for a significant amount of time.
2017-09-08 10:42:54 +01:00
Alasdair Smith
e2523c569e
Filter linting warnings
2017-09-07 17:45:16 +01:00
Brian Gough
03a5ff2e43
skip incremental compile after docupdater error
2017-09-07 15:06:09 +01:00
Brian Gough
c6d2f0f4e1
skip incremental compile after server error
2017-09-07 15:05:42 +01:00
Alasdair Smith
624802c28e
Remove unnecessary parens
2017-09-07 11:30:42 +01:00
Alasdair Smith
b7713439bf
Bring back comparsion erroneously removed
2017-09-07 11:30:20 +01:00
Alasdair Smith
9cde236bc8
Add comment explaining lint errors vs compile log errors
2017-09-07 11:28:36 +01:00
Alasdair Smith
a8cdfb7ecc
Track autocompile setting change
2017-09-07 11:13:38 +01:00
Shane Kilkelly
586d1f1599
Merge pull request #531 from sharelatex/sk-allow-explicit-ses-email-config
...
Instantiate the ses client if explicitly specified.
2017-09-07 10:21:01 +01:00
Alasdair Smith
11386eb817
Add option to autocompile, so can be identified in event tracking
2017-09-07 10:20:21 +01:00
Alasdair Smith
8a8d98935b
Remove unnecessary linting check in annotations listener
...
When user starts typing, compile log annotations are replaced with linter ones,
so log errrors can be ignored for this purpose. Because we don't try to
autocompile unless the user types something
2017-09-07 10:04:10 +01:00
Alasdair Smith
0c76b06a97
Increase timeout to 5 seconds
2017-09-07 10:02:48 +01:00