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 |
|
Shane Kilkelly
|
a0c7295b36
|
Merge branch 'master' of github.com:sharelatex/web-sharelatex-internal
|
2017-11-13 10:45:29 +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 |
|
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 |
|
Shane Kilkelly
|
2b4d516353
|
When anon is denied access to read-write token, redirect to restricted
|
2017-11-06 16:46:42 +00:00 |
|
Shane Kilkelly
|
6dc31eebc5
|
Fix unit tests for ProjectController
|
2017-11-03 15:08:21 +00:00 |
|
Shane Kilkelly
|
9cd6b4e6ad
|
Test for when anon write access is disabled
|
2017-11-02 15:16:04 +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 |
|
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 |
|
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 |
|
Hayden Faulds
|
19bc145ff4
|
separate overleaf.id from overleaf.history.id
|
2017-10-27 15:28:42 +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
|
ec94e59388
|
Fix error-handling in setPublicAccessLevel
|
2017-10-26 16:39:24 +01:00 |
|
Shane Kilkelly
|
e16c8aa8be
|
Add unit tests for userIsTokenMember
|
2017-10-25 16:09:16 +01:00 |
|
Shane Kilkelly
|
8561b69ee9
|
Remove tokenMembers sync to clients
|
2017-10-25 11:29:05 +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 |
|
Hayden Faulds
|
670b183c8e
|
initialize project history on creation
|
2017-10-24 13:07:00 +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 |
|
Hayden Faulds
|
299112f6e0
|
toggle project history using setting
|
2017-10-23 15:49:10 +01:00 |
|
Brian Gough
|
dcdcbd8388
|
exit if mock servers fail to start
|
2017-10-20 16:00:52 +01:00 |
|
Shane Kilkelly
|
dc39e447b2
|
Change findAllUsersProjects , produce and object rather than lists
|
2017-10-20 11:49:20 +01:00 |
|
Shane Kilkelly
|
0e44b319db
|
Change anonToken and such to anonymousAccessToken
|
2017-10-20 10:10:21 +01:00 |
|
Shane Kilkelly
|
eab77aba91
|
Abstract away the token-protection logic
|
2017-10-19 16:26:01 +01:00 |
|
Shane Kilkelly
|
22795981b9
|
Add tests to check when tokens are never activated
|
2017-10-19 15:22:44 +01:00 |
|
Shane Kilkelly
|
d8717a06a2
|
Fix track-changes with token-access
|
2017-10-19 14:42:17 +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
|
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 |
|
Shane Kilkelly
|
7d2bde85ff
|
Add a setting to enable anonymous read-and-write link sharing
|
2017-10-18 13:04:37 +01:00 |
|
Brian Gough
|
bcabec1c5d
|
added tests
|
2017-10-17 15:50:29 +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 |
|
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 |
|
Shane Kilkelly
|
ad999a72b6
|
If a token-based project not found, check private overleaf project
|
2017-10-16 13:20:15 +01:00 |
|
Shane Kilkelly
|
ac513a1355
|
Refactor to not pass req down into Auth modules
|
2017-10-13 11:20:57 +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
|
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 |
|
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 |
|