Commit graph

6673 commits

Author SHA1 Message Date
Alexandre Aubin
43591f0cae
Merge pull request #1215 from YunoHost/ci-format-dev
[CI] Format code
2021-04-17 02:54:30 +02:00
Alexandre Aubin
298f8e877e
Merge branch 'dev' into ci-format-dev 2021-04-17 02:54:13 +02:00
Alexandre Aubin
92eb97042f ynh_remove_fpm_config: we probably want to remove the conf file *before* reloading the service... 2021-04-17 02:52:56 +02:00
Alexandre Aubin
229d0ab5cb No need to define run_before_app_restore for migration 0020, let's avoid some confusing/misleading message 2021-04-17 02:35:41 +02:00
yunohost-bot
66f2613518 [CI] Format code 2021-04-17 00:31:06 +00:00
Alexandre Aubin
27c4b33065
Merge pull request #1190 from YunoHost/remove-src_filename
Remove src filename
2021-04-17 01:57:41 +02:00
Alexandre Aubin
65759e978f
Merge pull request #1213 from YunoHost/app_manifest
Add route to fetch app manifest for custom app installs in a forge-agnostic way
2021-04-17 01:56:36 +02:00
Alexandre Aubin
931ed64e1b
Merge pull request #1214 from YunoHost/more-uniform-tmp-workdir-for-apps
More uniform tmp dir for apps, remove some weird 'admin' ownership
2021-04-17 01:56:28 +02:00
Alexandre Aubin
3f892c7f02
Merge pull request #1205 from YunoHost/backup-create-dry-run
Add a --dry-run option to backup_create to fetch an estimate of the backup size
2021-04-17 01:56:20 +02:00
Alexandre Aubin
e2ca2bf9aa
Merge pull request #606 from YunoHost/sftp_permission
Add SFTP / SSH permissions
2021-04-17 01:56:09 +02:00
Alexandre Aubin
daa0c95015 More stupid trick to dump what's wrong with php7.3-fpm during tests... 2021-04-17 01:18:23 +02:00
Alexandre Aubin
16e20fed77 Don't re-run migration if backup is from the same version (mainly to avoid weird stuff during tests) 2021-04-17 01:10:58 +02:00
Alexandre Aubin
3b35f61028 Fix DepreciationWarning 2021-04-17 01:00:28 +02:00
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
8f3a7067d9 Advertise the new SSH port setting for people that manually modified the SSH port 2021-04-16 22:20:06 +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
Laurent Peuch
c92e495b21 [fix] first attempt to fix auto sending of black PR 2021-04-16 02:45:06 +02:00
Laurent Peuch
f9419c9606 [fix] correctly format .gitlab/ci/lint.gitlab-ci.yml 2021-04-16 02:39:46 +02:00
Laurent Peuch
d77866621b [mod] correctly format .gitlab-ci.yml 2021-04-16 02:36:00 +02:00
Alexandre Aubin
e1f7a5fa4c
Fix help string 2021-04-16 02:34:52 +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
be6c39bf8c No need for Github CSP rule in the webadmin anymore 2021-04-16 00:45:54 +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
4726c48ad5
Merge pull request #1211 from YunoHost/kill-floc
[enh] add header to disallow FLoC
2021-04-15 20:37:39 +02:00
ljf (zamentur)
f23982b460
[fix] Remove zip from /etc/yunohost/apps/*/scripts 2021-04-15 19:33:12 +02:00
Laurent Peuch
a0b32d5f1b [enh] add header to disallow FLoC
https://diaspodon.fr/@etienne/106070042112522839
2021-04-15 17:56:50 +02:00
Alexandre Aubin
02a30125b5 service foobar action -> systemctl action foobar 2021-04-15 14:31:33 +02:00
Alexandre Aubin
c3754dd6fa reload fail2ban instead of restart ... restart is doing some funky stuff ... 2021-04-15 14:27:40 +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
fd58541cc9
Merge pull request #1210 from YunoHost/fix-app-remove
Fix tests
2021-04-15 00:55:24 +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
42d671b7c0
fix pytest warnings 2021-04-13 18:17:57 +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
Alexandre Aubin
d1f0064b10
mysql regenconf: Get rid of confusing 'Access denied' message 2021-04-13 14:18:49 +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
Alexandre Aubin
bc0fd07680
Add description for new SSH port setting 2021-04-12 19:27:32 +02:00