Commit graph

5170 commits

Author SHA1 Message Date
Shane Kilkelly
5d0dd6ffc9 Pin the track-changes module to the sk-unlisted-projects branch 2017-11-06 10:47:24 +00:00
Alasdair Smith
cdbc551e01 Increase autocompile rollout to 60% 2017-11-06 10:22:50 +00:00
Paulo Reis
3593c4b221 Make tag widget non breakable. 2017-11-03 16:20:49 +00:00
Paulo Reis
e26c52967e Limit tag width a little more. 2017-11-03 16:20:39 +00:00
Paulo Reis
81e831de24 Right-align the projects toolbar; limit tags dropdown width. 2017-11-03 15:53:57 +00:00
Shane Kilkelly
caf6315d4d Remove old module import 2017-11-03 15:26:38 +00:00
Shane Kilkelly
6dc31eebc5 Fix unit tests for ProjectController 2017-11-03 15:08:21 +00:00
Paulo Reis
71463a2ec2 Limit tag width in the projects list table. 2017-11-03 15:07:04 +00:00
Shane Kilkelly
18b9aef9ae Disable the Guests switch when tc is active for everyone 2017-11-03 13:20:09 +00:00
Shane Kilkelly
3cafd0ac8f Refine deactivate logic, only if member via token and not otherwise 2017-11-03 11:46:00 +00:00
Shane Kilkelly
3360688752 Separate cases of setting Guest TC in general, and for this user 2017-11-03 11:11:04 +00:00
Shane Kilkelly
bd8765a75f Trigger an angular digest after updating vars 2017-11-03 11:10:42 +00:00
Shane Kilkelly
e64e388913 Add console helpers to editor, to turn on token-access-ui 2017-11-02 15:55:10 +00:00
Shane Kilkelly
57ae935155 Set token-access-ui rollout to 0% 2017-11-02 15:54:54 +00:00
Shane Kilkelly
9cd6b4e6ad Test for when anon write access is disabled 2017-11-02 15:16:04 +00:00
Shane Kilkelly
51ba81e431 Add percentage-based rollout for token-access ui 2017-11-02 11:17:08 +00:00
Shane Kilkelly
1cedfed1e4 Merge branch 'master' into sk-unlisted-projects 2017-11-02 10:10:09 +00:00
Shane Kilkelly
0e869fe4e0 Test the case of anonymous read-write token access being turned on 2017-11-01 16:22:23 +00:00
Brian Gough
15997ea782 increase allowed op backlog and flush tolerance 2017-11-01 14:20:07 +00:00
Shane Kilkelly
fcb04472a1 De-duplicate logic in TokenAccessController 2017-11-01 14:05:29 +00:00
Shane Kilkelly
d8486afe5d Account for higher-access in the token read-only path too 2017-11-01 14:01:00 +00:00
Shane Kilkelly
9984ab081e Generalise the higher-access logic for read-write token path 2017-11-01 11:50:04 +00:00
Shane Kilkelly
b36849d262 Remove a dead event 2017-11-01 11:03:07 +00:00
Alasdair Smith
773277e3a0 Merge pull request #88 from sharelatex/as-fix-rollout
Fix autocompile rollout
2017-11-01 09:33:50 +00:00
Alasdair Smith
6dc0561fa7 Fix bug where dismissing onboarding would hide autocompile switch 2017-10-31 17:00:41 +00:00
Hayden Faulds
79d9756bea Merge pull request #81 from sharelatex/hof-init-project-history
initialize project history on project creation
2017-10-31 14:47:00 +00:00
Shane Kilkelly
a212fb1a05 Add "[TokenAccess]" context to log lines 2017-10-31 14:27:43 +00:00
Shane Kilkelly
030ffbe231 Add event-tracking to the make-token-based action 2017-10-31 14:23:05 +00:00
Brian Gough
b6129be33d Merge pull request #85 from sharelatex/bg-upgrade-ioredis
upgrade ioredis
2017-10-31 14:19:44 +00:00
Alasdair Smith
248dfdeeb5 Increase autocompile rollout to 40% 2017-10-31 09:18:14 +00:00
Brian Gough
41819db7c5 remove unnecessary redis package 2017-10-30 15:41:32 +00:00
Brian Gough
e474344204 remove unnecessary ioredis package 2017-10-30 15:41:09 +00:00
Brian Gough
ebd28a8353 upgrade ioredis vis redis sharelatex 2017-10-30 15:40:56 +00:00
Shane Kilkelly
cc67b871e9 Make contents of 'make-private' dialog depend on current state 2017-10-30 14:21:54 +00:00
Shane Kilkelly
4130732c14 Only show the TC "Guests" switch if token-acces UI is enabled 2017-10-30 14:13:56 +00:00
Shane Kilkelly
a3e5788b97 Move the __enableTokenAccessUI state to top level 2017-10-30 13:58:22 +00:00
Shane Kilkelly
5fe5125a5c Add ability to show/hide the new token-access ui 2017-10-30 13:48:25 +00:00
Shane Kilkelly
14633fe867 Update the link-sharing wiki url 2017-10-30 13:47:48 +00:00
Shane Kilkelly
23d249f092 Add links to learn-wiki article about link sharing 2017-10-30 10:43:27 +00:00
Alasdair Smith
7002f1ba8b Merge pull request #84 from sharelatex/as-20-pc-rollout
Increase autocompile rollout to 20%
2017-10-30 09:51:00 +00:00
Alasdair Smith
b9ad03d20c Increase autocompile rollout to 20% 2017-10-30 09:44:08 +00:00
Hayden Faulds
4ca73f6b53 allow overleaf.history.id to be blank 2017-10-27 16:52:10 +01:00
Hayden Faulds
19bc145ff4 separate overleaf.id from overleaf.history.id 2017-10-27 15:28:42 +01:00
Shane Kilkelly
c5a90233b4 Add a little 'link' icon beside projects which are link-shared 2017-10-27 15:17:41 +01:00
Shane Kilkelly
239f56ca0e add unique index to both token fields 2017-10-27 14:58:55 +01:00
Hayden Faulds
20ea9918c9 allow overleafId to be passed in to avoid history initialization 2017-10-27 14:56:16 +01:00
Shane Kilkelly
a57827458d Fix guest state sync 2017-10-27 14:41:48 +01:00
Shane Kilkelly
83bd78f467 More sensible conversion of byte-buffer to array 2017-10-27 10:38:55 +01:00
Shane Kilkelly
ec94e59388 Fix error-handling in setPublicAccessLevel 2017-10-26 16:39:24 +01:00
Shane Kilkelly
18443b55cb Refactor token generator, and use crypto for numerics 2017-10-26 16:01:53 +01:00
Paulo Reis
97c5e33f54 Use percent-based sizing for body min-height; add explicit height to the html element. 2017-10-26 15:47:39 +01:00
Shane Kilkelly
d2a17c2745 Add rate-limiting to the token endpoints 2017-10-26 14:11:31 +01:00
Shane Kilkelly
8a2acd7138 Only turn on guest track-changes if available 2017-10-26 13:48:02 +01:00
Shane Kilkelly
623795a50e Remove commented-out styles 2017-10-26 11:19:01 +01:00
Shane Kilkelly
f9d83c24ef clean-up commented out code 2017-10-26 11:04:59 +01:00
Shane Kilkelly
62d170e7a0 Move the access-level sync out of the share controller.
This means sync will work even for clients which don't show the share
button in the menu bar.
2017-10-26 11:04:00 +01:00
Shane Kilkelly
f9899e8047 Add tooltips to the track-changes switches 2017-10-26 11:03:02 +01:00
Shane Kilkelly
e16c8aa8be Add unit tests for userIsTokenMember 2017-10-25 16:09:16 +01:00
Shane Kilkelly
5f6e191c5f Automatically disable guest-track-changes when project made private 2017-10-25 14:48:32 +01:00
Shane Kilkelly
6e8e4e6453 Use ng-href for binding links with angular 2017-10-25 11:48:37 +01:00
Shane Kilkelly
8561b69ee9 Remove tokenMembers sync to clients 2017-10-25 11:29:05 +01:00
Shane Kilkelly
74c231826d WIP: track changes with token-access 2017-10-25 10:34:18 +01:00
Paulo Reis
5cafee4879 Constrain announcements height. 2017-10-25 10:33:20 +01:00
Paulo Reis
2ef7fd1d0a Position the notifications lion relatively to the body. 2017-10-25 10:14:47 +01:00
Paulo Reis
cbb79e04ce Ignore CSS source maps. 2017-10-25 10:13:42 +01:00
Paulo Jorge Reis
0453aa60fe Merge pull request #66 from sharelatex/pr-ol-beta-theme
Overleaf beta theme & dashboard styling
2017-10-25 09:40:02 +01:00
Brian Gough
5999284143 Merge pull request #74 from sharelatex/bg-fix-listen-in-acceptance-tests
exit if mock servers fail to start
2017-10-25 09:14:29 +01:00
Alasdair Smith
f8e44471ee Merge pull request #75 from sharelatex/as-10-pc-rollout
Rollout autocompile to 10% of users
2017-10-25 09:05:24 +01:00
Paulo Reis
7c5f6539ae Remove translations from shrinkwrap. 2017-10-24 16:24:27 +01:00
Paulo Reis
70a56d0474 Merge branch 'master' into pr-ol-beta-theme 2017-10-24 16:19:31 +01:00
Paulo Reis
9b128591b1 Enable sourcemaps on dev and prod environments (both minified and normal). 2017-10-24 16:03:59 +01:00
Hayden Faulds
670b183c8e initialize project history on creation 2017-10-24 13:07:00 +01:00
Hayden Faulds
c437eb37d5 handle missing settings.apis.project_history 2017-10-24 09:47:14 +01:00
Hayden Faulds
519f041215 Merge pull request #50 from sharelatex/hof-toggle-projec-history
toggle project history
2017-10-24 09:13:50 +01:00
Paulo Reis
83a1b2f5a0 Reenable source maps. 2017-10-23 16:58:02 +01:00
Paulo Reis
b834794ba6 Remove more commented-out code. 2017-10-23 16:21:42 +01:00
Paulo Reis
5f5731eca2 Rename content margin top variable to content margin vertical, as it affects both top and bottom. 2017-10-23 16:18:16 +01:00
Paulo Reis
fb121494e6 Remove commented code. 2017-10-23 16:15:30 +01:00
Paulo Reis
632e3228e0 Remove unneeded existence checks. 2017-10-23 16:13:07 +01:00
Paulo Reis
c105048e8d Make project selection ARIA attributes translatable. 2017-10-23 16:09:43 +01:00
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