Commit graph

2351 commits

Author SHA1 Message Date
Alexandre Aubin
1d2b1d9601
[internally screaming] Follow-up of 116a15f9f1 ... breaking cert regen conf on some setup ... 2021-01-11 23:26:29 +01:00
Saxodwarf
bca527aca5 Add the -F flag to prevent grep from using the user password as a regex pattern 2021-01-10 12:09:04 +01:00
Alexandre Aubin
00508c9698 For some reason sometimes submetadata is None ... 2021-01-09 18:10:41 +01:00
Alexandre Aubin
1bad8267c6
Merge pull request #1109 from leo-lb/lle-bout/fix-upnp
firewall: force source port for UPnP.
2021-01-08 02:40:34 +01:00
Kay0u
239dc539a1
use read_yaml for json because lol 2021-01-06 16:34:55 +01:00
cricriiiiii
4c25f442c1 checking that we are in the cli interface 2021-01-06 01:17:47 +01:00
cricriiiiii
c2a730f26c user update -p without argument allowed
when not giving an argument (to avoid clear passwords in bash history) to "yunohost user update -p", now you are prompted for a password
2021-01-06 01:17:47 +01:00
Alexandre Aubin
4491568e6d
Merge pull request #1066 from YunoHost/no-upgrade-advertise-for-bad-quality-apps
Do not advertise upgrades for bad-quality apps
2021-01-02 00:40:16 +01:00
Laurent Peuch
e51a1b670e [ux] add command instructions and suggest change-url for domain_uninstall_app_first 2021-01-01 19:59:13 +01:00
Laurent Peuch
c7d315c7e0 [mod] also display app label on remove_domain with apps 2021-01-01 18:52:24 +01:00
Laurent Peuch
effc87da26 [fix] key name of app label wasn't the real label 2021-01-01 18:36:11 +01:00
Laurent Peuch
2768def391 [mod] avoid calling app_list in user_permission_list 2021-01-01 18:32:41 +01:00
Laurent Peuch
165d2b3225 [mod] no catchall exceptions 2021-01-01 17:14:53 +01:00
Laurent Peuch
9eb6fa1961 [enh] display domain_path of app on app list 2021-01-01 15:53:50 +01:00
Kayou
9e2e5ce55e
not protected by default 2020-12-29 23:59:13 +01:00
Kayou
2b80bac769
Fix restore permission 2020-12-29 23:12:14 +01:00
Kayou
e70f27b7ff
Update legacy.py 2020-12-29 22:48:10 +01:00
Kayou
d6d75c528e
fix legacy permission migration 2020-12-29 22:37:59 +01:00
Alexandre Aubin
d77d5afb2c When encountering unknown setting, also save the regular setting so we don't re-encounter the unknown settings everytime 2020-12-28 20:05:51 +01:00
Alexandre Aubin
bdff5937f0
Handle permission regexes that may start with ^ or \ 2020-12-28 16:58:50 +01:00
Laurent Peuch
0c977d8c70 [fix] double return prevent new code from working 2020-12-28 01:45:00 +01:00
Léo Le Bouter
42f3ff6b00 firewall: force source port for UPnP.
miniupnpc uses a random source port by default, the issue is that the
firewall rule to allow destination port 1900 incoming is unused because
the UPnP server will use the random source port as destination port in
the reply which iptables will block. Forcing the source port to be 1900
will ensure the UPnP server also uses that as destination port in the
reply and pass the firewall.

python-miniupnpc 2.0 or later is required for this change to have any
effect, it is otherwise silently ignored. A debian package upgrade is in
the works for official Yunohost repos.
2020-12-21 00:21:50 +01:00
Alexandre Aubin
f9143d531f Fix a small issue where metadata could be None (because of empty yaml maybe?) 2020-12-18 17:53:05 +01:00
Kayou
4f1ea2405d
fix my mess 2020-12-18 15:11:37 +01:00
Alexandre Aubin
f253b9f215
Merge pull request #1093 from YunoHost/use-organization-name-for-LE-cert
Use organization name for le cert
2020-12-17 21:24:05 +01:00
Alexandre Aubin
6dd6d71487
Merge pull request #1105 from YunoHost/add-all_users-in-protected_urls
add all_users in protected_urls
2020-12-17 21:23:44 +01:00
Kay0u
c3e750a97a
add all_users in protected_urls 2020-12-11 16:29:10 +01:00
Kay0u
401778f68e
fix the fixme 2020-12-11 16:22:29 +01:00
Kay0u
c823f5ffd5
indent ssow conf 2020-12-11 15:09:37 +01:00
Alexandre Aubin
5422a49d82 We don't care that 'apt-key output should not be parsed' 2020-12-10 17:25:58 +01:00
ljf
6aebe6faf9 [fix] Unused line 2020-12-08 17:11:10 +01:00
ljf
f1f97d0235 [fix] DNS conf 2020-12-08 17:05:51 +01:00
Kay0u
7780aa658f
fix staging cert url 2020-12-03 14:39:40 +01:00
Kay0u
d15ccc6c23
use organization name for LE cert 2020-12-03 14:39:20 +01:00
frju365
cc2dbaa6b1
[fix] Factorisons... 2020-12-03 12:09:20 +01:00
frju365
22c1cd8e88
[FIX] New CN for LE. 2020-12-03 11:59:33 +01:00
Alexandre Aubin
74272de52c
We need to have YNH_MANIFEST_VERSION also defined during backup/restore (#1088)
* We need to have YNH_MANIFEST_VERSION also defined during backup/restore

Co-authored-by: Kayou <pierre@kayou.io>
2020-11-30 23:20:13 +01:00
Alexandre Aubin
199cc50f66 Ignore stupid warnings from apt 2020-11-29 19:55:39 +01:00
Alexandre Aubin
5bf4a2d60b
Merge pull request #1082 from YunoHost/add-number-arg-parser
Add number arg parser
2020-11-29 04:09:27 +01:00
Alexandre Aubin
f6ac6bb4f7
Merge pull request #1081 from YunoHost/fix-show-config-panel
[fix] show config panel
2020-11-29 04:08:17 +01:00
Alexandre Aubin
d5563170ef
Fix syntax issue found by linter 2020-11-28 19:39:18 +01:00
Alexandre Aubin
63166d05fa
Catch stupid error if root is not in /etc/passwd 2020-11-28 19:13:12 +01:00
Alexandre Aubin
38bd061b98
Merge pull request #1076 from YunoHost/translate_legacy_rules_in_ssowat_conf_persistent
Automatically translate legacy rules in /etc/ssowat/conf.json.persistent
2020-11-28 17:31:32 +01:00
Kay0u
9bb94ebfdb
add test with a float 2020-11-26 09:59:42 +01:00
Kay0u
a84439a0f3
Merge branch 'add-number-arg-parser' of github.com:YunoHost/yunohost into add-number-arg-parser 2020-11-25 20:17:28 +01:00
Kay0u
c45feb7cae
fix test 2020-11-25 20:17:25 +01:00
Kayou
1ddca81f5a
Use isdigit 2020-11-25 19:13:50 +01:00
Kay0u
d79c9b4bf8
Add number arg parser 2020-11-25 18:42:18 +01:00
Alexandre Aubin
fe6333d2d2
Merge pull request #1079 from YunoHost/fix-optional-args
Fix optional args
2020-11-25 18:38:23 +01:00
Kay0u
ad4678362a
[fix] show config panel 2020-11-25 18:30:00 +01:00