Commit graph

23646 commits

Author SHA1 Message Date
Namekuji
c0396e3bff
add remaining modules 2023-05-17 21:18:29 -04:00
Namekuji
fa4a32cf97
add federation config 2023-05-17 21:18:28 -04:00
Namekuji
bef53cc709
adding fedration 2023-05-17 21:18:28 -04:00
s1idewhist1e
85de24f178
add event handling to logger 2023-05-17 14:24:00 -07:00
s1idewhist1e
539971dd05
add custom logging subscriber framework 2023-05-16 23:10:02 -07:00
s1idewhist1e
76766ace7a
Fix some test config options 2023-05-16 13:30:39 -07:00
s1idewhist1e
f183dd23c2
remove some unused code 2023-05-16 12:00:00 -07:00
s1idewhist1e
9d90403ec7
add ability to setup temp config before running a test 2023-05-15 20:42:06 -07:00
s1idewhist1e
cbb4df843a
Change Result<(), Box<dyn Error>> to anyhow::Result<()> 2023-05-15 17:16:23 -07:00
s1idewhist1e
fa63f01ffa
Change cluster_limit in config to an Option<usize>
This was originally a u16 (defaulting to 1) which is more similar to what the old backend config parsing used, but now if it's None tokio can automatically detect the number of worker threads to use based on the number of CPUs.
2023-05-15 16:56:24 -07:00
Kainoa Kanter
bdc391caa7 Merge pull request '[rust] refactor: config' (#10109) from nmkj/calckey:refactor/rustify into refactor/rocket
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10109
2023-05-14 20:03:25 +00:00
Namekuji
04a9dc8c97
add url 2023-05-14 04:09:05 -04:00
Namekuji
e69f3b54a9
add default values 2023-05-14 03:30:10 -04:00
Namekuji
bee531ddca remove tokio main 2023-05-14 03:29:05 -04:00
Namekuji
e1a0ab7d25 use thiserror for impl Error and Display 2023-05-14 03:29:05 -04:00
s1idewhist1e
31c425995f
some boilerplate server/tokio runtime stuff 2023-05-13 23:25:50 -07:00
s1idewhist1e
4fb4597e7b
Add macros crate for utility macros 2023-05-13 16:56:38 -07:00
s1idewhist1e
c34aab6ac8
more config initialization 2023-05-09 22:06:08 -07:00
s1idewhist1e
d61fd0f418
Fix clean.js to remove rust target dir 2023-05-09 00:14:15 -07:00
s1idewhist1e
d86a5a7147
Add config iniitialization (I can totally spell) 2023-05-09 00:13:21 -07:00
s1idewhist1e
6033a63446
Move config to its own crate + fix config parsing 2023-05-08 22:42:34 -07:00
s1idewhist1e
393c8c9427
fix pnpm test script 2023-05-08 09:33:46 -07:00
s1idewhist1e
92fcfc1a08
more config stuff 2023-05-08 09:33:16 -07:00
s1idewhist1e
ce685af31a
change rust-toolchain file to rust-toolchain.toml 2023-05-08 09:24:53 -07:00
s1idewhist1e
993befbd9c
config parsing 2023-05-04 00:58:15 -07:00
s1idewhist1e
c8b7584fee
add backend .editorconfig that complies with the rust style guide 2023-05-03 18:26:52 -07:00
s1idewhist1e
e3ab697e66
Remove ts from backend and prepare rust environment 2023-04-29 23:10:20 -07:00
ThatOneCalculator
b2e80db219
revert messaging room 2023-04-24 15:45:34 -07:00
naskya
df8294bde3 fix: boost muting in the recommended timeline (#9906)
Closes: #9905
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9906
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-24 19:47:56 +00:00
ThatOneCalculator
64a1c24686
chore: up pakcages 2023-04-23 15:34:50 -07:00
Kainoa Kanter
0c82c4662f Merge pull request 'feat: Implement reading Announcements from MastoAPI' (#9896) from fruye/calckey:announcements into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9896
2023-04-23 22:32:18 +00:00
fruye
1a39e7a48e feat: Implement reading Announcements from MastoAPI 2023-04-23 22:17:02 +02:00
Кибер огурчик
59d31ffae1
chore: Translated using Weblate (Russian)
Currently translated at 99.8% (1724 of 1727 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/ru/
2023-04-23 07:29:11 +02:00
Kainoa Kanter
66f9913e95
chore: Translated using Weblate (English)
Currently translated at 100.0% (1727 of 1727 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/en/
2023-04-23 07:29:07 +02:00
Hosted Weblate
4051770346
chore: Merge branch 'origin/develop' into Weblate. 2023-04-23 02:23:06 +02:00
ThatOneCalculator
591e44ccd6
chore: formatting 2023-04-22 17:22:53 -07:00
Hosted Weblate
593c649fa1
chore: Merge branch 'origin/develop' into Weblate. 2023-04-23 02:21:54 +02:00
Free
29818a067b Notes refactoring (?) + new CW design (#9888)
Moved a lot of the duplicated code in the different note components into the SubNoteContent component

I've also replaced the detailed note stuff with just the MkNote component

Co-authored-by: Freeplay <Freeplay@duck.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9888
Co-authored-by: Free <freeplay@duck.com>
Co-committed-by: Free <freeplay@duck.com>
2023-04-23 00:21:38 +00:00
Hosted Weblate
c16ce7d28b
chore: Merge branch 'origin/develop' into Weblate. 2023-04-23 02:20:11 +02:00
Кибер огурчик
09bacea5df
chore: Translated using Weblate (Russian)
Currently translated at 100.0% (1726 of 1726 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/ru/
2023-04-23 02:20:11 +02:00
tinaxd
4974088061
fix: ドライブアップロードで413が返ってきたときにエラーメッセージを表示 (#10680) 2023-04-22 17:19:52 -07:00
Кибер огурчик
2415ef48d1
chore: Translated using Weblate (Russian)
Currently translated at 95.2% (1644 of 1726 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/ru/
2023-04-22 15:50:49 +02:00
Кибер огурчик
0bb502c78f
chore: Translated using Weblate (Russian)
Currently translated at 95.0% (1640 of 1726 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/ru/
2023-04-22 01:52:35 +02:00
Jeder
2127237448
chore: Translated using Weblate (Polish)
Currently translated at 100.0% (1726 of 1726 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/pl/
2023-04-22 01:52:33 +02:00
naskya
46a21c9a6d
chore: Translated using Weblate (Japanese)
Currently translated at 100.0% (1726 of 1726 strings)

Translation: Calckey/locales
Translate-URL: https://hosted.weblate.org/projects/calckey/locales/ja/
2023-04-22 01:52:31 +02:00
naskya
00b45ad726 security: validate image url (#9882)
It looks like url validations are added in f7564d87b0, but I found another validation commit not applied in Calckey, so I cherry-picked 0da0cc80b9 from [Misskey](https://github.com/misskey-dev/misskey).

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9882
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-21 01:50:47 +00:00
naskya
e0d76ef8ef feat: make it toggleable whether to disable emojis in notifications (#9880)
I talked about feature #9865 on my fedi account and received a comment like, "I don't care about emoji reactions in my timelines, but I do care what reactions I get!"

Adding too many options is bad, but I agreed that making it toggleable whether to disable emojis in notifications is helpful, so I added this feature. This allows you to check emoji reactions to your posts in notifications while using the simple UI. I'd say this provides an experience that neither Mastodon nor Misskey has.

The new setting item shows up only when you disable emoji reactions.

Co-authored-by: naskya <m@naskya.net>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9880
Co-authored-by: naskya <naskya@noreply.codeberg.org>
Co-committed-by: naskya <naskya@noreply.codeberg.org>
2023-04-20 07:57:36 +00:00
ThatOneCalculator
b60a3b509e
chore: update summaly 2023-04-19 21:28:43 -07:00
ThatOneCalculator
89d2a83d7a
email styling 2023-04-19 21:26:49 -07:00
ThatOneCalculator
a1f723a18e
chore: formatting 2023-04-19 21:06:05 -07:00