Commit Graph

96 Commits

Author SHA1 Message Date
Johannes Zellner 2c2922d725 Make tests succeed for now
We still have to bring back the sending of email when admins are changed
2016-02-11 11:26:35 +01:00
Johannes Zellner 19cbd1f394 Ensure we never go below 256mb memoryLimit 2016-02-10 12:30:19 +01:00
Johannes Zellner 1b7265f866 Fixup the merge 2016-02-10 12:28:57 +01:00
Johannes Zellner ab003bf81f adjust appdb.js and unit tests to support memoryLimit 2016-02-10 12:25:26 +01:00
Girish Ramakrishnan 4770f9ddf6 add hasAccessTo tests 2016-02-09 21:07:03 -08:00
Girish Ramakrishnan f413bfb3a0 Add route to set the users groups 2016-02-09 16:43:32 -08:00
Girish Ramakrishnan 2b0791f4a3 rename vars 2016-02-09 16:19:00 -08:00
Girish Ramakrishnan d95339534f rename test file 2016-02-09 16:17:01 -08:00
girish@cloudron.io 60988ff7f3 make hasAccessTo take a callback 2016-02-09 12:48:21 -08:00
girish@cloudron.io 3649fd0c31 drop the gid: prefix for group id
like the username, id and name is same in groups.
2016-02-09 12:28:50 -08:00
girish@cloudron.io e752949752 make all tests work after group changes 2016-02-09 11:29:32 -08:00
Girish Ramakrishnan 49cbea93fb fix ldap test 2016-02-09 08:52:16 -08:00
girish@cloudron.io 451c410547 make user test pass 2016-02-08 21:17:21 -08:00
girish@cloudron.io f6541720c4 pass owner flag in createUser 2016-02-08 21:05:02 -08:00
girish@cloudron.io 14fab0992f make user test mostly work 2016-02-08 16:53:20 -08:00
girish@cloudron.io d7eb004bc1 remove admin arg from user.create 2016-02-08 16:36:45 -08:00
girish@cloudron.io 96d595de39 fix database test 2016-02-08 16:25:29 -08:00
girish@cloudron.io b1f4508313 remove admin references from userdb 2016-02-08 16:18:51 -08:00
girish@cloudron.io 52ce59faaf createUser does not take admin anymore 2016-02-08 16:14:43 -08:00
girish@cloudron.io 888955bd9b add groups.isMember 2016-02-08 10:53:01 -08:00
girish@cloudron.io 6abf5e2c44 group members: add/remove/get 2016-02-08 10:48:21 -08:00
girish@cloudron.io b1935c3550 restrict group names 2016-02-08 09:41:25 -08:00
girish@cloudron.io 1d83a48a1a make group id distinct from name 2016-02-08 08:44:18 -08:00
Girish Ramakrishnan 802ee6c456 more group tests 2016-02-07 20:49:55 -08:00
Girish Ramakrishnan 278085ba22 initial tests for adding group 2016-02-07 20:34:05 -08:00
girish@cloudron.io 3ce841e050 add test for checkDiskSpace 2016-01-25 16:03:12 -08:00
girish@cloudron.io 77d652fc2b add test for config.setVersion 2016-01-25 15:12:22 -08:00
Johannes Zellner 35c926d504 Ensure we actually update the correct user, not the user holding the token 2016-01-25 14:58:02 +01:00
Johannes Zellner a6998550a7 Add displayName change unit tests 2016-01-25 14:08:35 +01:00
Girish Ramakrishnan a2899c9c65 add appupdate tests 2016-01-24 00:44:46 -08:00
Girish Ramakrishnan ff6d5e9efc complete the box update tests 2016-01-24 00:06:32 -08:00
Girish Ramakrishnan f48fe0a7c0 Get started with updatechecker tests 2016-01-23 22:38:46 -08:00
girish@cloudron.io b72d48b49f set default update config 2016-01-23 05:07:12 -08:00
girish@cloudron.io 3a6b9c23c6 settings: add update config 2016-01-23 05:06:09 -08:00
Johannes Zellner bfa917e057 Add password strength unit tests 2016-01-20 14:50:06 +01:00
Johannes Zellner 74860f2d16 Fix tests for password strength change 2016-01-20 14:39:08 +01:00
girish@cloudron.io ee705eb979 Add displayName to create user and activate routes 2016-01-19 23:34:49 -08:00
Johannes Zellner ebc9d9185d Use displayName in userdb 2016-01-19 12:39:54 +01:00
Johannes Zellner c5b8b0e3db Split up userAdd and sendInvite mailer calls 2016-01-18 16:11:00 +01:00
Johannes Zellner 9258585746 add user.sendInvite() with tests 2016-01-18 15:16:18 +01:00
Johannes Zellner 61f4fea9c3 Check for emails sent in users tests 2016-01-18 14:19:20 +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 033ccb121f Add tests for user.getAllAdmins() 2016-01-15 16:33:13 +01:00
girish@cloudron.io efaacdb534 Add getOwner 2016-01-13 12:37:56 -08: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 9d91340223 add settings.setTlsConfig 2015-12-11 22:39:13 -08:00
Girish Ramakrishnan cf80fd7dc5 rename certificatemanager 2015-12-11 12:24:52 -08:00
Girish Ramakrishnan 73d891b98e move validateCertificate to certificateManager 2015-12-10 20:38:49 -08:00
Girish Ramakrishnan 47981004c9 split port reserving to separate function
this allows us to move nginx configuration to the bottom of apptask
(required for tls cert download support)
2015-12-10 15:25:15 -08:00