Commit Graph

38 Commits

Author SHA1 Message Date
Maxime Alves LIRMM 552f00a65b [deps] starlette 0.22 2023-01-14 10:59:42 +01:00
Maxime Alves LIRMM f3784fab7f [deps][breaking] starlette 0.21 2023-01-14 10:54:10 +01:00
Maxime Alves LIRMM d0876e45da [deps][breaking] starlette 0.20 2023-01-14 10:25:21 +01:00
Maxime Alves LIRMM 6504191c53 [deps] starlette 0.19 2023-01-14 10:12:51 +01:00
Maxime Alves LIRMM 7b639a8dc2 [deps] starlette 0.18 2023-01-14 10:11:14 +01:00
Maxime Alves LIRMM e47ffcddb9 [deps] update pyJWT>2.4.0 2022-09-06 19:58:41 +02:00
Maxime Alves LIRMM 34ede09fe2 [release] 0.6.19 2022-07-06 08:34:11 +02:00
Maxime Alves LIRMM@home 99d4aaeb8d [lib/responses] ajout format XLSX, car ODS bug avec les dates
https://github.com/pyexcel/pyexcel-ods/issues/31
2022-05-17 10:30:15 +02:00
Maxime Alves LIRMM 0d9dc2a018 [release] 0.6.13
- (rollback from 0.6.12) Remove pytest from dependencies in Docker file and
  remove tests
- (dep) Add "packaging" dependency
- Add dependency check capability when instantiating a domain (__deps__
  variable, see in dummy_domain)
2022-03-21 09:51:04 +01:00
Maxime Alves LIRMM dbca2f28fb [conf] use of toml for halfapi configs. re-enable possibility of multiple domains 2021-12-03 17:25:57 +01:00
Maxime Alves LIRMM@home c1191bbb0e [deps] update deps 2021-12-01 16:25:53 +01:00
Maxime Alves LIRMM 24bd3f5653 [deps] add "schema" as dependency 2021-11-29 17:01:52 +01:00
Maxime Alves LIRMM 74b79120ba [deps] starlette 0.16 2021-09-02 14:48:48 +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 18a1f71d99 [package] set source url to github 2021-09-01 15:24:21 +02:00
Maxime Alves LIRMM@home b45c0bf746 [deps] Avoid starlette update to 0.15, stay in latest 0.14 2021-06-28 12:09:56 +02:00
Maxime Alves LIRMM 904783b134 [deps] 2021-05-28 22:30:39 +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 a3d546905c [update] fixage des versions des dépendances, fixage de python >= 3.7 2021-01-26 01:04:05 +01:00
Maxime Alves LIRMM d31efe3cc4 [deps] removed half_orm from dependencies 2020-10-20 08:25:50 +02:00
Maxime Alves LIRMM acb0a46904 [deps] add PyYAML to dependencies 2020-10-07 09:55:03 +02:00
Maxime Alves LIRMM@home 4ef7ae377a [deps] add orjson dependency 2020-09-24 20:48:52 +02:00
Maxime Alves LIRMM@home 30651ec19b [deps] jwt -> PyJWT 2020-08-07 02:08:22 +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
Joël Maïzi d86dab8de1 Add requirements versions. 2020-08-05 09:32:00 +02:00
Joël Maïzi 36f87849ca Remove gitpy2 dependency. 2020-08-05 09:24:02 +02:00
Joël Maïzi f28e11e051 [deps] Remove cli from extras_require. 2020-07-30 10:03:04 +02:00
Maxime Alves LIRMM@home 7ef6e78010 [deps] Updated dependencies and added files for standard packaging.
The halfapi-cli tool needs to be installed using [cli] option :
pip3 install -e .[cli]
2020-07-29 22:07:16 +02:00
Maxime Alves LIRMM 0282da6e3d [release][0.1.0] First HalfAPI release
Squashed commit of the following:

commit 68032dc55a07565ccd17a188407d9ac2537b62e6
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Thu Jul 23 15:40:26 2020 +0200

    [release][0.1.0] First HalfAPI release

commit a046a81114a3ae22bbc84a53f1e85217a0954dbc
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Thu Jul 23 15:26:15 2020 +0200

    [doc] màj du readme

