Commit Graph

1062 Commits

Author SHA1 Message Date
cutestnekoaqua
4df655126d get post details from object 2023-03-29 21:38:52 +02:00
cutestnekoaqua
db392efae8 catch text parsing error 2023-03-29 21:25:28 +02:00
cutestnekoaqua
41c7dfe208 add info 2023-03-29 21:16:45 +02:00
cutestnekoaqua
da322a086b catch errors 2023-03-29 21:15:06 +02:00
cutestnekoaqua
d640af9714 handle mastodon style posts 2023-03-29 21:10:01 +02:00
cutestnekoaqua
365d9bc40a dont ping users 2023-03-29 20:01:56 +02:00
cutestnekoaqua
dfb6178ddf actually increase line num 2023-03-29 19:37:31 +02:00
cutestnekoaqua
f43b5a2537 update post job 2023-03-29 19:36:23 +02:00
cutestnekoaqua
d0f2cbd664 note import debug logs 2023-03-29 19:23:37 +02:00
cutestnekoaqua
b9b693c233 temporary set import limit to infinity for debug 2023-03-29 19:16:39 +02:00
naskya
3eccb04e92 Merge branch 'develop' into fix/followers-only-boost 2023-03-29 02:24:21 +00:00
cutestnekoaqua
86e02468ce why is this git ignored? 2023-03-29 00:09:31 +02:00
cutestnekoaqua
c05703001c why is this git ignored? 2023-03-28 23:48:27 +02:00
cutestnekoaqua
624f305d9c feat: experimental post import 2023-03-28 23:33:16 +02:00
Kagami Sascha Rosylight
4e78a4e0b0 fix: allow announces with followers visibility 2023-03-29 04:55:16 +09:00
Kaitlyn Allan
e696a13fb2 set workers to reduce their processing priority 2023-03-25 21:19:06 -07:00
ThatOneCalculator
cdcd4320a9 fix? 2023-03-24 13:14:41 -07:00
ThatOneCalculator
bf358a2fb3 dev15 2023-03-24 12:45:25 -07:00
ThatOneCalculator
8d1c7c787c feat: post metadata uses full @
Closes #9660
2023-03-23 18:03:50 -07:00
ThatOneCalculator
9fa73242a0 chore: 📦 upgrade megalodon 2023-03-23 16:20:21 -07:00
ThatOneCalculator
21061b6803 feat: masto api add display name 2023-03-23 16:16:27 -07:00
ThatOneCalculator
6b298823ff Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-03-23 09:07:25 -07:00
ThatOneCalculator
ae9ba9b2c3 Revert "refactor: nyaize on the frontend"
This reverts commit aff90b3ef225e5d4453469b36b7bf3a8565c7a68.
2023-03-23 09:06:32 -07:00
amy bones
88295aad8f fix: relay signature handling
A change sometime ago moved to setting some signature fields in the incoming
object to undefined as opposed to deleting them. The trouble is that downstream
code checks against existence, not undefinedness and rejects the message.

