Michael Walker
|
5987d6d79c
|
Add unit tests for failing history API
|
2018-02-02 10:12:57 +00:00 |
|
Michael Walker
|
217940d76f
|
Fix failing unit tests
|
2018-02-02 10:12:57 +00:00 |
|
Hayden Faulds
|
9955fd570c
|
Merge pull request #299 from sharelatex/hof-tpds-locking
Project Locking: TPDS locking
|
2018-02-02 09:20:07 +00:00 |
|
Shane Kilkelly
|
19c97cb15b
|
Merge pull request #289 from sharelatex/afc-track-edit-sessions
Send editing session heartbeat to the analytics service
|
2018-02-01 12:31:38 +00:00 |
|
Hayden Faulds
|
a9be50ebcd
|
stream request to file outside of project lock
|
2018-02-01 10:44:53 +00:00 |
|
Hayden Faulds
|
9496480a29
|
test project lock is taken
|
2018-02-01 10:44:53 +00:00 |
|
Hayden Faulds
|
22737e8bd6
|
group together tests
|
2018-02-01 10:44:53 +00:00 |
|
Hayden Faulds
|
a6666bee62
|
group together private in UpdateMerger tests
|
2018-02-01 10:44:53 +00:00 |
|
Hayden Faulds
|
44d4a1dbe2
|
replace mocks with stubs in UpdateMerger tests
|
2018-02-01 10:44:52 +00:00 |
|
Hayden Faulds
|
e214347ede
|
add locking around project structure updates in TPDS
|
2018-02-01 10:44:52 +00:00 |
|
Brian Gough
|
b7b40faefe
|
fix unit test
|
2018-01-31 13:28:11 +00:00 |
|
Brian Gough
|
c19acd82a4
|
Merge pull request #291 from sharelatex/bg-fix-project-get-exclusion
fix typo in project getter exclusions
|
2018-01-31 11:51:01 +00:00 |
|
Brian Gough
|
5e52ade1ff
|
Merge pull request #286 from sharelatex/bg-prevent-duplicate-filenames
prevent duplicate filenames
|
2018-01-31 11:50:45 +00:00 |
|
Brian Gough
|
21c1ea6687
|
remove comment in test
|
2018-01-31 10:26:06 +00:00 |
|
Brian Gough
|
2f52e6c4b4
|
remove comments
|
2018-01-29 10:38:25 +00:00 |
|
Brian Gough
|
cd2688a740
|
added tests for rename/move
|
2018-01-26 17:00:33 +00:00 |
|
Brian Gough
|
69bed6dbb2
|
fix MockFileStoreApi to record uploaded files
|
2018-01-25 17:09:31 +00:00 |
|
Brian Gough
|
68ac597a93
|
initial acceptance tests
|
2018-01-25 17:09:31 +00:00 |
|
Brian Gough
|
ea9976994a
|
update unit tests for duplicate checks
|
2018-01-25 17:09:31 +00:00 |
|
James Allen
|
626f652c77
|
Update User acceptance test helper to expose methods for modules
|
2018-01-24 16:56:31 +00:00 |
|
Brian Gough
|
77adb60a8a
|
fix typo in project getter exclusions
|
2018-01-24 10:06:53 +00:00 |
|
Alberto Fernández Capel
|
8dbb89c09e
|
Add test for the updateEditingSession endpoint
|
2018-01-23 10:29:11 +00:00 |
|
James Allen
|
d79d6b4ede
|
Fix call of UpdateMerger.deleteUpdate in TpdsController.deleteProjectContents
|
2018-01-22 16:25:11 +00:00 |
|
James Allen
|
6d04eeaa03
|
Merge pull request #256 from sharelatex/ja-display-v2-history-users
Inject v2 user details into project-history updates and diffs
|
2018-01-15 14:21:14 +00:00 |
|
Hayden Faulds
|
e781779c24
|
use LockManager.runWithLock in EditorController
|
2018-01-12 10:53:36 +00:00 |
|
Hayden Faulds
|
76c7dff33a
|
rename EditorController.replaceFile -> replaceFileWithoutLock
|
2018-01-12 10:06:18 +00:00 |
|
Hayden Faulds
|
a8818a4149
|
add locking for EditorController.renameEntity
|
2018-01-12 10:06:18 +00:00 |
|
Alberto Fernández-Capel
|
4dce9e36c3
|
Merge pull request #251 from sharelatex/fix-group-member-subscription-page
Fix subscription page for members of a group
|
2018-01-11 14:41:31 +00:00 |
|
Alberto Fernández-Capel
|
feaa7c6d3f
|
Merge pull request #242 from sharelatex/rename-entity-bugfix
Ensure the dirname is not affected when we rename an entity
|
2018-01-11 14:41:21 +00:00 |
|
James Allen
|
17a5dfa5a5
|
Inject v2 user details into project-history updates and diffs
|
2018-01-11 11:32:16 +00:00 |
|
James Allen
|
945ef25ef5
|
Merge pull request #244 from sharelatex/hof-lock-file-upload
Project Locking: ProjectUploadController
|
2018-01-11 08:42:36 +00:00 |
|
Timothée Alby
|
859e03cd4f
|
Merge pull request #234 from sharelatex/hof-remove-unused-method
remove unused EditorController.getListOfDocPaths
|
2018-01-10 15:26:02 +02:00 |
|
Alberto Fernández Capel
|
0200fd66cd
|
Mock LimitationsManager as well
|
2018-01-10 10:26:16 +00:00 |
|
Alberto Fernández Capel
|
a81b56556f
|
Add test for SubscriptionViewModelBuilder
|
2018-01-09 17:00:56 +00:00 |
|
Hayden Faulds
|
817840840a
|
use LockManger.runWithLock
|
2018-01-09 16:37:34 +00:00 |
|
James Allen
|
bbfcff30fb
|
Enable project history for new projects if enabled in settings
|
2018-01-03 16:55:33 +00:00 |
|
James Allen
|
ada76e820a
|
Merge pull request #238 from sharelatex/as-ol-emails
v2 themed emails
|
2018-01-03 11:30:28 +00:00 |
|
James Allen
|
2dcc17ad09
|
Merge pull request #235 from sharelatex/ja-show-deleted-files-in-v2-history
Handle deleted and renamed files better in v2 history UI; Fixes #226
|
2018-01-03 11:29:59 +00:00 |
|
Hayden Faulds
|
fe62db05a0
|
lock project when uploading a file
|
2018-01-02 12:43:41 +00:00 |
|
Alberto Fernández Capel
|
bf324b5e04
|
Ensure the dirname is not affected when we rename an entity
Fixes https://github.com/sharelatex/web-sharelatex-internal/issues/93
|
2017-12-22 14:24:00 +00:00 |
|
Alasdair Smith
|
562534034f
|
Stub out brandPrefix for email tests
|
2017-12-21 17:18:10 +00:00 |
|
James Allen
|
d0fee7e76c
|
Show a file tree of changed paths, so we can work with renamed and deleted files
|
2017-12-20 16:22:32 +00:00 |
|
Hayden Faulds
|
8663dba37c
|
remove unused EditorController.getListOfDocPaths
|
2017-12-20 15:14:56 +00:00 |
|
Shane Kilkelly
|
18ae27fd66
|
Merge branch 'sk-account-sync'
|
2017-12-20 14:02:45 +00:00 |
|
James Allen
|
339b7ec14f
|
Merge branch 'ja-allow-importing-without-history'
|
2017-12-19 15:06:17 +00:00 |
|
James Allen
|
1d89a535a1
|
Merge pull request #208 from sharelatex/ja-front-end-history
Add in web front end that supports v2 history; Fixes #168
|
2017-12-19 15:00:34 +00:00 |
|
James Allen
|
5463b608ad
|
Add add{File|Doc}WithoutUpdatingHistory methods to allow importing OL projects with existing history
|
2017-12-19 13:59:06 +00:00 |
|
James Allen
|
ffa2e231fd
|
Fix up tests
|
2017-12-19 13:58:47 +00:00 |
|
James Allen
|
810b5e0e9a
|
Fix front end tests
|
2017-12-19 13:58:47 +00:00 |
|
James Allen
|
8a3fadbfc1
|
Style the edit/add/rename options
|
2017-12-19 13:58:47 +00:00 |
|
James Allen
|
50b12e88a2
|
Add HistoryV2Manager alongside existing HistoryManager
|
2017-12-19 13:58:47 +00:00 |
|
James Allen
|
8ea779af58
|
Add some front end tests for HistoryManager
|
2017-12-19 13:58:47 +00:00 |
|
Hayden Faulds
|
ac36de9629
|
make ProjectEntityHandler._clean* argument signatures consistent
|
2017-12-18 15:15:36 +00:00 |
|
Hayden Faulds
|
938caed4f7
|
set userId when deleting entities via the tpds
|
2017-12-18 15:15:36 +00:00 |
|
Hayden Faulds
|
ca15fdb6eb
|
pass userId to EditorHttpController.deleteEntity
|
2017-12-18 15:15:36 +00:00 |
|
Hayden Faulds
|
5f6686ed3b
|
pass userId to ProjectEntityHandler.deleteEntity
|
2017-12-18 15:15:36 +00:00 |
|
Hayden Faulds
|
2ac74b9adc
|
pass userId into _clean methods in ProjectEntityHandler
|
2017-12-18 15:15:36 +00:00 |
|
Hayden Faulds
|
99a52d48c8
|
acceptance test versioning entity deletions
|
2017-12-18 15:15:36 +00:00 |
|
Hayden Faulds
|
475e84b039
|
version entity deletions in ProjectEntityHandler
|
2017-12-18 15:15:36 +00:00 |
|
Hayden Faulds
|
81c061c6a7
|
acceptance test moving entities
|
2017-12-18 15:15:36 +00:00 |
|
Hayden Faulds
|
e5e75a8ccb
|
update DocumentUpdaterHandler.updateProjectStructure to support entity deletions
|
2017-12-18 15:15:36 +00:00 |
|
Shane Kilkelly
|
6fe937bcad
|
Finish unit tests for SubscriptionUpdater
|
2017-12-13 10:57:56 +00:00 |
|
Henry Oswald
|
3e2c997e8b
|
added stubs for nodemailer into unit tests
|
2017-12-11 11:40:25 +00:00 |
|
Shane Kilkelly
|
a1f1c25294
|
Merge branch 'master' into sk-account-sync
|
2017-12-07 11:51:41 +00:00 |
|
Shane Kilkelly
|
44c289d8dd
|
Fix unit tests for SubscriptionUpdater
|
2017-12-04 15:34:46 +00:00 |
|
Hayden Faulds
|
4094801f18
|
pass object to DocumentUpdater.updateProjectStructure instead of separate arrays
|
2017-12-04 09:42:10 +00:00 |
|
Hayden Faulds
|
19643f4bb5
|
pass user_id into editorController.addDoc in ThirdPartyDataStore/UpdateMerger
|
2017-12-04 09:42:10 +00:00 |
|
Hayden Faulds
|
497c6facd5
|
fix ProjectEntityHandler.replaceFile
|
2017-12-04 09:42:10 +00:00 |
|
Hayden Faulds
|
77eac423c7
|
add tpds project structure acceptance tests
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
3466db0aae
|
add acceptance tests
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
61a1336ec6
|
pass userId into ProjectEntiyHandler.copyFileFromExistingProjectWithProject
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
feee582368
|
pass user_id into EditorController.replaceFile
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
08891c7a7f
|
pass userId into ProjectEntityHandler.replaceFile
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
088ce33cbc
|
version ProjectEntityHandler.copyFileFromExistingProjectWithProject
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
60ee78704a
|
return url from FileStoreHandler.copyFile
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
4ec0d07aae
|
remove unused ProjectEntityHandler.copyFileFromExistingProject
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
90e3b71c1c
|
version replacing files
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
980e43e478
|
pass user_id into EditorController.addDoc
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
e4ca3bc5ad
|
pass user_id into EditorController.addDocWithoutLock
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
7d63939f79
|
pass owner_id to ProjectEntityHandler.addDoc from ProjectDuplicator
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
300f76bc5c
|
pass user_id into ProjectEntityHandler.addDoc / addDocWithProject
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
bfd22899a0
|
fix DocumentUpdaterHandler.updateProjectStructure
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
ef68c6a531
|
avoid N+1 lookups in DocumentUpdaterHandler
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
953dba0ede
|
pass userId into Editorcontroller.addFile / addFileWithoutLock
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
42a1deaaca
|
pass userId into ProjectEntityHandler.addFile
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
c1481d596f
|
call DocumentUpdaterHandle.updateProjectStructure from ProjectEntityHandler.addDoc and addFile
pass in user_id as null
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
6e84c635cf
|
return url from FileStoreHandler.uploadFileFromDisk
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
0178f78249
|
handle file additions in DocumentUpdaterHandler.updateProjectStructure
|
2017-12-04 09:42:09 +00:00 |
|
Hayden Faulds
|
28bcf83d87
|
better error when project creation fails
|
2017-12-04 09:25:22 +00:00 |
|
Hayden Faulds
|
eacb19fac9
|
create user in db and use login endpoint instead of register
|
2017-12-04 09:25:22 +00:00 |
|
Hayden Faulds
|
938d22da3f
|
get csrf token from /dev/csrf not /register
|
2017-12-04 09:25:22 +00:00 |
|
James Allen
|
488e6d7c5d
|
Merge pull request #158 from sharelatex/ja-dockerise-tests
Dockerize unit and acceptance tests using docker-compose
|
2017-11-30 10:09:07 +00:00 |
|
Shane Kilkelly
|
c203a8d80a
|
Merge branch 'sk-use-recurly-hosted-details-page'
|
2017-11-29 09:45:54 +00:00 |
|
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 |
|
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 |
|
Shane Kilkelly
|
ee32648bf4
|
Order privileges by highest-to-lowest
|
2017-09-22 15:55:38 +01:00 |
|
Shane Kilkelly
|
562b2db600
|
Fix unit test
|
2017-09-21 15:01:40 +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
|
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 |
|