dakkar
928f65be72
merge: style: automatically detect RTL on all MFM content ( !482 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/482
Closes #356
Approved-by: Tess K <me@thvxl.se>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-05-31 18:42:38 +00:00
Marie
886948769e
merge: fix custom emoji pagination when searching - fixes #490 ( !489 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/489
Closes #490
Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-05-31 18:39:01 +00:00
dakkar
0a9697b405
merge: correcty load/save withBots
- fixes #528 ( !522 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/522
Closes #528
Approved-by: Marie <marie@kaifa.ch>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-05-31 10:38:27 +00:00
Amelia Yukii
55fc2879f3
merge: set the correct "marked an NSFW" when loading admin-user ( !483 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/483
Approved-by: Marie <marie@kaifa.ch>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-05-30 14:22:00 +00:00
dakkar
3050dcbef7
set the correct "marked an NSFW" when loading admin-user
2024-05-30 14:22:00 +00:00
dakkar
c42d61f69b
put back button to delete all files for a user - fixes #535
2024-05-24 20:47:10 +00:00
dakkar
dbe1c5d055
merge: allow custom oneko image via themes - fixes #472 ( !478 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/478
Closes #472
Approved-by: Luna <her@mint.lgbt>
Approved-by: Leah <kevinlukej@gmail.com>
2024-05-24 09:50:42 +00:00
Amelia Yukii
a9b1affdf0
merge: more timeline filters - #228 ( !455 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/455
Approved-by: fEmber <acomputerdog@gmail.com>
Approved-by: Leah <kevinlukej@gmail.com>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-05-23 21:56:28 +00:00
dakkar
d27ce442ea
more timeline filters - #228
2024-05-23 21:56:28 +00:00
Leah
f9a7cd0daa
Ported firefish crop and fade mfm
2024-05-23 21:40:25 +00:00
Leah
4c4b431248
Ported cutiekeys followmouse mfm
2024-05-23 18:08:31 +00:00
dakkar
453a023cb9
correcty load/save withBots
- fixes #528
...
there is no `tlWithBots` setting, it's inside `tl.filter` and we need
more complicated code to set it
2024-05-18 17:19:17 +01:00
dakkar
a676b0ee61
paginate in offset mode when querying emoji - fixes #490
...
since the backend sorts emojis by name length when a query is present,
the normal pagination with `sinceId` / `untilId` would not work
reliably
`offsetMode` is better in this case, although it will produce
non-stable results if custom emojis that match the query are added or
removed while we paginate
2024-05-09 21:02:37 +01:00
dakkar
3f73251df5
allow computed offsetMode
in MkPagination
- #490
2024-05-09 21:01:33 +01:00
dakkar
f38e55d9de
merge: rework pagination - probably fixes #491 ( !495 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/495
Closes #491
Approved-by: Ember <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-05-09 08:15:16 +00:00
dakkar
d40500d399
merge: fix: update reaction icons in tutorial to match sharkey icons ( !499 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/499
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Tess K <me@thvxl.se>
Approved-by: Marie <marie@kaifa.ch>
2024-05-09 08:02:59 +00:00
dakkar
84a98e41b6
merge: make eslint happy ( !496 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/496
Approved-by: Tess K <me@thvxl.se>
Approved-by: Marie <marie@kaifa.ch>
2024-05-09 08:00:54 +00:00
dakkar
3ab7f3bd8a
merge: fix #507 : retain custom emoji aspect ratio in admin panel ( !510 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/510
Closes #507
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-05-09 07:59:35 +00:00
dakkar
37989ec0e9
merge: fix : #505 and #516 inconsistent event propagation causes issues in notes and emoji picker when clicking on emojis ( !511 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/511
Closes #505 and #516
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-05-09 07:59:23 +00:00
tess
ab074db0c1
fix: retain custom emoji aspect ratio in admin panel for remote emojis
2024-05-08 08:23:32 +02:00
Ember
ac9e4733fd
merge: laxer HTML sanitisation for admin-controlled text - fixes #447 ( !454 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/454
Closes #447
Approved-by: Ember <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-05-07 20:19:53 +00:00
dakkar
2c40dd31f3
laxer HTML sanitisation for admin-controlled text - fixes #447
2024-05-07 20:19:52 +00:00
tess
19cba1a12a
fix: only stop event propagation in MkEmoji and MkCustomEmoji when menu prop is passed
2024-05-06 23:59:42 +02:00
tess
598ebdd44a
fix: retain custom emoji aspect ratio in admin panel
2024-05-04 17:49:20 +02:00
Hazel Koehler
cf317da244
revert refactor and cleanup
2024-05-03 22:26:35 -04:00
Hazel Koehler
26f8919432
feat: check polls and media for muted keywords
2024-05-02 20:31:34 -04:00
dakkar
d0a2708f91
merge: handle non-ASCII emoji names ( !464 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/464
Approved-by: Leah <kevinlukej@gmail.com>
Approved-by: Ember <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-05-02 21:06:10 +00:00
dakkar
12d92b174d
merge: save and restore UI language together with other prefs - fixes #443 ( !451 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/451
Closes #443
Approved-by: Marie <marie@kaifa.ch>
Approved-by: Ember <acomputerdog@gmail.com>
2024-05-02 21:05:38 +00:00
Tess K
b7ceb2063b
fix: MkPageWindow
doesn't render custom emojis in the titlebar when displaying a user profile who has custom emojis in their display-name
2024-05-02 17:53:05 +00: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
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
b6f41a28ed
pull in sfm-js that supports non-ascii in emoji names
2024-04-07 16:37:31 +01: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
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
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
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
dakkar
94aed953b5
merge: make cookie a bit more secure - fixes #445 ( !468 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/468
Closes #445
Approved-by: Luna <her@mint.lgbt>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-03-14 14:47:38 +00:00
dakkar
45eab01fc4
merge: hide CW-ed featured notes on welcome page - fixes #458 ( !467 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/467
Closes #458
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Leah <kevinlukej@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-03-14 14:45:53 +00:00
Alina Sireneva
a69315a24b
fix: added wasm in vite config
2024-03-14 14:41:24 +03:00
KevinWh0
b918f38ec2
fixed
2024-03-13 23:52:21 +01:00
Alina Sireneva
d991eccd3f
fix: Promise.resolve
2024-03-11 16:42:10 +03:00
Alina Sireneva
0085305579
fix: load libopenmpt on demand
2024-03-11 15:32:59 +03:00
dakkar
6826e43ad7
make cookie a bit more secure - fixes #445
...
We can't make the cookie `HttpOnly` because we're setting it from
Javascript, but I'm not sure it's worth the trouble to redesign that:
`JSON.parse(localStorage.account).token` gives you the token anyway,
hiding the cookie from JS won't offer much protection.
At least we can mark is `Secure` (meaning, only send it over HTTPS)
and _delete it on logout_ (it wasn't!)
2024-03-10 10:26:04 +00:00
dakkar
ff189b1952
hide CW-ed featured notes on welcome page - fixes #458
...
not the most elegant solution, but simple and robust
2024-03-10 10:13:35 +00:00