matrix-spec/templating/matrix_templates
Kegan Dougal 5115346297 Add instant_messaging module; modify batesian section rules
Previously, all `m.room.*` events were wodged into `{{room_events}}` which
isn't great when you want to pull specific ones out. Batesian had a 1:1
mapping of `render_foo()` to a section `{{foo}}`, and having to constantly
add functions for new types is a PITA. Batesian now supports returning a
`dict` instead of a section `string` where the keys are the `{{foo}}` and
the value is what will be inserted. Also add conflicting section key checks
to avoid multiple definitions of the same `{{foo}}`. Define dicts for
event schemata and swagger HTTP APIs.

Using this new feature, split out the instant messaging stuff from the events
section, and replace `{{room_events}}` with a list of specific events e.g.
`{{m_room_member_event}}`.
2015-09-23 10:48:49 +01:00
..
templates Add presence module; fix relative title bug 2015-09-23 09:59:54 +01:00
__init__.py Completely split up the templating system from the Matrix Spec template code. 2015-05-26 16:20:15 +01:00
sections.py Add instant_messaging module; modify batesian section rules 2015-09-23 10:48:49 +01:00
units.py Merge branch 'master' into spec-restructure-modules 2015-09-22 16:04:41 +01:00