commit ed45b3011125c071aa53df8087d28bfa1150b373
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Thu Jul 23 11:03:17 2020 +0200

    [wip] rm apidb

commit 7df4b9bacf3d26f09ea07856587505f74284cab4
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Thu Jul 23 10:58:46 2020 +0200

    [db] forgot foreign key router->domain

commit 604b9a90f405121725e4b2126d73a5a83eec398f
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Thu Jul 23 10:51:01 2020 +0200

    [wip] routes mounting fixed

commit c50a5572633d7dcc3cad48ef79c5ea1ca098284d
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Thu Jul 23 10:29:09 2020 +0200

    [wip][db][nf] http_verb, fct_name are in api.route

commit 2b5b78db2f9c280dd5eb9d8bafc9174d9afc092f
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Wed Jul 22 17:37:21 2020 +0200

    [wip] refactor du 22 juillet 2222

commit d019b7e333ab37f106895c84521cef1bfe768caa
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Wed Jul 22 14:48:51 2020 +0200

    [wip] remove "version" from app

commit 98ccd61dcf369b8c4aac817a0c8409b6fed00f50
Author: Joël Maïzi <joel.maizi@lirmm.fr>
Date:   Wed Jul 22 14:45:28 2020 +0200

    Remove api.version from database.

commit aa0d4f8dbba8b8ec878835bb58b69facff7e675e
Author: Maxime Alves LIRMM@home <maxime.alves@lirmm.fr>
Date:   Tue Jul 21 21:46:22 2020 +0200

    [db] added router as api.acl primary_key part

commit a97984e9de0e6a00bddca7dece0c715c9c16cbe1
Author: Maxime Alves LIRMM@home <maxime.alves@lirmm.fr>
Date:   Tue Jul 21 21:41:31 2020 +0200

    [wip] moved all acl treatment to acl_caller_middleware, fix route mounting, fix typo in logs

commit 3dd310e80aaf6cb32f6c4ac23c1e2a924cebfde1
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Tue Jul 21 13:10:26 2020 +0200

    [wip][nf] gestion des routes avec routers

commit c2687c4a24126fbc3e57257bf23c267b334df522
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Tue Jul 21 12:39:53 2020 +0200

    [db] ajout de la table api.router

commit 9a10f76cf7790f75f23b72e19b0a58978752565c
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Tue Jul 21 12:19:53 2020 +0200

    [db] renommage des champs d'acl

commit c4e8c26a24835559d2e9b251df0eb462fe7e667d
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Tue Jul 21 12:13:38 2020 +0200

    [wip][nf] modification du systeme de montage des routes

commit b7e8352ba1e427e9883797a44bb0f3da5edd576d
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Tue Jul 21 11:15:30 2020 +0200

    [wip][dbupdate] insertion des routes au nouveau format

commit 28947444c4c062e6ced74f9bfdef11a36ddc438b
Author: Maxime Alves LIRMM <maxime.alves@lirmm.fr>
Date:   Tue Jul 21 10:32:57 2020 +0200

    [wip][dbupdate] Suppression des routes hors domaine
2020-07-23 17:54:47 +02:00
Maxime Alves LIRMM@home 1d805abb13 pyproject.toml correction for poetry use, setup.py removal (useless)
use the poetry install -E organigramme option to install the domain in
the virtual environement
2020-07-03 21:25:35 +02:00
Maxime Alves LIRMM@home f91d0bcf5c ajout de la gestion des paramètres pour halform 2020-07-03 21:25:32 +02:00
Maxime Alves LIRMM@home 0a84c84e77 ajout de pyproject.toml 2020-07-03 21:24:49 +02:00
Maxime Alves LIRMM 6968feb59e merge avec cli_update_db 2020-07-03 11:58:13 +02:00
Maxime Alves LIRMM@home 3021bd5f28 ajout de pyproject.toml 2020-07-03 11:54:44 +02:00
Maxime Alves LIRMM@home baec9f172f màj des dépendances 2020-07-02 16:32:55 +02:00
Maxime Alves LIRMM b532aac634 déplacement models dans dossier module et rajoute du dossier dans setup.py 2020-07-02 11:39:50 +02:00
Maxime Alves LIRMM 110b8b0969 commit initial 2020-06-30 17:50:35 +02:00