Commit graph

21197 commits

Author SHA1 Message Date
Norm fa0dce6439
Remove 'recursive: true' from removing tsbuildinfo 2022-09-23 11:48:10 -04:00
Norm b90f910926
Make clean scripts non-async
Since they use rmSync, the async stuff doesn't really do anything useful.
2022-09-23 11:01:38 -04:00
Norm d9a64d0a22 Revert "Use native shell commands for clean/clean-all"
This reverts commit 5fb294e7d7.

This will allow the clean/clean-all command to work on Windows once again.
2022-09-22 13:48:06 -04:00
Johann150 772d4618a6
remove global variables for i18n 2022-09-21 13:29:08 -04:00
Norm 1b92f580cb
backend: fix imports in queue/types.ts 2022-09-21 13:18:17 -04:00
Johann150 0022a7befb
backend: proper error messages for creating accounts
Admins will now get proper error messages when they try to create a
new user account and an error occurs.

Changelog: Fixed
2022-09-21 17:58:42 +02:00
Norm 7ea052aa25
backend: set moduleResolution to Node16 in tsconfig
This lets us catch any import errors in the backend as it now lines up
with Node's ESM module resolution.
2022-09-21 11:33:57 -04:00
Norm 26449d4944
backend: fix ApiError lints 2022-09-21 13:34:36 +02:00
Norm 78fd2ee38b
Merge branch 'backend-translate-source-lang'
Reviewed-on: FoundKeyGang/FoundKey#160
2022-09-20 23:55:21 -04:00
Norm a0e859ebcb
client: Make MFM cheatsheet interactive again
This reverts commit 9f0f5d1ab1.

Commit cb87d03fe9 made the preview_*
variables const and non-reactive likely by accident, which resulted in
build errors and the examples no longer interactive.

This makes the preview variables reactive, allowing the examples to be
interactive once again.

