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
442a1cf96d
Return a dict structure to the API for ValidationErrors, for easier error identification/interface
2021-04-10 15:24:22 +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
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
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
81ba89483d
backuprestore: Fix binds readonly test
2021-04-09 19:39:52 +02:00
Alexandre Aubin
00b6af5dcb
Merge branch 'dev' into uniformize-actionmap-api
2021-04-09 18:39:45 +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
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
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
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
2b2527fb72
Fix test for failed restore
2021-04-05 17:15:34 +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
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
378cf904c8
Merge branch 'dev' into cron-legacy
2021-04-02 00:27:19 +02:00
Alexandre Aubin
40b22617d3
Unused mports
2021-04-01 23:14:43 +02:00
Alexandre Aubin
00ec7b2fc4
Support having .tar / .tar.gz in the archive name arg of backup_info/restore
2021-04-01 22:58:04 +02:00
Alexandre Aubin
5c2329c5b6
Refuse to add ssh/sftp permissions to all users
2021-04-01 20:12:31 +02:00
Alexandre Aubin
22e397f71c
Fix oopsies
2021-04-01 20:12:17 +02:00
Alexandre Aubin
83d03dc074
Simplify migration / be more explicit about what new rdn to inject
2021-04-01 19:37:39 +02:00
Alexandre Aubin
ce946cc0b0
Introduce a decorator to automatically backup/rollback ldap db during ldap-related migrations
2021-04-01 19:12:19 +02:00
Alexandre Aubin
cd1f64383b
log.py: don't inject log_ref if the operation didnt start yet
2021-04-01 15:55:46 +02:00
Alexandre Aubin
4f44df388e
services.py, python3: missing decode() in subprocess output fetch
2021-04-01 15:51:49 +02:00
MercierCorentin
afe62877d3
Domain settings: transform cli to be like app settings
2021-03-29 14:46:03 +02:00
Paco
4a92f97b4e
Merge branch 'dev' of https://github.com/YunoHost/yunohost into enh-dns-autoconf
2021-03-25 21:11:33 +01:00
Paco
1dcf9ab647
Merge branch 'enh-dns-autoconf' of https://github.com/MercierCorentin/yunohost into enh-dns-autoconf
2021-03-25 21:08:47 +01:00
Paco
503a5ed6d2
Add yunohost domain config list
command
2021-03-25 21:08:08 +01:00
MercierCorentin
223d260391
Merge branch 'enh-dns-autoconf' of https://github.com/MercierCorentin/yunohost into enh-dns-autoconf
2021-03-25 20:52:18 +01:00
MercierCorentin
b367505157
XMPP configuration for subdomains (i.e. not owned zone dns)
2021-03-25 20:52:14 +01:00
Alexandre Aubin
f158a4da9e
Use YunohostValidationError instead of raw Exceptions
2021-03-25 16:10:00 +01:00
Alexandre Aubin
fb1fddd07e
To be consistent with migration 0020, all new users should have /bin/bash as terminal, also we probably don't care about fetching loginShell anymore
2021-03-25 15:03:53 +01:00
Alexandre Aubin
f0c4498c80
Merge branch 'dev' into sftp_permission
2021-03-25 14:42:30 +01:00