From c5b40f42095a6f4cc758cbd6b1a3dcd402235001 Mon Sep 17 00:00:00 2001 From: J08nY Date: Mon, 29 May 2017 00:40:54 +0200 Subject: core_changes: fix indentation --- core_changes.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'core_changes.md') diff --git a/core_changes.md b/core_changes.md index f9196be..60d22cb 100644 --- a/core_changes.md +++ b/core_changes.md @@ -25,15 +25,13 @@ 6. Drop `ext_dir`. 7. Let plugins add routes to the REST API. Under `/plugins//...`. - - - Create a new `IRESTSink` interface, that is callable `func(request, response)` and knows it's prefix relative to it's root. - - Use `falcon.API.add_sink(callable, prefix)` to add all `IRESTSink`s from both `mailman.rest` package(unused, no sinks necessary for core) and plugin's `.rest` package. - - [falcon.API.add_sink](https://falcon.readthedocs.io/en/stable/api/api.html#falcon.API.add_sink) - - Or use the current `ObjectRouter` with plugins providing a `Plugin` object with routing working as currently. + - Create a new `IRESTSink` interface, that is callable `func(request, response)` and knows it's prefix relative to it's root. + - Use `falcon.API.add_sink(callable, prefix)` to add all `IRESTSink`s from both `mailman.rest` package(unused, no sinks necessary for core) and plugin's `.rest` package. + - [falcon.API.add_sink](https://falcon.readthedocs.io/en/stable/api/api.html#falcon.API.add_sink) + - Or use the current `ObjectRouter` with plugins providing a `Plugin` object with routing working as currently. 8. ? Make all commands be able to require confirmation and make this a configurable option. - - - How? + - How? 9. Add possibility of config inclusion to `mailman.cfg`, or of per-plugin config. @@ -41,5 +39,4 @@ ## Proposed changes to MailmanClient 1. Add bindings for `/plugins//...`. - - - Pretty low-level, since each plugin can handle requests as it wants. \ No newline at end of file + - Pretty low-level, since each plugin can handle requests as it wants. \ No newline at end of file -- cgit v1.2.3-70-g09d2