Commit Graph

25 Commits (04e75c78e06ec9fb74bc54a5b3d4bdfc7040ae2e)

Author SHA1 Message Date
Thomas Sileo 62c9327500 Add support for setting a custom CSP 2022-11-09 21:26:43 +01:00
Kevin Wallace 48740ea8cb Allow templates to be overridden in data/templates/
I'd like to customize my instance's theme beyond what's possible with
_theme.scss.  This patch would allow me to do that, and keep my changes
self-contained in data/ without maintaining a local patchset over
app/templates/.

For utils.html, I've also added scoped blocks around the body of every
macro.  This allows the macros to be overridden individually in
data/templates/utils.html, without copying the whole file.  For example,
to only override the display of a specific actor's name/icon:

    {% extends "app/utils.html" %}
    {% block display_actor %}
    {% if actor.ap_id == "https://me.example.com" %}
    <!-- custom actor display -->
    {% else %}
    {{ super() }}
    {% endif %}
    {% endblock %}
2022-11-07 18:46:21 +01:00
Thomas Sileo fd5293a05c Fix password reset task 2022-10-23 16:40:56 +02:00
Thomas Sileo b99552384c Improve expired session and CSRF error handling 2022-09-16 18:14:50 +02:00
Thomas Sileo 949365d8ba Add more tasks and tweak docs 2022-09-16 17:38:19 +02:00
Miguel Jacq c30033c19e Fix minor grammatical issues, mostly in docs 2022-09-16 08:52:43 +02:00
Thomas Sileo df06defbef Tweak docs 2022-09-13 21:23:32 +02:00
Thomas Sileo 0c7a19749d Tweak docs about moving 2022-09-11 19:37:35 +02:00
Thomas Sileo 475e525468 Fix typos in the docs 2022-09-11 10:53:25 +02:00
Thomas Sileo c1231245a4 Complete self-destruct support 2022-09-11 10:51:08 +02:00
Thomas Sileo 356aace9bc Add move task 2022-09-08 20:57:52 +02:00
Thomas Sileo 5f20eab3f1 More work towards support moving/deleting instance 2022-09-01 20:42:20 +02:00
Thomas Sileo 36d356c97a Update user guide 2022-08-31 19:31:17 +02:00
Thomas Sileo 6384dbcd93 Re-add support for custom emoji 2022-08-31 19:16:03 +02:00
Thomas Sileo 6475714369 Update user guide 2022-08-24 07:52:46 +02:00
Thomas Sileo 0811609e3e Tweak user guide 2022-08-23 19:40:45 +02:00
Thomas Sileo f91c6c454a Tweak doc 2022-08-09 23:03:52 +02:00
Thomas Sileo d378e17173 Improve privacy relace 2022-08-04 19:11:14 +02:00
Thomas Sileo 8cfac8df6a Allow to replace URL dynamically (for Nitter, Teddit...) 2022-08-04 07:31:18 +02:00
Thomas Sileo 4cbfb396c6 Improve docs 2022-07-30 09:43:36 +02:00
Thomas Sileo c4ea2094fd Tweak user's guide 2022-07-16 08:39:12 +02:00
Thomas Sileo 8dc0e1877b Tweak/improve admin 2022-07-14 20:05:36 +02:00
Thomas Sileo 6ce42e019e User's guide draft 2022-07-12 19:42:31 +02:00
Thomas Sileo 261417cab3 Tweak documentation 2022-07-11 22:01:37 +02:00
Thomas Sileo dbd2c8afea Tweak docs 2022-07-05 21:35:39 +02:00