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
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
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
514112a538
Misc permission tweak, set everything as owned by root by default
2021-03-25 16:03:18 +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
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
Alexandre Aubin
f84b6535f3
Merge pull request #1167 from Salamandar/fix_helper_doc
...
helper doc : Fix all doc (mostly)
2021-03-17 15:41:26 +01:00
Kay0u
dc6033c399
python3 way to get a list of dict keys
2021-03-15 14:10:13 +01:00
Alexandre Aubin
07f8d6d7af
ynh_clean_check_starting: Let's not trigger an error when vars aren't set
2021-03-14 18:47:33 +01:00
Alexandre Aubin
ac26925b91
Sane default permissions for files added using ynh_add_config and ynh_setup_source
2021-03-13 00:18:17 +01:00
Alexandre Aubin
ce04570bfd
helpers: Simplify manifest path / parsing
2021-03-12 23:18:25 +01:00
Alexandre Aubin
61feb39c96
Merge branch 'hotfixes-4.1.7.4' into dev
2021-03-11 03:10:54 +01:00
Alexandre Aubin
41b5a12393
Enforce permissions for /home/yunohost.backup and .conf
2021-03-11 03:07:16 +01:00
Alexandre Aubin
6f3df383d2
Don't backup/restore crons >_>
2021-03-10 19:06:26 +01:00
Alexandre Aubin
e639c8cd5a
Move applist refresh cron + lets encrypt renewal cron to regen conf
2021-03-10 19:00:24 +01:00
Alexandre Aubin
b85d959d7e
ynh_install_n: No need to mkdir ../conf
2021-03-08 20:56:32 +01:00
Éric Gaspar
ad602ee0a1
Upgrade n ( #1178 )
...
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2021-03-08 20:55:45 +01:00
Alexandre Aubin
db93b82b23
ynh_setup_source: add a check that we could actually parse SOURCE_URL
2021-03-08 18:41:54 +01:00
Alexandre Aubin
9e7eda681b
ynh_install_n: put the source descriptor file in the appropriate dir during backup/restore
2021-03-08 18:37:53 +01:00
Kay0u
5539751ca4
fix others_var
2021-03-08 17:38:10 +01:00
72da2ad8e3
helper doc fixes : utils
2021-03-03 11:17:59 +01:00