Commit Graph

  • 49c13c56ac [lib.domain] implement domain schema - try: halfapi domain dummy_domain Maxime Alves LIRMM@home 2021-12-01 13:31:46 +0100
  • 1ccfa0d10e [lib.schemas] router schema update Maxime Alves LIRMM@home 2021-12-01 13:07:01 +0100
  • 238bd99bd3 [cli.routes] add json schema export Maxime Alves LIRMM@home 2021-12-01 13:06:00 +0100
  • 429a90d786 [halfapi] fix typo Maxime Alves LIRMM@home 2021-12-01 12:21:26 +0100
  • 1ec244b60f [lib.constants] route keys are optional, in case of empty routers Maxime Alves LIRMM@home 2021-12-01 12:20:32 +0100
  • 53ecbb58fc [tests] rework some tests, avoid calling project_runner multiple times (should be tested better, but for now is just buggy imports...) Maxime Alves LIRMM@home 2021-12-01 12:20:01 +0100
  • 7e7bbb3a62 [tests] fix de "project_runner" auto clean sys.path, "tree" fixture to debug projects Maxime Alves LIRMM@home 2021-12-01 12:16:31 +0100
  • 5e88109b3e manipuler le sys.path : BAAAD Maxime Alves LIRMM@home 2021-12-01 12:14:27 +0100
  • e293ac3867 [cli/domain] create domain function rework - creates a basic domain Maxime Alves LIRMM@home 2021-12-01 12:08:07 +0100
  • a98aa27485 [pipfile] remove dependency to python3.8, TODO find a way to specify python>=3.8 Maxime Alves LIRMM@home 2021-12-01 12:02:21 +0100
  • 15794327f9 [tests] pytest.ini includes tests as pythonpath (because of dummy_domain) Maxime Alves LIRMM@home 2021-12-01 11:55:56 +0100
  • cf20b76959 [deps] add pytest-pythonpath Maxime Alves LIRMM@home 2021-12-01 11:43:49 +0100
  • 7e1cc21b8c [wip][testfail] update config monodomain - schema gives acls Maxime Alves LIRMM 2021-11-30 18:31:40 +0100
  • ec26438340 [schemas] supression des fonctions api_routes Maxime Alves LIRMM 2021-11-30 14:40:07 +0100
  • 7230316296 [ci] add pytest version Maxime Alves LIRMM 2021-11-30 12:13:17 +0100
  • f5b7e3392a [tests] skip /halfapi/exception test Maxime Alves LIRMM 2021-11-30 12:05:35 +0100
  • 18dbbdd584 [app] enable use of SCHEMA to run halfapi, fix tests Maxime Alves LIRMM 2021-11-30 11:20:26 +0100
  • b3b32b47f8 [cli.run] halfapi run SCHEMA.csv Maxime Alves LIRMM 2021-11-30 10:42:00 +0100
  • 189fcf86f7 [cli.routes] halfapi routes --export Maxime Alves LIRMM 2021-11-30 01:54:48 +0100
  • 55878df260 [lib.domain] use args_check by default, even on async functions Maxime Alves LIRMM 2021-11-30 01:52:02 +0100
  • a6985fa9bf [halfapi] configuration globals go lowercase Maxime Alves LIRMM 2021-11-30 01:50:27 +0100
  • ed6dcb0513 [halfapi] application becomes a private attribute Maxime Alves LIRMM 2021-11-30 01:49:37 +0100
  • 7017827b2b [lib] small fixes Maxime Alves LIRMM 2021-11-30 01:46:30 +0100
  • 7c2bf60812 [pytest] remove halfapi from tests directory Maxime Alves LIRMM 2021-11-30 01:43:14 +0100
  • 1fda2ab15d [lib.schemas] add schema_csv_dict and schema_to_csv function Maxime Alves LIRMM 2021-11-30 00:39:46 +0100
  • c9639ddbc0 [constants] add lib "schema" Schemas for all items Maxime Alves LIRMM 2021-11-30 00:37:13 +0100
  • 24bd3f5653 [deps] add "schema" as dependency Maxime Alves LIRMM 2021-11-29 17:01:52 +0100
  • e203552876 [dummy_domain] add async routes, and routes that use arguments Maxime Alves LIRMM@home 2021-11-29 08:37:52 +0100
  • ac4aadc2df [conf][testfail] add SCHEMA dictionary to globals Maxime Alves LIRMM@home 2021-11-29 06:21:19 +0100
  • 4dae2f3676 [dummy_domain] add tests for dummy_domain acls Maxime Alves LIRMM@home 2021-11-29 06:09:18 +0100
  • c27ed3a966 [routers] docstring is mandator in route methods. YAML is used for markup Maxime Alves LIRMM@home 2021-11-29 05:43:51 +0100
  • 47d81c048f [lib] route_acl_decorator becomes HalfRoute.acl_decorator, creation of HalfRoute that wraps starlette.route Maxime Alves LIRMM@home 2021-11-29 05:42:26 +0100
  • ad6877a7e9 [run] add arguments for config Maxime Alves LIRMM 2021-11-23 13:53:08 +0100
  • e7e1bfed1b [conf] halfapi config now dumps the .ini of the current config Maxime Alves LIRMM 2021-11-23 13:35:02 +0100
  • f0e662e060 [conf] remove is_project variable Maxime Alves LIRMM 2021-11-23 11:39:33 +0100
  • ea8e7ede65 [cli.routes:export] shows a header to describe the CSV, can be deactivated Maxime Alves LIRMM 2021-11-22 20:14:05 +0100
  • f4880f1f9c [lib.domain] wraps function when loading routes from modules, to get the real name Maxime Alves LIRMM 2021-11-22 20:09:57 +0100
  • 4a8cb008e6 [cli.routes] add routes command, allows exporting route dict as csv Maxime Alves LIRMM 2021-11-22 20:06:50 +0100
  • 049860fce5 [lib.domain] gen_router_routes yields router module also Maxime Alves LIRMM 2021-11-22 20:06:12 +0100
  • 908eab5fdc [lib.user] move JWTUser, Nobody and CheckUser to lib.user Maxime Alves LIRMM 2021-11-22 20:05:17 +0100
  • ce672eeb30 [cli.domain] fix list routes Maxime Alves LIRMM 2021-11-22 19:09:02 +0100
  • 1f20a336e2 [conf] production now defaults to true Maxime Alves LIRMM 2021-11-22 18:30:29 +0100
  • 0173eb6d72 HalfAPI class clean and rewrite Maxime Alves LIRMM 2021-11-22 18:08:02 +0100
  • ad9bd45ba0 [logging] use logger from halfapi.logging Maxime Alves LIRMM 2021-11-02 15:15:07 +0100
  • 00c7b5caf4 [doc] update README and add joel to license Maxime Alves LIRMM 2021-11-15 15:10:27 +0100
  • 5184ab4411 [ci][wip] utilisation de devtools/kaniko du lirmm gitlab-ci Maxime Alves LIRMM 2021-11-16 17:03:21 +0100
  • 159d38cb94 [wip][ci] utilisation image officielle buildah Maxime Alves LIRMM 2021-11-10 10:46:32 +0100
  • 0cad726f8c [ci] try buildah Maxime Alves LIRMM@home 2021-11-01 10:29:12 +0100
  • 94e09a546b [dockerfile] install git Maxime Alves LIRMM@home 2021-10-12 18:16:16 +0200
  • 0643af5cca [dockerfile] add gunicorn/uvicorn Maxime Alves LIRMM@home 2021-10-12 18:08:07 +0200
  • 339c910c86 [wip][ci] "before_script" runs before every job Maxime Alves LIRMM@home 2021-10-12 03:25:59 +0200
  • 948372fcbc [wip][ci] try to build docker image Maxime Alves LIRMM@home 2021-10-12 03:13:25 +0200
  • 5a0509a114 set loglevel even if in production Maxime Alves LIRMM@home 2021-10-12 03:10:10 +0200
  • c99e636d6e [0.5.13] Maxime Alves LIRMM@home 2021-10-07 13:58:03 +0200
  • 8b88d7f1b4 [0.5.12] fix production no reload Maxime Alves LIRMM@home 2021-10-07 13:22:16 +0200
  • 6b6a2d47e0 [cli] halfapi route update, creates the router tree apidb Maxime Alves LIRMM@home 2021-06-13 18:30:06 +0200
  • f0152fd0a8 [apidb] implementation of halfapi route add/list Maxime Alves LIRMM@home 2021-06-13 17:19:15 +0200
  • 6503601c60 [cli] add "halfapi init" for hop projects, that creates an "halfapi" schema in the db Maxime Alves LIRMM@home 2021-06-13 14:58:56 +0200
  • f27b68e350 [0.5.11] Maxime Alves LIRMM@home 2021-10-04 20:12:43 +0200
  • f3c12f516e [cli] run does not reload modules by default Maxime Alves LIRMM@home 2021-10-04 20:11:32 +0200
  • 55109e271c [conf] fix HALFAPI_PROD variable that is set to a string Maxime Alves LIRMM 2021-09-03 16:38:20 +0200
  • 51877b271e [conf] Read "HALFAPI_SECRET" file content if the option is not specified. Do not use HALFAPI_SECRET to store the *secret* value Maxime Alves LIRMM 2021-09-03 15:50:33 +0200
  • 061c966072 [lib.domain] fix mounting domains with environment variable Maxime Alves LIRMM 2021-09-03 14:56:18 +0200
  • cdd2214043 [conf] halfapi becomes configurable only by environment variables (for one domain) Maxime Alves LIRMM 2021-09-03 13:17:06 +0200
  • 0470f9fa89 [0.5.9] release 0.5.9 Maxime Alves LIRMM 2021-09-02 17:01:36 +0200
  • 74b79120ba [deps] starlette 0.16 Maxime Alves LIRMM 2021-09-02 14:48:48 +0200
  • bc556854ac Fix #21 by simplifying DomainMiddleware Maxime Alves LIRMM 2021-09-02 14:45:06 +0200
  • 865a4dffd1 [ci] add continuous integration Maxime Alves LIRMM 2021-09-02 10:38:19 +0200
  • 5e2ccceedf [deps] "build" (python -m build --sdist; python -m build --wheel) Maxime Alves LIRMM 2021-09-02 10:20:03 +0200
  • 844f6a8f14 [packaging] 0.5.8 update to PyPi Maxime Alves LIRMM 2021-09-01 15:59:47 +0200
  • 43b7fe21df [license] change author Maxime Alves LIRMM 2021-09-01 15:26:56 +0200
  • c9ba99c1df [readme] fix formatting Maxime Alves LIRMM 2021-09-01 15:24:53 +0200
  • 18a1f71d99 [package] set source url to github Maxime Alves LIRMM 2021-09-01 15:24:21 +0200
  • c2cea298bf [readme] update with instructions Maxime Alves LIRMM 2021-09-01 15:19:51 +0200
  • 387fc01f44 [0.5.7] release, real fix for halfapi/acl route bug Maxime Alves LIRMM 2021-07-06 11:30:06 +0200
  • c2054e9aa9 [lib.domain.domain_acls] fix ROUTES constant using read_router function Maxime Alves LIRMM 2021-07-06 11:28:23 +0200
  • 0e669b81b0 [domain] do not raise exception when the router is missing the ROUTES variable in halfapi/acls route Maxime Alves LIRMM@home 2021-06-30 15:13:06 +0200
  • b45c0bf746 [deps] Avoid starlette update to 0.15, stay in latest 0.14 Maxime Alves LIRMM@home 2021-06-28 12:09:56 +0200
  • c920531610 [release] 0.5.6 Maxime Alves LIRMM@home 2021-06-25 12:21:40 +0200
  • bb50fae186 [lib.acl] fixes #20 20-unboundlocalerror-local-variable-data_-referenced-before-assignment-halfapi-lib-acl-py-line-93 Maxime Alves LIRMM@home 2021-06-25 12:20:25 +0200
  • 0c3aeb532f [0.5.5] retablissement de la configuration par domaine Maxime Alves LIRMM 2021-06-23 15:04:37 +0200
  • 8a9f93b9e0 [conf] lecture des sections du nom des domaines activés et ajout dans request.scope['config']['config'] Maxime Alves LIRMM 2021-06-23 15:03:00 +0200
  • 9381e1582e [0.5.4] Maxime Alves LIRMM 2021-06-18 17:11:34 +0200
  • a539212faf [lib.acl] fix args_check for get parameters Maxime Alves LIRMM 2021-06-18 12:08:51 +0200
  • a14285475e [lib.domain] check if an HTTPException is raised, else raise an HTTPException(500) Maxime Alves LIRMM 2021-06-18 10:39:05 +0200
  • 15d69efd60 [tests] /halfapi/schema Maxime Alves LIRMM@home 2021-06-17 19:14:39 +0200
  • 2819483070 [doc] docstring for api_routes Maxime Alves LIRMM@home 2021-06-17 19:02:11 +0200
  • 81f6cf8b39 [0.5.3] Maxime Alves LIRMM@home 2021-06-17 18:53:23 +0200
  • ac935db6d6 [tests] remove dummy-domain from dependencies default_router Maxime Alves LIRMM@home 2021-06-17 18:52:49 +0200
  • 4d50363c9b [tests] update tests for 0.5.3 Maxime Alves LIRMM@home 2021-06-17 18:52:18 +0200
  • 6181592692 [lib.*] Refactor libs Maxime Alves LIRMM@home 2021-06-17 18:17:51 +0200
  • ed7485a8a1 [app] Use HalfAPI class to be able to use custom configuration à Maxime Alves LIRMM@home 2021-06-17 18:15:10 +0200
  • fa1ca6bf9d [wip] tests dummy_domain Maxime Alves LIRMM 2021-06-16 15:34:25 +0200
  • 86e8dd3465 [0.5.3] ajout de la config actuelle dans les arguments des routes Maxime Alves LIRMM 2021-06-15 18:12:13 +0200
  • aa7ec62c7a [lib.jwtMw] verify signature even if halfapi is in DEBUG mode Maxime Alves LIRMM 2021-06-15 11:16:23 +0200
  • e208728d7e [lib.acl] args_check doesn't check required/optional arguments if "args" is not specified in request, if the target function is not async Maxime Alves LIRMM 2021-06-15 10:49:46 +0200
  • aa4c309778 [lib.domain] SUBROUTER can be a path parameter if including ":" Maxime Alves LIRMM 2021-06-15 09:45:37 +0200
  • 138420461d [gitignore] *.swp Maxime Alves LIRMM@home 2021-06-15 07:24:32 +0200
  • 0c1e2849ba [tests] test get route with dummy projects Maxime Alves LIRMM@home 2021-06-15 07:24:14 +0200
  • 7227e2d7f1 [lib.domain] handle modules without ROUTES attribute Maxime Alves LIRMM@home 2021-06-14 17:18:47 +0200