Girish Ramakrishnan
3ae7a514ef
Change the put route for setting group members
2016-10-01 17:33:50 -07:00
Girish Ramakrishnan
8e712da2c8
Add route and API to set members of a group
2016-09-29 14:48:14 -07:00
Girish Ramakrishnan
49baad349c
remove mailbox routes and move it to users
2016-09-23 15:45:40 -07:00
Johannes Zellner
b937a86426
Download backups is GET
2016-09-20 09:25:48 +02:00
Johannes Zellner
6352064e6c
Add backup download route if backend supports it
2016-09-20 09:25:48 +02:00
Girish Ramakrishnan
839b4b11ba
disable admin_certificate route for now
...
part of #47
2016-09-12 12:01:22 -07:00
Girish Ramakrishnan
5b52eeb573
add route to enable/disable mail
...
mail is disabled by default
Part of #16
2016-08-30 21:09:22 -07:00
Girish Ramakrishnan
86903183df
Fix routing TCP upgrades via express middleware
...
Currently, if there was a POST request with 'tcp' upgrade, the code just hangs and waits
till timeout.
Instead, let express code will give us a default 'finalhandler' which responds
appropriately - https://github.com/expressjs/express/blob/master/lib/application.js#L161
https://github.com/pillarjs/finalhandler/blob/master/index.js#L57 for future reference
on how to call this callback should socket.destroy need to be called.
2016-08-22 13:21:46 -07:00
Girish Ramakrishnan
e4c2483ae5
upgrade header value is already checked in the route handlers
...
also, req.end() crashes
2016-08-22 13:21:46 -07:00
Johannes Zellner
a8d04028f3
Fix typo
2016-07-27 11:20:15 +02:00
Johannes Zellner
8165227b0a
Keep same style in settings rest api
2016-07-27 11:20:15 +02:00
Johannes Zellner
41e1afaf68
Add settings/appstore routes
2016-07-27 11:20:15 +02:00
Johannes Zellner
982bfc313c
Do not allow so send cookies in cors use case
2016-07-01 20:31:43 +02:00
Johannes Zellner
e82c33b896
Revert "Increase sysadmin route timeout as stopping might take longer"
...
This reverts commit 900db217ddb84ab324187ab29bf61e593f824e4a.
2016-06-30 15:01:42 +02:00
Johannes Zellner
f319919a4f
Increase sysadmin route timeout as stopping might take longer
2016-06-30 10:52:50 +02:00
Girish Ramakrishnan
dac9f29900
Add migrate route
2016-06-27 22:40:41 -05:00
Girish Ramakrishnan
5a61c5ba51
platform: ready event
2016-06-21 10:46:02 -05:00
Girish Ramakrishnan
7009b9f3ac
implement clone
2016-06-17 17:45:14 -05:00
Girish Ramakrishnan
40348a5132
Merge branch '0.15'
2016-06-08 11:56:24 -07:00
Girish Ramakrishnan
fbb8a842c1
do not require password
2016-06-08 00:07:41 -07:00
Girish Ramakrishnan
313d98ef70
add a route to check for updates quickly
2016-06-07 20:24:41 -07:00
Johannes Zellner
8e5af17e5d
Add route to delete a single token
2016-06-07 15:34:27 +02:00
Johannes Zellner
96eeb247a1
Add rest api to create a new token for a client
2016-06-07 14:29:37 +02:00
Johannes Zellner
c8b9ae542c
Simply return oauth clients instead of join with tokendb
2016-06-07 12:15:25 +02:00
Girish Ramakrishnan
c1ded66c1a
make download_url a post route
2016-06-03 09:23:15 -07:00
Girish Ramakrishnan
d2864dfe56
rename root scope to cloudron scope (for lack of better scope name)
2016-06-02 16:51:14 -07:00
Girish Ramakrishnan
65261dc4d5
add time_zone setter route
2016-06-02 13:54:07 -07:00
Girish Ramakrishnan
1fe00f7f80
do not use verbs in resource url
2016-06-02 12:01:48 -07:00
Girish Ramakrishnan
60ce6b69ee
profile updates must be POST
2016-06-02 00:31:41 -07:00
Girish Ramakrishnan
4fcc7fe99f
updateUser is POST
2016-06-02 00:27:06 -07:00
Girish Ramakrishnan
3d84880d92
keep limits in sync with the nginx config
2016-06-01 18:09:23 -07:00
Girish Ramakrishnan
dfa08469d6
set timeouts explicitly
2016-06-01 17:33:28 -07:00
Girish Ramakrishnan
b13de298bf
Add some REST api tests
2016-06-01 16:33:18 -07:00
Girish Ramakrishnan
663ff2410a
user.update must become a post route
2016-05-31 11:51:56 -07:00
Girish Ramakrishnan
69aa11d6c6
send pretty json
2016-05-31 11:14:59 -07:00
Girish Ramakrishnan
ce927bfa22
alias
...
also remove id since it's not useful for mailbox case (not like
mailbox can be renamed and we need a fixed it)
2016-05-27 22:20:08 -07:00
Girish Ramakrishnan
84d04cce16
initial mailboxes route
2016-05-27 18:17:57 -07:00
Girish Ramakrishnan
c1a2444dfa
move container creation to platform.js
2016-05-24 09:40:26 -07:00
Girish Ramakrishnan
e73174685b
add note on settings route
2016-05-06 08:42:27 -07:00
Johannes Zellner
c7958f8e1d
Remove unused /api/v1/subdomains/:subdomain
2016-05-06 14:51:02 +02:00
Johannes Zellner
d41eb81b3d
Add new profile/ route to set the showTutorial field
2016-05-06 13:56:40 +02:00
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