Kay0u
|
9077569c22
|
in python3 OrderedDict and array are not the same
|
2021-01-26 12:05:05 +01:00 |
|
Kay0u
|
c1c34c11e2
|
format code
|
2021-01-25 18:50:05 +01:00 |
|
Alexandre Aubin
|
ae4087d522
|
Merge pull request #257 from YunoHost/return-additional-error-data-to-api
Support more complex errors (be able to return additional data in a json structure)
|
2021-01-23 16:05:45 +01:00 |
|
Alexandre Aubin
|
0de154678c
|
Black again, with the right version this time..
|
2021-01-20 05:59:24 +01:00 |
|
Alexandre Aubin
|
677efcf6d6
|
Black?
|
2021-01-20 05:46:05 +01:00 |
|
Alexandre Aubin
|
570e53234a
|
Drop support for python2
|
2021-01-20 05:35:35 +01:00 |
|
Alexandre Aubin
|
8105718705
|
Merge branch 'dev' into enh-python3
|
2021-01-19 23:04:25 +01:00 |
|
Laurent Peuch
|
f9454da5e7
|
[mod] trash this UX madness that is error_see_logs and improve error messages
|
2021-01-01 15:24:49 +01:00 |
|
Alexandre Aubin
|
0d58eff6a2
|
Misc encoding fixes
|
2020-12-31 23:45:48 +01:00 |
|
Laurent Peuch
|
2caf1234e8
|
[fix] no catchall exception
|
2020-12-31 23:44:23 +01:00 |
|
Laurent Peuch
|
8566eaaa1f
|
[mod] don't use catchall exceptions episode 2
|
2020-12-31 13:25:05 +01:00 |
|
Kay0u
|
b06a117c18
|
Remove unused exception
|
2020-12-04 22:21:08 +01:00 |
|
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
|
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 |
|
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 |
|
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
|
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 |
|
Kay0u
|
708b0330d2
|
black/flake8
|
2020-05-01 14:03:26 +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
|
d2f68cb536
|
We don't need to auth in CLI
|
2020-05-01 02:44:15 +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
|
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 |
|
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 |
|
Kay0u
|
85d48ae07d
|
Merge branch 'stretch-unstable' into moar-tests
|
2020-03-30 23:04:19 +02:00 |
|
Kay0u
|
eb9ecb6451
|
try catch is magic
|
2020-03-29 01:27:41 +01:00 |
|
Kay0u
|
a47a230611
|
staticmethod and format_arg_names fix
|
2020-01-14 22:45:19 +07:00 |
|
Kay0u
|
6490184333
|
format
|
2020-01-02 23:41:21 +08:00 |
|
Kay0u
|
3abde9c008
|
default use global conf
|
2020-01-02 12:59:16 +08:00 |
|
Kay0u
|
0be1d74e4a
|
set handler if no password is provided
|
2020-01-02 12:34:47 +08:00 |
|
Kay0u
|
ce5d7ddaf0
|
fix conf authenticate all
|
2020-01-02 12:31:35 +08:00 |
|
Kay0u
|
94ccd9b05c
|
use the right authenticator
|
2020-01-02 12:30:43 +08:00 |
|
Kay0u
|
ac4a4c34b1
|
use default authenticator if none is defined
|
2020-01-02 12:17:12 +08:00 |
|
Kay0u
|
6f7f870d3d
|
use default profile by default
|
2020-01-02 12:14:23 +08:00 |
|
Kay0u
|
641126e344
|
Minimal change to support python3
|
2019-12-20 16:09:57 +08:00 |
|
decentral1se
|
54b8cab133
|
Apply Black on all the code base
|
2019-11-25 17:21:13 +01:00 |
|
Alexandre Aubin
|
6899217fa0
|
Make linter gods happy
|
2019-08-21 16:22:16 +02:00 |
|
Alexandre Aubin
|
3822496622
|
Try to improve semantic : s_hash -> s_token
|
2019-08-20 19:53:51 +02:00 |
|