Commit graph

20991 commits

Author SHA1 Message Date
Johann150 c35372a20d
pack children without detail 2022-07-25 16:41:47 +02:00
Johann150 aca724e0bf
enable to fetch replies recursively 2022-07-25 16:41:46 +02:00
Johann150 2fe64c1150
Refactor components/page/page.textarea.vue to composition API
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
#26
2022-07-25 07:51:31 +02:00
Johann150 6d3181f983
Refactor components/page/page.text.vue to composition API
#25
2022-07-25 07:50:22 +02:00
Norm d96baf1672 Merge branch 'main' into refactor/page.textarea.vue
Some checks failed
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
2022-07-24 21:25:22 +00:00
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
Some checks failed
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
2022-07-24 11:58:15 -04:00
Johann150 aba5b27159
remove legacy permission parsing
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/lint-client Pipeline failed
2022-07-24 11:45:37 +02:00
Norm cff82ea52e
refactor: page.textarea.vue to use composition api
Some checks failed
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
2022-07-24 00:50:20 -04:00
Norm ebfe2162e9 only add padding for left and right sides
Some checks failed
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
2022-07-23 17:57:04 -04:00
Norm d6a5eb4666 Add padding
Some checks failed
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
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
Some checks failed
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
2022-07-23 17:42:00 -04:00
Johann150 3e05740bee
refactor queue chart to composition API
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/lint-client Pipeline failed
2022-07-23 23:03:20 +02:00
Johann150 63591da33e
refactor: colours in queue chart
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
2022-07-23 23:00:59 +02:00
Johann150 3fe351df6d
fix: catch errors from packing with detail
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
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
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
2022-07-23 20:26:45 +00:00
Norm bbb16208ab remove async from ok()
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/lint-client Pipeline failed
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"
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
This reverts commit 10d401afc2.
See: #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>
Some checks failed
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
2022-07-21 18:54:43 -04:00
Johann150 150f373ebf
replace one more object type
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
2022-07-21 21:17:39 +02:00
Johann150 fef2d9173e
Merge: Refactor form-dialog.vue to Composition API
#17
2022-07-21 21:13:03 +02:00
Norm 2d245d62cf form-dialog: use Record<string, any> for form prop
Some checks failed
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
2022-07-20 19:23:17 -04:00
Johann150 9c411d181a
fix: volume sliders
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/lint-client Pipeline failed
Fixed a typo that made a required property be undefined.
Also reduced code duplication.

Fixes #18
2022-07-21 01:18:08 +02:00
syuilo a12acf53ef
refactor(client): formatting and replace global $ts
Some checks failed
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
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
Some checks failed
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
2022-07-20 18:15:55 -04:00
Johann150 7e186dae69
refactor: use autofocus parameter
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
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
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
2022-07-20 18:40:36 +02:00
Johann150 5255817e99
Merge branch ci
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline failed
ci/woodpecker/push/lint-client Pipeline failed
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