Commit graph

2725 commits

Author SHA1 Message Date
pancakes
9d0cb44743
[backend/services] Also check user URI for local users when verifying links 2025-02-04 13:02:44 +01:00
pancakes
aa3262caea
[backend/services] Check for profile URL and user URI when verifying links 2025-02-04 13:02:44 +01:00
pancakes
fc07f55fe3
[frontend/components] Fix spacing of verified fields 2025-02-04 13:02:43 +01:00
pancakes
858a7724a2
[backend/services] Verify user profile field links 2025-02-04 13:02:43 +01:00
Kopper
7595f257f8 [backend/masto-client] Use List<> instead of HashSet<> for batch endpoints
CustomCollectionModelBinder's `as IList` cast does not work for HashSet,
breaking the code around trailing []s in query arguments.

The values are still being treated as a set in the query so adding the
same value multiple times shouldn't do anything except hit the max limit
quicker.

The intention was to aid clients which may not be doing their own
deduplication but I haven't really observed that behavior in the wild
and I doubt it's anything too much to expect from clients.

That said, testing on mastodon.social shows Mastodon itself may be doing
deduplication here before checking the limit, though I'm not entirely sure
if this will ever be noticed in the wild.
2025-02-04 10:19:24 +03:00
Laura Hausmann
ab0b1e543a
[backend/csproj] Exclude wwwroot/assets/LICENSE.md from build 2025-02-02 22:59:57 +01:00
Laura Hausmann
bed17be21f
[backend/assets] Improve LICENSE.md 2025-02-02 22:56:34 +01:00
Laura Hausmann
44ab441c3d
[backend/assets] Clarify license 2025-02-02 22:55:49 +01:00
Lilian
75f14d0302
[frontend/components] Improve streaming status indicator 2025-02-02 22:28:05 +01:00
Lilian
ed627474a3
[frontend] Unbreak gesture based navigation 2025-02-02 15:06:48 +01:00
Lilian
9e43594019
[frontend] Improve overscroll behavior 2025-02-02 14:23:15 +01:00
Lilian
a374c5e8c2
[frontend/components] Make cw button text change on state 2025-02-02 14:11:48 +01:00
Lilian
0aff68b398
[frontend/core] Fix avatar and banner response nullability 2025-02-01 22:06:21 +01:00
Lilian
56b602d3bf
[frontend/components] Fix inconsistent height of virtual scroller load buttons 2025-02-01 21:45:10 +01:00
Lilian
1823496298
[frontend/components] Allow toggling of all content warnings in single note view 2025-02-01 19:46:38 +01:00
Laura Hausmann
be1e393140
[sln] Update dependencies 2025-02-01 13:18:02 +01:00
Lilian
1daaf83f88
[frontend/components] Prevent overly long instance names from overflowing 2025-01-31 22:12:03 +01:00
Lilian
17561f8401
[frontend/css] Change notice colour 2025-01-31 21:39:34 +01:00
Lilian
e86c7f3663
[frontend/components] Highlight footer buttons on hover 2025-01-31 21:39:17 +01:00
Lilian
c4cc73a601
[frontend/components] Include character count in content warnings 2025-01-31 21:19:29 +01:00
Lilian
5205836846
[frontend/components] Fix display of overlength notes with content warnings 2025-01-31 21:11:05 +01:00
Laura Hausmann
8ff9aea33a
[sln] Code cleanup 2025-01-31 16:58:57 +01:00
Laura Hausmann
045ce709aa
[backend] Switch to Iceshrimp.EntityFrameworkCore.Extensions 2025-01-31 16:56:11 +01:00
pancakes
db04e6dadf
[frontend/components] Fix dialog button styling 2025-01-30 11:12:55 +01:00
pancakes
b4f51ec561
[frontend/components] Set default value for prompt dialog 2025-01-30 11:12:55 +01:00
pancakes
e6cf2f897d
[frontend/components] Allow scrolling really long dialogs 2025-01-30 11:12:55 +01:00
pancakes
af8cb0611b
[frontend/components] Optionally allow prompts to be empty 2025-01-30 11:12:55 +01:00
pancakes
9a7fbc8027
[frontend/components] Use global dialogs in note actions 2025-01-30 11:12:55 +01:00
pancakes
fd4fd72b30
[frontend/pages] Use global dialogs in profile page 2025-01-30 11:12:54 +01:00
pancakes
476ba83106
[frontend/components] Add SelectDialog 2025-01-30 11:12:54 +01:00
pancakes
b966f7dd2e
[frontend/components] Add PromptDialog 2025-01-30 11:12:54 +01:00
pancakes
66b8108c8f
[frontend/components] Add NoticeDialog 2025-01-30 11:12:54 +01:00
pancakes
54a6b8d2ba
[frontend/components] Add ConfirmDialog 2025-01-30 11:12:54 +01:00
pancakes
e0f3bf0b39
[frontend/components] Remove avatar self-repairing 2025-01-30 11:11:23 +01:00
pancakes
24e7624487
[backend/api] Fix profile avatar and banner endpoints 2025-01-30 11:11:23 +01:00
pancakes
dff87e9db5
[backend/api] Move Avatar and Banner queries onto single lines 2025-01-30 11:11:23 +01:00
pancakes
78550aa878
[backend/api] Simplify Avatar and Banner queries 2025-01-30 11:11:23 +01:00
pancakes
fa7c09c94b
[backend] Fix outgoing alt text federation 2025-01-30 11:11:23 +01:00
pancakes
d5b2ec15b8
[frontend/pages] Use UserProfileEntity.AvatarAlt and .BannerAlt 2025-01-30 11:11:23 +01:00
pancakes
58d10228e9
[backend/api] Move newAvatarAlt and newBannerAlt into UserProfileEntity 2025-01-30 11:11:23 +01:00
pancakes
811c5d7a46
[backend/api] Simplify queries for getting avatar and banner when updating profile 2025-01-30 11:11:23 +01:00
pancakes
f40c0e2499
[backend/api] Simplify GetAvatar and GetBanner database queries 2025-01-30 11:11:22 +01:00
pancakes
b9cb72475d
[backend/api] Remove debug prints 2025-01-30 11:11:22 +01:00
pancakes
b976bd9489
[frontend/pages] Allow setting alt text for new or existing avatar and banner 2025-01-30 11:11:22 +01:00
pancakes
d4efbfd2ce
[backend/api] Allow optionally setting avatar and banner alt text 2025-01-30 11:11:22 +01:00
pancakes
beef9f7503
[frontend/pages] Use DriveFileResponse for avatar and banner 2025-01-30 11:11:22 +01:00
pancakes
cd412e3056
[backend/api] Return DriveFileResponse for avatar and banner 2025-01-30 11:11:22 +01:00
pancakes
95c0a3e9ff
[frontend/pages] Display alt text on banner and add title for banner 2025-01-30 11:11:22 +01:00
pancakes
dab05d8e71
[frontend/components] Merge all avatars into UserAvatar component 2025-01-30 11:11:22 +01:00
pancakes
4d39f657b0
[backend/api] Include AvatarAlt and BannerAlt in UserResponse 2025-01-30 11:11:22 +01:00