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
Hazelnoot
aaba16c91b
exclude reply OP from preview
2025-05-21 08:31:14 -04:00
Hazelnoot
28551c8103
use config.url instead of " https://${config.host} "
2025-05-21 08:27:23 -04:00
Hazelnoot
e74fde8b31
optimize extractUrlFromMfm
2025-05-20 22:33:14 -04:00
Hazelnoot
dc1adcc491
skip resolving preview when a link is known to be recursive
2025-05-20 21:37:25 -04:00
Hazelnoot
38d4a7fd56
don't recursively render note previews
2025-05-20 21:21:42 -04:00
Hazelnoot
6c77be64b6
merge: Fix "fetch linked note" button for AP previews ( !1037 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1037
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-20 22:03:53 +00:00
Marie
48d4841656
merge: Fix surious translation errors ( !1034 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1034
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-20 19:02:26 +00:00
Marie
c107c47b89
merge: downgrade vue, may help with #1059 ( !1038 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1038
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-05-20 19:02:09 +00:00
dakkar
121898e5b1
downgrade vue, may help with #1059
2025-05-20 15:50:06 +01:00
Hazelnoot
e167ddd72d
fix unknownUrl value
2025-05-19 18:50:13 -04:00
Hazelnoot
be1326372b
add missing import file extension
2025-05-19 18:27:20 -04:00
Hazelnoot
3a3f8770d9
factor our cache logic into a separate method
2025-05-19 18:18:55 -04:00
Hazelnoot
3936807184
remove preview ActivityPub flag if we encounter a permanent (non-retryable) error while fetching the note
2025-05-19 18:11:25 -04:00
Hazelnoot
34a6816636
fix error schema for FileServerService rate limit
2025-05-19 17:59:49 -04:00
Hazelnoot
bede498798
add rate limit for URL preview
2025-05-19 17:58:35 -04:00
Hazelnoot
f8c53466ef
make sure that the "fetch linked note" button actually remembers that the note is fetched
2025-05-19 10:57:42 -04:00
dakkar
10a94b49a4
merge: fix MK_CONFIG_MEILISEARCH_APIKEY not correctly setting config ( !1036 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1036
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-05-19 12:38:44 +00:00
Ruby Iris Juric
e57616830d
fix MK_CONFIG_MEILISEARCH_APIKEY not correctly setting config
2025-05-19 14:48:22 +10:00
Hazelnoot
c412f5d69a
extract common translation UI into SkNoteTranslation.vue
2025-05-18 14:51:22 -04:00
Hazelnoot
cbb0f5a964
fix type errors in note translation source
2025-05-18 14:03:40 -04:00
Hazelnoot
10a2f32947
fix spurious "translation failed" errors in MkNoteSub
2025-05-18 14:01:47 -04:00
Marie
1801cbd278
merge: set transparent background for naked containers - fix 1063 ( !1033 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1033
Closes #1063
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-05-17 19:53:48 +00:00
Marie
e7d525abbe
merge: Add option to put Translate button in the note toolbar ( !1030 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1030
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-17 19:53:15 +00:00
Marie
bacb46da53
merge: bump vue ( !1031 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1031
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-05-17 19:51:32 +00:00
dakkar
d9f5c108b0
set transparent background for naked containers - fix 1063
...
`MkContainer` gained a background for its `.content` element, but that
needs to be overridden by the `naked` option (used for transparent
widgets)
2025-05-17 13:26:16 +01:00
dakkar
0142463e1d
bump vue
2025-05-17 12:45:26 +01:00
Hazelnoot
2fdec0ce29
add option to put Translate button in the note toolbar
2025-05-16 20:00:48 -04:00
Marie
f869bdfc4e
merge: await reverseConcat
( !1029 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1029
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-05-15 17:55:38 +00:00
dakkar
323ad31605
await reverseConcat
...
before d7784ea4ff
`moreFetching.value=false` happened after the `nextTick` inside
`reverseConcat` had completed, but after that commit, it happens
immediately (as part of the try/finally)
this _probably_ doesn't matter, but let's avoid changes we didn't
intend
2025-05-15 15:11:18 +01:00
Hazelnoot
a2a38c78db
merge: Experimental improvements to Delete Account process (maybe resolves #1035 ) ( !1021 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1021
Closes #1035
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-15 13:00:47 +00:00
Hazelnoot
33029e3b58
merge: Add "can trend" role policy ( resolves #1050 , #1051 , and #1052 ) ( !1010 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1010
Closes #1050 , #1051 , and #1052
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-15 08:40:19 +00:00
Hazelnoot
10622ceec7
replace andWhere with where
2025-05-14 23:26:22 -04:00
Hazelnoot
b7b30bde5d
use /users endpoint for explore exclusively (restore original behavior)
2025-05-14 23:25:40 -04:00
Hazelnoot
bb8609d0f0
rename popularUsersLocal.host to popularUsersLocal.name
2025-05-14 23:25:22 -04:00
Hazelnoot
dee2e19b63
don't trend notes from non-explorable or non-trendable users
2025-05-14 23:24:51 -04:00
Hazelnoot
0b8c101d71
check ps.trending before hiding non-explorable users from /users endpoint
2025-05-14 23:24:51 -04:00
Hazelnoot
b4bce57fcb
update user activity on Renote, Un-Renote, Note Edit, React, and Un-React
2025-05-14 23:24:51 -04:00
Hazelnoot
b22b5577b4
also delete AP logs for cascading notes
2025-05-14 23:24:51 -04:00
Hazelnoot
7cb7ed6fc9
decrement quote count correctly
2025-05-14 23:24:51 -04:00
Hazelnoot
36e1ad0f56
fix lint and TS errors in explore.users.vue
2025-05-14 23:24:51 -04:00
Hazelnoot
60373cb24f
fix references to userOrId
2025-05-14 23:24:51 -04:00
Hazelnoot
57d32ea900
enforce "can trend" role policy in trending user page
2025-05-14 23:24:51 -04:00
Hazelnoot
81910cf725
add new featured tab for "users popular locally"
2025-05-14 23:24:48 -04:00
Hazelnoot
2e4ec0dd9e
add role policy to allow note trending
2025-05-14 23:24:24 -04:00
Marie
1a9f8f782a
merge: Allow port ranges in allowedPrivateIps ( !1025 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1025
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-14 18:40:19 +00:00