Commit graph

4436 commits

Author SHA1 Message Date
Alexandre Aubin
b0fe49ae83 configpanels/forms : more edge cases with some questions not implementing some methods/attributes 2023-08-22 17:36:12 +02:00
Tagada
73a144fa46
Update src/utils/resources.py
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2023-08-22 17:12:03 +02:00
Tagada
ee4d94d382
Update src/utils/resources.py
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2023-08-22 17:11:56 +02:00
Alexandre Aubin
07daa68770 apps: BACKUP_CORE_ONLY was not set for pre-upgrade safety backups, resulting in unecessarily large pre-upgrade backups 2023-08-22 15:37:47 +02:00
Tagada
32376cf18f
Use the existing db_name setting for database provising
This should help upgrading an app from packaging v1 when db_name was different from `app`
2023-08-21 16:39:54 +02:00
Alexandre Aubin
576992899c apps: allow to use jinja {% if foobar %} blocks in their notifications/doc pages 2023-08-16 19:18:37 +02:00
selfhoster1312
101b5704c4 Serialize the JWT token to a cookie string instead of failing 2023-08-15 12:23:56 +02:00
selfhoster1312
6f8b3fd57f Handle both cookies in the same way (please let me logout) 2023-08-13 23:11:31 +02:00
axolotle
db1670ca5d add temp portal_update_password 2023-08-01 16:28:25 +02:00
axolotle
c9092b2aad add portal_update to update user infos 2023-08-01 15:43:39 +02:00
axolotle
c3a4b7dabb add _get_user_infos helper 2023-08-01 15:18:48 +02:00
axolotle
ca6eb2cbaf lint 2023-08-01 15:15:52 +02:00
Alexandre Aubin
09c5a4cfb9 admin and portalapi: propagate new configurable CORS mechanism from moulinette 2023-07-29 19:15:30 +02:00
Alexandre Aubin
704e42a6af portalapi: fix cookie not being deleted because maxage=-1 or something 2023-07-29 19:13:00 +02:00
Alexandre Aubin
4fda8ed49f apps: fix another case of no attribute 'value' due to config panels/questions refactoring 2023-07-21 22:02:56 +02:00
Tagada
4385c886a4 Merge branch 'dev' into bookworm 2023-07-20 15:49:45 +02:00
axolotle
e1ceb084c3 fix config panel readonly .value 2023-07-18 15:07:31 +02:00
Alexandre Aubin
2ece3b65f6 Moulinette logging is an unecessarily complex mess, episode 57682 2023-07-18 00:19:16 +02:00
Alexandre Aubin
781f924e30 apps: hotfix for funky issue, apps getting named 'undefined' 2023-07-17 21:13:34 +02:00
Alexandre Aubin
f69f87fa65 Merge remote-tracking branch 'origin/dev' into portal-api 2023-07-17 18:56:05 +02:00
yunohost-bot
6e63b6fc53 [CI] Format code with Black 2023-07-17 16:00:11 +00:00
Alexandre Aubin
4b582f72df
Merge pull request #1687 from YunoHost/11.2
11.2
2023-07-17 16:11:20 +02:00
Alexandre Aubin
4561f900df portal refactoring: update ssowat conf format with a dict mapping domains to portal urls. For now, let's have one portal per main/parent domain (which is anyway imposed by cookie management unless we reintroduce complex cross-domain authentication...) 2023-07-15 21:20:15 +02:00
Alexandre Aubin
ec96558c81 portalapi: add FIXMEs about auth layer 2023-07-15 20:07:18 +02:00
Alexandre Aubin
a81a548f76 Unused imports 2023-07-14 19:12:49 +02:00
Alexandre Aubin
d44b09cf12 quality: cleanup unused code 2023-07-14 15:20:13 +02:00
Alexandre Aubin
2c0f49cef3 portalapi: add groups and apps list in infos returned by GET /me 2023-07-14 04:44:03 +02:00
Alexandre Aubin
6c6dd318fb portalapi: implement encrypted password storage in the user's cookie using AES256 2023-07-11 22:39:22 +02:00
Alexandre Aubin
9a5080ea16 portalapi: fix split or user/password in auth code 2023-07-11 17:49:25 +02:00
Alexandre Aubin
a1cf770e1b Merge branch 'dev' into portal-api 2023-07-11 17:11:02 +02:00
Alexandre Aubin
7ba6c37eb8 Merge branch '11.2' into bookworm 2023-07-11 15:56:52 +02:00
Alexandre Aubin
e695c89ad0 Typo in i18n key 2023-07-11 15:51:19 +02:00
Alexandre Aubin
81f269fc29 Fix funky no_unsubscribe dyndns stuff in test_domains.py ... 2023-07-10 19:35:17 +02:00
Alexandre Aubin
7e18e8c9ec
Merge pull request #1475 from YunoHost/dyndns-password
Dyndns recovery password
2023-07-10 19:15:47 +02:00
Alexandre Aubin
961dc5a6ee
Merge pull request #815 from YunoHost/allow-system-user-to-auth-on-mail-stack
Allow system users to auth on the mail stack and send emails
2023-07-10 19:14:30 +02:00
Alexandre Aubin
e1dcbee2a7
Merge branch '11.2' into before-pydantic-struc 2023-07-10 19:13:39 +02:00
yunohost-bot
14040b8fd2 [CI] Format code with Black 2023-07-10 17:05:52 +00:00
Alexandre Aubin
875566915c Merge remote-tracking branch 'origin/dev' into dyndns-password 2023-07-10 18:22:53 +02:00
Alexandre Aubin
0d0740826d Revert "apps: fix version.parse now refusing to parse legacy version numbers"
This reverts commit b98ac21a06.
2023-07-10 17:43:31 +02:00
Alexandre Aubin
b98ac21a06 apps: fix version.parse now refusing to parse legacy version numbers 2023-07-10 17:34:46 +02:00
Alexandre Aubin
4152cb0dd1 apps: fix a bug where YunoHost would complain that 'it needs X RAM but only Y left' with Y > X because some apps have a higher runtime RAM requirement than build time ... 2023-07-10 17:34:21 +02:00
Alexandre Aubin
7924bb2b28 tests: fix my_webapp test that has been failing for a while 2023-07-04 23:29:36 +02:00
Alexandre Aubin
cab7667dcc misc: more boring irrelevant postgresql warnings to filter out 2023-07-04 19:48:55 +02:00
Alexandre Aubin
bdc296f858 Merge remote-tracking branch 'origin/dev' into bookworm 2023-07-04 18:10:25 +02:00
Kayou
36a17dfdbd
change string into fstring in resources.py 2023-07-04 14:15:50 +02:00
Alexandre Aubin
dc0fa8c4ac app resources: fix apt resource broken by previous commits ... 2023-07-04 03:27:33 +02:00
Alexandre Aubin
7d2ecc358e quality: ignore complain from mypy 2023-07-04 03:02:20 +02:00
orhtej2
6f48cbc4a7
Added tests for Gitea URLs. 2023-07-03 22:40:14 +02:00
orhtej2
5c4493ce96
Further update allowed URLs. 2023-07-03 22:36:34 +02:00
orhtej2
f571aff93c
Allow installation from gitea
[Gitea](https://about.gitea.com/) has branch URL in form `https://domain.tld/gitea/path/<owner>/<repo>_ynh/src/branch/<branch_name>`.
2023-07-03 22:24:47 +02:00