Commit graph

9281 commits

Author SHA1 Message Date
Alexandre Aubin
bab27014d9 apps: when creating the app's bash env for script, make sure to use the manifest from the workdir instead of app setting dir, which is important for consistency during edge case when upgrade from v1 to v2 fails 2023-02-23 14:53:57 +01:00
Alexandre Aubin
79c9a7b294
Merge pull request #1604 from YunoHost/ci-format-debian/11.1.10
[CI] Format code with Black
2023-02-21 21:03:46 +01:00
yunohost-bot
aa50526ccd [CI] Format code with Black 2023-02-21 19:49:52 +00:00
Alexandre Aubin
90b8e78eff ci: zblerg, try to fix the coverage thingy computing coverage on test and vendor files x_x 2023-02-21 19:44:51 +01:00
Alexandre Aubin
8724329738 Remove .lgtm.yml, the service doesnt exists anymore :| 2023-02-21 19:34:22 +01:00
Alexandre Aubin
127c241c9a swag: update README badges 2023-02-21 19:23:35 +01:00
Alexandre Aubin
232d38f221 Update changelog for 11.1.10 2023-02-21 18:58:36 +01:00
Alexandre Aubin
4fd10b5a1d ci: hmf try to understand what that 're2 syntax' gitlab is talking about is 2023-02-21 17:13:53 +01:00
Alexandre Aubin
1dc8b75315 appsv2: fix check that postgresql db exists... 2023-02-21 17:08:12 +01:00
Alexandre Aubin
d725b45428 appsv2: fix reload_only_if_change option not working as expected, resulting in incorrect 'Firewall reloaded' messages 2023-02-21 15:22:50 +01:00
Alexandre Aubin
888593ad22 appsv2: fix resource provisioning scripts picking up already-closed operation logger, resulting in confusing debugging output 2023-02-21 14:57:10 +01:00
Alexandre Aubin
4dfff20140 appsv2: add support for a packages_from_raw_bash option in apt where one can add a multiline bash snippet to echo packages 2023-02-21 14:51:51 +01:00
Alexandre Aubin
df6a2a2cd2 apps: add 'YNH_DEBIAN_VERSION' variable in apps contexts 2023-02-21 13:03:51 +01:00
Alexandre Aubin
b887545c3e
ci: attempt to fix the "coverage: not set up" thingy 2023-02-21 02:51:41 +01:00
Alexandre Aubin
c300e023ef
Merge pull request #1601 from YunoHost/ci-format-debian/11.1.9
[CI] Format code with Black
2023-02-20 20:51:07 +01:00
Alexandre Aubin
e1d62a1910
apps: Fix edge case in change_url where old_nginx_conf_backup could be None 2023-02-20 20:50:53 +01:00
yunohost-bot
95b80b056f [CI] Format code with Black 2023-02-20 19:46:58 +00:00
Alexandre Aubin
f436b890d6 Update changelog for 11.1.9 2023-02-20 20:33:54 +01:00
Alexandre Aubin
ec4c2684f7 appsv2: zblerg I inadvertendly removed the line that update the user group x_x 2023-02-20 20:26:50 +01:00
Alexandre Aubin
63f0f08421 appsv2: revert commit that adds a bunch of warning about apt/database consistency, it's more relevant to have them in package linter instead 2023-02-20 18:03:32 +01:00
Alexandre Aubin
2b70ccbf40 apps: simplify the redaction of change_url scripts by adding a new ynh_change_url_nginx_config helper + predefining new/old/change domain/path variables 2023-02-20 17:52:27 +01:00
Alexandre Aubin
890b8e8082 Semantic 2023-02-20 17:52:27 +01:00
Alexandre Aubin
290d627faf ux: Moar boring postgresql messages displayed as warning 2023-02-20 17:52:27 +01:00
Alexandre Aubin
848adf89c8 log: Previous trick about getting rid of setting didnt work, forgot to use metadata instead of self.metadata 2023-02-20 17:52:27 +01:00
Alexandre Aubin
2a16f289ea
Merge pull request #1599 from YunoHost/ci-format-debian/11.1.8.1
[CI] Format code with Black
2023-02-20 14:23:40 +01:00
Bram
5a24cac788
Merge pull request #1600 from YunoHost/ci-format-debian/11.1.8.2
[CI] Format code with Black
2023-02-20 00:35:15 +01:00
yunohost-bot
16aa09174d [CI] Format code with Black 2023-02-19 23:31:08 +00:00
yunohost-bot
61b5bb02f4 [CI] Format code with Black 2023-02-19 20:58:12 +00:00
Alexandre Aubin
16bae924e8 Update changelog for 11.1.8.2 2023-02-19 21:39:36 +01:00
Alexandre Aubin
343065eb5d regenconf: fix undefined var in apt regenconf 2023-02-19 21:38:53 +01:00
Alexandre Aubin
93d011704f
Merge pull request #1598 from YunoHost/ci-format-debian/11.1.8
[CI] Format code with Black
2023-02-19 20:12:40 +01:00
yunohost-bot
2389884e85 [CI] Format code with Black 2023-02-19 19:10:51 +00:00
Alexandre Aubin
56c4740274 Update changelog for 11.1.8.1 2023-02-19 19:41:45 +01:00
Alexandre Aubin
50f86af51a quality: unused function 2023-02-19 19:40:28 +01:00
Alexandre Aubin
13d50f4f9a postgresql: ugly hack to hide boring warning messages when installing postgresql with apt the first time ... 2023-02-19 19:40:15 +01:00
Alexandre Aubin
e6ae389297 postgresql: moar regenconf fixes 2023-02-19 19:38:48 +01:00
Alexandre Aubin
93aeee8029 Update changelog for 11.1.8 2023-02-19 18:24:49 +01:00
Alexandre Aubin
32ea7f17cd
Merge pull request #1597 from yunohost-bot/weblate-yunohost-core
Translations update from Weblate
2023-02-19 18:20:07 +01:00
xabirequejo
6da884418c Translated using Weblate (Basque)
Currently translated at 98.2% (742 of 755 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/eu/
2023-02-19 18:10:55 +01:00
ButterflyOfFire
12f1b95a6f Translated using Weblate (Arabic)
Currently translated at 28.4% (215 of 755 strings)

Translation: YunoHost/core
Translate-URL: https://translate.yunohost.org/projects/yunohost/core/ar/
2023-02-19 18:10:55 +01:00
Alexandre Aubin
d3ec5d055f apps: fix edge case when upgrading using a local folder not modified since a while 2023-02-19 18:10:35 +01: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
18e034df8a regenconf: in apt/php stuff, don't try to upgrade-alternatives if the default PHP version ain't available anymore (similar to commit e24ddd29) 2023-02-18 16:34:54 +01:00
Alexandre Aubin
8a43b04614 postgresql: fix regenconf hook, the arg format thingy changed a bit at some point ? 2023-02-18 16:33:50 +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
475c93d582 postinstall: raise a proper error when trying to use e.g. 'admin' as the first username which will conflict with the admins group mail aliases 2023-02-17 16:37:00 +01:00
Alexandre Aubin
58ac633d80 apps: don't miserably crash when failing to read .md file such as DESCRIPTION.md 2023-02-17 15:27:28 +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
Alexandre Aubin
35427c8f28
Merge pull request #1596 from YunoHost/ci-format-debian/11.1.7
[CI] Format code with Black
2023-02-16 12:03:02 +01:00