Commit Graph

929 Commits

Author SHA1 Message Date
cutestnekoaqua
6bbc669382 making build work 2023-02-09 23:32:40 +01:00
cutestnekoaqua
b1e3c2e1c7 feat: v1 Mastodon API
This commit adds (maybe unstable) support for Mastodons v1 api
also some v2 endpoints, maybe I miss stuff, I dont know.
We will need to test this but it should be kinda stable
and work like (old) butter.

Co-authored-by: Natty <natty.sh.git@gmail.com>
Co-authored-by: cutls <web-pro@cutls.com>
2023-02-09 23:21:50 +01:00
cutestnekoaqua
bb711adff8 fix some ctx stuff 2023-02-07 23:05:26 +01:00
cutestnekoaqua
0756e980d1 wip masto api
co-authored-by: cutls <web-pro@cutls.com>
2023-02-07 22:56:39 +01:00
ThatOneCalculator
af6994dedf Merge remote-tracking branch 'asreal/Dockerfile-optimization' into develop 2023-02-05 21:15:01 -08:00
cutestnekoaqua
029eb6a521 fix: reactions using unicode weren't processed 2023-02-05 12:37:01 +01:00
ThatOneCalculator
9afe5424c0 chore: formatting 2023-02-04 12:41:25 -08:00
ThatOneCalculator
4073b746b4 fix: 🔒 improve tag search security 2023-02-04 12:38:46 -08:00
ThatOneCalculator
06ee523871 fix: 🐛 following issues
Closes #9544
2023-02-04 12:37:20 -08:00
Asrael
eeee91dcb4 build: reduce container size by removing dev dependencies from final image
This change moves many of the dependencies into devDependencies, by analyzing what is used in the runtime files. Additionally, NPM and apk cache are eliminated with multi-stage builds
2023-02-03 21:38:40 -08:00
cutestnekoaqua
cc594a68aa fix: Use ❤️ instead of ♥️ 2023-02-04 02:30:43 +01:00
ThatOneCalculator
40d539ad20 fix 2023-02-01 11:55:45 -08:00
Kainoa Kanter
62085a7183 Merge pull request 'Proper support for image types in notes, opengraph images and videos.' (#9524) from Skystryder/chakey:feature/opengraph into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9524
2023-01-30 04:52:01 +00:00
Skystryder
6d65843f78 Also increase the size for proxy. 2023-01-28 18:00:08 -08:00
Skystryder
2d5e836e96 Cleaning up image conversions to use webp, and increasing the thumbnail size. 2023-01-28 17:46:03 -08:00
Skystryder
e9a2fb5fe9 Proper support for image types in notes, opengraph images and videos.
Progress toward https://codeberg.org/calckey/calckey/issues/9373
2023-01-28 16:47:26 -08:00
ThatOneCalculator
619b925d12 fix: 🐛 signin with ipv6
co-authored-by: Syuilo
2023-01-24 15:13:25 -08:00
ThatOneCalculator
a28d818906 Fix config 2023-01-23 10:35:51 -08:00
ThatOneCalculator
4b2f9bd631 TWA/assetlinks support 2023-01-21 12:55:38 -08:00
ThatOneCalculator
a6437a79cd feat: PWA icons 2023-01-21 12:29:46 -08:00
ThatOneCalculator
a71dab09a5 Revert "hopefully this fixed chat updates"
This reverts commit bbbfbc1061fbced2c8ccf4879597305ab0d89157.
2023-01-19 16:33:14 -08:00
ThatOneCalculator
c742617a35 lavaforge --> codeberg until lavaforge is ready 2023-01-19 16:18:17 -08:00
ThatOneCalculator
be05847383 fix: heart reaction 2023-01-19 16:17:20 -08:00
ThatOneCalculator
1da7464ee7 clean up w/ rome 2023-01-16 11:19:20 -08:00
ThatOneCalculator
cb9dafdcdc chore: lavaforge links 2023-01-15 13:18:10 -08:00
cutestnekoaqua
6b700b152c fix: deliver queue 2023-01-15 02:25:01 +01:00
cutestnekoaqua
31be0899fd refactor constants
Also added more standard media formats
2023-01-14 18:21:35 +01:00
cutestnekoaqua
83728839d0 chore: rome linting 2023-01-14 16:09:47 +01:00
cutestnekoaqua
1b43766322 chore: change code commit of pictogram to emoji 2023-01-13 19:40:49 +01:00
CyberRex0
dc8a6b96d8 Add android-arm64 binary for swc 2023-01-13 18:26:22 +00:00
cutestnekoaqua
f8d901179c fix: return only first emoji but fully 2023-01-13 18:49:10 +01:00
ThatOneCalculator
bb61a9684b Remove usused eslint files 2023-01-12 22:27:17 -08:00
ThatOneCalculator
cca9a7d7cf Revert "fix: heart reactions"
This reverts commit 620dedab47bfee796e7de0f9cfb85288c4539a8e.
2023-01-12 21:41:43 -08:00
ThatOneCalculator
ef06bdceda close #9463 2023-01-12 20:58:43 -08:00
ThatOneCalculator
ac64087a1e no more eslint 2023-01-12 20:54:33 -08:00
ThatOneCalculator
2aab2de38d refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
Kainoa Kanter
19596a91e4 refactor: 🔨 Use pnpm instead of yarn (#9461)
Reasons:

1. `pnpm` is now an industry standard, being faster and less buggy than `yarn`.
2. Faster build time as builds are concurrent: 63 seconds down to 35 seconds!!
3. Resolves #9412

Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9461
2023-01-13 04:18:16 +00:00
cutestnekoaqua
43b0e3f76e fix: heart reactions 2023-01-12 23:14:45 +01:00
ThatOneCalculator
54607cd1e9 Revert "update pug description"
This reverts commit a79e5275fea7144a834f8faf39ec9b2680278c9b.
2023-01-11 10:44:05 -08:00
cutestnekoaqua
945d43c5e8 introduce unused posts endpoint 2023-01-11 16:48:43 +01:00
cutestnekoaqua
ecebdd5732 update pug description 2023-01-11 16:48:43 +01:00
cutestnekoaqua
2e256eb138 potentially breaking: default lang
I switched the url preview default language from jp-JP to en
@thatonecalculator please review
2023-01-11 16:47:35 +01:00
ThatOneCalculator
bd57f8f932 fix: drive/files/create.ts endpoint 2023-01-10 16:51:48 -08:00
ThatOneCalculator
0720ee3f73 perf: 👷 build backend with swc
Co-authored-by: pikokr <@paring@pikokr.dev>
2023-01-10 16:48:49 -08:00
ThatOneCalculator
62036b0aec Revert "revert: index.ts to test share embed fix"
This reverts commit ac4ef7eace105059eea563670f1bc6df6de3fe4f.
2023-01-10 14:18:15 -08:00
ThatOneCalculator
8ab30f125c revert: koa/router 2023-01-10 14:14:40 -08:00
ThatOneCalculator
d892cd57a9 revert: index.ts to test share embed fix 2023-01-10 14:03:39 -08:00
ThatOneCalculator
d371857f15 improve note summary 2023-01-10 09:39:48 -08:00
ThatOneCalculator
44a3e55b39 fix: 🐛 Poll choice length 256
Co-authored-by: Syuilo <Syuilotan@yahoo.co.jp>
Closes #9433
2023-01-10 08:48:10 -08:00
cutestnekoaqua
cd71d0567f fix: nodeinfo links without inflamatory comments.
Sorry for everyone who I have hurt with this, I had a really bad day, I promise this will
be the last time something like this happened. Please read my public statement.
2023-01-09 22:36:31 +01:00
cutestnekoaqua
2961b9f1c3 fix: comply with nodeinfo 2.1 2023-01-08 22:22:03 +01:00
Kainoa Kanter
d9d124cbf0 Admin set default reactions (#9404)
Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9404
2023-01-05 04:06:48 +00:00
Cleo
313ad4be6b Fix: Increase rediculously small file size limit for follower imports
Signed-off-by: Cleo <cutestnekoaqua@noreply.codeberg.org>
2023-01-04 20:32:36 +00:00
ThatOneCalculator
6e59319430 fix: 🐛 federate fedibird quote properly
https://codeberg.org/calckey/calckey/pulls/9399#issuecomment-758047
2023-01-04 09:43:01 -08:00
Kainoa Kanter
4cfa76493a Support quotes provided as 'quoteUri' field (#9399) 2023-01-04 02:39:23 +00:00
Effy Elden
e68fff9e48 Set quoteUri in rendered ActivityPub objects 2023-01-04 13:32:06 +11:00
ThatOneCalculator
0e4f4ebaca fix? 2023-01-03 17:43:12 -08:00
ThatOneCalculator
0db6550efc release version system 2023-01-03 17:38:07 -08:00
Effy Elden
1c269ee9ac Support quotes provided as 'quoteUri' field 2023-01-04 12:08:09 +11:00
ThatOneCalculator
1ea2d34e5a chore: up pkgs 2023-01-03 15:43:52 -08:00
ThatOneCalculator
20405eda18 Revert "chore: upgrade packages"
This reverts commit 245d3815c61a2b644094df15bf2a37567ff47ce4.
2023-01-03 15:42:57 -08:00
ThatOneCalculator
c7e54f3b59 chore: upgrade packages 2023-01-03 15:12:38 -08:00
ThatOneCalculator
a6324564e2 fixes 2023-01-03 09:12:26 -08:00
Kainoa Kanter
be0286a886 Merge pull request 'add antenna mark read functionality' (#9358) from supakaity/calckey:ada/antenna-mark-read into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9358
2022-12-31 10:12:10 +00:00
Kainoa Kanter
fd180ab642 Prevent notifications if the notification is for a note that is muted (#9323) 2022-12-29 11:36:57 +00:00
Kainoa Kanter
2291dd1638 add .js to the end of two type-scripts, fixing a critical error that crashes calckey (#9347) 2022-12-29 11:23:04 +00:00
Kaity A
53e186676d add antenna mark read functionalityu 2022-12-29 10:00:30 +00:00
Kaity A
a453448c90 add antenna mark read functionality 2022-12-29 09:53:04 +00:00
Naomi Ahmed
a443cb7604 deduplicate emojis 2022-12-28 00:15:07 +00:00
Naomi Ahmed
3d0859e7fc Mirror format in custom-emojis.ts 2022-12-28 00:01:18 +00:00
Naomi Ahmed
f0a30d6b4a Fix emoji urls being invalid 2022-12-27 23:59:46 +00:00
Naomi Ahmed
1fd147d054 Fix emojis crashing when it's not found 2022-12-27 23:52:59 +00:00
Daikei!
79776677a1 add .js to the end of two type-scripts, fixing a critical error that crashes calckey 2022-12-27 15:38:05 +00:00
cutestnekoaqua
b16f320607 Reproducible Builds 2022-12-27 00:24:19 +01:00
Kainoa Kanter
698d4f7607 Update 'packages/backend/src/models/repositories/instance.ts' 2022-12-26 14:48:34 +00:00
Naomi Ahmed
9fcac972bd prevent notifications if the notification contains a note that is muted 2022-12-26 04:19:20 +00:00
Johann150
6bd46b077c activitypub: block check for resolving collections 2022-12-25 15:10:44 -05:00
Francis Dinh
48f0a83016 add checks to resolver and performOneActivity 2022-12-25 15:10:33 -05:00
Francis Dinh
8ff259f573 Block subdomains of blocked hosts 2022-12-24 14:46:09 -05:00
ineffyble
ef5ad15012 Fix peers API returning suspended instances 2022-12-23 04:32:45 +00:00
Kainoa Kanter
739b9849b9 Mastodon instance info support (closes #9256) (#9274) 2022-12-22 02:38:53 +00:00
Undefined
7cc4004db6 FIX: Page - Pin to Profile (closes #9234) 2022-12-20 09:00:37 +01:00
Kaity A
324784b355 allow finding compatibility endpoints 2022-12-19 11:20:10 +00:00
Kaity A
612ae420ec Add mastodon compatibility APIs 2022-12-19 09:58:37 +00:00
Cleo
530664ccbc Merge pull request '[Chore] Partial translating of ActivityPub/Boot code + Formatting' (#9229) from prettykool/calckey:develop into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9229
2022-12-18 21:01:22 +00:00
ThatOneCalculator
4d6c51d134 downgrade some packages 2022-12-18 11:13:24 -08:00
ThatOneCalculator
2c8a66ed9d feat: 📦 upgrade to vite 4 2022-12-18 11:03:08 -08:00
cutestnekoaqua
0b87130f08 repo move migration 2022-12-18 19:41:59 +01:00
ThatOneCalculator
1a9e55b0f3 refactor: new repo link 2022-12-18 10:12:24 -08:00
ThatOneCalculator
5b1b0569cc fix: 🥴 2022-12-17 17:47:38 -08:00
ThatOneCalculator
bacac3eb9e Merge remote-tracking branch 'chimiana/develop' into develop 2022-12-17 09:25:08 -08:00
ThatOneCalculator
f6589655b1 chore: dockerfile cleanup 2022-12-17 09:22:25 -08:00
chimiana
41158e9224 Fix for #9194, converts webp to png instead of jpg, preserving transparency 2022-12-17 02:26:19 +00:00
Undefined
29ea572c59 Add FK abuse_user_report.targetUserId -> user.id (closes #9227) 2022-12-16 17:15:53 +01:00
PK
54c3d43ccf Make indentation not completely suck 2022-12-15 18:09:00 -06:00
cutestnekoaqua
5002f0aa2b Finalise POST-Move 2022-12-16 01:06:30 +01:00
PK
2285812a88 Formatting 2022-12-15 16:13:48 -06:00
PK
52cc014e4d Translate portions of backend/src/remote/activitypub, the suspend-user service, and the boot process.
Some of these weren't translated so I thought I'd do 'em cause why not ¯\_(ツ)_/¯
2022-12-15 12:44:03 -06:00
cutestnekoaqua
32fac2c2c8 add check for already moved 2022-12-15 17:39:28 +01:00
cutestnekoaqua
ff9500b9e5 set move ratelimit to graceful 5 times. 2022-12-15 16:59:11 +01:00