Changelog: Fixed
2022-09-20 14:13:37 -04:00
Norm b42b6d3d9b Merge pull request 'client: Fix rollup error "This assignment will throw"' (#166) from Michcio/FoundKey-0x7f:fix/this-assignment-will-throw into main
Reviewed-on: FoundKeyGang/FoundKey#166
2022-09-20 13:45:44 +00:00
Michcio 9f0f5d1ab1 client: Fix rollup error "This assignment will throw"
Mfm cheat sheet was using constants in v-model.
I additionally set the textareas to readonly because now the
examples don't pretend to be interactive anymore.
2022-09-20 12:48:46 +02:00
Norm b9e5704103
fix grammar in config file 2022-09-19 23:32:18 -04:00
Norm 70cb4b5fd9
Change example storage path to reference foundkey 2022-09-19 23:27:06 -04:00
Norm 8446fa4fca
backend: fixup foundkey ascii logo formatting in base template 2022-09-19 22:53:39 -04:00
Norm 2628f35012
client: fix lints in scripts/hotkey.ts 2022-09-19 18:49:59 -04:00
Norm ee46d32602
client: refactor folder.vue to composition api 2022-09-19 22:42:23 +02:00
Johann150 17f3dafd6b
client: bring targetLang into correct format
Now that stricter API validation has been added, it will be necessary
to modify the target language in the client so the API will not fail
with a validation error.
2022-09-19 22:20:50 +02:00
Johann150 fab7cdb85c
client: re-add instance list to admin panel
closes FoundKeyGang/FoundKey#162
2022-09-19 21:33:11 +02:00
Norm d5d8affc33 backend: allow for source lang to be overridden in note/translate
This adds a new optional `sourceLang` parameter to the `notes/translate`
endpoint. If not set, the old behaviour is used, else this sets the
`source_lang` parameter to the DeepL API call which makes it use the
source language specified instead of using autodetection.

Changelog: Changed
Ref: FoundKeyGang/FoundKey#33
2022-09-19 14:57:20 +00:00
Michcio d8a8306603 client: Sort emojis by query similarity in fuzzy picker (#156)
Co-authored-by: Chloe Kudryavtsev <code@toast.bunkerlabs.net>
Co-authored-by: Michcio <public+git@meekchopp.es>
Reviewed-on: FoundKeyGang/FoundKey#156
Changelog: Changed
Co-authored-by: Michcio <michcio@noreply.akkoma>
Co-committed-by: Michcio <michcio@noreply.akkoma>
2022-09-19 14:43:12 +00:00
Johann150 d5b0100d31
fix: add missing import for XValue 2022-09-19 15:11:59 +02:00
Michcio 7b7d4f5467
Allow files storage path to be set explicitly
Also added to the example config file - Johann150

Co-authored-by: Johann150 <johann.galle@protonmail.com>
Changelog: Added
2022-09-19 11:54:24 +02:00
Johann150 f0b91a62c9
fix HTTP GET parameters in OpenAPI docs
HTTP GET parameters are not to be specified in the requestBody but in
the parameters. This commit fixes that although admittedly it is kind
of a bodge and not perfect, but it is a start.

Changelog: Fixed
2022-09-19 10:54:23 +02:00
Norm 668181fb44
refactor: token-generate-window.vue to composition api 2022-09-18 21:12:35 +02:00
Johann150 26396f9900
client: Refactor gallery-post-preview.vue to composition API
Reviewed-on: FoundKeyGang/FoundKey#154
2022-09-17 23:09:11 +02:00
Johann150 790740ab2c
improve translation: document -> documentation 2022-09-17 22:59:39 +02:00
Norm 9fc0992c6e Fix Weblate URL in contributing guide 2022-09-16 17:45:46 +00:00
Johann150 1e9e1e8b9c
fix loading max emoji count when unlimited 2022-09-16 17:25:05 +02:00
Johann150 bcb93aec14
client: make emoji amount slider more intuitive
Changelog: Changed
2022-09-16 17:21:09 +02:00
Johann150 e6a76b326c
rephrase 2022-09-16 13:49:46 +02:00
Johann150 7357b0ee9a
add info about using weblate 2022-09-16 13:48:21 +02:00
Norm 75901301e2
client: fix typo in about.vue 2022-09-15 18:58:04 -04:00
Norm de8f2b3c63
foundkey-js: add bannerUrl to LiteInstanceMetadata 2022-09-15 18:57:49 -04:00
Norm 5814825c91
client: fix various lints 2022-09-15 18:56:05 -04:00
Norm 4da09fc9fb
foundkey-js: update LiteInstanceMetadata fields
Ads were removed in #5, and some client components need the
icon/favicon URLs.

Changelog: Changed
2022-09-15 18:55:46 -04:00
Norm d1a29ce87e
Merge branch 'feat/default-note-visibility'
Reviewed-on: FoundKeyGang/FoundKey#67
2022-09-15 17:43:35 -04:00
Johann150 106e14700f
client: include renote in visibility computation
Changelog: Changed
2022-09-15 17:42:04 -04:00
Johann150 17fa488eb9
refactor: move visibility computation to foundkey-js
Changelog: Changed
2022-09-15 17:39:51 -04:00
Chloe Kudryavtsev d434343a09
client: fix default-selected reply scopes
As a side-effect, I remove the broken "remember privacy scope" setting.

Co-authored-by: Johann150 <johann.galle@protonmail.com>
Changelog: Fixed
2022-09-15 17:38:00 -04:00
Johann150 a932f91c04
client: improve error message for empty gallery posts
closes FoundKeyGang/FoundKey#153

Changelog: Fixed
2022-09-15 22:01:16 +02:00
Norm 4dac197dff Add link to current CHANGELOG and changelog trailers guide in CHANGELOG-OLD.md 2022-09-15 05:41:19 +00:00
Norm 2c87cbe838 Add link to the changelog trailer contributing guide in CHANGELOG.md 2022-09-15 05:31:02 +00:00
Norm cf24cd8809
client: remove @vue/compiler-sfc from package.json
Per the @vue/compiler-sfc description on npmjs.com[1]:
> Note: as of 3.2.13+, this package is included as a dependency of the
> main vue package and can be accessed as vue/compiler-sfc. This means
> you no longer need to explicitly install this package and ensure its
> version match that of vue's. Just use the main vue/compiler-sfc deep
> import instead.

[1]: https://www.npmjs.com/package/@vue/compiler-sfc
2022-09-14 23:39:57 -04:00
Norm 4d01ece286
refactor: fix remaining lints in backend daemons 2022-09-14 10:40:04 -04:00
Norm 846ca03a7c
client: refactor sidebar-for-mobile.vue to composition api 2022-09-14 12:02:18 +02:00
Norm f4b9244a88
client: refactor sparkle.vue to composition api 2022-09-14 10:54:50 +02:00
Chloe Kudryavtsev 2e8e475f32
client: remove ai mode
Changelog: Removed
2022-09-14 10:48:54 +02:00
Norm 63f47ada04 Merge pull request 'client: refactor info.vue to composition api' (#131) from refactor/client-info.vue into main
Reviewed-on: FoundKeyGang/FoundKey#131
2022-09-14 04:34:02 +00:00
Norm 3cbdac7621 Merge pull request 'chore: Change Misskey references to Foundkey' (#142)
Reviewed-on: FoundKeyGang/FoundKey#142
Changelog: Changed
2022-09-13 21:20:12 +00:00