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
b9f20ca16d
client: prefer absolute over relative imports
2022-10-01 10:22:56 -04:00
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
e9ab42c10a
Alt text in image viewer
2022-09-30 13:59:26 -07:00
465b72ab53
Merge pull request 'increase image description limit to 2048 characters' ( #174 ) from bigger-image-description into main
...
Reviewed-on: FoundKeyGang/FoundKey#174
2022-09-29 07:28:00 +00:00
79662272ba
foundkey-js: update test domain to foundkey.test
2022-09-27 22:38:09 -04:00
54b717a3f4
client: Update repo url from Misskey to FoundKey
...
Changelog: Changed
2022-09-27 22:38:09 -04:00
80468b1529
foundkey-js: Change Misskey import to foundkey
2022-09-27 22:38:09 -04:00
6e8dcc4599
client: fix various lint issues
...
Mostly adding in missing return types and removing unused imports.
2022-09-26 15:14:09 -04:00
1ed9b15342
client: fix types for instance.ts
2022-09-26 15:05:35 -04:00
c608f0b4c2
client: fix lints in about.emojis.vue
2022-09-26 15:02:22 -04:00
356d226171
client: fix lints in my-antennas pages
2022-09-26 02:31:44 -04:00
59428a49ce
client: refactor container.vue to composition api ( #164 )
...
Co-authored-by: Francis Dinh <normandy@biribiri.dev>
Co-authored-by: Johann150 <johann.galle@protonmail.com>
Reviewed-on: FoundKeyGang/FoundKey#164
2022-09-25 22:26:19 +00:00
186d693385
increase image description limit to 2048 characters
...
Changelog: Changed
2022-09-24 14:32:07 -04:00
f35b856dfa
backend: fix quotes lint in thread-muting/create.ts
2022-09-23 23:02:39 -04:00
2bb8642a2c
backend: Fix thread muting queries
...
findOne != findOneBy
2022-09-25 15:08:12 +02:00
87f1b0cabc
client: fix inline translations
2022-09-24 22:13:31 -04:00
9470e12424
Merge pull request 'Revert "Use native shell commands for clean/clean-all"' ( #170 ) from revert-native-clean into main
...
Reviewed-on: FoundKeyGang/FoundKey#170
2022-09-23 22:15:29 +00:00
dba63e4000
Merge pull request 'mute notifications in muted threads' ( #119 ) from mute-notifications into main
...
Reviewed-on: FoundKeyGang/FoundKey#119
Changelog: Changed
Fixes : #12
2022-09-22 19:52:32 +00:00
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
772d4618a6
remove global variables for i18n
2022-09-21 13:29:08 -04:00
1b92f580cb
backend: fix imports in queue/types.ts
2022-09-21 13:18:17 -04:00
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
cc5a197785
do not create muted notification types in respective threads
2022-09-21 17:54:36 +02:00
87411a6ed8
enhance: more descriptive info message
2022-09-21 17:54:36 +02:00
ab84457c0e
client: use new API
2022-09-21 17:54:15 +02:00
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
321bd24b98
api: handle muting notification types
2022-09-21 15:52:34 +02:00
58aa7d36aa
refactor: use noteNotificationTypes
2022-09-21 15:52:34 +02:00
35fd970c4a
add column: muted types in thread
2022-09-21 15:52:14 +02:00
26449d4944
backend: fix ApiError lints
2022-09-21 13:34:36 +02:00
78fd2ee38b
Merge branch 'backend-translate-source-lang'
...
Reviewed-on: FoundKeyGang/FoundKey#160
2022-09-20 23:55:21 -04:00
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
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
8446fa4fca
backend: fixup foundkey ascii logo formatting in base template
2022-09-19 22:53:39 -04:00
2628f35012
client: fix lints in scripts/hotkey.ts
2022-09-19 18:49:59 -04:00
ee46d32602
client: refactor folder.vue to composition api
2022-09-19 22:42:23 +02:00
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
fab7cdb85c
client: re-add instance list to admin panel
...
closes FoundKeyGang/FoundKey#162
2022-09-19 21:33:11 +02:00
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
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
d5b0100d31
fix: add missing import for XValue
2022-09-19 15:11:59 +02:00
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
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
668181fb44
refactor: token-generate-window.vue to composition api
2022-09-18 21:12:35 +02:00
26396f9900
client: Refactor gallery-post-preview.vue to composition API
...
Reviewed-on: FoundKeyGang/FoundKey#154
2022-09-17 23:09:11 +02:00
790740ab2c
improve translation: document -> documentation
2022-09-17 22:59:39 +02:00
1e9e1e8b9c
fix loading max emoji count when unlimited
2022-09-16 17:25:05 +02:00
bcb93aec14
client: make emoji amount slider more intuitive
...
Changelog: Changed
2022-09-16 17:21:09 +02:00
75901301e2
client: fix typo in about.vue
2022-09-15 18:58:04 -04:00