Commit graph

1840 commits

Author SHA1 Message Date
ThatOneCalculator
7047ddce3e
refactor: ♻️ types in AP kernel
This file seriously needs to be refactored properly...
2023-08-23 19:55:26 -07:00
ThatOneCalculator
8b57431ca8
chore: 🎨 format 2023-08-23 19:49:20 -07:00
ThatOneCalculator
a518f51814
fix: 🐛 cannot quote own note 2023-08-22 20:02:10 -07:00
ThatOneCalculator
91b1b5fb53
fix: 🔒 cannot change note visibility 2023-08-22 20:00:00 -07:00
ThatOneCalculator
c7f98e381c
fix: ✏️ "can not" -> "cannot" 2023-08-22 19:52:11 -07:00
ThatOneCalculator
652ecd2d16
perf: delete transformedOptions key -> assign undefined with key literal 2023-08-21 11:12:42 -07:00
Laura Hausmann
29bb1453fc
Fix local-only posts for timeline websocket stream 2023-08-19 20:59:21 -04:00
AAGaming
09d96c1a36
fix: change character limits to allow for long instance domains 2023-08-18 22:05:42 -04:00
EpicKitty
4a848adc34 fix: 🚑 thumbnail serving 2023-08-18 21:28:04 +00:00
Namekuji
dc2fde0a75
fix: remove brackets 2023-08-18 06:22:51 -04:00
Namekuji
ad93bc80f8
refactor: remove regex 2023-08-18 05:51:41 -04:00
Namekuji
c3944f49ef
fix: exclude ula and lla 2023-08-18 05:45:10 -04:00
Namekuji
cd75d65271
fix: exclude localhost 2023-08-18 05:01:19 -04:00
Namekuji
5520c6ff3d
fix: veiry url 2023-08-18 04:57:19 -04:00
Daniel Hernández
59e989c0bb Validate before delivering to keep federation working on valid inboxes 2023-08-17 04:41:27 +00:00
Essem
4174e3d070
Fix report emails and modmail sanitization 2023-08-15 16:16:25 -05:00
Essem
7d49af822a Add address bind config option 2023-08-15 03:44:06 +00:00
Vyr Cossont
6773ef711a Mastodon API: convert IDs in conversations 2023-08-14 12:18:57 -07:00
Namekuji
7b9f0f3687
chore: codeberg → gitlab 2023-08-13 09:06:00 -04:00
Kainoa Kanter
c4018c969c Merge branch 'Marie-develop-patch-33974' into 'develop'
feat: Fetch total posts of users on create/update

Closes #10652

See merge request firefish/firefish!10558
2023-08-12 01:00:29 +00:00
Marie Piontek
ee42edfccd feat: Fetch total posts of users on create/update 2023-08-12 01:00:29 +00:00
Kainoa Kanter
3e598c3ed0 Merge branch 'Marie-develop-patch-60099' into 'develop'
fix: updatePerson's Followings.update call not working if no sharedInbox

Closes #10650

See merge request firefish/firefish!10559
2023-08-12 00:45:51 +00:00
Marie Piontek
046fc88a6c fix: updatePerson's Followings.update call not working if no sharedInbox 2023-08-11 10:25:32 +00:00
ThatOneCalculator
cb424e37f5
fix: 🚸 make importing emoji packs clearer 2023-08-10 13:04:16 -07:00
ThatOneCalculator
ced8f56e34
fix: 🚑 proper conditional
I need sleep... or coffee
2023-08-09 19:46:56 -07:00
ThatOneCalculator
cf8a733927
refactor: 🚸 only index public posts 2023-08-09 19:39:01 -07:00
ThatOneCalculator
73dcf4f8fa
chore: 🎨 format 2023-08-08 18:03:21 -07:00
ThatOneCalculator
06fcef60a1
chore: ⬆️ up deps 2023-08-08 17:38:03 -07:00
ThatOneCalculator
dc8d17e50d
refactor: ♻️ better offline page 2023-08-08 17:18:51 -07:00
ThatOneCalculator
47fa0c68d9
fix: 🐛 null host meilisearch 2023-08-08 16:07:06 -07:00
naskya
3ffee23a3e delete 10 posts at once on account deletion 2023-08-07 22:08:51 +00:00
Kainoa Kanter
7bf4e3e839 Merge branch 'fix/antenna-pagination' into 'develop'
fix: antenna pagination

Closes #10535

