Commit graph

3310 commits

Author SHA1 Message Date
Alexandre Aubin
6aaf47493d Not sure when that started to happen, but bottle will return an empty dict if no valid session cookie found, this shall trigger an exception 2021-12-23 16:55:12 +01:00
Alexandre Aubin
f49f03d11e api: Move cookie session management logic to the authenticator for more flexibility 2021-12-22 19:07:19 +01:00
tituspijean
4decdfc07c
Fix typo in deleting superfluous question keys
Co-authored-by: jacen05 <jacen05@users.noreply.github.com>
2021-12-21 10:32:19 +01:00
yunohost-bot
6cc7978b4a [CI] Format code with Black 2021-12-09 19:18:07 +00:00
Alexandre Aubin
451ee7a8ae
Merge pull request #1242 from YunoHost/migrate_to_bullseye
WIP: buster -> bullseye migration
2021-12-09 20:01:16 +01:00
Alexandre Aubin
8abd843fdd Aaaand typo T_T 2021-12-09 17:31:07 +01:00
Alexandre Aubin
c4732b776e migrate_to_bullseye: Remove legacy postgresql service record added by helpers, will now be dynamically handled by the core in bullseye 2021-12-09 17:13:06 +01:00
Alexandre Aubin
107bd854eb migrate_to_bullseye: fix PHP dependencies issues 2021-12-09 16:47:57 +01:00
Alexandre Aubin
83f7721fdd [fix] services: small issue when parsing installed php-fpm versions during buster->bullseye migration (or more generally, there could be no php-fpm installed) 2021-12-09 16:24:22 +01:00
Kayou
e3015765b3
Merge pull request #1381 from YunoHost/fix-backup_delete
fix backup_delete when compress_tar_archives is True
2021-12-09 11:09:24 +01:00
Alexandre Aubin
dc426510f5 Merge branch 'migrate_to_bullseye' into bullseye 2021-12-08 22:19:03 +01:00
Alexandre Aubin
b617c799d0 migrate_to_bullseye: move /home/yunohost.conf to /var/cache/yunohost/regenconf 2021-12-08 22:11:02 +01:00
Alexandre Aubin
a124bbc790 Merge branch 'dev' into migrate_to_bullseye 2021-12-08 22:08:13 +01:00
ljf
4106ed669e [enh] Manage SSH PasswordAuthentication setting 2021-12-06 23:01:06 +01:00
Alexandre Aubin
00d535a620 Stop using /home/yunohost.conf for regenconf / confbackup, /var/cache is fine, prevent confusing /home/yunohost.* folder 2021-12-06 18:38:54 +01:00
Alexandre Aubin
7ebe92163d Merge remote-tracking branch 'origin/smarter-selfupgrade-mechanism' into bullseye 2021-12-01 19:47:36 +01:00
Alexandre Aubin
55937a933e
Typo 2021-12-01 19:44:42 +01:00
Alexandre Aubin
8feb63be0c Tweak definition of self-signed cert to cover cases where issuer is not the current main domain anymore 2021-12-01 18:37:59 +01:00
Alexandre Aubin
34b7e667a7 Aaaaand try again to fix certificate generation 2021-11-30 23:25:25 +01:00
Alexandre Aubin
73da37f152 Attempt to fix the weird selfsigned certificate generation error 2021-11-30 20:46:43 +01:00
Alexandre Aubin
45584b44a6 Merge branch 'dev' into bullseye 2021-11-28 16:27:22 +01:00
Alexandre Aubin
d831ccef4c ci: Try to fix mypy 2021-11-28 16:24:13 +01:00
Alexandre Aubin
f43e567bf0 apps: Remove the 'HOME' var from hook_exec env, because it's often defined in CLI but not in API because yunohost-api runs in a systemd service 2021-11-28 16:17:37 +01:00
Alexandre Aubin
6a8aa333ea
appurl: Add test for app url containing tilde 2021-11-23 23:11:37 +01:00
tituspijean
4f6d3c426a Allow tilde in username/organization for repo URLs 2021-11-23 21:22:22 +00:00
Alexandre Aubin
dc4341f98c migrate_to_bullseye: /usr/share/yunohost/yunohost-config/ssl/yunoCA -> /usr/share/yunohost/ssl 2021-11-22 08:21:54 +01:00
Alexandre Aubin
a399675f60 Fix location for specte meltdown checker script 2021-11-22 08:14:45 +01:00
Alexandre Aubin
9c28c07af4 Fix overly complex location for ssl workdir 2021-11-22 08:10:14 +01:00
Alexandre Aubin
799609c7a8 Fix most used password file path 2021-11-18 13:53:00 +01:00
Alexandre Aubin
a792ed6e41 Moar technical fixes 2021-11-18 03:54:25 +01:00
Alexandre Aubin
23b8418ee6 Fix diagnosis category listing 2021-11-18 03:09:18 +01:00
Alexandre Aubin
124dc158fc Fix redeclaration of 'migrations' var 2021-11-18 02:33:37 +01:00
Alexandre Aubin
bc9a9414a2 Fix diagnosis/ vs. diagnosis.py ambiguity, breaking python imports 2021-11-18 01:23:00 +01:00
Alexandre Aubin
7bfa15d471 Propagate changes from moulinette 2021-11-17 20:12:18 +01:00
Kay0u
16dba79a39
fix backup_delete when compress_tar_archives is True 2021-11-17 00:44:58 +01:00
Alexandre Aubin
5af6f34307 Merge branch 'bullseye' into rework-dir-topology 2021-11-15 03:34:10 +01:00
Alexandre Aubin
cbb6e9a367
Merge branch 'bullseye' into modules-sortof 2021-11-14 21:53:51 +01:00
Alexandre Aubin
a16edfc526 Merge branch 'bullseye' into rework-dir-topology 2021-11-14 21:48:54 +01:00
Alexandre Aubin
ced9670eba Merge branch 'migrate_to_bullseye' into bullseye 2021-11-14 21:48:00 +01:00
Alexandre Aubin
abcaaa8054 Merge branch 'dev' into migrate_to_bullseye 2021-11-14 21:47:41 +01:00
yunohost-bot
697dd8b9c2 [CI] Format code with Black 2021-11-14 16:52:57 +00:00
Alexandre Aubin
e19330b0c2 Aaaaand forgot to git add diagnosis/__init__.py 2021-11-10 19:56:59 +01:00
Alexandre Aubin
248d7f5678 data_migrations -> migrations 2021-11-10 19:53:05 +01:00
Alexandre Aubin
ebf9d522e0 Adapt diagnosers code to load them as python modules instead of hooks 2021-11-10 19:51:11 +01:00
Alexandre Aubin
05f25fa85f Propagate dir structure change to scripts etc 2021-11-10 18:25:37 +01:00
Alexandre Aubin
5de9e4fe6a Yolorework the repo dir structure 2021-11-10 17:56:02 +01:00
Alexandre Aubin
fca4cc7d3b Merge branch 'dev' into bullseye 2021-11-10 16:56:43 +01:00
Alexandre Aubin
7c569d16b7 certificate: fix stupid certificate/diagnosis issue with subdomains of ynh domains 2021-11-08 18:13:14 +01:00
Alexandre Aubin
03065dda4e log: Simplify code to fetch lines before ynh_exit_properly in dump_script_log_extract_for_debugging 2021-11-08 13:48:23 +01:00
Alexandre Aubin
a9b0619f42 log: Factorize boring/irrelevant log line filter definition 2021-11-08 12:57:28 +01:00