Alasdair Smith
fe90ef047f
Temp OL label
2017-11-20 11:23:02 +00:00
Alasdair Smith
532a26c68f
Extract out project list item to template and add OL-specific template
2017-11-20 11:23:02 +00:00
Alasdair Smith
d072fabb25
Fix non-beta throwing error because it's expecting OL projects
2017-11-20 11:23:02 +00:00
Alasdair Smith
8c66342a04
Pull in OL projects and process for view
2017-11-20 11:23:02 +00:00
Alasdair Smith
fa0559f8d7
Fetch OL projects using OAuth
2017-11-20 11:23:02 +00:00
Alasdair Smith
f6bbf7fe3f
wip
2017-11-20 11:23:02 +00:00
Alasdair Smith
154943ba68
Don't check for linting errors if code check is disabled
...
There are a couple of reasons for this:
1. Some linting errors are returned from the server after a compile is run,
replacing client-side linting errors. If code check is disabled this does not
happen, and therefore linting errors persist until the next compile. This makes
it appear as though autocompile is not running
2. It is likely that if code check is disabled, the user is deliberately
ignoring linting errors and therefore the linting check is pointless
2017-11-17 16:38:44 +00:00
Alasdair Smith
b6289f03e3
Conditional check
2017-11-16 15:58:32 +00:00
Alasdair Smith
8cafda8419
Merge pull request #129 from sharelatex/as-allow-force-rollout
...
Allow user to force themselves to be part of autocompile rollout
2017-11-16 15:49:28 +00:00
Brian Gough
bd09ef81f2
added comments
2017-11-16 15:41:16 +00:00
Alasdair Smith
b889a8bb4d
Allow user to force themselves to be part of autocompile rollout
2017-11-16 15:38:51 +00:00
Alasdair Smith
38ad023927
Merge pull request #111 from sharelatex/as-autocompile-rollout-5
...
Increase autocompile rollout to 5%
2017-11-16 13:52:42 +00:00
Alasdair Smith
2b88d2bc4e
Change autocompile onboarding image to not imply that it is on
...
We have a theory that the image shown in the autocompile onboarding implies
that it is already switched on. This changes the image to show the switch
as off, hopefully fixing it
2017-11-16 13:35:06 +00:00
Brian Gough
dc6110db8d
put ace in readonly mode when changing session
...
if the session fails to attach successfully (e.g due to an exception in
the changeSession event handler) the editor will be left in a state
where the user will not be able to enter any text. This should at least
cause them to reload the editor.
2017-11-16 11:32:08 +00:00
Alasdair Smith
a5bb76b2be
Increase rollout to 5%
2017-11-16 10:36:35 +00:00
Brian Gough
125a5ec606
temporarily avoid exception in ace event handler
...
full fix will be to use the angular $http cancellation mechanism
2017-11-15 16:28:31 +00:00
Shane Kilkelly
2a7e68e37b
Merge pull request #109 from sharelatex/sk-token-access-redirect-fix
...
Set redirect when bouncing away from token route; Fixes overleaf/sharelatex#250
2017-11-15 14:56:42 +00:00
Alasdair Smith
b1bae4aaae
Change to 3% rollout
2017-11-15 13:47:05 +00:00
Shane Kilkelly
5df4556e9c
Set redirect when bouncing away from token route
...
This ensures that when the user logs in they will be redirected back
to this token, the page they wanted to access in the first place.
2017-11-15 13:30:40 +00:00
Alasdair Smith
0d566f8c39
Increase autocompile rollout to 5%
2017-11-15 12:01:47 +00:00
Shane Kilkelly
a15cb64418
Increase link-sharing rollout to 40%
2017-11-15 10:25:17 +00:00
Shane Kilkelly
a0c7295b36
Merge branch 'master' of github.com:sharelatex/web-sharelatex-internal
2017-11-13 10:45:29 +00:00
Shane Kilkelly
bc87bceb5f
Update the linksharing rollout to 10%
2017-11-13 10:27:27 +00:00
Hayden Faulds
d084b57d5a
Merge pull request #90 from sharelatex/hof-version-renames
...
version entity renames/moves
2017-11-13 10:13:34 +00:00
Shane Kilkelly
aea8e77f8a
Merge branch 'as-fix-rollout-2'
2017-11-13 09:50:46 +00:00
Shane Kilkelly
8ba9073606
Merge branch 'sk-link-sharing-onboarding'
2017-11-13 09:31:44 +00:00
Shane Kilkelly
e63f452807
Merge branch 'sk-smarter-percentage-rollout'
2017-11-13 09:24:11 +00:00
Brian Gough
fe12a341e1
Merge pull request #89 from sharelatex/bg-slow-connection-fix
...
increase allowed op backlog and flush tolerance
2017-11-13 09:22:18 +00:00
Shane Kilkelly
cac39134cd
Remove stray test lines
2017-11-10 16:20:59 +00:00
Shane Kilkelly
600191b2af
Ensure that different features produce different results
2017-11-10 16:19:43 +00:00
Shane Kilkelly
3a4edeaf4c
Add a unit test for _isInPercentageRollout
2017-11-10 16:13:27 +00:00
Shane Kilkelly
00f095da3c
Merge branch 'master' into sk-smarter-percentage-rollout
2017-11-10 16:00:02 +00:00
Shane Kilkelly
032400905d
Fix a silly assignment mistake
2017-11-10 15:59:11 +00:00
Shane Kilkelly
df31748148
Distinguish between separate percentage rollouts
2017-11-10 15:50:17 +00:00
Shane Kilkelly
23814d25ac
Merge pull request #101 from sharelatex/sk-bypass-percentage-rollout
...
Option to bypass percentage rollouts (for on-site deploys)
2017-11-10 15:33:28 +00:00
Shane Kilkelly
0539930906
Use the common _isInPercentageRollout
function for autocompile
2017-11-10 14:16:00 +00:00
Shane Kilkelly
22d1693f38
Add option to bypass percentage-based rollouts
2017-11-10 14:15:43 +00:00
Shane Kilkelly
87e4303aac
Thin out the border around link-sharing onboarding popover arrow
2017-11-10 13:25:59 +00:00
Shane Kilkelly
42c0974671
Place the linksharing popover from the right, not the left.
...
This ensures the popover reflows properly with window resize.
2017-11-10 12:05:12 +00:00
Shane Kilkelly
faf6178fa8
Restrict link-sharing onboarding popup to admins.
...
Only people with admin permission to the Project can see the Share
button and dialog. It doesn't make sense to alert users who can't
interact with the feature anyway.
2017-11-10 11:09:46 +00:00
Shane Kilkelly
666ee0669a
Alter position of link-sharing popover, and better image
2017-11-10 10:24:36 +00:00
Shane Kilkelly
44420b41d6
Remove stray console log
2017-11-09 15:13:58 +00:00
Shane Kilkelly
766c8d6f0f
Add a general 'ide:loaded' event, to init popover
2017-11-09 15:12:55 +00:00
Shane Kilkelly
470ad36218
Add onboarding popup for link-sharing
2017-11-09 14:28:11 +00:00
Hayden Faulds
086a0829e3
use self rather than ProtectEntityHandler
2017-11-08 13:45:11 +00:00
Joe Green
2c4d01ebde
only build master periodically
2017-11-08 13:40:20 +00:00
Hayden Faulds
3ce03a40f9
send both doc update and file updates to doc-updater
2017-11-08 13:11:17 +00:00
Hayden Faulds
06116dc956
version moving entities
2017-11-08 13:11:17 +00:00
Hayden Faulds
607f0125fc
return project from _removeElementFromMongoArray and _putElement
2017-11-08 13:11:17 +00:00
Hayden Faulds
929b9996d3
version doc renames
2017-11-08 13:11:17 +00:00
Hayden Faulds
599f2cb3ae
add DocumentUpdaterHandler.updateProjectStructure
2017-11-08 13:10:48 +00:00
Alasdair Smith
80231b0c1f
1% rollout
2017-11-08 12:42:47 +00:00
Shane Kilkelly
f3d037f7bc
Merge branch 'master' into sk-unlisted-projects
2017-11-08 11:21:19 +00:00
Alasdair Smith
8174a849a1
Reset to new analytics key
2017-11-08 11:01:36 +00:00
Alasdair Smith
76e3f0ab9f
Reduce rollout to 5%
2017-11-08 11:01:20 +00:00
Alasdair Smith
15d3e5eb6e
Fix triggering autocompile in rollout
2017-11-08 10:31:41 +00:00
Paulo Jorge Reis
9d74cd6063
Merge pull request #95 from sharelatex/pr-fix-add-to-tag-dropdown
...
Fix "add to folder" dropdown + folder labels
2017-11-08 10:10:45 +00:00
Shane Kilkelly
82f5bbc5c8
Merge branch 'master' into sk-unlisted-projects
2017-11-07 16:15:45 +00:00
Shane Kilkelly
484cad2ef0
Render anonymous users as '?' in top bar
2017-11-07 14:20:08 +00:00
Shane Kilkelly
9180aaff05
Remove stray space from after help (?) link
2017-11-07 11:39:02 +00:00
Paulo Reis
68336457d8
Avoid using js-prefixed classes for styling.
2017-11-07 10:54:41 +00:00
Paulo Reis
888734655f
Remove commented-out code.
2017-11-07 10:38:18 +00:00
Shane Kilkelly
2b4d516353
When anon is denied access to read-write token, redirect to restricted
2017-11-06 16:46:42 +00:00
Alasdair Smith
e757bd673e
Move vertical align to affect label name & remove
...
Fixes issue with Chrome where label was mis-aligned
2017-11-06 13:52:32 +00:00
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