Commit graph

36 commits

Author SHA1 Message Date
Laurent Peuch
9b700e0a37 [fix] sometime we get an empty string 2018-06-25 15:16:31 +02:00
Laurent Peuch
7207a3218d [fix] pep8 2018-01-05 02:22:42 +01:00
Alexandre Aubin
0665cb4dd5 Allow to give lock to multiple processes (#154)
* Check also son_of_locked for self
* Check again that we're son of locked when trying to acquire lock
* Support having multiple PIDs in lock file..
* Fix/improve son_of_lock detection
2017-10-08 23:49:21 +02:00
Laurent Peuch
276b2013fe [mod] try to play with build-depends 2017-08-22 15:52:11 +02:00
Laurent Peuch
c73cca3f40 [fix] bad hack to handle the limitation of our buildchain 2017-08-20 03:48:20 +02:00
Alexandre Aubin
d28990350c pep8 <3 2017-08-13 17:18:17 -04:00
Alexandre Aubin
ab47f30f18 Forget about the old BYPASS_LOCK thing from actionmap 2017-08-13 16:40:44 -04:00
Alexandre Aubin
9006f8980f [enh] Check if parent already has lock 2017-08-13 16:22:58 -04:00
Laurent Peuch
7266e7de15 [mod] rename variable 2017-07-26 05:31:38 +02:00
Laurent Peuch
e2ff1dca39 [mod] simplify code again 2017-07-26 05:28:56 +02:00
Laurent Peuch
b8b3c8db9f [mod] simplify, called code should never raised 2017-07-26 05:27:11 +02:00
Laurent Peuch
c326ae2c2b [mod] clean code of try/cache mess 2017-07-26 05:25:09 +02:00
Laurent Peuch
ffdb535918 [mod] simplifu code, remove global pkg object 2017-07-26 05:14:36 +02:00
Laurent Peuch
b4d36b2d3e [mod] more eleguant way of removing globals: from moulinette import m18n, pkg works 2017-07-25 21:19:51 +02:00
Laurent Peuch
863c3dd050 [mod] proposition to remove globals magic 2017-07-25 16:18:09 +02:00
Laurent Peuch
f931976667 [mod] continue with pep8 2016-12-18 01:53:49 +01:00
Laurent Peuch
897ad08183 [mod] autopep8 2016-12-18 01:15:40 +01:00
Laurent Peuch
d8313e84aa [enh] don't timeout by default on cli 2016-12-15 13:23:15 +01:00
Jérôme Lebleu
add073d855 [enh] Check for stale lock file 2016-03-13 19:04:34 +01:00
Jérôme Lebleu
79a10628a4 [fix] Log exception too if a key cannot be translated 2015-12-24 10:31:40 +01:00
Jérôme Lebleu
3d589b59d7 [fix] Prevent malformed translation issue 2015-10-05 14:57:58 +02:00
Jérôme Lebleu
ab6d8c529f [fix] Do not translate authenticator's help message in MoulinetteSignals 2014-11-21 11:06:29 +01:00
Jérôme Lebleu
d840d11427 [enh] Manage several namespaces in Moulinette18n 2014-11-17 15:30:55 +01:00
Jérôme Lebleu
1b0aa97cd7 [enh] Be more verbose in modules using new logging facilities 2014-10-25 13:51:17 +02:00
Jérôme Lebleu
94db1ace38 [fix] Do not fail if no namespace is loaded for translations 2014-06-03 14:24:27 +02:00
Jérôme Lebleu
6842d726cc [fix] Retrieve authenticator help translation at a better better place 2014-06-03 14:14:16 +02:00
Jérôme Lebleu
7145039e89 [fix] Encode translated string before formating it 2014-06-02 20:48:34 +02:00
Jérôme Lebleu
90bd495096 [enh] Manage arguments in translation - and try to fix encoding (again) 2014-05-30 18:52:13 +02:00
Jérôme Lebleu
1ab91440f1 [fix] Fix encoding issue due to Python 2 in i18n and cli prompting 2014-05-29 14:55:06 +02:00
Jérôme Lebleu
d7f2151d78 [fix] Allow anything in notimplemented function for signals 2014-05-16 23:34:23 +02:00
Jérôme Lebleu
95d2e0c54f [fix] Return utf-8 encoded strings in Translator 2014-05-16 18:32:54 +02:00
Jérôme Lebleu
24cbd03d47 [enh] Add i18n \o/ 👏 2014-05-15 01:00:43 +02:00
root
8bdb79cfba Fix error message which can make crazy 2014-05-13 01:40:52 +02:00
kload
962b78329f [enh] Adapt yunohost_hook.py and allow bypass of the locking process 2014-04-24 11:35:18 +00:00
Jerome Lebleu
183ed78dc4 Move signals into moulinette core and uptade interfaces
* Replace ActionsMapSignals to MoulinetteSignals and make it available through 'msignal' global variable
* Update interfaces to support signals changes
* Add a new signal 'display' and implement it in the cli
2014-03-27 02:48:35 +01:00
Jerome Lebleu
7258e21adb Move src/moulinette to the root 2014-03-26 01:50:14 +01:00
Renamed from src/moulinette/core.py (Browse further)