Commit graph

22033 commits

Author SHA1 Message Date
6a17dcf4de
server: refactor to group deletion deliveries
The `quiet` argument has been removed from `deleteNote` (or `deleteNotes`
respectively) since it was not used anywhere and it does not seem a good
idea to not update statistics in some cases.

This should also fix an issue where cascade deletions mean that statistics
are not properly updated or streaming clients not properly informed of
deletions. This case was seemingly not considered before, even though
there was some handling for cascade deleted notes.

This is going to improve how cascade deletion impacts the delivery queue,
because cascade-deleted notes will now be grouped for delivery.

Changelog: Fixed
2023-03-12 12:37:20 +01:00
383ea40704
server: add function to deliver multiple activities to a relay 2023-03-11 22:23:42 +01:00
e52cf25489
server: use named export for deleteNote 2023-03-11 09:54:46 +01:00
1bce487965
activitypub: allow to group elements for delivery 2023-03-11 09:42:14 +01:00
78c93c5539
server: clean up activitypub deliver code 2023-03-11 09:42:14 +01:00
2164fda2fb
server: do AP sent statistics in request function 2023-03-11 09:42:05 +01:00
180a1c968d
remove unused locale string 2023-03-11 01:15:33 +01:00
4f6d6b681e
client: remove unused assets 2023-03-08 22:34:24 +01:00
0d470387dd
client: replace misskey icon 2023-03-08 22:32:05 +01:00
d0a021c868
client: properly center instance information 2023-03-08 21:22:11 +01:00
f455075efc
fixup: add missing import of copyToClipboard
This is a fixup for commit 74c2b79df1.
2023-03-06 00:50:01 +01:00
95afbf11ab
client: show follow button when not logged in
Changelog: Added
2023-03-06 00:41:24 +01:00
fbfbe4a72e
client: show remote interaction dialog for follow button
Changelog: Fixed
2023-03-06 00:41:16 +01:00
57241cdffe
client: remove unused code 2023-03-05 23:35:18 +01:00
ba1c4e76b9
client: give instructions on remote interaction
closes FoundKeyGang/FoundKey#279

Changelog: Added
2023-03-05 22:48:57 +01:00
8e1adfa03a
reduce remote interact dialog width 2023-03-05 14:26:02 +01:00
2759cd8174
fix formatting on remote url link 2023-03-05 14:15:24 +01:00
74c2b79df1
remove key-value component from remote interaction dialog 2023-03-05 14:10:41 +01:00
79ec44aa2c
fix variable name 2023-03-05 12:24:35 +01:00
59a7f10fdc
client: change remote interaction dialog title 2023-03-05 12:15:15 +01:00
f2350e6eba
client: add remote interaction dialog 2023-03-04 00:37:28 +01:00
49ae56a9e9
client: refactor to pleaseLoginOrRemote 2023-03-04 00:08:12 +01:00
5a263ec2c3
client: refactor pleaseLogin to pleaseLoginOrPage 2023-03-04 00:01:17 +01:00
559a17cf26
add FIXME comment 2023-03-03 23:54:42 +01:00
691c9d4972
fix typo 2023-03-03 23:47:31 +01:00
ae1e7883e7
improve docs files 2023-03-03 23:46:45 +01:00
ee2860e894
improve docs 2023-03-03 23:36:15 +01:00
a750c7ad57
server: remove unused avgColor attribute from types 2023-03-03 21:36:21 +01:00
5aa5344f2e
docs: fix schema definitions 2023-03-03 21:12:44 +01:00
68c0fa91bc Translated using Weblate (Polish)
Currently translated at 77.0% (925 of 1200 strings)

Translated using Weblate (Japanese (Kansai))

Currently translated at 63.0% (757 of 1200 strings)

Translated using Weblate (Italian)

Currently translated at 85.6% (1028 of 1200 strings)

Translated using Weblate (Indonesian)

Currently translated at 92.7% (1113 of 1200 strings)

Co-authored-by: Johann <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann.galle@protonmail.com>
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/id/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/it/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/ja_KS/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/pl/
Translation: Foundkey/foundkey
2023-02-27 18:01:08 +00:00
6f3504a12e Translated using Weblate (Polish)
Currently translated at 77.4% (929 of 1200 strings)

Translated using Weblate (Polish)

Currently translated at 77.0% (925 of 1200 strings)

Translated using Weblate (Polish)

Currently translated at 77.0% (924 of 1200 strings)

Co-authored-by: Jeder <jeder@jeder.pl>
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/pl/
Translation: Foundkey/foundkey
2023-02-27 18:01:08 +00:00
f68c41dd41 meta: Update Yarn to 3.4.1 2023-02-27 13:00:22 -05:00
e2063f4ff9
fix: correctly parse quotes 2023-02-24 23:47:50 +01:00
a5b0f5cb65
translation: change Polish _lang_ 2023-02-24 21:19:00 +01:00
145a949480
client: show own pages as first tab 2023-02-24 20:28:19 +01:00
e4a7e9f9b0
clarify that translation updates dont go in the changelog 2023-02-24 20:09:19 +01:00
Weblate
1dc2a6e452 Update translation files
Updated by "Remove blank strings" hook in Weblate.

