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
0d7c121781
Fix formatting
2022-11-06 16:57:04 +01:00
Kevin Wallace
a4cfd65009
Sign media URLs to avoid becoming an open proxy
...
Signatures are valid for ~1 week.
2022-11-04 19:36:26 +01:00
Kevin Wallace
1c076049cf
Fix URL generation when not at domain root
2022-11-04 19:22:30 +01:00
Thomas Sileo
32692a7dcd
First shot at supporting custom handler
2022-11-02 08:51:21 +01:00
Thomas Sileo
b6f0cd01d3
Less HTML restrictions for local content
2022-10-30 18:47:24 +01:00
Thomas Sileo
b2f268682c
New config item to hide followers/following
2022-09-13 21:03:35 +02:00
Thomas Sileo
6e3066bd9b
Fix support for multi-codepoints emoji
2022-09-01 12:23:23 +02:00
Thomas Sileo
8fe6cc9b9d
Fix the delete button
2022-08-30 19:09:51 +02:00
Thomas Sileo
2fb85e138e
Remove inlined JS
2022-08-29 20:11:31 +02:00
Thomas Sileo
d43bf54609
Custom footer support
2022-08-24 21:18:30 +02:00
Thomas Sileo
ce15d2b0c3
HTML error for failed admin login
2022-08-22 18:50:20 +02:00
Thomas Sileo
ce80e98d33
Invalidate CSS cache when updated
2022-08-13 15:35:39 +02:00
Thomas Sileo
81c2ef8961
Tweak mention format to show the full handle
2022-08-11 20:27:17 +02:00
Thomas Sileo
ff59e49866
Tweak the privacy replace feature
2022-08-09 23:09:37 +02:00
Thomas Sileo
e59d17f4f6
Fix remote follow
2022-08-08 22:12:24 +02:00
Thomas Sileo
159adaba94
Hide EmojiReact from inbox
2022-08-06 09:32:22 +02:00
Thomas Sileo
d378e17173
Improve privacy relace
2022-08-04 19:11:14 +02:00
Thomas Sileo
24f3f94056
Start support for authoring articles
2022-07-25 22:51:53 +02:00
Thomas Sileo
25fcb7e57c
Add support for displaying Question objects
2022-07-22 18:55:24 +02:00
Thomas Sileo
4a975dcbfa
Add support for displaying Page object
2022-07-20 20:59:29 +02:00
Thomas Sileo
a6fd8632a6
Tweak Jinja config
2022-07-16 08:07:58 +02:00
Thomas Sileo
c9aea8cab3
Cleanup and improved webmentions support
2022-07-14 16:29:17 +02:00
Thomas Sileo
c8e0c813b5
Fix inline img support in object
2022-07-14 15:16:58 +02:00
Thomas Sileo
1d01df55c8
Fix UI for None attributes
2022-07-11 09:33:56 +02:00
Thomas Sileo
10676b039a
Fix lookup for custom actor types
2022-07-09 19:26:18 +02:00
Thomas Sileo
592de1b22d
Tweak/fix webfinger and signed GET
2022-07-08 12:10:20 +02:00
Thomas Sileo
d18bf7c7d5
Allow code highlight for notes
2022-07-04 19:43:37 +02:00
Thomas Sileo
6458d2a6c7
Improve caching
2022-06-30 09:25:13 +02:00
Thomas Sileo
1f54a6a6ac
Switch to aiosqlite
2022-06-29 20:43:17 +02:00
Thomas Sileo
18bd2cb664
Switch to SQLAlchemy 2.0 query style
2022-06-29 08:56:39 +02:00
Thomas Sileo
09ce33579a
Custom emoji support
2022-06-27 20:55:44 +02:00
Thomas Sileo
9c41c68958
Microformats support
2022-06-26 21:54:07 +02:00
Thomas Sileo
6d756fb8c4
Improved audience handling and outbox ALC
2022-06-26 18:40:25 +02:00
Thomas Sileo
4bf54c7040
Improved audience support and implement featured collection
2022-06-26 18:07:55 +02:00
Thomas Sileo
6700984117
Support remote follow
2022-06-26 10:28:21 +02:00
Thomas Sileo
b977b64bfb
Boostrap custom emoji support
2022-06-26 10:01:26 +02:00
Thomas Sileo
4f1b51f7d5
UI improvements
2022-06-25 10:20:07 +02:00
Thomas Sileo
1a88ce7259
Attachments support for the outbox
2022-06-23 21:07:20 +02:00
Thomas Sileo
f9f9e62e13
Cleanup utils
2022-06-22 21:15:07 +02:00
Thomas Sileo
d528369954
Initial commit for new v2
2022-06-22 20:11:22 +02:00