Commit Graph

1455 Commits

Author SHA1 Message Date
Johannes Zellner e0114c87ac Also update the user record when username and email is sent 2016-04-05 09:27:32 +02:00
Johannes Zellner c98275000b Optionally support username and email in password setter route 2016-04-05 09:27:32 +02:00
Johannes Zellner fcfd1dceac Deliver the resetToken when an invite was sent 2016-04-04 18:41:51 +02:00
Girish Ramakrishnan d839f0b762 remove redundant session token 2016-04-03 23:23:23 -07:00
Johannes Zellner f413afb835 Support email login in simple auth 2016-03-31 16:59:44 +02:00
Johannes Zellner 915c37a72f Add tests for displayName change 2016-03-31 16:24:28 +02:00
Girish Ramakrishnan c769a12c45 set the box version for test for pass 2016-03-19 10:23:12 -07:00
Girish Ramakrishnan fbca0fef38 fix missing assert 2016-03-08 18:51:40 -08:00
Girish Ramakrishnan d658530e66 fix failing tests 2016-03-08 18:44:51 -08:00
Girish Ramakrishnan 8014e2eaf8 add route to download backup 2016-03-08 16:28:42 -08:00
girish@cloudron.io 8b2903015d list app backups from db 2016-03-08 08:57:28 -08:00
girish@cloudron.io d157bf30f3 remove box backups from the database 2016-03-08 08:52:20 -08:00
Johannes Zellner 57ff8b6770 fix feedback test 2016-03-04 22:27:18 +01:00
Johannes Zellner 7cd3bb31e1 Add new support type for failing erroring apps 2016-02-25 21:38:37 +01:00
Johannes Zellner 160467e199 Do not require password for user profile changes 2016-02-25 14:03:42 +01:00
Johannes Zellner 384c410e7c Do not require a password for user profile changes 2016-02-25 13:54:44 +01:00
Johannes Zellner 84c4187fa9 Test normal users accessing the user api 2016-02-25 13:53:18 +01:00
Johannes Zellner 4f7fd9177c Allow user details only for the same user or admins 2016-02-25 13:44:53 +01:00
Johannes Zellner a0d7406b3c Do not allow normal users to get group listings or details 2016-02-25 13:34:01 +01:00
Johannes Zellner 9c995277f7 Fixup the apps unit tests 2016-02-25 12:20:18 +01:00
Johannes Zellner aa693e529b Only list apps where a user has access to 2016-02-25 12:20:11 +01:00
Johannes Zellner 63013c7297 Just check for .admin flag in the user object 2016-02-25 11:42:25 +01:00
Johannes Zellner 81bd4f2ea5 Remove console.log() 2016-02-19 16:29:40 +01:00
Johannes Zellner 351ddcb218 Fixup the unit tests 2016-02-19 16:29:29 +01:00
Johannes Zellner cdce6e605d Adjust to new apps api 2016-02-19 16:14:02 +01:00
Johannes Zellner 230c24d6c6 Adjust the route unit tests, to remove oauthProxy 2016-02-19 16:01:08 +01:00
Johannes Zellner eab3bda8e1 Remove oauthProxy from the apps rest routes 2016-02-19 15:54:01 +01:00
Johannes Zellner 754e33af2a do not allow removing the admin group 2016-02-13 12:42:41 +01:00
Johannes Zellner 75d22d7988 Introduce memoryLimit to apps routes 2016-02-11 17:00:21 +01:00
Johannes Zellner 81ec26e45c Ensure we can delete users which belong to a group 2016-02-11 12:02:35 +01:00
Johannes Zellner 72c5ebcc06 Add user api tests for adding/removing from admin group 2016-02-11 11:39:19 +01:00
Johannes Zellner ecf7575dd3 UserError.NOT_ALLOWED is not unused 2016-02-11 11:32:48 +01:00
Johannes Zellner 5fce9c8d1f Do not allow an admin remove itself from admins group 2016-02-11 11:29:04 +01:00
Johannes Zellner 0ea89fccb8 Remove admin api route tests 2016-02-11 11:26:35 +01:00
Johannes Zellner 163ceef527 Remove the admin toggle route 2016-02-11 11:26:35 +01:00
Johannes Zellner 7fc37b7c70 Allow admins to edit other users 2016-02-10 14:48:54 +01:00
Johannes Zellner 8c73a7c7c2 Send admin flag with user profile 2016-02-10 13:35:16 +01:00
Johannes Zellner 59ecb056d0 Fixup the oauth tests to set memoryLimit 2016-02-10 12:49:02 +01:00
Johannes Zellner 1b7265f866 Fixup the merge 2016-02-10 12:28:57 +01:00
girish@cloudron.io 7e60fd554a add some failing groups for good measure 2016-02-09 18:55:42 -08:00
girish@cloudron.io c1cd7ac129 fix typo 2016-02-09 18:53:14 -08:00
girish@cloudron.io aab62263a7 add accessRestriction group test in oauth2 2016-02-09 18:52:27 -08:00
girish@cloudron.io 79889a0aac test simple auth accessRestriction 2016-02-09 18:40:20 -08:00
Girish Ramakrishnan f413bfb3a0 Add route to set the users groups 2016-02-09 16:43:32 -08:00
Girish Ramakrishnan 82cf667f3b Add groups route tests 2016-02-09 15:26:46 -08:00
girish@cloudron.io e20b3f75e4 Handle NOT_EMPTY group deletion 2016-02-09 13:45:28 -08:00
girish@cloudron.io 6cca7b3e0e initial rest API for groups 2016-02-09 13:34:36 -08:00
girish@cloudron.io 60988ff7f3 make hasAccessTo take a callback 2016-02-09 12:48:21 -08:00
girish@cloudron.io 00c5aa041f clear database in backups test 2016-02-09 12:21:36 -08:00
girish@cloudron.io e6d23a9701 stop previous task explicitly
there is a race:
1. task is running
2. new task is created overwriting the installationState
3. new task kills the old task of step 1. this results in installationState getting overwritten by 'error' because of the sigkill
4. new task that is launched loses the installationState that was step in 2.
2016-02-09 12:09:20 -08:00