Maxime Alves LIRMM@home
|
a98aa27485
|
[pipfile] remove dependency to python3.8, TODO find a way to specify python>=3.8
|
2021-12-01 12:02:21 +01:00 |
Maxime Alves LIRMM@home
|
15794327f9
|
[tests] pytest.ini includes tests as pythonpath (because of dummy_domain)
|
2021-12-01 11:55:56 +01:00 |
Maxime Alves LIRMM@home
|
cf20b76959
|
[deps] add pytest-pythonpath
|
2021-12-01 11:43:49 +01:00 |
Maxime Alves LIRMM
|
7e1cc21b8c
|
[wip][testfail] update config monodomain - schema gives acls
|
2021-11-30 18:31:40 +01:00 |
Maxime Alves LIRMM
|
ec26438340
|
[schemas] supression des fonctions api_routes
|
2021-11-30 14:40:07 +01:00 |
Maxime Alves LIRMM
|
7230316296
|
[ci] add pytest version
|
2021-11-30 12:13:17 +01:00 |
Maxime Alves LIRMM
|
f5b7e3392a
|
[tests] skip /halfapi/exception test
|
2021-11-30 12:07:19 +01:00 |
Maxime Alves LIRMM
|
18dbbdd584
|
[app] enable use of SCHEMA to run halfapi, fix tests
|
2021-11-30 11:20:26 +01:00 |
Maxime Alves LIRMM
|
b3b32b47f8
|
[cli.run] halfapi run SCHEMA.csv
|
2021-11-30 10:42:00 +01:00 |
Maxime Alves LIRMM
|
189fcf86f7
|
[cli.routes] halfapi routes --export
|
2021-11-30 01:54:48 +01:00 |
Maxime Alves LIRMM
|
55878df260
|
[lib.domain] use args_check by default, even on async functions
|
2021-11-30 01:52:02 +01:00 |
Maxime Alves LIRMM
|
a6985fa9bf
|
[halfapi] configuration globals go lowercase
|
2021-11-30 01:50:27 +01:00 |
Maxime Alves LIRMM
|
ed6dcb0513
|
[halfapi] application becomes a private attribute
|
2021-11-30 01:49:37 +01:00 |
Maxime Alves LIRMM
|
7017827b2b
|
[lib] small fixes
|
2021-11-30 01:46:30 +01:00 |
Maxime Alves LIRMM
|
7c2bf60812
|
[pytest] remove halfapi from tests directory
|
2021-11-30 01:43:14 +01:00 |
Maxime Alves LIRMM
|
1fda2ab15d
|
[lib.schemas] add schema_csv_dict and schema_to_csv function
|
2021-11-30 01:42:29 +01:00 |
Maxime Alves LIRMM
|
c9639ddbc0
|
[constants] add lib "schema" Schemas for all items
|
2021-11-30 00:37:13 +01:00 |
Maxime Alves LIRMM
|
24bd3f5653
|
[deps] add "schema" as dependency
|
2021-11-29 17:01:52 +01:00 |
Maxime Alves LIRMM@home
|
e203552876
|
[dummy_domain] add async routes, and routes that use arguments
|
2021-11-29 08:37:52 +01:00 |
Maxime Alves LIRMM@home
|
ac4aadc2df
|
[conf][testfail] add SCHEMA dictionary to globals
|
2021-11-29 06:21:48 +01:00 |
Maxime Alves LIRMM@home
|
4dae2f3676
|
[dummy_domain] add tests for dummy_domain acls
|
2021-11-29 06:09:18 +01:00 |
Maxime Alves LIRMM@home
|
c27ed3a966
|
[routers] docstring is mandator in route methods. YAML is used for markup
|
2021-11-29 06:08:24 +01:00 |
Maxime Alves LIRMM@home
|
47d81c048f
|
[lib] route_acl_decorator becomes HalfRoute.acl_decorator, creation of HalfRoute that wraps starlette.route
|
2021-11-29 05:42:26 +01:00 |
Maxime Alves LIRMM
|
ad6877a7e9
|
[run] add arguments for config
|
2021-11-23 13:53:08 +01:00 |
Maxime Alves LIRMM
|
e7e1bfed1b
|
[conf] halfapi config now dumps the .ini of the current config
|
2021-11-23 13:35:12 +01:00 |
Maxime Alves LIRMM
|
f0e662e060
|
[conf] remove is_project variable
|
2021-11-23 11:39:33 +01:00 |
Maxime Alves LIRMM
|
ea8e7ede65
|
[cli.routes:export] shows a header to describe the CSV, can be deactivated
|
2021-11-22 20:14:05 +01:00 |
Maxime Alves LIRMM
|
f4880f1f9c
|
[lib.domain] wraps function when loading routes from modules, to get the real name
|
2021-11-22 20:09:57 +01:00 |
Maxime Alves LIRMM
|
4a8cb008e6
|
[cli.routes] add routes command, allows exporting route dict as csv
|
2021-11-22 20:06:50 +01:00 |
Maxime Alves LIRMM
|
049860fce5
|
[lib.domain] gen_router_routes yields router module also
|
2021-11-22 20:06:12 +01:00 |
Maxime Alves LIRMM
|
908eab5fdc
|
[lib.user] move JWTUser, Nobody and CheckUser to lib.user
|
2021-11-22 20:05:17 +01:00 |
Maxime Alves LIRMM
|
ce672eeb30
|
[cli.domain] fix list routes
|
2021-11-22 19:09:02 +01:00 |
Maxime Alves LIRMM
|
1f20a336e2
|
[conf] production now defaults to true
|
2021-11-22 18:30:29 +01:00 |
Maxime Alves LIRMM
|
0173eb6d72
|
HalfAPI class clean and rewrite
|
2021-11-22 18:18:06 +01:00 |
Maxime Alves LIRMM
|
ad9bd45ba0
|
[logging] use logger from halfapi.logging
|
2021-11-16 17:45:40 +01:00 |
Maxime Alves LIRMM
|
00c7b5caf4
|
[doc] update README and add joel to license
|
2021-11-16 17:45:40 +01:00 |
Maxime Alves LIRMM
|
5184ab4411
|
[ci][wip] utilisation de devtools/kaniko du lirmm
|
2021-11-16 17:40:05 +01:00 |
Maxime Alves LIRMM
|
159d38cb94
|
[wip][ci] utilisation image officielle buildah
|
2021-11-10 10:46:32 +01:00 |
Maxime Alves LIRMM@home
|
0cad726f8c
|
[ci] try buildah
|
2021-11-01 10:34:52 +01:00 |
Maxime Alves LIRMM@home
|
94e09a546b
|
[dockerfile] install git
|
2021-10-12 18:18:54 +02:00 |
Maxime Alves LIRMM@home
|
0643af5cca
|
[dockerfile] add gunicorn/uvicorn
|
2021-10-12 18:08:07 +02:00 |
Maxime Alves LIRMM@home
|
339c910c86
|
[wip][ci] "before_script" runs before every job
|
2021-10-12 14:30:11 +02:00 |
Maxime Alves LIRMM@home
|
948372fcbc
|
[wip][ci] try to build docker image
|
2021-10-12 03:18:32 +02:00 |
Maxime Alves LIRMM@home
|
5a0509a114
|
set loglevel even if in production
|
2021-10-12 03:10:10 +02:00 |
Maxime Alves LIRMM@home
|
c99e636d6e
|
[0.5.13]
Squashed commit of the following:
commit 4552d85cc49fda572e54aa9c8054031554bfcb3a
Author: Maxime Alves LIRMM@home <maxime.alves@lirmm.fr>
Date: Thu Oct 7 13:57:37 2021 +0200
[0.5.13]
commit 38032acfac559155b31c12cf12673c81b7cfdf20
Author: Maxime Alves LIRMM@home <maxime.alves@lirmm.fr>
Date: Thu Oct 7 13:57:12 2021 +0200
add 503 error code
commit 6f516e844b0f3786aa571d1ac8d575247ff7b7fe
Author: Maxime Alves LIRMM@home <maxime.alves@lirmm.fr>
Date: Thu Oct 7 13:26:15 2021 +0200
[ci] add run halfapi --version
|
2021-10-07 13:58:03 +02:00 |
Maxime Alves LIRMM@home
|
8b88d7f1b4
|
[0.5.12] fix production no reload
|
2021-10-07 13:23:53 +02:00 |
Maxime Alves LIRMM@home
|
f27b68e350
|
[0.5.11]
|
2021-10-04 22:16:27 +02:00 |
Maxime Alves LIRMM@home
|
f3c12f516e
|
[cli] run does not reload modules by default
|
2021-10-04 20:11:32 +02:00 |
Maxime Alves LIRMM
|
55109e271c
|
[conf] fix HALFAPI_PROD variable that is set to a string
|
2021-09-03 16:38:20 +02:00 |
Maxime Alves LIRMM
|
51877b271e
|
[conf] Read "HALFAPI_SECRET" file content if the option is not specified. Do not use HALFAPI_SECRET to store the *secret* value
|
2021-09-03 16:22:55 +02:00 |