Commit graph

4160 commits

Author SHA1 Message Date
Alexandre Aubin
8a72bac884
Merge pull request #1692 from YunoHost/logging-is-a-mess
Moulinette logging is an unecessarily complex mess, episode 57682
2023-09-27 17:45:21 +02:00
axolotle
fc68f769f9 domain: add recovery passoword in config panel 2023-09-25 14:37:18 +02:00
axolotle
97c2cdc593 domain: move domain files removal so dyndns API key still exists while trying to unsubscribe 2023-09-25 13:55:01 +02:00
axolotle
65843bda6d dyndns: add postinstall recovery password handling 2023-09-24 18:11:50 +02:00
axolotle
67e28567ff dyndns: switch to ValidationError for some service response 2023-09-24 17:19:24 +02:00
axolotle
322fc3b712 dyndns: try to unsubscribe with password before subscribing if domain is not available 2023-09-24 17:15:56 +02:00
axolotle
cbb85f8c3b dyndns: handle too many requests in availability testing 2023-09-24 17:13:33 +02:00
stanislas
df1f3149ea The p value of a DMARC record can take the values none, quarantine or reject
The validation is no more about the being similar to the expected config. Now wre check that the value of the p parameter of a DMARC record has the value none, quarantine or reject. No check for other parameters but it could be improved
2023-09-12 00:37:47 +02:00
Kay0u
142fad4b78
typo 2023-09-08 23:50:30 +02:00
Kay0u
aed8ecb645
do not skip tests from 11.2 2023-09-08 23:47:57 +02:00
Kay0u
e77e9a0a9a
backup/restore tests from 11.2 2023-09-08 23:13:38 +02:00
orhtej2
920fe527f4
Allow system users to send mails from IPv6 localhost and in no-IP contexts. 2023-09-07 22:14:06 +02:00
axolotle
c641f099c5 add temp messy file handling for portal custom logo 2023-09-07 17:57:08 +02:00
Pierre de La Morinerie
79e41a1e4b
app.py: fix typo in log statement 2023-09-07 16:22:16 +02:00
axolotle
bfedf144b3 add settings getter + /public route to get settings and public apps 2023-09-04 16:31:58 +02:00
axolotle
2136db32b6 return domain from _get_user_infos 2023-09-04 16:27:06 +02:00
axolotle
20d21b57e0 wip: save portal configpanel options in separate file .portal.yml 2023-09-04 16:24:01 +02:00
axolotle
5562b61db0 add 'list_portal' AppOption modifier to add portal as a possible choice 2023-09-04 16:20:29 +02:00
axolotle
0645d18e67 add host as session cookie info 2023-09-04 16:19:07 +02:00
ljf
ffa8eb38ed
[enh] Add post_app_restore hook 2023-09-04 15:42:12 +02:00
ljf
6f3b194944
[fix] Avoid char conflict with bind properties 2023-09-02 22:47:02 +02:00
Alexandre Aubin
52951239c5
Merge pull request #1704 from YunoHost/Tagadda-patch-1
Use the existing db_name setting for database provising
2023-08-31 17:27:46 +02:00
axolotle
8f0f85b722 merge update_password with update 2023-08-29 16:28:32 +02:00
ljf (zamentur)
0b05143745
[fix] Diagnosis: reverse DNS check should be case-insensitive #2235 2023-08-25 03:23:33 +02:00
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