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
278a95ab0e
firewall_list: Don't miserably crash when trying to sort port range ("12300:12400", ain't an int)
2021-04-08 23:56:16 +02:00
Alexandre Aubin
0af05ea312
Missing raw_msg=True
2021-04-08 15:35:09 +02:00
Alexandre Aubin
05a374d8d5
Merge pull request #1206 from YunoHost/fix-remove-passphrase-from-log
...
[fix] Remove passphrase keyword from logs
2021-04-07 16:31:42 +02:00
ljf (zamentur)
6779cc272d
[fix] Remove passphrase keyword from logs
2021-04-07 15:21:10 +02:00
Alexandre Aubin
5b754aecc1
Fix moar tests
2021-04-06 03:01:32 +02:00
Alexandre Aubin
2388a16fd2
Fix tests
2021-04-06 02:37:07 +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
23ceedf5d1
Merge pull request #1191 from YunoHost/improve-restore-error-management
...
Improve error management for app restore, similar to what's done in app install
2021-04-05 20:57:34 +02:00
Alexandre Aubin
e5b4d2aa73
Trick to add all the apps/ folder such that they are correctly attributed to the corresponding app when we compute the size_details later
2021-04-05 20:46:33 +02:00
Alexandre Aubin
93166741ee
Simplify indentation
2021-04-05 20:45:51 +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
Scapharnaum
3f3b2f8a57
Translated using Weblate (German)
...
Currently translated at 87.3% (551 of 631 strings)
Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2021-04-05 16:48:24 +00:00
Éric Gaspar
7837b3d108
Translated using Weblate (French)
...
Currently translated at 99.8% (629 of 630 strings)
Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/fr/
2021-04-05 16:48:24 +00:00
Éric Gaspar
f027d9129a
Translated using Weblate (French)
...
Currently translated at 99.8% (629 of 630 strings)
Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/fr/
2021-04-05 16:48:24 +00:00
Daniel
5ce4694f9b
Translated using Weblate (German)
...
Currently translated at 86.6% (546 of 630 strings)
Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/de/
2021-04-05 16:48:24 +00:00
Alexandre Aubin
81c43747a0
Increase delay for reloading services + display actual status in error message (seeing some weird php7.3-fpm stuff during some specific test...)
2021-04-05 18:48:05 +02:00
Alexandre Aubin
fe9f0731e8
Add logging to backup_create
2021-04-05 18:39: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
Alexandre Aubin
2b2527fb72
Fix test for failed restore
2021-04-05 17:15:34 +02:00
Alexandre Aubin
5db621bd19
Merge pull request #1203 from YunoHost/smarter-migration-during-restore
...
Drop support for backups from prior 3.8, introduce hooks in migrations to apply migrations during restore
2021-04-05 16:52:26 +02:00
Alexandre Aubin
0c4e4c67c5
Fix locale strings
2021-04-05 16:44:10 +02:00
Alexandre Aubin
6d3fcd6cc3
Improve error management for app restore, similar to what's done in app install
2021-04-05 16:31:09 +02:00
Alexandre Aubin
80e2e0da71
Misc test fixes for corrupted archive test though not sure what doing ..
2021-04-03 01:28:52 +02:00
Alexandre Aubin
037a2a66a4
Not sure what I'm doing but for some reason can't remove yolo.test anymore because it's the main domain during tests idk
2021-04-03 00:30:44 +02:00
Alexandre Aubin
72eb0b2e49
We don't use the info.json during restore from 3.8 anymore
2021-04-02 23:02:08 +02:00
Alexandre Aubin
dc10e88b1e
Unused imports
2021-04-02 22:36:34 +02:00
Alexandre Aubin
2c1923a142
Merge remote-tracking branch 'origin/dev' into smarter-migration-during-restore
2021-04-02 22:20:42 +02:00
Alexandre Aubin
08fbfa2e39
Add new ssowat panel overlay setting description
2021-04-02 17:18:39 +02:00
Alexandre Aubin
8e70484c63
Stale strings
2021-04-02 04:56:03 +02:00
Alexandre Aubin
93813e773f
Typo
2021-04-02 04:53:37 +02:00
Alexandre Aubin
c552b4f006
Be able to define directly in migrations hooks that are called when restoring system/apps prior to the introduction of the migration
2021-04-02 04:28:52 +02:00
Alexandre Aubin
df49cc83d5
Drop legacy stuff for backups from before the 3.7 era
2021-04-02 03:55:20 +02:00
Alexandre Aubin
a8656c835c
Use backups from 3.8 instead of old 2.4 archives for system/apps restore tests
2021-04-02 03:48:25 +02:00
Alexandre Aubin
8b8a8fb3c7
Drop support for restoring backup archives from prior to 3.8
2021-04-02 03:13:53 +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
a03b62245d
Merge pull request #1184 from YunoHost/cron-legacy
...
Don't backup crons + manage crons from the regenconf
2021-04-02 00:27:35 +02:00