Commit graph

3128 commits

Author SHA1 Message Date
Alexandre Aubin
72e4a584ed Be more robust against re-running the migration 2021-04-17 00:58:12 +02:00
Alexandre Aubin
6e4f1fa42e Stupid tmp fix to try to track why the tests are failing 2021-04-17 00:49:17 +02:00
Alexandre Aubin
aae7c6e296 Unused imports 2021-04-16 22:34:39 +02:00
Alexandre Aubin
c53f5ac16a Report an error in the diagnosis and migration if sshd config is insecure 2021-04-16 22:05:36 +02:00
Alexandre Aubin
4a0b343e5e Fix/update migration script, handle applying the new migration during restore 2021-04-16 22:01:22 +02:00
Alexandre Aubin
eadca492f8
Merge branch 'dev' into sftp_permission 2021-04-16 17:55:54 +02:00
Alexandre Aubin
0616d63222
Try to improve the catastrophic error management in domain_add ... 2021-04-16 14:33:17 +02:00
Kayou
9d64e850b8
Update src/yunohost/app.py
Co-authored-by: ljf (zamentur) <zamentur@users.noreply.github.com>
2021-04-16 01:03:34 +02:00
Alexandre Aubin
9adf5e522c Add app_manifest to fetch manifest of an app from the catalog or using url 2021-04-16 00:45:54 +02:00
Alexandre Aubin
a373047756 More uniform tmp dir for apps, remove some weird 'admin' ownership 2021-04-15 22:27:05 +02:00
Alexandre Aubin
95999feafb Also reload firewall when changing ssh port 2021-04-15 12:39:33 +02:00
Alexandre Aubin
37c0825eed Also propagate ssh port on fail2ban config 2021-04-15 12:22:21 +02:00
Alexandre Aubin
fc818cc6a7
Merge pull request #1209 from YunoHost/add-ssh-port-setting
add ssh port setting
2021-04-15 00:57:07 +02:00
Alexandre Aubin
23e816deaa Only filter stuff if a filter is set... 2021-04-14 23:58:22 +02:00
Alexandre Aubin
7989271e74 user_permission_list: also support filtering for apps not installed or system perms 2021-04-14 20:17:06 +02:00
Kay0u
8b360ac2e6
getargspec is deprecated in Python3 2021-04-13 18:18:15 +02:00
Kay0u
ab834f1885
fix clean in test_settings 2021-04-13 16:43:53 +02:00
Kay0u
6745fce647
fix tests 2021-04-13 16:28:32 +02:00
Kay0u
4fa6a4cde2
trying to fix tests 2021-04-13 14:05:16 +02:00
Kay0u
f6687e69f8
user_permission_list: use the new apps arg when we can 2021-04-13 13:22:07 +02:00
Kay0u
bd72a59e1f
remove app settings after removing the app permissions 2021-04-13 13:21:27 +02:00
Laurent Peuch
b33e7c16ac [mod] no space before ! in english 2021-04-13 12:37:55 +02:00
Kay0u
ee31969be7
add ssh port setting 2021-04-12 18:07:36 +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
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