Commit graph

1987 commits

Author SHA1 Message Date
Laura Hausmann
88dee6b410
[backend/api] Replace IEntity with IIdentifiable, move EntityWrapper<T> to shared project 2025-02-18 21:47:33 +01:00
pancakes
318651ac5d
[backend/razor] Set poll percentages to 0 if there are no votes 2025-02-18 17:40:53 +10:00
Laura Hausmann
4cdd5e9889
[backend/core] Code cleanup 2025-02-17 23:40:53 +01:00
Laura Hausmann
8b514986a4
[backend/middleware] Require administrator role for masto admin scope endpoints
This isn't currently used anywhere, but may become relevant in the future.
2025-02-17 23:29:05 +01:00
Laura Hausmann
16d62f6c33
[backend/database] Fix emoji type migration for emoji with multiple corresponding drive_file entries 2025-02-17 22:16:58 +01:00
Laura Hausmann
9f33e71b0f
[backend/federation] Wrap ASEmoji with colons on either side
This fixes emoji federation with NodeBB
2025-02-17 20:47:07 +01:00
Laura Hausmann
7c93c5591a
[backend/core] Populate & render emoji media type if available 2025-02-17 20:31:41 +01:00
Laura Hausmann
ca786026c2
[backend/api] Improve emoji alias update algorithm 2025-02-17 19:47:29 +01:00
Laura Hausmann
a143ac8b50
[backend/database] Fixup empty string emoji alias entries 2025-02-17 19:44:20 +01:00
Laura Hausmann
cb0e0dadef
[backend/core] Improve profile field verification error handling 2025-02-13 12:50:44 +01:00
Laura Hausmann
dd8f6b063e
[backend/core] Fix profile field verification handling for non-html links 2025-02-13 12:38:08 +01:00
Laura Hausmann
e1c5a99ab3
[backend/api] Fix remote emoji lookup pagination 2025-02-07 17:14:48 +01:00
pancakes
60a38bd768
[backend/api] Batch poll votes query when rendering note poll 2025-02-06 22:41:50 +01:00
pancakes
66f3b23e46
[backend/razor] Add polls to public preview notes 2025-02-06 22:41:50 +01:00
pancakes
6c31197bbc
[backend/api] Don't allow repeated multiple choice votes 2025-02-06 22:41:50 +01:00
pancakes
70e0d45c12
[backend/api] Set minimum poll duration to 5 minutes 2025-02-06 22:41:14 +01:00
pancakes
013f028684
[backend/api] Add endpoint for voting on polls 2025-02-06 22:41:14 +01:00
pancakes
33c850fb2b
[backend/api] Fix crash when rendering notes with no poll 2025-02-06 22:41:14 +01:00
pancakes
735bdfe09a
[backend/api] Add polls to CreateNote 2025-02-06 22:41:14 +01:00
pancakes
189938af13
[backend/api] Render note polls in Web API 2025-02-06 22:41:14 +01:00
Laura Hausmann
e5c2edf8cb
[backend/api] Fix unpaginated remote emoji lookup 2025-02-06 19:31:08 +01:00
pancakes
91e0f09bc5
[backend/api] Add remote emoji list endpoint for moderators 2025-02-06 16:13:34 +01:00
Laura Hausmann
b9724e29fb
[backend/masto-client] Fix concurrent DbContext use in UserRenderer 2025-02-06 14:37:45 +01:00
pancakes
26eab64e8c
[backend/api] Include avatar and banner alt text in user renderer 2025-02-06 13:09:49 +01:00
pancakes
36c6092fd2
Revert "[backend/api] Add missing inclusions of user avatar and banner"
This reverts commit b4084b8e2222d0935fb536feac78d5ed31dc6fa5.
2025-02-06 13:09:49 +01:00
pancakes
82a2331ae0
[backend/masto-client] Add avatar_description and header_description to AccountEntity 2025-02-06 13:09:49 +01:00
pancakes
6f69ae6ffb
[backend/api] Add missing inclusions of user avatar and banner 2025-02-06 13:09:48 +01:00
pancakes
2262830a2e
[backend/federation] Remove namespace from pronouns in LD context 2025-02-05 18:10:42 +01:00
pancakes
d2e1f186e8
[backend/federation] Don't use a constant for pancakes:pronouns 2025-02-05 18:10:42 +01:00
pancakes
5d938c5f47
[backend/api] Use [] instead of new Dictionary 2025-02-05 18:10:41 +01:00
pancakes
dcc03c3eb6
[backend] Remove unused imports 2025-02-05 18:10:41 +01:00
pancakes
98611179ea
[backend/database] Recreate Pronouns column in UserProfile with jsonb 2025-02-05 18:10:41 +01:00
pancakes
664fb73ebb
Revert "[backend/database] Create Pronouns column in UserProfile"
This reverts commit 5d51131bb5f6e917d847d63be65272be53e53ce8.
2025-02-05 18:10:41 +01:00
pancakes
a3ad8e5991
[backend/razor] Display pronouns in UserPreview 2025-02-05 18:10:41 +01:00
pancakes
997ab9558e
[backend/csproj] Disable PredefinedCulturesOnly 2025-02-05 18:10:41 +01:00
pancakes
480dbc2835
[backend/api] Switch from pancakes:Pronouns (V1) to pancakes:pronouns (V2) 2025-02-05 18:10:00 +01:00
pancakes
df9d3388cf
[backend/federation] Switch from pancakes:Pronouns (V1) to pancakes:pronouns (V2) 2025-02-05 18:10:00 +01:00
pancakes
2b25affa2b
[backend/federation] Use LDLocalizedString for pancakes:Pronouns 2025-02-05 18:09:59 +01:00
pancakes
9e713419ce
[backend/federation] Add LDLocalizedString 2025-02-05 18:09:59 +01:00
pancakes
3bfb133661
[backend/api] Render remote language-mapped pronouns 2025-02-05 18:09:59 +01:00
pancakes
f16164ca98
[backend/api] Add pronouns to profile responses and update profile request 2025-02-05 18:09:59 +01:00
pancakes
2aa6eb608b
[backend/federation] Federate user pronouns 2025-02-05 18:09:59 +01:00
pancakes
6001ff960a
[backend/database] Create Pronouns column in UserProfile 2025-02-05 18:09:59 +01:00
pancakes
4f9c3dc3c7
Revert "[backend/api] Add conflict check to UpdateFileParent"
This reverts commit ccf7a0f757d4968f11e32ba8606bfed4e44df7c9.
2025-02-05 18:03:27 +01:00
pancakes
16a0a76528
[backend/api] Fix edge case where GetAvatar and GetBanner can be both IsAvatar and IsBanner 2025-02-05 18:03:27 +01:00
pancakes
6322d5fb91
[backend/api] Add conflict check to UpdateFileParent 2025-02-05 18:03:27 +01:00
pancakes
87b686e5cb
[backend/api] Set appropriate values for IsAvatar and IsBanner in GetAvatar and GetBanner 2025-02-05 18:03:26 +01:00
pancakes
bc7745c9fc
[backend/api] Clone files that exist in different folders owned by the same user instead of creating copies 2025-02-05 18:03:26 +01:00
pancakes
59c26686e4
[backend/api] Use SuppressMessage attribute instead of pragma warning disable 2025-02-05 18:03:26 +01:00
pancakes
805393b3e5
[backend/api] Fix drive folder endpoint 2025-02-05 18:03:26 +01:00