Henry Oswald
|
6d35585847
|
limit number of invites each user can do
done with the number of collaborators a user can add
prevents notifications getting filled up as well
|
2017-01-21 12:43:15 +00:00 |
|
Shane Kilkelly
|
82ddeab2bd
|
If user tries to invite themselves to project, don't.
|
2017-01-16 13:45:01 +00:00 |
|
Henry Oswald
|
fed88504f8
|
rate limit emails sent sharing projects by users
|
2017-01-14 14:52:32 +00:00 |
|
Shane Kilkelly
|
259c589076
|
Add option to restrict invites to existing user accounts.
|
2016-12-20 09:54:42 +00:00 |
|
Shane Kilkelly
|
72ca1d6316
|
Merge branch 'master' into sk-passport
# Conflicts:
# app/coffee/Features/Collaborators/CollaboratorsInviteController.coffee
|
2016-09-23 10:01:11 +01:00 |
|
James Allen
|
e15976be21
|
Use token in URL to force its precense when invite and allow easy dynamic notifications
|
2016-09-22 17:24:06 +01:00 |
|
Shane Kilkelly
|
438ac45854
|
fix unit tests
|
2016-09-07 16:40:49 +01:00 |
|
Henry Oswald
|
130fece0f6
|
track when users accept invites
|
2016-08-19 18:33:03 +01:00 |
|
Shane Kilkelly
|
ece0491e3d
|
Refactor. Handle republishing of notifications on resend.
|
2016-08-17 16:27:15 +01:00 |
|
Shane Kilkelly
|
f92767f7b5
|
Address feedback, add ? checks where appropriate
|
2016-08-12 15:26:20 +01:00 |
|
Shane Kilkelly
|
276241495b
|
Fix tests
|
2016-08-11 14:23:25 +01:00 |
|
Shane Kilkelly
|
ce039f8cd3
|
Remove the email when user id is added to project
|
2016-08-11 14:17:01 +01:00 |
|
Shane Kilkelly
|
0e0ccb41ff
|
cancel notification when accepting invite
|
2016-08-08 13:57:33 +01:00 |
|
Shane Kilkelly
|
110082390e
|
Test the _trySendInviteNotfification helper
|
2016-08-08 10:34:54 +01:00 |
|
Shane Kilkelly
|
eafd61a90e
|
Refresh members and invites in client when status changes
|
2016-08-05 14:01:08 +01:00 |
|
Shane Kilkelly
|
8f7603c324
|
Add an endpoint to access project members
|
2016-08-04 16:47:48 +01:00 |
|
Shane Kilkelly
|
a5ddcc3df7
|
Allow resending of invites
|
2016-08-03 15:42:19 +01:00 |
|
Shane Kilkelly
|
6ea690225f
|
Refactor view-invite to not use model calls.
|
2016-08-03 10:23:34 +01:00 |
|
Shane Kilkelly
|
5f8952450e
|
Test getInviteCount
|
2016-08-02 16:08:05 +01:00 |
|
Shane Kilkelly
|
abbd059eae
|
Refactor to existing addUserIdToProject function
|
2016-08-02 13:51:00 +01:00 |
|
Shane Kilkelly
|
63f8fe453a
|
Use UserGetter rather than User model
|
2016-08-02 09:48:09 +01:00 |
|
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
|
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
|
855cc28483
|
Finish adding project and owner details to the accept-invite page
|
2016-07-26 14:14:14 +01:00 |
|
Shane Kilkelly
|
367b138cae
|
fix failing tests
|
2016-07-26 12:09:58 +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
|
ccf684cf07
|
test acceptInvite
|
2016-07-25 10:19:20 +01:00 |
|
Shane Kilkelly
|
5438f39f9e
|
Start testing acceptInvite
|
2016-07-25 09:58:08 +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
|
e34b124c73
|
Test revokeInvite
|
2016-07-22 13:33:21 +01:00 |
|
Shane Kilkelly
|
c9cfcddbe9
|
test error case for inviteToProject
|
2016-07-22 11:54:16 +01:00 |
|
Shane Kilkelly
|
f866bd03bc
|
Spy on the randomBytes function
|
2016-07-22 11:53:55 +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
|
4db9d5a466
|
remove whatespace and comment
|
2016-07-21 13:34:20 +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 |
|
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
|
71ef045728
|
Implement authorization guards in Authorization{Manager,Controller}
|
2016-03-14 17:06:57 +00:00 |
|
James Allen
|
3e03164ed4
|
Remove dead auth_token code
|
2016-03-10 17:15:14 +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 |
|