Commit Graph

454 Commits

Author SHA1 Message Date
Maxime Alves LIRMM 3530f53820 [routing] handle fqtn parameter in domain schema + get_api_routes (/) + /user -> /halfapi/current_user 2020-09-28 17:22:27 +02:00
Maxime Alves LIRMM@home f0d980e035 [0.2.0] Remove any reference to databases, clean clode, doc 2020-09-25 01:06:57 +02:00
Maxime Alves LIRMM@home 246c9224e3 [tests] all tests updated to fit new fixture 2020-09-25 01:06:21 +02:00
Maxime Alves LIRMM@home 70723ea580 [tests] add acl.py to dummy_domain 2020-09-25 01:05:27 +02:00
Maxime Alves LIRMM@home 4ef7ae377a [deps] add orjson dependency 2020-09-24 20:48:52 +02:00
Maxime Alves LIRMM@home 6a81c61649 [cli][domain] Re-implementation of list_routes, using .lib.schemas, add DOMAINSDICT constant in configuration, set a lot of default configurations 2020-09-24 19:49:16 +02:00
Maxime Alves LIRMM 2ad0b3a14b [doc][route] /schema - implementation of doc generation 2020-09-23 15:23:36 +02:00
Maxime Alves LIRMM 2610d9f089 forgot to import typ 2020-09-23 11:15:53 +02:00
Maxime Alves LIRMM 65797873da [lib][responses] include new responses in __all__ 2020-09-23 11:00:59 +02:00
Maxime Alves LIRMM d6075de2eb [lib][responses] add ORJSONResponse and update HJSONResponse 2020-09-23 10:56:32 +02:00
Maxime Alves LIRMM 39d455b682 if the route begin with a "/" we remove it 2020-09-22 16:11:32 +02:00
Maxime Alves LIRMM a78e6ebc75 [wip][routing] get_fct_name update 2020-09-22 15:46:58 +02:00
Maxime Alves LIRMM 5f7d66d4d6 [wip][routing] updated lib.domain function names 2020-09-22 14:54:45 +02:00
Maxime Alves LIRMM 38798549f6 [wip][app] adapt code to new router functions 2020-09-22 14:11:00 +02:00
Maxime Alves LIRMM ba44a01a45 [wip][routing] update routes scanner functions in lib.routes 2020-09-22 14:04:19 +02:00
Maxime Alves LIRMM c54101c3e6 [wip][routing] add routing functions in /lib/domains 2020-09-22 12:57:36 +02:00
Maxime Alves LIRMM 7337246fc1 [lib][routes] fix dict construction 2020-09-21 11:26:51 +02:00
Maxime Alves LIRMM 142ea24630 [routing] add the ACL name that returned True 2020-09-18 15:31:36 +02:00
Maxime Alves LIRMM bcc4a3e9d8 [routing] gives "keys" of the Acl row to the endpoint as kwargs 2020-09-18 11:59:44 +02:00
Maxime Alves LIRMM e8ed06a9b6 update api.sql with acl.keys 2020-09-16 14:18:37 +02:00
Joël Maïzi 31a8f68a0a [cli][domain] Remove misplaced elif in add_acls. 2020-09-16 12:21:52 +02:00
Maxime Alves LIRMM c97fa3b4c2 [acls] added "fields" value for acl table 2020-09-16 11:46:45 +02:00
Maxime Alves LIRMM 87cc59849a [acl] pass path_params arguments to next function as kwargs 2020-08-31 13:08:03 +02:00
Maxime Alves LIRMM@home 1b40b95d19 [auth] fix bug when "debug flag" = False in token 2020-08-27 18:09:48 +02:00
Maxime Alves LIRMM@home 51722b73f8 [package] fixed the "scripts" section of Pipfile 2020-08-27 17:47:58 +02:00
Maxime Alves LIRMM@home d944d45bbf [auth] added "debug flag" check and wrote relative tests close #12 2020-08-27 17:45:23 +02:00
Maxime Alves LIRMM ed54127c81 [cli] added the "config" command to the CLI, updated tests 2020-08-27 11:27:28 +02:00
Maxime Alves LIRMM 8d2be99068 [package] fixed some paths 2020-08-27 09:54:48 +02:00
Maxime Alves LIRMM 2389d67749 [conf] sets the HALFAPI_PROD environment variable 2020-08-26 14:06:53 +02:00
Maxime Alves LIRMM@home 30651ec19b [deps] jwt -> PyJWT 2020-08-07 02:08:22 +02:00
Maxime Alves LIRMM@home bdc131434b [conf] set SECRET in environ 2020-08-07 01:58:41 +02:00
Maxime Alves LIRMM@home 3849ba4500 [cli][domain] one more thing 2020-08-07 00:30:59 +02:00
Maxime Alves LIRMM@home 05a95d069b [cli][domain] continue to convert code ... 2020-08-07 00:28:46 +02:00
Maxime Alves LIRMM@home 63793a94e5 [cli][domain] forgot to remove argument 2020-08-07 00:26:29 +02:00
Maxime Alves LIRMM@home 51c319de20 [cli][domain] continue -> return 2020-08-07 00:24:58 +02:00
Maxime Alves LIRMM@home 976ba9b808 [cli][domain] update_db is now run with a string as argument 2020-08-07 00:19:10 +02:00
Maxime Alves LIRMM@home cdcf8d034d [cli][domain] clean debug code 2020-08-07 00:09:57 +02:00
Maxime Alves LIRMM@home b4302f50e4 [conf] moved "domains" section to .halfapi/config 2020-08-07 00:02:59 +02:00
Maxime Alves LIRMM@home c4872ec0b3 [cli][tests] Changed the routes names and wrote the tests according to current configuration 2020-08-07 00:00:33 +02:00
Maxime Alves LIRMM@home ad1304f8d4 [tests][cli] first tests for post-init phase 2020-08-06 23:39:04 +02:00
Maxime Alves LIRMM@home 7c4eafb40c [cli][domain] better output for list_routes 2020-08-05 21:48:29 +02:00
Maxime Alves LIRMM@home 63bd4c8db6 [domain] changed "route" command to "domain", fixed "list_routes" 2020-08-05 21:26:59 +02:00
Maxime Alves LIRMM 914cb149e1 [tests][cli] fixed cli import 2020-08-05 14:28:55 +02:00
Maxime Alves LIRMM 6a65aaeaef [cli][tests] split cli __init__ module, added check for .halfapi/config 2020-08-05 14:01:39 +02:00
Maxime Alves LIRMM 155bab1e8f [cli] split cli/__init__ into multiple files 2020-08-05 14:01:39 +02:00
Maxime Alves LIRMM 60877762c0 [cli] moved run command to its own file 2020-08-05 14:01:39 +02:00
Joël Maïzi d164ad001a [lib] Add HJSONResponse. 2020-08-05 12:58:05 +02:00
Maxime Alves LIRMM 446db4ee27 [cli] renamed init-project to init 2020-08-05 12:30:11 +02:00
Maxime Alves LIRMM 7ff8d803ee [tests][cli] added tests for domain command 2020-08-05 12:28:37 +02:00
Maxime Alves LIRMM 048d06de37 [tests] moved cli tests to one file with incremental tests (exits if one fails) 2020-08-05 12:28:37 +02:00