Commit Graph

8154 Commits

Author SHA1 Message Date
Johannes Zellner 0f5ce651cc Show errors if passwords do not match for reset and setup 2016-01-21 16:33:51 +01:00
Johannes Zellner 6b8d5f92de Set meaningful page title for oauth rendered pages 2016-01-21 16:19:38 +01:00
Johannes Zellner 55e556c725 Also provide client side password validation for password setup and reset forms 2016-01-21 16:08:51 +01:00
Johannes Zellner 290132f432 Add warning in password.js to update the UI parts 2016-01-21 16:00:12 +01:00
Johannes Zellner 6e1f96a832 Set min and max length for all password fields 2016-01-21 14:26:24 +01:00
Johannes Zellner 85423cbc20 Actually send displayName instead of name in cloudron activation tests 2016-01-20 16:14:44 +01:00
Johannes Zellner 1c0d027bd3 Fix error message if displayName has wrong type 2016-01-20 16:14:21 +01:00
Johannes Zellner 5a8a023039 Fixup all the route tests with new password requirement 2016-01-20 16:06:51 +01:00
Johannes Zellner a5ba3faa49 Correctly report password errors 2016-01-20 15:41:29 +01:00
Johannes Zellner 02ba91f1bb Move password generation into separate file and ensure we generate strong passwords 2016-01-20 15:33:11 +01:00
Johannes Zellner bfa917e057 Add password strength unit tests 2016-01-20 14:50:06 +01:00
Johannes Zellner 909dd0725a Fix copy and paste error 2016-01-20 14:49:45 +01:00
Johannes Zellner 74860f2d16 Fix tests for password strength change 2016-01-20 14:39:08 +01:00
Johannes Zellner 132ebb4e74 Require strong passwords
Fixes #568
2016-01-20 14:38:41 +01:00
Johannes Zellner 698158cd93 Change some of the mail added email text 2016-01-20 13:14:19 +01:00
Johannes Zellner 5bfc684f1b Fix crash due to missing event 2016-01-20 13:10:16 +01:00
Johannes Zellner d61698b894 Send user_added email instead of generic user event to admins
Fixes #569
2016-01-20 12:40:56 +01:00
Johannes Zellner a4d32009ad Make it clear why this if condition is there 2016-01-20 12:39:28 +01:00
Johannes Zellner 3007875e35 Add user_added.ejs email template
This allows us to also send an invitation link to admins
in case the user was not invited already.
2016-01-20 12:38:07 +01:00
girish@cloudron.io b2071c65d8 Fix typo 2016-01-20 00:05:06 -08:00
girish@cloudron.io bfc9801699 provide displayName in ldap response when available 2016-01-19 23:47:24 -08:00
girish@cloudron.io ee705eb979 Add displayName to create user and activate routes 2016-01-19 23:34:49 -08:00
girish@cloudron.io 67b94c7fde give message for development mode 2016-01-19 10:20:24 -08:00
Johannes Zellner 77e5d3f4bb Retry checking for app start state in test 2016-01-19 16:45:58 +01:00
Johannes Zellner 30618b8644 add missing argument 2016-01-19 14:03:01 +01:00
Johannes Zellner e15bd89ba2 Add route to list application backups 2016-01-19 13:35:28 +01:00
Johannes Zellner d2ed816f44 Add apps.listBackups() 2016-01-19 13:35:18 +01:00
Johannes Zellner e51234928b Add FIXME for selfhost backup listing 2016-01-19 13:32:11 +01:00
Johannes Zellner 3aa668aea3 Fixup tests 2016-01-19 12:42:19 +01:00
Johannes Zellner 870edab78a Set empty displayName for users 2016-01-19 12:40:50 +01:00
Johannes Zellner ebc9d9185d Use displayName in userdb 2016-01-19 12:39:54 +01:00
girish@cloudron.io 55799ebb2d cli tool demuxes stream now 2016-01-18 21:36:05 -08:00
girish@cloudron.io fdf4d8fdcf maybe stream is duplex 2016-01-18 13:39:18 -08:00
girish@cloudron.io c82ca1c69d disable http server timeout 2016-01-18 12:28:53 -08:00
girish@cloudron.io 7ef3d55cbf add tty option to exec 2016-01-18 11:39:09 -08:00
Johannes Zellner 44e4f53827 Change user creation api to require the invite flag 2016-01-18 16:53:51 +01:00
Johannes Zellner c5b8b0e3db Split up userAdd and sendInvite mailer calls 2016-01-18 16:11:00 +01:00
Johannes Zellner d9850fa660 Add send invite route 2016-01-18 15:37:03 +01:00
Johannes Zellner 9258585746 add user.sendInvite() with tests 2016-01-18 15:16:18 +01:00
Johannes Zellner e635aaaa58 Fix oauth2 tests 2016-01-18 14:31:25 +01:00
Johannes Zellner d0d6725df5 Remove obsolete comments 2016-01-18 14:19:38 +01:00
Johannes Zellner 61f4fea9c3 Check for emails sent in users tests 2016-01-18 14:19:20 +01:00
Johannes Zellner 66d59c1d6c Do not require the invitor in the invite mail 2016-01-18 14:18:57 +01:00
Johannes Zellner f9725965e2 Add test hooks to check if mails are queued 2016-01-18 14:00:35 +01:00
Johannes Zellner 4629739a14 Fix ldap tests 2016-01-18 13:56:59 +01:00
Johannes Zellner e9b3a1e99c Fixup user tests 2016-01-18 13:50:54 +01:00
Johannes Zellner 8ac27b9dc7 Adjust api to set a flag if invitiation should be sent on user creation 2016-01-18 13:48:10 +01:00
Johannes Zellner bebf480321 Use appdb.exists() instead of a apps.get() 2016-01-17 16:05:47 +01:00
Johannes Zellner 10c09d9def Fix wrong conditional in appdb 2016-01-17 16:01:17 +01:00
Johannes Zellner 6ce6b96e5c Fix linter issues 2016-01-17 15:59:11 +01:00