Commit graph

31711 commits

Author SHA1 Message Date
piuvas
6874a318ea
small fixes. 2025-05-26 23:34:31 -03:00
Hazelnoot
eb760e63bc fix lint errors 2025-05-26 22:21:36 -04:00
piuvas
ca32c231d0
initial link attributions work. 2025-05-26 22:44:29 -03:00
Marie
2ce8a9b9a7 merge: handle "follow" notifs from deleted user (!1032)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1032

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-05-26 18:34:11 +00:00
Hazelnoot
a3f9ff68fa resolve collection items in parallel 2025-05-26 13:08:05 -04:00
Hazelnoot
3da3ce9a40 pass limit from ap/get to resolveCollectionItems 2025-05-26 12:50:01 -04:00
Ahri Enby
06fa54b0c6 Update th-TH.yml 2025-05-26 16:59:35 +01:00
Ahri Enby
e94dac4ce5 Update th-TH.yml 2025-05-26 16:59:35 +01:00
Ahri Enby
ea7f5e5910 Update th-TH.yml 2025-05-26 16:59:35 +01:00
Ahri Enby
a7f4033041 Update vi-VN.yml 2025-05-26 16:59:35 +01:00
Hazelnoot
1ab5ceb65a fix ID checks in resolveCollectionItems 2025-05-26 11:34:46 -04:00
Hazelnoot
facedd3646 allow anonymous objects in secureResolve 2025-05-26 11:33:53 -04:00
Hazelnoot
02787f75ef add JSDocs to resolveCollectionItems 2025-05-26 11:23:07 -04:00
Hazelnoot
e689c04764 add options expandCollectionItems and allowAnonymous to ap/get endpoint 2025-05-26 11:17:20 -04:00
Hazelnoot
bdccb203ea resolve collection items in ApInboxService 2025-05-26 11:17:01 -04:00
Hazelnoot
5f0bb5dcd7 implement resolver.resolveCollectionItems 2025-05-26 11:16:48 -04:00
Hazelnoot
b506dd564b support fetching anonymous AP objects 2025-05-26 11:15:59 -04:00
Hazelnoot
17a56cb374 merge: add mediaDirectory config option to configure location of uploaded media (!1045)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1045

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-05-26 14:26:44 +00:00
Hazelnoot
5ce95e7f0b merge: make configuration file directory configurable with MISSKEY_CONFIG_DIR environment variable (!1044)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1044

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-05-26 14:26:32 +00:00
Ruby Iris Juric
4291a3d648
add mediaDirectory config option to configure location of uploaded media 2025-05-26 22:52:00 +10:00
Ruby Iris Juric
259eab513e
make configuration file directory configurable with MISSKEY_CONFIG_DIR environment variable 2025-05-26 13:39:19 +10:00
Hazelnoot
1cc9afc555 avoid use of <template> as a child of <TransitionGroup> 2025-05-25 18:52:44 -04:00
Hazelnoot
4ed1ea8f89 increase chart rate limits to max=200 and rate=5/s 2025-05-25 18:49:42 -04:00
Hazelnoot
f8e7e08809 fix clip / translate button styling in MkNoteSub / SkNoteSub 2025-05-25 18:49:22 -04:00
Hazelnoot
cc17e1b5ab fix Sub note toolbar not stopping click on mobile 2025-05-25 18:49:22 -04:00
Hazelnoot
5412ae27a6 add clip and translate buttons to MkNoteSub / SkNoteSub 2025-05-25 18:49:22 -04:00
Hazelnoot
b5357ac90d disable "translate" button after translating 2025-05-25 18:49:22 -04:00
Hazelnoot
2c8c650216 fix "translate" and "clip" buttons opening the note on mobile 2025-05-25 18:49:22 -04:00
Marie
9e8e08eb57 merge: Enforce HTTPS for all federation (!1042)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1042

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-25 21:07:52 +00:00
dakkar
28aa62f988 handle EntityNotFoundError on all calls to *.pack() 2025-05-25 12:42:59 +01:00
dakkar
9c89c91ded handle "follow" notifs from deleted user
the backend should not send these, but still, let's not explode
2025-05-25 12:35:13 +01:00
Hazelnoot
7f5e43530f enforce HTTPS for all federation 2025-05-25 00:04:27 -04:00
Hazelnoot
b6a71d2362 merge: make DynamicNote less dynamic - helps with #1059 (!1041)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1041

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-05-24 21:08:38 +00:00
Marie
e59a3ad693 merge: Synchronize database entities and code models (!1040)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1040

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-23 23:33:08 +00:00
Hazelnoot
460442f75d check permission in frontend before display trending polls 2025-05-23 10:22:26 -04:00
Hazelnoot
31e00a0906 fix policy check for unspecified "local" property in polls/recommendation endpoint 2025-05-23 10:22:17 -04:00
Hazelnoot
ee4dc27800 rename pollsOnLocal.host to pollsOnLocal.name 2025-05-23 10:22:17 -04:00
Hazelnoot
63950fea31 catch polls that are expiring exactly in the current instant 2025-05-23 10:22:17 -04:00
Hazelnoot
f01dc57ec9 only show polls from explorable users 2025-05-23 10:22:17 -04:00
Hazelnoot
3c949f0b81 overhaul trending polls
* Split into local, global, and completed sections
* Don't require credential, but check for local/global timeline perms
* Fix rate limit
* Return polls where the current user has already voted
* Return non-public polls if the user has permission to view them
* Apply user/instance blocks
* Fetch polls + notes + users in a single step to speed up pack
2025-05-23 10:22:13 -04:00
Marie
b05b4ec74d merge: Cleanup admin user UI (!1012)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1012

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-23 11:21:29 +00:00
Hazelnoot
639556201a merge: Add warning banner about word mute limitations (resolves #784) (!1017)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1017

Closes #784

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-05-23 11:14:15 +00:00
Hazelnoot
0ae8d85c3f fix TS errors from defaultLike 2025-05-22 16:20:49 -04:00
Hazelnoot
c510cfa312 make meta.defaultLike non-nullable 2025-05-22 16:08:26 -04:00
Hazelnoot
418aea1eef synchronize database entities and code models 2025-05-22 14:34:04 -04:00
dakkar
5a961119a7 ask to reload when changing noteDesign
since it's not longer super-dynamic
2025-05-21 18:32:43 +01:00
dakkar
7c61b57939 make sure that the DynamicNote component is *not* computed
my current hypothesis to explain #1059:

- we have a timeline, with some notes
- a new note arrives on the websocket
- we replace the items in the pagination inside the timeline
- vue starts re-rendering the notes, using the `:key` values to know
  which ones to leave there and which ones to move / add / delete
- since DynamicNote is `computed`, every time vue needs to instantiate
  it, it does an `await`
- so if another note is waiting in the websocket buffer, it gets
  processed *while vue is rendering*
- processing the new note cause the `items` map (and the array
  computed from it) to be replaced
- at this point vue may well get a new iterator from the start of the
  new list of items, after it had already decided that the first few
  notes did not need to be changed
- which manifests as new notes appearing in the middle of the
  timeline!
- and after enough new notes have arrived, all the old notes are out
  of the items map, so their elements have all been deleted, and
  "normality" is restored

this makes sense in my head, let's see if this change actually fixes
the problem
2025-05-21 18:27:39 +01:00
dakkar
d7ee652eb8 bump VueJS again
People have reported that #1059 happens even with the older version,
so there's no reason to not upgrade
2025-05-21 18:26:49 +01:00
Hazelnoot
1e434c8f4c merge: Skip preview for recursive links (!1039)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1039

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-21 16:43:59 +00:00
Hazelnoot
2b2afdd53a look at renoteId / replyId in case the renote / reply was not packed 2025-05-21 08:33:41 -04:00