Laura Hausmann
905b7d173a
[backend/core] Switch to Iceshrimp.Utils.Common for Result<T>
2025-01-20 17:00:03 +01:00
Laura Hausmann
cd76e82a1e
[backend/libmfm] Set correct class for hashtag nodes in MfmConverter
2025-01-16 19:15:54 +01:00
Laura Hausmann
9e37942e9d
[backend/federation] Improve hashtag handling (ISH-651)
2025-01-12 12:27:34 +01:00
Laura Hausmann
113bd98b0e
[backend/drive] Proxy remote media by default
2025-01-09 12:36:34 +01:00
Laura Hausmann
3611155786
[backend/core] Increase TOTP window size to +-1
2025-01-08 18:09:12 +01:00
Laura Hausmann
e5fc326531
[backend/masto-client] Adjust line breaks after blockquote when SupportsHtmlFormatting is false
2025-01-07 09:06:27 +01:00
Laura Hausmann
bacd9a9262
[backend/masto-client] Fix missing line break after blockquote when SupportsHtmlFormatting is false
2025-01-07 09:04:04 +01:00
pancakes
dd768242e1
[backend/libmfm] Use double.TryParse instead of try/catch
2025-01-06 03:06:46 +01:00
pancakes
29c5b995dd
[backend/libmfm] Render dates in universal time and append " UTC" instead of the offset " +00:00"
2025-01-06 03:06:46 +01:00
pancakes
14cbfaed7c
[backend/libmfm] Convert outgoing unixtime nodes to human readable date if possible
2025-01-06 03:06:46 +01:00
Laura Hausmann
45b4792cf8
[backend/libmfm] Remove extraneous line breaks after quote blocks
2025-01-05 04:54:07 +01:00
Laura Hausmann
4d904bc673
[backend/federation] Fix compatibility with AP servers that send <br> without a trailing newline character
2025-01-05 04:32:50 +01:00
Laura Hausmann
fbb9165bec
[backend/libmfm] Deserialize HTML tags to MFM tag nodes instead of symbol nodes
2024-12-19 21:05:30 +01:00
Laura Hausmann
9865f3dde7
[backend/core] Replace MFM line endings during user/note ingestion
...
This saves significant amounts of time & memory during parsing.
2024-12-15 00:11:31 +01:00
Kopper
149fae3363
[backend] address review
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
d4a24be837
[backend/libmfm] Fix HTML rendering of link nodes
2024-12-07 20:27:36 +01:00
Laura Hausmann
5a6fbcef13
[backend/libmfm] Fix HTML rendering when text formatting is not supported
2024-12-07 20:20:45 +01:00
Laura Hausmann
5dee8bc783
[parsing] Bump MfmSharp version
2024-12-07 04:41:00 +01:00
Laura Hausmann
00e157cc7e
[parsing] Switch to MfmSharp
2024-12-06 18:14:00 +01:00
Laura Hausmann
d6f4f5bd51
[backend/libmfm] Wrap MFM payloads that cause the parser to time out in a MfmPlainNode
2024-11-27 04:53:24 +01:00
Laura Hausmann
9989aae29e
[backend/libmfm] Set alt text for emoji in public preview
2024-11-22 22:42:25 +01:00
Laura Hausmann
ec6e334266
[backend/api] Add TOTP submission endpoint (ISH-580)
2024-11-21 20:04:21 +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
579f8c233a
[backend/core] Code cleanup
2024-11-19 19:38:31 +01:00
Laura Hausmann
dd7b7634c6
[backend/core] Convert scoped services with request-specific properties to singletons by utilizing AsyncLocal<T>
2024-11-18 19:02:44 +01:00
Laura Hausmann
4356a47b9d
[backend/asp] Make services runtime-discoverable
2024-11-18 19:02:44 +01:00
Laura Hausmann
8d288e9f44
[backend/core] Convert GeneratedRegex partial methods to partial properties
2024-11-18 19:02:41 +01:00
Laura Hausmann
c6adb0bee1
[backend/core] Switch to lock objects for locking purposes
2024-11-18 19:02:40 +01:00
Laura Hausmann
2ef78e3f41
[parsing] Add strike html tag support, keep italic/bold/strike in html tag form when reserializing
2024-11-17 16:44:05 +01:00
Laura Hausmann
73783fa0ee
[backend/libmfm] Fix MfmSerializer dropping leading & trailing whitespace on recursive calls
2024-11-10 22:24:55 +01:00
Kopper
11170ffbcc
[backend/masto-client] Allow admin:read and admin:write scopes
...
These aren't actually used anywhere but supported just to make sure
clients that specify them in their scopes can log in successfully.
2024-11-07 21:34:40 +01:00
Laura Hausmann
f2853d2d40
[backend] Fix typo
2024-11-02 22:56:52 +01:00
Laura Hausmann
525bd02022
[backend/libmfm] Fix broken rendering of mentions of local users in some circumstances (ISH-567)
...
This was caused because of an inconsistency of whether to set the account domain as a fallback value or not. Therefore, invocations with the mentioned local user host not having a fallback value would cause broken mention rendering, e.g. in bios/profile fields.
2024-10-31 21:24:07 +01:00
Laura Hausmann
c9b9a8e45b
[backend] Switch to TimeSpan extension method for easier code readability
2024-10-30 18:27:18 +01:00
Laura Hausmann
efbd0c103c
[backend] Simplify MastodonOauthHelpers redirect uri validation
2024-10-29 16:54:48 +01:00
Laura Hausmann
f19a414b27
[backend/federation] Refactor UserResolver (ISH-548)
2024-10-24 01:48:09 +02:00
pancakes
8cbca253e8
[backend/masto-client] Add Bite extension
2024-10-23 05:04:55 +02:00
Laura Hausmann
fa81be967a
[parsing] Add support for advanced MFM (ISH-257)
2024-10-19 02:37:46 +02:00
Laura Hausmann
dc2d65d799
[backend/startup] Improve help text
2024-10-19 01:32:48 +02:00
Laura Hausmann
6124eadb53
[backend/drive] Add storage cleanup startup command
2024-10-18 23:18:45 +02:00
Laura Hausmann
9275e3b21a
[backend/drive] Add fixup-media startup command (ISH-520)
2024-10-18 22:43:25 +02:00
Laura Hausmann
83f9e44c1b
[backend/drive] Serve files served by the integrated drive controller as inline attachments
2024-10-13 23:50:38 +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
9d1a21e2d9
[backend/razor] Move public preview to Blazor SSR (razor components)
2024-10-02 02:17:51 +02:00
Laura Hausmann
7662c28745
[backend/database] Canonicalize punycode host representations to lowercase
2024-10-02 01:16:25 +02:00
Laura Hausmann
b4c2712172
[parsing/tests] Fix tests
2024-09-26 18:49:08 +02:00
Laura Hausmann
c02af726e1
[parsing/mfm] Rework codeblock node parsing & serialization
2024-09-26 01:12:21 +02:00