Commit Graph

210 Commits

Author SHA1 Message Date
Girish Ramakrishnan
0e655cadb0 generate dkim keys before dns setup
Two things require DKIM keys
1. the mail addon
2. the DNS TXT record
2016-05-05 21:15:10 -07:00
Johannes Zellner
85db8f398b Ensure we require an admin for settings routes
The cloudron name and avatar already have public routes.
2016-05-05 12:48:21 +02:00
Girish Ramakrishnan
b4c15b1719 Let the box code initialize the infrastructure
This is done because:
1. The box code can install certs for addons (like mail addon) when
   required.

2. The box code initialize/teardown addons on demand. This is not planned
   currently.
2016-05-04 15:54:21 -07:00
Girish Ramakrishnan
7262eb208f add route to get the timezone 2016-05-03 12:10:21 -07:00
Girish Ramakrishnan
da79e4f229 only admin can view activity logs 2016-05-02 14:54:20 -07:00
Girish Ramakrishnan
7cf08b6a4d add start event
this signals that an update worked
2016-05-02 10:01:23 -07:00
Girish Ramakrishnan
157fbc89b8 add eventlog route 2016-04-30 14:08:44 -07:00
Girish Ramakrishnan
0ef0e010a3 use defines for role names 2016-04-25 10:30:56 -07:00
Johannes Zellner
18f3733d6e Simplify the password change logic
We now can use verifyPassword and this makes
user.changePassword() route obsolete
2016-04-17 19:17:03 +02:00
Johannes Zellner
c623770b44 Group /users routes better 2016-04-17 18:38:49 +02:00
Johannes Zellner
a7d22a1972 Add specific user profile routes 2016-04-17 16:22:39 +02:00
Girish Ramakrishnan
414b21f29a add sysadmin route test 2016-04-15 12:33:54 -07:00
Johannes Zellner
a803af2300 Revert "add get route for user"
This route is already there, the reason is, that the users api works off
the :userId but the profile api works off the req.user coming from the used
access token.

This reverts commit dbef4d71be5a68239133ab9b6e0fc1fd88ee27cd.
2016-04-13 11:36:49 +02:00
Girish Ramakrishnan
82651a33c7 typo 2016-04-12 18:16:52 -07:00
Girish Ramakrishnan
212a0ffcd9 add get route for user 2016-04-12 18:13:37 -07:00
Johannes Zellner
7a5ac1a2f5 Add POST account/setup to distinguish between setup and password reset 2016-04-05 09:27:32 +02:00
Johannes Zellner
c90a8041e2 Move password/setup.html -> account/setup.html 2016-04-05 09:27:32 +02:00
Girish Ramakrishnan
8014e2eaf8 add route to download backup 2016-03-08 16:28:42 -08:00
Johannes Zellner
384c410e7c Do not require a password for user profile changes 2016-02-25 13:54:44 +01:00
Johannes Zellner
b5b0ab7475 Require admin rights for user listing 2016-02-25 13:43:15 +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
deb30e440a Disable ejs debug flag 2016-02-18 18:00:23 +01:00
Johannes Zellner
163ceef527 Remove the admin toggle route 2016-02-11 11:26:35 +01:00
Johannes Zellner
8ba5dc2352 Fix indentation 2016-02-10 13:55:49 +01:00
Girish Ramakrishnan
f413bfb3a0 Add route to set the users groups 2016-02-09 16:43:32 -08:00
girish@cloudron.io
6cca7b3e0e initial rest API for groups 2016-02-09 13:34:36 -08:00
Johannes Zellner
2888a85081 Remove cloudron side migrate api
This is some old api when we had a migrate view in the webadmin
This is entirely handled on the appstore for now.
2016-01-29 14:17:33 +01:00
girish@cloudron.io
072962bbc3 add internal route to retire 2016-01-26 08:46:48 -08:00
Johannes Zellner
e15bd89ba2 Add route to list application backups 2016-01-19 13:35:28 +01:00
girish@cloudron.io
c82ca1c69d disable http server timeout 2016-01-18 12:28:53 -08:00
Johannes Zellner
d9850fa660 Add send invite route 2016-01-18 15:37:03 +01:00
girish@cloudron.io
70ac18d139 add internal route to update the cloudron
need to way to trigger updates of cloudron using the caas tool
2016-01-14 11:13:02 -08:00
Girish Ramakrishnan
f46af93528 do not installAdminCertificate for upgrades 2015-12-14 23:37:52 -08:00
Girish Ramakrishnan
2f7517152a rename certificates.initialize 2015-12-11 14:02:58 -08:00
Girish Ramakrishnan
cf80fd7dc5 rename certificatemanager 2015-12-11 12:24:52 -08:00
Girish Ramakrishnan
66db918273 add certificate manager stub 2015-12-10 13:35:02 -08:00
Girish Ramakrishnan
10c876ac75 make migrate test work 2015-11-09 20:34:27 -08:00
Girish Ramakrishnan
294d1bfca4 remove ununsed require 2015-11-09 18:57:57 -08:00
Johannes Zellner
66b4a4b02a Remove unused favicon middleware 2015-11-05 19:29:08 +01:00
Girish Ramakrishnan
55f070e12c ensure cloudron.js is initialized first 2015-10-29 10:11:05 -07:00
Johannes Zellner
0460beccf0 Add route to set the admin certificate
This route is separate until we can treat the webadmin just
like any other app
2015-10-29 12:27:57 +01:00
Johannes Zellner
57de915133 Make settings certificate upload route also just using the json body 2015-10-28 12:12:06 +01:00
Johannes Zellner
01ead194d8 Move cert upload route to /settings 2015-10-27 18:38:46 +01:00
Girish Ramakrishnan
f510d4bc10 add route for setting/getting dns settings 2015-10-26 16:52:59 -07:00
Girish Ramakrishnan
a9ccc7e2aa remove updating clients
clients are immutable
2015-10-15 16:08:17 -07:00
Johannes Zellner
11d327edcf Remove unused session error route 2015-10-14 15:51:55 +02:00
Johannes Zellner
1e7e2e5e97 Remove decision dialog related route 2015-10-13 20:39:08 +02:00
Johannes Zellner
3eabc27877 Make app icon url public to be used in oauth login screen 2015-10-12 16:49:55 +02:00
Johannes Zellner
f0fefab8ad Prefix morgan logs with source 2015-10-11 17:19:39 +02:00
Johannes Zellner
449231c791 Do not show http request logs during tests 2015-10-11 17:19:39 +02:00