Girish Ramakrishnan
4aab03bb07
import: cleanup app import logic
2022-10-02 10:08:50 +02:00
Girish Ramakrishnan
7b5df02a0e
app proxy: validate uri
2022-09-29 18:56:10 +02:00
Girish Ramakrishnan
251c1f9757
add readOnly attribute check for port bindings
2022-08-10 14:22:31 +02:00
Johannes Zellner
fc8572c2af
Raise alert for when an app cannot be autoupdated
2022-08-10 12:19:54 +02:00
Girish Ramakrishnan
885d60f7cc
reverseproxy: add setUserCertificate
2022-07-14 13:25:41 +05:30
Girish Ramakrishnan
a246cb7e73
return location certificates
2022-07-14 11:57:04 +05:30
Girish Ramakrishnan
f0abd7edc8
certificateJson can be null
2022-07-14 10:52:31 +05:30
Girish Ramakrishnan
2af29fd844
cleanupCerts: add progress
2022-07-13 11:22:47 +05:30
Girish Ramakrishnan
1549f6a4d0
fix various terminology in code
...
subdomain, domain - strings
location - { subdomain, domain }
bundle - { cert, key }
bundlePath - { certFilePath, keyFilePath }
vhost is really just for virtual hosting
fqdn for others
2022-07-13 10:15:09 +05:30
Girish Ramakrishnan
ce06b2e150
Fix upstreamUri validation
2022-06-10 11:23:58 -07:00
Girish Ramakrishnan
a32166bc9d
data dir: allow sameness of old and new dir
...
this makes it easy to migrate to a new volume setup
2022-06-09 17:49:33 -07:00
Johannes Zellner
fbc7fcf04b
Put healthcheck errors in app logs
2022-06-09 14:56:40 +02:00
Johannes Zellner
11d7dfa071
Accept upstreamUri as string for proxy app install
2022-06-09 14:35:05 +02:00
Johannes Zellner
d55a6a5eec
Update reverse proxy app config on upstreamUri change
2022-06-09 10:48:54 +02:00
Johannes Zellner
6a7379e64c
Add apps.upstreamUri support
2022-06-09 10:48:54 +02:00
Girish Ramakrishnan
037f4195da
guard against two level subdir moves
...
this has never worked since the -wholename check only works for
one level deep
2022-06-08 12:24:11 -07:00
Girish Ramakrishnan
6311c78bcd
Fix quoting
2022-06-08 11:25:20 -07:00
Girish Ramakrishnan
7598cf2baf
consolidate storage validation logic
2022-06-06 12:50:21 -07:00
Girish Ramakrishnan
7dba294961
storage: check volume status
2022-06-03 10:43:59 -07:00
Girish Ramakrishnan
4bee30dd83
fix more typos
2022-06-03 09:10:37 -07:00
Girish Ramakrishnan
dddc5a1994
migrate app dataDir to volumes
2022-06-02 16:29:01 -07:00
Girish Ramakrishnan
8fc8128957
Make apps.getDataDir async
2022-06-02 11:19:33 -07:00
Girish Ramakrishnan
85af0d96d2
sendmail: allow display name to be set
2022-06-01 01:38:16 -07:00
Girish Ramakrishnan
9fcd6f9c0a
cron: add @service which is probably clearer than @reboot in app context
2022-05-20 10:57:44 -07:00
Girish Ramakrishnan
17910584ca
cron: add extensions
...
https://www.man7.org/linux/man-pages/man5/crontab.5.html#EXTENSIONS
2022-05-20 10:53:30 -07:00
Girish Ramakrishnan
93bacd00da
Fix exec web socket/upload/download
2022-05-16 11:46:28 -07:00
Girish Ramakrishnan
b5c2a0ff44
exec: rework API to get exit code
2022-05-16 11:23:58 -07:00
Girish Ramakrishnan
78824b059e
turn off sso flag if an update removes sso options
...
ff-iii used to have LDAP but we removed it. in the database, 'sso'
is still true. the migration here will reset it back to false.
for future situations like these, we sync the sso flag on app update itself.
this ensures correct behavior when yet another update add back sso support.
in ff-iii case, a future update is bringing in proxyAuth based sso!
we don't store the 'sso' bit in backupdb, so user choice of sso is
lost if restore changes sso addons.
2022-04-25 23:36:58 -07:00
Girish Ramakrishnan
7f89dfd261
add once.js
2022-04-15 19:01:35 -05:00
Girish Ramakrishnan
87cb90c9b6
Fix crash
...
ReferenceError: Cannot access 'backups' before initialization
2022-04-08 16:27:11 -07:00
Girish Ramakrishnan
2f8f5fcb7d
Typo
2022-04-05 10:26:05 -07:00
Girish Ramakrishnan
709d4041b2
backups: fix restore code path after backup id changes
2022-04-05 09:55:57 -07:00
Girish Ramakrishnan
70695b1b0f
backups: set label of backup and control it's retention
2022-04-02 19:30:54 -07:00
Girish Ramakrishnan
85964676fa
Fix location conflict error message
2022-02-07 16:09:43 -08:00
Girish Ramakrishnan
75c0caaa3d
rename subdomains table to locations
2022-02-07 14:04:11 -08:00
Girish Ramakrishnan
46b497d87e
rename SUBDOMAIN_ to LOCATION_
...
location is { subdomain, domain } pair
2022-02-07 13:48:08 -08:00
Girish Ramakrishnan
964c1a5f5a
remove field from errors
...
we have standardized on indexOf in error.message by now
2022-02-07 13:44:29 -08:00
Girish Ramakrishnan
b75afaf5d5
clone: secondary domains are required
2022-02-01 23:36:41 -08:00
Girish Ramakrishnan
a786fad3ee
mountPoint is only set for 'mountpoint' (unmanaged)
...
When restoring, mountPoint field is expected for managed mount points
2022-01-26 13:37:16 -08:00
Girish Ramakrishnan
8b9d821905
isMountProvider -> isManagedProvider
2022-01-26 12:40:28 -08:00
Girish Ramakrishnan
e7977525a0
better error message
2022-01-25 16:41:29 -08:00
Girish Ramakrishnan
f017e297f7
secondaryDomains are always required
...
they can still become empty after an update but install and change_location
requires them
part of #809
2022-01-21 10:03:30 -08:00
Girish Ramakrishnan
e8577d4d85
more location renaming
2022-01-16 18:56:44 -08:00
Girish Ramakrishnan
e8d08968a1
rename location to subdomain
...
the primary subdomain was previously called 'location'. but the alias/secondary/redirect
subdomain is called 'subdomain'. this makes it all consistent.
location terminology is now used for { subdomain, domain } pair
2022-01-16 12:48:29 -08:00
Girish Ramakrishnan
b34f66b115
add secondary domains
...
note that for updates to work, we keep the secondary domain optional,
even though they are really not.
part of #809
2022-01-16 12:10:48 -08:00
Girish Ramakrishnan
d7d46a5a81
rename alternateDomains to redirectDomains
2022-01-14 22:32:34 -08:00
Girish Ramakrishnan
d8314d335a
implement manifest.logPaths
2022-01-04 10:04:40 -08:00
Girish Ramakrishnan
b18626c75c
getLocalLogfilePaths -> getLogPaths
2022-01-04 09:14:13 -08:00
Johannes Zellner
d6fbe2a1bb
Use correct error object
2021-12-15 17:22:16 +01:00
Girish Ramakrishnan
683ac9b16e
remove support for manifest version 1
...
this is long untested by now
2021-12-06 17:44:09 -08:00