Commit graph

13 commits

Author SHA1 Message Date
Jérôme Lebleu
3ed502894c [fix] Skip hidden and temp files in hook_list 2016-04-10 19:20:40 +02:00
Jérôme Lebleu
a26d921c0c [fix] Formatting 'args' in hook_callback is useless 2016-04-10 16:50:39 +02:00
Jérôme Lebleu
cf077a50aa [enh] Add pre/post script execution callbacks to hook_callback 2016-04-10 16:48:46 +02:00
Jérôme Lebleu
de08c14aa1 [enh] Allow to set script execution directory in hook_exec 2016-03-28 21:49:11 +02:00
opi
4cabb2f7f9 [enh] Use named arguments with m18n. 2016-03-27 15:56:41 +02:00
opi
7999293438 [enh] Display hook path on error message. 2016-03-27 11:26:41 +02:00
Jérôme Lebleu
94ce22f9d5 [enh] Pass app id to scripts and remove hook_check action
It passes the current app id to the app install/upgrade/remove scripts
as the last argument (wip #126).
The hook category has also been revisited to move some app specific parts
away from there. The action hook_check has been removed accordingly.
2015-12-27 22:56:04 +01:00
Jérôme Lebleu
4d439217f1 [fix] Log real exception string error in hook_callback 2015-11-15 18:33:02 +01:00
Jérôme Lebleu
eaef922d4e [enh] Make use of call_async_output in hook_exec to get output in real time 2015-11-15 15:22:34 +01:00
Jérôme Lebleu
3f42d12e95 [fix] Do not modify handlers with root_handlers in bin/yunohost 2015-11-15 14:58:35 +01:00
Jérôme Lebleu
e14674af88 [enh] Split stdout/stderr wrapping in hook_exec and add a no_trace option 2015-11-14 23:13:51 +01:00
Jérôme Lebleu
b7d0e977b9 [enh] Update hook.py to use logging instead of msignals.display 2015-11-14 18:21:36 +01:00
Jérôme Lebleu
908d77f234 [ref] Rename lib folder to src 2015-10-08 15:47:24 +02:00
Renamed from lib/yunohost/hook.py (Browse further)