Commit graph

28 commits

Author SHA1 Message Date
Laura Hausmann
9ff79c92e0
[backend/libmfm] Improve performance of AngleSharp calls for MFM-HTML conversion, improve UrlNode HTML representation
This makes sure the AngleSharp owner document is only created once per application lifecycle, and replaces all async calls with their synchronous counterparts (since the input is already loaded in memory, using async for this just creates overhead)
2025-03-24 18:05:21 +01:00
Laura Hausmann
cefbf4f898
[backend/core] Move AsyncLocals to FlagService, fix IsPleroma flag for streaming connections 2025-03-22 20:56:36 +01:00
Laura Hausmann
10b74ff0d9
[backend/razor] Add cron tasks page to admin dashboard (ISH-719) 2025-03-15 03:55:09 +01:00
Laura Hausmann
ca2b64a7ad
[backend/razor] Add rel=alternate links to UserPreview and NotePreview 2025-03-15 01:21:13 +01:00
Laura Hausmann
8ed309b13d
[backend/razor] Fix navbar overflow handling 2025-02-18 22:33:16 +01:00
pancakes
66f3b23e46
[backend/razor] Add polls to public preview notes 2025-02-06 22:41:50 +01:00
pancakes
513635b7dc
[backend/razor] Add rules to admin dashboard 2025-01-30 11:09:26 +01:00
Laura Hausmann
113bd98b0e
[backend/drive] Proxy remote media by default 2025-01-09 12:36:34 +01:00
Laura Hausmann
ba0b8f76d4
[backend/razor] Fix NavBarLink not being highlighted when url matches but query doesn't 2025-01-09 09:08:35 +01:00
Kopper
71cfa9e501
[backend/razor] Render inline media 2024-12-13 22:19:31 +01:00
Kopper
1e1364e2bb
[backend/masto-client] Add feature flag for inline media 2024-12-13 22:19:31 +01:00
Kopper
89060599eb
[backend] Implement inline media
Inline media can be created by:

1. Attach media to note as usual
2. Copy media URL (public one, for remote instances)
3. Use the new $[media url ] MFM extension to place it wherever you
   wish. (The trailing space is necessary as the parser currently
   treats the closing ] as a part of the URL)

The Iceshrimp frontend may make this easier later on (by having a
"copy inline MFM" button on attachments, maybe?)

Federates as <img>, <video>, <audio>, or <a download> HTML tags
depending on the media type for interoperability. (<a download> is
not handled for incoming media yet).

The media will also be present in the attachments field, both as a
fallback for instance software that do not support inline media,
but also for MFM federation to discover which media it is allowed to
embed (and metadata like alt text and sensitive-ness). This is not
required for remote instances sending inline media, as it will be
extracted out from the HTML.

The Iceshrimp frontend does not render inline media yet. That is
blocked on #67.
2024-12-13 22:19:30 +01:00
Laura Hausmann
00e157cc7e
[parsing] Switch to MfmSharp 2024-12-06 18:14:00 +01:00
Laura Hausmann
7b61865287
[backend/libmfm] Fix HTML markup being dropped for federation & public preview requests 2024-12-03 23:33:47 +01:00
Laura Hausmann
24b412bd75
[sln] Reformat code 2024-11-20 00:48:29 +01:00
Laura Hausmann
7dec2514da
[sln] Apply code style 2024-11-20 00:48:29 +01:00
Laura Hausmann
4356a47b9d
[backend/asp] Make services runtime-discoverable 2024-11-18 19:02:44 +01:00
Laura Hausmann
b6714dbba9
[backend/razor] Switch to MapStaticAssets
This allows for fingerprinted filenames, ETags & enhanced caching.
2024-11-18 19:02:42 +01:00
Laura Hausmann
e73b68dc0d
[backend/razor] Reformat code 2024-11-09 19:24:52 +01:00
Laura Hausmann
8a806c611f
[backend/razor] Make expanded navbar hamburger menu full-width 2024-11-09 05:18:57 +01:00
Laura Hausmann
555d1108f5
[backend/razor] Move navbar placeholder into the NavBar component 2024-11-09 05:15:00 +01:00
Laura Hausmann
346803935a
[backend/razor] Add a navigation bar to the admin dashboard
This is implemented using a reusable navigation bar component.
2024-11-09 05:07:04 +01:00
Laura Hausmann
d4cda86228
[backend/razor] Fix typo 2024-10-28 14:43:10 +01:00
Laura Hausmann
4a5f575619
[backend/razor] Add CSS/JS versioning to razor pages & blazor ssr 2024-10-17 20:38:16 +02:00
Laura Hausmann
3a346d5a22
[backend/razor] Add admin dashboard (Admin-FE)
Currently available sections: instance metadata, user management, federation control, relays, plugins & queue dashboard.
Planned: sections: configuration, logs, policies & reports.
2024-10-11 05:41:52 +02:00
Laura Hausmann
fbb7140d01
[backend] Fix build 2024-10-05 20:42:49 +02:00
Laura Hausmann
cb28560dcf
[backend/razor] Improve public preview embeds (ISH-512)
Sensitive images are now not embedded. Image embeds now use the correct card type.
2024-10-05 20:38:05 +02:00
Laura Hausmann
9d1a21e2d9
[backend/razor] Move public preview to Blazor SSR (razor components) 2024-10-02 02:17:51 +02:00