Commit graph

152 commits

Author SHA1 Message Date
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
Satsuki Yanagi
4501f7478a 設定でPostgreSQLのクエリー結果のキャッシュを無効できるように (#5046) 2019-06-11 20:49:08 +09:00
Satsuki Yanagi
355ece9d37 Support PostgreSQL Extra Connection options (#4970) 2019-05-24 03:26:56 +09:00
syuilo
4452f8378b Resolve #4928 2019-05-16 01:07:32 +09:00
MeiMei
0bd92bf0bd Update ObjectStorage example (#4890) 2019-05-10 01:46:11 +09:00
MeiMei
0b3526d3db Fix: IPv4 onlyホストからDualstackホストにAP deliverできない (#4872) 2019-05-07 17:49:25 +09:00
syuilo
6b0e3bc448 Update example.yml 2019-04-25 12:24:18 +09:00
かひわし4(バージョン1)
81ea683f9f Docker: Remove quotes in docker_example.env (#4765)
Docker does not parse quotes in env_file.
As follows if enclosed in quotation marks.

docker_example.env:
POSTGRES_PASSWORD="password"

Environment value in Misskey container:
$ echo $POSTGRES_PASSWORD
"password"

Some users may see this behavior as unexpected.

Dockerはenv_fileのクォーテーションマークを解析しません。
もし値がクォーテーションマークで囲まれていた場合は以下のような動作になります。

docker_example.env:
POSTGRES_PASSWORD="password"

Misskeyのコンテナ内の環境変数:
$ echo $POSTGRES_PASSWORD
"password"

この動作を予期しない動作のように思うユーザーがいるかもしれません。
2019-04-21 23:58:15 +09:00
syuilo
de2067f864 Add meid 2019-04-14 01:40:29 +09:00
syuilo
a3d96867a6 Update id generation methods 2019-04-14 01:08:26 +09:00
syuilo
af93cdd49f Redis必須に 2019-04-13 19:19:32 +09:00
syuilo
2b8602bd1b Use PostgreSQL instead of MongoDB (#4572)
* wip

* Update note.ts

* Update timeline.ts

* Update core.ts

* wip

* Update generate-visibility-query.ts

* wip

* wip

* wip

* wip

* wip

* Update global-timeline.ts

* wip

* wip

* wip

* Update vote.ts

* wip

* wip

* Update create.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update files.ts

* wip

* wip

* Update CONTRIBUTING.md

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update read-notification.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Update cancel.ts

* wip

* wip

* wip

* Update show.ts

* wip

* wip

* Update gen-id.ts

* Update create.ts

* Update id.ts

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Docker: Update files about Docker (#4599)

* Docker: Use cache if files used by `yarn install` was not updated

This patch reduces the number of times to installing node_modules.
For example, `yarn install` step will be skipped when only ".config/default.yml" is updated.

* Docker: Migrate MongoDB to Postgresql

Misskey uses Postgresql as a database instead of Mongodb since version 11.

* Docker: Uncomment about data persistence

This patch will save a lot of databases.

* wip

* wip

* wip

* Update activitypub.ts

* wip

* wip

* wip

* Update logs.ts

* wip

* Update drive-file.ts

* Update register.ts

* wip

* wip

* Update mentions.ts

* wip

* wip

* wip

* Update recommendation.ts

* wip

* Update index.ts

* wip

* Update recommendation.ts

* Doc: Update docker.ja.md and docker.en.md (#1) (#4608)

Update how to set up misskey.

* wip

* ✌️

* wip

* Update note.ts

* Update postgre.ts

* wip

* wip

* wip

* wip

* Update add-file.ts

* wip

* wip

* wip

* Clean up

* Update logs.ts

* wip

* 🍕

* wip

* Ad notes

* wip

* Update api-visibility.ts

* Update note.ts

* Update add-file.ts

* tests

* tests

* Update postgre.ts

* Update utils.ts

* wip

* wip

* Refactor

* wip

* Refactor

* wip

* wip

* Update show-users.ts

* Update update-instance.ts

* wip

* Update feed.ts

* Update outbox.ts

* Update outbox.ts

* Update user.ts

* wip

* Update list.ts

* Update update-hashtag.ts

* wip

* Update update-hashtag.ts

* Refactor

* Update update.ts

* wip

* wip

* ✌️

* clean up

* docs

* Update push.ts

* wip

* Update api.ts

* wip

* ✌️

* Update make-pagination-query.ts

* ✌️

* Delete hashtags.ts

* Update instances.ts

* Update instances.ts

* Update create.ts

* Update search.ts

* Update reversi-game.ts

* Update signup.ts

* Update user.ts

* id

* Update example.yml

* 🎨

* objectid

* fix

* reversi

* reversi

* Fix bug of chart engine

* Add test of chart engine

* Improve test

* Better testing

* Improve chart engine

* Refactor

* Add test of chart engine

* Refactor

* Add chart test

* Fix bug

* コミットし忘れ

* Refactoring

* ✌️

* Add tests

* Add test

* Extarct note tests

* Refactor

* 存在しないユーザーにメンションできなくなっていた問題を修正

* Fix bug

* Update update-meta.ts

* Fix bug

* Update mention.vue

* Fix bug

* Update meta.ts

* Update CONTRIBUTING.md

* Fix bug

* Fix bug

* Fix bug

* Clean up

* Clean up

* Update notification.ts

* Clean up

* Add mute tests

* Add test

* Refactor

* Add test

* Fix test

* Refactor

* Refactor

* Add tests

* Update utils.ts

* Update utils.ts

* Fix test

* Update package.json

* Update update.ts

* Update manifest.ts

* Fix bug

* Fix bug

* Add test

* 🎨

* Update endpoint permissions

* Updaye permisison

* Update person.ts

#4299

* データベースと同期しないように

* Fix bug

* Fix bug

* Update reversi-game.ts

* Use a feature of Node v11.7.0 to extract a public key (#4644)

* wip

* wip

* ✌️

* Refactoring

#1540

* test

* test

* test

* test

* test

* test

* test

* Fix bug

* Fix test

* 🍣

* wip

* #4471

* Add test for #4335

* Refactor

* Fix test

* Add tests

* 🕓

* Fix bug

* Add test

* Add test

* rename

* Fix bug
2019-04-07 21:50:36 +09:00
syuilo
928ada6b41 Update example.yml 2019-02-06 19:36:44 +09:00
syuilo
87c1851602 Clean up 2018-12-19 06:09:31 +09:00
syuilo
536ea5d280 Resolve #3376 2018-11-23 08:13:17 +09:00
Hakaba Hitoyo
82ab386b83 Feature / user recommendation config in admin ui (#3357)
* add config for external user recommendation into admin ui

* debug

* correct admin ui

* switch external user recommendation to admin ui config

* debug

* debug

* debug

* Revert "debug"

This reverts commit f4a0460e5bde21cd1f39a735f496a2d74233ef3f.

* explicit parseInt radix

* add Japanese message

* change default engine to https

* remove unused settings

* debug

* nullable externalUserRecommendationTimeout
2018-11-21 23:44:59 +09:00
syuilo
f7cf27ed7f Clean up 2018-11-07 13:15:09 +09:00
syuilo
2642bdd9c8 メンテナ情報をDBに保存するように 2018-11-07 01:12:26 +09:00
syuilo
9fdf438018 ghostの設定をDBに保存するように 2018-11-07 00:44:56 +09:00
syuilo
35f1df1155 Clean up 2018-11-07 00:16:32 +09:00
syuilo
d611a53044 リモートのファイルをキャッシュするかどうかの設定をDBに保存するように 2018-11-06 07:52:13 +09:00
syuilo
84822b0e58 ドライブ容量の設定をDBに保存するようにしたりリファクタリングしたり 2018-11-06 07:14:43 +09:00
syuilo
e192c4c330 Resolve #3137 2018-11-06 06:24:31 +09:00
syuilo
7d8d8a165b 投稿の最大文字数情報を設定ファイルではなくDBに保存するように 2018-11-05 11:09:05 +09:00
syuilo
947b0f55a3 Resolve #3098 2018-11-04 23:00:43 +09:00
Acid Chicken (硫酸鶏)
8cc0afa8d4 Add GitHub auth (#3095) 2018-11-04 22:03:55 +09:00
Acid Chicken (硫酸鶏)
a8e8202b8a Fix typo 2018-11-04 20:08:31 +09:00
Acid Chicken (硫酸鶏)
a07fa755e2 Revert "Add GitHub auth"
This reverts commit c1460064769c9d824e60a39356671ccb3a4d1f44.
2018-11-04 19:22:04 +09:00
Acid Chicken (硫酸鶏)
2bb4bc8727 Add GitHub auth 2018-11-04 19:17:30 +09:00
MeiMei
d2a91ad640 Make max allowed text length configurable (#2992)
* Make max allowed text length configurable

* Fix canPost
2018-10-24 04:00:04 +09:00
syuilo
67f5d5d321 Redisをオプションにしたり 2018-10-11 15:50:27 +09:00
かひわし4(バージョン1)
1c4cde5235 Docker (#2867)
* Dockerize Misskey

* Add a new line at EOF

* Add support Elasticsearch

* /

* Add setup document for docker

* Add english document

* Edit docs

* docker -> Docker

* Arrange format

* Update docker.en.md

* Modify title
2018-10-09 15:09:50 +09:00
Hakaba Hitoyo
96959f4d91 external user recommendation 2018-10-06 16:03:18 +09:00
MeiMei
8bfb7958a8 Better deployment option descriptions. (#2800) 2018-10-02 11:59:12 +09:00
Hakaba Hitoyo
68baa2c8e6 Better example settings for TLS certification (#2793) 2018-10-01 19:29:02 +09:00
syuilo
7212d4569f Add sunnaly proxy option 2018-08-26 01:56:21 +09:00
syuilo
65ac5bdc1a Update example.yml 2018-08-16 07:31:58 +09:00
syuilo
37d2adb7d4 Fix 2018-08-16 01:20:52 +09:00
Skid
c8d69ae168 Update example.yml 2018-08-14 15:45:36 +02:00
syuilo
14025a9c94 Update example.yml 2018-08-14 01:57:52 +09:00
syuilo
a69bc9480d クラスタ数を制限するオプションを追加 2018-07-28 03:55:41 +09:00
mei23
3d7680de3d Add S3 examples 2018-07-26 17:42:08 +09:00
syuilo
24eccb2dea Fix bug nado 2018-07-25 08:01:12 +09:00
syuilo
623bc57c6d Update config template: Add missing property definition 2018-07-25 00:40:27 +09:00
syuilo
8f479e5dfd wip 2018-07-24 01:58:11 +09:00
syuilo
792d9233e2 #1947 2018-07-21 19:17:15 +09:00
syuilo
4831f16da5 reCAPTCHAをオプションに 2018-07-19 00:04:09 +09:00
syuilo
9b047c83c9 Better default value 2018-07-15 02:29:50 +09:00
syuilo
e5c51c1318 Fix 2018-07-15 02:23:22 +09:00
syuilo
e6297939b0 Add optional Elasticsearch setting 2018-07-15 02:22:02 +09:00
syuilo
2e0c224008 Update example.yml 2018-07-15 02:17:45 +09:00
syuilo
c984ac968c Update example.yml 2018-07-15 02:16:35 +09:00
syuilo
b38ed379bd Update example.yml 2018-07-15 02:15:45 +09:00
syuilo
8e05c68596 Update example.yml 2018-07-15 02:11:56 +09:00
syuilo
16363e8c90 Update example.yml 2018-07-15 02:11:17 +09:00
syuilo
ee11326d1e Update example.yml 2018-07-15 02:09:55 +09:00
Aya Morisawa
3d40b1f613 Revert "Update example.yml"
This reverts commit 7ab9d01bac19aebc12c26904925f448180bf22dd.
2018-07-15 02:01:33 +09:00
syuilo
ced2cc3711 Update example.yml 2018-07-15 01:58:08 +09:00
syuilo
5aad4be72c Update example.yml 2018-07-14 23:20:30 +09:00
Aya Morisawa
c47e4d8796 Update example config 2018-07-14 23:14:24 +09:00
Aya Morisawa
3ccc2abc16 Update config example 2018-07-14 23:07:59 +09:00
Aya Morisawa
4a6386e410 Update config example 2018-07-14 23:06:46 +09:00
syuilo
9a4f5d12bc Update example.yml
Update some default values
2018-07-14 23:03:20 +09:00
Aya Morisawa
8609c440a2 Update config example 2018-07-14 22:42:44 +09:00
Aya Morisawa
d99c08ca19 Fix typo 2018-07-08 04:57:10 +09:00
Aya Morisawa
8b0e74bbee Update config example 2018-07-08 04:56:23 +09:00
xps2
56932a7b68 リポジトリとフィードバックのURLをconfigから指定できるように変更 2018-07-07 21:08:22 +09:00
syuilo
3d892cfb12 ✌️ 2018-06-15 13:58:09 +09:00
syuilo
86674a24c9 Update example.yml 2018-06-11 02:18:00 +09:00