Commit graph

2157 commits

Author SHA1 Message Date
Alexandre Aubin
1468073f79 Fix user_group_add/remove description 2021-04-12 17:56:40 +02:00
Alexandre Aubin
ce64a6380a
Merge pull request #1192 from YunoHost/uniformize-actionmap-api
Uniformize API routes
2021-04-12 17:51:17 +02:00
Alexandre Aubin
64c6d7aa64 Merge tag 'debian/4.2.1' into dev 2021-04-10 01:33:33 +02:00
Alexandre Aubin
fc26837aa7 security: Enforce permissions on /home/ so that they can't sneak in each other home 2021-04-10 01:07:36 +02:00
Alexandre Aubin
aefc100ab4 security: Enforce some permission for regular yunohost users 2021-04-10 01:07:34 +02:00
Alexandre Aubin
e6312db3c0 perf: add optional 'apps' argument to user_permission_list to speed up user_info / user_list 2021-04-09 21:07:35 +02:00
Alexandre Aubin
e3b90e6bdc backup: Reorder hook for better readability in webadmin 2021-04-09 20:38:49 +02:00
Alexandre Aubin
09069628fe
Merge pull request #1185 from YunoHost/less-backup-madness
Don't backup stuff that ain't relevant for backup
2021-04-09 20:04:01 +02:00
Alexandre Aubin
00b6af5dcb
Merge branch 'dev' into uniformize-actionmap-api 2021-04-09 18:39:45 +02:00
Alexandre Aubin
3a37262deb
Merge pull request #1159 from grenagit/enh-1725-support-smtps-relay
[enh] Support SMTPS Relay
2021-04-09 18:37:53 +02:00
Alexandre Aubin
f4546b3460
Merge pull request #1197 from YunoHost-Apps/upgrade-n
Update nodejs
2021-04-09 18:36:38 +02:00
Alexandre Aubin
f94a5f95a3
nginx conf: CSP rules for admin was blocking small images used for checkboxes, radio, pacman in the new webadmin 2021-04-09 00:00:40 +02:00
Alexandre Aubin
82784dc45d Merge firewall, dkim and dyndns backup hook into ynh_settings 2021-04-05 21:39:49 +02:00
Alexandre Aubin
c089d1bdcd No need for random service reload/restart, that should be handled by the auto-regenconf of the core after the restore 2021-04-05 21:11:26 +02:00
Alexandre Aubin
93ce917e5e Backup hooks don't need to be executable 2021-04-05 21:11:26 +02:00
Alexandre Aubin
95ed4d67a0 Also backup Yunohost settings 2021-04-05 21:11:26 +02:00
Alexandre Aubin
9f599fee4c Re-add the certificate backup/restore hook ... 2021-04-05 21:11:26 +02:00
Alexandre Aubin
956e860ff7 Simplify ldap restore hook 2021-04-05 21:11:26 +02:00
Alexandre Aubin
8c351ad176 Fix data_xmpp backup/restore hook 2021-04-05 21:11:26 +02:00
Alexandre Aubin
5884d51b69 Typo 2021-04-05 21:11:26 +02:00
Alexandre Aubin
2be90e35eb Backup ssowat/conf.json.persistent 2021-04-05 21:11:26 +02:00
Alexandre Aubin
7e4536752e Backup xmpp data 2021-04-05 21:11:26 +02:00
Alexandre Aubin
ce2c608253 Do not backup ssh, ssowat, certs, nginx, xmpp confs 2021-04-05 21:11:26 +02:00
Alexandre Aubin
d750b77e46 Add backup/restore hooks for manually modified files 2021-04-05 21:11:26 +02:00
Alexandre Aubin
28268c58eb Add a --dry-run option to backup_create that returns the size of items that will be backed up 2021-04-05 20:45:28 +02:00
Alexandre Aubin
86f22d1b46 Fix warning when there's no patches folder 2021-04-05 18:39:08 +02:00
Alexandre Aubin
42f8c9dcc1 Fix ynh_requirement parsing 2021-04-05 18:35:42 +02:00
Alexandre Aubin
4607d57512
Merge pull request #1188 from YunoHost/sane-default-permission-for-files
Sane default permissions for files added using ynh_add_config and ynh_setup_source
2021-04-05 18:09:58 +02:00
cyxae
30421954a4
Add an option to disable the 'YunoHost' panel overlay in web apps (#1071)
* Add an option to disable the 'YunoHost' panel overlay in apps

* set default value for overlay as true

* Add a hook to auto-update nginx conf + fix deprecated 'service regen-conf'

* Change name of setting to ssowat.panel_overlay.enabled

* [fix] Duplicate function

* Quote var, just in case the var is empty for some reason

Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2021-04-02 02:21:29 +02:00
Alexandre Aubin
378cf904c8
Merge branch 'dev' into cron-legacy 2021-04-02 00:27:19 +02:00
Alexandre Aubin
37db93b49a Typo 2021-04-01 23:27:56 +02:00
Alexandre Aubin
4acfbdeade Fix oopsies, fix and add test for ynh_setup_source with patch 2021-04-01 18:26:18 +02:00
Alexandre Aubin
45b55d1050
Add --keep to ynh_setup_source to keep files that may be overwritten during upgrade (#1200) 2021-03-31 17:41:20 +02:00
Alexandre Aubin
b40f21458f ssh config: indent, misc readabilty improvements 2021-03-25 16:19:40 +01:00
Alexandre Aubin
514112a538 Misc permission tweak, set everything as owned by root by default 2021-03-25 16:03:18 +01:00
Alexandre Aubin
f0c4498c80
Merge branch 'dev' into sftp_permission 2021-03-25 14:42:30 +01:00
Alexandre Aubin
e27ac6ff2c Rely on YNH_APP_BASEDIR to check the sources/ dir 2021-03-24 20:28:42 +01:00
Alexandre Aubin
d98ec6ce35 Download ynh_setup_source stuff to /var/cache/yunohost/download 2021-03-24 20:28:42 +01:00
Alexandre Aubin
87b0b10e0e Enforce permissions on /var/cache/yunohost 2021-03-24 20:28:42 +01:00
ericgaspar
3a7cf0a1b3
Update nodejs 2021-03-24 18:25:00 +01:00
axolotle
ff772cd294 split '/diagnosis/ignore' and '/diagnosis/ungignore' 2021-03-22 23:41:06 +01:00
axolotle
113d9f5a8b PUT for '/apps/<app>/config' & 'appscatalog' to 'apps/catalog' 2021-03-22 23:22:56 +01:00
axolotle
63f9048504 add PUT '/migration' to avoid specifying the list of the migrations to run 2021-03-22 22:31:18 +01:00
axolotle
20553de539 update firewall port update routes 2021-03-22 20:29:17 +01:00
axolotle
27eefcb286 reexpose '/hooks/<name>' since the web-admin needs it for backups 2021-03-22 18:43:21 +01:00
axolotle
473c5762c6 replace api action group.update with group.add and group.remove 2021-03-22 18:41:18 +01:00
Alexandre Aubin
09d306924a Fix minor issue with main_space diagnosis: duplicated error/warning, missing / partition when it's on a /dev/loop 2021-03-22 17:46:32 +01:00
axolotle
da3d7db3e6 use PUT for domain cert modifications 2021-03-22 16:25:00 +01:00
axolotle
5f994bba98 separate update, add and remove permission on exposed API 2021-03-22 16:24:23 +01:00
Alexandre Aubin
1fb9ddd42a Tweak tools update/upgrade to have a single 'target' arg for simpler routing 2021-03-19 17:45:37 +01:00