Girish Ramakrishnan
78a2176d1d
Make admin simply a boolean instead of group
...
This simplifies a lot of logic. Keeping an admin group has no benefit
2018-07-26 22:29:57 -07:00
Girish Ramakrishnan
ea946396e7
Use users.isAdmin in all places
2018-07-26 13:23:06 -07:00
Johannes Zellner
f53c526677
Remove superflous . for user cert key file location
2018-06-29 23:14:06 +02:00
Johannes Zellner
40c22a1ad7
send alternateDomains over the wire
2018-06-29 23:14:06 +02:00
Johannes Zellner
b1b848de21
Support configuring alternateDomains for apps
2018-06-29 23:14:06 +02:00
Girish Ramakrishnan
9978dff627
Add API to set and transfer ownership
2018-06-28 16:48:04 -07:00
Girish Ramakrishnan
dfa318e898
Add ownerId for apps
...
This tracks who installed the app.
2018-06-28 14:13:12 -07:00
Girish Ramakrishnan
877f181f8d
Put ts in app listing as well
2018-06-26 19:58:21 -07:00
Girish Ramakrishnan
02c0137dc1
Add a timestamp column to apps table
...
this field can be used in UI to see if more detailed app information
has to be fetched (since it calls the list apps REST API periodically)
2018-06-26 18:16:39 -07:00
Girish Ramakrishnan
93a2cab355
Ignore internal mailbox conflict errors
2018-06-26 17:44:14 -07:00
Girish Ramakrishnan
6907475f7a
Add app management scope
...
This splits the apps API into those who have just 'read' access
and those who have 'manage' access.
2018-06-26 08:56:30 -07:00
Girish Ramakrishnan
9bf93b026b
rename to removeInternalFields
2018-06-25 16:40:16 -07:00
Girish Ramakrishnan
7f3114e67d
Rename to get/setMembership (to indicate IDs and not group objects
2018-06-18 13:57:17 -07:00
Johannes Zellner
b3fa5afe3a
First show apptask logs, then app logs
2018-06-15 14:58:07 +02:00
Johannes Zellner
1f8451fedb
Do not print tail file headers in the logs
2018-06-14 12:53:49 +02:00
Johannes Zellner
cdc78936b5
Ignore faulty empty log lines
2018-06-14 12:53:19 +02:00
Girish Ramakrishnan
5a6ea33694
Display apptask logs
2018-06-12 14:55:58 -07:00
Johannes Zellner
177243b7f2
Support new platform/addon log style
2018-06-11 20:09:45 +02:00
Girish Ramakrishnan
04be582573
make the mailbox name follow the apps new location, if the user did not set it explicitly
2018-06-09 11:05:54 -07:00
Girish Ramakrishnan
0953787559
Fix docker exec terminal resize issue
...
Fixes #549
2018-06-08 11:44:24 -07:00
Johannes Zellner
fd0e2782d8
Deliver the correct utc timestamp instead of the ISO string
2018-06-06 14:09:50 +02:00
Johannes Zellner
36aaa0406e
Fix comment about firewall rule setup
2018-06-06 14:09:50 +02:00
Johannes Zellner
17ecb366af
Bring back json log format for now
2018-06-06 14:09:50 +02:00
Johannes Zellner
1a83281e16
use port 2514 for syslog
2018-06-06 14:09:50 +02:00
Johannes Zellner
ec41e0eef5
Use tail instead of journalctl to deliver logs
2018-06-06 14:09:50 +02:00
Girish Ramakrishnan
bac3ba101e
Add mailboxName to app configure route
...
Fixes #558
2018-05-24 16:26:34 -07:00
Girish Ramakrishnan
87c46fe3ea
apps: return mailbox name as part of app
...
part of cloudron/box#558
2018-05-24 15:50:46 -07:00
Girish Ramakrishnan
273948c3c7
Fix tests
2018-05-22 13:22:48 -07:00
Girish Ramakrishnan
9c073e7bee
Preserve addons credentials when restoring
2018-05-22 13:07:58 -07:00
Johannes Zellner
726cafcee4
Rollback appdb record on clone and install if appstore purchase fails
2018-05-03 13:20:34 +02:00
Girish Ramakrishnan
863afc68cb
DomainError -> DomainsError
2018-04-29 11:20:12 -07:00
Girish Ramakrishnan
b1b664ceca
Move removeInternalAppFields to model code
2018-04-29 10:47:34 -07:00
Girish Ramakrishnan
84dcdbba33
Re-assign 2020 to mail server
2018-03-21 23:15:30 -07:00
Girish Ramakrishnan
331ed4e6b9
Pass on any appstore purchase error
2018-03-11 12:43:24 -07:00
Girish Ramakrishnan
12aba46893
use apps.getAll since app.fqdn is otherwise undefined
2018-03-07 13:39:40 -08:00
Girish Ramakrishnan
0b20b265de
Do not crash if domain is not found
2018-03-06 01:30:40 -08:00
Girish Ramakrishnan
b83eb993d8
Add sso and robotsTxt to app backup config.json
2018-03-05 15:03:03 -08:00
Girish Ramakrishnan
6cadaca307
clone: copy enableBackup and robotsTxt
2018-03-05 14:56:24 -08:00
Johannes Zellner
53470e286f
Use app model code to get all amended properties
2018-03-02 10:58:05 +01:00
Johannes Zellner
a777e7aeb3
add full app object to app related eventlog actions
2018-02-20 10:34:09 -08:00
Johannes Zellner
cb62cdcfa1
Report dependency error for clone if backup or domain was not found
2018-02-16 10:45:06 -08:00
Johannes Zellner
b6384d5025
Remove intrinsicFqdn
2018-02-08 15:07:49 +01:00
Johannes Zellner
b1939e73f4
Remove all occurances of altDomain in the code
...
Tests are pending
2018-02-08 09:00:31 +01:00
Johannes Zellner
c8613e646b
Show more descriptive error message if minBoxVersion blocks update
2018-02-05 15:20:42 +01:00
Girish Ramakrishnan
d18fe0a40c
app: Check altDomain when saving certs
2018-02-03 01:03:23 -08:00
Girish Ramakrishnan
f379724128
merge certificates.js and nginx.js to reverseproxy.js
...
when certs change, we have to call into nginx anyway. since they
go hand in hand, just merge those files. modern reverse proxies
do this job integrated already.
2018-01-30 12:26:09 -08:00
Girish Ramakrishnan
6789e9cfe7
change order of validateCertificate args
2018-01-26 20:36:31 -08:00
Girish Ramakrishnan
d0bf315859
certificates: cert/key cannot be null
2018-01-26 20:06:17 -08:00
Girish Ramakrishnan
efc6a5acd0
Return NOT_FOUND if app is missing in appstore
2018-01-24 10:56:26 -08:00
Girish Ramakrishnan
0e4a0658b2
Remove postman location (unused by dovecot)
2018-01-19 22:10:10 -08:00