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
Maxime Alves LIRMM@home
20cada4fa0
[halfapi] fix domain importlib
2021-12-01 21:14:17 +01:00
Maxime Alves LIRMM@home
c1bb637be7
[lib.router] forbid extra-keys in routes dict (no more FQTN at same level of methods)
2021-12-01 21:13:35 +01:00
Maxime Alves LIRMM@home
a37c2356d6
[lib.domain] error log when missing docstring
2021-12-01 21:12:19 +01:00
Maxime Alves LIRMM@home
038715e94a
[halfapi] config option "--dry-run", used in test_domain
2021-12-01 21:11:26 +01:00
Maxime Alves LIRMM@home
2f9005a1a5
[release] 0.6.1
2021-12-01 17:02:56 +01:00
Maxime Alves LIRMM@home
a2d79f49b9
[tests] dummy domain test (you can use this example in your own domain)
2021-12-01 17:02:23 +01:00
Maxime Alves LIRMM@home
cf98b08fa5
[tests] mv base domain test to halfapi/testing
2021-12-01 17:01:56 +01:00
Maxime Alves LIRMM@home
49c13c56ac
[lib.domain] implement domain schema - try: halfapi domain dummy_domain
2021-12-01 13:31:46 +01:00
Maxime Alves LIRMM@home
1ccfa0d10e
[lib.schemas] router schema update
2021-12-01 13:07:01 +01:00
Maxime Alves LIRMM@home
238bd99bd3
[cli.routes] add json schema export
2021-12-01 13:06:00 +01:00
Maxime Alves LIRMM@home
429a90d786
[halfapi] fix typo
2021-12-01 12:21:26 +01:00