Commit graph

969 commits

Author SHA1 Message Date
Norm 8ccc22bb35 Merge pull request 'refactor expiring data and expire signins after 60 days' (#180) from expire-data into main
Reviewed-on: FoundKeyGang/FoundKey#180
2022-10-03 18:27:13 +00:00
Johann150 198058b19a
add user visible note that login history expires
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 2022-10-03 03:05:53 -04:00
Norm 0b26d96776
Merge PR 'client: discard drafts that are just the default state' (#182)
Reviewed-on: FoundKeyGang/FoundKey#182
2022-10-03 02:53:13 -04:00
Johann150 883554d902
client: update link to online translations 2022-10-02 18:40:46 +02:00
Johann150 def1e6396c
fixup: simplify check because there is never an initial poll 2022-10-02 16:13:37 +02:00
Johann150 2e07477398
client: discard drafts that are just the default state
Changelog: Changed
2022-10-02 15:52:39 +02:00
Johann150 be19ea610f
client: refactor components/ripple.vue to composition API 2022-10-02 13:10:32 +02:00
Johann150 f571f61c2d
client: don't use filename as alt text
This partially reverts commit e9ab42c10a
as explained at <FoundKeyGang/FoundKey#178 (comment)>.
2022-10-01 22:39:58 +02: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
Kayden Tebau e9ab42c10a
Alt text in image viewer 2022-09-30 13:59:26 -07:00
Norm 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
Norm 54b717a3f4
client: Update repo url from Misskey to FoundKey
Changelog: Changed
2022-09-27 22:38:09 -04:00
Norm 6e8dcc4599
client: fix various lint issues
Mostly adding in missing return types and removing unused imports.
2022-09-26 15:14:09 -04:00
Norm 1ed9b15342
client: fix types for instance.ts 2022-09-26 15:05:35 -04:00
Norm c608f0b4c2
client: fix lints in about.emojis.vue 2022-09-26 15:02:22 -04:00
Norm 356d226171
client: fix lints in my-antennas pages 2022-09-26 02:31:44 -04:00
Norm 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
Puniko 186d693385
increase image description limit to 2048 characters
Changelog: Changed
2022-09-24 14:32:07 -04:00
Norm 87f1b0cabc
client: fix inline translations 2022-09-24 22:13:31 -04:00
Norm 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
Norm 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
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
Johann150 87411a6ed8
enhance: more descriptive info message 2022-09-21 17:54:36 +02:00
Johann150 ab84457c0e
client: use new API 2022-09-21 17:54:15 +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
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 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
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
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
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
Norm 75901301e2
client: fix typo in about.vue 2022-09-15 18:58:04 -04:00
Norm 5814825c91
client: fix various lints 2022-09-15 18:56:05 -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 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 846ca03a7c
client: refactor sidebar-for-mobile.vue to composition api 2022-09-14 12:02:18 +02:00