Alexandre Aubin
b67d4621fc
apps: fix YNH_HELPERS_VERSION again because packaging_format is actually a float hence 1.0/2.0 instead of 1 or 2 x_x
2024-06-03 13:38:43 +02:00
alexAubin
88d221c52e
🎨 Format Python code with Black
2024-06-03 11:10:39 +00:00
Alexandre Aubin
f5dc382888
apps: for YNH_HELPERS_VERSION to be a string for the bash env, otherwise Popen explodes
2024-06-03 13:10:14 +02:00
alexAubin
e3282f2329
🎨 Format Python code with Black
2024-05-27 14:58:01 +00:00
Alexandre Aubin
1e47a1438b
apps: auto-define YNH_HELPERS_VERSION from a new 'helpers_version' key in the manifest's [integration] section, or fallback to the 'packaging_format' info
2024-05-27 16:38:09 +02:00
Alexandre Aubin
84d1a6bcca
Attempt to fix mypy ?
2024-05-21 23:21:00 +02:00
Alexandre Aubin
0a5dd1b099
Update log.py: fix fstring with no arg
2024-05-19 20:51:45 +02:00
Alexandre Aubin
48c673478d
Merge pull request #1805 from Abperron/enh-2047-log-show-last-x
...
[enh] Implement 'yunohost log show last' to display the last log file.
2024-05-18 14:29:36 +02:00
Alexandre Aubin
c2c27a01fc
Merge pull request #1819 from YunoHost/fix-_check_domain_is_ready_for_ACME-for-sub-subdomain
...
[fix] renew cert for sub subdomain
2024-05-18 14:20:28 +02:00
tituspijean
82c682d6d1
Split log rm commands into separate shells
...
otherwise, if one fails, the following ones are not run.
2024-05-05 20:33:55 +02:00
Kayou
552507007a
get the root domain instead of his closest parent
2024-04-26 10:24:06 +02:00
Alexandre Aubin
5e4e59a133
Update resources.py
2024-04-11 23:30:18 +02:00
alexAubin
a665f2550c
🎨 Format Python code with Black
2024-04-11 22:45:57 +02:00
Alexandre Aubin
a5560c3035
Update resources.py: fix edge case when parsing app ustream version from resource manager
2024-04-11 21:19:14 +02:00
Alexandre Aubin
22b30c79c0
Zgrompf
2024-04-11 16:03:10 +02:00
Alexandre Aubin
29c597ed8e
Missing import oopsi
2024-04-11 14:32:39 +02:00
Alexandre Aubin
a3ab7c9199
app resources: add __YNH_DEBIAN_VERSION_ID__ in available variable, corresponing to debian number (11, 12, ...)
2024-04-11 00:38:23 +02:00
Alexandre Aubin
85f83af862
perf: add cache for system utils that fetch debian_version, debian_version_id, system_arch, system_virt
2024-04-10 23:08:40 +02:00
tituspijean
ff6b6954aa
🎨 Format Python code with Black
2024-04-10 20:32:30 +00:00
tituspijean
835303200d
Fix and enh variables for app resources
...
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
2024-04-10 22:31:53 +02:00
alexAubin
a733ea45c3
🎨 Format Python code with Black
2024-04-10 19:03:03 +00:00
Alexandre Aubin
ba0ad78df5
Merge pull request #1751 from Salamandar/variables_in_manifest
...
Variables in manifest
2024-04-10 21:02:44 +02:00
Alexandre Aubin
0864014ea1
Move recursive_apply directly where it's used, having a small algorithms.py just for this is too convoluted
2024-04-10 20:59:54 +02:00
manor-tile
30a4fe1646
Merge branch 'YunoHost:dev' into enh-2047-log-show-last-x
2024-03-21 10:16:43 +00:00
manor-tile
45e3f6b1a2
error if X in last-X is too big
2024-03-21 11:16:02 +01:00
BELLAHBIB Ayoub
f9d3ae1084
show_log: support names 'last' and 'last-x' in path
...
Co-authored-by: manor-tile <159947643+manor-tile@users.noreply.github.com>
2024-03-21 11:16:02 +01:00
Josué Tille
006318effa
Avoid to override new settings
2024-03-07 10:05:10 +01:00
Josué Tille
c9d570e6a1
Add generales var in config panel like domain, path, etc
2024-03-07 10:05:10 +01:00
Alexandre Aubin
e8ad12de24
Merge pull request #1793 from YunoHost/fixes-doc-markdown
...
doc generation: fix markdown
2024-03-02 16:10:10 +01:00
OniriCorpe
c512425bd9
dog generation: fix markdown
2024-03-02 08:30:57 +01:00
OniriCorpe
8f6df354b8
break line
2024-03-01 03:31:43 +01:00
yunohost-bot
105f4dc515
[CI] Format code with Black
2024-03-01 02:10:08 +00:00
yunohost-bot
30679c0c57
[CI] Format code with Black
2024-03-01 01:08:42 +00:00
ljf (zamentur)
6a84564cdc
[fix] List root ssh keys
2024-02-29 18:36:25 +01:00
c5e9cec933
Fix readonly questions (display_text, etc): the code did not handle them anymore on the app side
2024-02-29 16:58:19 +01:00
OniriCorpe
da5181f057
Add autoupdate.version_regex to the doc
...
original commit: 93793fef44
2024-02-24 02:07:53 +01:00
Alexandre Aubin
ec4b1e9f96
Merge pull request #1776 from OniriCorpe/update-autoupdate-docs
...
Autoupdate: update docs
2024-02-15 02:38:06 +01:00
OniriCorpe
cfee750e32
draft
2024-02-15 02:24:45 +01:00
yunohost-bot
c695aa549a
[CI] Format code with Black
2024-02-09 20:12:27 +00:00
Alexandre Aubin
077b745d60
configpanels: some helpers behavior depend on YNH_APP_PACKAGING_FORMAT which is not set when calling the config script...
2024-02-09 20:01:20 +01:00
Alexandre Aubin
820a79c238
Update resources.py: used_ports -> ports_used_by_self
2024-01-28 22:28:45 +01:00
8727e74eab
Fix port reuse during provisionning.
...
Before this, provisionning might use twice the same port (second app install for example).
Indeed, _port_is_used only checks processes and already installed apps. Not the current
app being installed.
2024-01-28 22:22:36 +01:00
Alexandre Aubin
fc12cb198c
apps: people insist on trying to install Nextcloud after creating a user called nextcloud ... So let's check this stupid case
2024-01-21 21:14:02 +01:00
Alexandre Aubin
491588bb88
Merge pull request #1763 from YunoHost/fix-dns-suffix-during-xmpp-cert-setup
...
Fix DNS suffix edge case during XMPP certificate setup
2024-01-13 19:30:40 +01:00
Alexandre Aubin
54ad8dd2cb
Merge pull request #1761 from YunoHost/small-tools
...
Add basic-space-cleanup command
2024-01-13 19:29:25 +01:00
Alexandre Aubin
a44ea14141
Update copyright headers to 2024 using maintenance/update_copyright_headers.sh
2024-01-13 19:26:47 +01:00
tituspijean
8ca59703c5
Improve basic-space-cleanup shell calls and documentation
2024-01-13 12:11:05 +01:00
Alexandre Aubin
699500dbb0
Fix DNS suffix edge case during XMPP certificate setup
2024-01-12 22:00:10 +01:00
c8f0f131fd
app.py, helpers: Reword YNH_APP_UPGRADE_TYPE
...
* remove UPGRADE_FULL
* rename DOWNGRADE_FORCED -> DOWNGRADE
* rename UPGRADE_FORCED -> UPGRADE_SAME
* keep the helper ynh_check_app_version_changed behaviour for reverse compatibility.
2024-01-11 10:15:28 +01:00
tituspijean
b920b82f4e
Add basic-space-cleanup command
2024-01-07 22:14:27 +01:00