Maxime Alves LIRMM@home
|
e1c3d61207
|
Rajout de l'argument "doc" sur la route /halfapi/acls
|
2021-04-22 11:45:12 +02:00 |
Maxime Alves LIRMM@home
|
cd0df35496
|
[tests][lib/responses] format des dates ORJSON + update deps (fix bug dates)
|
2021-03-12 19:02:23 +01:00 |
Maxime Alves LIRMM@home
|
607a288e28
|
[debug] ajout des routes /error/{code:str} et /exception
|
2021-03-12 18:59:30 +01:00 |
Maxime Alves LIRMM@home
|
a3d546905c
|
[update] fixage des versions des dépendances, fixage de python >= 3.7
|
2021-01-26 01:04:05 +01:00 |
Maxime Alves LIRMM@home
|
fecdaa29e5
|
[update] mise à jour du Pipfile.lock et de jwt_middleware
Upgrade de toutes les dépendances
Suppression de la dépendance à jwt
Tests : ok
|
2021-01-26 00:58:59 +01:00 |
Joël Maïzi
|
f36a2d8e06
|
[ORJSONResponse] Handle sets.
|
2021-01-25 10:44:07 +01:00 |
Maxime Alves LIRMM@home
|
54e215b6ff
|
[test][nf] added basic test methods for orjsonresponse
|
2021-01-23 09:31:35 +01:00 |
Joël Maïzi
|
a5300962ad
|
[responses] cast set to list.
|
2021-01-23 08:49:07 +01:00 |
Maxime Alves LIRMM
|
d21ee175e9
|
[responses] cast special types in ORJSONResponse
|
2021-01-14 10:55:02 +01:00 |
Maxime Alves LIRMM@home
|
f8e546007c
|
[conf] lower loglevel string
|
2020-12-04 18:12:42 +01:00 |
Maxime Alves LIRMM@home
|
8d414f2bdd
|
[config] ajout de l'option LOGLEVEL (info|debug|warning...)
|
2020-12-04 10:13:54 +01:00 |
Maxime Alves LIRMM@home
|
e61dd7eeaa
|
[logs] change level de certains messages
|
2020-12-03 18:49:37 +01:00 |
Maxime Alves LIRMM@home
|
f4ba64f186
|
[debug] added /halfapi/log as a debug route that generates all type of logs
|
2020-11-12 17:56:05 +01:00 |
Maxime Alves LIRMM@home
|
d4a6bb1a04
|
[domainMW] set "acl_pass" variable into scope
|
2020-11-09 21:27:23 +01:00 |
Maxime Alves LIRMM@home
|
5d4b8d38b4
|
0.3.1
|
2020-11-09 21:26:31 +01:00 |
Maxime Alves LIRMM@home
|
9516eaa6d7
|
RAISES when a router import fails - test your domains routers FFS
|
2020-11-04 17:02:19 +01:00 |
Maxime Alves LIRMM@home
|
56657036e4
|
Added logging for acls
|
2020-11-04 13:32:33 +01:00 |
Maxime Alves LIRMM@home
|
73d49031a7
|
handle configuration when domain does not exist
|
2020-11-04 12:31:11 +01:00 |
Maxime Alves LIRMM@home
|
4782764059
|
add request.scope['config'] when there is a section with the domains name in the project's configuration
|
2020-11-04 05:01:26 +01:00 |
Maxime Alves LIRMM@home
|
61aec6871a
|
[release][v0.3.0] Updated version to 0.3.0
|
2020-10-31 17:48:55 +01:00 |
Maxime Alves LIRMM@home
|
9a4f90d36b
|
/lib/domain - try for ImportError bug
|
2020-10-27 13:07:49 +01:00 |
Maxime Alves LIRMM
|
64e60343bf
|
[conf] Clean of DOMAINS global variable
|
2020-10-27 13:07:49 +01:00 |
Maxime Alves LIRMM
|
4df34b5d87
|
logging
|
2020-10-27 13:07:49 +01:00 |
Maxime Alves LIRMM
|
24c68b51f2
|
[lib] ORJSONResponse can now accept specific encoders
|
2020-10-26 15:12:03 +01:00 |
Maxime Alves LIRMM
|
d31efe3cc4
|
[deps] removed half_orm from dependencies
|
2020-10-20 08:25:50 +02:00 |
Maxime Alves LIRMM
|
e590bc31fe
|
[doc] lib/domain, lib/domain_middlware
|
2020-10-07 16:13:54 +02:00 |
Maxime Alves LIRMM
|
3959e6d614
|
[tests] add dummy_domain as a testing dependency (because domains can't
be "not installed" in sys.path)
|
2020-10-07 15:51:24 +02:00 |
Maxime Alves LIRMM
|
1e1ff2fb69
|
[routes] skip acls that are falsy
|
2020-10-07 15:50:50 +02:00 |
Maxime Alves LIRMM
|
63b73a2bc1
|
[middleware][domain] load api and acl objects at each call (TODO: use a cache)
|
2020-10-07 15:49:49 +02:00 |
Maxime Alves LIRMM
|
710d390b49
|
[cli][conf] suppression of BASE_DIR option (now defaults to os.getcwd)
|
2020-10-07 15:48:48 +02:00 |
Maxime Alves LIRMM
|
cb5724b4fa
|
[doc] lib/domain_middleware
|
2020-10-07 13:37:31 +02:00 |
Maxime Alves LIRMM
|
23bd876c4c
|
[conf] fix list comprehension
|
2020-10-07 09:55:03 +02:00 |
Maxime Alves LIRMM
|
40547ddf30
|
[tests][OK] Using a dummy_domain, adding it and listing it's routes
|
2020-10-07 09:55:03 +02:00 |
Maxime Alves LIRMM
|
f5ebabbcd4
|
[refactor] update to avoid using global variables, and configuration are not stored in /etc/half_api anymore
Added domain_middleware
|
2020-10-07 09:55:03 +02:00 |
Maxime Alves LIRMM
|
781736c151
|
[logs] print -> logger lib.domain
|
2020-10-07 09:55:03 +02:00 |
Maxime Alves LIRMM
|
acb0a46904
|
[deps] add PyYAML to dependencies
|
2020-10-07 09:55:03 +02:00 |
Maxime Alves LIRMM
|
b651d90f0e
|
[cli] add entry point to be just "halfapi" in Pipfile (__main__.py)
|
2020-10-07 09:55:03 +02:00 |
Maxime Alves LIRMM
|
0a34948b98
|
[cli] switch halfapi import to relative imports in cli.py
|
2020-10-07 09:55:03 +02:00 |
Maxime Alves LIRMM
|
c41d0d8f8f
|
[deps] jwt->PyJWT in Pipfile
|
2020-10-07 09:54:31 +02:00 |
Maxime Alves LIRMM
|
91ea25791b
|
[doc] lib/domain.py annotation and comments
|
2020-10-07 09:54:09 +02:00 |
Maxime Alves LIRMM
|
0cd7c987e5
|
pylint lib/acl.py
|
2020-10-07 09:54:09 +02:00 |
Joël Maïzi
|
6653a0cd0a
|
Fix wrong dependency jwt -> pyjwt.
|
2020-10-05 11:39:55 +02:00 |
Maxime Alves LIRMM
|
2d51f260cd
|
[clean] remove cli/lib dir
|
2020-10-05 11:33:28 +02:00 |
Maxime Alves LIRMM
|
8fc1ba6c91
|
[doc] cli/domain.py
|
2020-10-05 11:31:53 +02:00 |
Maxime Alves LIRMM
|
9753f4be95
|
[doc] cli/run.py
|
2020-10-05 11:30:18 +02:00 |
Maxime Alves LIRMM
|
584e0b6584
|
[doc] cli/run.py
|
2020-10-05 11:29:17 +02:00 |
Maxime Alves LIRMM
|
82e2ccbdbc
|
[tests] fix tests according to abfaf2e1
|
2020-10-05 11:28:50 +02:00 |
Maxime Alves LIRMM
|
a6f2187032
|
[doc][style] cli/init.py
|
2020-10-05 11:23:44 +02:00 |
Maxime Alves LIRMM
|
1ee5da1588
|
[tests][jwt] fixs tests according to abfaf2e1
|
2020-10-05 11:18:47 +02:00 |
Maxime Alves LIRMM
|
1d0d3563cb
|
[style] Clean cli/__init__.py
|
2020-10-05 11:10:34 +02:00 |