Commit graph

35 commits

Author SHA1 Message Date
Alexandre Aubin
db3cc62bc7 Add ssh.app, sftp.app groups to cover my_webapp and borg needing ssh access 2021-04-24 17:26:03 +02:00
3699648265 helper doc fixes : user 2021-03-03 11:17:59 +01:00
Alexandre Aubin
53576a43e1
Merge pull request #1160 from YunoHost/use-jq-in-helpers
Use jq / output-as json to get info from yunohost commands instead of scraping with grep
2021-02-25 04:20:24 +01:00
Alexandre Aubin
ac38e53a7c Remove getopts from ynh_exec_as 2021-02-03 16:50:04 +01:00
Alexandre Aubin
06185a2392 Use jq / output-as json to get info from yunohost commands instead of scraping with grep 2021-02-02 03:45:13 +01:00
ericgaspar
43f121baed
Move ynh_exec_as helper to user section 2021-01-28 08:07:53 +01:00
Maniack Crudelis
defabdbecb
Missing argument
Co-Authored-By: Kayou <pierre@kayou.io>
2020-04-24 23:56:49 +02:00
Maniack Crudelis
03379007b4 Update YunoHost version requirements 2020-04-21 14:48:52 +02:00
Maniack Crudelis
3b653994c7 Standardize helper comments 2020-04-20 20:58:17 +02:00
Maniack Crudelis
b0398ae6dc Use long arguments instead of short ones 2020-04-20 15:20:31 +02:00
Maniack Crudelis
57061b8e1d Unfold if-then when more than one line 2020-04-19 20:31:06 +02:00
Maniack Crudelis
80964a1312 Standardize tabulations 2020-04-19 20:03:55 +02:00
Maniack Crudelis
1dd4a73e17 Replace declare -Ar by local A for args_array 2020-04-19 19:10:39 +02:00
Alexandre Aubin
97e5d3b992 Remove those random sudo which are useless yet triggers LDAP warning when LDAP is in bad state 2019-11-28 00:10:40 +01:00
Alexandre Aubin
7523ef3aed Remove unecessary log messages 2019-05-15 20:00:37 +02:00
Maniack Crudelis
30c776702f Use printers in helpers 2019-04-13 18:21:15 +02:00
Alexandre Aubin
a9761d356b Update script to automatically generate helper documentation 2019-04-08 18:59:04 +02:00
Maniack Crudelis
e8da94ddf0
Merge branch 'stretch-unstable' into helpers_min_version 2019-03-18 07:56:12 +01:00
Maniack Crudelis
1507e11e6e
Do not warn if group isn't exist 2019-03-13 19:32:10 +01:00
Maniack Crudelis
485cb4b5c7
[fix] Delete properly group as well as user 2019-03-13 18:42:07 +01:00
Maniack Crudelis
873bf4ae37 Add min version for all helpers 2019-02-25 18:44:21 +01:00
Maniack Crudelis
5f0fc73dce
Merge branch 'stretch-unstable' into use_getops 2019-01-31 13:55:58 +01:00
Maniack Crudelis
a06ace4aa8
[fix] Fix home_dir unset in ynh_system_user_create 2019-01-27 23:46:26 +01:00
Maniack Crudelis
e14d897c13
Merge branch 'stretch-unstable' into use_getops 2019-01-27 23:11:50 +01:00
Maniack Crudelis
aa3a137f3d
Use getopts 2019-01-21 20:24:02 +01:00
Maniack Crudelis
976f160afb Fix getopts and its legacy mode 2019-01-04 17:11:49 +01:00
Maniack Crudelis
0aa8a2ede3
Use getopts helpers in user 2018-12-29 18:51:39 +01:00
Maniack Crudelis
6425117c4d
Use getopts for user's helpers 2018-12-29 18:12:33 +01:00
Jimmy Monin
24449a5004 Update ynh_system_user_create comment with explicit examples 2018-05-08 09:21:41 +02:00
Jimmy Monin
5f23751479 Update ynh_system_user_create helper to allow creating users with login shell 2018-04-29 17:43:13 +02:00
Alexandre Aubin
e15ccdf0b7
Microdecison: more weird spaces 2018-01-27 20:06:16 +01:00
Maniack Crudelis
3a3ec7d9b5 [fix/enh] Use local variables 2017-12-17 20:26:52 +01:00
Maniack Crudelis
abb9f44b87 Nouveaux helpers ynh_system_user_create et ynh_system_user_delete
Helpers pour créer un utilisateur système et pour le supprimer.

La création d'user système permettra de créer des users dédiés aux applications. Cf YEP 3.4
2017-01-23 00:48:56 +01:00
Jérôme Lebleu
dea0c16540 [enh] Add a ynh_user_list helper 2016-04-02 11:49:01 +02:00
Julien Malik
5b7e16384e [enh] move /usr/share/yunohost/apps/helpers to /usr/share/yunohost/helpers since it became of more general use 2016-03-12 00:12:59 +01:00
Renamed from data/apps/helpers.d/user (Browse further)