See merge request firefish/firefish!10553
2023-08-07 16:45:38 +00:00
ThatOneCalculator
2448b2ce99
fix: 🐛 double-slash in proxy url 2023-08-06 12:30:00 -07:00
Namekuji
10e81de1a6
fix: add original id to the stream 2023-08-06 15:04:14 -04:00
Namekuji
1a34dee366
add migration to fix corrupted stream ids 2023-08-06 14:35:10 -04:00
Namekuji
738b4933ae
fix: generate stream id with timestamp 2023-08-06 02:34:44 -04:00
Kainoa Kanter
26fa212f18 Merge branch 'mastodon-api-quote_id' into 'develop'
Mastodon API: convert quote_id format

Closes #10600

See merge request firefish/firefish!10550
2023-08-02 00:45:40 +00:00
Vyr Cossont
0842ae0709 Mastodon API: convert quote_id format 2023-08-02 00:45:40 +00:00
ThatOneCalculator
72011f8f37
refactor: ♻️ MkGoogle uses local search 2023-08-01 17:45:22 -07:00
Vyr Cossont
ce805031ce Mastodon API: support pinned param for account statuses 2023-08-01 23:39:06 +00:00
Namekuji
5847e986fb
fix: call default user if empty. resolves #10604 2023-08-01 12:52:00 -04:00
CGsama
109ed0aa80 import all misskey self note thread and allow import multiple times to restore missing parts 2023-07-31 15:42:31 -04:00
Kainoa Kanter
6a9820da58 Merge branch 'feature/vscode-debug' into 'develop'
feat: backend debug in vscode

