Girish Ramakrishnan
f48231e309
oidc: do not notify login of ghost users
2025-06-12 00:25:28 +02:00
Girish Ramakrishnan
d24189e8aa
oidc: refactor
2025-06-12 00:25:28 +02:00
Girish Ramakrishnan
5baa08eb0c
oidc: use safe instead
2025-06-12 00:25:28 +02:00
Girish Ramakrishnan
95eb310a7f
oidc: add notes on the flow
2025-06-12 00:25:28 +02:00
Girish Ramakrishnan
d112d6308c
move tokens.ID_ into oidcClients.ID_
2025-06-12 00:25:28 +02:00
Girish Ramakrishnan
1ca8eeeb50
split oidc into server and clients
2025-06-11 22:26:23 +02:00
Girish Ramakrishnan
5824c8ffd0
oidc: inline the findAccount
2025-06-11 21:23:37 +02:00
Girish Ramakrishnan
8788867572
oidc: simplify revoke function
2025-06-11 21:23:37 +02:00
Girish Ramakrishnan
f2193ff45c
oidc: rename CloudronAdapter to StorageAdapter
2025-06-11 21:23:37 +02:00
Girish Ramakrishnan
1091142614
oidc: remove one level of indent by making provider global
2025-06-11 21:23:37 +02:00
Girish Ramakrishnan
059547e37c
test: set FOREIGN_KEY_CHECKS=1 after clearing
2025-06-11 15:35:00 +02:00
Girish Ramakrishnan
6dc0e4f5c3
oidc: remove many of the comments
...
it's just distracting
2025-06-11 15:18:35 +02:00
Girish Ramakrishnan
8fc9685a1b
test: make it work again
2025-06-11 15:14:15 +02:00
Girish Ramakrishnan
7744568eb8
apptask: rename command functions
2025-06-11 14:19:31 +02:00
Johannes Zellner
af75060001
Reimplement fallback email dialog
2025-06-11 10:22:09 +02:00
Girish Ramakrishnan
7e036cc65f
typo
2025-06-10 13:01:40 +02:00
Girish Ramakrishnan
7a083e7ce4
dashboard: check if new location conflicts with all possible app locations
2025-06-10 12:54:08 +02:00
Johannes Zellner
c6aef98361
Use SQL commands instead of mysql cli to clear tables for test
2025-06-10 11:47:05 +02:00
Girish Ramakrishnan
639b7d9374
test: set req.resources earlier
2025-06-10 11:27:32 +02:00
Johannes Zellner
23f7c1522e
Always start with default features
2025-06-10 11:08:17 +02:00
Johannes Zellner
2e4bc5e218
Start using req.resources = { app, volume, ...} pattern
...
Reason was that req.app was clashing with expressjs v5 which
stores the main expressjs app object there
2025-06-10 11:02:43 +02:00
Johannes Zellner
a556237963
Ensure we start with a default features set if features file cannot be loaded/parsed
2025-06-10 09:34:15 +02:00
Girish Ramakrishnan
ad4c88b535
Fix missing usage of safe()
2025-06-09 10:18:01 +02:00
Girish Ramakrishnan
a93c85ebc9
profile: drop gravatar support
...
gravatar is owned by an external entity (Automattic) and we have an
unnecessary dep to this service. users can just upload a profile pic
2025-06-08 18:12:40 +02:00
Girish Ramakrishnan
cd45046724
test: fix tasks test
2025-06-08 15:55:00 +02:00
Girish Ramakrishnan
344782099f
add explicit unset for the image routes
...
the initial motivation was to fix up the profile avatar rule which
had a mix of json or multipart. this style does not work well with
express 5
2025-06-06 18:58:49 +02:00
Girish Ramakrishnan
4ffff84540
test: fix dockerproxy test
2025-06-06 18:07:03 +02:00
Girish Ramakrishnan
dffa3b7986
do not mix multipart and json
2025-06-06 17:18:39 +02:00
Girish Ramakrishnan
0f7bc9be52
GET requests should not use json middleware
2025-06-06 17:18:39 +02:00
Girish Ramakrishnan
05fc8ed5db
Fix crash with express 5
...
express.json does not enforce json. this means it will pass it through
but let req.body be undefined. this causes all our asserts to crash
2025-06-06 16:30:43 +02:00
Girish Ramakrishnan
74a8779c49
Fix oidc upgrade crash
...
they keys object format has changed
2025-06-06 16:23:11 +02:00
Girish Ramakrishnan
40631a753f
Fix express 5 crashes
2025-06-06 16:23:07 +02:00
Girish Ramakrishnan
5cf266c5be
test: fix nock usage
...
by default, nock intercepts and redirects everything to 127.0.0.1:80
this is regardless of any http request is mocked or not
nock.isActive() - is interceptor active
nock.restore() removes the interceptor
nock.activate() - enables interceptor again
nock.cleanAll() - deletes all mocks. nothing to do with interceptor
nock.activeMock() - to get the active mocks
nock.persist(true/false) - the mock will reply once and set isDone(). but you can persist(true)
2025-06-06 15:49:07 +02:00
Girish Ramakrishnan
0f3eb42332
test: fix provision test
2025-06-06 15:48:21 +02:00
Girish Ramakrishnan
1fa8395847
test: remove support ticket test
2025-06-06 15:45:43 +02:00
Girish Ramakrishnan
1b6e283ac1
appstore: better error message
2025-06-06 13:45:23 +02:00
Girish Ramakrishnan
7b9504c5b4
test: add provision test
2025-06-06 13:39:30 +02:00
Girish Ramakrishnan
2b52e21ccf
test: fix appstore test
2025-06-06 13:39:30 +02:00
Girish Ramakrishnan
c49050ea69
appstore: removed old route and rename to reset_cloudron_id
2025-06-06 13:39:30 +02:00
Girish Ramakrishnan
3ccad9ada9
cloudron-setup: remove --generate-setup-token
...
this code path is hardly ever tested and seems unnecesary
2025-06-06 10:22:06 +02:00
Girish Ramakrishnan
73bd3e513c
appstore: fix response fields from register_cloudron3
2025-06-06 10:19:37 +02:00
Girish Ramakrishnan
2c2a24c31b
support: remove createTicket
...
there is no form to create tickets anymore since a while
2025-06-06 09:51:07 +02:00
Girish Ramakrishnan
28a1c254d9
activation: move registration into provision model code
2025-06-06 09:31:31 +02:00
Girish Ramakrishnan
0969bb9824
test: fix storage test
2025-06-06 08:34:21 +02:00
Girish Ramakrishnan
811cc9c028
turn: reduce the exposed ports to 100
2025-06-04 13:23:47 +02:00
Girish Ramakrishnan
f14fbfe087
turn: verbose logs in debug mode
2025-06-04 13:22:25 +02:00
Girish Ramakrishnan
446099b1f9
turn: add note on why we still use host mode
2025-06-04 13:11:12 +02:00
Girish Ramakrishnan
594a2e759a
Fix typo in 3770f07720
2025-05-27 17:47:36 +02:00
Johannes Zellner
6adf26f4d9
Improve waiting for dns screen
2025-05-27 13:55:36 +02:00
Girish Ramakrishnan
48bf21a537
s3: use listObjectsV2 API
...
in some minio instances, listObjectV1 is not returning all the objects
2025-05-26 14:17:13 +02:00