Commit graph

2499 commits

Author SHA1 Message Date
pancakes
7e6fba61da
[frontend/components] Make inline emojis consistent with reaction emojis but with fixed width 2024-12-17 19:36:31 +01:00
pancakes
0a866bad75
[frontend/components] Display NoteReactionDetails reaction count the same as in note reactions 2024-12-17 19:36:31 +01:00
pancakes
39426da00e
[frontend/components] Reaction title, consistent custom emoji, fixed gaps, and translucent reacted background color 2024-12-17 19:36:30 +01:00
pancakes
7d2af70250
[frontend/components] Contain emojis, use pointer cursor, and make emojis easier to press on mobile in Emoji Picker 2024-12-17 19:36:30 +01:00
pancakes
8990ff08b1
[frontend/mfm] Make tada fn 150% size 2024-12-17 19:34:53 +01:00
pancakes
427c2c2109
[frontend/mfm] Fix sizes of x3 and x4 fn nodes 2024-12-17 19:34:53 +01:00
pancakes
27eb943066
[frontend/mfm] Add center and small fn nodes 2024-12-17 19:34:53 +01:00
pancakes
4a4544cf1d
[frontend/components] Use pointer cursor on blurred attachments and images 2024-12-17 19:34:08 +01:00
pancakes
a572569066
[frontend/components] Use IsNullOrWhiteSpace for Attachment Viewer 2024-12-17 19:34:08 +01:00
pancakes
465d0b4c8b
[frontend/components] Vertically align file attachments 2024-12-17 19:34:08 +01:00
pancakes
9499ee825b
[frontend/components] Improve file attachment appearance 2024-12-17 19:34:08 +01:00
pancakes
12f7d40fcc
[frontend/components] Only open image attachments in image viewer 2024-12-17 19:34:08 +01:00
pancakes
ce16fca697
[frontend/components] Use IsNullOrWhiteSpace to check if attachment has alt text 2024-12-17 19:34:08 +01:00
pancakes
c131efc7c8
[frontend/pages] Move register link to bottom and only show when registrations aren't closed 2024-12-17 19:32:59 +01:00
pancakes
47f8d94f88
[backend/razor] Revert Instance config and use snapshot of Security config 2024-12-17 19:32:59 +01:00
pancakes
c7498696b4
[frontend/pages] Add links between login and register pages 2024-12-17 19:32:59 +01:00
pancakes
ca567e4aba
[backend/razor] Show register link in Public Preview footer if registrations aren't closed 2024-12-17 19:32:58 +01:00
Laura Hausmann
49e9c6d825
[backend] Reformat DriveService.cs 2024-12-16 21:30:35 +01:00
Laura Hausmann
48e688e514
[backend/drive] Normalize empty / whitespace alt text to null 2024-12-16 21:30:26 +01:00
Laura Hausmann
ce646e84d9
[backend/core] Fix runtime ArrayTypeMismatchException in EmojiService 2024-12-15 01:09:06 +01:00
Laura Hausmann
b8ba778842
[backend/core] Improve inline media lookup performance 2024-12-15 01:05:56 +01:00
Laura Hausmann
f1f79a3435
[backend/api] Add session management endpoints 2024-12-15 01:03:31 +01:00
Laura Hausmann
3b89e0be9c
[sln] Bump MfmSharp version 2024-12-15 00:44:22 +01:00
Laura Hausmann
e8842d70a2
[backend/core] Fix runtime ArrayTypeMismatchException in NoteService 2024-12-15 00:36:19 +01:00
Laura Hausmann
010dd2bb96
[backend/core] Fix CW edits not being processed correctly, replace CW line endings during note ingest 2024-12-15 00:34:29 +01:00
Laura Hausmann
2453e0f673
[backend/database] Normalize note text & user bio line endings 2024-12-15 00:22:31 +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
Laura Hausmann
a6b5b4c69f
[backend/api] Return correct auth status for tokens in "2fa pending" state 2024-12-14 22:11:03 +01:00
Laura Hausmann
eab83fb500
[backend/api] Add logout endpoint (ISH-664) 2024-12-14 22:11:03 +01:00
Kopper
71cfa9e501
[backend/razor] Render inline media 2024-12-13 22:19: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
b6953236c3
[backend/masto-client] Fix edits breaking 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
3edda1e70e
[backend/api] Document 200 response for /users/{id}/unfollow (ISH-662) 2024-12-13 22:04:49 +01:00
Laura Hausmann
f013520b84
[backend] Remove unused import 2024-12-12 00:41:24 +01:00
Laura Hausmann
df6a3a95ac
[sln] Update dependencies 2024-12-12 00:41:16 +01:00
Laura Hausmann
16235a901f
[sln] Update MfmSharp version 2024-12-12 00:40:03 +01:00
Laura Hausmann
7dc3143089
[backend/masto-client] Return attachment metadata when available (ISH-657) 2024-12-12 00:34:34 +01:00
Laura Hausmann
911480afcb
[backend] Remove unused imports 2024-12-11 19:58:52 +01:00
Laura Hausmann
4e2358ef2a
[sln] Update MfmSharp version 2024-12-11 00:04:38 +01:00
Laura Hausmann
8e0b5b1d2e
[sln] Update MfmSharp version 2024-12-10 04:21:03 +01:00
Laura Hausmann
c7d88d6417
[sln] Update MfmSharp version 2024-12-10 04:18:05 +01:00
Laura Hausmann
63e7281bb3
[sln] Update dependencies 2024-12-07 22:31:52 +01:00
Lilian
0ddb2a0d03
[frontend/pages] Fix profile view regex (ISH-655) 2024-12-07 21:50:57 +01:00
Laura Hausmann
c032f56d37
[frontend/mfm] Fix HTML rendering of link nodes 2024-12-07 20:27:43 +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
e588dfaff2
[ci] Fix possible command injection vulnerabilities 2024-12-07 19:30:17 +01:00
Laura Hausmann
b160a97f0e
[backend/core] Fix ArrayTypeMismatchException in APMentionsResolver 2024-12-07 04:41:00 +01:00