Commit graph

7592 commits

Author SHA1 Message Date
HellhoundSoftware
6478399432
Don't sneakily disable RSS behind users' backs
Also keeps the database shape consistent with what the ORM model says,
because upstream forgot to do that.
2025-01-13 23:34:54 -05:00
zima
239393c64f Merge tag '2024.11.2' into Chore-Update-upstream-to-2024.11.2 2025-01-13 21:01:36 -07:00
HellhoundSoftware
cbd0bde157 Fix null coalescing in /admin/emoji/update (fixes #44) (#45)
Reviewed-on: https://codeberg.org/yeentown/barkey/pulls/45
Reviewed-by: zima <zima@noreply.codeberg.org>
Co-authored-by: HellhoundSoftware <keith@keithhacks.cyou>
Co-committed-by: HellhoundSoftware <keith@keithhacks.cyou>
2025-01-14 01:48:00 +00:00
zima
4bfe849810 Merge pull request 'Disable import/export buttons when action is in progress' (#47) from import-buttons-feedback into dev
Reviewed-on: https://codeberg.org/yeentown/barkey/pulls/47
Reviewed-by: zima <zima@noreply.codeberg.org>
2025-01-14 01:19:54 +00:00
HellhoundSoftware
987ad20f74
Disable import/export buttons when action is in progress 2025-01-13 16:43:49 -05:00
HellhoundSoftware
03c57d0f93
Add smaller font size 2025-01-13 15:46:05 -05:00
zima
57af29838b Update defaults for emoji 2025-01-06 17:48:02 -07:00
dakkar
5ef24836ef bump version 2025-01-01 17:11:38 +00:00
dakkar
f4aa986abd fix scheduled replies becoming quote-boosts
thanks to @CenTdemeern1 for triggering this bug!
see https://kitsunes.club/notes/a2h1y2rq9n

also compare with https://s.thenautilus.net/notes/a2h1y2rqx9

my instance errored out with:

> WARN 1	[remote ap]	Failed to resolve quote
> https://mastodon.social/users/DrALJONES/statuses/110586222749407429
>  for note https://kitsunes.club/notes/a2h1y2rq9n: StatusError: 404 Not
> Found

What happened?

* Charlotte scheduled a reply
* the processor called `findOneBy` with an undefined `note.renote`,
  which probably caused a `select` without any `where`
* a random note was attached as a quote
* that note has been deleted on the original instance but not on
kitsuclub's database
* the rest of fedi didn't notice the quote
2025-01-01 17:10:56 +00:00
dakkar
befc4512d0 merge: rethrow everything but non-retryable HTTP errors (!837)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/837

Approved-by: Marie <github@yuugi.dev>
Approved-by: Charlotte <timo.herngreen@gmail.com>
2024-12-30 08:52:06 +00:00
Hazelnoot
4b6a338e0d merge: fix: Replace RE2 with RegExp for "mute word" regex validation (resolves #850) (!836)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/836

Closes #850

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-26 19:09:49 +00:00
Hazelnoot
9fc562be3d avoid use of any in logger.ts 2024-12-26 13:46:15 -05:00
dakkar
45f7743323 fix types
I don't understand the difference between `any` and `unknown`, but the
type signatures before this branch had `Record<string, any> | null`,
and this code passes the typecheck… mah
2024-12-26 09:33:35 +00:00
zima
a4a56e8b7e Adjust rate limit for proxy endpoint 2024-12-25 18:46:19 -07:00
Hazelnoot
abb2c37591 re-implement "reduce inbox log spam when fetching blocked / unavailable notes" 2024-12-22 15:28:28 -05:00
dakkar
e4047b4076 rethrow everything but non-retryable HTTP errors
every job that ends without an exception will be considered
"completed" and not retried
2024-12-22 15:28:21 -05:00
zima
d39316bd16 Create dev container env 2024-12-22 12:03:17 -07:00
zima
84f86f526d Fix linting in MkEmojiPicker and custom-emojis in frontend 2024-12-21 18:25:35 -07:00
dakkar
5eca807e19 merge: Revert "Synchronize server startup" (!831)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/831

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Charlotte <timo.herngreen@gmail.com>
2024-12-21 16:35:51 +00:00
dakkar
0c123d04d6 merge: Sync charts one-at-a-time to reduce database contention and timeouts (!830)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/830

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Charlotte <timo.herngreen@gmail.com>
2024-12-21 16:35:44 +00:00
zima
20c9787241 Merge branch 'dev' into emoticon-sorting 2024-12-21 02:55:31 +00:00
bunnybeam
9160ede4d5
replace RE2 with RegExp for regex word mute validation 2024-12-21 01:34:56 +00:00
HellhoundSoftware
6ce81125a0
oops 2024-12-20 19:38:09 -05:00
HellhoundSoftware
6a6c345698
Improve emoticon picker UI 2024-12-20 19:24:52 -05:00
HellhoundSoftware
38fec5f18f
Create CustomEmojiFolderTree nodes with correct path (fixes #25) 2024-12-20 19:24:49 -05:00
HellhoundSoftware
a3731f3392
sort custom emoticons in picker by sortKey (#18) 2024-12-20 19:24:43 -05:00
HellhoundSoftware
1ad8b4cea8
Fix typographic quotes incorrectly being fullwidth 2024-12-20 19:06:03 -05:00
Hazelnoot
4e422836dd merge: Fix the ascii art (!835)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/835

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-20 22:35:15 +00:00
CenTdemeern1
eb21b13e73 Fix the ascii art
I should really make a new one from scratch sometime
2024-12-20 02:58:35 +01:00
Kio!
903b2be132 Update file worker.ts 2024-12-19 19:20:57 +00:00
Kio!
0bb61fef7b Update file worker.ts 2024-12-19 19:11:52 +00:00
Kio!
cdc11df562 Add missing imports before Dakkar can mention it 2024-12-19 19:07:04 +00:00
Kio!
990388141c Add Meta, oops 2024-12-19 19:01:14 +00:00
Kio!
ba9f7f42d2 Add Release version to sentry logging 2024-12-19 17:30:22 +00:00
Hazelnoot
465c780a04 Revert "Synchronize server startup"
This reverts commit ffbdfa9123.
2024-12-19 11:22:54 -05:00
Hazelnoot
62327152ec merge: Check for cross-domain redirects that bounce from an allowed domain to a blocked domain (!827)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/827

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-12-18 18:26:23 +00:00
dakkar
12ef2b13c4 merge: avoid empty blocks when hiding ads (!828)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/828

Approved-by: Charlotte <timo.herngreen@gmail.com>
Approved-by: Amber Null <puppygirlhornyposting@gmail.com>
2024-12-18 17:06:57 +00:00
dakkar
fcbf072e29 merge: preview AP objects as quotes - fix #595 (!826)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/826

Closes #595

Approved-by: Amber Null <puppygirlhornyposting@gmail.com>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-18 17:06:41 +00:00
dakkar
5fd3e271ac only log preview error in dev mode 2024-12-18 16:32:28 +00:00
dakkar
2dfadc082d style embedded note previews like normal previews
and not like normal quotes
2024-12-18 16:14:47 +00:00
dakkar
e9e2a5dd77 avoid empty blocks when hiding ads
2024.10 or 2024.11 added a `<div>` around `<MkAd>`, but while `MkAd`
checks if ads should be shown, and generates an empty `<div>` if not,
the wrapper `div` was always shown.

This commit takes the same logic from `MkAd` and applies it to the
wrapper as well.

thanks to @puppygirlhornypost for noticing
2024-12-18 15:59:34 +00:00
Hazelnoot
05ff9ae93f check for cross-domain redirects that bounce from an allowed domain to a blocked domain 2024-12-18 10:29:25 -05:00
dakkar
fb833d13cd preview AP objects as quotes - fix #595 2024-12-18 12:23:13 +00:00
Marie
042d46557d chore: remove leah from project members 2024-12-17 21:54:58 +00:00
Marie
38d7faffdb merge: make it harder to fumble opening a collapsed replied-to note (!811)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/811

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-17 21:53:19 +00:00
Marie
241949da04 merge: fix(frontend): Ensure physics run consistently across different device framerates (!823)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/823

Closes #684

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-12-17 21:50:39 +00:00
Marie
16822639e6 merge: enforce restrictions for user's rss feed (!822)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/822

Approved-by: Charlotte <timo.herngreen@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-17 21:46:10 +00:00
dakkar
3e0558c953 merge: Add missing back buttons to following/follower pages (!824)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/824

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-12-17 20:35:13 +00:00
Marie
3b5e3fd460 merge: Make schedule time work cross timezones (!819)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/819

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Charlotte <timo.herngreen@gmail.com>
2024-12-17 20:29:33 +00:00
CenTdemeern1
67a0d8a56e Add missing back buttons to following/follower pages 2024-12-17 20:09:21 +01:00