Hazelnoot
ea89348b62
add user-level "force content warning" moderation feature
2025-02-16 19:20:37 -05:00
Hazelnoot
2bf8648ebc
refresh cache when marking a user as NSFW
2025-02-16 19:15:23 -05:00
Hazelnoot
feeaf26641
fix lint errors in NoteCreateService & NoteEditService
2025-02-16 19:15:22 -05:00
Hazelnoot
3ab310e472
relax validation of Announce(Note) timestamps
2025-02-16 19:14:58 -05:00
Hazelnoot
6d459cdf80
Update ApImageService.ts
2025-02-16 19:14:24 -05:00
Hazelnoot
447534d094
support Peertube preview thumbnails
2025-02-16 19:14:24 -05:00
Hazelnoot
2d7918a9b7
merge: Merge upstream 2025.2.0 ( !886 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/886
Approved-by: Marie <github@yuugi.dev>
Approved-by: Amber Null <puppygirlhornyposting@gmail.com>
2025-02-16 21:42:35 +00:00
dakkar
e5c41444e6
merge: fill myReaction
in more cases - may fix #944 ( !907 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/907
Closes #944
Approved-by: Charlotte <timo.herngreen@gmail.com>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-02-16 13:39:27 +00:00
dakkar
949664147e
fill myReaction
in more cases - may fix !944
...
* first of all, fetch from the buffer all the notes we may
need (including replied-to ones)
* then, distinguish between "we know there's no myReaction" and "we
don't know if there's any myReaction"
* finally, look at both a note and the note it's replying to
2025-02-16 11:41:32 +00:00
Hazelnoot
ec29e12c97
Merge branch 'develop' into merge/2024-02-03
...
# Conflicts:
# packages/backend/src/core/SearchService.ts
2025-02-15 11:30:26 -05:00
Marie
dc6f13728c
merge: Fix timeout when searching notes by host without meilisearch ( resolves #940 ) ( !896 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/896
Closes #940
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-15 11:00:33 +00:00
Hazelnoot
c67d985254
Merge branch 'develop' into merge/2024-02-03
...
# Conflicts:
# packages/backend/src/core/SearchService.ts
# packages/misskey-js/src/autogen/types.ts
2025-02-14 23:48:36 -05:00
Hazelnoot
493000290b
fix performance of SQL LIKE note search
2025-02-14 20:16:39 -05:00
Hazelnoot
c8bb7b9816
fix error when searching without a specified host
2025-02-13 17:40:32 -05:00
Hazelnoot
667262dcfb
Merge branch 'develop' into merge/2024-02-03
...
# Conflicts:
# locales/index.d.ts
# packages/backend/src/core/SearchService.ts
# packages/frontend/src/pages/search.note.vue
# packages/misskey-js/src/autogen/types.ts
# sharkey-locales/en-US.yml
2025-02-13 17:04:50 -05:00
Hazelnoot
a95bfb7241
search notes with denormalized userHost field
2025-02-13 16:56:32 -05:00
Hazelnoot
ed981a6970
add new note search file types (module, flash) and optimize file type query
2025-02-13 09:28:46 -05:00
Hazelnoot
fb058410f6
fix pgroona note.text query
2025-02-12 11:01:26 -05:00
Hazelnoot
feb80ee992
Merge branch 'develop' into merge/2024-02-03
2025-02-11 10:52:52 -05:00
Hazelnoot
363111f5de
Merge branch 'develop' into merge/2024-02-03
...
# Conflicts:
# locales/index.d.ts
# packages/backend/src/server/api/EndpointsModule.ts
# packages/backend/src/server/api/endpoints.ts
# packages/misskey-js/src/autogen/endpoint.ts
# sharkey-locales/en-US.yml
2025-02-10 23:34:52 -05:00
Hazelnoot
5276d6024d
merge: Cleanup and bulk fixes to Mastodon API ( resolves #495 , #509 , #707 , #714 , #721 , #804 , #811 , #865 , and partially #492 ) ( !879 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/879
Closes #495 , #509 , #707 , #714 , #721 , #804 , #811 , #865 , and #492
Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-02-10 16:28:32 +00:00
Hazelnoot
2f84d151f5
merge: Allow user-initiated object lookups (/ap/show endpoint) to follow cross-domain redirects ( resolves #820 ) ( !878 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/878
Closes #820
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-10 16:22:20 +00:00
Marie
1da9245ca5
merge: hide note preview if it's already quoted - fixes #888 ( !894 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/894
Closes #888
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-02-10 16:20:21 +00:00
Marie
c1d609bf00
merge: make the listen address configurable - fixes #927 ( !892 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/892
Closes #927
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-02-10 16:19:05 +00:00
Marie
816ce293fb
merge: search-by-tags returns "home" notes - fixes #933 ( !891 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/891
Closes #933
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-02-10 16:18:06 +00:00
dakkar
b7f06f2877
prevent a ReferenceError
...
before, we got:
> ReferenceError: can't access lexical declaration 'followRequestDone'
> before initialization
(of course in non-dev mode, `followRequestDone` had a different name)
2025-02-10 11:59:38 +00:00
dakkar
f66e534f26
fix the defaults
2025-02-10 11:54:47 +00:00
dakkar
c6eb1ffde3
hide note preview if it's already quoted - fixes #888
...
I do not particularly _love_ this solution, but it is simple and
effective
I can't find another reliable way to determine if a link goes to a
local note of the given id, apart from fetching the link
2025-02-10 11:42:10 +00:00
Marie
670b1171fb
merge: Add ability to generate vapid keys on frontend ( !888 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/888
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-02-10 10:47:42 +00:00
dakkar
427d09e643
make the listen address configurable - fixes #927
...
sadly `fastify.listen` doesn't support passing more than 1 address
2025-02-10 10:40:06 +00:00
dakkar
7b507485b5
search-by-tags returns "home" notes - fixes #933
...
featured / trending tags count both "home" and "public" notes, so this
should do the same
2025-02-10 10:16:27 +00:00
dakkar
4567f243a9
allow overriding logging via env
2025-02-09 12:15:42 +00:00
Hazelnoot
3cd7cc5900
remove unstable "detector" tests from megalodon
2025-02-09 00:48:44 -05:00
Hazelnoot
7a8abbba6a
regenerate misskey-js
2025-02-08 13:19:29 -05:00
Hazelnoot
1126c09669
make convertAttachment match file->attachment schema
2025-02-08 13:17:50 -05:00
Hazelnoot
daf715578e
fix mastodon media attachment conversion ( resolves #495 )
2025-02-08 13:17:50 -05:00
Hazelnoot
1e43162ba7
improve mastodon note conversion and use access checks in more places ( resolves #509 )
2025-02-08 13:17:50 -05:00
Hazelnoot
3550ce27d5
hide restricted edit history from mastodon api ( resolves #811 )
2025-02-08 13:17:50 -05:00
Hazelnoot
bd95e8a555
fix relationship data for Mastodon API ( resolves #714 )
2025-02-08 13:17:50 -05:00
Hazelnoot
5a1d1394d4
add memo
and isInstanceMuted
to UserRelation API entity
2025-02-08 13:17:47 -05:00
Hazelnoot
02e90e23b7
fix build target for megalodon
2025-02-08 13:17:34 -05:00
Hazelnoot
bbfba495df
remove un-needed relationshipModel static data
2025-02-08 13:17:34 -05:00
Hazelnoot
c38f04fe38
fix empty masto-api responses for several endpoints ( resolves #721 and #707 )
2025-02-08 13:17:34 -05:00
Hazelnoot
16f483d273
cleanup Mastodon API ( resolves #804 and #865 , partially resolves #492 )
...
* Fix TS errors and warnings
* Fix ESLint errors and warnings
* Fix property typos in various places
* Fix property data conversion
* Add missing entity properties
* Normalize logging and reduce spam
* Check for missing request parameters
* Allow mastodon API to work with local debugging
* Safer error handling
* Fix quote-post detection
2025-02-08 13:17:34 -05:00
Hazelnoot
2c2fb8a692
export logger Data
types for reference elsewhere
2025-02-08 13:17:34 -05:00
Hazelnoot
5347bbf154
export megalodon generator in a way that doesn't break TypeScript
2025-02-08 13:17:34 -05:00
Hazelnoot
7e1b4b259a
Merge branch 'develop' into merge/2024-02-03
...
# Conflicts:
# packages/backend/src/server/ActivityPubServerService.ts
# pnpm-lock.yaml
2025-02-08 13:16:37 -05:00
Hazelnoot
50a3e55be4
merge: Rework rate limit factors and add caching ( resolves #884 ) ( !884 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/884
Closes #884
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-08 15:05:01 +00:00
Marie
9731a614a1
merge: Enable FreeBSD to be used for deployment ( !887 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/887
Closes #928
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-02-07 20:37:50 +00:00
Hazelnoot
170c0f111e
Merge remote-tracking branch 'fEmber/merge/2024-02-03' into merge/2024-02-03
2025-02-07 13:53:02 -05:00