Ember
ed91663672
merge: don't count "system" local accounts in user chart - fixes #451 ( !500 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/500
Closes #451
Approved-by: Ember <acomputerdog@gmail.com>
Approved-by: Marie <marie@kaifa.ch>
2024-05-07 20:17:54 +00:00
dakkar
89f4f0e5f4
don't count "system" local accounts in user chart - fixes #451
2024-05-07 20:17:53 +00:00
Ember
58ff225c4e
merge: really edit notes in more cases - fixes #424 ( !504 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/504
Closes #424
Approved-by: Leah <kevinlukej@gmail.com>
Approved-by: Ember <acomputerdog@gmail.com>
2024-05-07 20:16:39 +00:00
dakkar
eab690a5e3
really edit notes in more cases - fixes #424
2024-05-07 20:16:38 +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
KevinWh0
a058c855fc
changed grabbing theme color for dot to match the other things in this project
2024-05-06 13:59:42 +02:00
KevinWh0
342eda431f
fixing a buch of comments
2024-05-06 13:54:43 +02:00
Tess K
83df1c0128
merge: feat: check polls and media for muted keywords ( !507 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/507
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Tess K <me@thvxl.se>
2024-05-04 18:51:36 +00:00
Tess K
5e20de45d7
merge: Compact LD-signed activities against well-known context ( !503 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/503
Approved-by: Marie <marie@kaifa.ch>
Approved-by: Tess K <me@thvxl.se>
2024-05-04 17:19:42 +00: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
Essem
f843bf6c17
fix: Add unicode flag to custom emoji regexes
2024-05-03 11:48:00 -05:00
KevinWh0
0117f1896c
potential firefox fix
2024-05-03 12:20:58 +02:00
KevinWh0
975b6b3dd0
fixed querySelector that would grab favicon
2024-05-03 12:15:47 +02:00
KevinWh0
47d1477ac4
did thread fixes
2024-05-03 11:27:41 +02: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
KevinWh0
42c2969707
fixes
2024-05-02 17:38:16 +02:00
KevinWh0
590f7abefd
removed use of settimeout
2024-05-02 17:22:30 +02:00
ShittyKopper
e333283905
Send default reactions as Like activities to Iceshrimp.NET instances
2024-05-02 02:37:59 +03:00
dakkar
45182c17e2
fix imports
2024-05-01 17:41:33 +01:00
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
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
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
328546c4cd
Merge branch 'develop' into release/2024-03-30
2024-03-30 11:08:26 +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
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
aa7035a35a
merge: longer statement_timeout
for migrations - fixes 450 ( !466 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/466
Approved-by: Luna <her@mint.lgbt>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-03-14 14:46:42 +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
Luna
d003c3ec1f
merge: Fixed broken line numbers ( !471 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/471
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Luna <her@mint.lgbt>
2024-03-14 01:36:46 +00: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
dakkar
43544a6479
longer statement_timeout
for migrations - fixes 450
2024-03-09 15:38:36 +00:00
dakkar
354cb2a675
handle non-ASCII emoji names
...
* use the more inclusive regexp for validating emoji names
* always normalize emoji names, aliases, categories
the latter point is necessary to allow matching, for example, `ä`
against `a`+combining diaeresis
this will also need to bump the version of `sfm-js` once we merge
https://activitypub.software/TransFem-org/sfm-js/-/merge_requests/2
2024-03-09 12:51:51 +00:00
dakkar
ff0117a1a5
check prohibited words when creating notes
...
some small differences (between Misskey and us) inside the `create`
method made `git` put all the changes inside the `import` method… I
thought I had copied them all, but I had missed one, and it's a pretty
important one: prohibited words were not being checked!
2024-03-05 16:52:05 +00:00
Amelia Yukii
4c69cbcd2b
merge: update list of project members ( !452 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/452
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: Leah <kevinlukej@gmail.com>
2024-03-04 20:35:57 +00:00
dakkar
2a4e26c05f
update list of project members
2024-03-04 20:35:57 +00:00
Amelia Yukii
1e658ee04d
merge: fix repo + feedback URLs for Firefish / IceShrimp ( !450 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/450
Approved-by: Luna <her@mint.lgbt>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-03-04 20:22:49 +00:00
Amelia Yukii
061cc40384
merge: allow lookup / search for http
URLs ( !457 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/457
Approved-by: Luna <her@mint.lgbt>
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
2024-03-04 20:20:53 +00:00
Leah
eba0c2cc61
Fixed startup crash with seasonal effects
2024-03-04 18:47:47 +00:00
dakkar
96d8432b85
allow lookup / search for http
URLs
2024-03-03 14:45:34 +00:00
dakkar
03464cc379
always align code to the left - fixes #436
...
"featured notes" on the welcome page's right-hand column are shown
with the text right-aligned; code should not be affected by that. This
makes sure it isn't
2024-03-03 12:06:22 +00:00
dakkar
ebe8179c9e
save and restore UI language together with other prefs - fixes #443
2024-03-03 11:23:49 +00:00
dakkar
7d00c4529b
fix repo + feedback URLs for Firefish / IceShrimp
2024-03-03 11:12:58 +00:00
dakkar
6ecfe7c7c3
remove duplicate method
2024-03-02 17:34:31 +00:00
dakkar
23f476dbf3
Merge branch 'develop' into release/2024.3.1
2024-03-02 17:28:34 +00:00
dakkar
af548d05ca
merge upstream for 2024.2.1
2024-03-02 16:36:49 +00:00
Marie
2fa0e238b7
merge: Update index.vue - Also check enableMcaptcha for noBotProtection ( !442 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/442
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-02-24 18:16:43 +00:00
Marie
1b65c06d60
merge: fix: delete old follow request (if exists) before creating new ( !440 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/440
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-02-24 18:16:16 +00:00
Ashley Graves
17df852c33
Update index.vue - I'm dumb sorry
2024-02-24 17:15:24 +00:00
Ashley Graves
f3ca342318
Update index.vue - Also check enableMcaptcha for noBotProtection
2024-02-24 17:12:53 +00:00
Kaity A
def2e8dff0
Merge remote-tracking branch 'origin/develop' into fix/failed-follow
2024-02-24 05:05:25 +00:00
Kaity A
ea948ccadc
fix: delete old follow request (if exists) before creating new
2024-02-24 04:38:01 +00:00
Marie
d1b787192a
fix: align note edit errors with note create errors
2024-02-23 17:01:35 +01:00
Marie
15d2319011
merge: upstream
2024-02-23 13:42:52 +01:00
tamaina
c0156b740b
enhance?: DeleteAccountServiceでユーザーを削除する際にuserChangeDeletedStateを発行する ( #13382 )
2024-02-23 18:15:39 +09:00