Commit graph

3044 commits

Author SHA1 Message Date
Josué Tille
29bf70c57c Add hook name in return structure in hook_callback 2018-08-29 19:02:30 +02:00
Josué Tille
b7554dec21 Use json for return 2018-08-29 18:45:48 +02:00
Josué Tille
b64196c47d Change return of hook_exec everywhere 2018-08-29 18:45:10 +02:00
Josué Tille
70d0f8a68f Add return value in hook_exec 2018-08-29 18:44:45 +02:00
Alexandre Aubin
dfd1a8b1a6
Merge pull request #514 from YunoHost/enh-add-fale-hwclock
[enh] Add fake-hwclock
2018-08-29 13:30:02 +02:00
Alexandre Aubin
fa2d80bce7
Remove sudo 2018-08-29 13:27:25 +02:00
Alexandre Aubin
62c8f577c9
Remove old sudo 2018-08-29 13:25:29 +02:00
ljf
4a1363489a [fix] Bad indentation 2018-08-29 03:07:00 +02:00
ljf
0a633e74d7 [enh] Change the way password.py interract with ssowat 2018-08-29 01:25:28 +02:00
ljf
ca91a9cae5 [enh] Protect password 2018-08-29 01:09:13 +02:00
ljf
536b46e527 [enh] Support advice with standalone password.py 2018-08-28 21:34:33 +02:00
Maniack Crudelis
7f7fb80b38
Add ynh_delete_file_checksum 2018-08-28 16:49:20 +02:00
ljf
783c512628 [enh] PasswordValidator without Moulinette 2018-08-28 08:56:12 +02:00
ljf
67e82111c1 [enh] Validate pwd with Online Pwned List 2018-08-28 03:09:43 +02:00
ljf
0c33ad50fc [enh] Validate pwd with Online Pwned List 2018-08-28 03:09:12 +02:00
Alexandre Aubin
e0533a1a6a
Really important contribution to the PR 🥷 2018-08-28 00:29:24 +02:00
Maniack Crudelis
0fd9e179f1
Add ynh_check_app_version_changed
- Add the new helper ynh_check_app_version_changed to check the version before an upgrade
- Add also the helpers ynh_read_manifest, ynh_app_upstream_version and ynh_app_package_version.
- These previous helper have been modified (from the experimental version) to support getopts
- ynh_check_app_version_changed has been modified to use ynh_app_upstream_version
2018-08-28 00:14:37 +02:00
Maniack Crudelis
7752bc0fb7
Update fail2ban helpers from experimental helpers. 2018-08-27 21:51:36 +02:00
Maniack Crudelis
45ad53eb43
Add the internal helper ynh_handle_getopts_args 2018-08-27 21:44:22 +02:00
Irina LAMBLA
c5b5f2eb35 [fix] 'dyndns update' should check the upstream dns record
fix #1063
2018-08-27 20:37:44 +02:00
ljf
06276a621b [enh] Check password in cli/api 2018-08-27 03:40:50 +02:00
ljf
cda8bcf206 Merge branch 'stretch-unstable' of https://github.com/YunoHost/yunohost into cracklib 2018-08-27 01:01:02 +02:00
ljf (zamentur)
a7c310810a
Merge branch 'stretch-unstable' into enh-add-fale-hwclock 2018-08-27 00:10:09 +02:00
Josue-T
cdd510642f Set equiv as base dependance (#515) 2018-08-25 19:45:55 +02:00
ljf (zamentur)
90d265d8e2
[enh] Add fake-hwclock
Fake-hwclock save the clock each hours and at shutdown. On boot, it will check if the current date is under the registered date and if it's the case load the registered date. This is needed to be able to make TLS/openvpn authentication securely.
2018-08-25 11:58:38 +02:00
Alexandre Aubin
36c2876d76 Update changelog 2018-08-23 19:45:55 +00:00
Alexandre Aubin
c36ba42809
Merge pull request #383 from YunoHost/app-stdinfo
[enh] Add ynh_info helper for app scripts
2018-08-23 21:25:45 +02:00
Alexandre Aubin
0eaee300c6
Merge branch 'stretch-unstable' into app-stdinfo 2018-08-23 21:25:29 +02:00
Alexandre Aubin
477cf18a68
Merge pull request #463 from YunoHost/ynh-render-template-with-jinja2
[enh] Add ynh_render_template helper to render templates with jinja2
2018-08-23 21:22:53 +02:00
Alexandre Aubin
4ffbf6bfff
Merge pull request #331 from YunoHost/fix-srs
[fix] Attempt to fix Sender Rewriting Scheme with postsrsd
2018-08-23 21:22:22 +02:00
Alexandre Aubin
6f2de77f54
Merge pull request #165 from YunoHost/journals
journals/operational logs
2018-08-23 21:21:42 +02:00
ljf
dc19646504 [fix] Remove old migration call 2018-08-23 19:16:27 +02:00
ljf
775a16d883 [enh] Rename uo in operation_logger 2018-08-23 18:59:44 +02:00
Bram
860f740810
[fix] bad call 2018-08-22 19:30:58 +02:00
Alexandre Aubin
f7563b2cb4
Merge branch 'stretch-unstable' into app-stdinfo 2018-08-22 18:42:23 +02:00
Alexandre Aubin
93cb07ed61 Add status code to error message 2018-08-22 16:27:11 +00:00
Alexandre Aubin
b09d71f40b Add timeout to POST request 2018-08-22 16:26:44 +00:00
Alexandre Aubin
cc33e493f1 Update changelog for 3.1.0 2018-08-15 19:40:06 +00:00
Alexandre Aubin
ff33d8c3c8
Merge pull request #512 from YunoHost/better_error_path_conflict
Better error path conflict
2018-08-15 19:00:32 +02:00
Alexandre Aubin
78f47c0e55
Merge pull request #513 from YunoHost/more-agressive-deprecation-messages
More agressive deprecation messages for app checkurl and initdb
2018-08-15 19:00:20 +02:00
ljf (zamentur)
39639044ca
Merge branch 'stretch-unstable' into journals 2018-08-10 16:08:07 +02:00
ljf
a43b3dfa18 [fix] Pep8 2018-08-10 15:59:36 +02:00
ljf
6c18e51b82 [enh] Replace string strange list 2018-08-10 15:40:00 +02:00
Alexandre Aubin
625e870008 Revert "[enh] Don't display log advertisement if not needed"
This reverts commit 37c5547755.
2018-08-10 00:52:46 +02:00
Alexandre Aubin
77b7f96b33 Remove 'auto' option, essentially irrelevant if we want to properly manage errors 2018-08-09 00:24:31 +00:00
Alexandre Aubin
5e99db7c63 Explicitely tell when to start the uo logging to avoid displaying the message about logs when not needed 2018-08-08 17:05:52 +00:00
Alexandre Aubin
a637be20bf More agressive deprecation messages for app checkurl and initdb 2018-08-08 16:05:14 +02:00
ljf
37c5547755 [enh] Don't display log advertisement if not needed 2018-08-06 02:19:23 +02:00
Alexandre Aubin
5e5ac0be50 Clarify handling of 'not-really-unitary' operations ô.o 2018-08-05 23:34:13 +00:00
Laurent Peuch
9a73e34c96 [fix] test was bad, we don't want any conflicts 2018-08-06 01:22:43 +02:00