Commit graph

20986 commits

Author SHA1 Message Date
Norm d32228a347
Use immediate: true for page.textarea.vue::text 2022-07-24 15:37:21 -04:00
Norm 6ffbabeedc
use immediate: true for watch 2022-07-24 11:58:15 -04:00
Johann150 aba5b27159
remove legacy permission parsing 2022-07-24 11:45:37 +02:00
Norm cff82ea52e
refactor: page.textarea.vue to use composition api 2022-07-24 00:50:20 -04:00
Norm ebfe2162e9 only add padding for left and right sides 2022-07-23 17:57:04 -04:00
Norm d6a5eb4666 Add padding
This will let not have text right up against the edge.
2022-07-23 17:51:53 -04:00
Norm d79fe1dee0 refactor: page.text.vue to use composition api 2022-07-23 17:42:00 -04:00
Johann150 3e05740bee
refactor queue chart to composition API 2022-07-23 23:03:20 +02:00
Johann150 63591da33e
refactor: colours in queue chart 2022-07-23 23:00:59 +02:00
Johann150 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
Johann150 b630cd7eac
refactor: add NoteReactions.packMany 2022-07-23 22:28:40 +02:00
Johann150 6775028b1e
adjust tests 2022-07-23 22:28:40 +02:00
Johann150 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
Johann150 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
Johann150 c6192ac95a
fix: handle exception in note favorites 2022-07-23 22:27:29 +02:00
Johann150 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
Johann150 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
Johann150 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
Norm 2f432dce65 refactor: link.vue to use composition api 2022-07-23 20:26:45 +00:00
Norm bbb16208ab remove async from ok() 2022-07-23 20:23:45 +00:00
Norm 95148cf647 refactor: use emit for MkModal @closed 2022-07-23 20:23:45 +00:00
Norm 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
Norm 637c6f1411 Update 'CHANGELOG.md' 2022-07-22 02:38:55 +00:00
Norm d5a92e822e Update CHANGELOG.md for 0.0.15 2022-07-22 02:38:14 +00:00
Norm b21ac2da9b
Update package.json 2022-07-21 21:39:34 -04:00
Norm ea2f56f86e Merge pull request 'fix: Add comment property to DriveFile' (#46) from archaeme/patch-1 into develop
Reviewed-on: norm/foundkey.js#46
2022-07-22 01:36:45 +00:00
Norm 28f244479c
Add comment property to DriveFile
Some components of Misskey like the image viewer use this property, but it hasn't been defined in the type definition itself.
2022-07-21 21:20:45 -04:00
Norm bfd9c7404b
form-dialog: set type of result for 'done' event to Record<string, any> 2022-07-21 18:54:43 -04:00
Johann150 150f373ebf
replace one more object type 2022-07-21 21:17:39 +02:00
Johann150 fef2d9173e
Merge: Refactor form-dialog.vue to Composition API
FoundKeyGang/FoundKey#17
2022-07-21 21:13:03 +02:00
Norm 2d245d62cf form-dialog: use Record<string, any> for form prop 2022-07-20 19:23:17 -04:00
Johann150 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
Norm 929203b2f3 Remove leftover comments from form-dialog 2022-07-20 18:17:24 -04:00
Norm d29a0dad8f Refactor form-dialog.vue to use Composition API 2022-07-20 18:15:55 -04:00
Johann150 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
Johann150 a988f6bda0
fix: not logged in clients send correct header 2022-07-20 18:40:36 +02:00
Johann150 5255817e99
Merge branch ci 2022-07-20 15:20:12 +02:00
Johann150 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
Johann150 2d4089ce09
adjust localisation string for reports 2022-07-19 18:03:38 +02:00
Johann150 748a830937
client: display URLs in report 2022-07-19 17:18:19 +02:00
Johann150 6060e7d220
enhance: better rendering of reports
Passing the report object reduces the number of parameters to be passed.
2022-07-19 17:18:19 +02:00
Johann150 fc51ac17b1
fix: remove unnecessary null check
Because `findOneByOrFail` is used above, the null check is unnecessary.
2022-07-19 17:18:19 +02:00
Johann150 d92d389cda
extract note URLs from Activity 2022-07-19 17:18:18 +02:00
Johann150 9ca504784a
keep URL of reported object separate
Instead of putting the URL in the report text, it is stored separately
so that users do not accidentally change or remove it.

This way it can easily be used when forwarding reports to different
instances to tell them what exactly was reported.
2022-07-19 17:18:18 +02:00
Johann150 1ec756519e
fix: move forwarded attribute to output 2022-07-19 17:18:15 +02:00
Johann150 ecbb766df6
refactor: signup component as composition api 2022-07-19 10:35:11 +02:00