Commit graph

4436 commits

Author SHA1 Message Date
Alexandre Aubin
45baaead36 Fix typo + unused import 2021-12-26 18:22:33 +01:00
Alexandre Aubin
62808152ee Cookie handling for the new portal API 2021-12-26 16:52:48 +01:00
Alexandre Aubin
1efb50c7ab Iterate on new portal API design: nginx config, cookie format, be able to open a non-root ldap session, 2021-12-25 15:44:14 +01:00
Alexandre Aubin
c01042b51d Merge remote-tracking branch 'origin/moar_session_management_changes' into portal-api 2021-12-25 15:42:02 +01:00
Laurent Peuch
77058ab356 [mod] stop using old style class 2021-12-24 01:16:52 +01:00
Laurent Peuch
ad56275801 [mod] run pyupgrade on source code 2021-12-24 01:16:41 +01:00
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
2845914d44 WIP: foundation for a new portal API to partially replace SSOwat 2021-12-04 03:27:23 +01:00
Alexandre Aubin
c8d4e4853b Merge branch 'bullseye' into manifestv2 2021-12-04 01:01:00 +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
7206be0020 Tmp work on provision/deprovision apt and system user 2021-11-30 20:17:04 +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