Commit graph

2490 commits

Author SHA1 Message Date
Alexandre Aubin
5422a49d82 We don't care that 'apt-key output should not be parsed' 2020-12-10 17:25:58 +01:00
ljf
cdb1d83eae [fix] No need for fake password, no app use ,4,5 2020-12-08 18:06:42 +01:00
ljf
2ebef4ebb4 [fix] Missing hook_callback 2020-12-08 17:57:48 +01:00
ljf
792643607b [fix] Avoid password are given in users hooks 2020-12-08 17:55:29 +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
Alexandre Aubin
efdb2ee6b5 Gotta make sure everything is a string 2020-12-05 21:06:37 +01:00
Alexandre Aubin
81f3b493e4 Also copy the script env 2020-12-05 21:06:23 +01:00
Alexandre Aubin
2428f01521 Do not pass app args to the command line, they're already provided in the env... 2020-12-05 20:35:53 +01:00
Alexandre Aubin
d6d45cf7a6 Simplify command call, no need to wrap this in a dummy 'sh -c' 2020-12-05 20:30:03 +01:00
Alexandre Aubin
14f6f09993 Do not write the env explicitly in the command to avoid leaking secrets in ps -ef... 2020-12-05 20:19:53 +01:00
Alexandre Aubin
e0ac7de432 We ain't using argument user nor no_trace 2020-12-05 20:17:58 +01:00
ljf
efcf5e1ceb [fix] Unsuded import 2020-12-03 22:25:58 +01:00
ljf
0e8cc1851d [fix] Rename migrations 2020-12-03 18:32:36 +01:00
ljf
0f67278afe [fix] Rename migrations 2020-12-03 18:32:21 +01:00
ljf
32fcbea757 [fix] Remove old ssh allow method 2020-12-03 18:22:02 +01:00
ljf
aa9b8318e7 [fix] pep8 2020-12-03 18:22:02 +01:00
ljf
f79b0ff0a3 [enh] SFTP and SSH permissions 2020-12-03 18:20:45 +01:00
Josué Tille
5e6bcb2346 Add possibility to restrict the user allowed to access by sftp 2020-12-03 18:17:52 +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
Kay0u
698d543c56
Fix tests 2020-11-25 11:47:57 +01:00
Kay0u
f0d3d36365
An optional password should be either empty or strong enough 2020-11-25 11:41:00 +01:00
Kay0u
93fd101663
check if password is strong enough only if it's not an optional argument 2020-11-25 11:14:15 +01:00
Kay0u
6a550f9318
Add tests for optional args with empty input 2020-11-25 11:12:58 +01:00
Alexandre Aubin
2f19f3311e Uniformize imports (who knows if there's a completely unrelated python module called 'permission' or 'utils' maybe...) 2020-11-25 03:23:39 +01:00
Alexandre Aubin
c39bfd309d Move all the webapp permissions handling at the end of app_install to app_register_url for the sake of clarity/consistency 2020-11-25 03:22:48 +01:00
Kay0u
4ce9e4a446
set url when register and url 2020-11-24 23:10:57 +01:00
ljf (zamentur)
67e03e6f1b
[fix] Missing abuse@ 2020-11-23 09:59:43 +01:00
Alexandre Aubin
bfecb8b7dc Support more complex errors (be able to return additional data in a json structure) 2020-11-22 02:19:56 +01:00
Alexandre Aubin
3f8b922e92 Automatically translate legacy rules in /etc/ssowat/conf.json.persistent 2020-11-21 17:41:43 +01:00
Alexandre Aubin
083b3ead74 Gotta return here to not create a regular setting for legacy settings... 2020-11-16 19:15:31 +01:00
Alexandre Aubin
0aaaeef807 Backup restore: Only ask that question about 'system already installed' if some system parts are actually going to be restored... 2020-11-16 18:42:04 +01:00
Alexandre Aubin
0fa17ec2b1 Typo in previous commit, we want the interface name directly.. 2020-11-07 00:45:26 +01:00