Commit Graph
2900 Commits
Author SHA1 Message Date
Shane Kilkelly 254705c3f1 Tidy up, and fall back to handling data.users. 2016-07-28 13:47:19 +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 1cb9c3582d Don't return early if user is already member. 2016-07-28 09:47:07 +01:00
Shane Kilkelly e70f121461 Correct name of expireAfterSeconds index 2016-07-27 15:55:31 +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 46ec17f2c4 Add redir query string to login link 2016-07-27 13:51:52 +01:00
Shane Kilkelly e1af171534 Add a dot to end of sentence. 2016-07-27 11:07:26 +01:00
Shane Kilkelly 6f39813a56 Add translations 2016-07-27 10:56:22 +01:00
Shane Kilkelly 78948251a1 Change the Close button color 2016-07-27 10:28:01 +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 367b138cae fix failing tests 2016-07-26 12:09:58 +01:00
Shane Kilkelly 2dede5f793 WIP: Working "accept invite" page 2016-07-26 11:46:41 +01:00
Shane Kilkelly 41755212f0 Update the register page with new message 2016-07-26 09:06:21 +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 b3add65de1 Start integrating invites into share frontend 2016-07-25 14:27:02 +01:00
Shane Kilkelly 73fed8b0bf Add a getAllInvites api endpoint 2016-07-25 11:17:47 +01:00
Shane Kilkelly 8dea179b01 Whitespace 2016-07-25 10:33:43 +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 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 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 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 e0562a2301 Update ProjectInvite model 2016-07-21 14:20:09 +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 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 0dc4e2c0c1 Merge branch 'master' into pr-email-tokens 2016-07-20 15:23:37 +01:00
Shane Kilkelly 5b22be8a0b Further scaffolding 2016-07-20 15:22:48 +01:00
Henry Oswald e8aad2abb1 don’t fingerprint main.js and ide.js 2016-07-20 15:17:01 +01:00
Henry Oswald 596fc2525b simplified buildJSPath 2016-07-20 14:48:58 +01:00
Henry OswaldandGitHub a3e40adbaf Merge pull request #283 from sharelatex/ho-cdn
Ho cdn
2016-07-20 14:19:37 +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
Henry Oswald 6c78ab4ace got requirejs working nicely with cdn 2016-07-20 12:58:32 +01:00
Brian Gough fcfdabd279 clean up pdfcontroller query string logic 2016-07-20 09:58:47 +01:00
Brian Gough 4e252976c7 add missing cache bust on log file 2016-07-20 09:58:47 +01:00