Maxime Alves LIRMM
0470f9fa89
[0.5.9] release
...
Squashed commit of the following:
commit 7fe3e22f5e4108b5eb149abf8d608334debc49ca
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date: Thu Sep 2 16:59:52 2021 +0200
[0.5.9] release
commit c36c0fcc982388a5acf2f9f937fa8ab54a18f3de
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date: Thu Sep 2 16:53:13 2021 +0200
[conf] fix #19 et ajout du test (test_dummy_project_router/test_get_config)
configuration du domaine accessible depuis :
l'attribut config de l'argument "halfapi" pour les fonctions
request.scope['config'] pour les fonctions async
commit cc235eee8c6f8f5d3606dda0f88156697eac296e
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date: Thu Sep 2 14:59:17 2021 +0200
[tests] don't import click two times
commit fa418478c76205bb407e536737d8e389b4bf391c
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date: Thu Sep 2 14:57:06 2021 +0200
[clean] remove unused variables, remove [] as default value in fct, raise from exc
2021-09-02 17:01:36 +02:00
Maxime Alves LIRMM
bc556854ac
Fix #21 by simplifying DomainMiddleware
...
Tests are passing, but we loose the by-domain configuration (#19 )
Squashed commit of the following:
commit d75fafcb9a043ac2540b2ac135704721b002d3c0
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date: Thu Sep 2 14:40:05 2021 +0200
fix #21
commit 38c59e4ea3b40bd230f2add2bb0e05772913c097
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date: Thu Sep 2 01:13:51 2021 +0200
[deps] starlette 0.15 (breaks tests)
FAILED tests/test_debug_routes.py::test_current_user - AttributeError: 'DomainMiddleware' object has no attribute 'call_next'
FAILED tests/test_debug_routes.py::test_log - AttributeError: 'DomainMiddleware' object has no attribute 'call_next'
FAILED tests/test_debug_routes.py::test_error - AttributeError:
'DomainMiddleware' object has no attribute 'call_next'
FAILED tests/test_dummy_project_router.py::test_get_route - AttributeError: 'DomainMiddleware' object has no attribute 'call_next'
FAILED tests/test_dummy_project_router.py::test_delete_route - AttributeError: 'DomainMiddleware' object has no attribute 'call_next'
FAILED tests/test_lib_schemas.py::test_get_api_routes - AttributeError: 'DomainMiddleware' object has no attribute 'call_next'
FAILED tests/test_lib_schemas.py::test_get_schema_route - AttributeError: 'DomainMiddleware' object has no attribute 'call_next'
FAILED tests/test_lib_schemas.py::test_get_api_dummy_domain_routes - AttributeError: 'DomainMiddleware' object has no attribute 'call_next'
2021-09-02 14:45:06 +02:00
Maxime Alves LIRMM
844f6a8f14
[packaging] 0.5.8 update to PyPi
2021-09-01 15:59:47 +02:00
Maxime Alves LIRMM
387fc01f44
[0.5.7] release, real fix for halfapi/acl route bug
2021-07-06 11:30:30 +02:00
Maxime Alves LIRMM
c2054e9aa9
[lib.domain.domain_acls] fix ROUTES constant using read_router function
2021-07-06 11:28:23 +02:00
Maxime Alves LIRMM@home
0e669b81b0
[domain] do not raise exception when the router is missing the ROUTES variable in halfapi/acls route
2021-06-30 15:13:57 +02:00
Maxime Alves LIRMM@home
c920531610
[release] 0.5.6
2021-06-25 12:21:40 +02:00
Maxime Alves LIRMM@home
bb50fae186
[lib.acl] fixes #20
2021-06-25 12:21:10 +02:00
Maxime Alves LIRMM
0c3aeb532f
[0.5.5] retablissement de la configuration par domaine
2021-06-23 15:04:37 +02:00
Maxime Alves LIRMM
8a9f93b9e0
[conf] lecture des sections du nom des domaines activés et ajout dans request.scope['config']['config']
2021-06-23 15:03:00 +02:00
Maxime Alves LIRMM
9381e1582e
[0.5.4]
2021-06-18 17:11:34 +02:00
Maxime Alves LIRMM
a539212faf
[lib.acl] fix args_check for get parameters
2021-06-18 12:08:51 +02:00
Maxime Alves LIRMM
a14285475e
[lib.domain] check if an HTTPException is raised, else raise an HTTPException(500)
2021-06-18 10:39:05 +02:00
Maxime Alves LIRMM@home
15d69efd60
[tests] /halfapi/schema
2021-06-17 19:14:39 +02:00
Maxime Alves LIRMM@home
2819483070
[doc] docstring for api_routes
2021-06-17 19:02:11 +02:00
Maxime Alves LIRMM@home
81f6cf8b39
[0.5.3]
...
Squashed commit of the following:
commit ac935db6d6
Author: Maxime Alves LIRMM@home <maxime.alves@lirmm.fr>
Date: Thu Jun 17 18:52:49 2021 +0200
[tests] remove dummy-domain from dependencies
commit 4d50363c9b
Author: Maxime Alves LIRMM@home <maxime.alves@lirmm.fr>
Date: Thu Jun 17 18:52:18 2021 +0200
[tests] update tests for 0.5.3
commit 6181592692
Author: Maxime Alves LIRMM@home <maxime.alves@lirmm.fr>
Date: Thu Jun 17 18:17:51 2021 +0200
[lib.*] Refactor libs
commit ed7485a8a1
Author: Maxime Alves LIRMM@home <maxime.alves@lirmm.fr>
Date: Thu Jun 17 18:15:10 2021 +0200
[app] Use HalfAPI class to be able to use custom configuration
à
commit fa1ca6bf9d
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date: Wed Jun 16 15:34:25 2021 +0200
[wip] tests dummy_domain
commit 86e8dd3465
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date: Tue Jun 15 18:12:13 2021 +0200
[0.5.3] ajout de la config actuelle dans les arguments des routes
commit aa7ec62c7a
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date: Tue Jun 15 11:16:23 2021 +0200
[lib.jwtMw] verify signature even if halfapi is in DEBUG mode
commit e208728d7e
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date: Tue Jun 15 10:49:46 2021 +0200
[lib.acl] args_check doesn't check required/optional arguments if "args" is not specified in request, if the target function is not async
commit aa4c309778
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date: Tue Jun 15 09:45:37 2021 +0200
[lib.domain] SUBROUTER can be a path parameter if including ":"
commit 138420461d
Author: Maxime Alves LIRMM@home <maxime.alves@lirmm.fr>
Date: Tue Jun 15 07:24:32 2021 +0200
[gitignore] *.swp
commit 0c1e2849ba
Author: Maxime Alves LIRMM@home <maxime.alves@lirmm.fr>
Date: Tue Jun 15 07:24:14 2021 +0200
[tests] test get route with dummy projects
commit 7227e2d7f1
Author: Maxime Alves LIRMM@home <maxime.alves@lirmm.fr>
Date: Mon Jun 14 17:18:47 2021 +0200
[lib.domain] handle modules without ROUTES attribute
commit 78c75cd60e
Author: Maxime Alves LIRMM@home <maxime.alves@lirmm.fr>
Date: Mon Jun 14 16:34:58 2021 +0200
[tests] add dummy_project_router tests for path-based routers (without ROUTES variable)
2021-06-17 18:53:23 +02:00
Maxime Alves LIRMM
eb68d06ac0
[0.5.2] /halfapi/acls crash if acl attribute does not exist on a route
2021-06-07 19:40:50 +02:00
Maxime Alves LIRMM
3fb6fb4ded
[0.5.1] Reactivation de la route "/halfapi/acls" (bug lors de multiples de domaines)
2021-06-07 19:30:00 +02:00
Maxime Alves LIRMM
e5a278c84c
[release] 0.5.0
2021-06-07 16:44:43 +02:00
Maxime Alves LIRMM
e0b06f51d5
[acl decorator] when check flag is activated, returns a 200 status code with empty body if no acl has passed
...
check function should always return 200. If we don't do this, we can't see the difference between a "refused" call and a "refused" check
2021-05-28 22:23:20 +02:00
Maxime Alves LIRMM
8ca94ab7ed
[acl decorator] possibility to decorate functions with "@route_acl_decorator"
2021-05-28 22:22:05 +02:00
Maxime Alves LIRMM
e4e04c6ac1
[JWTmw] add CheckUser to be used when using the "check" flag. Add "user_id" query param to check access of a specific user to a route
2021-05-28 22:18:58 +02:00
Maxime Alves LIRMM
a82fd6def0
[acl] ajout de l'acl private (test purposes)
2021-05-28 22:02:35 +02:00
Maxime Alves LIRMM@home
933f456c86
Montage des routes uniquement si les variables DOMAINDICt et SECREt sont présentes
2021-04-27 08:26:48 +02:00
Maxime Alves LIRMM@home
5276833afe
[lib/domain] ajout du dossier courant dans le path pour import de librairies dans le dossier du projet
2021-04-24 23:54:18 +02:00
Maxime Alves LIRMM@home
10b1960f4e
nettoyage / commentaires / renommage de variables - JWTUser.id deviens JWTUser.identity
2021-04-24 08:56:18 +02:00
Maxime Alves LIRMM@home
a2fb70f84b
DomainMiddleware ne vérifie plus les domaines non concernés par la première partie du path (optimisation vitesse)
2021-04-23 12:51:51 +02:00
Maxime Alves LIRMM@home
795ca3dcc0
[decorator] ajout du décorateur "args_check" pour automatiser la vérification des args requis/optionels
2021-04-22 23:36:34 +02:00
Maxime Alves LIRMM@home
5b67d938e2
Ajout du timing middleware pour le mode debug
2021-04-22 22:33:02 +02:00
Maxime Alves LIRMM@home
89ec439d3e
ajout du header x-args-required et x-args-optional
2021-04-22 22:06:27 +02:00
Maxime Alves LIRMM@home
b5ef4a12d1
Ajout du header http "x-acl" qui renseigne l'acl qui a passé dans une requête
2021-04-22 22:04:21 +02:00
Maxime Alves LIRMM@home
4eb23fd189
Ajout de l'option "check" permettant de connaître l'acl qui passe
2021-04-22 17:30:21 +02:00
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
607a288e28
[debug] ajout des routes /error/{code:str} et /exception
2021-03-12 18:59:30 +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
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
e590bc31fe
[doc] lib/domain, lib/domain_middlware
2020-10-07 16:13:54 +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
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
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
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
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
a6f2187032
[doc][style] cli/init.py
2020-10-05 11:23:44 +02:00
Maxime Alves LIRMM
1d0d3563cb
[style] Clean cli/__init__.py
2020-10-05 11:10:34 +02:00
Maxime Alves LIRMM
91581f9ae6
[docs][style] cli/config.py
2020-10-05 11:10:00 +02:00
Maxime Alves LIRMM
6ac0b5acd9
[doc] cli/cli.py
2020-10-05 11:08:27 +02:00
Maxime Alves LIRMM
77598b8453
[doc][style] document fonctions and fix variable names
2020-10-05 11:04:32 +02:00
Maxime Alves LIRMM
ad1fed7117
[doc] add docstring to conf.py
2020-10-05 10:57:40 +02:00
Maxime Alves LIRMM
59ed5884ce
[style] rename exceptions (e) as exc (pep8 style)
2020-10-05 10:55:55 +02:00
Maxime Alves LIRMM
5c4e81d5d2
[jwt_mw] Refuse DEBUG tokens in PROD mode with websockets
2020-10-05 10:55:55 +02:00
Maxime Alves LIRMM
21950aa6cd
[cli] remove lib/db
2020-10-05 10:55:55 +02:00
Joël Maïzi
abfaf2e1ea
[acls] Fix wrong key in payload for decoded JWT.
2020-10-05 10:48:00 +02:00
Maxime Alves LIRMM
333aca9e2c
[app] clean code
2020-10-05 10:09:01 +02:00
Maxime Alves LIRMM
b6e511a96d
[lib][domain/routes] clean code, use "yield from"
2020-10-04 18:09:23 +02:00
Maxime Alves LIRMM
429b26dec6
clean code + logs in conf
2020-10-04 17:27:02 +02:00
Maxime Alves LIRMM
74e0b3dc54
[acls] treat decorator as acl in route decorator
2020-09-30 10:59:03 +02:00
Joël Maïzi
31878d971e
[routes] Add halfapi routes in production.
2020-09-30 10:31:52 +02:00
Maxime Alves LIRMM
b89e03746f
[acls] Allows decorators to be used as acls (fct=acl.public).
2020-09-30 10:31:25 +02:00
Maxime Alves LIRMM
79210e503e
[acls] /halfapi/acls posé
2020-09-30 08:07:55 +02:00
Maxime Alves LIRMM
360f59b6ba
[schema] fixes non-str keys in ORJSONResponse
2020-09-29 15:29:54 +02:00
Joël Maïzi
7d6bc2c181
[router][api] Fix GET /
2020-09-29 15:08:35 +02:00
Joël Maïzi
0a94f71dad
[routing] Fix api representation (remove duplicates and fct).
2020-09-29 13:51:54 +02:00
Maxime Alves LIRMM
e223c0791c
[routing] fix route description when there is multiple verbs
2020-09-29 11:12:45 +02:00
Joël Maïzi
d93fb23bba
[0.2.1] Allows route parameters without acls. The route is deactivated.
2020-09-29 09:52:20 +02:00
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
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
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
2389d67749
[conf] sets the HALFAPI_PROD environment variable
2020-08-26 14:06:53 +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
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
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
Joël Maïzi
7f0e2d0a07
[cli] Print routes when running application.
2020-08-05 10:34:54 +02:00
Joël Maïzi
ceaf2774bf
[cli] .halfapi/domains.
2020-08-05 10:04:20 +02:00
Joël Maïzi
15a63f3713
[cli] create project directory.
2020-08-05 09:40:16 +02:00
Joël Maïzi
36f87849ca
Remove gitpy2 dependency.
2020-08-05 09:24:02 +02:00
Maxime Alves LIRMM
b34631cdd0
[cli][init-project][tests][wip] creation du projet halfapi
2020-08-05 09:24:02 +02:00
Joël Maïzi
a3c3d7c816
[cli][WIP] Init API repo directory.
2020-08-05 09:24:02 +02:00
Joël Maïzi
14ab8bd346
[routes] Await route function in decorator.
2020-07-30 11:11:40 +02:00
Joël Maïzi
b8f1d3a35e
[routes] Fix func -> fct.
2020-07-30 11:06:36 +02:00
Maxime Alves LIRMM@home
4eba987eb9
[cli] simplification of halfapi routes
2020-07-29 22:58:25 +02:00
Maxime Alves LIRMM@home
4d02cf4acd
[cli] Added init-project command and cli tests
2020-07-29 22:07:16 +02:00
Joël Maïzi
527d5c2e93
Replace dbupdate command with routes.
...
Allows to use --update, --list, ...
2020-07-29 16:40:25 +02:00
Maxime Alves LIRMM@home
e289f6ad6b
[cli] handle dbupdate without argument
2020-07-28 16:22:34 +02:00
Joël Maïzi
be1e5ed722
Fix some typos.
2020-07-28 14:40:01 +02:00
Maxime Alves LIRMM@home
cf9b5168b4
[conf] get -> items for list of domains, fix default conf
2020-07-28 11:50:53 +02:00
Joël Maïzi
f5a210a855
Fix #9 . Mise en place du chargement des domaines à partir du fichier de conf.
2020-07-28 11:04:21 +02:00
Maxime Alves LIRMM@home
9e4c3506d5
[conf] fix default config
2020-07-28 09:54:29 +02:00
Maxime Alves LIRMM@home
ad3792340c
cleaned trailing spaces
2020-07-28 09:46:21 +02:00
Maxime Alves LIRMM
e4d0b6c17e
handle "/" routes
2020-07-24 18:27:20 +02:00
Maxime Alves LIRMM
0fffab106f
read correct config from halfapiconfig
2020-07-24 18:16:57 +02:00