Commit Graph

9540 Commits

Author SHA1 Message Date
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
Johannes Zellner
38ff515d68 Add 1 hour graph translation 2025-05-26 10:45:23 +02:00
Girish Ramakrishnan
1289a6e14f graphs: fix memory graphs 2025-05-23 16:24:37 +02:00
Johannes Zellner
a88d523559 Add button to reset the cloudron id if appstore token is invalid 2025-05-23 15:49:57 +02:00
Girish Ramakrishnan
e5b27af055 metrics: make interval msecs 2025-05-22 12:27:19 +02:00
Girish Ramakrishnan
b0f0a34672 metrics: convert to seconds 2025-05-22 12:09:42 +02:00
Girish Ramakrishnan
9c477710b9 graphs: make the interval configurable 2025-05-22 11:17:31 +02:00
Girish Ramakrishnan
3c01673741 graphs: show swap 2025-05-22 11:12:27 +02:00
Girish Ramakrishnan
fcfc9572f1 metrics: parse int 2025-05-21 18:22:57 +02:00
Girish Ramakrishnan
c0f0084e56 metrics: add stream api for system info 2025-05-21 18:09:02 +02:00
Girish Ramakrishnan
7e3162d287 metrics: refactor code that sends metrics to graphite 2025-05-21 17:29:14 +02:00
Girish Ramakrishnan
048afdc232 merge the collectd logic into metrics.js
this is to prepare for live streaming of metrics
2025-05-21 16:32:52 +02:00
Girish Ramakrishnan
8779de448d rename /graphs route to /metrics 2025-05-21 16:26:36 +02:00
Girish Ramakrishnan
3770f07720 docker: rename function 2025-05-21 15:37:31 +02:00
Girish Ramakrishnan
8e205207b0 graphs: fix scaling of cpu graphs 2025-05-20 22:50:20 +02:00
Girish Ramakrishnan
892ff38a3f graphs: make interval configurable 2025-05-20 20:46:35 +02:00
Girish Ramakrishnan
3428b95672 nginxconfig: fix graphite IP 2025-05-20 20:46:35 +02:00
Girish Ramakrishnan
64cb966683 graphs: fix cpu graphs 2025-05-20 20:46:35 +02:00
Girish Ramakrishnan
31500076d1 graphs: various fixes 2025-05-20 14:57:46 +02:00
Girish Ramakrishnan
4615418000 graphs: replace collectd with our custom collector
collectd (with the python plugin) seems semi-abandoned. replace
with our own. we have more control over how to collect things instead
of relying on random plugins.
2025-05-20 12:19:40 +02:00
Girish Ramakrishnan
e829c2031c Update haraka to 3.1.1 2025-05-20 10:04:53 +02:00
Girish Ramakrishnan
85ea71d9aa remove inline require 2025-05-20 09:59:48 +02:00
Johannes Zellner
cf210c5a5a Return the payload of the session in oidc and not the session object 2025-05-19 11:45:29 +02:00
Girish Ramakrishnan
ee0ac7cbed mail: remove duration in message 2025-05-15 13:25:47 +02:00
Johannes Zellner
b7cc592fb1 Verify if oidc session is from an existing and active user 2025-05-14 14:19:11 +02:00
Johannes Zellner
1d2c3a748b Set all oidc_error template keys 2025-05-14 12:39:51 +02:00
Johannes Zellner
16c8721d6c Show subscription badge where required and disable UI elements accordingly 2025-05-13 18:11:10 +02:00