Commit graph

21350 commits

Author SHA1 Message Date
Johann150 36a0f0c480
client: mark properties with defaults as optional 2022-10-04 20:42:12 +02:00
Johann150 06e40246db
client: mark properties with defaults as optional
All checks were successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
2022-10-04 20:35:55 +02:00
Norm 9dddb1eb6d client: Use named constants for time calculations (#183)
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
Constants were borrowed from `const.ts` from the backend but also
includes `WEEK`, `MONTH`, and `YEAR` constants as well.

Co-authored-by: Francis Dinh <normandy@biribiri.dev>
Reviewed-on: #183
2022-10-04 18:05:41 +00:00
Johann150 f4f83cb091
client: remove click-anime directive
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-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
2022-10-04 20:01:14 +02:00
Johann150 93f54e3258
client: refactor components/tab.vue to composition API
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client 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
Refactoring this component could be done after changing its method of
receiving the list of available tabs by using slots to using an
ordinary parameter. This was possible because all uses of this
component just provided text as the tab labels.

Also removed unused imports of this component.

Also removed the use of the click-anime directive.
2022-10-04 19:54:27 +02:00
Norm 717ab910ab
docker: update WORKDIR to foundkey
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
Changelog: Changed
2022-10-04 13:37:55 -04:00
Norm 4ab9312392
client: fix post-form.vue
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
This fixes an issue where the post form hangs after posting.
2022-10-04 13:04:07 -04:00
Johann150 1592420406
fix: don't provide null for header tabs
All checks were successful
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
2022-10-04 17:39:57 +02:00
Johann150 b28c34b57d
fix types in classic UI widgets
All checks were successful
ci/woodpecker/push/lint-client Pipeline was successful
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/test Pipeline was successful
2022-10-04 17:23:26 +02:00
Johann150 a593dcb003
client: refactor page-header
All checks were successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
Fix a missing import.

Refactor all refs to use $ref.
2022-10-04 16:51:40 +02:00
Johann150 9abf8d467d
client: fix lints
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
2022-10-04 12:21:10 +02:00
Johann150 764c2ded23
client refactor: remove separate admin settings page header 2022-10-04 10:58:45 +02:00
Norm a6d1284423 backend: change Misskey -> FoundKey and use absolute import in index.ts
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
2022-10-03 20:04:06 +00:00
Johann150 398f43731d
client: replace one more "Misskey"
All checks were 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/lint-backend Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
2022-10-03 20:42:24 +02:00
Johann150 c0b6b3f273
client: remove unused header tabs and actions 2022-10-03 20:42:14 +02:00
Norm 8ccc22bb35 Merge pull request 'refactor expiring data and expire signins after 60 days' (#180) from expire-data into main
All checks were successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
Reviewed-on: #180
2022-10-03 18:27:13 +00:00
Michcio ffcb840e06
Fix type in thread muting
All checks were successful
ci/woodpecker/push/lint-client Pipeline was successful
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/test Pipeline was successful
2022-10-03 13:24:27 -04:00
Johann150 198058b19a
add user visible note that login history expires
Some checks failed
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend 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
The display variant where no signin history items are present has been
made shorter and more appropriate.
2022-10-03 18:44:34 +02:00
Norm 4394957a5a
client: auto-fix lints
All checks were successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
2022-10-03 03:05:53 -04:00
Norm 0b26d96776
Merge PR 'client: discard drafts that are just the default state' (#182)
All checks were successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
Reviewed-on: #182
2022-10-03 02:53:13 -04:00
Johann150 a7f9e244f3
merge: allow redis family to be specified as a string
All checks were successful
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
Reviewed-on: #165
2022-10-02 18:46:34 +02:00
Johann150 883554d902
client: update link to online translations
All checks were successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
2022-10-02 18:40:46 +02:00
Johann150 def1e6396c
fixup: simplify check because there is never an initial poll
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-backend 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
2022-10-02 16:13:37 +02:00
Johann150 2e07477398
client: discard drafts that are just the default state
Some checks failed
ci/woodpecker/push/lint-client Pipeline was successful
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/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
Changelog: Changed
2022-10-02 15:52:39 +02:00
Johann150 be19ea610f
client: refactor components/ripple.vue to composition API
All checks were successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
2022-10-02 13:10:32 +02:00
Johann150 5b7a06675f
refactor expiring data and expire signins after 60 days
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/test Pipeline failed
closes #176

Changelog: Added
2022-10-02 00:18:07 +02:00
Johann150 f571f61c2d
client: don't use filename as alt text
All checks were 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/lint-backend Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
This partially reverts commit e9ab42c10a
as explained at <#178 (comment)>.
2022-10-01 22:39:58 +02:00
Norm 40c2e8f846
client: Merge PR 'enhance: Alt text in image viewer' (#178)
All checks were 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/lint-backend Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
Reviewed-on: #178
Changelog: Added
2022-10-01 10:29:27 -04:00
Johann150 e995bd5673
bacakend: prefer absolute over relative imports
There are still many places where import paths with `..` are used and
maybe should use absolute paths also.
2022-10-01 10:22:56 -04:00
Johann150 b9f20ca16d
client: prefer absolute over relative imports 2022-10-01 10:22:56 -04:00
Johann150 41e7af1662
client refactor: merge script/i18n.ts into i18n.ts
The file i18n.ts was basically only a few lines that call into
scripts/i18n.ts. Instead of having the extra file it is just as good to
have the relevant code for i18n in one file. Since i18n.ts is
imported in many client components, while scripts/i18n.ts was only
imported in i18n.ts, the latter seems better to keep.

Added some more comments and translated the Japanese comments to
English.
2022-10-01 10:22:56 -04:00
Johann150 36a0e48e49
bacakend: prefer absolute over relative imports
All checks were successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
There are still many places where import paths with `..` are used and
maybe should use absolute paths also.
2022-10-01 14:40:30 +02:00
Johann150 cb72d45672
client: prefer absolute over relative imports 2022-10-01 13:41:59 +02:00
Johann150 cb888673b8
client refactor: merge script/i18n.ts into i18n.ts
All checks were successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
The file i18n.ts was basically only a few lines that call into
scripts/i18n.ts. Instead of having the extra file it is just as good to
have the relevant code for i18n in one file. Since i18n.ts is
imported in many client components, while scripts/i18n.ts was only
imported in i18n.ts, the latter seems better to keep.

Added some more comments and translated the Japanese comments to
English.
2022-10-01 13:24:44 +02:00
Kayden Tebau e9ab42c10a
Alt text in image viewer
Some checks failed
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
2022-09-30 13:59:26 -07:00
Norm 8ca544c45d
remove outgoingAddressFamily
Some checks failed
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend 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
2022-09-30 11:05:50 -04:00
Norm 29164740b9
fix warning message 2022-09-30 11:05:50 -04:00
Norm 508748ac0d
backend: refactor Redis option loading 2022-09-30 11:05:49 -04:00
Norm 5a52532c99
allow redis family to be specified as a string
This makes it consistent with `outgoingAddressFamily`, reducing
potential confusion.

For compatibility reasons, numbers are still permitted for `redis.family`
with the following mapping:
- `dual` = `0`
- `ipv4` = `4`
- `ipv6` = `6`

Changelog: Changed
2022-09-30 11:05:49 -04:00
Weblate 59adb0b6e2
Update translation files
All checks were successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
Updated by "Remove blank strings" hook in Weblate.

Translation: Foundkey/foundkey
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/
2022-09-30 11:08:46 +02:00
Weblate 1e7ac32d8b
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Foundkey/foundkey
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/
2022-09-30 11:08:45 +02:00
Weblate a61dbfdf4a
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Foundkey/foundkey
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/
2022-09-30 11:08:45 +02:00
Weblate dfbe3ef8ab
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Foundkey/foundkey
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/
2022-09-30 11:08:45 +02:00
Weblate 964e1d75ee
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Foundkey/foundkey
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/
2022-09-30 11:08:44 +02:00
Weblate 2b675b2740
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Foundkey/foundkey
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/
2022-09-30 11:08:44 +02:00
Weblate 36425b76d3
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Foundkey/foundkey
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/
2022-09-30 11:08:43 +02:00
Weblate 0febac717c
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Foundkey/foundkey
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/
2022-09-30 11:08:43 +02:00
Weblate bb42c71cf4
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Foundkey/foundkey
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/
2022-09-30 11:08:42 +02:00
Weblate 03a35f6e4c
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Foundkey/foundkey
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/
2022-09-30 11:08:42 +02:00
Weblate 991f661f1f
Update translation files
Updated by "Remove blank strings" hook in Weblate.

Translation: Foundkey/foundkey
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/
2022-09-30 11:08:41 +02:00