1
0
Commit Graph

29323 Commits

Author SHA1 Message Date
dakkar b5d2aea2ac merge: Clone note when adding myReaction to streamed notes. (!854)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/854

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-01-18 16:44:56 +00:00
dakkar 42d8279610 merge: attribute invite codes to admins/moderators (!858)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/858

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-18 10:24:42 +00:00
piuvas 3fc377839c comment :3 2025-01-12 21:11:36 -03:00
dakkar 3ceac893c9 attribute invite codes to admins/moderators
when a regular user (who has the appropriate permissions) creates an
invite, we record that user's id in the `createdById` column

but when an admin/mod creates an invite via the control panel, we
didn't

now we do
2025-01-12 12:33:08 +00:00
Hazelnoot fed5ff50b3 merge: make widgets wider in classic view - fixes #874 (!855)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/855

Closes #874

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-11 16:45:30 +00:00
Hazelnoot 17f28b45fb merge: manual save search engine "custom url" - fixes #882 (!856)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/856

Closes #882

Approved-by: Marie <github@yuugi.dev>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-01-11 16:43:51 +00:00
Hazelnoot 771fcf00c0 merge: don't double-url-encode rss urls (!857)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/857

Approved-by: Marie <github@yuugi.dev>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-01-11 16:43:22 +00:00
dakkar b9e03339fd don't double-url-encode rss urls
`url.searchParams.set()` already encodes the values passed!

(this is a partial revert of 0472d43ee9,
the change in `statusbar-rss.vue` was correct)
2025-01-11 14:06:21 +00:00
dakkar 531f7198d3 manual save search engine "custom url" - fixes #882
auto-saving would hit the rate-limit for `/api/i/registry/set`
2025-01-11 13:26:28 +00:00
dakkar fa64112f9f make widgets wider in classic view
the style of widgets was changed by @Insert5StarName (@marie?) with
commit e14fd33140 as part of !178

I'm not sure if it was intentional or accidental, and I'm also not
sure why nobody noticed before 2024.11 (maybe something else kept the
widgets wider?)

Anyway, this change seems to be enough
2025-01-11 13:03:02 +00:00
piuvas f1d9bb2cf1 requested changes 2025-01-10 22:10:18 -03:00
piuvas a3fc9a1085 comment code 2025-01-08 13:10:20 -03:00
piuvas e76e6cd08f small refactor 2025-01-08 12:58:57 -03:00
piuvas 5fc9c1c8cd shallow clone 2025-01-08 12:51:46 -03:00
dakkar b8e361e03c merge: fix: populate myreaction on replies for streams. (!839)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/839

Closes #340

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-01-04 09:37:01 +00:00
Marie a723ece4b6 merge: fix url preview spacing for very narrow viewports (!852)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/852

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-02 20:12:25 +00:00
Marie 6c8d1462c1 merge: remove UI for "email notification type" - fixes #855 (!850)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/850

Closes #855

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-02 20:11:01 +00:00
Marie 5faa26b08f merge: use the whole hostname to check remote links - fixes #866 (!849)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/849

Closes #866

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-02 20:10:31 +00:00
Marie 4619a31f1d merge: remove duplicate role badges - fixes #868 (!848)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/848

Closes #868

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-02 20:10:26 +00:00
dakkar 3aeca799a5 fix url preview spacing for very narrow viewports
on wide viewports, the url preview only leaves space for a thumbnail
when such thumbnail exists.

on small phones, or in busy deck views, it always left that space

this was not very evident for simple previews (which are pretty much a
title line, a favicon, and the site name), but it became very obvious
with the note embedding in 2024.11

this patch makes the thumbnail space conditional on the existence of
the thumbnail, for narrow viewports as well (I pretty much copied the
bit of CSS from the non-narrow media query sections)
2025-01-02 17:40:36 +00:00
dakkar 8edd002ec7 remove UI for "email notification type" - fixes #855
no live code looks at these settings, let's not confuse users
pretending they can set

also, no live code sends any of these notifications via email!

maybe, after #718, we can revisit this
2025-01-02 10:18:04 +00:00
dakkar ac0c6841aa use the whole hostname to check remote links - fixes #866
the warning dialog's "trust this domain" toggle saves the whole
hostname, so this code needs to use the whole hostname

otherwise trusting a `www.example.com` will never work, because we'd
be checking `example.com` against it, and fail

while I was there, I also made the `trustedLinkUrlPatterns` correctly
match sub-domains: previously, trusting `ple.com` would trust
`example.com`
2025-01-02 10:03:16 +00:00
dakkar d980875e83 remove duplicate role badges - fixes #868
when I copied over the changes from `MkNote*` to `SkNote*`, I forgot
to remove the old badge-related code
2025-01-02 09:46:56 +00:00
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
piuvas 64abef8be9 turn task into a function 2024-12-25 16:41:40 -03: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
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
bunnybeam 9160ede4d5 replace RE2 with RegExp for regex word mute validation 2024-12-21 01:34:56 +00: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
Hazelnoot 50290cf002 merge: Add Release version to Sentry logging (!834)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/834

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-20 22:34:34 +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