Commit graph

243 commits

Author SHA1 Message Date
yunohost-bot
2389884e85 [CI] Format code with Black 2023-02-19 19:10:51 +00:00
Alexandre Aubin
ce7227c078 appsv2: add home dir that defaults to /var/www/__APP__ for system user resource 2023-02-19 18:10:05 +01:00
Alexandre Aubin
771b801ece appsv2: zbfgblg using '&' in os.system calls is interpreted using sh and not bash i guess... 2023-02-18 17:29:37 +01:00
Alexandre Aubin
d123fd7674 appsv2: fix user provisionion ... Aleks was drunk ... check_output('cmd &>/dev/null') will always return empty string... 2023-02-18 16:08:26 +01:00
Alexandre Aubin
97b69e7c69 appsv2: add check about database vs. apt consistency in resource / warn about lack of explicit dependency to mariadb-server 2023-02-17 15:19:23 +01:00
yunohost-bot
069b782f07 [CI] Format code with Black 2023-02-15 21:37:05 +00:00
Alexandre Aubin
0c4a006a4f appsv2: also replace __DOMAIN__ in resource properties 2023-02-15 19:46:25 +01:00
Alexandre Aubin
0ab20b733b appsv2: mysqlshow is fucking dumb and returns exit code 0 when DB doesnt exists ... 2023-02-14 16:09:55 +01:00
Alexandre Aubin
ab8a6b940f appsv2: fix check that main permission url is '/' 2023-02-13 18:28:45 +01:00
Alexandre Aubin
1d1a3756ba appsv2: missing raw_msg=True for exceptions 2023-02-13 18:17:39 +01:00
Alexandre Aubin
e39c89e087
Merge branch 'dev' into dev 2023-02-06 17:48:07 +01:00
Alexandre Aubin
71042f0860 appsv2: when initalizing permission, make sure to add 'all_users' when visitors is chosen 2023-02-06 14:32:19 +01:00
Alexandre Aubin
c179d4b88f appsv2/group question: don't include primary groups in choices 2023-02-06 14:32:19 +01:00
Alexandre Aubin
fb54da2e35 appsv2: moar fixes for v1->v2 upgrade not getting the proper env context 2023-02-04 18:46:33 +01:00
Alexandre Aubin
476908bdc2 appsv2: fix permission provisioning for fulldomain apps + fix apps not properly getting removed after failed resources init 2023-02-03 20:38:27 +01:00
Alexandre Aubin
0e787acb5d
appv2: typo in ports resource doc x_x 2023-02-03 15:32:09 +01:00
Éric Gaspar
b06a3053f6 Fix spacing 2023-02-03 10:21:09 +01:00
Alexandre Aubin
2107a84852 appv2 resources: document the fact that the apt resource may create a phpversion setting when the dependencies contain php packages 2023-02-03 02:41:28 +01:00
Alexandre Aubin
ba4f192557 maintenance: new year, update copyright header 2023-02-02 23:51:14 +01:00
yunohost-bot
b943c69c8b [CI] Format code with Black 2023-02-01 17:10:08 +00:00
yunohost-bot
8859038a41 [CI] Format code with Black 2023-01-10 01:30:51 +00:00
Alexandre Aubin
f21fbed2f7 configpanel: stop the madness of returning a 500 error when trying to load config panel 0.1 ... otherwise this will crash the new app info view ... 2023-01-10 00:42:40 +01:00
Alexandre Aubin
683421719f configpanel: key 'type' may not exist? 2023-01-10 00:39:54 +01:00
yunohost-bot
9bf2b0b546 [CI] Format code with Black 2023-01-06 06:00:05 +00:00
Alexandre Aubin
cddfafaa55 app resource: fix boring test edge case related to the initial properties object being modified 2023-01-06 03:50:22 +01:00
Alexandre Aubin
02abcd41f9 app resources: Fix tests 2023-01-05 23:57:42 +01:00
Alexandre Aubin
6d4659a782 app resources: fix ambiguity for db resource 'type' property 2022-12-22 23:13:20 +01:00
Alexandre Aubin
df8f14eec6 app resources: implement logic for port 'exposed' and 'fixed' options 2022-12-22 23:13:10 +01:00
Alexandre Aubin
4775b40b95 Hmpf 2022-12-22 01:15:54 +01:00
Alexandre Aubin
8ab28849a1 app resource: handle the --purge logic for data_dir removal 2022-12-21 23:11:09 +01:00
Alexandre Aubin
a50e73dc0f app resources: implement permission update 2022-12-21 22:29:31 +01:00
Alexandre Aubin
fa2ef3e7ec appv2: better error handling for app resources provisioning/deprovisioning/update failures 2022-12-21 20:39:10 +01:00
Alexandre Aubin
47b9b8b520 configpanels: fix inconsistent return format for boolean, sometimes 1/0, sometimes True/False -> force normalization of values when calling get() for a single setting from a config panel 2022-12-20 19:51:21 +01:00
yunohost-bot
186e61903a [CI] Format code with Black 2022-12-06 22:36:37 +00:00
Alexandre Aubin
b47d2c7476
Clarify the thing about current_value vs value 2022-12-06 23:21:28 +01:00
ljf (zamentur)
744f963508
[fix] Visible app condition not properly evaluate
If the config script returned structured data
2022-12-06 22:08:13 +01:00
ljf (zamentur)
6de36183d3
[fix] hotspot config panel fails in webadmin 2022-12-06 20:39:54 +01:00
Alexandre Aubin
73cf0be3fd
Fix again the legacy patch for yunohost user create @_@ 2022-12-03 14:11:53 +01:00
Alexandre Aubin
d254fb1b05 legacy: auto-patch yunohost user create syntax in app scripts to use --fullname instead 2022-12-02 23:30:47 +01:00
Alexandre Aubin
372a602378
Mypy gods are unhappy 2022-10-29 18:49:25 +02:00
yunohost-bot
7c05df05b7 [CI] Format code with Black 2022-10-24 16:59:10 +00:00
Alexandre Aubin
db0e2ef3b2 Typo @_@ 2022-10-21 23:01:09 +02:00
Alexandre Aubin
5cfa0d3be8 questions: improve support for group question used in manifestv2 2022-10-18 20:10:42 +02:00
Alexandre Aubin
dbd0981b25
Merge pull request #1517 from YunoHost/improve-mostused-password-list
Improve most used password check list
2022-10-10 19:03:47 +02:00
Alexandre Aubin
928c8694b1 Merge remote-tracking branch 'origin/11.1' into root-password-change-as-virtual-global-setting 2022-10-09 21:02:11 +02:00
Alexandre Aubin
b9036abcbc Improve most used password check list 2022-10-09 19:04:58 +02:00
Alexandre Aubin
bd7081baf2 maintenance: cleanup .py file headers + automate boring copyright headers... 2022-10-09 18:38:34 +02:00
Alexandre Aubin
5addb2f68f Implement a new 'virtual global setting' to change root password from webadmin 2022-10-08 18:30:17 +02:00
Alexandre Aubin
031e7c482e Merge remote-tracking branch 'origin/dev' into 11.1 2022-10-05 14:25:01 +02:00
Alexandre Aubin
e2838455e0 Moar i18n friskies 2022-10-05 14:18:21 +02:00