Commit Graph

45 Commits (0c5ce67d4ec2fa8b8d8628af28998313bcbb9ff0)

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 d93bcf6128 Complete the switch to mistletoe 2022-10-19 20:46:01 +02:00
Thomas Sileo d909bf93a0 Tweak/fix install steps in the docs 2022-10-18 19:26:04 +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 a55b06b252 knoweldge -> knowledge 2022-09-16 08:58:22 +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
Miguel Jacq 05f840ecc8 Small typos in docs/install.md 2022-08-30 08:21:11 +02:00
Thomas Sileo a02c8cf0bb Fix NGINX setup instructions 2022-08-29 19:28:54 +02:00
Thomas Sileo 727eaa9ee1 Tweak docs 2022-08-28 22:21:22 +02:00
Thomas Sileo 372851caaf Tweak sample nginx conf 2022-08-26 20:25:55 +02:00
Thomas Sileo e16dbf03e7 Add NGINX tips in the doc 2022-08-26 20:18:59 +02:00
Thomas Sileo 365e6cc534 Mention Docker disk usage in the install guide 2022-08-25 08:57:30 +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 8633696da0 Improve workers for incoming/outgoing activities 2022-08-10 20:34:36 +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 712607f808 Update install instructions 2022-07-30 09:31:04 +02:00
Thomas Sileo b7423896d1 Simplify Docker support 2022-07-30 09:02:04 +02:00
Thomas Sileo ec15262e27 Tweak docs 2022-07-30 08:52:04 +02:00
Thomas Sileo 9d6a3ea3cf Update docs 2022-07-28 20:38:54 +02:00
Thomas Sileo d88a1ad5ba Generate a basic favicon dynamically 2022-07-22 08:46:14 +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 368dd30e8f Tweak developer guide 2022-07-11 22:06:12 +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
Thomas Sileo 09a7287877 Tweak docs design 2022-07-05 09:32:43 +02:00
Thomas Sileo 51f920bc4d Start installation guide in the docs 2022-07-05 09:15:45 +02:00
Thomas Sileo b20253d212 Tweak docs 2022-07-04 22:00:19 +02:00
Thomas Sileo ed0a780d7e Add docs 2022-07-04 19:02:06 +02:00