Commit Graph

219 Commits

Author SHA1 Message Date
Girish Ramakrishnan
a8d57bb036 test that user.del removed mailbox and aliases 2016-09-26 00:18:45 -07:00
Girish Ramakrishnan
d92e99a092 fix user alias API 2016-09-26 00:11:25 -07:00
Girish Ramakrishnan
b40e740110 test if mailbox is updated with username change 2016-09-25 23:58:21 -07:00
Girish Ramakrishnan
cd500adfe4 test that user.del deletes mailbox 2016-09-25 23:54:27 -07:00
Girish Ramakrishnan
55b80ac81f update mailbox on username change 2016-09-25 23:51:39 -07:00
Girish Ramakrishnan
1f1f56b431 Fix mailboxdb API 2016-09-25 23:21:55 -07:00
Girish Ramakrishnan
baa2dbbf39 Add alias and list ldap routes 2016-09-25 21:34:52 -07:00
Girish Ramakrishnan
c158548c19 remove ununsed mailboxdb.getAll 2016-09-25 16:46:08 -07:00
Girish Ramakrishnan
49baad349c remove mailbox routes and move it to users 2016-09-23 15:45:40 -07:00
Girish Ramakrishnan
00ee2eea39 Remove code to push aliases
The mail-addon will query via LDAP
2016-09-23 15:14:07 -07:00
Girish Ramakrishnan
9a000ddaf0 make ADMIN_GROUP_ID a constant 2016-09-20 15:07:11 -07:00
Girish Ramakrishnan
7fde57f7de clear db ignoring foreign key checks 2016-09-20 14:33:22 -07:00
Girish Ramakrishnan
de9d556b9e fix failing test 2016-09-07 08:46:36 -07:00
Girish Ramakrishnan
408dd61408 Send and receive oauthProxy in REST routes
Part of #6
2016-09-06 23:32:42 -07:00
Girish Ramakrishnan
ac5cef3c2f do not introspect the value of accessRestriction
if there are no users or groups, it simply means nobody can access it.
(maybe the admin is doing something on the cloudron and does not want
anyone to access it).
2016-09-06 16:37:14 -07:00
Girish Ramakrishnan
e82152ac86 Fix failing tests
ec63c1c96e broke tests
2016-09-05 14:04:40 -07:00
Girish Ramakrishnan
af82af5652 test: mail config get/set
Part of #16
2016-08-30 21:23:03 -07:00
Girish Ramakrishnan
d3a5a83f93 doc: get/set email config
Part of #16
2016-08-30 21:11:26 -07:00
Girish Ramakrishnan
6a4bda1f7e bump test container 2016-08-21 13:25:27 -07:00
Girish Ramakrishnan
971647c986 use the new appstore update route to detect app updates 2016-07-27 19:15:10 -07:00
Girish Ramakrishnan
98facf2a3c delete eventlog older than 7 days 2016-07-25 12:54:27 -07:00
Girish Ramakrishnan
b3a4973348 default xframeoption is sameorigin 2016-07-24 23:00:43 -07:00
Johannes Zellner
7f6360361f Fixup the appsdb tests 2016-07-14 16:28:59 +02:00
Girish Ramakrishnan
743a8650f0 Add ability to setup a ghost account for caas 2016-07-12 11:01:02 -07:00
Girish Ramakrishnan
a26168e3cd test: put network name in the end 2016-07-12 09:28:25 -07:00
Girish Ramakrishnan
3335936e35 fix cors crash with malformed origin 2016-07-07 16:42:45 -07:00
Girish Ramakrishnan
a863b8fa22 fix cors test 2016-07-02 06:03:33 -05:00
Girish Ramakrishnan
8cfbf92adc fix acme prod setting detection 2016-06-22 15:55:53 -05:00
Girish Ramakrishnan
b723f9e768 errored apps can be reconfigured
this is especially true when coming from a restore because the app
always has a good backup anyway.
2016-06-20 15:07:57 -05:00
Girish Ramakrishnan
fe62aba4d7 make appdb.add take a data object 2016-06-17 16:43:35 -05:00
Girish Ramakrishnan
10ebff2edf fix response to say cloudron network 2016-06-17 10:10:18 -05:00
Girish Ramakrishnan
7e57f31d14 create cloudron network in test 2016-06-17 09:18:15 -05:00
Girish Ramakrishnan
d51d2e5131 start addons and apps in the cloudron network
also remove getLinkSync, since we don't use linking anymore
2016-06-17 09:18:10 -05:00
Girish Ramakrishnan
d837e9f679 make test more reliable 2016-06-16 14:50:49 -05:00
Girish Ramakrishnan
fee6f3de0f configure/restoreInstalledApps must always succeed 2016-06-16 06:50:34 -07:00
Girish Ramakrishnan
f15f3c9052 node-ify setup_infra.sh 2016-06-15 05:26:40 -07:00
Girish Ramakrishnan
5f3378878e remove lastBackupConfig 2016-06-13 19:19:28 -07:00
Johannes Zellner
15cf83b37c Fixup the built-in client setup for tests 2016-06-13 13:48:43 +02:00
Johannes Zellner
1508a5c6b9 Add tokendb.delByClientId() 2016-06-09 15:42:52 +02:00
Johannes Zellner
d6482414bb Fixup the clientdb tests 2016-06-08 14:49:54 +02:00
Johannes Zellner
6b9acb4722 Preserve the built-in clients on db clean 2016-06-08 14:47:21 +02:00
Johannes Zellner
08c3cb9376 Insert the default auth clients for tests 2016-06-08 14:37:41 +02:00
Girish Ramakrishnan
dc8fd2eab3 do not use userdb directly 2016-06-07 10:01:14 -07:00
Girish Ramakrishnan
57cb3b04d7 generate 2048-bit keys 2016-06-04 15:59:53 -07:00
Johannes Zellner
4df49a82e5 Some clientdb.TYPE_ oversight in clients.js 2016-06-03 15:28:04 +02:00
Johannes Zellner
b4dfad3aa3 Fixup the unit tests after removing PREFIX_USER 2016-06-03 13:09:26 +02:00
Girish Ramakrishnan
80ca69a128 user.update does not need the user object 2016-06-02 23:53:06 -07:00
Girish Ramakrishnan
097d23c412 move logic to model code 2016-06-02 23:29:43 -07:00
Girish Ramakrishnan
b077223e58 fix scope name 2016-06-02 17:49:54 -07:00
Johannes Zellner
594be7dbbd Allow the userdb code to distinguish between username or email duplicates 2016-06-02 15:34:27 +02:00