Commit graph

21178 commits

Author SHA1 Message Date
fab7cdb85c
client: re-add instance list to admin panel
closes FoundKeyGang/FoundKey#162
2022-09-19 21:33:11 +02: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
9fc0992c6e Fix Weblate URL in contributing guide 2022-09-16 17:45:46 +00: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
e6a76b326c
rephrase 2022-09-16 13:49:46 +02:00
7357b0ee9a
add info about using weblate 2022-09-16 13:48:21 +02:00
75901301e2
client: fix typo in about.vue 2022-09-15 18:58:04 -04:00
de8f2b3c63
foundkey-js: add bannerUrl to LiteInstanceMetadata 2022-09-15 18:57:49 -04:00
5814825c91
client: fix various lints 2022-09-15 18:56:05 -04:00
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
d1a29ce87e
Merge branch 'feat/default-note-visibility'
Reviewed-on: FoundKeyGang/FoundKey#67
2022-09-15 17:43:35 -04:00
106e14700f
client: include renote in visibility computation
Changelog: Changed
2022-09-15 17:42:04 -04:00
17fa488eb9
refactor: move visibility computation to foundkey-js
Changelog: Changed
2022-09-15 17:39:51 -04:00
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
a932f91c04
client: improve error message for empty gallery posts
closes FoundKeyGang/FoundKey#153

Changelog: Fixed
2022-09-15 22:01:16 +02:00
4dac197dff Add link to current CHANGELOG and changelog trailers guide in CHANGELOG-OLD.md 2022-09-15 05:41:19 +00:00
2c87cbe838 Add link to the changelog trailer contributing guide in CHANGELOG.md 2022-09-15 05:31:02 +00:00
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
4d01ece286
refactor: fix remaining lints in backend daemons 2022-09-14 10:40:04 -04:00
846ca03a7c
client: refactor sidebar-for-mobile.vue to composition api 2022-09-14 12:02:18 +02:00
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
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
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
e507b1b888 backend: localize strings for service integrations
Currently only the 'connected' and 'disconnected' strings are translated.
2022-09-13 17:18:18 -04:00
f4ee76d017
client: default instance ticker name to instance's domain name
Changelog: Fixed
2022-09-13 20:22:10 +02:00
57f4312a27
chore: Change Misskey references to Foundkey
Also remove the contributors list from about-foundkey (renamed from
about-misskey).

Some comments that referenced Misskey were also translated to English.

Closes: FoundKeyGang/FoundKey#141
2022-09-13 13:19:36 -04:00
2c24f8a9ef backend: make toHtml tests async
PRs #84, #134, and #136 changed toHtml to be async, but the test was not
updated to reflect that.
2022-09-13 15:20:25 +00:00
9b7a0b574e
update foundkey-js readme 2022-09-13 17:17:47 +02:00
677c1df597
rename foundkey-js imports to foundkey 2022-09-13 17:17:46 +02:00
fbe3972bc6
docker: add built foundkey-js files to container
Changelog: Fixed
2022-09-13 09:42:41 -04:00
9d15b7b5a2 Merge pull request 'foundkey-js: Sync possible endpoints from backend' (#149) from Michcio/FoundKey-0x7f:fkjs/endpoints-sync into main
Reviewed-on: FoundKeyGang/FoundKey#149
Changelog: Changed
2022-09-12 18:42:46 +00:00
193674ce03 Merge pull request 'backend: increase requestId max size for GNU Social' (#147) from fix/gnusocial-follow-request-ids into main
Reviewed-on: FoundKeyGang/FoundKey#147
Fixes: #146
Changelog: Fixed
2022-09-12 17:48:37 +00:00
7ceb96b148
limit id length of all incoming activities 2022-09-12 18:30:53 +02:00
1120b6959d
backend: increase requestId max size for GNU Social
GNU Social's follow request IDs are larger than the 128 character limit
of the follow_request.requestId column. This prevents follow requests
from GNU Social instances from being handled by Foundkey instances.

The solution is to make the requestId column larger.

Fixes FoundKeyGang/FoundKey#146
2022-09-12 11:38:55 -04:00
64f7a52d1a
client: Extend Emoji list
Add @Johann150 's patch from Misskey-Extras:
> Adds the "pudding" synonym to the custard emoji, and also newly adds regional indicator emojis to the list. These are displayed as letters if alone. Note that these become the national flags if put next to each other, so the behaviour might be confusing to some people.

Co-authored-by: Johann150 <johann.galle@protonmail.com>
Reviewed-on: FoundKeyGang/FoundKey#148
Changelog: Added
2022-09-12 10:52:59 +02:00
7854abb741
remove unusable setting to send error reports
Changelog: Removed
2022-09-12 10:37:59 +02:00
406be6b213
chore: remove title_float.svg
This was only being used in the old README.
2022-09-11 19:39:23 -04:00
09818f425c
add note about selecing specific columns 2022-09-11 22:01:42 +02:00
515957ee74
render HTML mentions correctly
Reviewed-on: FoundKeyGang/FoundKey#145
Changelog: Fixed
2022-09-11 21:39:49 +02:00
a2fad7ce61
backend: fix mentionedUsers and userInfo queries
Turns out `getMany` doesn't work with the specific query used, so use
`getRawMany` instead.

Also fixup the predicate used in userInfo to use the correct field
names.
2022-09-11 15:28:35 -04:00
syuilo
4b3cf7834b
server: ensure only own notifications can be marked as read
Exploiting this before should already have been rather difficult because you
would need to know or guess the notification's ID. It is also of relatively
low security impact.

Changelog: Fixed
2022-09-11 20:52:38 +02:00
c926b4fbcc Merge pull request 'backend: Fix appendChildren TypeError' (#136) from fix/backend-to-html-typeerror into main
Reviewed-on: FoundKeyGang/FoundKey#136
Changelog: Fixed
2022-09-11 18:31:22 +00:00