Girish Ramakrishnan
5af657ee22
rename mail crud functions
2018-04-03 15:06:14 -07:00
Johannes Zellner
d1ef35ae1d
Fixup all the tests to use domain tlsConfig
2018-01-31 18:09:38 +01:00
Johannes Zellner
6ef57d3f23
Fix various route handling tests
2018-01-26 21:31:22 +01:00
Girish Ramakrishnan
4b642a407f
remove caas dep from tests
2018-01-18 13:50:57 -08:00
Girish Ramakrishnan
68c26c1d12
Fix route/ tests
2017-11-27 16:01:52 -08:00
Girish Ramakrishnan
93fb01a9b9
Fix more of the group tests
2016-09-30 10:17:50 -07:00
Girish Ramakrishnan
3e8cba08e3
add test for user alias routes
2016-09-26 11:12:12 -07:00
Girish Ramakrishnan
9a000ddaf0
make ADMIN_GROUP_ID a constant
2016-09-20 15:07:11 -07:00
Johannes Zellner
b4dfad3aa3
Fixup the unit tests after removing PREFIX_USER
2016-06-03 13:09:26 +02:00
Girish Ramakrishnan
251fad8514
add test for groupIds in listing api
2016-06-03 00:14:52 -07:00
Girish Ramakrishnan
097d23c412
move logic to model code
2016-06-02 23:29:43 -07:00
Girish Ramakrishnan
1fe00f7f80
do not use verbs in resource url
2016-06-02 12:01:48 -07:00
Girish Ramakrishnan
4fcc7fe99f
updateUser is POST
2016-06-02 00:27:06 -07:00
Girish Ramakrishnan
f5b777ab33
add route tests for username
2016-05-23 15:00:21 -07:00
Johannes Zellner
6a607f9565
Adjust user route tests
2016-04-17 18:39:00 +02:00
Girish Ramakrishnan
ed78bd05c8
reserve the "admin" username
2016-04-13 16:50:20 -07:00
Johannes Zellner
11f89da3a0
Ensure username and email are treated lower case in the database layer
2016-04-13 12:15:49 +02:00
Johannes Zellner
6991402a8c
Fix typo
2016-04-13 11:33:01 +02:00
Girish Ramakrishnan
275d8c2121
fix user create response
2016-04-06 10:20:32 -07:00
Johannes Zellner
56d9d5913d
Fixup the user route tests
2016-04-05 09:28:41 +02: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
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
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
62615dfd0f
Make email in user change optional
2016-01-25 14:12:09 +01:00
Johannes Zellner
a6998550a7
Add displayName change unit tests
2016-01-25 14:08:35 +01:00
Johannes Zellner
5a8a023039
Fixup all the route tests with new password requirement
2016-01-20 16:06:51 +01: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
Girish Ramakrishnan
a4ea693c3c
update superagent
...
the latest superchanged changed the meaning of 'error'. Previously,
error implied a network error. With the latest superagent, error means
a REST api error i.e 4xx, 5xx are flagged as errors.
error && !error.response means network error
2015-12-15 09:53:37 -08:00
Girish Ramakrishnan
df9d321ac3
app.portBindings and newManifest.tcpPorts may be null
2015-07-20 00:10:36 -07:00