Commit graph

120 commits

Author SHA1 Message Date
sparrow
6a033513ea expose redis tls settings directly to config 2023-06-28 03:09:22 +01:00
sparrow
11a80d1b15 Remove static postgres tls settings
They can be configured through `extra` in config.
2023-06-28 01:48:55 +01:00
sparrow
4609fbe888 Make redis and postgres tls optional and opt-in 2023-06-28 00:41:44 +01:00
ThatOneCalculator
83089e49d8 refactor: 🔧 allow redis user to be configured
Follow up #10366, 3df3c97deb284ecbf3363b90a45c6501957d1e98
2023-06-26 15:02:54 -07:00
ThatOneCalculator
96ff1e5e55 chore: update example config 2023-06-02 16:10:57 -07:00
Kainoa Kanter
c6adc39792 Merge pull request 'fix: deprecate AID and enforce Cuid2' (#10216) from nmkj/calckey:deprecate-aid into develop
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/10216
2023-05-29 04:12:15 +00:00
Namekuji
53cdd62533 fix example config format 2023-05-28 23:51:09 -04:00
Namekuji
399b0e96dc use cuid2 with timestamp 2023-05-28 22:16:42 -04:00
PrivateGER
591639e570 Add ssl option to MeiliSearch config 2023-05-28 00:27:16 +00:00
PrivateGER
3573b6e6bd Fix apiKey naming in config 2023-05-28 00:27:16 +00:00
PrivateGER
89f1b6357e Meilisearch Config 2023-05-28 00:27:16 +00:00
April John
5752cdb742 feat: allow horizontal scaling 2023-05-17 00:08:33 +02:00
Pyrox
ca43e046a0 flake: Cleanup devenv on clean, add helper scripts, and run dev server on devenv up
Also adds a new config example for use with the devenv scripts, as well
as a developer's guide for setting up the Nix environment. This could
also have steps for speific distros, such as what packages to install,
and specific notes.
2023-05-12 09:09:58 -04:00
ThatOneCalculator
de66421ff8 Merge remote-tracking branch 'helm/add-helm-chart' into develop 2023-05-10 16:54:26 -07:00
Lily Cohen
5755d9e5eb adding example config 2023-05-10 16:17:05 -07:00
s1idewhist1e
9bac307ba8 Make config syntax more consistant 2023-05-08 10:40:43 -07:00
ThatOneCalculator
5b7ea542c7 add kaiteki to example proxyBypassHosts 2023-04-26 21:07:40 -07:00
ThatOneCalculator
04db6c14c5 chore: update examples 2023-04-26 15:50:28 -07:00
Namekuji
dda66daedd feat: reserved usernames (#9917)
This PR adds a feature to prevent users from creating a new account with a reserved username such as root, admin, system, proxy, info, etc...

Reserved usernames can be configured via the config file.

The administrator can create an account with a reserved username via the first setup screen or the control panel.

The existing account of reserved usernames will not be affected.

Co-authored-by: Namekuji <nmkj@mx.kazuno.co>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9917
Co-authored-by: Namekuji <nmkj@noreply.codeberg.org>
Co-committed-by: Namekuji <nmkj@noreply.codeberg.org>
2023-04-26 20:06:18 +00:00
ThatOneCalculator
65a47f6144 docs: sonic 2023-03-23 14:45: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
Kaity A
be4d51fcad Expand caption limit to 1500 characters 2023-03-05 16:51:44 +10:00
ThatOneCalculator
4b2f9bd631 TWA/assetlinks support 2023-01-21 12:55:38 -08:00
cutestnekoaqua
745160adfe fix redis in ci 2022-12-14 00:11:09 +01:00
cutestnekoaqua
11798cd98b Add simple Commit CI 2022-12-13 23:32:28 +01:00
ThatOneCalculator
5f62a449a7 feat: customizable max note length 2022-12-12 15:07:38 -08:00
PikaDude
2002effad1 fix defaults 2022-11-19 06:53:01 +00:00
Kainoa Kanter
fdb8298851 Update config example 2022-11-16 04:51:59 +01:00
ThatOneCalculator
0b590756a5 update example 2022-11-02 09:14:42 -07:00
ThatOneCalculator
c3204e6f3a feat: Managed hosting complete 2022-11-01 18:41:59 -07:00
ThatOneCalculator
511ff64191 Max users 2022-10-30 21:38:20 -07:00
ThatOneCalculator
1ef1907f4b Always signToActivityPubGet 2022-08-22 23:44:26 -07:00
MeiMei
aef9cb41f3 enhance: Redisをioredisに統一してIPv6サポート (#8869)
* Use ioredis, Supports IPv6 host

https://github.com/misskey-dev/misskey/issues/8862

* Fix import

* order

* a

* i

* fix

* flushdb

* family

* CHANGELOG

* redis_version

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-24 19:22:19 +09:00
Johann150
9e1255b334 remove HTTPS handling (#8380) 2022-03-08 23:23:18 +09:00
tamaina
13cc69fe1c Fix avatar/banner proxy (#8346)
* Fix avatar/banner proxy

Co-authored-by: mei23 <m@m544.net>

* use getAvatarUrl

* fix

* join avatar and banner to improve performance

* join

* Update hybrid-timeline.ts

* fix

Co-authored-by: mei23 <m@m544.net>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-02-27 13:59:10 +09:00
MeiMei
9a5efad815 ファイルサイズのハードリミット (#7760)
* maxFileSize

* CHANGELOG
2021-09-04 20:33:14 +09:00
MeiMei
85409f4bd5 Tune download (#2)
* s2-2

* allowedPrivateNetworks

* style

* Proxyの間にあると誤解しそうなのでconfigの記述順を変更

* Fix error handler
2021-09-03 21:13:06 +09:00
MeiMei
4744276e15 ActivityPubでリモートのオブジェクトをGETするときのリクエストをHTTP Signatureで署名するオプション (#6731)
* Sign ActivityPub GET

* Fix v12, v12.48.0 UI bug
2020-10-18 01:46:40 +09:00
MeiMei
69dd52920e プロキシの除外ホスト (#6244)
* プロキシの除外ホスト

* オブジェクトストレージとの通信にProxyを使うかを選択できるように

* fix lint

* コメント

Co-authored-by: rinsuki <428rinsuki+git@gmail.com>
2020-04-12 20:32:34 +09:00
MeiMei
a919a61b2f ElasticSearchで認証ができるように (#6158) 2020-03-20 14:00:34 +09:00
syuilo
e24ca1e51f v12 (#5712)
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
Co-authored-by: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com>
2020-01-30 04:37:25 +09:00
MeiMei
dea1188714 APの流量制限とリトライ期間の変更 (#5734)
* AP rate limit

* AP Job attempts

* fix
2020-01-20 14:14:09 +09:00
MeiMei
724290f18b 期限切れ/未保存リモートファイルのローカルプロキシ (#5655)
* Media Proxy を実装

* サンプルを追加

* https://github.com/syuilo/misskey/pull/5649#discussion_r359967471 の修正

* https://github.com/syuilo/misskey/pull/5649#discussion_r359967966 の修正

* https://github.com/syuilo/misskey/pull/5649#discussion_r359968219 の修正

* 期限切れ/未保存リモートファイルのローカルプロキシ

* 設定

* 説明

* comment out

* fix

Co-authored-by: 和風ドレッシング <37681609+CookieRamen@users.noreply.github.com>
2019-12-31 17:23:47 +09:00
和風ドレッシング
a91f6e2b95 Media Proxy を実装 (#5649)
* Media Proxy を実装

* サンプルを追加
2019-12-20 01:54:28 +09:00
tamaina
6dd0117dcf Update example.yml (#5572)
Redisの設定にprefix, dbを追加
2019-11-04 20:48:07 +09:00
rinsuki
bc2b7399c7 .config/example.ymlの不要なセミコロンを削除 (#5537) 2019-10-22 19:30:18 +09:00
MeiMei
d3eeb1c8c1 Proxy for SMTP (#5371) 2019-09-02 04:42:52 +09:00
syuilo
c76ea07efb Syslog support
Resolve #5355
2019-08-30 08:29:46 +09:00
MeiMei
cbb354ad75 Tune worker/job counts (#5346)
* デフォルトのワーカー数を1に

* Tune default job count
2019-08-27 05:33:24 +09:00
syuilo
88d2b6528d Add note 2019-07-03 20:31:52 +09:00