Commit Graph

16397 Commits

Author SHA1 Message Date
Girish Ramakrishnan 2515a0f18f cert: do not autoclean default cert 2022-11-13 16:56:51 +01:00
Girish Ramakrishnan 1e0795ea68 replace client.notify with inline message 2022-11-13 16:11:08 +01:00
Girish Ramakrishnan 9c8f78a059 reverseproxy: simplify certificate renewal
An issue was that mail container was not getting refreshed with the up to
date certs. The root cause is that it is refreshed only in the renewCerts()
cron job. If cert renewal was caused by an app task, then the cron job will
skip the restart (since cert is fresh).

The other issue is that we keep hitting 0 length certs when we run out of disk
space. The root cause is that when out of disk space, a cert renewal will
cause cert to be written but since it has no space it is 0 length. Then, when
the user tries to restart the server, the box code does not write the cert again.

This change fixes the above two including:
* To simplify, we use the fallback cert only if we failed to get a LE cert. Expired LE certs
  will continue to be used. nginx is fine with this.

* restart directory as well on renewal
2022-11-13 11:55:12 +01:00
Johannes Zellner fa43807eee Make volume read-only checkbox a dropdown 2022-11-12 20:49:19 +01:00
Girish Ramakrishnan f917eb8f13 rename variable 2022-11-11 16:21:28 +01:00
Johannes Zellner df4b31c024 Add missing space 2022-11-11 14:14:24 +01:00
Johannes Zellner ff87d28b20 Do not allow to send tickets for community repo apps 2022-11-11 12:15:58 +01:00
Johannes Zellner 4c21b179ea Update translations 2022-11-10 20:06:52 +01:00
Johannes Zellner ba396832ad Show package repository in app info 2022-11-10 20:06:26 +01:00
Johannes Zellner d19c7ac3e3 Return repository info in app rest api 2022-11-10 20:00:55 +01:00
Johannes Zellner 139d7c4e22 Use apps.publishedAt to filter for new apps 2022-11-10 19:54:07 +01:00
Johannes Zellner f61131babf Amend app.repository depending on presence and value of dockerImage 2022-11-10 18:12:13 +01:00
Johannes Zellner c9a69b2876 Hide the ldap filter in the appstore view for the moment 2022-11-10 17:52:24 +01:00
Johannes Zellner ea9b03f885 Add initial community package confirm modal 2022-11-10 17:44:11 +01:00
Johannes Zellner 53222919c2 Add capitalize filter 2022-11-10 17:43:50 +01:00
Girish Ramakrishnan e9eeab074a Clarify error message further 2022-11-10 13:50:28 +01:00
Girish Ramakrishnan 3477cf474f security: do not password reset mail to cloudron owned mail domain
https://forum.cloudron.io/topic/7951/privilege-escalation-through-mail-manager-role
2022-11-10 12:59:03 +01:00
Girish Ramakrishnan d49c171c79 mail: fix 100% cpu use with unreachable servers 2022-11-09 23:04:05 +01:00
Johannes Zellner 0035247618 add app repository support 2022-11-09 15:46:00 +01:00
Johannes Zellner 997c596251 Make the appstore filter toolbar work with repositories 2022-11-09 15:45:34 +01:00
Girish Ramakrishnan 3d6cdf8ff3 run disk usage task once a day 2022-11-09 15:21:53 +01:00
Johannes Zellner 7f37de0dd1 add basic repository support 2022-11-09 15:17:52 +01:00
Girish Ramakrishnan e15024f46c get previous du task if any 2022-11-09 15:04:34 +01:00
Girish Ramakrishnan 4e35df5567 lint 2022-11-09 15:04:34 +01:00
Girish Ramakrishnan 925b08c7a1 Fix log test 2022-11-06 16:17:55 +01:00
Girish Ramakrishnan 440504a6e9 add tests for both the stream 2022-11-06 15:44:04 +01:00
Girish Ramakrishnan ca44f47af3 replace split with our own LogStream
split module is archived
2022-11-06 13:44:47 +01:00
Girish Ramakrishnan 9dac5e3406 typo 2022-11-06 11:57:45 +01:00
Girish Ramakrishnan d0b7097706 rimraf is gone 2022-11-06 11:48:56 +01:00
Girish Ramakrishnan fac0a9ca5d classes are not hoisted 2022-11-06 11:44:43 +01:00
Girish Ramakrishnan b6f707955c Update packages 2022-11-06 10:27:10 +01:00
Girish Ramakrishnan 962d7030bb replace progress-stream with our implementation
upstream is mostly unmaintained
2022-11-06 10:17:14 +01:00
Girish Ramakrishnan 5af1bbfb3c once: add debug 2022-11-05 15:36:07 +01:00
Girish Ramakrishnan f2d25ff2fd remove many of the scripts 2022-11-05 15:26:56 +01:00
Girish Ramakrishnan 94327e397a remove ununsed ejs-cli 2022-11-05 15:22:27 +01:00
Girish Ramakrishnan 9f54ec47b6 remove nyc and node-sass modules 2022-11-05 15:20:39 +01:00
Girish Ramakrishnan cb85336595 remove js-yaml (unused) 2022-11-05 15:19:00 +01:00
Girish Ramakrishnan b28d559d1a remove unused tar-stream 2022-11-05 15:17:26 +01:00
Girish Ramakrishnan 4918d2099f remove json module (not used) 2022-11-05 15:15:53 +01:00
Johannes Zellner 3322a611af Collapse app backup options into dropdown 2022-11-05 14:13:17 +01:00
Johannes Zellner 06a71f77c5 Remove left over translated string 2022-11-05 13:13:29 +01:00
Girish Ramakrishnan 8a5d4e2fb0 better debugs 2022-11-05 08:43:02 +01:00
Girish Ramakrishnan aae52ec795 backups: remove periodic dumping of heap info
this has not been as useful as I expected
2022-11-05 08:32:38 +01:00
Johannes Zellner 81d3b75b9d Better indicator if a disk is also a volume 2022-11-04 22:47:51 +01:00
Johannes Zellner e97cf1ac76 Remove a volume as content if it is the volume of that disk 2022-11-04 20:53:07 +01:00
Girish Ramakrishnan 549cb92ce7 return swap listing in the disk route 2022-11-04 15:25:12 +01:00
Johannes Zellner 778c52c547 Do not show logs button for volumes in filemanager 2022-11-04 15:16:23 +01:00
Johannes Zellner 5f4b33c6f8 Do not use extra uib-collapse in volume add dialog 2022-11-04 15:01:27 +01:00
Johannes Zellner 5126dfeaf3 mute the free space label in the progress bar 2022-11-04 12:50:19 +01:00
Johannes Zellner 8fdcba55e4 Further improve disk usage layout 2022-11-04 12:05:21 +01:00