dakkar
6ae01e28aa
Compact LD-signed activities against well-known context
...
This should defend against some spoofing attacks, see also
https://nvd.nist.gov/vuln/detail/CVE-2022-24307 for Mastodon,
febb499fcb
from Iceshrimp and
e790d6be90
for Firefish
Thanks to @tesaguri@fedibird.com for reporting and providing the patch.
2024-04-30 10:16:57 +01:00
PrivateGER
493775ad7b
reformat expression
2024-04-24 16:05:30 +02:00
dakkar
0f3764ff71
teach ReactionService about non-ASCII emoji names
2024-04-23 14:42:02 +01:00
dakkar
504ff4c2af
increase page size for most admin lists - #491
...
Since I can't quite figure out how to prevent `MkPagination` from
truncating the lists too eagerly, I'm going to hide the problem by
making it truncate _less_.
2024-04-21 11:17:17 +01:00
Sugar
9545b8209a
fix: update reaction icons in tutorial to match sharkey icons
2024-04-20 21:09:28 +02:00
Sugar
0b705712ee
fix: update pl-PL translation for note from verb to noun
2024-04-20 18:03:46 +02:00
Latte macchiato
dd3d562a1e
Rework cache clearing to be fault tolerant
2024-04-19 21:58:37 +00:00
dakkar
fa60c1d4bf
make eslint happy
...
also add some types to `chiptune2.ts`
2024-04-19 14:42:58 +01:00
dakkar
dbfafe25e3
rework pagination - fixes #491
...
previously, when adding items either at the beginnig (e.g. new notes
coming in while we're not looking at the top of the timeline) or a the
end (e.g. more items arriving from a background fetch) of a paginated
view, the resulting list got truncated to `displayLimit`, potentially
throwing data away and causing a new fetch.
This, coupled with the async nature of scrolling & fetching, could
cause weird results.
Also, `offset` was always incremented by the size of the fetched
results, even if not all of them were displayed, meant that it was
possible for offset-based pagination to drop items.
Finally, the "queue" of new items (usually, new notes) also got
truncated to `displayLimit`, which again could drop items (this effect
was usually masked by the first point: when scrolling to the top of
the timeline, if the queue's length was equal to `displayLimit`, those
notes displaced any existing ones, `unshiftItems` set
`more.value=true`, you got scrolled to the top, and notes were fetched
again, so you lost your position but at least all notes got shown,
eventually)
2024-04-19 13:35:18 +01:00
dakkar
e0afeff248
merge: hide images/videos in og cards, when under a CW - fixes #487 ( !488 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/488
Closes #487
Approved-by: Marie <marie@kaifa.ch>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-04-11 20:40:38 +00:00
Marie
cfc8081cec
merge: bump tmp@0.2.3 - fixes #464 ( !475 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/475
Closes #464
Approved-by: Marie <marie@kaifa.ch>
Approved-by: Luna <her@mint.lgbt>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-04-11 18:00:40 +00:00
Marie
011ccd3a9a
merge: bump devel
version ( !486 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/486
Approved-by: Marie <marie@kaifa.ch>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-04-11 17:21:32 +00:00
Amelia Yukii
28065fc1d1
merge: handle ranged requests for proxied files - fixes #494 ( !490 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/490
Closes #494
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Marie <marie@kaifa.ch>
2024-04-11 10:07:25 +00:00
dakkar
960f4fcff7
detect size of remote files - fixes #494
...
without this, remote files are assumed to have size 0 (even if we just
downloaded them!) and the range-related code won't run
2024-04-09 16:21:30 +01:00
dakkar
92eec2178f
return 206 for every ranged response - fixes #494
2024-04-09 15:42:29 +01:00
dakkar
56dca6dbf5
hide images/videos in og cards, when under a CW - fixes #487
2024-04-07 16:58:13 +01:00
Marie
d6c736f1a5
fix conflicts
2024-04-07 15:42:28 +00:00
dakkar
b6f41a28ed
pull in sfm-js that supports non-ascii in emoji names
2024-04-07 16:37:31 +01:00
Marie
bb7b4a8ea4
merge: fix: send null for empty edited_at in mastodon api ( !487 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/487
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-04-07 15:36:59 +00:00
dakkar
0690b9a429
merge: fix: load libopenmpt on demand ( !469 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/469
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-04-07 14:56:16 +00:00
Sugar🍬🍭🏳️⚧
e779c1e667
fix: send null for empty edited_at in mastodon api
2024-04-04 10:43:28 +02:00
Marie
8c955fcce5
merge: use correct note design in favorites page - fixes #483 ( !481 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/481
Closes #483
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Marie <marie@kaifa.ch>
2024-04-03 09:28:01 +00:00
KevinWh0
7730472c77
moved setting toggle under notifications category
2024-04-02 23:33:37 +02:00
KevinWh0
de80727cfc
Moved class to seperate file and fixed some ts warnings
2024-04-02 23:30:14 +02:00
dakkar
2a634e0309
bump devel version
2024-03-30 12:48:03 +00:00
dakkar
e6970a0e7c
Merge branch 'stable' into bump-devel-version
2024-03-30 12:44:31 +00:00
Amelia Yukii
571272a564
merge: release 2024.3.2 ( !485 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/485
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-03-30 11:19:08 +00:00
dakkar
30bb0f60a2
version bump
2024-03-30 11:09:00 +00:00
dakkar
328546c4cd
Merge branch 'develop' into release/2024-03-30
2024-03-30 11:08:26 +00:00
Amelia Yukii
126248e58d
merge: some validation fixes ( !484 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/484
Closes #469
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-03-30 11:05:58 +00:00
dakkar
074de82bf7
some validation fixes
2024-03-30 11:05:58 +00:00
dakkar
aa11348d00
<bid>
all over the place
2024-03-30 10:54:25 +00:00
dakkar
6bdb4a7ddc
dir=auto on post form textarea, too
2024-03-29 18:08:17 +00:00
Marie
6bc258a3e0
chore: automatically detect RTL on all MFM content
2024-03-29 16:52:22 +00:00
dakkar
bd7c4f66f3
use correct note design in favorites page - fixes #483
2024-03-27 16:03:35 +00:00
Marie
ece86f756d
chore: add new type
2024-03-24 23:46:57 +00:00
Marie
56b19ab6bb
fix: incorrect type for quote property
2024-03-24 23:41:23 +00:00
dakkar
4271402e0d
recognise numbers and boolean values
2024-03-24 11:17:55 +00:00
dakkar
0e8cdb30b7
allow setting values not present in the config file
...
replicas and arrays in general, are more complicated :/
2024-03-24 11:12:17 +00:00
dakkar
74362af828
allow custom oneko image via themes - fixes #472
...
after this change, one can set a custom image by:
* upload an appropriate image to the drive (some images can be
found at
https://github.com/vencordcss/onekocord/tree/main/onekoskins ),
possibly with the "keep original" option set
* copy the URL to the image in the drive
* create/edit a theme so that it contains (inside `props`):
"oneko-image": '"url(https://yourinstance.example.com/files/ee17b385-a084-4e2a-b531-225dfb96cc3c )',
with the proper URL
That's it!
2024-03-23 12:19:13 +00:00
dakkar
435cab01c8
deal with (possible, future) non-alnum config keys
2024-03-21 10:00:16 +00:00
dakkar
25e6409cc9
allow overriding all string config values via env - fixes #465
...
will need end-user documentation!
2024-03-20 15:38:20 +00:00
KevinWh0
459e684117
fixed some of the issues with it
2024-03-19 22:00:28 +01:00
dakkar
f4e89f2e6b
bump tmp@0.2.3 - fixes #464
...
see also https://github.com/raszi/node-tmp/issues/295
2024-03-19 17:13:43 +00:00
KevinWh0
ccf5659ac3
made methods private
2024-03-16 01:34:20 +01:00
KevinWh0
8f300cf460
added setting
2024-03-16 01:23:02 +01:00
KevinWh0
395ea9ab9f
made notification dot appear if you load the page and there are already notifs
2024-03-16 01:08:08 +01:00
KevinWh0
a0c63c8cc4
added notification dot and it seems to work well
2024-03-16 00:27:26 +01:00
Alina Sireneva
ecfaf7ff7a
chore: added license and patch info
2024-03-14 21:39:34 +03:00
dakkar
58bc8f2c10
merge: always align code to the left - fixes #436 ( !453 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/453
Closes #436
Approved-by: Essem <smswessem@gmail.com>
Approved-by: Leah <kevinlukej@gmail.com>
2024-03-14 14:48:30 +00:00