]> Untitled Git - lemmy.git/commit
Actor name length config dess (#1672)
authorDessalines <dessalines@users.noreply.github.com>
Fri, 23 Jul 2021 01:53:44 +0000 (21:53 -0400)
committerGitHub <noreply@github.com>
Fri, 23 Jul 2021 01:53:44 +0000 (21:53 -0400)
commit6ffa291ec9622c0b2e0414494008240dea8640e8
tree6391227d4985809aaddc03e65169334db286ca02
parentfcae2189ebaebc57f6277f0307605d315afccceb
Actor name length config dess (#1672)

* Make length of user/community name configurable (fixes #1306)

* use single config value, fix migrations, increase displayname length

* remove debug statements

* add helper method for setting actor_name_max_length

* move function

* Fixing some defaults

Co-authored-by: Felix Ableitner <me@nutomic.com>
config/config.hjson
crates/api_crud/src/community/create.rs
crates/api_crud/src/user/create.rs
crates/utils/src/lib.rs
crates/utils/src/settings/defaults.rs
crates/utils/src/settings/mod.rs
crates/utils/src/settings/structs.rs
crates/utils/src/test.rs
crates/utils/src/utils.rs
migrations/2021-07-20-102033_actor_name_length/down.sql [new file with mode: 0644]
migrations/2021-07-20-102033_actor_name_length/up.sql [new file with mode: 0644]