Kopper
5d27233d08
[backend/masto-client] Expose AccountEntity.last_status_at
...
For performance reasons (it's set on the same query as the one that
increments the user notes counter) this does not take renotes into
account
2025-03-07 21:22:48 +01:00
Laura Hausmann
b9724e29fb
[backend/masto-client] Fix concurrent DbContext use in UserRenderer
2025-02-06 14:37:45 +01:00
pancakes
82a2331ae0
[backend/masto-client] Add avatar_description and header_description to AccountEntity
2025-02-06 13:09:49 +01:00
Laura Hausmann
113bd98b0e
[backend/drive] Proxy remote media by default
2025-01-09 12:36:34 +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
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
304d9f2750
[backend/masto-client] Enforce RestrictedNoMedia public preview mode
2024-09-24 01:02:05 +02:00
Laura Hausmann
d2e7753dd1
[backend/masto-client] Add FollowRequestCount to AccountSource
2024-07-02 22:43:36 +02:00
pancakes
6b5a5a1a09
[backend/masto-client] Set category for emojis
2024-06-24 17:02:52 +10:00
Laura Hausmann
24bde5ad29
[backend] Use User.IsLocalUser / .IsRemoteUser instead of null-checks where applicable (ISH-370)
2024-06-17 17:25:29 +02:00
Laura Hausmann
004d89e78a
[backend/masto-client] Improve account/status url/uri field compatibility
2024-06-05 17:44:48 +02:00
Laura Hausmann
ec6a3f5e73
[backend/masto-client] Return profile fields in /accounts/verify_credentials
2024-04-28 02:03:13 +02:00
Laura Hausmann
02b80a1a2a
[backend/core] Skip database queries for 0 member collections
2024-03-26 20:13:47 +01:00
Laura Hausmann
62469e2ea4
[backend/api] Use UserRenderer in AuthController instead of instantiating the response object directly (ISH-209)
2024-03-21 16:52:23 +01:00
Laura Hausmann
6c4ce82461
[backend/masto-client] Render identicon with file extension
...
This is required by some clients to render push notification avatars correctly
2024-03-15 19:20:48 +01:00
Laura Hausmann
ad21897928
[backend/core] Add user settings store (ISH-106)
2024-02-29 18:49:02 +01:00
Laura Hausmann
665154b1eb
[backend/federation] Resolve user profile mentions (ISH-33)
2024-02-25 02:07:20 +01:00
Laura Hausmann
2f3ca1e477
[backend/federation] Handle user profile fields (ISH-34)
2024-02-25 01:02:21 +01:00
Laura Hausmann
90eb93cfb2
[backend/core] Handle emoji in user profiles as well (ISH-89)
2024-02-25 00:43:11 +01:00
Laura Hausmann
f895a9e541
[backend/federation] Correctly serialize value types
2024-02-22 19:06:53 +01:00
Laura Hausmann
b5a805e617
[backend/masto-client] Return account source on verify_credentials
2024-02-19 01:19:12 +01:00
Laura Hausmann
d4e1d92771
[backend] Code cleanup: switch to BSD braces style, tweak code style
2024-02-17 02:31:00 +01:00
Laura Hausmann
7fcf9a5179
[backend/masto-client] Refactor mastodon entity names to prevent class name conflicts
2024-02-17 00:20:52 +01:00
Laura Hausmann
9496d81abe
[backend/database] Add entity methods for getting the public url/uri for users & notes (ISH-47)
2024-02-16 03:28:16 +01:00
Laura Hausmann
8ca64f5d11
[backend/masto-client] Fix datetime string handling
2024-02-14 18:33:26 +01:00
Laura Hausmann
bf916f7046
[backend/federation] Handle mention parsing edge cases properly (ISH-50)
2024-02-12 21:59:19 +01:00
Laura Hausmann
e6079da2ab
[backend/masto-client] Add user follower/following endpoints (ISH-44)
2024-02-12 03:44:54 +01:00
Laura Hausmann
70292d3458
[backend/masto-client] Fall back to identicon if user has no avatar
2024-02-11 23:33:49 +01:00
Laura Hausmann
67d1d776c8
[backend/federation] Basic mentions handling (ISH-38)
...
This implementation adds handling of incoming mentions, including rewriting non-canonical mentions of split domain users into their canonical form when inserting notes into the database.
2024-02-11 18:50:28 +01:00
Laura Hausmann
dde377f41d
[backend] Code cleanup: remove unnecessary using directives
2024-02-09 12:09:03 +01:00
Laura Hausmann
b22d0b98a3
[backend/masto-client] Implement search endpoint (ISH-7)
2024-02-07 23:35:59 +01:00
Laura Hausmann
29581d4fb2
[backend] Refactor postgres jsonb columns
2024-02-05 20:09:18 +01:00
Laura Hausmann
4aca474398
[backend/masto-client] Add /statuses/{id} and /accounts/{id} routes
2024-02-03 04:37:20 +01:00
Laura Hausmann
d3da11f827
[backend/masto-client] Fix concurrent DbContext access
2024-02-03 04:21:55 +01:00
Laura Hausmann
27ecd27ba0
[backend/mfm] Move MFM handling code into the main backend project
2024-02-02 18:04:13 +01:00
Laura Hausmann
aa6988399d
[backend/masto-client] Add schemas and renderers for user statuses
2024-02-02 02:35:03 +01:00
Laura Hausmann
09f9d2395c
[backend/masto-client] Implement /api/v1/accounts/verify_credentials
2024-02-02 01:46:37 +01:00