Commit graph

20634 commits

Author SHA1 Message Date
233c39dbad
fix lints 2022-07-27 08:16:52 +02:00
Chloe Kudryavtsev
0f6d94f1e7 backend: improve mutes and blocks
Mutes and blocks now also apply recursively to replies and renotes.
Furthermore, any mentioned user being muted or blocked will also apply.
2022-07-26 08:12:49 -04:00
63c8992cb8
Add semicolon to children.ts 2022-07-25 22:07:23 -04:00
0ece67b04c
refactor pages/auth.form.vue to composition API 2022-07-25 21:57:19 +02:00
4bc9610d8b
remove unnecessary joins
These joins are no longer necessary as of commit
c35372a20d. It seems they are bad enough
for performance to break installs.
2022-07-25 21:46:45 +02:00
9ee609d700
Merge: enhance privacy of notes
FoundKeyGang/FoundKey#14
2022-07-25 18:15:21 +02:00
46fff77acc
client uses new API for child notes depth 2022-07-25 16:41:47 +02:00
c35372a20d
pack children without detail 2022-07-25 16:41:47 +02:00
aca724e0bf
enable to fetch replies recursively 2022-07-25 16:41:46 +02:00
2fe64c1150
Refactor components/page/page.textarea.vue to composition API
FoundKeyGang/FoundKey#26
2022-07-25 07:51:31 +02:00
6d3181f983
Refactor components/page/page.text.vue to composition API
FoundKeyGang/FoundKey#25
2022-07-25 07:50:22 +02:00
d96baf1672 Merge branch 'main' into refactor/page.textarea.vue 2022-07-24 21:25:22 +00:00
d32228a347
Use immediate: true for page.textarea.vue::text 2022-07-24 15:37:21 -04:00
6ffbabeedc
use immediate: true for watch 2022-07-24 11:58:15 -04:00
aba5b27159
remove legacy permission parsing 2022-07-24 11:45:37 +02:00
cff82ea52e
refactor: page.textarea.vue to use composition api 2022-07-24 00:50:20 -04:00
ebfe2162e9 only add padding for left and right sides 2022-07-23 17:57:04 -04:00
d6a5eb4666 Add padding
This will let not have text right up against the edge.
2022-07-23 17:51:53 -04:00
d79fe1dee0 refactor: page.text.vue to use composition api 2022-07-23 17:42:00 -04:00
3e05740bee
refactor queue chart to composition API 2022-07-23 23:03:20 +02:00
63591da33e
refactor: colours in queue chart 2022-07-23 23:00:59 +02:00
3fe351df6d
fix: catch errors from packing with detail
Packing with detail can cause an error if the reply or renote
are not visible to the user, even though the original note is
visible to the user.
2022-07-23 22:28:41 +02:00
b630cd7eac
refactor: add NoteReactions.packMany 2022-07-23 22:28:40 +02:00
6775028b1e
adjust tests 2022-07-23 22:28:40 +02:00
128d0f0d4e
remove isHidden and its uses
The `isHidden` attribute is not being set any more and is thus removed.
Handling in the client is no longer necessary.
2022-07-23 22:28:39 +02:00
cfa371b52b
refactor: remove note re-packing in streaming API
Instead of packing the note for public user before passing it to
streams, the note is now either packed for the user the respective
stream belongs to (`mainStream`) or not packed at all and then packed
later (`notesStream`).

Because this is a new common task between different channels, a shared
implementation of packing a note from notesStream is created. This
implementation will simply skip a note if it is not visible to the user
that the channel belongs to.
2022-07-23 22:27:29 +02:00
c6192ac95a
fix: handle exception in note favorites 2022-07-23 22:27:29 +02:00
2486eff747
packing notes not visible to user raises an error
Instead of just hiding specific fields, the entire note is hidden. This means
that metadata of the note such as who is the author, when was it sent are
completely hidden.
2022-07-23 22:27:29 +02:00
3c6d9cc8ab
use getNote instead of Notes.find
If a note is not visible to the requesting user, an error will be raised.
2022-07-23 22:27:28 +02:00
97edaca351
getNote checks visibility
Raise an error When a note is not visible to the requesting user.
2022-07-23 22:27:14 +02:00
2f432dce65 refactor: link.vue to use composition api 2022-07-23 20:26:45 +00:00
bbb16208ab remove async from ok() 2022-07-23 20:23:45 +00:00
95148cf647 refactor: use emit for MkModal @closed 2022-07-23 20:23:45 +00:00
b64f266483 refactor: media-caption component as composition api 2022-07-23 20:23:45 +00:00
Chloe Kudryavtsev
0ae09f2e80 Revert "additional background for acrylic popups if unsupported"
This reverts commit 10d401afc2.
See: FoundKeyGang/FoundKey#22
2022-07-22 10:15:42 -04:00
bfd9c7404b
form-dialog: set type of result for 'done' event to Record<string, any> 2022-07-21 18:54:43 -04:00
150f373ebf
replace one more object type 2022-07-21 21:17:39 +02:00
fef2d9173e
Merge: Refactor form-dialog.vue to Composition API
FoundKeyGang/FoundKey#17
2022-07-21 21:13:03 +02:00
2d245d62cf form-dialog: use Record<string, any> for form prop 2022-07-20 19:23:17 -04:00
9c411d181a
fix: volume sliders
Fixed a typo that made a required property be undefined.
Also reduced code duplication.

Fixes FoundKeyGang/FoundKey#18
2022-07-21 01:18:08 +02:00
syuilo
a12acf53ef
refactor(client): formatting and replace global $ts 2022-07-21 00:45:30 +02:00
929203b2f3 Remove leftover comments from form-dialog 2022-07-20 18:17:24 -04:00
d29a0dad8f Refactor form-dialog.vue to use Composition API 2022-07-20 18:15:55 -04:00
7e186dae69
refactor: use autofocus parameter
Using the `ref` seems to be broken but using the autofocus parameter
seems to fix it.
2022-07-20 23:49:55 +02:00
a988f6bda0
fix: not logged in clients send correct header 2022-07-20 18:40:36 +02:00
5255817e99
Merge branch ci 2022-07-20 15:20:12 +02:00
f3e196528f
Merge bearer-authentication
foundKeyGang/foundKey#15
2022-07-20 15:10:47 +02:00
syuilo
1477cb54b5
enhance(client): suspense
Fix https://github.com/misskey-dev/misskey/issues/8817
2022-07-19 18:56:50 +02:00
syuilo
8ed288cb22
fix(client): switch to receive email notifications
Fix https://github.com/misskey-dev/misskey/issues/8474
2022-07-19 18:40:36 +02:00
2d4089ce09
adjust localisation string for reports 2022-07-19 18:03:38 +02:00