Nate Stemen
|
2a50a18d23
|
Merge branch 'ns-package-aware-autocomplete'
|
2017-11-28 10:24:37 -05:00 |
|
Shane Kilkelly
|
cc9986cefd
|
Remove the obsolete update-billing-details page
|
2017-11-28 11:52:14 +00:00 |
|
Shane Kilkelly
|
22c163c60a
|
Move the recurly-billing-details link up to main subscription page
|
2017-11-28 11:40:48 +00:00 |
|
James Allen
|
3e90103d9c
|
No need to bind to 0.0.0.0 when running in same container
|
2017-11-27 17:10:58 +00:00 |
|
James Allen
|
fbf8cc2d03
|
Run acceptance tests via docker compose
|
2017-11-27 17:10:58 +00:00 |
|
James Allen
|
62de9d8946
|
Move test/UnitTests -> unit/test
|
2017-11-27 17:10:22 +00:00 |
|
Shane Kilkelly
|
caa65dddc1
|
Send user to hosted recurly billing-details page.
And remove our update-billing-details form, the APIs for which will be
deprecated soon.
|
2017-11-23 16:16:13 +00:00 |
|
Brian Gough
|
2c3ee253e1
|
fix unit tests
|
2017-11-23 15:47:11 +00:00 |
|
Brian Gough
|
bb2d1321d4
|
Merge pull request #91 from sharelatex/bg-add-project-history-flag
route history requests based on project
|
2017-11-23 15:36:45 +00:00 |
|
Hayden Faulds
|
e54e2c8328
|
fix acceptance tests
|
2017-11-23 10:39:30 +00:00 |
|
Alasdair Smith
|
e1fa196de5
|
Merge pull request #153 from sharelatex/as-remove-old-onboarding
Remove unused onboarding
|
2017-11-23 10:28:50 +00:00 |
|
Alasdair Smith
|
8f32f0d65f
|
Remove old unused track changes onboarding
|
2017-11-22 14:48:22 +00:00 |
|
James Allen
|
d3f146499c
|
Merge pull request #135 from sharelatex/ja-disable-account-settings-for-ol-v2
Enable the external auth switches when OL OAuth is in use
|
2017-11-22 11:44:10 +00:00 |
|
Henry Oswald
|
b7dca80294
|
use /dev/csrf for smoke tests
|
2017-11-21 12:17:53 +00:00 |
|
Henry Oswald
|
7187f5ed67
|
use /login for smoke tests not register
1) A user needs an OL access token to load the beta - 5001dc48f1/app/coffee/OAuth/OAuthRequest.coffee (L8)
2) If a user has an OL access token they can not use the register endpoint on ShareLaTeX. https://github.com/sharelatex/web-sharelatex-modules/blob/master/public-registration/app/coffee/PublicRegistrationController.coffee#L72
|
2017-11-21 10:43:24 +00:00 |
|
Alasdair Smith
|
24ceaffd3a
|
Rename hook for clarity
|
2017-11-20 11:23:02 +00:00 |
|
Alasdair Smith
|
119be26989
|
Remove unnecessary project getter
Had bad assumption about whether ol-integration module would be available in
filesystem, now replaced with Module hook
|
2017-11-20 11:23:02 +00:00 |
|
Alasdair Smith
|
621977c47c
|
Replace call to V1ProjectGetter with Module hook
|
2017-11-20 11:23:02 +00:00 |
|
Alasdair Smith
|
3eaf6c5d8e
|
Stub V1 project getter
|
2017-11-20 11:23:02 +00:00 |
|
Alasdair Smith
|
47942816ae
|
Include token based
|
2017-11-20 11:23:02 +00:00 |
|
Alasdair Smith
|
6822a0d838
|
Add assertions for integration module call
|
2017-11-20 11:23:02 +00:00 |
|
Alasdair Smith
|
e32406a4c4
|
Dynamically monkey patch impl to check integration once instead of each request
|
2017-11-20 11:23:02 +00:00 |
|
Alasdair Smith
|
56634bdb49
|
Add assertions for tag properties
|
2017-11-20 11:23:02 +00:00 |
|
Alasdair Smith
|
9a96f070d5
|
Add assertions for correctly mapping V1 properties
|
2017-11-20 11:23:02 +00:00 |
|
Alasdair Smith
|
24166af90e
|
Add tests for V1ProjectGetter
|
2017-11-20 11:23:02 +00:00 |
|
Alasdair Smith
|
fff6873e10
|
Add tests for getting V1 projects
|
2017-11-20 11:23:02 +00:00 |
|
James Allen
|
311ebf89c4
|
Refactor to always use req.externalAuthenticationSystemUsed
|
2017-11-20 10:10:23 +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 |
|
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 |
|
Brian Gough
|
17a180ea8e
|
route history requests based on project
either to track changes or to project history service
|
2017-11-03 16:44:37 +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 |
|
Nate Stemen
|
98909026f5
|
moving data to backend and fixing tests
|
2017-10-24 10:59:41 +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 |
|
Nate Stemen
|
42412b1bb4
|
modified labels tests to pass with new metadata
|
2017-10-12 17:28:11 +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 |
|
Shane Kilkelly
|
16416463c6
|
Update removeUserFromProject to account for token-access
|
2017-10-12 11:49:02 +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 |
|
Hayden Faulds
|
f017a94b7e
|
remove unused HistoryManager
|
2017-10-11 11:18:20 +01:00 |
|
Brian Gough
|
5b0d3d1429
|
simplify rate-limit checking code
|
2017-10-09 16:31:01 +01:00 |
|
Shane Kilkelly
|
1a4ffe7708
|
Remove un-necessary call to getProject from archiveProject path
|
2017-10-09 11:30:55 +01:00 |
|
Shane Kilkelly
|
29a584996f
|
Flesh out acceptance tests for token access
|
2017-10-06 16:26:47 +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 |
|
James Allen
|
9c1faa4395
|
Add method to transfer projects from one user_id to another
|
2017-10-05 14:26:34 +01:00 |
|
Shane Kilkelly
|
b8d90a1a99
|
Show token-access projects on the dashboard
|
2017-10-05 13:20:06 +01:00 |
|
Shane Kilkelly
|
6482cd7dd8
|
Generate tokens on old projects if they're not present
|
2017-10-04 16:31:24 +01:00 |
|
Shane Kilkelly
|
7b33f8b4c2
|
Unit test TokenAccessController
|
2017-10-03 14:04:59 +01:00 |
|
Shane Kilkelly
|
ede497f4b3
|
Unit test TokenAccessHandler
|
2017-10-03 10:02:26 +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 |
|
Shane Kilkelly
|
574b115022
|
Working token-based access
|
2017-09-27 14:01:52 +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
|
1502da85cf
|
Set up acceptance tests to run in docker container
|
2017-09-27 10:37:20 +02:00 |
|