Commit Graph

303 Commits

Author SHA1 Message Date
Maxime Alves LIRMM 34ede09fe2 [release] 0.6.19 2022-07-06 08:34:11 +02:00
maxime 3ec6d7514e [release] 0.6.18 2022-06-23 15:48:58 +02:00
maxime 3c97d39cdc [config] restore dumped configuration when using HALFAPI_DOMAIN_NAME 2022-06-23 15:33:19 +02:00
maxime f96c712aa8 [release] 0.6.17 2022-06-23 11:07:41 +02:00
maxime 23a93026aa [halfdomain] fix feature HALFAPI_DOMAIN_MODULE for acls route 2022-06-23 11:03:52 +02:00
maxime a46b045ca6 [release] 0.6.16 2022-06-23 07:24:05 +02:00
maxime f68b7e59b8 handle HALFAPI_DOMAIN_MODULE environment variable 2022-06-23 07:21:49 +02:00
Maxime Alves LIRMM@home 7dd7d00625 [halfdomain] fix last modification 2022-05-17 16:13:33 +02:00
Maxime Alves LIRMM@home e70239433f [halfdomain] add ability to specify a domain's acl module path in __acl__ attribute 2022-05-17 16:01:58 +02:00
Maxime Alves LIRMM@home 739ffc9afa [release] 0.6.14 2022-05-17 10:31:34 +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 b63b0f52c6 [domain] checks versions specified in __deps__ variable of domain module 2022-03-21 09:45:35 +01:00
Maxime Alves LIRMM 63d6d1e8ea [release] 0.6.12 2022-03-17 17:48:41 +01:00
Maxime Alves LIRMM 568aea9ea8 [clena] nettoyage des fonctions non utilisées 2022-03-16 13:09:50 +01:00
Maxime Alves LIRMM de72e469d2 [release] 0.6.11 2022-03-14 15:16:06 +01:00
Maxime Alves LIRMM f7879c6388 [release] 0.6.10
- Add "x-out" field in HTTP headers when "out" parameters are specified for a
  route
- Add "out" kwarg for not-async functions that specify it

- Hide data fields in args_check logs

- Fix testing lib for domains (add default secret and debug option)

- Domains now need to include the following variables in their __init__.py
    - __name__ (str, optional)
    - __id__ (str, optional)
- halfapi domain

- Mounts domain routers with their ACLs as decorator
- Configuration example files for systemd and a system-wide halfapi install
- Runs projects
- Handles JWT authentication middleware
2022-03-08 19:24:24 +01:00
Maxime Alves LIRMM 84179743a6 [release] 0.6.9 2022-03-02 16:46:32 +01:00
Maxime Alves LIRMM b96f4908c6 [release] 0.6.8 2022-02-28 10:10:06 +01:00
Maxime Alves LIRMM a388faf1d8 [testing] add "secret" and "production" variable to test_domain configuration 2022-02-28 09:58:47 +01:00
Maxime Alves LIRMM 4e080f805f [fix] odsresponse 2022-02-10 16:30:08 +01:00
Maxime Alves LIRMM d33c82e348 [0.6.7] fix ODSResponse 2022-02-10 10:30:19 +01:00
Maxime Alves LIRMM@home 058121d985 [release] 0.6.6 2022-01-21 14:39:46 +01:00
Maxime Alves LIRMM@home 2e5680d29a [auth] dont activate authenticationMiddleware if secret is missing. NO SECRET ONLY IN FULLY PUBLIC DOMAINS!!! 2022-01-21 14:39:34 +01:00
Maxime Alves LIRMM@home 979007f287 [fix][log] active domains list logging 2022-01-21 14:38:28 +01:00
Maxime Alves LIRMM@home df555c7d26 [fix] when running one-domain mode we should set the configuration as if the domain was activated 2022-01-21 14:37:54 +01:00
Maxime Alves LIRMM@home be312d4b7a [fix][run] wont pop keys if we dont operate on a copy 2022-01-21 14:32:55 +01:00
Maxime Alves LIRMM f02a97fbf8 [testing] set starlette client in setUp 2021-12-15 12:37:49 +01:00
Maxime Alves LIRMM@home e9ffb553c8 [release] 0.6.4 2021-12-14 09:05:50 +01:00
Maxime Alves LIRMM@home 776cc8c85e [testing] fix check_routes of test_domain 2021-12-14 09:04:06 +01:00
Maxime Alves LIRMM@home 7c0f5717f4 [half_route] error handling 2021-12-14 09:01:38 +01:00
Maxime Alves LIRMM 7fb5e25411 [release] 0.6.3 2021-12-13 14:47:21 +01:00
Maxime Alves LIRMM a0dbbca04d [fix] forgot __init__.py in testing 2021-12-13 14:45:00 +01:00
Maxime Alves LIRMM 95fb267e81 [release] 0.6.2 2021-12-13 13:50:52 +01:00
Maxime Alves LIRMM e9bf94a607 [cli/domain] now instantiate HalfAPI and manually add the domain before calling schema function 2021-12-13 13:49:58 +01:00
Maxime Alves LIRMM f82cd5552b [half_domain] remove "config" argument, now uses "config" attribute from HalfAPI instance, add version and halfapi_versrion attributes, update DomainMiddleware init arguments 2021-12-13 12:45:10 +01:00
Maxime Alves LIRMM bdbad9e296 [halfapi] now inherits from Starlette class. Uses a dict to store HalfDomain instances 2021-12-13 12:43:26 +01:00
Maxime Alves LIRMM 8fff1f5372 [tests] fix tests and add "mix_stderr=False" to CliRunner instance 2021-12-13 12:41:33 +01:00
Maxime Alves LIRMM 048c9f1bab [tests] fix for schema lists 2021-12-08 16:45:00 +01:00
Maxime Alves LIRMM d5f39a7929 [schemas] always give a list of schemas 2021-12-08 16:42:12 +01:00
Maxime Alves LIRMM 648841d90f [dummy_domain] set an id to dummy_domain 2021-12-08 15:34:00 +01:00
Maxime Alves LIRMM c658815eb5 [cli] fix halfapi domain --read 2021-12-08 13:08:08 +01:00
Maxime Alves LIRMM 46e62575ae [half_domain] fix test_dummy_project 2021-12-08 12:23:47 +01:00
Maxime Alves LIRMM 7001cec86e [wip] refactor half_domain 2021-12-07 11:42:02 +01:00
Maxime Alves LIRMM@home b4157c4a7d [wip][testfail] multiple-domains app 2021-12-07 07:53:36 +01:00
Maxime Alves LIRMM@home 96f78e76c5 [tests][testfail] add default routes testing, /halfapi/acls fail 2021-12-04 09:56:14 +01:00
Maxime Alves LIRMM@home d54dcd641d [conf] fix secret tempfile creation 2021-12-04 00:28:30 +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 d06857bf49 [config][wip][nf] removal of "domains" and "domain" section 2021-12-03 09:49:30 +01:00
Maxime Alves LIRMM@home a8e5cfc0ff [wip][responses] allow to change return format with "format" route argument, add ODSResponse 2021-12-01 21:16:19 +01:00