Commit graph

143 commits

Author SHA1 Message Date
Laura Hausmann ef3463e8dc
[backend] Rework note hard mutes
It's been shown that the current approach doesn't scale. This implementation should scale perfectly fine.
2023-11-27 19:43:45 +01:00
Laura Hausmann 61c532a854
[mastodon-client] Add html cache for user profiles and note contents 2023-11-26 21:41:20 +01:00
Laura Hausmann 4c12a8882e
[docs] Remove search backends from installation docs, example config & example docker-compose.yml 2023-11-19 04:10:00 +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
Pyrox 0a7303dfba [config] Update devenv.yml config for Nix-based development
Just removes the deprecated `id` variable as well as the (commented out)elasticsearch settings since those don't exist anymore
2023-10-26 18:30:34 -04:00
Pyrox e8fea317fa
[nix devenv] Devenv cleanup
This commit does the following:
* Removes Rust development tools from the devenv since all Rust code has been removed
* Removes the deprecated `id` parameter from the `devenv.yml` config, as well as making its formatting actually correct.
* Updates the lockfile of the Nix flake so that all latest versions of tools that are needed are installed.
2023-10-26 18:43:36 +02: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 1348d6e1d0
Update example config for the new status code images 2023-08-31 01:30:03 +02:00
Luna D Dragon 91b8b7b76b
Defry the fish (#125)
Co-authored-by: Luna <luna.dragon@suse.com>
Reviewed-on: https://iceshrimp.dev/iceshrimp/iceshrimp/pulls/125
Co-authored-by: Luna D Dragon <lunarequest@nullrequest.com>
Co-committed-by: Luna D Dragon <lunarequest@nullrequest.com>
2023-08-21 16:14:53 +02:00
Jeder 102bd9d022
Docker Compose install guide 2023-08-16 13:58:59 +02:00
Jeder add137af0b
Cosmetical config changes 2023-08-16 13:58:59 +02:00
Jeder 8069cedf8e Replace firefish with iceshrimp 2023-08-04 14:27:21 +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
Laura Hausmann 9928ca72e2
fix docker-compose 2023-07-22 13:34:26 +02:00
ThatOneCalculator 73f3303f62 Merge branch 'rebrand' into develop 2023-07-19 08:55:26 -07:00
ThatOneCalculator 5324d1298f fix: 🔧 max post length 100000
Pleroma doesn't accept >100K (ref: https://blob.cat/objects/82f33d96-534f-45ee-902a-f77c2723db8b)
2023-07-15 14:50:23 -07:00
ThatOneCalculator 2913eddbce we be renamin 2023-07-15 14:21:17 -07:00
ThatOneCalculator 6bc25eb38b Merge branch 'develop' into rebrand 2023-07-15 14:15:01 -07:00
ThatOneCalculator 4be5f3b58c refactor: 🗑️ deprecate DB_MAX_NOTE_TEXT_LENGTH 2023-07-15 00:06:42 -07:00
ThatOneCalculator cdd38b5bc3 fix: 📄 don't gitignore .config license
Follow-up #10470
2023-07-11 15:46:41 -07:00
ThatOneCalculator f5c7b6f55f feat: cache server 2023-07-06 11:50:34 -07:00
ThatOneCalculator 6c7f0521aa find and replace 2023-07-02 15:18:30 -07: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
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