Girish Ramakrishnan
fa7c0a6e1b
add disks tests
2022-10-12 10:45:29 +02:00
Girish Ramakrishnan
62d68e2733
graphs: remove the disk info
2022-10-12 10:30:02 +02:00
Girish Ramakrishnan
edb6ed91fe
add disk usage task
2022-10-12 10:26:21 +02:00
Girish Ramakrishnan
a3f7ce15ab
system: rework disks api to return by filesystem
2022-10-12 09:42:14 +02:00
Girish Ramakrishnan
4348556dc7
Fix applinks test
2022-10-12 09:37:25 +02:00
Girish Ramakrishnan
deb6d78e4d
bump addon timeouts
2022-10-11 23:33:35 +02:00
Girish Ramakrishnan
3c963329e9
du: exclude option
2022-10-11 23:14:50 +02:00
Girish Ramakrishnan
656f3fcc13
add system.du
2022-10-11 23:06:54 +02:00
Girish Ramakrishnan
760301ce02
Add docker.df
2022-10-11 23:06:51 +02:00
Johannes Zellner
cbaf86b8c7
Use counter values for docker stats in collectd and grafana queries
2022-10-11 19:06:40 +02:00
Girish Ramakrishnan
9d35756db5
graphs: just query graphite IP instead of localhost mapping
2022-10-11 12:44:37 +02:00
Girish Ramakrishnan
22790fd9b7
system: include only ram info for graphs
...
app graphs only contain ram info since that is what docker stats provides
2022-10-11 11:54:06 +02:00
Girish Ramakrishnan
3caffdb4e1
Rework app stats
...
Previously, the du plugin was collecting data every 20 seconds but
carbon was configured to only keep data every 12 hours causing much
confusion.
In the process of reworking this, it was determined:
* No need to collect disk usage info over time. Not sure how that is useful
* Instead, collect CPU/Network/Block info over time. We get this now from docker stats
* We also collect info about the services (addon containers)
* No need to reconfigure collectd for each app change anymore since there is no per
app collectd configuration anymore.
2022-10-10 21:13:26 +02:00
Girish Ramakrishnan
2133eab341
postgresql: fix issue when restoring large dumps
2022-10-10 12:30:26 +02:00
Johannes Zellner
25379f1d21
Prevent code from crashing when DO access token contains non-ascii characters
2022-10-07 11:25:17 +02:00
Johannes Zellner
cb8d90699b
Better feedback if no applink schema is provided
2022-10-06 19:49:33 +02:00
Johannes Zellner
6e4e8bf74d
Add applink upstreamUri validation
2022-10-06 19:35:07 +02:00
Johannes Zellner
87a00b9209
Fixup app link icon fetching and do not overwrite upstreamUri with redirect
2022-10-06 19:23:15 +02:00
Girish Ramakrishnan
d51b022721
applinks: make get return null
...
this style matches rest of the code base
2022-10-06 11:32:42 +02:00
Girish Ramakrishnan
cb9b9272cd
lint
2022-10-06 11:27:12 +02:00
Girish Ramakrishnan
7dbb677af4
postgresql: move config to runtime for debuggability
2022-10-06 10:13:49 +02:00
Girish Ramakrishnan
071202fb00
mail: log error
2022-10-04 10:57:42 +02:00
Girish Ramakrishnan
fc7414cce6
support: require superadmin
2022-10-04 10:25:11 +02:00
Girish Ramakrishnan
acb92c8865
mail queue: fix search + pagination
2022-10-03 10:51:35 +02:00
Girish Ramakrishnan
c3793da5bb
split checkPrecondition so it can be used in cleaner as well
2022-10-02 17:41:21 +02:00
Girish Ramakrishnan
4f4a0ec289
use mount code to check mount status
2022-10-02 16:51:03 +02:00
Girish Ramakrishnan
a4a9b52966
Clarify error message
2022-10-02 16:38:12 +02:00
Girish Ramakrishnan
56b981a52b
backups: when checking mount status, ignore the prefix
2022-10-02 16:33:04 +02:00
Girish Ramakrishnan
074e9cfd93
rename getRootPath to getBackupRootPath
2022-10-02 16:26:27 +02:00
Girish Ramakrishnan
9d17c6606b
rename to checkBackupPreconditions
...
since this is called only by the backup logic
2022-10-02 16:20:14 +02:00
Girish Ramakrishnan
b32288050e
backups: check mount status before checking available size
2022-10-02 16:16:30 +02:00
Girish Ramakrishnan
4aab03bb07
import: cleanup app import logic
2022-10-02 10:08:50 +02:00
Girish Ramakrishnan
9f788c2c57
backup: reduce memory logs
2022-10-01 20:16:08 +02:00
Girish Ramakrishnan
84ba333aa1
app proxy: disable TLS check in app health monitor
2022-10-01 11:47:52 +02:00
Girish Ramakrishnan
c07fe4195f
eventlog: preserve last 2 months
2022-10-01 11:01:41 +02:00
Girish Ramakrishnan
54af286fcd
app proxy: workaround for nginx not starting if upstream is down
...
https://sandro-keil.de/blog/let-nginx-start-if-upstream-host-is-unavailable-or-down/
without a resolver, dns names do not resolve
2022-09-30 10:36:44 +02:00
Girish Ramakrishnan
7b5df02a0e
app proxy: validate uri
2022-09-29 18:56:10 +02:00
Girish Ramakrishnan
4f0e0706b2
backups: fix id
...
avoid box_box_ and mail_mail_ in backup ids
2022-09-29 18:01:19 +02:00
Girish Ramakrishnan
1f74febdb0
mail: do not clear eventlog on restart
2022-09-28 22:16:32 +02:00
Johannes Zellner
f5f9a8e520
Send 404 if applink icon does not exist
2022-09-28 15:18:05 +02:00
Johannes Zellner
ae376774e4
Ensure we don't put empty applink icon buffers in db
2022-09-28 15:10:17 +02:00
Johannes Zellner
ff8c2184f6
Convert applink ts to timestamp
2022-09-28 14:59:30 +02:00
Johannes Zellner
a7b056a84c
Some tweaks for better app link detection logic
2022-09-28 14:23:45 +02:00
Girish Ramakrishnan
131d456329
Add cloudflare R2
2022-09-27 19:44:20 +02:00
Girish Ramakrishnan
88e9f751ea
mail: update for logging changes
2022-09-26 09:37:36 +02:00
Johannes Zellner
8677e86ace
Add authorization to all routes
2022-09-24 21:27:43 +02:00
Johannes Zellner
cde22cd0a3
Add token scope tests in routes
2022-09-24 20:56:43 +02:00
Johannes Zellner
6d7f7fbc9a
Add some more token scope tests
2022-09-24 18:52:41 +02:00
Johannes Zellner
858c85ee85
Fixup more tests
2022-09-24 18:26:31 +02:00
Johannes Zellner
15d473d506
Fixup some token tests and error handling
2022-09-24 17:29:42 +02:00