Resolves: #9665
2023-03-22 17:32:49 -07:00
Kainoa Kanter
10d8d41580 Merge pull request 'fix: max user profile length to db field length' (#9750) from amybones/calckey:fix-profile-length into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9750
2023-03-22 18:58:32 +00:00
cutestnekoaqua
abfbb15fef Masto api :) 2023-03-22 17:43:05 +01:00
cutestnekoaqua
d8fe02042c allow client credentials not just for tapbots 2023-03-22 14:40:59 +01:00
amy bones
b5130abc25 fix: max user profile length to db field length
Resolves: #9749
2023-03-22 02:10:43 -07:00
ThatOneCalculator
7420f6ce56 validate blank messages on backend 2023-03-19 20:03:49 -07:00
ThatOneCalculator
887673ecdd refactor: nyaize on the frontend 2023-03-19 19:59:00 -07:00
ThatOneCalculator
efef445eef fix: repo url 2023-03-19 16:53:49 -07:00
Kaitlyn Allan
ebef0b14c6 Fix error saving drive file caption > 512 chars 2023-03-19 20:06:24 +10:00
ThatOneCalculator
c1da33a658 cli images 2023-03-19 02:33:44 -07:00
ThatOneCalculator
26cbcba6a6 fix cli more 2023-03-19 02:08:08 -07:00
ThatOneCalculator
472164f573 feat: spruce up CLI 2023-03-19 01:59:33 -07:00
Kaity A
77c12cba8d Add sonic full-text search support (#9714)
This pull request adds support for the [sonic](https://github.com/valeriansaliou/sonic) full text indexing server into Calckey.

In addition to this, a stateful endpoint has been added that will completely (re-)index all notes into any (elasticsearch and/or sonic) indexing server defined in your config at `/api/admin/search/index-all`. It can (optionally) take input data to define the starting point, such as:

```
{"cursor": "9beg3lx6ad"}
```

Currently if both sonic and elasticsearch are defined in the config, sonic will take precedence for searching, but both indexes will continue to be updated for new note creations. Future enhancements may include the ability to choose which indexer to use (or combine multiple).

Co-authored-by: Kaitlyn Allan <kaitlyn.allan@enlabs.cloud>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9714
Co-authored-by: Kaity A <supakaity@noreply.codeberg.org>
Co-committed-by: Kaity A <supakaity@noreply.codeberg.org>
2023-03-19 08:26:47 +00:00
naskya
94eb321431 feat: set license information for custom emojis (#9719)
Closes: #9711 (please check this issue first)

I cherry-picked two commits ([1](8ae9d2eaa8), [2](ed51209172)) from [Misskey](https://github.com/misskey-dev/misskey) and made a few changes.
「ライセンス」should be written as "License" in the following screenshots, but it has not yet been translated.

It would be nice if we could include multiple lines of text, but I just ported what's been implemented so far in Misskey not to mess things up.

This is my first pull request (aside from typo correction). Feel free to point out any issues!

![](https://cdn.discordapp.com/attachments/823878222897741868/1086372711841935440/2023-03-18_042011.png)
![](https://cdn.discordapp.com/attachments/823878222897741868/1086373178214981853/01.png)
![](https://cdn.discordapp.com/attachments/823878222897741868/1086373336709341246/2023-03-18_042629.png)

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9719
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-03-19 07:22:28 +00:00
ThatOneCalculator
d8c0ba0795 fix: when count is actually 0 2023-03-19 00:13:30 -07:00
cutestnekoaqua
3122701186 pass auth to metadata 2023-03-18 13:06:49 +01:00
cutestnekoaqua
3e748cb401 fix: intermediarily convert ids 2023-03-18 12:23:03 +01:00
cutestnekoaqua
9c0416df65 add 404 as replacements 2023-03-18 12:09:43 +01:00
cutestnekoaqua
25896f0093 chore: update megalodon 2023-03-18 11:52:18 +01:00
fruye
3d7868c9dc fix: Parse mastoAPI limit argument in more places & Improve converting arguments to boolean (#9716)
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9716
Authored-by: fruye <fruye@unix.dog>
Signed-off-by: Cleo John <waterdev@galaxycrow.de>
Co-authored-by: fruye <fruye@unix.dog>
Co-committed-by: fruye <fruye@unix.dog>
2023-03-17 13:58:01 +00:00
s1idewhist1e
5eec5ac2ef feat: Make follower counts for remote users correct (#9705)
#9293

Not sure if this is the right approach for this

Co-authored-by: s1idewhist1e <trombonedude05@gmail.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9705
Co-authored-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
Co-committed-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
2023-03-17 01:16:31 +00:00
fruye
b62b1d43d6 fix: Run to boolean conversion in mastoAPI public and hashtag timelines
The `only_media` query parameter in `/api/v1/timelines/public` and
`/api/v1/timelines/tag/:hashtag` was previously passed directly as-is to
the Misskey API, which made it pretty upset because it was receiving a
string named 'true' instead of the value 'true'.

Needed for pleromaFE to display a timeline.
2023-03-15 23:09:19 +01:00
Cleo John
c1a6e342e9 webhook mastodon fixes 2023-03-14 17:18:30 +01:00
Luna
f02b1429e9 Small fix to Masto ID conversion code 2023-03-13 00:44:38 -04:00
Luna
75fd6d068d Sorta kinda handle client_credentials auth flow 2023-03-11 23:19:17 -05:00
Luna
2d7225a179 Proxy object IDs for Mastodon API to prevent Calckey ID format incompatibilities 2023-03-11 16:02:35 -05:00
Luna
07d45c6a70 Convert limit parameter to int for certain Mastodon account endpoints 2023-03-11 16:02:35 -05:00