Update translation files

Updated by "Remove blank strings" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/
Translation: Foundkey/foundkey
2023-02-24 18:48:06 +00:00
8ba8a1cd60 Translated using Weblate (French)
Currently translated at 99.8% (1198 of 1200 strings)

Co-authored-by: Chloe Kudryavtsev <code@toast.bunkerlabs.net>
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/fr/
Translation: Foundkey/foundkey
2023-02-24 18:48:06 +00:00
765cb36d02 Translated using Weblate (Chinese (Traditional))
Currently translated at 92.5% (1110 of 1200 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 92.5% (1110 of 1200 strings)

Translated using Weblate (Vietnamese)

Currently translated at 92.5% (1111 of 1200 strings)

Translated using Weblate (Ukrainian)

Currently translated at 81.2% (975 of 1200 strings)

Translated using Weblate (Turkish)

Currently translated at 4.0% (49 of 1200 strings)

Translated using Weblate (Slovak)

Currently translated at 92.5% (1110 of 1200 strings)

Translated using Weblate (Russian)

Currently translated at 91.0% (1092 of 1200 strings)

Translated using Weblate (Dutch)

Currently translated at 26.2% (315 of 1200 strings)

Translated using Weblate (Japanese (Kansai))

Currently translated at 63.0% (757 of 1200 strings)

Translated using Weblate (Italian)

Currently translated at 85.6% (1028 of 1200 strings)

Translated using Weblate (Indonesian)

Currently translated at 92.7% (1113 of 1200 strings)

Translated using Weblate (Spanish)

Currently translated at 83.0% (996 of 1200 strings)

Translated using Weblate (German)

Currently translated at 100.0% (1200 of 1200 strings)

Translated using Weblate (Catalan)

Currently translated at 10.8% (130 of 1200 strings)

Translated using Weblate (Bengali (Bangladesh))

Currently translated at 92.5% (1111 of 1200 strings)

Translated using Weblate (Arabic (Saudi Arabia))

Currently translated at 87.1% (1046 of 1200 strings)

Co-authored-by: Johann <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann.galle@protonmail.com>
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/ar_SA/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/bn_BD/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/ca/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/de/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/es/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/id/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/it/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/ja_KS/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/nl/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/ru/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/sk/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/tr/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/uk/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/vi/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/zh_Hans/
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/zh_Hant/
Translation: Foundkey/foundkey
2023-02-24 18:48:06 +00:00
c4c97f19b6
client: fix follow requests pagination
Changelog: Fixed
2023-02-24 19:47:52 +01:00
57e4971214
Revert "server: fix return of visibilityQuery function"
This reverts commit 32f4bee5e8.

It is the right thing to do in theory, but it doesn't work.
I hate typeorm.
2023-02-21 21:16:28 +01:00
32f4bee5e8
server: fix return of visibilityQuery function 2023-02-21 21:04:38 +01:00
c8731333ba
server: add new deepl languages
DeepL now also supports Norwegian (Bokmål) and Korean.

Ref: https://www.deepl.com/en/blog/welcome-korean-and-norwegian
Changelog: Added
2023-02-21 18:24:29 +01:00
0a7352eda9
server: add diagnostics for failing visibility 2023-02-20 21:08:58 +01:00
c777c2ed04
fix: perform visibility query in second stage 2023-02-20 21:08:58 +01:00
8f5952bb7d
server: handle note visibility in SQL
This allows to check visibility recursively, which should hopefully
solve problems with timelines not showing up properly.

Changelog: Changed
2023-02-20 21:08:47 +01:00
73d546372e
refactor: replace import paths containing ../ in API server
This is a big one...
2023-02-19 23:36:15 +01:00
e701bdadbe
foundkey.js: adjust API endpoints for user administration 2023-02-19 23:36:14 +01:00
2fda599a86
client: adjust API endpoints for user administration 2023-02-19 23:36:13 +01:00
bfd1adf761
BREAKING server: restructure endpoints related to user administration
- `admin/abuse-user-reports` -> `admin/reports/list`
- `admin/delete-all-files-of-a-user` -> `admin/users/delete-all-files`
- `admin/resolve-abuse-user-report` -> `admin/reports/resolve`
- `admin/accounts/create` -> `admin/users/create`
- `admin/accounts/delete` -> `admin/users/delete`
- `admin/show-user` -> `admin/users/show`
- `admin/show-users` -> `admin/users`
- `admin/silence-user` -> `admin/users/silence`
- `admin/suspend-user` -> `admin/users/suspend`
- `admin/unsilence-user` -> `admin/users/unsilence`
- `admin/unsuspend-user` -> `admin/users/unsuspend`
- `admin/reset-password` -> `admin/users/reset-password`

Changelog: Changed
2023-02-19 23:36:13 +01:00