Commit graph

36 commits

Author SHA1 Message Date
Laura Hausmann e5276e2765
[backend] Add environment variables to configure config file location, files directory and custom assets directory 2023-11-23 20:31:08 +01:00
Laura Hausmann 9b2e966c19
[backend] Remove external search backends 2023-11-19 01:36:54 +01:00
Laura Hausmann 42aa8b7126
[backend] Remove cache server configuration, migrate back to unified redis in-memory cache 2023-11-05 15:03:17 +01: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 84867f1c13
Finish up support for local split domain configurations 2023-09-06 19:13:57 +02:00
Laura Hausmann 50d09a4c66
Switch to emoji status images (related: #42) 2023-08-31 01:20:46 +02:00
Laura Hausmann 079942eda4
Improved media cleanup task 2023-08-02 21:25:24 +02:00
April John 701fc6d275 beban work on account domains 2023-08-01 21:23:32 +02:00
Namekuji e505b0f207 fix: use host as prefix of cacheServer if undefined 2023-07-06 17:06:31 -04:00
ThatOneCalculator f5c7b6f55f feat: cache server 2023-07-06 11:50:34 -07:00
Namekuji 8a28592fbd fix: disable redis tls if undefined in config 2023-06-28 02:44:16 -04:00
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
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 399b0e96dc use cuid2 with timestamp 2023-05-28 22:16:42 -04:00
PrivateGER 0a2c9a6c27 add semicolon after property 2023-05-28 00:27:16 +00:00
PrivateGER 591639e570 Add ssl option to MeiliSearch config 2023-05-28 00:27:16 +00:00
PrivateGER 99b4e5e13c Implement Meilisearch Indexing 2023-05-28 00:27:16 +00:00
April John 5752cdb742 feat: allow horizontal scaling 2023-05-17 00:08:33 +02:00
Kaity A f9a72e1ea6 Add Libre Translate support 2023-04-30 11:09:51 +10: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
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
ThatOneCalculator 2aab2de38d refactor: 🎨 rome 2023-01-12 20:40:33 -08:00
ThatOneCalculator 5f62a449a7 feat: customizable max note length 2022-12-12 15:07:38 -08: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
tamaina 8ad77a28b4 refactor: use Vite to build instead of webpack (#8575)
* update stream.ts

* https://github.com/misskey-dev/misskey/pull/7769#issuecomment-917542339

* fix lint

* clean up?

* add app

* fix

* nanka iroiro

* wip

* wip

* fix lint

* fix loginId

* fix

* refactor

* refactor

* remove follow action

* clean up

* Revert "remove follow action"

This reverts commit defbb416480905af2150d1c92f10d8e1d1288c0a.

* Revert "clean up"

This reverts commit f94919cb9cff41e274044fc69c56ad36a33974f2.

* remove fetch specification

* renoteの条件追加

* apiFetch => cli

* bypass fetch?

* fix

* refactor: use path alias

* temp: add submodule

* remove submodule

* enhane: unison-reloadに指定したパスに移動できるように

* null

* null

* feat: ログインするアカウントのIDをクエリ文字列で指定する機能

* null

* await?

* rename

* rename

* Update read.ts

* merge

* get-note-summary

* fix

* swパッケージに

* add missing packages

* fix getNoteSummary

* add webpack-cli

* ✌️

* remove plugins

* sw-inject分離したがテストしてない

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix notification.vue

* remove a blank line

* disconnect intersection observer

* disconnect2

* fix

* ✌️

* clean up config

* typesを戻した

* Update packages/client/src/components/notification.vue

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* disconnect

* oops

* Failed to load the script unexpectedly回避
sw.jsとlib.tsを分離してみた

* truncate notification

* Update packages/client/src/ui/_common_/common.vue

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>

* clean up

* clean up

* キャッシュ対策

* Truncate push notification message

* クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正

* components/drive-file-thumbnail.vue

* components/drive-select-dialog.vue

* components/drive-window.vue

* merge

* fix

* Service Workerのビルドにesbuildを使うようにする

* return createEmptyNotification()

* fix

* i18n.ts

* update

* ✌️

* remove ts-loader

* fix

* fix

* enhance: Service Workerを常に登録するように

* pollEnded

* URLをsw.jsに戻す

* clean up

* wip

* wip

* wip

* wip

* wip

* wip

* ✌️

* use import

* fix

* install rollup

* use defineAsyncComponent.

* fix emojilist

* wip use defineAsyncComponent

* popup(import -> popup(defineAsyncComponent(() => import

* draggable?

* fix init import

* clean up

* fix router

* add comment

* ✌️

* ✌️

* ✌️

* remove webpack

* update vite

* fix boot sequence

* Revert "fix boot sequence"

This reverts commit e893dbf37aed83bf9f12e427d98c78a7065b4a39.

* revert boot import

* never make two app div

* ;

* remove console.log

* change clientEntry sequence

* fix

* Revert "fix"

This reverts commit 12741b3d89950a31dbb1bb81477ddb27b0e9951a.

* fix

* add comment https://github.com/misskey-dev/misskey/pull/8575#issuecomment-1114239210

* add log

* add comment

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-05-01 22:51:07 +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
syuilo 14148f6c4a refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00
Renamed from src/config/types.ts (Browse further)