Commit graph

1848 commits

Author SHA1 Message Date
Laura Hausmann
0d8fe856aa
[mastodon-client] Skip processing mentions of deleted users 2023-10-04 22:01:05 +02:00
Laura Hausmann
8e3e2440b8
[mastodon-client] GET /timelines/home 2023-10-04 22:01:05 +02:00
Laura Hausmann
15e698df46
[mastodon-client] Fix handling of note visibility errors and anonymous calls 2023-10-04 22:01:05 +02:00
Laura Hausmann
f384186b88
[mastodon-client] Refactor NoteHelpers 2023-10-04 22:01:05 +02:00
Laura Hausmann
777db83014
[mastodon-client] Implement NoteConverter.encodeMany function 2023-10-04 22:01:05 +02:00
Laura Hausmann
e1e4160a62
[mastodon-client] GET /statuses/:id/context 2023-10-04 22:01:04 +02:00
Laura Hausmann
2fe58b0017
[mastodon-client] Refactor converters 2023-10-04 22:01:04 +02:00
Laura Hausmann
d258789c34
[mastodon-client] GET /accounts/:id 2023-10-04 22:01:04 +02:00
Laura Hausmann
6606eda981
[mastodon-client] GET /statuses/:id 2023-10-04 22:01:04 +02:00
Alexis
20723b4c1d
Rename private mode descriptions to 'allowlisting' 2023-10-04 14:53:27 +02:00
Laura Hausmann
28259129e8
Add new logos & asset generation script 2023-10-04 02:04:30 +02:00
Laura Hausmann
220b6f2011
Revert "don't update if renoted by bot"
This reverts commit 49e9fb9001c25378aa396d2a1ccdac1e18456e14.
2023-09-29 15:03:11 +02:00
Laura Hausmann
2efdbae42e
Add index to improve user/notes endpoint performance 2023-09-28 02:51:24 +02:00
Laura Hausmann
fdca7f804a
Also port antenna migration 2023-09-26 21:38:21 +02:00
Laura Hausmann
30de454b69
Port SeaORM migrations to TypeORM 2023-09-26 21:38:20 +02:00
Laura Hausmann
7cb576a535
Greatly improve id conversion performance 2023-09-26 18:55:49 +02:00
Laura Hausmann
76aa8eeefb
Port native-utils code back to typescript 2023-09-26 17:21:44 +02:00
Laura Hausmann
b97c4511d9
Make MFM search engine a config option, switch default engine to DuckDuckGo, replaces #207 2023-09-12 15:37:46 +02:00
Laura Hausmann
1ce0f778e7
Fix fetching pinned notes for remote servers that return a collection of note URIs instead of AP objects, resolves #201 2023-09-12 00:12:13 +02:00
Laura Hausmann
02dc687705
Fallback to acct webfinger on getSubjectHostFromUriAndUsernameCached 2023-09-11 23:20:41 +02:00
Laura Hausmann
b04619e007
Skip mention user lookup for local users 2023-09-11 22:58:02 +02:00
Laura Hausmann
1d543b5bf8
Cache resolved split domain mentions 2023-09-11 22:15:48 +02:00
Laura Hausmann
fb091488d8
Get actual subject host in mfm fromHtml 2023-09-11 22:25:29 +02:00
Laura Hausmann
552041726b
Make html-to-mfm and its callstack async 2023-09-11 22:34:00 +02:00
Laura Hausmann
86defdffd3
Fix initial fetch of actual remote user host for remote gotosocial instances on createPerson, resolves #204 2023-09-11 18:37:18 +02:00
Laura Hausmann
43f136c50f
Fix typo in hostMetaToWebFingerTemplate 2023-09-11 19:57:26 +02:00
Laura Hausmann
06be4e108b
Fix updating remote user host for remote AP implementations that don't support webfinger uri queries 2023-09-10 19:31:11 +02:00
Laura Hausmann
558b58a0cd
Fix updating host on updatePerson 2023-09-10 19:31:11 +02:00
Laura Hausmann
a2fbf57769
Fix formatting in resolve-user.ts 2023-09-10 19:31:11 +02:00
Laura Hausmann
f6dc9e094b
Fix user update for users without sharedInbox 2023-09-09 22:16:23 +02:00
Laura Hausmann
2f103229e5
Also update host on updatePerson 2023-09-09 18:45:15 +02:00
Laura Hausmann
e9e63ebaa8
Verify and update existing user on createPerson 2023-09-09 18:45:14 +02:00
Laura Hausmann
80035049f9
Stricter host-meta spec compliance in WebFinger 2023-09-06 19:13:57 +02:00
Laura Hausmann
59571f2372
Resolve actual subject host on createPerson 2023-09-06 19:13:57 +02:00
Laura Hausmann
35f7bde1a4
Clear public key cache on user deletion 2023-09-06 19:13:57 +02:00
Laura Hausmann
85f396ff49
Make WebFinger respect host-meta 2023-09-06 19:13:57 +02:00
Laura Hausmann
84867f1c13
Finish up support for local split domain configurations 2023-09-06 19:13:57 +02:00
Laura Hausmann
c6dee2da09
Purge deleted users from user lookup caches 2023-09-06 19:13:57 +02:00
Laura Hausmann
9e5f96b9ad
Fix Cache<T> .getAll and .delete functions 2023-09-06 19:13:57 +02:00
Laura Hausmann
0ad31334e2
Make WebFinger lookup respect subject domain 2023-09-06 19:13:56 +02:00
Laura Hausmann
74941f35e4
[mastodon-client] Implement note editing, resolves #158 2023-09-03 01:18:37 +02:00
Laura Hausmann
50d09a4c66
Switch to emoji status images (related: #42) 2023-08-31 01:20:46 +02:00
Laura Hausmann
0952a37e86
Use build:debug and custom build environment docker image for CI 2023-08-30 17:59:16 +02:00
Laura Hausmann
cfff8f840d
Fix remote media cache cleanup 2023-08-29 19:35:27 +02:00
Laura Hausmann
875bea2bca
Don't show local only notes to guest users, resolves #147 2023-08-28 02:24:59 +02:00
Jeder
3cabaf92f8 Disable full-text search for visitors 2023-08-25 12:21:31 +02:00
ThatOneCalculator
4fa47bf677 fix: 🐛 cannot quote own note 2023-08-23 16:06:24 +02:00
ThatOneCalculator
5e69fd791c fix: 🔒 cannot change note visibility 2023-08-23 16:06:24 +02:00
Luna D Dragon
91b8b7b76b
Defry the fish (#125)
Co-authored-by: Luna <luna.dragon@suse.com>
Reviewed-on: https://iceshrimp.dev/iceshrimp/iceshrimp/pulls/125
Co-authored-by: Luna D Dragon <lunarequest@nullrequest.com>
Co-committed-by: Luna D Dragon <lunarequest@nullrequest.com>
2023-08-21 16:14:53 +02:00
Namekuji
3f7d26a0e3
Fix antenna migration for redis servers with password protection 2023-08-20 02:15:23 +02:00
Laura Hausmann
04a1bd9363
Fix local-only posts for timeline websocket stream, resolves #19 2023-08-19 16:32:33 +02:00
Laura Hausmann
afeadd5bfb
Make antennas also match on CW text, resolves #117 2023-08-19 15:07:20 +02:00
naskya
40a0f31089
delete 10 posts at once on account deletion, resolves #101 2023-08-19 14:58:40 +02:00
Natty
d7013ed85b
Fixed a bad import 2023-08-16 15:01:02 +02:00
Natty
63b179c178
Also check instances to skip 2023-08-16 15:00:52 +02:00
Natty
37c4ef56d7
URL parsing check to prevent delivery crashes 2023-08-16 15:00:07 +02:00
Vyr Cossont
e759864442
Mastodon API: convert IDs in conversations 2023-08-15 01:52:20 +02:00
Laura Hausmann
16702c4d6a
Fix out-of-order antenna note pagination 2023-08-08 00:11:15 +02:00
Laura Hausmann
79471cf450
Handle deleted antenna results correctly 2023-08-07 23:03:56 +02:00
Laura Hausmann
aeddce2a60
Fix antenna pagination 2023-08-07 20:24:09 +02:00
Laura Hausmann
ff0d9ac476
Improve docker builds 2023-08-04 20:35:24 +02:00
Laura Hausmann
2ea0d06d62
Lightning fast docker rebuilds 2023-08-04 17:14:18 +02:00
Laura Hausmann
3d43fd1cfe
Fix whitespace in native-utils package.json 2023-08-04 15:46:09 +02:00
Laura Hausmann
330c51bccf
Faster native-utils-migration build 2023-08-03 23:57:10 +02:00
Laura Hausmann
ed2622344f
Make media cleanup task respect timezone 2023-08-03 00:11:00 +02:00
Laura Hausmann
079942eda4
Improved media cleanup task 2023-08-02 21:25:24 +02:00
Laura Hausmann
537d63a11e
Fix account domain migration 2023-08-02 19:18:58 +02:00
Vyr Cossont
aa76cf1c33 Mastodon API: convert quoted status 2023-08-02 07:15:48 -07:00
Vyr Cossont
d072f014b1 Mastodon API: convert quote_id format
Allows quote posting through Mastodon API (using Fedibird/Treehouse extension).
2023-08-02 07:10:33 -07:00
Vyr Cossont
67525f87b3 Mastodon API: support pinned param for account statuses
Without this, using the pinned param at all, regardless of value, will return no results.
2023-08-02 14:43:05 +02:00
Vyr Cossont
754afe10ac Mastodon API: report max reactions in instance 2023-08-01 23:44:01 -07:00
Vyr Cossont
051456ee3b Mastodon API: implement proposed Glitch emoji reactions API 2023-08-01 23:42:12 -07:00
Vyr Cossont
df3f2d2b5e Mastodon API: convert reaction accounts 2023-08-01 23:39:16 -07:00
April John
4ebda2cae6 fix my own stupidity 2023-08-01 23:07:14 +02:00
April John
11c1586183 please work 2023-08-01 22:27:07 +02:00
April John
701fc6d275 beban work on account domains 2023-08-01 21:23:32 +02:00
Laura Hausmann
5701946511
Make non-regex word mutes case insensitive 2023-07-30 17:17:07 +02:00
maikelthedev
e1481fc8ee
Added custom search engine 2023-07-30 17:16:27 +02:00
Luna
8737e2fa71
fix resolve of emoji's 2023-07-28 13:44:26 +02:00
Luna
748bbdf6a3
fix pnp emoji stuff 2023-07-28 13:44:26 +02:00
Luna
ec7d9e9f26
Fix yarn start 2023-07-27 18:16:56 +02:00
Luna
283e632772 switch to yarn 2023-07-27 07:22:09 +05:30
Laura Hausmann
b462e9d1fc
chore: code reformat 2023-07-27 00:44:38 +02:00
Laura Hausmann
5a2ca61f26
Remove support for ads 2023-07-27 00:32:20 +02:00
Laura Hausmann
a3fb1f19e0
Reword boot.js error message to make stance on ad blocking more explicit 2023-07-27 00:32:20 +02:00
Laura Hausmann
37aaeb8093
Fix reply visibility errors 2023-07-23 13:33:39 +02:00
Laura Hausmann
822898236b
Fix repo url 2023-07-23 13:26:08 +02:00
Laura Hausmann
5639ba6863
Fix cpu/memory stats widget 2023-07-23 12:23:50 +02:00
Laura Hausmann
6be6b6ed7c
Improve /api/v1/instance accuracy 2023-07-22 20:56:22 +02:00
Laura Hausmann
2e6a9837f1
Update more icons 2023-07-22 18:48:58 +02:00
Laura Hausmann
9bc4d81cb5
More brand cleanup 2023-07-22 17:15:14 +02:00
Laura Hausmann
11e4ef045d
Fix cw-only renotes
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2023-07-22 16:59:59 +02:00
Laura Hausmann
5543a65936
Revert "Fix megalodon imports"
This reverts commit 36a0c72d7fc31ebee4e8f3cf7fdc57f7dad2d945.
2023-07-22 13:11:32 +02:00
Laura Hausmann
bb60b7e107
Fix megalodon imports 2023-07-21 21:25:31 +02:00
Laura Hausmann
8885a7df30
Update instance software metadata 2023-07-21 20:55:32 +02:00
Laura Hausmann
3e182ebd96
Remove patrons 2023-07-21 19:44:41 +02:00
Laura Hausmann
3ac4e8d9a5
Further rebranding 2023-07-21 19:33:01 +02:00
Laura Hausmann
485640589e
Rebrand 2023-07-21 13:50:34 +02:00
ThatOneCalculator
7d17a83df6 fix: 🍱 fix old favicon 2023-07-19 19:13:54 -07:00
ThatOneCalculator
a6687370fb v1.0.1 2023-07-19 15:20:22 -07:00
ThatOneCalculator
c7a7c1e1d4 logo 2023-07-19 11:53:03 -07:00
ThatOneCalculator
d825c5e7cf fix: 🐛 merge somehow stripped style.css of splash style 2023-07-19 10:24:42 -07:00
ThatOneCalculator
4a34ef0452 docs: 📝 codeberg -> gitlab 2023-07-19 10:22:36 -07:00
ThatOneCalculator
fcce21e889 docs: 🚚 new website 2023-07-19 10:06:57 -07:00
ThatOneCalculator
0f3873cb75 add 2023-07-19 09:58:14 -07:00
ThatOneCalculator
8af34b2727 fix: 🐛 gitignore causing wrong file to be pushed 2023-07-19 09:56:16 -07:00
DVD
13265e6652 fix: skip attachment import if undefined 2023-07-19 09:45:00 -07:00
ThatOneCalculator
751b6bb132 links 2023-07-19 08:58:59 -07:00
ThatOneCalculator
73f3303f62 Merge branch 'rebrand' into develop 2023-07-19 08:55:26 -07:00
ThatOneCalculator
004914873b error 2023-07-18 23:42:42 -07:00
ThatOneCalculator
3b287a11af repo 2023-07-18 21:21:48 -07:00
PrivateGER
227c72b76a Fix broken lists 2023-07-18 16:00:48 +02:00
ThatOneCalculator
9b2cc17d3e chore: 🎨 format 2023-07-17 17:38:27 -07:00
Kainoa Kanter
69e7629843 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
9f704bdc45 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
コルセット姫@がんばらない
f5383c46d3 Merge branch 'develop' into import-masto-package 2023-07-17 09:47:04 +00:00
Namekuji
80cd7b4349 fix: use hostname as prefix instead of host 2023-07-17 01:48:53 -04:00
Kainoa Kanter
d39b1d830f 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
bc4a457dcd refactor: improve performance of contextmenu 2023-07-16 22:12:42 -07:00
naskya
0f7795977e Merge branch 'develop' into refactor/antennas-in-cache 2023-07-17 04:43:03 +00:00
CGsama
62cc362822 Merge commit '97a0127dbf0b96203902fb075b1d51659a921bfc'
Conflicts:
	pnpm-lock.yaml
2023-07-16 20:39:26 -04:00
Kainoa Kanter
9a0865da9a Merge branch 'develop' into move-json5-to-prod-dependencies 2023-07-16 22:34:49 +00:00
ThatOneCalculator
d425c29347 refactor: 🚨 linting fix 2023-07-16 15:32:32 -07:00
ThatOneCalculator
a88a85db99 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-16 13:57:46 -07:00
ThatOneCalculator
8fc56cae94 Merge branch 'fix/ssrf' into develop 2023-07-16 13:57:27 -07:00
CGsama
b283b65151 support new zip file by mastodon 2023-07-16 06:24:37 -04:00
Mizunashi Mana
9fbcdb529e feat: Move json5 to prod dependencies 2023-07-16 19:00:51 +09:00
CGsama
07061712a2 change wording 2023-07-16 03:24:37 -04:00
CGsama
48133e4646 fix format 2023-07-16 01:47:06 -04:00
CGsama
9339868636 use gunzip-maybe tar-stream to replace exec 2023-07-16 01:41:57 -04:00
CGsama
28b92d8c16 handle import mastodon package 2023-07-15 23:02:00 -04:00
コルセット姫@がんばらない
17124f3834 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
3ee2dc787b docs: 💡 going past DB_MAX_NOTE_TEXT_LENGTH 2023-07-15 15:32:39 -07:00
ThatOneCalculator
5324d1298f 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
2913eddbce we be renamin 2023-07-15 14:21:17 -07:00
ThatOneCalculator
6bc25eb38b Merge branch 'develop' into rebrand 2023-07-15 14:15:01 -07:00
ThatOneCalculator
b8fcd0dc33 fix: 🔒 prevent potential SSRF through media proxy 2023-07-15 14:13:21 -07:00
ThatOneCalculator
63d28adeff fix: 🐛 allow up to 1024 chars for SMTP login
Closes #10472
2023-07-15 00:19:09 -07:00
ThatOneCalculator
d33f74adda chore: 🎨 format 2023-07-15 00:06:53 -07:00
ThatOneCalculator
4be5f3b58c refactor: 🗑️ deprecate DB_MAX_NOTE_TEXT_LENGTH 2023-07-15 00:06:42 -07:00
ThatOneCalculator
49f543cebc docs: 📝 descriptions for notes/children+conversation endpoints 2023-07-14 23:16:50 -07:00
ThatOneCalculator
f4776712a3 refactor: ♻️ correct params for notes/children+conversion 2023-07-14 23:13:32 -07:00
ThatOneCalculator
3255066fe4 feat: seperate sponsors and patrons 2023-07-14 23:03:07 -07:00
ThatOneCalculator
7a7de755d1 remove trailing slash 2023-07-14 18:38:53 -07:00
ThatOneCalculator
7096b6b7a6 Merge branch 'develop' of codeberg.org:calckey/calckey into develop 2023-07-14 16:51:31 -07:00
ThatOneCalculator
47d13dd542 refactor: 🚸 filter out https on recommended instances 2023-07-14 16:51:21 -07:00
freeplay
cdcdc457df fix: Follow Request labeling
resolves #10368
2023-07-14 00:17:20 -04:00
ThatOneCalculator
12a974de13 Revert "refactor: use blurhash-as for encoding and decoding"
This reverts commit ae059881fbc28eb3dc2c90fea3694720b8dda505.
2023-07-13 19:06:57 -07:00
ThatOneCalculator
242f564115 refactor: use blurhash-as for encoding and decoding 2023-07-13 19:00:26 -07:00
ThatOneCalculator
bdaf5e9000 refactor: ♻️ no autobind 2023-07-13 17:52:19 -07:00