Paulo Reis
ff576c5b9a
Make the text-only title customizable; pick nice colours for the OL version.
2017-10-23 15:56:52 +01:00
Hayden Faulds
299112f6e0
toggle project history using setting
2017-10-23 15:49:10 +01:00
Alasdair Smith
8421f6767a
Rollout to 10% of users
2017-10-23 13:14:20 +01:00
Paulo Reis
624dd26f39
Avoid loading onboarding images on page load.
2017-10-20 16:20:38 +01:00
Brian Gough
dcdcbd8388
exit if mock servers fail to start
2017-10-20 16:00:52 +01:00
Shane Kilkelly
b32088ee6b
Only add token member if they're not also a collaborator
2017-10-20 13:38:52 +01:00
Alasdair Smith
d21137ed73
Clean up color box sizes
2017-10-20 13:27:37 +01:00
Shane Kilkelly
dc39e447b2
Change findAllUsersProjects
, produce and object rather than lists
2017-10-20 11:49:20 +01:00
Paulo Reis
525defb92d
Add router entry to the new styleguide (WIP).
2017-10-20 10:53:26 +01:00
Paulo Reis
033e3cfcc6
Add styleguide classes.
2017-10-20 10:53:08 +01:00
Alasdair Smith
5b1836c639
Merge pull request #70 from sharelatex/as-add-onboarding-logging
...
Adds some onboarding logging to investigate potential bug
2017-10-20 10:47:15 +01:00
Alasdair Smith
edb2a6c88b
Increase rollout to 5%
2017-10-20 10:23:52 +01:00
Shane Kilkelly
d710d284fe
Merge branch 'sk-unlisted-projects' of github.com:sharelatex/web-sharelatex-internal into sk-unlisted-projects
2017-10-20 10:11:33 +01:00
Shane Kilkelly
0e44b319db
Change anonToken
and such to anonymousAccessToken
2017-10-20 10:10:21 +01:00
John Lees-Miller
30f67008a0
Fix typo
2017-10-20 09:19:18 +01:00
Shane Kilkelly
eab77aba91
Abstract away the token-protection logic
2017-10-19 16:26:01 +01:00
Alasdair Smith
ebaa640c51
Fix log call signature
2017-10-19 16:02:40 +01:00
Alasdair Smith
6fd1d493e3
Also add logging for track changes
2017-10-19 15:47:12 +01:00
Alasdair Smith
4d4dba9677
Adds some onboarding logging to investigate potential bug
2017-10-19 15:31:19 +01:00
Shane Kilkelly
22795981b9
Add tests to check when tokens are never activated
2017-10-19 15:22:44 +01:00
Shane Kilkelly
97706acbac
Fix indentation
2017-10-19 14:54:59 +01:00
Shane Kilkelly
5572a0e873
Merge branch 'sk-unlisted-projects' of github.com:sharelatex/web-sharelatex-internal into sk-unlisted-projects
2017-10-19 14:46:05 +01:00
Shane Kilkelly
d8717a06a2
Fix track-changes with token-access
2017-10-19 14:42:17 +01:00
John Lees-Miller
3383a057a1
Fix typo
...
(The typo came from my comment in Overleaf many years ago.)
2017-10-19 11:47:47 +01:00
Alasdair Smith
4cc517240c
Increase rollout to 3%
2017-10-19 10:54:21 +01:00
Shane Kilkelly
43f1cb7d64
Add unit test for token-based access, particularly anon-read-write
2017-10-18 15:31:03 +01:00
Brian Gough
bf4404b60a
handle null values when saving rootDoc_id
2017-10-18 14:19:45 +01:00
Brian Gough
05ee2a5244
Merge pull request #67 from sharelatex/bg-ignore-git-in-uploads
...
ignore .git directories in uploads
2017-10-18 13:11:46 +01:00
Brian Gough
5d116e8ce9
Merge pull request #65 from sharelatex/bg-fix-main-doc-selection
...
fix main doc selection (connects to overleaf/sharelatex#222 )
2017-10-18 13:11:10 +01:00
Brian Gough
d0f0268783
Merge pull request #57 from sharelatex/bg-handle-undefined-project-name-with-error
...
avoid exception in validateProjectName
2017-10-18 13:10:45 +01:00
Brian Gough
f8662d8aaa
Merge pull request #60 from sharelatex/bg-fix-unzip-permission
...
replace unzip with yauzl (connects to #219 )
2017-10-18 13:10:07 +01:00
Shane Kilkelly
7d2bde85ff
Add a setting to enable anonymous read-and-write link sharing
2017-10-18 13:04:37 +01:00
Paulo Reis
f6ebbc37db
Fix z-index issue in the resolved comments dropdown.
2017-10-18 11:09:55 +01:00
Paulo Reis
cfa0989a03
Remove extra semicolon.
2017-10-18 10:55:32 +01:00
Brian Gough
290361dc72
ignore .gitignore files in uploads too
2017-10-17 16:49:51 +01:00
Brian Gough
277b9c5d50
ignore .git directories in uploads
2017-10-17 16:32:26 +01:00
Brian Gough
6001f14261
log each file unzipped
2017-10-17 16:31:56 +01:00
Brian Gough
76d73951f2
fix bug when unzipping directory
2017-10-17 16:31:35 +01:00
Brian Gough
82b84fd5f4
hide logs when there are validation errors
2017-10-17 15:50:38 +01:00
Brian Gough
bcabec1c5d
added tests
2017-10-17 15:50:29 +01:00
Brian Gough
56cb901b41
filter missing doc_ids from root doc_ids list
2017-10-17 15:49:02 +01:00
Brian Gough
f70ab03bd8
show an error if the main file cannot be found
...
also improve logic for detecting the main file, if there's only one file
it must be the main file.
2017-10-17 15:47:50 +01:00
Alasdair Smith
b0dc84748a
Fix to actual percentage
2017-10-17 15:44:15 +01:00
Paulo Reis
db6ca5d1c3
Reorganize common vars file.
2017-10-17 15:42:37 +01:00
Paulo Reis
cf89c22ca5
Clarify comments.
2017-10-17 15:06:44 +01:00
Paulo Reis
8e74278503
Remove test stuff.
2017-10-17 15:06:19 +01:00
Paulo Reis
79c77188f3
Disable source maps (to be reenabled later on).
2017-10-17 15:04:43 +01:00
Alasdair Smith
6ff3a2de9f
Rollout autocompile to 1% of users and improve readability
2017-10-17 15:04:27 +01:00
Henry Oswald
aff5823a2d
Revert "Complete 'usepackage' with packages"
2017-10-17 13:30:47 +01:00
Paulo Reis
ec4ff90273
IE scrollbar adjustments; use calc to set content min-height (IE fails with flex and min-height).
2017-10-17 12:24:47 +01:00
Shane Kilkelly
9c247d5f59
On project list, only show projects once, with max access
2017-10-17 11:10:31 +01:00
Shane Kilkelly
855fe2e143
If user is project owner, don't add them as a token user
2017-10-16 16:44:20 +01:00
Brian Gough
4c78b5770c
use regex for directory check
2017-10-16 15:17:33 +01:00
Brian Gough
2bb7c6d4c6
remove child_process module from ArchiveManager
2017-10-16 14:21:28 +01:00
Shane Kilkelly
5fb86441f6
Add acceptance tests for private-overleaf-project
...
... when accessed via the read-write token by the owner
2017-10-16 14:15:50 +01:00
Brian Gough
96d08e41a7
update tests
2017-10-16 14:15:38 +01:00
Brian Gough
d6d76f132e
replace unzip with yauzl
2017-10-16 14:15:38 +01:00
Paulo Reis
829f60fec4
Fix scrolling issues in IE11.
2017-10-16 14:08:48 +01:00
Joe Green
67b13d2583
Update Jenkinsfile
2017-10-16 14:07:49 +01:00
Alasdair Smith
60c297eac8
Also prevent rollout to modulo 0 users
2017-10-16 13:40:09 +01:00
Shane Kilkelly
ad999a72b6
If a token-based project not found, check private overleaf project
2017-10-16 13:20:15 +01:00
Alasdair Smith
abb21ac96b
Fix autocompile rollout logic
2017-10-16 12:44:11 +01:00
Alasdair Smith
bd6bc42a9a
Don't Show autocompile on load
2017-10-16 11:42:15 +01:00
Alasdair Smith
5d3371a52c
Merge pull request #38 from sharelatex/as-autocompile-rollout
...
Rollout for auto compile; Connects to #20
2017-10-16 10:48:43 +01:00
Alasdair Smith
625f52c248
Update cutoff date
2017-10-16 10:28:42 +01:00
Alasdair Smith
e02c3bbb09
Remove beta program badge
2017-10-16 10:27:33 +01:00
Alasdair Smith
6c3ceb48df
Allow onboarding to be shown outside of beta program
2017-10-16 10:25:52 +01:00
Nate Stemen
333e411a75
Merge pull request #39 from sharelatex/ns-package-completer
...
Complete 'usepackage' with packages
2017-10-13 17:43:36 +01:00
Nate Stemen
2efb6b69e5
removing comment
2017-10-13 17:42:10 +01:00
Shane Kilkelly
ee29cb45d2
Translations for the new link-sharin (token access) feature
2017-10-13 13:57:11 +01:00
Shane Kilkelly
490ccc6051
Add commentary to token-generator, and move token-alpha to top level
2017-10-13 11:37:38 +01:00
Shane Kilkelly
ac513a1355
Refactor to not pass req
down into Auth modules
2017-10-13 11:20:57 +01:00
Brian Gough
d5fba2cc71
enable incremental compiles for all users
2017-10-13 08:23:16 +01:00
Brian Gough
4ce639db70
Merge pull request #58 from sharelatex/bg-rate-limit-autocompile
...
fix two bugs in auto compile limit logic
2017-10-13 08:18:31 +01:00
Alasdair Smith
36e1fafb60
Set proportion to 0
2017-10-12 17:10:41 +01:00
James Allen
f0079bb7a4
Merge pull request #41 from sharelatex/ja-transfer-projects
...
Add method to transfer projects from one user_id to another
2017-10-12 16:27:00 +01:00
Brian Gough
fc3ecddd0e
fix two bugs in auto compile limit logic
...
1. the compileGroup is "standard" not default
2. was not excluding normal compiles from metrics
2017-10-12 16:18:14 +01:00
Brian Gough
8cf3288187
avoid exception in validateProjectName
2017-10-12 16:03:12 +01:00
Shane Kilkelly
dcf601fe80
Only show token-based projects if accessLevel is set to token-based
2017-10-12 15:47:29 +01:00
Paulo Reis
ef9651cc88
Style progress bars.
2017-10-12 15:44:06 +01:00
Shane Kilkelly
9a7c8c5842
Revert "Remove remaining traces of UserStub"
...
This reverts commit ab6b4c32254a20b940c489b8b5b56237433cc0f6.
2017-10-12 15:08:48 +01:00
Brian Gough
3d2f9f0219
Merge branch 'bg-auto-doc-flush'
2017-10-12 15:01:27 +01:00
Brian Gough
fdffc92de2
fix unit tests
2017-10-12 15:01:11 +01:00
Brian Gough
18370076a2
Merge pull request #45 from sharelatex/bg-auto-doc-flush
...
allow docupdater to flush docs in background (connects to overleaf/sharelatex#190 )
2017-10-12 14:48:16 +01:00
Paulo Reis
f47dac6414
Take potential padding into account when calculating proj list height.
2017-10-12 14:19:31 +01:00
Paulo Reis
c488916c69
Make content section expand at least to all available height.
2017-10-12 12:18:56 +01:00
Paulo Reis
2d5426391d
Avoid generating unneeded scroll.
2017-10-12 11:53:19 +01:00
Shane Kilkelly
16416463c6
Update removeUserFromProject
to account for token-access
2017-10-12 11:49:02 +01:00
Shane Kilkelly
6feedf5520
Use crypto module for token generation
2017-10-12 11:36:45 +01:00
Shane Kilkelly
22c5f41fb6
Add logging for token generation
2017-10-12 11:25:16 +01:00
Shane Kilkelly
fe708fcc04
Generate all missing tokens
2017-10-12 11:19:26 +01:00
Shane Kilkelly
70b1e42e36
Add deprecation comment regarding legacy access-levels
2017-10-12 11:00:39 +01:00
Shane Kilkelly
6e09165452
Refactor auth sources
2017-10-12 10:57:11 +01:00
Brian Gough
45ed090326
Merge pull request #37 from sharelatex/bg-rate-limit-autocompile
...
rate limit autocompile (connects to #18 )
2017-10-12 09:25:59 +01:00
Brian Gough
c913ec69ef
Merge pull request #34 from sharelatex/bg-fix-double-callback-in-resources-check
...
fix double callback in resources check (connects to #18 )
2017-10-12 09:20:05 +01:00
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
Shane Kilkelly
1a4ffe7708
Remove un-necessary call to getProject
from archiveProject
path
2017-10-09 11:30:55 +01:00
Shane Kilkelly
ad68adee9a
Add more commentary on the anonymous path
2017-10-09 11:13:55 +01:00
Shane Kilkelly
e73de3bfd4
Fix whitespace in function signature
2017-10-09 10:57:23 +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
Shane Kilkelly
732ce9417b
Don't create tokens on project by default
2017-10-09 10:25:20 +01:00
Shane Kilkelly
29a584996f
Flesh out acceptance tests for token access
2017-10-06 16:26:47 +01:00
Shane Kilkelly
d386f79a76
Clean up
2017-10-06 16:10:33 +01:00
Shane Kilkelly
b5bed1837e
Start acceptance tests for token-based access
2017-10-06 15:58:03 +01:00
Shane Kilkelly
91abb6eed6
If project is not tokenBased, don't count members of token arrays
2017-10-06 15:57:22 +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
Shane Kilkelly
387854db7a
Fix an embarassing mistake, generate tokens dynamically, not once.
2017-10-06 13:24:10 +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
Shane Kilkelly
1500976226
Add temporary text to share modal
2017-10-05 14:47:50 +01:00
James Allen
9c1faa4395
Add method to transfer projects from one user_id to another
2017-10-05 14:26:34 +01:00
Shane Kilkelly
bb0dad3353
Safe access to potentially-null project
2017-10-05 14:19:21 +01:00
Shane Kilkelly
b8d90a1a99
Show token-access projects on the dashboard
2017-10-05 13:20:06 +01:00
Shane Kilkelly
e4e558c0e6
Hide access tokens if user is not the project owner.
...
This prevents sneaky read-only users from sniffing out the read-write
link via the browser console.
2017-10-05 13:18:30 +01:00
Paulo Reis
166a0605a3
Make form elements consistent with button sizes.
2017-10-05 10:49:56 +01:00
Shane Kilkelly
6482cd7dd8
Generate tokens on old projects if they're not present
2017-10-04 16:31:24 +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
Shane Kilkelly
b6c2a8f7f7
Tidy up callbacks
2017-10-03 14:14:22 +01:00
Shane Kilkelly
7b33f8b4c2
Unit test TokenAccessController
2017-10-03 14:04:59 +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
Shane Kilkelly
ede497f4b3
Unit test TokenAccessHandler
2017-10-03 10:02:26 +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
Shane Kilkelly
11249c070c
Remove commented-out code
2017-10-02 14:50:43 +01:00
Shane Kilkelly
ea7d7c604e
Remove token header from angular $http
2017-10-02 14:44:03 +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
Shane Kilkelly
9f24f696a5
Use custom header, send anonToken in payload to joinProject
2017-09-29 16:32:07 +01:00
Shane Kilkelly
34d4d1360f
Anon read-token: add an Authorization header to $http
2017-09-29 15:54:55 +01:00
Hayden Faulds
bf1c24f6f9
return pathname from DocumentController.getDoc
2017-09-29 15:37:10 +01:00
Shane Kilkelly
a66cb15f48
Use angular $http
service for spellcheck
2017-09-29 14:55:06 +01:00
Shane Kilkelly
f74da0e6cf
Use angular $http
service for references
2017-09-29 14:51:00 +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
Shane Kilkelly
e04d10d11f
Styling of link-share, and fix read-only link
2017-09-29 10:59:30 +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
Shane Kilkelly
df338ebd6d
Show tokens in share modal
2017-09-29 10:11:23 +01:00
Shane Kilkelly
9810f63245
Render editor for token access, stub out ui changes
2017-09-28 16:06:08 +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
Shane Kilkelly
4552f3be67
Move the getPublicAccessLevel
helper to top-level of module
2017-09-28 10:53:35 +01:00
Shane Kilkelly
27dcf6c4c5
Fix a typo causing double-callbacks
2017-09-28 10:37:57 +01:00
Shane Kilkelly
574b115022
Working token-based access
2017-09-27 14:01:52 +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
Shane Kilkelly
ee32648bf4
Order privileges by highest-to-lowest
2017-09-22 15:55:38 +01:00
Shane Kilkelly
81170d472d
Add token-access routes
2017-09-22 14:54:35 +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
Shane Kilkelly
95292a2e55
Add unique index to token properties
2017-09-21 15:06:42 +01:00
Shane Kilkelly
441c207953
Generate tokens by default
2017-09-21 15:04:15 +01:00
Shane Kilkelly
562b2db600
Fix unit test
2017-09-21 15:01:40 +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
Shane Kilkelly
abe41b6948
Fix projection in project query
2017-09-21 13:37:10 +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
Shane Kilkelly
7dc759482c
Fix how adding user to project works in acceptance tests
2017-09-21 11:43:16 +01:00
Shane Kilkelly
863d327743
Change logic to exclude token users
2017-09-21 11:02:55 +01:00
Shane Kilkelly
931ba56e33
Add an 'owner' source tag, for the project owner
2017-09-21 09:35:25 +01:00
Shane Kilkelly
ef7e1ceabf
Rename functions to make distinction between invited/token members
2017-09-21 09:30:38 +01:00
Shane Kilkelly
91ec0da239
Use the invitedMembers function for sending tpds updates
2017-09-20 15:48:20 +01:00
Shane Kilkelly
574baf386e
Alter getProjectsUserIsMemberOf
to include token-access projects.
...
Also change the api to produce an object with the different project lists
attached, rather than a pair of lists.
2017-09-20 15:26:03 +01:00
Shane Kilkelly
ceb7c509d0
Rename getProjectsUserIsCollaboratorOf
to ...IsMemberOf
...
This brings the naming more in line with current conventions.
2017-09-20 13:16:50 +01:00
Shane Kilkelly
069f49d5a6
Change getCollaboratorCount
to getInvitedCollaboratorCount
.
...
And update the one call-site in LimitationsManager. This function
is used to limit invites, so it makes sense to explicitely limit
this to Invited members of the project.
2017-09-20 10:29:47 +01:00
Shane Kilkelly
8460160076
Add a getInvitedMembersWithPrivilegeLevels
function.
...
Then use it to build the loadProject view-model.
2017-09-20 10:02:43 +01:00
Shane Kilkelly
cf54989e6a
Add a getInvitedMemberIds
function
...
Limited to only members who were invited to the project, not users
who have access via a token.
2017-09-20 09:36:56 +01:00
Shane Kilkelly
fc202439ab
Read-only privelege for anonymous access
2017-09-20 09:36:06 +01:00
Shane Kilkelly
06966f67db
Differentiate project members by source, include token members
2017-09-20 09:35:19 +01:00