Shane Kilkelly
|
ed65e16e54
|
If user is member of project, redirect to project.
Leave invite in place to expire naturally.
|
2016-07-28 11:15:11 +01:00 |
|
Shane Kilkelly
|
1cb9c3582d
|
Don't return early if user is already member.
|
2016-07-28 09:47:07 +01:00 |
|
Shane Kilkelly
|
62d544ccfc
|
Redirect to project if user is already member.
If invite is missing, and current user is already a member
of the project, then just redirect to the project page
|
2016-07-27 15:28:22 +01:00 |
|
Shane Kilkelly
|
827629a74a
|
Invalid-invite page, and re-jigg the share modal
|
2016-07-27 10:10:44 +01:00 |
|
Shane Kilkelly
|
855cc28483
|
Finish adding project and owner details to the accept-invite page
|
2016-07-26 14:14:14 +01:00 |
|
Shane Kilkelly
|
2dede5f793
|
WIP: Working "accept invite" page
|
2016-07-26 11:46:41 +01:00 |
|
Shane Kilkelly
|
b898c62e91
|
Add appropriate query strings to the end of invite link
|
2016-07-25 16:14:41 +01:00 |
|
Shane Kilkelly
|
16dcbe2cd4
|
WIP: wire up share-modal frontend to invite system
|
2016-07-25 15:07:14 +01:00 |
|
Shane Kilkelly
|
73fed8b0bf
|
Add a getAllInvites api endpoint
|
2016-07-25 11:17:47 +01:00 |
|
Shane Kilkelly
|
5438f39f9e
|
Start testing acceptInvite
|
2016-07-25 09:58:08 +01:00 |
|
Shane Kilkelly
|
78a410c39d
|
Remove expiresAt logic from acceptInvite
|
2016-07-25 09:07:47 +01:00 |
|
Shane Kilkelly
|
78570817d5
|
Render a separate template if the invite is not found.
|
2016-07-22 16:28:00 +01:00 |
|
Shane Kilkelly
|
9e0c44573a
|
Remove expiresAt , use mongo TTL instead.
|
2016-07-22 16:08:56 +01:00 |
|
Shane Kilkelly
|
b201f1a37a
|
Test getInviteByToken.
|
2016-07-22 14:21:34 +01:00 |
|
Shane Kilkelly
|
9fba98cd45
|
Accept invite, and start testing the invite handler.
|
2016-07-22 11:38:00 +01:00 |
|
Shane Kilkelly
|
1139444790
|
add token to body of acceptInvite action.
|
2016-07-22 09:27:00 +01:00 |
|
Shane Kilkelly
|
546517db90
|
revokeInvite and getInviteByToken functions.
|
2016-07-21 16:19:15 +01:00 |
|
Shane Kilkelly
|
d9c6df0e47
|
start adding the ProjectInvite workflow.
|
2016-07-21 15:56:41 +01:00 |
|
Shane Kilkelly
|
3311b43644
|
more tests for invite controller
|
2016-07-21 13:31:54 +01:00 |
|
Shane Kilkelly
|
23a9aadba5
|
start tests for invite controller
|
2016-07-21 10:08:22 +01:00 |
|
Shane Kilkelly
|
c3e51dd773
|
Revert "copy helper functions from CollaboratorsHandler"
This reverts commit 0d5acd7bade584e4ff119dc22e5d5d3b3175dae2.
|
2016-07-21 09:50:52 +01:00 |
|
Shane Kilkelly
|
049cced4fd
|
copy helper functions from CollaboratorsHandler
|
2016-07-21 09:42:37 +01:00 |
|
Shane Kilkelly
|
0f2600b198
|
finish out skeleton of invite controller
|
2016-07-21 09:32:14 +01:00 |
|
Shane Kilkelly
|
f7c2fa37ab
|
Fill out getInviteByToken
|
2016-07-20 16:44:22 +01:00 |
|
Shane Kilkelly
|
5b22be8a0b
|
Further scaffolding
|
2016-07-20 15:22:48 +01:00 |
|
Shane Kilkelly
|
a4c7db5f20
|
skeleton of inviteToProject function
|
2016-07-20 14:14:56 +01:00 |
|
Shane Kilkelly
|
e383e49161
|
Add CollaboratorsInviteController and routes
|
2016-07-20 14:04:14 +01:00 |
|
James Allen
|
882e28a811
|
Don't choke on null projects
|
2016-06-30 14:30:04 +01:00 |
|
James Allen
|
b76cc7e314
|
Remove a user from being a collaborator when their account is deleted
|
2016-06-30 14:21:44 +01:00 |
|
James Allen
|
a0fcc7e3ed
|
Skip null user objects when getting collaborators
|
2016-06-30 13:56:21 +01:00 |
|
James Allen
|
e7d67668e9
|
Improve error reporting and show 404 when project ids are malformed
|
2016-03-18 15:59:12 +00:00 |
|
James Allen
|
261466b042
|
Convert privilege levels to an enum
|
2016-03-15 14:35:01 +00:00 |
|
James Allen
|
d09705142e
|
Add in missing error checks
|
2016-03-15 14:07:34 +00:00 |
|
James Allen
|
5781894453
|
Do array null check in callback args
|
2016-03-15 14:05:59 +00:00 |
|
James Allen
|
71ef045728
|
Implement authorization guards in Authorization{Manager,Controller}
|
2016-03-14 17:06:57 +00:00 |
|
James Allen
|
1bd8b8d1a3
|
Delete SecurityManager and replace with (unwritten) AuthorizationManager
|
2016-03-10 17:17:26 +00:00 |
|
James Allen
|
3e03164ed4
|
Remove dead auth_token code
|
2016-03-10 17:15:14 +00:00 |
|
James Allen
|
4f9f255153
|
Extend acceptance tests to include shared projects
|
2016-03-09 12:31:46 +00:00 |
|
James Allen
|
5f5445f625
|
Use TpdsUpdateSender to use CollaboratorsHandler
|
2016-03-08 11:54:45 +00:00 |
|
James Allen
|
2ba2b72fd1
|
Refactor ProjectDeleter to use CollaboratorHandler
|
2016-03-07 12:27:40 +00:00 |
|
James Allen
|
6d93076d51
|
Refactor getCollaborators http method to use CollaboratorsHandler
|
2016-03-07 12:02:48 +00:00 |
|
James Allen
|
120a142733
|
Add in required abstracted functions to CollaboratorsHandler
|
2016-03-03 16:13:19 +00:00 |
|
James Allen
|
c46f62cfc1
|
Ensure that a user can only be added to project once
|
2015-11-02 15:21:41 +00:00 |
|
James Allen
|
d996ed6e47
|
Refactor addUserToProject for better access by groups
|
2015-10-14 17:29:58 +01:00 |
|
James Allen
|
78c5741d06
|
Add contact when adding collaborator
|
2015-10-08 16:42:23 +01:00 |
|
James Allen
|
d11d536994
|
Refactor adding and removing collaborators to not go through EditorController
|
2015-10-08 14:15:36 +01:00 |
|
Henry Oswald
|
3ecf201eda
|
send -> sendStatus
|
2015-07-08 16:56:38 +01:00 |
|
Henry Oswald
|
15a57f5dc4
|
removed req.session.destorys from endpoints now on the api router which are not needed
|
2015-07-01 15:26:05 +01:00 |
|
Henry Oswald
|
1cc0cbe8fc
|
split site into 2 routers, webRouter and apiRouter
web router has things like sessions etc added onto it. Api router is minimal, doesn't include things like csrf
|
2015-07-01 15:23:18 +01:00 |
|
Henry Oswald
|
43c4531e51
|
kill off CollaboratorsHandler. changeUsersPrivilegeLevel as it is not used anywhere
|
2015-05-28 13:02:08 +01:00 |
|