Kay0u
|
1d73dac969
|
fix tests
|
2020-12-04 22:16:32 +01:00 |
|
Kay0u
|
bd27799283
|
Merge remote-tracking branch 'origin/dev' into enh-python3
|
2020-12-04 22:15:36 +01:00 |
|
Kay0u
|
b31e2b026e
|
format
|
2020-12-04 16:38:12 +01:00 |
|
Alexandre Aubin
|
dfb88418f1
|
Support more complex errors (be able to return additional data in a json structure)
|
2020-11-22 02:18:22 +01:00 |
|
Alexandre Aubin
|
f01466d6ef
|
Always strip() the output of check_output
|
2020-10-31 18:53:40 +01:00 |
|
Alexandre Aubin
|
923e394d0b
|
Allow python functions to return a raw HTTPResponse
|
2020-09-06 21:24:50 +02:00 |
|
Alexandre Aubin
|
5feddfa93a
|
Merge branch 'dev' into 4.1
|
2020-09-05 18:43:30 +02:00 |
|
Alexandre Aubin
|
2501ecda56
|
Ugly hack to have the name of the main logger, otherwise error/exception messages ain't displayed
|
2020-08-27 19:21:48 +02:00 |
|
Kayou
|
be6ff8e12a
|
code format
|
2020-08-21 17:21:49 +02:00 |
|
Alexandre Aubin
|
d9fa6c7858
|
Fix api18n : it should return a wrapper and not the callback directly. Current code led to some weird incorrect locale sometimes
|
2020-08-21 16:40:19 +02:00 |
|
Alexandre Aubin
|
4635c555d8
|
Merge pull request #245 from YunoHost/simplify-interface-init
Simplify interface initialization + ugly optimization hack to speed up parser building
|
2020-08-14 15:39:31 +02:00 |
|
Alexandre Aubin
|
024cadf426
|
Get rid of legacy code which breaks postinstall on buster for some reason
|
2020-07-27 20:24:30 +02:00 |
|
Alexandre Aubin
|
7818f07ed1
|
Update authorship/maintainer information
|
2020-05-26 23:53:02 +02:00 |
|
Kay0u
|
7fed0e5051
|
fix linter
|
2020-05-12 19:13:37 +02:00 |
|
Alexandre Aubin
|
f967bed370
|
Locale lib sometimes miserably fails to parse locale ~.~
|
2020-05-12 18:03:59 +02:00 |
|
Alexandre Aubin
|
51bb878f15
|
Merge pull request #247 from YunoHost/auto-restart-ldap
[fix] try to autorestart ldap when the server is down
|
2020-05-07 22:13:47 +02:00 |
|
Bram
|
f2e9f26e52
|
Update moulinette/authenticators/ldap.py
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
|
2020-05-07 21:53:38 +02:00 |
|
Alexandre Aubin
|
095105685a
|
Merge pull request #244 from YunoHost/less-spooky-message-for-expired-session
Less spooky messages when session expired
|
2020-05-07 19:51:09 +02:00 |
|
Alexandre Aubin
|
01e064b642
|
Typo :|
|
2020-05-07 19:33:27 +02:00 |
|
Alexandre Aubin
|
840f27d2fb
|
Print the goddamn traceback
|
2020-05-07 00:34:36 +02:00 |
|
Alexandre Aubin
|
d946ee92a9
|
Merge pull request #243 from YunoHost/handle-stupid-cookie-cache-issue
try/catch around request.get_cookie to catch stupid CookieError
|
2020-05-07 00:10:40 +02:00 |
|
Laurent Peuch
|
b97ac05aad
|
[fix] try to autorestart ldap when the server is down
|
2020-05-04 14:00:03 +02:00 |
|
Kay0u
|
708b0330d2
|
black/flake8
|
2020-05-01 14:03:26 +02:00 |
|
Kay0u
|
e8309384e5
|
fix tests
|
2020-05-01 14:00:10 +02:00 |
|
Alexandre Aubin
|
677f4518e4
|
Ugly hack to only load 1 category to speed up execution time
|
2020-05-01 05:43:32 +02:00 |
|
Alexandre Aubin
|
89ad543797
|
Tweaking debug messages
|
2020-05-01 04:33:14 +02:00 |
|
Alexandre Aubin
|
559f40a4ea
|
Another round of simplification for interface init...
|
2020-05-01 03:58:37 +02:00 |
|
Alexandre Aubin
|
c750226a3b
|
We don't need no namespaces ... but let's it customizable through a var env if needed...
|
2020-05-01 03:48:01 +02:00 |
|
Alexandre Aubin
|
1849d1aa3b
|
Simplify(?) ActionsMap initialization by removing some obscure kwargs handling
|
2020-05-01 03:07:25 +02:00 |
|
Alexandre Aubin
|
57d1b2b6db
|
Bit of tidying up
|
2020-05-01 02:44:15 +02:00 |
|
Alexandre Aubin
|
d2f68cb536
|
We don't need to auth in CLI
|
2020-05-01 02:44:15 +02:00 |
|
Alexandre Aubin
|
a34fb7c665
|
We don't need to be able to auth in cli
|
2020-05-01 02:44:15 +02:00 |
|
Alexandre Aubin
|
fce96ad48f
|
We don't need to be able to not use the cache...
|
2020-05-01 02:44:13 +02:00 |
|
Alexandre Aubin
|
b6258de2db
|
We don't need to be able to disable websocket
|
2020-05-01 02:43:25 +02:00 |
|
Alexandre Aubin
|
eb6d56f7ab
|
Simplify(?) interface initialization
|
2020-05-01 02:43:11 +02:00 |
|
Alexandre Aubin
|
b42ed7be7a
|
Less spooky messages when session expired
|
2020-04-30 17:59:47 +02:00 |
|
Alexandre Aubin
|
1049a28d6a
|
Computer ain't happy because *SPAECIZE*
|
2020-04-25 17:29:27 +02:00 |
|
Alexandre Aubin
|
0033c6f0ec
|
try/catch around request.get_cookie to catch stupid CookieError
|
2020-04-25 17:17:45 +02:00 |
|
Alexandre Aubin
|
6f1133b205
|
The hell with 'pythonic try/except' ... Just use a goddamn if/else for that kind of stuff
|
2020-04-23 04:26:00 +02:00 |
|
Kay0u
|
0f37a70f27
|
Fix tests
|
2020-04-10 00:12:19 +02:00 |
|
Alexandre Aubin
|
628ffc9da1
|
Report the actual error when ldap fails
|
2020-04-09 19:05:20 +02:00 |
|
Alexandre Aubin
|
3a3ce804d6
|
Wat da fuke pytz
|
2020-04-02 23:44:15 +02:00 |
|
Alexandre Aubin
|
6e5b389e71
|
Merge branch 'stretch-unstable' into enh-python3
|
2020-04-01 19:41:11 +02:00 |
|
Alexandre Aubin
|
d1ea1b606f
|
Merge pull request #226 from frju365/patch-1
[fix] Return nothing if argument is already set.
|
2020-04-01 19:30:38 +02:00 |
|
Kay0u
|
d4ecac199d
|
admincn -> admindn
|
2020-04-01 18:35:21 +02:00 |
|
Kayou
|
c6806af2ee
|
Fix postinstall
|
2020-04-01 18:35:21 +02:00 |
|
Kay0u
|
cba7c7e209
|
Fix format
|
2020-03-30 23:08:12 +02:00 |
|
Kay0u
|
85d48ae07d
|
Merge branch 'stretch-unstable' into moar-tests
|
2020-03-30 23:04:19 +02:00 |
|
Kay0u
|
a10b40ed8d
|
Remove _encode_dict
|
2020-03-30 22:56:22 +02:00 |
|
Kay0u
|
f6e92d84b8
|
avoid hardcoded values in ldap
|
2020-03-29 01:28:09 +01:00 |
|