Iceshrimp.NET/Iceshrimp.Backend/Core/Helpers
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
..
LibMfm [backend] Implement inline media 2024-12-13 22:19:30 +01:00
AssemblyHelpers.cs [backend/plugins] Migrate from Weikio.PluginFramework to Iceshrimp.AssemblyUtils 2024-07-15 01:02:41 +02:00
AuthHelpers.cs [backend] Code cleanup: switch to BSD braces style, tweak code style 2024-02-17 02:31:00 +01:00
BlurhashHelper.cs [sln] Code cleanup 2024-09-13 21:44:31 +02:00
CryptographyHelpers.cs [backend] Apply formatting rules 2024-06-29 01:06:19 +02:00
DigestHelpers.cs [backend/drive] Refactor ImageProcessor into a modular system 2024-08-12 03:21:03 +02:00
EfHelpers.cs [backend/masto-client] Use the F# SearchQuery parser for FTS queries (ISH-11) 2024-03-04 00:12:22 +01:00
EmojiHelpers.cs [backend/core] Convert GeneratedRegex partial methods to partial properties 2024-11-18 19:02:41 +01:00
EventHelpers.cs [backend/core] Switch to lock objects for locking purposes 2024-11-18 19:02:40 +01:00
FilterHelper.cs [backend] Apply formatting rules 2024-06-29 01:06:19 +02:00
IdHelpers.cs [backend/core] Code cleanup 2024-11-19 19:38:31 +01:00
InlineFileContentResult.cs [backend/drive] Serve files served by the integrated drive controller as inline attachments 2024-10-13 23:50:38 +02:00
InlineFileStreamResult.cs [backend/drive] Serve files served by the integrated drive controller as inline attachments 2024-10-13 23:50:38 +02:00
JsonConverters.cs [backend] Code cleanup: switch to BSD braces style, tweak code style 2024-02-17 02:31:00 +01:00
MastodonOauthHelpers.cs [backend/masto-client] Allow admin:read and admin:write scopes 2024-11-07 21:34:40 +01:00
NoteThreadHelpers.cs [shared] Code cleanup 2024-07-04 18:02:00 +02:00
PluginLoader.cs [sln] Reformat code 2024-11-20 00:48:29 +01:00
Result.cs [backend/federation] Refactor UserResolver (ISH-548) 2024-10-24 01:48:09 +02:00
SemaphorePlus.cs [backend/queue] Fix QueueService race condition (properly this time) 2024-07-25 01:29:32 +02:00
StartupHelpers.cs [backend/startup] Improve help text 2024-10-19 01:32:48 +02:00
TotpHelper.cs [backend/api] Add TOTP submission endpoint (ISH-580) 2024-11-21 20:04:21 +01:00
WriteLockingHashSet.cs [backend/core] Switch to lock objects for locking purposes 2024-11-18 19:02:40 +01:00
WriteLockingList.cs [backend/core] Switch to lock objects for locking purposes 2024-11-18 19:02:40 +01:00