See merge request firefish/firefish!10541
2023-07-30 20:46:45 +00:00
Kainoa Kanter
3e024066a1 Merge branch 'fix-ios-video' into 'develop'
fix iOS video playback (fixes #10517)

Closes #10517

See merge request firefish/firefish!10540
2023-07-30 20:38:57 +00:00
John Regan
432f840efe fix iOS video playback (fixes #10517) 2023-07-30 20:38:57 +00:00
ThatOneCalculator
d76b4f2321
fix: 🐛 rel=me verification with multiple rels besides me
Closes #10595
2023-07-30 13:30:25 -07:00
Namekuji
32fac53e8d
feat: backend debug in vscode 2023-07-30 16:27:13 -04:00
ThatOneCalculator
f4443f4506
Merge branch 'develop' of git.joinfirefish.org:firefish/firefish into develop 2023-07-29 15:03:02 -07:00
ThatOneCalculator
5cb5faa386
refactor: ♻️ use const for non-reassigned vars 2023-07-29 15:02:56 -07:00
Vyr Cossont
2bcb5dcd73 Report max reactions in Mastodon instance API 2023-07-29 10:42:47 -07:00
ThatOneCalculator
8d02cfe999
fix: ✏️ log typo 2023-07-28 22:39:42 -07:00
Kainoa Kanter
3824083446 Merge branch 'gh-fa55fa5e/10491/unknown/feat/relevance-search' into 'develop'
[PR]: Meilisearch relevancy search

See merge request firefish/firefish!10491
2023-07-29 03:03:29 +00:00
ThatOneCalculator
f973b1986f
feat: 🔒 allow admins to reset users' 2FA and passkeys
ref: https://frfsh.plus.st/notes/9hqswpwiwjaihcgo
2023-07-28 17:57:32 -07:00
naskya
da99f9c3aa Fix typo (https://github.com/misskey-dev/misskey/pull/11347) 2023-07-28 19:05:36 +00:00
ThatOneCalculator
01c29cef20
chore: 🎨 format 2023-07-28 11:35:58 -07:00
Kainoa Kanter
6d1f93a022 Merge branch 'gh-fa55fa5e/10502/unknown/add-bind-addr-config' into 'develop'
[PR]: Add bind address option

See merge request firefish/firefish!10502
2023-07-28 18:32:34 +00:00
Kainoa Kanter
19762bd955 Merge branch 's3-logging' into 'develop'
Log the concatenated S3 url if constructing the S3 client fails.

See merge request firefish/firefish!10531
2023-07-28 18:30:53 +00:00
yumeko
72d194f7a1
Fix indents 2023-07-27 12:54:42 +03:00
yumeko
a4838c7ee4 Merge branch firefish:develop into fix/10404-object-storage-prefix 2023-07-27 09:53:16 +00:00
ThatOneCalculator
dacce643fe
fix: 🔒 Show 404 error on files not found 2023-07-27 01:28:02 -07:00
ThatOneCalculator
97d395ce2a
chore: 🎨 format 2023-07-25 23:46:43 -07:00
ThatOneCalculator
03ddc970d5
fix: 🐛 don't show server stats in widget if reporting is disabled
Closes #10527
2023-07-25 21:49:09 -07:00
Laura Hausmann
466917feb6
Improve /api/v1/instance accuracy 2023-07-25 21:25:37 -07:00
Laura Hausmann
56bf7a0ffb
Fix cpu/memory stats widget 2023-07-25 21:23:21 -07:00
Viv Lim
74179aafdf Log the assembled S3 url if constructing a S3 client fails.
I was configuring an instance and didn't notice that I had pasted a space into the `endpoint` field. It was not obvious from the logs why the URL was invalid.
2023-07-24 20:34:37 -07:00
Kainoa Kanter
8ff1c9b722 Merge branch 'mastodon-api-emoji-reactions' into 'develop'
Support proposed Glitch emoji reactions API

Closes #10537

See merge request firefish/firefish!10532
2023-07-25 01:24:35 +00:00
ThatOneCalculator
548de39e3c
fix? 2023-07-24 17:28:47 -07:00
Vyr Cossont
5fedfd2599 Support proposed Glitch emoji reactions API
Fixes #10537
2023-07-24 17:11:10 -07:00
ThatOneCalculator
7ef99069e6
fix: 🐛 revert last part of c0eac56355 to properly paginate antennas/notes query 2023-07-24 16:27:53 -07:00
Kainoa Kanter
a7fbc02ca5 Merge branch 'enhance/log-backend-error-objects' into 'develop'
Log backend error objects

See merge request firefish/firefish!10528
2023-07-24 23:04:42 +00:00
ThatOneCalculator
bec0aae418
chore: 🎨 format 2023-07-24 16:03:58 -07:00
Namekuji
5832940d7a
fix: rename copyright to firefish 2023-07-24 13:10:35 -04:00
yumeko
ae22abd61b Merge branch firefish:develop into fix/10404-object-storage-prefix 2023-07-24 10:08:38 +00:00
ThatOneCalculator
c0eac56355
fix: 🐛 antenna notes pagination repeat 2023-07-23 14:13:46 -07:00
yumeko
19311e683c
Dump to console the error data associated with logger error calls. 2023-07-22 22:12:52 +03:00
yumeko
4e23b77aff Replace URL generation code in the drive file uploader with something more robust.
Closes #10404, hopefully.
2023-07-22 14:03:40 +03:00
Vyr Cossont
0394f22c4f
fix: convert quoted status and reaction accounts in Mastodon API layer 2023-07-21 16:23:15 -07:00
Kainoa Kanter
a2d81850e4 Merge branch 'fix/10332-internal-error-on-nonexisting-emoji' into 'develop'
Throw a proper ApiError with statusCode 404 when GETting a non-existing emoji.

Closes #10332

See merge request firefish/firefish!10523
2023-07-21 23:14:49 +00:00
yumeko
c9526b9a31 Throw a proper ApiError with statusCode 404 when GETting a non-existing emoji.
Closes #10332
2023-07-21 23:15:53 +03:00
yumeko
47f5cb2e76 Don't leak error details (including the stack trace) upon API call failure to client in production 2023-07-21 22:32:39 +03:00
ThatOneCalculator
e35b38302d
refactor: ♻️ new git repo
for real this time
2023-07-21 09:44:29 -07:00
ThatOneCalculator
8de79198a1
fix: 🩹 version manifest assets based on instance version 2023-07-20 23:31:51 -07:00
ThatOneCalculator
03077a157e
refactor: ♻️ create drive file endpoint
Adjusts ratelimit to 250 files every 10 minutes, fixes error text, fixes reused variable name.
2023-07-20 16:13:10 -07:00
ThatOneCalculator
7364ebdca8
fix: 🍱 asset versioning, screenshots 2023-07-19 20:32:04 -07:00
ThatOneCalculator
76ad0a19b3
fix: 🍱 fix old favicon 2023-07-19 19:13:54 -07:00
ThatOneCalculator
b4ed4dec47
v1.0.1 2023-07-19 15:20:22 -07:00
ThatOneCalculator
0a7b4bdb8a
logo 2023-07-19 11:53:03 -07:00
ThatOneCalculator
cac284a79d
fix: 🐛 merge somehow stripped style.css of splash style 2023-07-19 10:24:42 -07:00
ThatOneCalculator
1eea65386e
docs: 📝 codeberg -> gitlab 2023-07-19 10:22:36 -07:00
ThatOneCalculator
e67633298e
docs: 🚚 new website 2023-07-19 10:06:57 -07:00
ThatOneCalculator
5e3bc675ef
add 2023-07-19 09:58:14 -07:00
ThatOneCalculator
ebf7fb1a04
fix: 🐛 gitignore causing wrong file to be pushed 2023-07-19 09:56:16 -07:00
DVD
6e296320e0
fix: skip attachment import if undefined 2023-07-19 09:45:00 -07:00
ThatOneCalculator
aa24a3c172
links 2023-07-19 08:58:59 -07:00
ThatOneCalculator
8422807031
Merge branch 'rebrand' into develop 2023-07-19 08:55:26 -07:00
ThatOneCalculator
73d023930b
error 2023-07-18 23:42:42 -07:00
ThatOneCalculator
7dce4cccae
repo 2023-07-18 21:21:48 -07:00
PrivateGER
457bd6c2e5 Fix broken lists 2023-07-18 16:00:48 +02:00
ThatOneCalculator
b54dfff32f
chore: 🎨 format 2023-07-17 17:38:27 -07:00
PrivateGER
933a4d2aa2 Use MS sorting rather than manual JS 2023-07-18 02:12:33 +02:00
Kainoa Kanter
2c1df97c15 Merge pull request '[PR]: Import mastodon note package' (#10499) from cgsama/calckey:import-masto-package into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10499
2023-07-17 16:54:45 +00:00
Kainoa Kanter
19934043c5 Merge pull request '[PR]: Store antennas in cache instead of postgres' (#10442) from refactor/antennas-in-cache into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10442
2023-07-17 16:51:33 +00:00
コルセット姫@がんばらない
cb3b7ef5be Merge branch 'develop' into import-masto-package 2023-07-17 09:47:04 +00:00
Namekuji
0775ad96f9
fix: use hostname as prefix instead of host 2023-07-17 01:48:53 -04:00
Kainoa Kanter
15ffb8cf40 feat: verify links with rel=me (#10506)
Adds Mastodon-style `rel=me` link verification, and creates a background job to verify said links

Closes #9341

![image](/attachments/861e01eb-660f-4c62-8d83-d824cb79da48)

Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Co-authored-by: Namekuji <nmkj@waah.day>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10506
2023-07-17 05:31:34 +00:00
Syuilo
5d4af6b69e
refactor: improve performance of contextmenu 2023-07-16 22:12:42 -07:00
naskya
04c43ed3ef Merge branch 'develop' into refactor/antennas-in-cache 2023-07-17 04:43:03 +00:00
Mizunashi Mana
b7c72b902d fix: Branch by bind address 2023-07-17 09:52:35 +09:00
CGsama
f5adccecb8 Merge commit '97a0127dbf0b96203902fb075b1d51659a921bfc'
Conflicts:
	pnpm-lock.yaml
2023-07-16 20:39:26 -04:00
Kainoa Kanter
fa02334ddb Merge branch 'develop' into move-json5-to-prod-dependencies 2023-07-16 22:34:49 +00:00
ThatOneCalculator
bdc35a343e
refactor: 🚨 linting fix 2023-07-16 15:32:32 -07:00
ThatOneCalculator
a88133c4bc
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-16 13:57:46 -07:00
ThatOneCalculator
04c0993f23
Merge branch 'fix/ssrf' into develop 2023-07-16 13:57:27 -07:00
Mizunashi Mana
b9db50de08 fix: Add error message on initialization failed 2023-07-16 20:59:41 +09:00
Mizunashi Mana
e5360536f3 feat: Add bind address option 2023-07-16 20:13:24 +09:00
CGsama
4bb6d7105a support new zip file by mastodon 2023-07-16 06:24:37 -04:00
Mizunashi Mana
1f441507f7 feat: Move json5 to prod dependencies 2023-07-16 19:00:51 +09:00
CGsama
35f09d0067 change wording 2023-07-16 03:24:37 -04:00
CGsama
0c9ab9fdfa fix format 2023-07-16 01:47:06 -04:00
CGsama
809d418018 use gunzip-maybe tar-stream to replace exec 2023-07-16 01:41:57 -04:00
CGsama
324d1a932d handle import mastodon package 2023-07-15 23:02:00 -04:00
コルセット姫@がんばらない
cae6ba0edb feat: Add media to Mastodon and Calckey post imports (#10496)
### What does this PR do?

Adding files fields in the export notes option, and corresponding import notes

Current the mastodon import does not import any attachments, this pr will use the "upload from url" feature to include medias if its a valid URL.

There are many way to convert the outbox.json file, can be simple as upload media_attachments to any web hosting and do string replace on the json file.

I also create a tool that upload the tar.gz file with auto convert and host the media as simplify the process at https://tempfile.moegirl.live

Detail example can be found at https://fedi.moegirl.live/notes/9h76gtqnp2gwl5dz

https://r2temp.moegirl.live/2023/7/15/15356683-050f-423a-b331-c9a05561f52a/shana-settings-_-meng-zhai-le-yuan-xyou-yu-ou-xiang-de-luo-ke-ke-wu-yan-moe-otaku-elysian-x-gloomily-idol-s-rococo-luncheon----mozilla-firefox-private-browsing-2023-07-15-18-36-37.mp4

Co-authored-by: CGsama <CGsama@outlook.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10496
Co-authored-by: コルセット姫@がんばらない <cgsama@noreply.codeberg.org>
Co-committed-by: コルセット姫@がんばらない <cgsama@noreply.codeberg.org>
2023-07-15 22:56:09 +00:00
ThatOneCalculator
bd57b95a97
docs: 💡 going past DB_MAX_NOTE_TEXT_LENGTH 2023-07-15 15:32:39 -07:00
ThatOneCalculator
49b0a52f9f
fix: 🔧 max post length 100000
Pleroma doesn't accept >100K (ref: https://blob.cat/objects/82f33d96-534f-45ee-902a-f77c2723db8b)
2023-07-15 14:50:23 -07:00
ThatOneCalculator
ff08ec77ee
we be renamin 2023-07-15 14:21:17 -07:00
ThatOneCalculator
bb22a671b0
Merge branch 'develop' into rebrand 2023-07-15 14:15:01 -07:00
ThatOneCalculator
d64389543c
fix: 🔒 prevent potential SSRF through media proxy 2023-07-15 14:13:21 -07:00
ThatOneCalculator
9c2264fb8e
fix: 🐛 allow up to 1024 chars for SMTP login
Closes #10472
2023-07-15 00:19:09 -07:00
ThatOneCalculator
63b3666b71
chore: 🎨 format 2023-07-15 00:06:53 -07:00
ThatOneCalculator
9f38f8bbca
refactor: 🗑️ deprecate DB_MAX_NOTE_TEXT_LENGTH 2023-07-15 00:06:42 -07:00
ThatOneCalculator
e3b8c05e47
docs: 📝 descriptions for notes/children+conversation endpoints 2023-07-14 23:16:50 -07:00
ThatOneCalculator
c467db2ea2
refactor: ♻️ correct params for notes/children+conversion 2023-07-14 23:13:32 -07:00
ThatOneCalculator
c99480529f
feat: seperate sponsors and patrons 2023-07-14 23:03:07 -07:00
ThatOneCalculator
7be2b16215
remove trailing slash 2023-07-14 18:38:53 -07:00
PrivateGER
c9c183fec0 formattin~ 2023-07-15 02:15:10 +02:00
PrivateGER
f1c18e0b09 Allow relevancy sorting of Meilisearch 2023-07-15 02:10:42 +02:00
ThatOneCalculator
102b57424e
Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-14 16:51:31 -07:00
ThatOneCalculator
8f650e6e3a
refactor: 🚸 filter out https on recommended instances 2023-07-14 16:51:21 -07:00
freeplay
f67ea7a609 fix: Follow Request labeling
resolves #10368
2023-07-14 00:17:20 -04:00
ThatOneCalculator
133c9f775c
Revert "refactor: use blurhash-as for encoding and decoding"
This reverts commit ae059881fb.
2023-07-13 19:06:57 -07:00
ThatOneCalculator
ae059881fb
refactor: use blurhash-as for encoding and decoding 2023-07-13 19:00:26 -07:00
ThatOneCalculator
cd5c4ff191
refactor: ♻️ no autobind 2023-07-13 17:52:19 -07:00
ThatOneCalculator
cb561ddef8
fix: 💄 different default font if cjk 2023-07-13 17:11:59 -07:00
Namekuji
3fc381c050
refactor: use copy_limit if greater than 0 2023-07-13 18:19:08 -04:00
naskya
22102d6c38
fix 2023-07-13 16:10:13 +00:00
naskya
8ad603cba8 Merge branch 'develop' into chore/findOneBy-exist 2023-07-13 15:44:42 +00:00
naskya
ae70f02bb0
More replacements which aren't covered by f4870d6e 2023-07-13 15:31:40 +00:00
naskya
65dcff4a66
Stop using the name 'exist' if it's not for existence check 2023-07-13 15:28:44 +00:00
okayurisotto
f4870d6e4a
refactor(backend): Use exist to check existence
* refactor(backend): 存在確認の`findOneBy`を`exist`に置き換え

* cleanup
2023-07-13 15:08:36 +00:00
naskya
c9448bb281 fix #10483 (2) 2023-07-13 13:25:45 +00:00