Commit graph

2090 commits

Author SHA1 Message Date
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
Alexandre Aubin
82d5be6802 Uniformize API routes 2021-03-19 16:15:16 +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
2b947830aa
remove src_filename 2021-03-16 16:27:51 +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