backend: make max note length configurable #210

Merged
norm merged 3 commits from configurable-max-note-text-length into main 2022-10-18 17:33:00 +00:00
Owner

Changelog: Added
Closes: #208

Changelog: Added Closes: https://akkoma.dev/FoundKeyGang/FoundKey/issues/208
norm added 1 commit 2022-10-17 21:58:09 +00:00
backend: make max note length configurable
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
96fd2eec1c
Changelog: Added
Closes: #208
norm added 1 commit 2022-10-17 22:00:00 +00:00
translate comments
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
5999eec418
Owner

LGTM but I haven't tested
tired out for today

LGTM but I haven't tested tired out for today
Johann150 reviewed 2022-10-18 15:18:57 +00:00
Johann150 left a comment
Owner

small nitpick

small nitpick
@ -310,7 +309,7 @@ export default define(meta, paramDef, async (ps, me) => {
iconUrl: instance.iconUrl,
backgroundImageUrl: instance.backgroundImageUrl,
logoImageUrl: instance.logoImageUrl,
maxNoteTextLength: MAX_NOTE_TEXT_LENGTH, // 後方互換性のため
Owner

Since this is now "officially" variable again I'd remove the comment here.

Since this is now "officially" variable again I'd remove the comment here.
norm marked this conversation as resolved
@ -312,3 +311,3 @@
backgroundImageUrl: instance.backgroundImageUrl,
logoImageUrl: instance.logoImageUrl,
maxNoteTextLength: MAX_NOTE_TEXT_LENGTH, // 後方互換性のため
maxNoteTextLength: config.maxNoteTextLength, // For backward compatibility
Owner

as above

as above
norm marked this conversation as resolved
Johann150 added a new dependency 2022-10-18 15:21:19 +00:00
norm added 1 commit 2022-10-18 16:10:42 +00:00
remove backwards compat comment
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
e25849143a
Johann150 approved these changes 2022-10-18 17:30:35 +00:00
norm merged commit 7257338077 into main 2022-10-18 17:33:00 +00:00
norm deleted branch configurable-max-note-text-length 2022-10-18 17:33:01 +00:00
Sign in to join this conversation.
No reviewers
No labels
feature
fix
upkeep
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: FoundKeyGang/FoundKey#210
No description provided.