Commit graph

29944 commits

Author SHA1 Message Date
dakkar
d6cadc98c3 merge: merge 2024.12.2 into develop (!847)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/847

Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-01-01 17:56:25 +00:00
dakkar
096f122024 Merge branch 'stable' into feature/merge-hotfix 2025-01-01 17:31:59 +00:00
dakkar
0a4e1614ea merge: 2024.11.2, for real (!846)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/846
2025-01-01 17:26:31 +00: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
565c987744 merge: Add file extension to locally-stored media (!832)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/832

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2024-12-31 10:44:22 +00:00
Julia
d5ec2082f3 merge: Bump develop version (!843)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/843
2024-12-31 03:49:31 +00:00
Julia Johannesen
d146038ab4
Bump develop version 2024-12-30 22:37:43 -05:00
Julia
4c0bbddd0f merge: Bump stable version (!842)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/842
2024-12-31 02:30:13 +00:00
Julia Johannesen
afad149c6f
Bump version 2024-12-30 21:12:03 -05: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
piuvas
2c742d6e82
requested change. 2024-12-26 14:49:22 -03:00
piuvas
8f96b50b00
improvement 2024-12-26 12:27:00 -03: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
60a6b4e16e Merge pull request 'Adjust rate limit for proxy endpoint' (#39) from 38-hotfix-adjust-proxy-rate-limit into dev
Reviewed-on: https://codeberg.org/yeentown/barkey/pulls/39
2024-12-26 02:11:48 +00:00
zima
a4a56e8b7e Adjust rate limit for proxy endpoint 2024-12-25 18:46:19 -07:00
piuvas
64abef8be9
turn task into a function 2024-12-25 16:41:40 -03:00
piuvas
e5312da6fe
improve readability and conciseness 2024-12-25 14:19:05 -03:00
zima
a85253ff44 Merge branch 'stable' into dev 2024-12-24 01:40:35 +00:00
zima
9d40879e70 Remove automatic CI on pushes 2024-12-24 01:34:24 +00:00
zima
7c2f8420f4 Merge pull request 'Revert URL to resolve issue with Jest' (#35) from 34-fix-ci-compose-url into dev
Reviewed-on: https://codeberg.org/yeentown/barkey/pulls/35
2024-12-24 01:32:32 +00:00
zima
a38848c3be Revert URL to resolve issue with Jest 2024-12-23 18:16:48 -07:00
piuvas
9828562e57
testing w/ reactions and stuff 2024-12-23 21:03:04 -03:00
zima
db7f94dd69 Merge pull request 'Test environment revision and dev environment implementation' (#33) from 31-revise-local-test-suite-and-create-local-dev-container into dev
Reviewed-on: https://codeberg.org/yeentown/barkey/pulls/33

Closes #31
2024-12-23 23:49:22 +00:00
piuvas
94c3a71e49
improvements. 2024-12-23 20:42:21 -03:00
piuvas
83460279c0
populate myreaction on replies for streams. 2024-12-23 10:50:31 -03: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
daecf42ab4 Remove unnecessary cd 2024-12-22 12:03:05 -07:00
zima
f7523afb8e Set name for test env to not conflict with other envs 2024-12-22 12:02:47 -07:00
zima
fb1189d05b Test db containers no longer use bind mounts and are ephemeral 2024-12-22 12:01:47 -07:00
zima
a019965f6b Change test container to automatically start in work dir 2024-12-22 12:00:26 -07:00
zima
4f4b725f94 Update CI env to use localhost address 2024-12-22 11:58:40 -07:00
zima
143b650b53 Add docker default private network to allowed networks 2024-12-22 11:58:29 -07:00
かっこかり
3c81926f71
fix(frontend): serverContextの値を利用する条件が間違っていたのを修正 (#15166) 2024-12-22 13:36:17 +09:00
zima
da6c59382f Merge pull request 'Fix linting in MkEmojiPicker and custom-emojis in frontend' (#32) from fix-linting-in-emoji-picker-and-custom-emoji into dev
Some checks failed
/ testCommit (push) Has been cancelled
Reviewed-on: https://codeberg.org/yeentown/barkey/pulls/32

Fixes #28
2024-12-22 01:41:38 +00:00
zima
84f86f526d Fix linting in MkEmojiPicker and custom-emojis in frontend 2024-12-21 18:25:35 -07:00
zima
695e7fd68e Merge pull request 'Add CI workflow for tests' (#30) from ci into dev
Reviewed-on: https://codeberg.org/yeentown/barkey/pulls/30
2024-12-22 00:52:58 +00:00
zima
1028474757 Add CI workflow for tests 2024-12-21 17:36:50 -07:00
zima
104eed031e Adjust when script sets up .config dir 2024-12-21 13:19:21 -07:00
zima
6c036331dc Add CI env file for compose 2024-12-21 13:18:50 -07:00
zima
aae0cc8e5b Oops 2024-12-21 12:55:22 -07:00
zima
05f012aecd Create scripts for testing locally 2024-12-21 12:48:49 -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
dd90724c54 Merge pull request 'Sort custom emoticons in picker by sortKey (fixes #18)' (#22) from emoticon-sorting into dev
Reviewed-on: https://codeberg.org/yeentown/barkey/pulls/22
Reviewed-by: zima <zima@noreply.codeberg.org>
2024-12-21 02:55:55 +00:00
zima
20c9787241 Merge branch 'dev' into emoticon-sorting 2024-12-21 02:55:31 +00:00