Hazelnoot
73cc50fe90
fix user list API schema, access checks, and caching
2025-11-05 19:42:31 -05:00
Hazelnoot
173105ae24
add constructor to MiEmoji
2025-11-05 19:20:05 -05:00
Hazelnoot
c2f6f54f50
make MiUser.isRemoteUser / MiUser.isLocalUser generic
2025-11-05 19:20:04 -05:00
Hazelnoot
b62f6ca042
inline token metadata into the notification instead of just storing the ID
2025-10-07 20:49:38 -04:00
Hazelnoot
35a167701f
add notifications for shared access granted/revoked/login
2025-10-07 20:49:28 -04:00
Hazelnoot
7a6ac302f5
return assigned permissions from /i endpoint ( resolves #657 )
2025-10-07 20:49:28 -04:00
Hazelnoot
49dad22609
replace shared_access_token table with an extra column on access_token
2025-10-07 20:49:28 -04:00
Hazelnoot
fe53c16b23
rename sharedAccessTokensRepository to match naming convention
2025-10-07 20:48:32 -04:00
Hazelnoot
70b85e5215
allow tokens to limit a user's rank
2025-10-07 20:48:32 -04:00
Hazelnoot
fa5a46f379
basic support for Shared Access Accounts
2025-10-07 20:47:34 -04:00
Marie
741e612508
merge: Expand Mandatory CW feature and fixup block/mute/silence features ( resolves #809 , #910 , #912 , #943 , #1064 , #1142 , and #1186 ) ( !1148 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1148
Closes #809 , #910 , #912 , #943 , #1064 , #1142 , and #1186
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-09-25 20:05:46 +02:00
Hazelnoot
13b6097a12
merge: Allow for sending announcement mails with List-Unsubscribe: ( !1164 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1164
Closes #854
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-09-13 12:32:39 -04:00
Hazelnoot
f1fc8bc357
add bypassSilence property at note level to fix silenced users' self-boosts showing a warning even when the user is followed
2025-09-13 11:34:37 -04:00
Hazelnoot
85ca2269e4
completely re-implement note visibility as NoteVisibilityService
2025-09-13 11:34:37 -04:00
Hazelnoot
7728e749f1
return bypassSilence to the frontend and remove isSilencedForMe
2025-09-13 11:34:37 -04:00
Hazelnoot
bc16dc78d4
add instance.isSilencedForMe
2025-09-13 11:34:37 -04:00
Hazelnoot
455be9e197
replace note.isSilenced with user.isSilencedForMe
2025-09-13 11:34:36 -04:00
Hazelnoot
64694be004
mute silenced notes in frontend
2025-09-13 11:34:36 -04:00
Hazelnoot
d62be884b3
replace "Mark instance as NSFW" toggle with an instance-level mandatory CW
2025-09-13 11:34:36 -04:00
Hazelnoot
5e0115335a
add mandatory CW for instances
2025-09-13 11:34:35 -04:00
Hazelnoot
92750240eb
implement mandatory CW for notes ( resolves #910 )
2025-09-13 11:34:35 -04:00
Hazelnoot
0a9f730b59
merge: Add a role policy for viewing federation info ( !1219 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1219
Approved-by: Luna <her@mint.lgbt>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-09-13 11:28:11 -04:00
Hazelnoot
49c4c2b9ad
merge: fix(BE): Set serverRules to text ( !1209 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1209
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-08-29 15:50:11 +00:00
Hazelnoot
479e6daa1d
add role policy "canViewFederation"
2025-08-18 16:52:06 -04:00
Marie
d872c6608f
merge: Allow restricting announcement to a set of roles ( !1161 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1161
Closes #682
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-08-16 08:11:08 +00:00
наб
132c25b271
Log IP addresses used during registration
...
Closes #836
2025-08-11 23:53:13 +02:00
наб
b61c1d5b27
forRoles IS NOT NULL, coalesce to empty=unrestricted
2025-08-11 23:53:05 +02:00
наб
f3b5c3f447
Allow restricting announcement to a set of roles. Fix MkRoleSelectDialog only respecting publicOnly half the time
...
Closes #682
2025-08-11 23:53:05 +02:00
Lilly Schramm
6e46de3438
fix(BE): Set serverRules to ext
2025-08-09 18:00:40 +02:00
наб
c6e4c9294f
Allow for sending announcement mails with List-Unsubscribe:
...
Per https://datatracker.ietf.org/doc/html/rfc8058 ,
we send "announcement" mails with
List-Unsubscribe: <${apiUrl}/unsubscribe/${userId}/${oneClickUnsubscribeToken}>
List-Unsubscribe-Post: List-Unsubscribe=One-Click
and handle
POST /api/unsubscribe/:user/:token => this unsubscribes
GET /api/unsubscribe/:user/:token => 302 /unsubscribe/:user/:token
GET /unsubscribe/:user/:token => user-visible page with clickthrough confirmation
In this configuration, compatible MUAs will show an "unsubscribe" button
that, when clicked, will POST to the URL directly
Less-compatible MUAs (and scanners) will open the page directly
which will redirect to a click-though; interactive users will be able to
unsubscribe, scanners won't unsubscribe by accident
Nothing /actually/ sends non-reactive mails,
so this is never used at this time
Closes #854
2025-07-27 18:29:16 +02:00
Hazelnoot
07295ad62d
merge: Split descriptions. ( !1167 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1167
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 15:29:41 +00:00
Hazelnoot
b6c8f4f876
merge: Add more "detail" flags to API endpoints ( !1186 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1186
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:22:11 +00:00
Hazelnoot
e78c4d99f6
fix database type of chat_message.text
2025-07-26 20:10:54 -04:00
Hazelnoot
f163e15602
move user.lastFetchedAt to UserLite
2025-07-21 16:13:00 -04:00
Hazelnoot
69402e3abb
move user.updateAt to UserLite
2025-07-21 16:13:00 -04:00
Hazelnoot
ed68230811
merge: Add importCompleted notification. Send importCompleted when antenna/customEmoji/muting/userList is imported ( !1165 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1165
Closes #891
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-21 18:42:29 +00:00
наб
a00a3c6841
Add importCompleted notification. Send importCompleted when antenna/customEmoji/muting/userList is imported
...
The only userImportableEntities that don't notify
are blocking and following because they fork off a batch of single
Closes #891
2025-07-16 18:32:18 +02:00
piuvas
1696e31797
initial split descriptions impl.
2025-07-15 18:37:29 -03:00
bunnybeam
92d87f955f
remove index on confetti column
2025-07-14 19:32:42 +01:00
bunnybeam
45bf8262aa
implement optional confetti on announcements
2025-07-07 20:03:28 +01:00
dakkar
13d045d813
merge: misskey 2025.5.0 ( !1028 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1028
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-29 09:54:12 +00:00
Marie
fad58ddc1c
merge: unique constraint for registry_item - fixes #1121 ( !1139 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1139
Closes #1121
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-28 22:49:51 +00:00
Marie
f4fe14f5b7
merge: feat: Add Bio Length Setting ( !1136 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1136
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-28 22:47:41 +00:00
Hazelnoot
7200c3d6c8
implement note mutings and move favorited/renoted status into note entity directly
2025-06-23 13:47:04 -04:00
Hazelnoot
87582034b5
expose thread mute status as Note.isMuting property
2025-06-23 13:47:04 -04:00
Hazelnoot
7d0f995c9b
hide muted threads from timelines
2025-06-23 13:47:04 -04:00
dakkar
3aa5ec713c
unique constraint for registry_item - fixes #1121
...
we remove all duplicate items from the registry, keeping the
most-recently updated one (which presumably is the one that the users
expect to be used)
then we use `upsert` instead of the more complicated previous logic,
which was subject to races
2025-06-22 13:10:22 +01:00
Lilly Schramm
df77f339ec
feat(backend): Add Config Option For Bio Length
2025-06-22 01:02:20 +02:00
dakkar
6b3f775600
fix merge in json-schema
2025-06-20 11:00:31 +01:00
dakkar
886160bdec
Merge branch 'develop' into upstream/2025.5.0
2025-06-20 10:44:34 +01:00