6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-16 18:15:09 +00:00
tutor/tests
Régis Behmo 71ed7a8618 feat: refactor hooks API for simplification
The hooks API had several issues which are summarized in this comment:
https://github.com/openedx/wg-developer-experience/issues/125#issuecomment-1313553526

1. "consts" was a bad name
2. "hooks.filters" and "hooks.Filters" could easily be confused
3. docs made it difficult to understand that plugin developers should use the catalog

To address these issues, we:

1. move "consts.py" to "catalog.py"
2. Remove "hooks.actions", "hooks.filters", "hooks.contexts" from the API.
3. re-organize the docs and give better usage examples in the catalog.

This change is a partial fix for https://github.com/openedx/wg-developer-experience/issues/125
2023-01-31 10:17:58 +01:00
..
commands feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
core feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
__init__.py Add unit tests! yay! 2019-03-23 16:16:44 -07:00
helpers.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
openedx-lms-common-settings Better dev environment 2019-10-24 20:03:36 +02:00
test_config.py feat: strongly typed hooks 2022-11-15 14:58:36 +01:00
test_env.py feat: upgrade to olive 2022-12-12 16:55:07 +01:00
test_images.py refactor: add code coverage, cover CLI commands with tests 2022-01-04 13:40:33 +01:00
test_plugins_v0.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
test_serialize.py feat: auto-complete config save/printroot arguments 2022-11-24 16:21:57 +01:00
test_utils.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00