Commit graph

102 commits

Author SHA1 Message Date
Thomas Sileo
434fd98cd9 Merge IndieWeb likes/reposts with their AP counterpart 2022-11-17 21:03:24 +01:00
Thomas Sileo
68c27e083f Allow to click on picture to see the original one 2022-11-14 21:23:41 +01:00
Thomas Sileo
d52528584a Tweak template for the local delete button 2022-11-13 18:32:38 +01:00
Thomas Sileo
d352dc104a Add local delete option
Useful for removing replies showing up on the public website.
2022-11-13 18:19:52 +01:00
Thomas Sileo
48d5914851 Tweak orientation hint for attachments 2022-11-11 14:56:56 +01:00
Ash McAllan
8f00e522d7 pass through width and height of attachments to allow styling based on media orientation 2022-11-11 14:20:59 +01:00
Thomas Sileo
d96ec913d4 Add support for displaying events from Mobilizon 2022-11-07 20:35:23 +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
Kevin Wallace
1c076049cf Fix URL generation when not at domain root 2022-11-04 19:22:30 +01:00
Thomas Sileo
f50a233ce9 Improved Block support 2022-10-18 21:39:09 +02:00
Thomas Sileo
5a20b9d23a More CSS tweaks for the in reply to section 2022-10-03 20:05:06 +02:00
Thomas Sileo
919a61f75d Tweak in reply to link 2022-10-03 19:21:08 +02:00
Miguel Jacq
7faa4655f8 Make 'in reply to' more user-friendly by hiding the URL behind object type 2022-10-03 19:12:28 +02:00
Thomas Sileo
cf6a891349 Improve/fix non-media attachment display 2022-09-30 09:07:07 +02:00
Thomas Sileo
572a84b4bd Fix/imprive Undo support 2022-09-29 08:41:24 +02:00
Thomas Sileo
6216b316e8 Add remote interaction button 2022-09-23 20:09:05 +02:00
Thomas Sileo
cb5d21baeb More admin profile related tweaks 2022-09-21 21:00:17 +02:00
Thomas Sileo
8d0b5d1114 Fix double profile button in the admin 2022-09-21 19:35:48 +02:00
Thomas Sileo
4fcf585c23 Fix OG meta display 2022-09-20 20:15:59 +02:00
Thomas Sileo
032632c4dc Fix template 2022-09-07 21:54:56 +02:00
Thomas Sileo
3641aa0adc Improve movedTo support 2022-09-07 21:29:09 +02:00
Thomas Sileo
eba868e8e5 Fix admin delete in the UI 2022-09-07 19:45:34 +02:00
Thomas Sileo
d5c27287af Fix admin in reply to link 2022-09-01 21:00:14 +02:00
Thomas Sileo
b03daf1274 Fix in reply to link 2022-09-01 20:32:32 +02:00
Thomas Sileo
8fe6cc9b9d Fix the delete button 2022-08-30 19:09:51 +02:00
Thomas Sileo
ebdba62a06 No more inline CSS 2022-08-29 21:42:54 +02:00
Thomas Sileo
2fb85e138e Remove inlined JS 2022-08-29 20:11:31 +02:00
Thomas Sileo
7283ba134c Tweak templates 2022-08-27 09:45:14 +02:00
Thomas Sileo
505abd7da8 Only display tiny actor icon for shares 2022-08-26 07:57:10 +02:00
Thomas Sileo
63073279e1 More actor icons 2022-08-26 07:43:39 +02:00
Thomas Sileo
d3b7f6ccbb Template fixes 2022-08-18 20:53:51 +02:00
Thomas Sileo
c711096262 Allow to interact with objects via lookup 2022-08-15 12:49:07 +02:00
Thomas Sileo
59688ad5f6 Improve show more and show sensitive attachments 2022-08-13 15:20:56 +02:00
Thomas Sileo
abfb6355aa Improve DM threads 2022-08-12 10:01:35 +02:00
Thomas Sileo
ccd77adcb6 Add DM/mention button on profile 2022-08-11 20:48:20 +02:00
Thomas Sileo
e8397f802d Add support for profile metadata 2022-08-10 08:58:18 +02:00
Thomas Sileo
d378e17173 Improve privacy relace 2022-08-04 19:11:14 +02:00
Thomas Sileo
342f708ce9 Don't display inlined images twice 2022-08-03 19:54:11 +02:00
Thomas Sileo
73a7a3ee21 Improve opengrah metadata 2022-08-02 22:22:15 +02:00
Thomas Sileo
a1a9ec3f7c Start support for manually approving followers 2022-08-02 20:14:40 +02:00
Thomas Sileo
96cf0f9aa2 Improve poll support
Misskey polls/questions don't have an endTime or the
Mastodon-specific votersCount attribute.
2022-07-31 18:40:52 +02:00
Thomas Sileo
b557035eac Make site_name optional of OG metadata 2022-07-31 15:27:12 +02:00
Thomas Sileo
2fba922e03 Improve notifications page 2022-07-31 15:00:06 +02:00
Thomas Sileo
cc086f3264 Add support for blocking actors 2022-07-31 10:35:11 +02:00
Thomas Sileo
7782a39638 Improve admin actor profile 2022-07-31 10:03:45 +02:00
Thomas Sileo
7469188aaf Fix admin buttons in templates 2022-07-30 08:31:27 +02:00
Thomas Sileo
4c23d2b984 Fix template 2022-07-27 19:41:11 +02:00
Thomas Sileo
4956092161 Tweak actor display 2022-07-27 19:36:55 +02:00
Thomas Sileo
b9d44da06e Twek admin actor profile 2022-07-27 18:56:14 +02:00
Thomas Sileo
2bbb23b7d9 Set the title attr in addition to alt for images 2022-07-27 09:29:20 +02:00