Commit Graph

8994 Commits

Author SHA1 Message Date
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
Johannes Zellner b8dcfcf900 Remove app purchase/unpurchase 2025-05-13 11:46:13 +02:00
Johannes Zellner faf6ea83fa Add provisional cloudron flow 2025-05-13 11:38:54 +02:00
Girish Ramakrishnan 5a10a8dd46 mail: rename delivered -> sent and received -> saved in event log 2025-05-09 19:11:59 +02:00
Girish Ramakrishnan ea4c140ad0 appstore: lazy load the feature cache
the tests work more reliably with this
2025-05-09 09:50:01 +02:00
Johannes Zellner a67b4a5059 Add branding hooks for plan usage 2025-05-07 21:33:33 +02:00
Johannes Zellner d831624d43 Do not crash if the cached feature file cannot be loaded 2025-05-07 16:22:17 +02:00
Girish Ramakrishnan 1bbdabc42f registry config: create table and migrate existing setting 2025-05-07 15:56:13 +02:00
Johannes Zellner 186a336232 null in features means 'unlimited' 2025-05-07 15:37:31 +02:00
Johannes Zellner 974fd19b40 Ensure we always have a features object expected by that version 2025-05-07 15:03:26 +02:00
Girish Ramakrishnan 46dbd016f4 typo 2025-05-07 13:35:09 +02:00
Girish Ramakrishnan 0cf0c7a27c notifications: add low disk space notification 2025-05-07 13:19:20 +02:00
Girish Ramakrishnan 5489237f11 Revert "nginx: disable gzip for SSE endpoints"
This reverts commit 51d1efead6.

This doesn't work. What we want is something like:

map $sent_http_content_type $buffering {
    default                     "on";         # Enable buffering by default
    "text/event-stream"         "off";         # Disable buffering for SSE responses
}

proxy_buffering $buffering;

unfortunately, proxy_buffering does not support variables.
https://mailman.nginx.org/pipermail/nginx/2023-November/ZGQLNBVQEG5KNLH55HTR4R4NFODBSIU3.html

Upstream has to possibly to X-Accel-Buffering to 'no' . Otherwise, we have to ship
nginx in the package.
2025-05-07 12:37:44 +02:00
Girish Ramakrishnan 51d9e7fcb1 network: fix crash because of ipaddr.parse usage 2025-05-07 09:37:18 +02:00
Johannes Zellner 21d7dd873e Adjust feature set 2025-05-06 18:49:56 +02:00
Girish Ramakrishnan dc49dd0a94 firewall: do not allow internal docker IPs 2025-05-06 16:37:36 +02:00
Girish Ramakrishnan a7c6e36ec3 replace ipaddr.js 2025-05-06 16:26:35 +02:00
Girish Ramakrishnan 86109127b8 test: fix domains test for dashboard at index0 2025-05-06 10:31:06 +02:00
Girish Ramakrishnan fde6e5f1fb add note on why we use ipaddr.process instead of ipaddr.parse 2025-05-05 17:34:55 +02:00
Johannes Zellner d5a8731850 replace proxy auth page with direct oidc redirect 2025-04-29 12:18:22 +02:00
Girish Ramakrishnan d8a9ef8187 constants: DOCKER_IPv6_SUBNET 2025-04-28 18:20:04 +02:00
Girish Ramakrishnan 475239bd02 constants: add some notes 2025-04-28 18:06:39 +02:00
Johannes Zellner 6e06e05f12 Push dashboard domain at index 0 of domain listing 2025-04-28 16:41:58 +02:00
Johannes Zellner aa46285b8f Bring back immich vectors hook in postgres addon 2025-04-28 15:43:15 +02:00
Johannes Zellner 5be2eb1c9a Fix superagent usage 2025-04-19 16:33:12 +02:00
Girish Ramakrishnan 06768833cc typo 2025-04-16 13:46:41 +02:00
Girish Ramakrishnan 51d1efead6 nginx: disable gzip for SSE endpoints
Gzip buffers output by default to optimize compression. This buffering delays the transmission of
events—breaking the “real-time” feel of SSE. Instead of seeing each event instantly, the client
might see a batch of events all at once after the gzip buffer flushes (which could take seconds or more).

gzip_types is a whitelist . But certain modules like proxies can not honor it.
2025-04-16 08:46:25 +02:00
Girish Ramakrishnan 04ff495066 underscore: handle null in isEqual 2025-04-15 14:39:49 +02:00
Johannes Zellner df408505e0 Ensure we include a much higher backups count for cleanup 2025-04-15 14:06:29 +02:00
Girish Ramakrishnan b391f4bc12 mounts: set encoding 2025-04-09 15:48:53 +02:00
Girish Ramakrishnan 65f066d391 sshfs: implement rm via ssh
this is similar to change we did for cp -r . sshfs is often flaky with lots
of concurrent operations
2025-04-09 15:48:53 +02:00
Girish Ramakrishnan 8cdae41051 update container for auth free healthcheck
this allows us to check status from cloudron-support script more easily
2025-04-08 13:25:29 +02:00
Girish Ramakrishnan b2bb29911c mail: fix crash in haraka
https://github.com/haraka/Haraka/issues/3455
2025-04-03 08:05:14 +02:00
Johannes Zellner f82f3fa858 Fix long standing Healthcheck typo 2025-04-02 11:47:16 +02:00
Girish Ramakrishnan 69d4514716 mysql: fix warning 2025-04-02 09:13:19 +02:00
Johannes Zellner 2a6544b794 We always require a language property when setting a users language 2025-03-29 21:15:48 +01:00
Johannes Zellner f0f04ce3ff Migrate openid error page to vuejs 2025-03-29 15:37:47 +01:00
Girish Ramakrishnan 16caeb5400 Update haraka to 3.1.0 2025-03-29 08:44:50 +01:00
Johannes Zellner 79093bf61c Update sftp addon to fix recursive chown 2025-03-28 11:15:01 +01:00
Girish Ramakrishnan 785db03650 unbound: increase tries, since it fails often 2025-03-26 14:47:46 +01:00
Girish Ramakrishnan de6837adb0 mail: fix warning about low client_limit 2025-03-25 15:27:26 +01:00
Girish Ramakrishnan d2de2c7093 postgres: fix illegal instruction issue
we have to disable -march=native when compiling as per
https://github.com/pgvector/pgvector?tab=readme-ov-file#portability

https://github.com/pgvector/pgvector/issues/143
https://github.com/pgvector/pgvector/issues/752
https://github.com/pgvector/pgvector/issues/389
(cherry picked from commit e3982e48ea)
2025-03-18 23:40:32 +01:00
Girish Ramakrishnan dca9266697 isValidHostname is gone 2025-03-17 15:54:24 +01:00
Girish Ramakrishnan 8f6656d657 superagent: can pass buffer to attach 2025-03-13 18:15:37 +01:00
Girish Ramakrishnan ba1636033e typo 2025-03-10 21:23:55 +01:00
Girish Ramakrishnan 8a51582d8a mail: restart apps using email addon
move this logic from frontend to backend
2025-03-10 21:15:06 +01:00
Girish Ramakrishnan 5d88e86462 sendmail: add requiresValidCertificate
some apps really want a valid certificate to send mail and upstream
authors won't add support to skip self-signed certs or skip host name
check in cert. In our case, the issue is that we use 'mail' as the
server name despite having valid certs.

this flag will set the server name to the full mail server fqdn and
also reconfigure the app as needed when the mail server name changes.

we also set up the mail server name to resolve to internal IP because
no mail port is exposed when we are not receiving emails!
2025-03-08 13:15:53 +01:00