Commit Graph

171 Commits (441e3d90b1e92938144025db4efc68aa44353773)

Author SHA1 Message Date
Thomas Sileo a435cd33c9 Allow to delete webmentions 2022-11-20 11:56:58 +01:00
Thomas Sileo 4c6eb51ae2 Proper mf2 for replies 2022-11-20 11:12:34 +01:00
Thomas Sileo d36102255f Merge branch 'v2' into indieweb-merge-part2 2022-11-20 10:48:43 +01:00
Thomas Sileo cdbc545d5e Add a flag on new notifications 2022-11-20 10:13:17 +01:00
Cocoa a9f41d6be7 Put 'with_icon' param in the correct macro call
Fix for https://todo.sr.ht/~tsileo/microblog.pub/66
2022-11-20 09:47:54 +01:00
Thomas Sileo 9ee3f3b971 More progess on webmention replies 2022-11-19 08:12:33 +01:00
Thomas Sileo 066f5ec900 Merge branch 'v2' into indieweb-merge-part2 2022-11-18 20:36:58 +01:00
Kevin Wallace 2151733e4f Add robots meta tags on pages in robots.txt
Useful when app is at a non-root path and we're not handling top-level
/robots.txt requests.
2022-11-18 20:30:29 +01:00
Thomas Sileo 120f92a9ed Display Webmention as replies when applicable 2022-11-18 20:20:58 +01:00
Thomas Sileo ae8029cd22 Fix template 2022-11-17 21:12:16 +01:00
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 0c5ce67d4e Tweak remote instance redirection 2022-11-13 17:37:19 +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 afd253a1b4 Fix OG image URL 2022-11-09 09:29:25 +01:00
Thomas Sileo 509e10e79b Fix active URL in the navbar 2022-11-09 08:15:29 +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
Thomas Sileo 540b9d1470 Minor tweaks about non-root handling 2022-11-04 19:28:21 +01:00
Kevin Wallace 1c076049cf Fix URL generation when not at domain root 2022-11-04 19:22:30 +01:00
Kevin Wallace 242bf7b515 fixup! Fix URL generation when not at domain root
Oops -- missed these two!  Sorry for the noise; let me know if you'd
like me to squash and resubmit.
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 3729500e3e Improve Block support 2022-10-23 16:37:32 +02: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 6873ede288 Tweak CSS 2022-09-20 20:00:35 +02:00
Thomas Sileo b99552384c Improve expired session and CSRF error handling 2022-09-16 18:14:50 +02:00
Miguel Jacq c30033c19e Fix minor grammatical issues, mostly in docs 2022-09-16 08:52:43 +02:00
Thomas Sileo 4c86cd4be3 Always show followers/following page when admin 2022-09-13 22:33:20 +02:00
Thomas Sileo b2f268682c New config item to hide followers/following 2022-09-13 21:03:35 +02:00
Thomas Sileo 04da8725ed Improve fetch 2022-09-12 08:04:16 +02:00
Thomas Sileo 0f20a1d12f Allow to post note with attachments and a CW 2022-09-08 22:20:16 +02:00
Thomas Sileo 333fa5dc40 Add new notification type for Move activities 2022-09-07 22:21:12 +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