Shane Kilkelly
|
9787edd716
|
Add more assertions about project access
|
2016-08-01 15:55:56 +01:00 |
|
Shane Kilkelly
|
9e0ff3f628
|
test when the token is invalid
|
2016-08-01 15:21:06 +01:00 |
|
Shane Kilkelly
|
495bc1bcd3
|
Refactor
|
2016-08-01 15:16:10 +01:00 |
|
Shane Kilkelly
|
8af1a7b17a
|
Test login workflow
|
2016-08-01 15:16:03 +01:00 |
|
Shane Kilkelly
|
263822d665
|
Also parse out login url
|
2016-08-01 13:54:49 +01:00 |
|
Shane Kilkelly
|
5f1aa4cc58
|
test registration with invalid token
|
2016-08-01 13:30:43 +01:00 |
|
Shane Kilkelly
|
69bd954001
|
test the registration workflow
|
2016-08-01 12:14:34 +01:00 |
|
Shane Kilkelly
|
5159cdd0e9
|
Test when the user recieves second invite to project
|
2016-08-01 10:57:20 +01:00 |
|
Shane Kilkelly
|
545ce79c71
|
Test clicking the invite after already accepting
|
2016-08-01 10:14:08 +01:00 |
|
Shane Kilkelly
|
9c530e1bb6
|
rename test case
|
2016-08-01 10:04:42 +01:00 |
|
Shane Kilkelly
|
74c824edde
|
Test redirect to /register when user not logged in
|
2016-08-01 09:59:30 +01:00 |
|
Shane Kilkelly
|
7a8142a43c
|
remove extraneous body parameter
|
2016-08-01 09:06:02 +01:00 |
|
Shane Kilkelly
|
39fc611964
|
Revoke invite after each test
|
2016-07-29 13:55:08 +01:00 |
|
Shane Kilkelly
|
e7c1f7f0fc
|
Refactor, deduplicate tests
|
2016-07-29 13:39:18 +01:00 |
|
Shane Kilkelly
|
f3a1f32bb1
|
Test the invalid-invite page
|
2016-07-29 11:54:08 +01:00 |
|
Shane Kilkelly
|
b33d4e103d
|
Test when the user does not accept the invite
|
2016-07-29 11:08:24 +01:00 |
|
Shane Kilkelly
|
f33d01f375
|
Test acceptance of invite
|
2016-07-29 11:04:07 +01:00 |
|
Shane Kilkelly
|
563247044b
|
Start testing the invite page
|
2016-07-29 09:52:55 +01:00 |
|
Shane Kilkelly
|
23c94c9599
|
get invite and link for test
|
2016-07-28 16:00:18 +01:00 |
|
Shane Kilkelly
|
7b18f88145
|
Merge branch 'master' into pr-email-tokens
|
2016-07-28 14:53:36 +01:00 |
|
Shane Kilkelly
|
748851b51e
|
start ProjectInvite acceptance test module
|
2016-07-28 14:53:22 +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
|
e46901a21b
|
Send an empty keys array when there is no data
|
2016-07-26 14:23:00 +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 |
|
Shane Kilkelly
|
effc3727be
|
Don’t show upgrade prompts for users with custom subscription accounts.
Set `hasValidSubscription` to true if user subscription is custom.
|
2016-07-19 10:15:45 +01:00 |
|
Shane Kilkelly
|
dda0841af3
|
Return early if there are no keys to delete
|
2016-07-06 15:39:03 +01:00 |
|
Shane Kilkelly
|
fc6cf75ad5
|
Merge branch 'master' into sk-session-revocation
|
2016-07-06 13:19:15 +01:00 |
|
Shane Kilkelly
|
9f724d0a04
|
Add tests to check if users can access a restricted page.
|
2016-07-06 12:14:01 +01:00 |
|
Shane Kilkelly
|
0362fee60f
|
test the retain option to revokeAllUserSessions .
|
2016-07-05 15:32:32 +01:00 |
|
Shane Kilkelly
|
464866847f
|
Fix name of UserSessionsManager test module.
|
2016-07-05 15:14:29 +01:00 |
|
Shane Kilkelly
|
a1c662b9d8
|
Test session revocation on password change.
|
2016-07-05 14:55:08 +01:00 |
|
Shane Kilkelly
|
2caa80bbcb
|
acceptance test for logging in two sessions.
|
2016-07-05 14:21:38 +01:00 |
|
Shane Kilkelly
|
5b9903551a
|
add an array of session ids to retain.
|
2016-07-05 14:20:47 +01:00 |
|