Girish Ramakrishnan
55939f6320
test: fix support test
2025-02-05 11:53:33 +01:00
Johannes Zellner
5a16a50b3f
Fix typo in setting ssh support status
2025-02-03 18:37:55 +01:00
Girish Ramakrishnan
74f4849144
req.connection.remoteAddress is deprecated
2025-01-29 10:35:21 +01:00
Girish Ramakrishnan
d51183be51
lint
2025-01-29 09:59:15 +01:00
Girish Ramakrishnan
6fcfa6cac0
mail: add ipv6 rdns check
2025-01-08 17:28:28 +01:00
Girish Ramakrishnan
cd8be9ffb5
archive: appConfig is null for pre-8.2 backups
...
use backups.manifest when possible instead
2024-12-19 15:21:33 +01:00
Girish Ramakrishnan
68431ae357
rename functions to avoid mistakes
...
the remove fields are not clear enough. we sent notes by mistake to
normal users. changing the name and passing role as the argument
will avoid these errors
2024-12-19 12:24:08 +01:00
Girish Ramakrishnan
449dd4730f
archive: return the id in archive route
2024-12-17 14:33:36 +01:00
Girish Ramakrishnan
6004cd17bf
notifications: per user email prefs
2024-12-11 19:12:20 +01:00
Girish Ramakrishnan
ead419003b
notifications: rename ALERT_ to TYPE_
2024-12-11 15:29:20 +01:00
Girish Ramakrishnan
41bc08a07e
backup: move appConfig to backups table
...
this is useful for clone also to copy notes, operators, checklist
of the time when the backup was made (as opposed to current)
at this point, it's not clear why we need a archives table. it's
an optimization to not have to store icon for every backup.
2024-12-10 21:04:37 +01:00
Girish Ramakrishnan
41b302b0b9
apps: unarchive can call add() on it's own
...
all this because the sso flag is not allowed with optionalSso :/
2024-12-10 19:09:29 +01:00
Girish Ramakrishnan
fbe334e7d7
install/unarchive: add support for various fields
2024-12-10 18:39:16 +01:00
Girish Ramakrishnan
9a155491cb
move unarchive to apps model
2024-12-10 17:19:12 +01:00
Girish Ramakrishnan
0e181cdc82
archive: implement unarchive
...
made a separate route instead of reusing install route. this was
because we want to copy over all the old app config as much as
possible.
2024-12-10 16:49:19 +01:00
Girish Ramakrishnan
30b0d4cced
archives: add listing
2024-12-10 12:30:10 +01:00
Girish Ramakrishnan
f973536f7f
archives: add eventlog
2024-12-10 11:10:35 +01:00
Girish Ramakrishnan
490840b71d
archives: use separate table
...
Cleaner to separate things from the backups table.
* icon, appConfig, appStoreIcon etc are only valid for archives
* older version cloudron does not have appConfig in backups table (so it
cannot be an archive entry)
2024-12-10 10:36:44 +01:00
Girish Ramakrishnan
2ad93c114e
archive: add appConfig, icon and appStoreIcon
2024-12-09 23:25:31 +01:00
Girish Ramakrishnan
9200e6fc63
add archives api
2024-12-09 22:39:28 +01:00
Girish Ramakrishnan
710bd270d7
apps: add archive action
2024-12-09 18:51:49 +01:00
Johannes Zellner
8493022f75
Allow apps to specify custom devices
2024-12-05 14:21:07 +01:00
Girish Ramakrishnan
e4fb040ddf
make tests great again
2024-12-04 16:36:05 +01:00
Girish Ramakrishnan
2bfa49cc2e
applinks: add tests
2024-12-04 16:17:07 +01:00
Girish Ramakrishnan
3b9d617e37
groups: add events to eventlog
2024-12-04 11:30:30 +01:00
Girish Ramakrishnan
fdf8025a02
style: remove -> del
2024-12-03 17:36:50 +01:00
Girish Ramakrishnan
0a4aede3a8
eventlog: branding events
2024-12-02 12:18:09 +01:00
Girish Ramakrishnan
872705d58d
oidc: use the cloudron name as provider name
2024-12-02 12:01:19 +01:00
Girish Ramakrishnan
1230e5c9e7
oidc: add load pattern
2024-12-02 08:36:03 +01:00
Girish Ramakrishnan
dc3d23c27b
oidc: flatten the export list
2024-12-02 08:31:35 +01:00
Girish Ramakrishnan
2a6c52800b
system: filesystems in exclude are excluded from content analysis
...
some disks can be very slow and noisy (at home). this allows users to simply skip them.
also, applicable for large storage boxes
2024-11-30 13:08:21 +01:00
Girish Ramakrishnan
f0207ff161
test: comment it out, it is not run anyway
2024-11-26 15:54:55 +05:30
Johannes Zellner
78cb36ea0e
Start using POST /api/v1/apps to install
2024-11-20 16:18:37 +01:00
Girish Ramakrishnan
1b22ea661c
avatar: deliver .png images
...
this is required for mastodon atleast. if the oidc avatar url, returns
an svg, it crashes!
the profile pic png was created using inkspace:
inkscape -w 96 -h 96 avatar-default-symbolic.svg -o avatar-default-symbolic.png
2024-10-18 22:39:18 +02:00
Girish Ramakrishnan
efc3c7532e
Move requires to the top
2024-10-18 21:50:38 +02:00
Girish Ramakrishnan
76dc856dbf
test: fix system test
2024-09-20 15:37:34 +02:00
Girish Ramakrishnan
f526695aae
cloudron-support: enable-ssh has an alias enable-remote-support
2024-09-19 08:38:59 +02:00
Girish Ramakrishnan
6742cdf373
backups: remount remote if not mounted before a backup
2024-09-09 18:15:49 +02:00
Girish Ramakrishnan
2ff995aa95
filemanager: do not respond again
2024-08-08 15:20:50 +02:00
Girish Ramakrishnan
b870f98ec2
proxy-middleware: no more a middleware
2024-07-30 13:34:41 +02:00
Girish Ramakrishnan
a5249102f2
proxy-middleware: just pass a string
2024-07-30 12:04:35 +02:00
Girish Ramakrishnan
468d4dd9b0
ami: imdsv2 support
...
https://aws.amazon.com/blogs/security/defense-in-depth-open-firewalls-reverse-proxies-ssrf-vulnerabilities-ec2-instance-metadata-service/
One has to get a token now via PUT. This is because there is a bunch of
open proxies out there which blindly forwarded everything to internal network
including metadata requests. They have found that PUT requests don't cleanly
proxy and also AWS rejects token requests with X-Forwarded-For.
2024-07-27 14:48:42 +02:00
Girish Ramakrishnan
d8aa4bc5e4
filemanager: fix sending of double header
...
we should not proceed to notFoundHandler if proxy handled it just fine
2024-07-26 11:58:41 +02:00
Girish Ramakrishnan
7ebf5ca16a
Bring back upload route to keep e2e happy
...
let's maybe remove it in next release
2024-07-23 08:28:44 +02:00
Johannes Zellner
185c16c3e2
remove apps upload api in favor of sftp container api
2024-07-22 16:20:15 +02:00
Girish Ramakrishnan
c85c0558b9
multipart: cleanup files after reading their contents
...
one idea is just use express.raw() . however, we have to implement some
file size limit there.
one case this does not handle is aborted uploads from a box.service restart.
for this rare case, a server reboot will clean up /tmp anyway.
2024-07-19 23:11:26 +02:00
Girish Ramakrishnan
7f11699fac
remove urlencoded
...
we don't use this in our API
2024-07-19 22:44:22 +02:00
Johannes Zellner
a6369a7dde
Fix linter error
2024-07-19 22:24:34 +02:00
Girish Ramakrishnan
aeddaa4566
apps: rework portBindings
...
ports is REST API input . Map of env var to the host port
portBinding is the database structure. Map of env var to host port, count, type etc
also, rename portCount -> count in various places to keep things consistent
2024-07-17 00:25:47 +02:00
Girish Ramakrishnan
07396c9824
Revert "support: add route to repair apps"
...
This reverts commit 0bab0ed748 .
It's better to somehow integrate this into the dashboard ...
2024-07-12 14:22:47 +02:00