a485d13e8a
refactor: common.vue to composition api
2022-07-29 12:10:40 +00:00
86b94e213e
fix: lint errors in modal.vue
2022-07-28 15:47:39 -04:00
b7c0e26da9
fix: lint error in create.ts
2022-07-28 13:19:47 -04:00
9abbe94108
client: search button is a no-op
...
Don't be evil.
reference: FoundKeyGang/FoundKey#2 (comment)
2022-07-28 15:41:16 +02:00
40d9aa6219
API: visiblity cannot be less restrictive
...
Removed a now unnecessary provision from services/note/create as well.
2022-07-28 15:23:08 +02:00
8c198f648b
fix: add missing setup property, use done state in remote follow page
2022-07-28 15:23:07 +02:00
1f3b3abf68
refactor: visitor.vue to composition api
2022-07-28 10:16:42 +00:00
9a236bd862
refactor components/form/textarea.vue to composition API
2022-07-28 12:01:15 +02:00
670c229cd0
refactor pages/follow.vue to composition API
2022-07-28 11:59:10 +02:00
bf16b3699e
fix: packing app includes description
2022-07-28 11:59:10 +02:00
225b56706d
MkError can be non-retry-able
2022-07-28 11:59:10 +02:00
2e1385930c
refactor pages/auth.vue to composition API
2022-07-28 11:59:09 +02:00
ddebf5a049
clean up refactor: use i18n and remove unused import
2022-07-28 11:59:09 +02:00
2f4704ccff
Revert "Add padding"
...
This reverts commit d6a5eb4666
.
2022-07-27 20:18:14 +00:00
aac8f209c8
Revert "only add padding for left and right sides"
...
This reverts commit ebfe2162e9
.
2022-07-27 20:18:14 +00:00
0e7d1a5d7b
Add padding for all page elements
...
Instead of just padding the page text element, pad all of the elements
of the page by 1em.
2022-07-27 20:18:13 +00:00
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
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
748a830937
client: display URLs in report
2022-07-19 17:18:19 +02:00
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
fc51ac17b1
fix: remove unnecessary null check
...
Because `findOneByOrFail` is used above, the null check is unnecessary.
2022-07-19 17:18:19 +02:00
d92d389cda
extract note URLs from Activity
2022-07-19 17:18:18 +02:00
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
1ec756519e
fix: move forwarded attribute to output
2022-07-19 17:18:15 +02:00
ecbb766df6
refactor: signup component as composition api
2022-07-19 10:35:11 +02:00
27be5e0892
fix collapsing long notes
2022-07-19 10:02:40 +02:00
e5f41ece7e
fix appending to pagination component
...
FoundKeyGang/FoundKey#16
2022-07-19 09:21:38 +02:00
075cf0fa6b
refactor: use overflow-y to determine scroll container
...
By using `overflow-y` instead of `overflow` using `endsWith` can be
avoided and represents the data we are actually interested in here
more accurately.
2022-07-19 09:09:04 +02:00
7d4cbd6ecf
Merge branch 'main' into fix-chat-continuation
2022-07-19 07:08:51 +00:00
Kainoa Kanter
b803a7256b
🎨
2022-07-19 02:51:52 -04:00
36503f63d8
Fix broken chats
...
Co-authored-by: @ltlapy
2022-07-19 02:51:46 -04:00
454ed9b5c4
remove unnecessary parameter
2022-07-19 08:44:39 +02:00
fddf3573a1
client: use bearer token authorization
2022-07-19 00:49:40 +02:00
ff75382af3
handle authentication errors in stream API
2022-07-18 23:32:03 +02:00
660f6dba30
update openapi spec generator
2022-07-18 23:11:48 +02:00
edac21e8f7
improve authentication errors
2022-07-18 23:11:48 +02:00
91bdab1a9d
add OAuth 2.0 Bearer Token authentication
2022-07-18 23:11:39 +02:00
xianon
fa41674262
ユーザー情報の取得の再試行を修正する ( #9017 )
2022-07-18 18:38:47 +02:00
a0940c49a2
refactor: remove repositoryUrl & feedbackUrl from meta
...
These two URLs are static so there is no reason to keep them in the
database. They are also not even used anywhere by the API, so they can
also be removed from there.
Where they are used is in the nodeinfo, where they are now hardcoded.
While editing the nodeinfo, also uncommented nodeinfo version 2.1.
2022-07-18 14:39:27 +02:00
eeee4c713c
fix prismjs import
...
fixes #8944
2022-07-18 13:05:03 +02:00
Kainoa Kanter
26e89405cf
chore: fix client lint errors ( #8934 )
...
* Fix client lint
* Hide no-v-html
* Ignore banned type
* Update page-editor.vue
Co-authored-by: Johann150 <johann.galle@protonmail.com>
2022-07-18 12:48:09 +02:00
Chloe Kudryavtsev
390a5efb59
update package name, packages
...
We are FoundKey now.
Use semver pinning for "serious" packages.
Update eslint, typescript, vite and surroundings.
Bump yarn.lock.
2022-07-18 06:41:58 -04:00
Chloe Kudryavtsev
db2bf0ac16
chore(lint): fix lint commands
...
setups like src/**/*.{ext1,ext2}
are not guaranteed to affect top level files
such as src/a.ext1
this should also be slightly more performant
2022-07-18 06:17:51 -04:00
98198dd5fe
fix: use correct variable names
2022-07-17 23:44:13 +02:00
Andreas Nedbal
10d401afc2
additional background for acrylic popups if unsupported
2022-07-17 20:58:12 +02:00
a253b5a386
fix: update vite
2022-07-17 16:06:51 +02:00
0fec6e1047
remove ms dependency
2022-07-16 16:54:11 +00:00
syuilo
f27c3df6dc
chore(client): fix type
2022-07-16 12:04:15 -04:00
syuilo
393d07a2d1
enhance(client): improve usability
2022-07-16 12:04:06 -04:00
syuilo
d61a2f9009
feat(client): メニューからページをリロードできるように
2022-07-16 12:03:52 -04:00
syuilo
ddab9eafee
perf: allow get for notes/reactions
2022-07-16 12:02:10 -04:00
syuilo
ac9ef2beba
rename: BIOS -> Repair Tool
2022-07-16 12:01:34 -04:00
Kainoa Kanter
e3d4d6d5b2
feat: styled error screen ( #8930 )
...
* Styled error screen
* Make details margin auto
* Update boot.css
* Replace fontawesome with tabler svg
* Remove hr
* Add new style to flush screen
* Rename to `error.css`
2022-07-16 12:01:22 -04:00
462ea9c52b
fix: pagination uses API correctly ( #8925 )
2022-07-16 12:00:34 -04:00
syuilo
9db58a4047
fix(client): user search of explore not working
2022-07-16 12:00:28 -04:00
syuilo
84cf9029b5
chore(client): tweak style
2022-07-16 12:00:18 -04:00
syuilo
4059b91c0e
enhance(client): improve marquee
2022-07-16 12:00:06 -04:00
Kainoa Kanter
2dc04068c1
Update store.ts ( #8937 )
2022-07-16 11:59:30 -04:00
0102ea066a
fix lint @typescript-eslint/ban-types
2022-07-16 11:55:04 -04:00
5560de4b7f
fix lint no-prototype-builtins
2022-07-16 11:54:42 -04:00
0f815a2f5d
fix lint no-undef
2022-07-16 11:54:39 -04:00
c9b27706a3
fix lint: use let instead of const for $ref
...
Fixes lint no-const-assign.
2022-07-16 11:54:32 -04:00
2aa14b05bf
refactor: remove unnecessary computed
...
Fixes lint no-const-assign.
2022-07-16 11:54:09 -04:00
01d0a9cb51
fix lint vue/require-valid-default-prop
2022-07-16 11:53:47 -04:00
8902813633
fix lint no-fallthrough
2022-07-16 11:53:42 -04:00
debfd16fc7
fix lint padded-blocks
2022-07-16 11:53:35 -04:00
e5ade8289e
fix(lint): semicolong spacing
2022-07-16 11:53:23 -04:00
f5cbaaf5d0
fix: replace use of window
2022-07-16 11:53:15 -04:00
syuilo
fa4fb139f6
update vite
2022-07-16 11:52:55 -04:00
e6f03b5e97
fix: spellcheck is boolean not string
2022-07-16 11:51:44 -04:00
MeiMei
68a9415766
fix: streamingテストおそい ( #8912 )
2022-07-16 11:49:45 -04:00
syuilo
4b6b670ec9
chore(client): rename marquee -> ticker
2022-07-16 11:46:01 -04:00
syuilo
e0844df234
chore(client): tweak style
2022-07-16 11:45:18 -04:00
syuilo
97ce35dfc0
fix(client): フォロワー一覧がフォローににゃっているんだにゃあ
2022-07-16 11:37:53 -04:00
syuilo
856146cb58
chore(client): tweak style
2022-07-16 11:37:38 -04:00
Chloe Kudryavtsev
7a824ca064
chore(lint): add semi-spacing to shared linter
...
this is a subset of misskey/0de973d293e5f489f0fd55d2409d5d2cbea4809c
2022-07-16 11:34:04 -04:00
syuilo
bded2ef4dc
chore(client): tweak ui
2022-07-16 11:28:17 -04:00
syuilo
786d06c854
fix(client): fix typo
2022-07-16 11:26:41 -04:00
syuilo
d42325e108
enhance(client): better sticky-container component
2022-07-16 11:24:15 -04:00
syuilo
ba6f0cd91d
enhance(client): better marquee component
2022-07-16 11:23:23 -04:00
syuilo
573dd770bf
feat(server): add fetch-rss api to reduce dependency of external apis
2022-07-16 11:22:47 -04:00
syuilo
369375b2af
refactor(client): refactoring
...
+ cherry pick merge resolve (ads)
2022-07-16 11:19:04 -04:00
syuilo
791063078d
enhance(server): アンケートを新しい順にソート
2022-07-16 11:14:24 -04:00
syuilo
7bf3ddc608
enhance(client): cache pages in page-window
2022-07-16 11:12:01 -04:00
syuilo
fe12971327
feat(client): poll highlights in explore page
2022-07-16 11:11:25 -04:00
syuilo
f339fb5482
enhance(client): ハイライトをみつけるに統合
2022-07-16 11:10:50 -04:00
syuilo
835d980fd4
fix(client): fix wrong import
2022-07-15 13:15:51 +02:00
syuilo
26a45a63b3
chore(client): fix routing
...
cherry-picked from c771135fd852a972a775abe6b1a5e4199cc5191b
2022-07-15 11:26:23 +02:00
syuilo
e467143b76
chore(client): tweak ui
2022-07-15 10:25:27 +02:00
syuilo
1c2b1ad132
chore(client): tweak style
2022-07-15 10:25:27 +02:00
syuilo
1d3e6f172e
chore(client): tweak style
2022-07-15 10:23:34 +02:00
syuilo
164f3214f9
chore(client): tweak style
2022-07-15 10:23:34 +02:00
syuilo
22a0401bb2
chore(client): tweak ui
2022-07-15 10:22:25 +02:00
fecdd1f6ad
remove dead code
2022-07-15 10:18:33 +02:00
MeiMei
6c330a1343
migrate parse5 to 7.0.0 ( #8916 )
...
* migrate parse5 to 7.0.0
* fix
2022-07-15 10:14:36 +02:00
syuilo
b6a31bdfcb
use parse5 6.0.1
...
Fix #8914
2022-07-15 10:14:36 +02:00
fcefeebca8
fix typo
...
Co-authored-by: mei23 <m@m544.net>
2022-07-15 10:13:53 +02:00
syuilo
ffa86c1d76
update deps
2022-07-15 10:09:44 +02:00
syuilo
4f401410b6
chore(client): tweak rss-marquee
2022-07-15 09:57:02 +02:00
syuilo
8d6a2ad4cd
refactor reaction viewer to composition api
2022-07-15 09:53:46 +02:00
syuilo
41c9a901f0
feat(client): add rss-marquee widget
2022-07-15 08:40:51 +02:00
ff1c5167b6
update backend lockfile
2022-07-14 23:32:34 +02:00
dc63a7b04e
remove 'welcome back' toast
...
Defining an entirely new component and localStorage key for this
seems kind of overkill for such a feature. IMHO it is also a bit
annoying.
2022-07-14 12:37:31 +02:00
2a7e278565
fix(client): hide bot protection warning with disabled registrations ( #8794 )
...
* fix(client): hide bot protection warning with disabled registrations
* Apply review suggestion from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-07-14 12:23:15 +02:00
89c8a65b24
enhance: show recipients of notes with specified visibility ( #8949 )
...
* enhance: reusable visibility component
* rename renote tooltip component
The tooltip that is used for renotes can be used in other cases as well.
* add tooltip for specified recipients
* add changelog entry
* Update visibility.vue
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-07-14 10:49:56 +02:00
b81f9e1c5a
refactor: use setup and ref sugar
2022-07-14 10:46:44 +02:00
75a55ce8d3
add es2017 target
2022-07-14 10:46:43 +02:00
f0a019c94f
remove top level awaits
2022-07-14 10:46:43 +02:00
syuilo
f6361d947f
chore(client): fix type def
2022-07-14 10:41:22 +02:00
syuilo
65c3d06ef0
fix(client): fix url encoded string handling of nirax
...
fix https://github.com/misskey-dev/misskey/issues/8878
2022-07-14 10:38:27 +02:00
tamaina
95ea2485c1
fix(sw, notification): Don't issue an event if there is no affect ( #8979 )
...
* test
* ]v]
2022-07-14 10:32:04 +02:00
mei23
0c5f8579d5
Fix massive update notification parameters
2022-07-14 10:31:26 +02:00
5e36d75872
fix: control panel tab federation
...
This partially reverts commit:
03ea6763e1
2022-07-14 09:15:55 +02:00
43a000b5b0
client: remove unused components
2022-07-14 08:35:27 +02:00
5ca93223c6
fix: remove even more ad stuff
2022-07-14 08:29:30 +02:00
563b4a6bd7
remove unused dependency random-seed
...
also remove the respective type definitions
it seems this dependency is only used in the backend
2022-07-14 00:31:58 +02:00
cc123266f0
remove unused querystring dependency
2022-07-14 00:21:42 +02:00
e9b11231ff
detect outdated ID generation configuration
2022-07-13 21:30:21 +00:00
f476d149a6
remove alternative ID generation
...
Although these are configurable, there seems to be no benefit of being
able to configure these. The expected use of configuration methods other
than "aid" is expected to be low.
2022-07-13 21:30:21 +00:00
29284eca75
remove more ads stuff from client
2022-07-13 23:20:18 +02:00
a717fcc70c
remove ads from database
2022-07-13 23:20:18 +02:00
402d4e866e
remove ads from API endpoints
2022-07-13 23:20:17 +02:00
79ec9641d2
remove ads from client
2022-07-13 23:19:50 +02:00
0e3a9d1e0d
refactor: use nullish coalescing / optional chaining
...
This seems to be more readable than ternary expressions.
2022-07-13 19:08:22 +02:00
67450815cd
fix(client): wrongly collapsed posts
2022-07-13 19:06:27 +02:00
syuilo
facb12164e
chore(client): tweak style
2022-07-13 17:38:11 +02:00
syuilo
8be9d15e81
chore(client): tweak ui
2022-07-13 17:37:57 +02:00
syuilo
b003e24af4
chore(client): tweak ui
...
cherry-picked from ed41d542bb8894f2eaca42cd7cc08246089e0490
2022-07-13 17:35:25 +02:00
syuilo
09e0446708
chore(client): tweak ui
2022-07-13 17:29:20 +02:00
syuilo
6a7e016a8e
fix(server): cannot show users
2022-07-13 17:16:51 +02:00
syuilo
f95f74f96e
allow non-mods to show instance-info page
2022-07-13 16:16:35 +02:00
syuilo
f5d87fbc9e
refactor range input to composition api
2022-07-13 16:03:58 +02:00
syuilo
e47af45407
perf(client): improve range control performance
2022-07-13 16:03:30 +02:00
syuilo
896b3d817e
make client component caching configurable
...
part of bffe6fb9bfa1fe61eab4f03bd318c010644d7afb
2022-07-13 15:58:53 +02:00
syuilo
303ce42024
refactor range input component
...
part of bffe6fb9bfa1fe61eab4f03bd318c010644d7afb
2022-07-13 15:58:01 +02:00
syuilo
49a98b1eb0
fix lints
...
part of bffe6fb9bfa1fe61eab4f03bd318c010644d7afb
2022-07-13 15:40:55 +02:00
syuilo
7e1ce04db8
remove FormGroup component
...
part of bffe6fb9bfa1fe61eab4f03bd318c010644d7afb
2022-07-13 15:36:00 +02:00
95a8a937e2
fix client router catchall
...
fixes #8903
2022-07-13 13:28:03 +02:00
29ef7c85d0
fix 'assignment to const' error
2022-07-13 13:28:02 +02:00
syuilo
5e0f9699ab
Update .eslintrc.js
2022-07-13 13:26:48 +02:00
40eb861aff
Prevent access to user pages when not logged in [v2] ( #8904 )
...
* do not throw error when navigating
* enhance: add loginRequired to router
This allows client pages to require logging in before displaying the
page, useful for example for user settings pages.
* add login requirements
Co-authored-by: Andreas Nedbal <git@pixelde.su>
2022-07-13 13:24:42 +02:00
syuilo
b361069610
chore(client): fix type def
2022-07-13 13:24:42 +02:00
syuilo
761d5347d2
perf(client): remove needless reactivity
2022-07-13 13:24:42 +02:00
syuilo
03ea6763e1
enhance(client): improve router
...
Fix #8902
2022-07-13 13:24:41 +02:00
syuilo
9ec98e66f9
chore(client): tweak client
2022-07-13 13:24:40 +02:00
syuilo
9d8a9f22c1
chore(client): tweak style
2022-07-13 13:22:28 +02:00
syuilo
a0a64eb0ff
enhance(client): add users tab to instance-info
2022-07-13 13:21:56 +02:00
syuilo
bb7d080a60
refactor(client): remove invalid computed
2022-07-13 12:59:07 +02:00
syuilo
6513e72a3e
fix(client): 非モデレーターがインスタンス情報ページを表示できない問題を修正
2022-07-13 12:59:06 +02:00
syuilo
435e45351c
chore(client): tweak style
2022-07-13 12:59:06 +02:00
syuilo
cc835a0f81
chore(client): tweak style
2022-07-13 12:58:17 +02:00
syuilo
e4fefa42c5
chore(client): tweak style
2022-07-13 12:58:16 +02:00
syuilo
9ec020015d
chore(client): fix #8858
2022-07-13 12:58:16 +02:00
syuilo
b2d9b059b6
chore(client): tweak style
2022-07-13 12:58:16 +02:00
syuilo
b454142083
chore(client): refactor and style tweaks
2022-07-13 12:58:15 +02:00
syuilo
df3ff4d06e
refactor(client): use setup syntax
2022-07-13 12:56:22 +02:00
syuilo
095a99f3f7
chore(client): fix type def
2022-07-13 12:56:08 +02:00
syuilo
a7cc45fa98
fix(api): fix instance schema
2022-07-13 12:55:43 +02:00
syuilo
681a650b01
fix(client): fix chart tooltip rendering
2022-07-13 12:55:23 +02:00
syuilo
3579ebf03d
feat(api): add federation/stats endpoint
2022-07-13 12:55:09 +02:00
syuilo
591a0bf1b3
fix(api): add missing themeColor property of instance
2022-07-13 12:54:56 +02:00
syuilo
cfb7b70cde
lint fix
2022-07-13 12:54:44 +02:00
syuilo
fbe210a39d
feat: make possible to delete an account by admin
...
Resolve #8830
2022-07-13 12:52:45 +02:00
9b008b9684
refactor: remove duplicate code ( #8895 )
2022-07-13 12:52:45 +02:00
syuilo
5e7b7d4d12
chore(client): tweak client
2022-07-13 12:52:43 +02:00
MeiMei
5ac94cc268
fix broken mocha tests v2
...
see also https://github.com/misskey-dev/misskey/pull/8892
2022-07-13 12:49:58 +02:00
syuilo
45b36e8059
fix #8894
2022-07-13 12:45:24 +02:00
syuilo
570c08b976
chore(client): tweak ui 🎨
2022-07-13 12:45:24 +02:00
syuilo
78ddaed2a1
chore(client): tweak ui 🎨
2022-07-13 12:45:23 +02:00
syuilo
d6146d9102
chore(client): fix type
2022-07-13 12:43:26 +02:00
syuilo
c64b1ceb83
chore(client): tweak client
2022-07-13 12:43:15 +02:00
syuilo
3978e3a4d3
chore(client): tweak client
2022-07-13 12:42:16 +02:00
tamaina
f109de9ebb
enhance(client): Enhance boot error display ( #8879 )
...
* Change boot error message
* fix
* ✌️
* fix
2022-07-13 12:37:34 +02:00
syuilo
707754fece
refactor(client): extract interval logic to a composable function
...
Also, I fixed the `onUnmounted` call in `onMounted` and so on.
2022-07-13 12:34:33 +02:00
17c752811f
refactor: notification setting window composition API ( #8860 )
...
* refactor: notification setting window composition API
* fix lint vue/require-valid-default-prop
* fix type
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2022-07-13 11:23:16 +02:00
dependabot[bot]
b269ab709b
chore(deps): bump jsrsasign from 10.5.24 to 10.5.25 in /packages/backend ( #8889 )
...
Bumps [jsrsasign](https://github.com/kjur/jsrsasign ) from 10.5.24 to 10.5.25.
- [Release notes](https://github.com/kjur/jsrsasign/releases )
- [Changelog](https://github.com/kjur/jsrsasign/blob/master/ChangeLog.txt )
- [Commits](https://github.com/kjur/jsrsasign/compare/10.5.24...10.5.25 )
---
updated-dependencies:
- dependency-name: jsrsasign
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-13 11:23:15 +02:00
syuilo
4d8d9936f1
feat: allow GET for some endpoints
...
Resolve #8263
2022-07-13 11:23:15 +02:00
syuilo
4dee440bbf
refactor(client): extract tooltip logic of chart
2022-07-13 11:23:15 +02:00
631c3bac58
fix(client): only enable hotkeys for logged in users ( #8793 )
...
* fix(client): only enable hotkeys for logged in users
* fix(client): keep theme and search hotkeys for logged out users
2022-07-13 11:23:15 +02:00
e45624855f
fix: always respect instance mutes ( #8854 )
...
* fix: muted user query also checks instances
This way it can be ensured that the instance mute is used everywhere it
is required without checking the whole codebase again. Muted users and
muted instances should be used together anyways.
* fix lint
2022-07-13 11:23:14 +02:00
dependabot[bot]
30aa91bb94
chore(deps): bump jpeg-js from 0.4.1 to 0.4.4 in /packages/backend ( #8843 )
...
Bumps [jpeg-js](https://github.com/eugeneware/jpeg-js ) from 0.4.1 to 0.4.4.
- [Release notes](https://github.com/eugeneware/jpeg-js/releases )
- [Commits](https://github.com/eugeneware/jpeg-js/compare/v0.4.1...v0.4.4 )
---
updated-dependencies:
- dependency-name: jpeg-js
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-13 11:23:14 +02:00
dependabot[bot]
893ed309bf
chore(deps): bump undici from 5.4.0 to 5.5.1 in /packages/backend ( #8842 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 5.4.0 to 5.5.1.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.4.0...v5.5.1 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-13 11:23:14 +02:00
syuilo
b03071e019
refactor MkKeyValue to composition API
2022-07-13 11:23:13 +02:00
syuilo
9914db3722
open fewer links with "window" behavior
2022-07-13 11:23:13 +02:00
syuilo
2f54fdbcd0
fix admin per user file list
2022-07-13 11:23:13 +02:00
syuilo
6b1a5baf17
refactor: remove unused import
2022-07-13 11:23:04 +02:00
syuilo
f30214b006
feat(admin): show list of files of a user
2022-07-13 10:44:48 +02:00
syuilo
147a798a88
fix lints in signup component
2022-07-13 10:44:04 +02:00
syuilo
57f9f787d1
fix(client): logout functionality
2022-07-13 10:42:48 +02:00
912c19222e
fix lints
2022-07-13 10:42:16 +02:00
syuilo
c5218e5bc0
chore(client): tweak mini-chart rendering
2022-07-13 10:42:07 +02:00
MeiMei
d4ac71593b
enhance: use ioredis everywhere, fix IPv6 support for redis
...
fixes https://github.com/misskey-dev/misskey/pull/8869
see also https://github.com/misskey-dev/misskey/pull/8869
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-07-13 10:40:39 +02:00
b4a00d72b6
fix(client): ask to log in for poll vote ( #8883 )
2022-07-13 10:26:06 +02:00
syuilo
56bad9a6c0
client: use foldable groups in settings
2022-07-13 10:25:22 +02:00
syuilo
f1ab034379
refactor mention component to use composition api
2022-07-13 10:20:13 +02:00
tamaina
3ab54fd534
fix(nirax): Normalize path ( #8877 )
2022-07-13 10:19:56 +02:00
syuilo
252ab3d852
fix onBeforeRouteLeave
...
fixes https://github.com/misskey-dev/misskey/issues/8861
2022-07-13 10:18:12 +02:00
syuilo
c781dd445f
chore(client): tweak ui
2022-07-13 10:17:10 +02:00
syuilo
272b81f6e8
lint fixes
2022-07-13 10:16:57 +02:00
0cd330afe4
refactor: simplify ap/show with DbResolver ( #8838 )
...
Using the existing code in DbResolver we can avoid separate code for
parsing the URIs in this endpoint.
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-07-13 10:16:38 +02:00
00fe1d341b
enhance: word mute checks CW ( #8873 )
2022-07-13 10:16:38 +02:00
syuilo
d01c38c8ff
chore(client): tweak client design
2022-07-13 10:16:37 +02:00
d5d3935cfd
enable more lints
...
cherry-picked from 2a2020b79786b25668bfcfed19366a26c840e508
2022-07-13 10:15:24 +02:00
syuilo
31da7bc88a
enhance(client): tweak ui
2022-07-13 10:14:17 +02:00
syuilo
63cf2756d8
refactor(client): use composition api
2022-07-13 10:03:09 +02:00
syuilo
57df232b07
refactor(client): refactor header tab handling
2022-07-13 10:03:08 +02:00
syuilo
badc53ed38
tweak client
2022-07-13 09:59:47 +02:00
syuilo
1f1cbc3fa6
tweak client: modify instance information panel
2022-07-13 09:59:08 +02:00
yzhe819
9111d238c1
chore: fix lint errors ( #8981 )
2022-07-13 00:45:57 +02:00
749477c199
use predefined noteVisibilities constant
2022-07-12 14:45:36 +02:00
568f14070d
remove unused logger
2022-07-12 14:44:19 +02:00
ba0236700d
chore: remove unused imports
2022-07-12 14:41:10 +02:00
3317e21b39
chore: remove unused imports
2022-07-11 15:45:12 +02:00
dc6884898d
chore: remove unused imports
2022-07-11 15:31:09 +02:00
03aa41664f
chore: remove unused columns
...
The columns "mascotImageUrl" and "errorImageUrl" are unused in the
web client. It is unlikely that they are being used elsewhere.
2022-07-11 12:49:39 +02:00
c38cce9c45
remove 'search with google' localisation
2022-07-11 12:37:32 +02:00
d0b5981a0b
Revert "Revert option to collapse long notes (Misskey PR 8561)"
...
This reverts commit 71150f21cd
and reinstates
the option to collapse long notes again after they were expanded.
It is unclear why this commit was reverted in the first place, syuilo
claimed there to be issues with URL previews and attached images. These
problems could not be reproduced when testing.
2022-07-10 10:42:27 +02:00
10970f2d52
read theme color from nodeinfo
...
Prefer to read the theme color from the nodeinfo since it is more
performant than performing selector search on a DOM.
2022-07-09 22:52:42 +02:00
f873f4f0b9
provide theme color in nodeinfo metadata
2022-07-09 22:52:37 +02:00
syuilo
dcf70ebbec
fix(client): moderators cannot view instance-info page
2022-07-09 06:11:04 -04:00
syuilo
3539a9537e
enhance(client): show warning in control panel when there is an unresolved abuse report
2022-07-09 06:09:14 -04:00
syuilo
82f506e62f
refactor(client): use composition api
2022-07-09 06:02:01 -04:00
syuilo
a1e3eada2e
fix(server): faviconUrl of federated instance is missing
2022-07-09 06:01:35 -04:00
syuilo
61c770d634
chore: add comments
2022-07-09 06:00:30 -04:00
syuilo
2050708902
tweak client
...
Fix #8856
2022-07-09 06:00:12 -04:00
7f1ae87587
fix: block button in federation panel ( #8855 )
2022-07-09 05:57:17 -04:00
syuilo
64a0a680e1
tweak client
2022-07-09 05:57:00 -04:00
syuilo
19cb1991b0
fix client
2022-07-09 05:56:50 -04:00
syuilo
cb87d03fe9
refactor(client): Refine routing ( #8846 )
2022-07-09 05:56:36 -04:00
tamaina
18fea6a36d
refactor: チャットルームをComposition API化 ( #8850 )
...
* pick form
* pick message
* pick room
* fix lint
* fix scroll?
* fix scroll.ts
* fix directives/sticky-container
* update global/sticky-container.vue
* fix, 🎨
* test.1
2022-07-09 05:53:45 -04:00
tamaina
37581ea831
feat: Add Badge Image to Push Notification ( #8012 )
...
* fix
* nanka iroiro
* wip
* wip
* fix lint
* fix loginId
* fix
* refactor
* refactor
* remove follow action
* clean up
* Revert "remove follow action"
This reverts commit defbb416480905af2150d1c92f10d8e1d1288c0a.
* Revert "clean up"
This reverts commit f94919cb9cff41e274044fc69c56ad36a33974f2.
* remove fetch specification
* renoteの条件追加
* apiFetch => cli
* bypass fetch?
* fix
* refactor: use path alias
* temp: add submodule
* remove submodule
* enhane: unison-reloadに指定したパスに移動できるように
* null
* null
* feat: ログインするアカウントのIDをクエリ文字列で指定する機能
* null
* await?
* rename
* rename
* Update read.ts
* merge
* get-note-summary
* fix
* swパッケージに
* add missing packages
* fix getNoteSummary
* add webpack-cli
* ✌️
* remove plugins
* sw-inject分離したがテストしてない
* fix notification.vue
* remove a blank line
* disconnect intersection observer
* disconnect2
* fix notification.vue
* remove a blank line
* disconnect intersection observer
* disconnect2
* fix
* ✌️
* clean up config
* typesを戻した
* backend/src/web/index.ts
* notification-badges
* add scripts
* change create-notification.ts
* Update packages/client/src/components/notification.vue
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* disconnect
* oops
* Failed to load the script unexpectedly回避
sw.jsとlib.tsを分離してみた
* truncate notification
* Update packages/client/src/ui/_common_/common.vue
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* clean up
* clean up
* refactor
* キャッシュ対策
* Truncate push notification message
* fix
* クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正
* components/drive-file-thumbnail.vue
* components/drive-select-dialog.vue
* components/drive-window.vue
* merge
* fix
* Service Workerのビルドにesbuildを使うようにする
* return createEmptyNotification()
* fix
* fix
* i18n.ts
* update
* ✌️
* remove ts-loader
* fix
* fix
* enhance: Service Workerを常に登録するように
* pollEnded
* pollEnded
* URLをsw.jsに戻す
* clean up
* fix lint
* changelog
* alpha-test
* also with twemoji
* add isMimeImage function
* catch
* Colour => Color
* char2file => char2filePath
* Update autocomplete.vue
* remove clone?
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-07-09 05:52:01 -04:00
231cd63ce2
Refactor page-editor elements to use Composition API ( #8721 )
...
* refactor(client): refactor page-editor elements to use Composition API
* Apply review suggestions from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-07-09 05:44:40 -04:00
syuilo
a0deecfdee
fix typo
2022-07-09 05:44:03 -04:00
futchitwo
42e3ddae91
Improve: unclip ( #8823 )
...
* Refactor clip page to use Composition API
* Refactor clip page
* Refactor clip page
* Refactor clip page
* Improve: unclip
* Fix unclip
* Fix unclip
* chore: better type and name
* Fix
* Fix clipPage vue provider
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-07-09 05:43:48 -04:00
futchitwo
72c3d16c29
Refactor clip page to Composition API ( #8822 )
...
* Refactor clip page to use Composition API
* Refactor clip page
* Refactor clip page
* Refactor clip page
2022-07-09 05:43:11 -04:00
MeiMei
a8f7514d0d
enhance: Improve player detection in URL preview ( #8849 )
...
* enhance: Improve player detection in URL preview
* CHANGELOG
2022-07-09 05:42:36 -04:00
syuilo
75e8b2bf25
enhance(client): improve file moderation ui
2022-07-09 05:41:38 -04:00
syuilo
22ded9e3f8
chore(client): tweak range control design
2022-07-09 05:39:07 -04:00
9a1e6bf10f
fix: render empty note content correctly
...
Instead of coercing to `null`, coercing to an empty string should simplify handling.
2022-07-09 05:38:38 -04:00
bc9c79b9ef
fix: correctly render note text
...
Fix a regression from #8787 that was previously fixed in #8440 .
2022-07-09 05:35:27 -04:00
syuilo
9d2622da99
enhance(client): improve files page of control panel
2022-07-09 05:35:08 -04:00
MeiMei
8f2aaba944
fix: GenerateVideoThumbnail ( #8825 )
...
* fix: GenerateVideoThumbnail
* CHANGELOG
* fix cleanup
* Revert "fix cleanup"
This reverts commit d54cf8262ac01a3deb6b8dd7689ec144d4d09ea8.
2022-07-09 05:32:02 -04:00
95d59b3947
fix: tmpdir cleanup removes contained files ( #8826 )
2022-07-09 05:30:04 -04:00
tamaina
4edb67667a
fix: add limit to i/notifications ( #8836 )
...
* fix: add limit to i/notifications
* ms
* remove ms
2022-07-09 05:29:13 -04:00
22420245a5
fix(docs): use correct description property
2022-07-09 05:27:31 -04:00
052b45d2b4
fix: remove unused parameter
2022-07-09 05:24:50 -04:00
syuilo
9fcc0e460c
lint fixes
2022-07-09 05:23:42 -04:00
963758d8ec
fix: missing file name parameter ( #8820 )
2022-06-13 00:25:06 +09:00
futchitwo
b15dbb818f
Fix(client): fix wrong gallery page component ( #8815 )
2022-06-12 19:53:21 +09:00
syuilo
4e89d41f04
lint
2022-06-12 19:50:47 +09:00
syuilo
a8e7b1a303
fix(client): デッキでウィジェットの情報が保存されない問題を修正
...
Fix #8818
2022-06-12 19:50:43 +09:00
tamaina
11a6bd890c
fix: some fixes of multiple notification read ( #8819 )
...
* fix: limit multiple notification read
* fix
* fix
2022-06-12 19:28:13 +09:00
syuilo
ca9753f2e7
Update cropper-dialog.vue
2022-06-11 18:48:59 +09:00
syuilo
7894804eed
Update cropper-dialog.vue
2022-06-11 18:47:58 +09:00
syuilo
99eb971c3d
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2022-06-11 16:46:23 +09:00
syuilo
410210cf6f
fix(client): オブジェクトストレージを使用していると画像のクロップができない
2022-06-11 16:46:21 +09:00
7db09103e7
chore: synchronize visibility checks ( #8687 )
...
* reuse single meId parameter
* unify code style
Use template string to avoid having to use escaped quote marks.
* fix: follower only notes are visible to mentioned users
This synchronizes the visibility rules with the Notes.isVisibleForMe
method from packages/backend/src/models/repositories/note.ts
* add comment
2022-06-11 16:14:44 +09:00
syuilo
ecb3c43520
feat: image cropping ( #8808 )
...
* wip
* wip
* wip
2022-06-11 15:45:44 +09:00
syuilo
ec6b418a23
update deps
2022-06-10 15:06:42 +09:00
syuilo
b9c64053e8
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2022-06-10 14:56:07 +09:00
syuilo
f5ba73e7c8
chore: tweak logo
2022-06-10 14:56:05 +09:00
5e29528ad4
chore: fix some lints automatically ( #8788 )
...
* chore: fix some lints automatically
Fixed lints that were automatically fixable with `eslint --fix`.
* fix type
* workaround for empty interface lint
2022-06-10 14:36:55 +09:00
a683a7092d
enhance(federation): use ActivityPub defined property in favour of proprietary property. ( #8787 )
...
* add activitypub `source` property
* parse MFM from new `source` attribute
2022-06-10 14:31:58 +09:00
42f48ffea2
refactor: follow button ( #8789 )
...
* fix: display cancelling follow request
* remove unnecessary branch
The executed code is the same as in the else branch so this special
condition is unnecessary.
* remove code duplication
Use the same callback as later for updating these variables.
* use $ref sugar
* remove unused import
Co-authored-by: blackskye-sx <saul.newman@gmail.com>
2022-06-10 14:29:46 +09:00
78df3dc484
enhance: improve documentation for /users/
endpoints ( #8790 )
...
* docs: category & description for reset password
* docs: category & description for testing
* docs: descriptions for groups endpoints
* docs: descriptions for drive file endpoints
* docs: descriptions for sw endpoints
* docs: descriptions for user list endpoints
* docs: descriptions & result type for gallery posts
* docs: descriptions & result type for user endpoints
* docs: add return type for stats
2022-06-10 14:25:20 +09:00
7dde0b1362
fix(client): render quote renote CWs as MFM ( #8792 )
...
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-06-09 23:45:16 +09:00
b66e73aed5
fix: use autocomplete=new-password ( #8797 )
2022-06-09 23:42:00 +09:00
eec7a0a1f6
properly display alt text for videos ( #8802 )
...
The alt text is already properly federated and given by the API,
it is just not displayed properly by the client.
2022-06-09 23:35:58 +09:00
4800dd06e5
fix: try to prevent autocomplete for emoji search ( #8798 )
2022-06-08 20:20:37 +09:00
0fa2a52fac
refactor: use awaitAll to reduce duplication ( #8791 )
...
* refactor: use awaitAll to reduce duplication
* fix lint
* fix typo
2022-06-08 17:59:48 +09:00
syuilo
d17298d3b5
fix(test): make chart tests working
2022-06-05 20:37:24 +09:00
syuilo
09b749eb97
Update .mocharc.json
2022-06-05 19:46:52 +09:00
syuilo
5fb3f8a116
chore: lint fixes
2022-06-05 12:26:36 +09:00
syuilo
adf3190859
chore(client): fix menu item style
2022-06-05 12:23:57 +09:00
syuilo
89419c05b2
use node 16
2022-06-04 17:26:56 +09:00
syuilo
abcd5bc951
update summaly
2022-06-04 17:24:41 +09:00
syuilo
71150f21cd
Revert "feat: option to collapse long notes ( #8561 )"
...
This reverts commit e675ffcf38
.
2022-06-04 15:23:53 +09:00
syuilo
11afdf7e24
fix bug
2022-06-04 15:15:44 +09:00
syuilo
702edfd3d3
fix test
2022-06-04 14:25:30 +09:00
Balazs Nadasdi
e675ffcf38
feat: option to collapse long notes ( #8561 )
...
* feat: option to collapse long notes
Closes #8559
* do not collapse if cw exists
* use '閉じる' to close / show less.
* make it sticky
* Change style of the Show less button
2022-06-04 13:57:09 +09:00
32dff28460
fix: add id for activitypub follows ( #8689 )
...
* add id for activitypub follows
* fix lint
* fix: follower must be local, followee must be remote
Misskey will only use ActivityPub follow requests for users that are local
and are requesting to follow a remote user. This check is to ensure that
this endpoint can not be used by other services or instances.
* fix: missing import
* render block with id
* fix comment
2022-06-04 13:52:42 +09:00
9954c054a7
fix: ensure resolver does not fetch local resources via HTTP(S) ( #8733 )
...
* refactor: parseUri types and checks
The type has been refined to better represent what it actually is. Uses of
parseUri are now also checking the parsed object type before resolving.
* cannot resolve URLs with fragments
* also take remaining part of URL into account
Needed for parsing the follows URIs.
* Resolver uses DbResolver for local
* remove unnecessary use of DbResolver
Using DbResolver would mean that the URL is parsed and handled again.
This duplicated processing can be avoided by querying the database directly.
* fix missing property name
2022-06-04 11:29:20 +09:00
81109b14b5
fix: correctly render empty note text ( #8746 )
...
Ensure that the _misskey_content attribute will always exist. Because
the API endpoint does not require the existence of the `text` field,
that field may be `undefined`. By using `?? null` it can be ensured
that the value is at least `null`.
Furthermore, the rendered HTML of a note with empty text will also be
the empty string. From git blame it seems that this behaviour was added
because of a Mastodon bug that might have previously existed. Hoever,
this seems to be no longer the case as I can find mastodon posts that
have empty content.
The code could be made a bit more succinct by using the null coercion
operator.
2022-06-03 23:18:44 +09:00
PikaDude
6061937996
User moderation details ( #8762 )
...
* add more user details for admins to see
* fix some issues
* small style fix
as suggested by Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
* fix
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-06-03 23:14:50 +09:00
syuilo
71c230b7b7
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2022-06-03 23:08:18 +09:00
syuilo
a3fed7d0fb
fix(test): reset redis in e2e test
...
#7986
2022-06-03 23:08:15 +09:00
sn0w
df3bbfb416
fix(client): correctly handle MiAuth URLs with query string ( #8772 )
2022-06-03 21:22:03 +09:00
118f354661
fix: server metrics widget
2022-06-01 08:51:00 +02:00
121a1784a2
fix(lint): indentation
2022-05-31 16:22:00 +02:00
025bf4a5e7
fix(mfm): remove duplicate br tag/newline ( #8616 )
2022-05-31 18:57:55 +09:00
c56e45ecef
fix: always remove completed tasks ( #8771 )
2022-05-31 17:54:02 +09:00
MeiMei
c05723ca6a
Fix IP address rate limit ( #8758 )
...
* Fix IP address rate limit
* CHANGELOG
* Tune getIpHash
2022-05-31 17:44:22 +09:00
tamaina
857055a9dd
chore: fix import tinycolor
2022-05-30 12:09:22 +00:00
tamaina
465531d56c
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2022-05-30 05:53:40 +00:00
tamaina
9759ca7d24
chore: remove packages/sw/webpack.config.js
2022-05-30 05:53:36 +00:00
3905185463
fix(client): import shared ESLint config in client package ( #8761 )
2022-05-30 11:37:34 +09:00
ebc2566130
fix: add missing import
...
fix #8756
2022-05-29 14:33:42 +02:00
futchitwo
d2784030ec
fix(client): fix popout url ( #8494 )
2022-05-29 12:21:36 +02:00
804fa33535
refactor: improve code quality ( #8751 )
...
* remove unnecessary if
`Array.prototype.some` already returns a boolean so an if to return
true or false is completely unnecessary in this case.
* perf: use count instead of find
When using `count` instead of `findOneBy`, the data is not
unnecessarily loaded.
* remove duplicate null check
The variable is checked for null in the lines above and the function
returns if so. Therefore, it can not be null at this point.
* simplify `getJsonSchema`
Because the assigned value is `null` and the used keys are only
shallow, use of `nestedProperty.set` seems inappropriate. Because the
value is not read, the initial for loop can be replaced by a `for..in`
loop.
Since all keys will be assigned `null`, the condition of the ternary
expression in the nested function will always be true. Therefore the
recursion case will never happen. With this the nested function can be
eliminated.
* remove duplicate condition
The code above already checks `dragging` and returns if it is truthy.
Checking it again later is therefore unnecessary.
To make this more obvious the `return` is removed in favour of using
an if...else construct.
* remove impossible "unknown" time
The `ago` variable will always be a number and all non-negative numbers
are already covered by other cases, the negative case is handled with
`future` so there is no case when `unkown` could be achieved.
2022-05-29 15:15:52 +09:00
tamaina
f1d2398eac
fix(client): Vite related boot mechanism revision ( #8753 )
...
* preload app css
* remove salt
* APP_FETCH_FAILED error
* set max-age to 15s
2022-05-29 10:58:54 +09:00
tamaina
4917961736
preload app css ( #8752 )
2022-05-29 10:57:06 +09:00
e54aa56ee1
chore: remove unused imports
2022-05-28 21:17:23 +02:00
21d54f2758
fix: validate text is not empty
...
fix #8747
2022-05-28 17:26:17 +02:00
tamaina
abc8998b48
refactor: use css module at components/global/loading.vue ( #8750 )
...
* refactor: use css module at components/global/loading.vue
* rename class name to "root"
2022-05-29 00:15:32 +09:00
tamaina
4a50c49211
Fix theme import ( #8749 )
2022-05-28 21:59:23 +09:00
708fba989a
feat(tests): add e2e tests for widgets ( #8735 )
...
* test(e2e): add baseline for widget tests
* chore(repo): enable test running in branch
* fix(e2e): set viewport for widget tests
* fix(client): add widget identifier classes to widgets
* test(e2e): add memo widget test
* fix(tests): force select value
* fix(tests): force button press for widget addition
* fix(tests): invoke select value differently
* fix(tests): adjust widget submit
* fix(tests): don't explicitly navigate for widget test
* fix(tests): click label to hide select popup
* fix(tests): just click modal background
* fix(tests): adjust modal background selector
* fix(tests): click all modal backgrounds
* feat(e2e): add test for adding timeline widget
* fix(client): add more widget identifier classes
* feat(tests): add method abstraction for test cases
* fix(tests): force-click overlays
* fix(tests): force widget button press
* fix(tests): remove timeout from final widget check
* feat(tests): add widget removal test case
* fix(client): use mk instead of msky as class prefix
* fix(tests): check widgets for existence rather than visibility
* chore(meta): don't run tests for specific feature branch
2022-05-28 14:28:12 +09:00
161659de5c
enhance: replace signin CAPTCHA with rate limit ( #8740 )
...
* enhance: rate limit works without signed in user
* fix: make limit key required for limiter
As before the fallback limiter key will be set from the endpoint name.
* enhance: use limiter for signin
* Revert "CAPTCHA求めるのは2fa認証が無効になっているときだけにした"
This reverts commit 02a43a310f
.
* Revert "feat: make captcha required when signin to improve security"
This reverts commit b21b058005
.
* fix undefined reference
* fix: better error message
* enhance: only handle prefix of IPv6
2022-05-28 12:06:47 +09:00
63a814c70e
fix(docs): correct information for drive upload ( #8736 )
2022-05-27 22:03:25 +09:00
3dae18b93c
fix lints ( #8737 )
...
* fix: emits use ev instead of e
* fix: errors use err instead of e
* fix: replace use of data where possible
* fix: events use evt instead of e
* fix: use strict equals
* fix: use emoji instead of e
* fix: vue lints
2022-05-26 22:53:09 +09:00
9c80403072
use http-signature module that supports hs2019 ( #8635 )
2022-05-26 09:12:17 +09:00
syuilo
b3ad04fcb0
update deps
2022-05-25 23:28:56 +09:00
syuilo
3c3140a100
refactor: use ===
2022-05-25 23:19:39 +09:00
8d5c9e96e4
fix: assume remote users are following each other ( #8734 )
...
Misskey does not know if two remote users are following each other.
Because ActivityPub actions would otherwise fail on followers only
notes, we have to assume that two remote users are following each other
when an interaction about a remote note occurs.
2022-05-25 23:17:00 +09:00
429f1ad061
fix: activity widget used wrong variable name
2022-05-25 10:44:04 +02:00
a7be9be43d
fix: server metrics widget
2022-05-25 10:13:46 +02:00
e27c6abaea
refactor: temporary files ( #8713 )
...
* simplify temporary files for thumbnails
Because only a single file will be written to the directory, creating a
separate directory seems unnecessary. If only a temporary file is created,
the code from `createTemp` can be reused here as well.
* refactor: deduplicate code for temporary files/directories
To follow the DRY principle, the same code should not be duplicated
across different files. Instead an already existing function is used.
Because temporary directories are also create in multiple locations,
a function for this is also newly added to reduce duplication.
* fix: clean up identicon temp files
The temporary files for identicons are not reused and can be deleted
after they are fully read. This condition is met when the stream is closed
and so the file can be cleaned up using the events API of the stream.
* fix: ensure cleanup is called when download fails
* fix: ensure cleanup is called in error conditions
This covers import/export queue jobs and is mostly just wrapping all
code in a try...finally statement where the finally runs the cleanup.
* fix: use correct type instead of `any`
2022-05-25 16:50:22 +09:00
b049633db7
Refactor widgets and fix lint issues ( #8719 )
...
* fix(client): refactor widgets and fix lint issues
* Apply review suggestions from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-25 16:43:12 +09:00
81fccb5656
refactor(client): refactor admin/other-settings to use Composition API ( #8667 )
2022-05-25 16:38:18 +09:00
67f3515dc1
Refactor admin/overview to use Composition API ( #8674 )
...
* refactor(client): refactor admin/overview to use Composition API
* fix(client): apply review suggestions
2022-05-25 16:37:35 +09:00
83b831d975
Refactor my-antennas/edit to use Composition API ( #8680 )
...
* refactor(client): refactor my-antennas/edit to use Composition API
* fix(client): apply review suggestions
2022-05-25 16:37:15 +09:00
MeiMei
6b44fe165b
Supports Unicode Emoji 14.0 ( #8699 )
...
* Unicode 14.0 Emoji
* mfm-js@0.22.0
* CHANGELOG
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-05-25 16:35:30 +09:00
6b109c7b0f
fix: wrong type for isVisibleForMe
2022-05-24 10:12:42 +02:00
f90c947036
fix(client): wrong scoping breaks 2FA
2022-05-23 22:43:13 +02:00
563cb36a8f
fix(client): fix undefined data value on 2FA settings ( #8725 )
2022-05-23 21:55:06 +02:00
syuilo
53fc1235d7
Update .mocharc.json
2022-05-21 22:24:57 +09:00
syuilo
b8544814ec
lint
2022-05-21 22:21:41 +09:00
syuilo
05c4d6b11e
refactor
2022-05-21 22:07:11 +09:00
syuilo
425084b596
Update utils.ts
2022-05-21 22:07:01 +09:00
syuilo
2205c61edf
Update utils.ts
2022-05-21 17:40:43 +09:00
4bb04a2c24
chore(meta): add pixeldesu to patron list ( #8714 )
2022-05-21 09:48:40 +09:00
syuilo
b811de53b6
fix(client): make emoji stand out more on reaction button
...
Fix #8520
Close #8521
Co-Authored-By: Johann150 <20990607+Johann150@users.noreply.github.com>
2022-05-19 23:23:12 +09:00
68f9341e95
hotfix: uniform color migration fix
2022-05-19 15:42:55 +02:00
be1d02a7f8
enhance: page image component with alt text ( #8634 )
...
* refactor to composition API
* use existing image component
This improves user experience because alt text is displayed correctly.
* fix: correct image src
* fix: defineProps
* fix
2022-05-19 20:41:47 +09:00
edfded7fb7
fix(activitypub): add authorization checks ( #8534 )
...
* fix spelling
* fix(activitypub): add authorization checks
2022-05-19 20:40:16 +09:00
60fd793bc3
enhance(MFM): limit large MFM ( #8540 )
...
* add CSS classes for zoom MFM
* limit nesting of x2, x3, x4 MFM
* simplify CSS calculation
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-05-19 20:38:14 +09:00
xianon
0f33864df1
fix: ノート詳細ページの新しいノートを表示する機能の動作が正しくなるように修正する ( #8607 )
...
* ノート詳細で新しいノートの表示が正しくないのを修正する
* ノート詳細から別のノート詳細を表示した時に前後の表示をリセットする
2022-05-19 20:32:55 +09:00
3abb0d589d
refactor(client): refactor admin/settings to use Composition API ( #8678 )
2022-05-19 20:30:23 +09:00
1d9a4f68f4
Refactor pleaseLogin to show a sign-in dialog ( #8630 )
...
* refactor(client): refactor pleaseLogin to show a sign-in dialog
* Apply review suggestions from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-05-19 20:28:08 +09:00
a273940348
fix(client): fix lint issues in Deck UI components ( #8681 )
2022-05-19 17:35:43 +09:00
dependabot[bot]
3d46da64a8
chore(deps): bump async from 3.2.1 to 3.2.3 in /packages/client ( #8707 )
...
Bumps [async](https://github.com/caolan/async ) from 3.2.1 to 3.2.3.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v3.2.1...v3.2.3 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-19 17:35:11 +09:00
syuilo
4702f99c83
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2022-05-19 17:21:11 +09:00
syuilo
65b048bb70
chore(client): tweak loading spinner design
2022-05-19 17:21:08 +09:00
aaf5bb62ab
enhance: uniform theme color ( #8702 )
...
* enhance: make theme color format uniform
All newly fetched instance theme colors will be uniformely formatted
as hashtag followed by 6 hexadecimal digits.
Colors are checked for validity and invalid colors are not handled.
* better input validation for own theme color
* migration to unify theme color formats
Fixes theme colors of other instances as well as the local instance.
* add changelog entry
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-05-19 09:54:45 +02:00
MeiMei
55a578a8df
fix: Unable to generate video thumbnails ( #8696 )
...
* fix: Unable to generate video thumbnails
* CHANGELOG
2022-05-19 16:19:23 +09:00
xianon
02f9e5d6f0
fix: ノートのインスタンス情報の文字に縁を付けて見やすくする ( #8697 )
...
* ノートのインスタンス情報の背景色が反映されないことがあるのを修正する
* ノートのインスタンス情報の文字に縁を付けて見やすくする
* Revert "ノートのインスタンス情報の背景色が反映されないことがあるのを修正する"
This reverts commit de920dfc537d1f2c68804d0d6930520f2b3cbce7.
* ノートのインスタンス情報の文字の影の数を増やしてさらに見やすくする
2022-05-19 16:17:00 +09:00
syuilo
4fc2058745
chore(client): tweak loading spinner design
2022-05-19 15:24:35 +09:00
dependabot[bot]
13b275773b
chore(deps): bump async from 3.2.0 to 3.2.3 in /packages/backend ( #8706 )
...
Bumps [async](https://github.com/caolan/async ) from 3.2.0 to 3.2.3.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/master/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v3.2.0...v3.2.3 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-19 11:49:59 +09:00
MeiMei
b6794b614b
enhance: Perform port diagnosis at startup only when Listen fails ( #8698 )
...
* Change port check
* Comment: disableClustering
* CHANGELOG
* Smart message
2022-05-19 11:49:07 +09:00
あずき⪥™
e3f2d469c0
remove unneeded attrs ( #8673 )
2022-05-18 01:34:30 +09:00
a86e1221a0
Refactor file-dialog to use Composition API ( #8661 )
...
* refactor(client): refactor file-dialog to use Composition API
* Apply review suggestion from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-18 01:33:21 +09:00
f03390f0b8
Refactor admin/index to use Composition API ( #8662 )
...
* refactor(client): refactor admin/index to use Composition API
* fix(client): fix navigation to initial admin pages
* Apply review suggestions from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
* fix(client): re-add abuses page to admin/index
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-18 01:32:21 +09:00
bf6cc34961
refactor(client): refactor admin/instance-block to use Composition API ( #8663 )
2022-05-18 01:31:59 +09:00
18307c822c
Refactor admin/integrations to use Composition API ( #8664 )
...
* refactor(client): refactor admin/integrations to use Composition API
* Apply review suggestions from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-18 01:31:48 +09:00
83ac6742f6
refactor(client): refactor admin/object-storage to use Composition API ( #8666 )
2022-05-18 01:31:32 +09:00
13999d953b
refactor(client): refactor admin/proxy-account to use Composition API ( #8675 )
2022-05-18 01:31:16 +09:00
7c5c27cbe3
Refactor admin/queue to use Composition API ( #8676 )
...
* refactor(client): refactor admin/queue to use Composition API
* Apply review suggestion from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-18 01:31:04 +09:00
dfeafaf499
Refactor admin/relays to use Composition API ( #8677 )
...
* refactor(client): refactor admin/relays to use Composition API
* Apply review suggestion from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-18 01:30:49 +09:00
7d08b936c6
refactor(client): refactor my-antennas/index to use Composition API ( #8679 )
2022-05-18 01:30:35 +09:00
d62a55b46f
Refactor emoji-edit-dialog to use Composition API ( #8657 )
...
* refactor(client): refactor emoji-edit-dialog to use Composition API
* fix(client): fix editing emoji not updating emoji list
* Apply review suggestions from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
* fix(client): use cached category info instead of making a request
* fix(client): use updateItem in emoji pagination when editing
* fix(client): reimplement removeItem in MkPagination
* Apply review suggestion from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-15 22:20:01 +09:00
037ca92275
fix: postgres type error
...
Fix a bug introduced in #8659 . Solution was already tested there.
2022-05-15 11:32:00 +02:00
syuilo
504cf74b90
ビルド関係の依存関係をdevDependenciesに入れるのをやめた
...
本番環境でビルドできないため
2022-05-15 17:26:14 +09:00
syuilo
02a43a310f
CAPTCHA求めるのは2fa認証が無効になっているときだけにした
...
2faのトークンは期限付きだから、CAPTCHA解いてる間に期限切れになる
2022-05-15 16:47:14 +09:00
syuilo
b21b058005
feat: make captcha required when signin to improve security
2022-05-15 12:18:46 +09:00
syuilo
6de40cf789
fix(server): prevent crash when processing certain PNGs
...
Fix #8605
2022-05-15 01:16:12 +09:00
657dc15995
fix(client): remove unexpected token ( #8672 )
2022-05-14 23:24:45 +09:00
3f9b7e8b1d
Refactor admin/email-settings to use Composition API ( #8656 )
...
* refactor(client): refactor admin/email-settings to use Composition API
* Update packages/client/src/pages/admin/email-settings.vue
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-14 21:36:12 +09:00
577f63c4f4
Refactor admin/database to use Composition API ( #8654 )
...
* refactor(client): refactor admin/database to use Composition API
* Apply review suggestion from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-14 21:35:08 +09:00
5de77405ea
Refactor admin/security to use Composition API ( #8652 )
...
* refactor(client): refactor admin/security to use Composition API
* Apply review suggestions from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-14 21:34:50 +09:00
9f07bd8f46
refactor(client): refactor admin/announcements to use Composition API ( #8650 )
2022-05-14 21:34:07 +09:00
cafd29888d
refactor(client): refactor admin/ads to use Composition API ( #8649 )
2022-05-14 21:33:41 +09:00
88307327e6
Refactor Chart component ( #8622 )
...
* refactor(client): refactor Chart component
* Apply review suggestions from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
* fix(client): don't expose values from Chart
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-14 21:20:41 +09:00
iwata
67e1ee41c9
test: Nodeのカスタムローダーを直してテストが動くように ( #8625 )
...
* test: Nodeのカスタムローダーを直してテストが動くように
* dev: mochaを呼ぶコマンドにNODE_ENV=testを追加
* Update packages/backend/test/loader.js
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
* chore: change export style in loader.js
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-14 16:10:20 +09:00
iwata
ebb4308a5c
test: __dirname
はESModuleでは使えないので置き換えた ( #8626 )
2022-05-14 16:09:47 +09:00
tamaina
b2a5076d14
fix: ユーザー検索で、クエリがusernameの条件を満たす場合はusernameもLIKE検索するように ( #8644 )
...
* Fix #8643
* 部分一致にする
2022-05-14 15:24:44 +09:00
iwata
22bb1a1793
test: e2eテストがCIで失敗していた問題をいくつか修正 ( #8642 )
...
* test: indexeddbをテスト毎に初期化するように
* fix: metaが無いときにfetch-metaを同時に呼ぶと死ぬことがある問題を修正
* test: ログイン後のクライアント側処理を待たずにリロードされてログイン出来ないことがあったのを修正
2022-05-14 15:16:45 +09:00
4b872856c2
fix: keep file order ( #8659 )
2022-05-14 15:09:10 +09:00
syuilo
98e42ec6ff
enhance: Display TOTP Register URL
...
Close #7261
Co-Authored-By: tamaina <tamaina@hotmail.co.jp>
2022-05-14 15:00:15 +09:00
syuilo
e161b71651
update deps
2022-05-14 14:57:51 +09:00
89c5fd0931
perf: fix caching ( #8660 )
...
The cache implementation did previously not store the results of the
computation and was thus not a cache at all. This can cause a significant
number of database queries each time someone with a large number of
followers does something that causes an activity to be federated.
2022-05-14 13:28:27 +09:00
9fc5e8688f
fix(client): add setup attribute to notification page ( #8648 )
2022-05-12 19:31:26 +02:00
Andreas Nedbal
a29ff7b1fa
Fix lint issues in post form component ( #8619 )
...
* fix(client): fix lint issues in post form
* Apply review suggestions from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-07 17:01:01 +09:00
Andreas Nedbal
7bd45e5729
Fix lint issues in emoji picker components ( #8620 )
...
* fix(client): fix lint issues in emoji picker components
* fix(client): switch argument naming for emoji picker section event
2022-05-07 17:00:05 +09:00
Andreas Nedbal
a975a0971c
fix(client): fix lint issues in scripts ( #8621 )
2022-05-07 14:19:15 +09:00
Andreas Nedbal
ad860905c6
refactor(client): refactor settings/theme/manage to use Composition API ( #8596 )
2022-05-05 22:53:08 +09:00
futchitwo
3ea351d8a2
Enhance(MFM): Allow speed changes in all animated MFMs ( #8551 )
...
* MFM: Allow speed changes in all animated MFMs
* Feature(MFM): Add speed property to cheat sheet
* Use template literal
Oops!
* Remove unnecessary template string
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-05 22:52:33 +09:00
Andreas Nedbal
f3628946af
refactor(client): refactor settings/word-mute to use Composition API ( #8597 )
2022-05-05 22:51:58 +09:00
Andreas Nedbal
e5a8773bfe
refactor(client): refactor settings/deck to use Composition API ( #8598 )
2022-05-05 22:51:29 +09:00
Andreas Nedbal
a6c138600f
Refactor settings/sounds to use Composition API ( #8594 )
...
* refactor(client): refactor settings/sounds to use Composition API
* Apply review suggestion from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
* chore(client): remove old sound reference
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-05 22:51:05 +09:00
31c73fdfa2
chore: synchronize code and database schema ( #8577 )
...
* chore: remove default null
null is always the default value if a table column is nullable, and typeorm's
@Column only accepts strings for default.
* chore: synchronize code with database schema
* chore: sync generated migrations with code
2022-05-05 22:45:22 +09:00
Andreas Nedbal
bd620a8c77
refactor(client): refactor 2FA settings to Composition API ( #8599 )
2022-05-05 22:41:10 +09:00
tamaina
1168e25721
fix (client): fix mention icon height ( #8615 )
2022-05-05 20:46:46 +09:00
Andreas Nedbal
7362c2da76
Fix lint issues in Drive components ( #8613 )
...
* fix(client): Fix lint issues in Drive components
* fix(client): only use !=/== for null comparisons
* Update drive.vue
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-05-05 20:45:50 +09:00
Andreas Nedbal
d075ead80a
fix(client): fix duplicate token request dialog in plugin install ( #8612 )
2022-05-05 18:21:38 +09:00
Andreas Nedbal
9230334a31
Refactor settings/notifications to use Composition API ( #8587 )
...
* refactor(client): refactor settings/notifications to use Composition API
* fix(client): use async/await for API methods
2022-05-04 12:25:19 +09:00
Andreas Nedbal
7154ad5a73
Refactor account-info to use Composition API ( #8568 )
...
* refactor(client): refactor account-info to use Composition API
* fix(client): use mounted hook for initial data
* fix(client): switch to non-null assertion for account check
2022-05-04 10:16:14 +09:00
Andreas Nedbal
c72f5e2773
refactor(client): refactor settings/api to use Composition API ( #8569 )
2022-05-04 10:15:43 +09:00
Andreas Nedbal
6226e8d902
refactor(client): refactor settings/apps to use Composition API ( #8570 )
2022-05-04 10:15:24 +09:00
Andreas Nedbal
80355fb08e
Refactor delete-account to use Composition API ( #8572 )
...
* refactor(client): refactor delete-account to use Composition API
* Apply review suggestion from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-04 10:15:06 +09:00
Andreas Nedbal
fc02f8fc93
refactor(client): refactor settings/drive to use Composition API ( #8573 )
2022-05-04 10:14:48 +09:00
Andreas Nedbal
7a51f0ac94
Refactor settings/email to use Composition API ( #8576 )
...
* refactor(client): refactor settings/email to use Composition API
* fix(client): switch to non-null assertion for settings values
2022-05-04 10:14:26 +09:00
Andreas Nedbal
247a9deb02
Refactor settings/general to use Composition API ( #8578 )
...
* refactor(client): refactor settings/general to use Composition API
* fix(client): turn watcher callback asynchronous
2022-05-04 10:13:51 +09:00
Andreas Nedbal
60010bdb0f
Refactor settings/menu to use Composition API ( #8586 )
...
* refactor(client): refactor settings/menu to use Composition API
* Apply review suggestion from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
* Apply review suggestion from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-04 10:12:40 +09:00
Andreas Nedbal
8489afa3d7
Refactor settings/other to use Composition API ( #8589 )
...
* refactor(client): refactor settings/other to use Composition API
* fix(client): fix 'show featured notes' checkbox
2022-05-04 10:12:08 +09:00
Andreas Nedbal
81e5ff7dce
refactor(client): refactor settings/plugin to use Composition API ( #8590 )
2022-05-04 10:11:35 +09:00
Andreas Nedbal
4e1b5038fb
refactor(client): refactor settings/plugin/install to use Composition API ( #8591 )
2022-05-04 10:10:52 +09:00
Andreas Nedbal
f8c66be130
refactor(client): refactor settings/security to use Composition API ( #8592 )
2022-05-04 10:10:34 +09:00
Andreas Nedbal
1f222e6cd1
refactor(client): refactor settings/theme to use Composition API ( #8595 )
2022-05-03 20:34:48 +09:00
Andreas Nedbal
0e26fae3bb
refactor(client): refactor settings/accounts to use Composition API ( #8604 )
2022-05-03 20:33:40 +09:00
Andreas Nedbal
49b63154df
fix(client): fix missing import of defineAsyncComponent in os.ts
2022-05-01 17:55:17 +02:00
dependabot[bot]
38e6202bdc
chore(deps): bump postcss from 8.2.8 to 8.4.13 in /packages/client ( #8588 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.2.8 to 8.4.13.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.2.8...8.4.13 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-01 22:52:11 +09:00
tamaina
a89003b57a
refactor: use Vite to build instead of webpack ( #8575 )
...
* update stream.ts
* https://github.com/misskey-dev/misskey/pull/7769#issuecomment-917542339
* fix lint
* clean up?
* add app
* fix
* nanka iroiro
* wip
* wip
* fix lint
* fix loginId
* fix
* refactor
* refactor
* remove follow action
* clean up
* Revert "remove follow action"
This reverts commit defbb416480905af2150d1c92f10d8e1d1288c0a.
* Revert "clean up"
This reverts commit f94919cb9cff41e274044fc69c56ad36a33974f2.
* remove fetch specification
* renoteの条件追加
* apiFetch => cli
* bypass fetch?
* fix
* refactor: use path alias
* temp: add submodule
* remove submodule
* enhane: unison-reloadに指定したパスに移動できるように
* null
* null
* feat: ログインするアカウントのIDをクエリ文字列で指定する機能
* null
* await?
* rename
* rename
* Update read.ts
* merge
* get-note-summary
* fix
* swパッケージに
* add missing packages
* fix getNoteSummary
* add webpack-cli
* ✌️
* remove plugins
* sw-inject分離したがテストしてない
* fix notification.vue
* remove a blank line
* disconnect intersection observer
* disconnect2
* fix notification.vue
* remove a blank line
* disconnect intersection observer
* disconnect2
* fix
* ✌️
* clean up config
* typesを戻した
* Update packages/client/src/components/notification.vue
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* disconnect
* oops
* Failed to load the script unexpectedly回避
sw.jsとlib.tsを分離してみた
* truncate notification
* Update packages/client/src/ui/_common_/common.vue
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* clean up
* clean up
* キャッシュ対策
* Truncate push notification message
* クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正
* components/drive-file-thumbnail.vue
* components/drive-select-dialog.vue
* components/drive-window.vue
* merge
* fix
* Service Workerのビルドにesbuildを使うようにする
* return createEmptyNotification()
* fix
* i18n.ts
* update
* ✌️
* remove ts-loader
* fix
* fix
* enhance: Service Workerを常に登録するように
* pollEnded
* URLをsw.jsに戻す
* clean up
* wip
* wip
* wip
* wip
* wip
* wip
* ✌️
* use import
* fix
* install rollup
* use defineAsyncComponent.
* fix emojilist
* wip use defineAsyncComponent
* popup(import -> popup(defineAsyncComponent(() => import
* draggable?
* fix init import
* clean up
* fix router
* add comment
* ✌️
* ✌️
* ✌️
* remove webpack
* update vite
* fix boot sequence
* Revert "fix boot sequence"
This reverts commit e893dbf37aed83bf9f12e427d98c78a7065b4a39.
* revert boot import
* never make two app div
* ;
* remove console.log
* change clientEntry sequence
* fix
* Revert "fix"
This reverts commit 12741b3d89950a31dbb1bb81477ddb27b0e9951a.
* fix
* add comment https://github.com/misskey-dev/misskey/pull/8575#issuecomment-1114239210
* add log
* add comment
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-05-01 22:51:07 +09:00
6ed010b192
fix _misskey_content of quote renotes ( #8533 )
2022-05-01 19:23:34 +09:00
MeiMei
60391ff37e
fix: Add rel attribute to host-meta ( #8583 )
...
* Add rel attribute to host-meta
* CHANGELOG
2022-05-01 19:14:14 +09:00
Andreas Nedbal
a00a1fd6b5
Refactor custom-css to use Composition API ( #8571 )
...
* refactor(client): refactor custom-css to use Composition API
* Apply review suggestion from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-01 15:50:09 +09:00
Andreas Nedbal
274ca6f7e6
refactor(client): refactor import-export to use Composition API ( #8579 )
2022-05-01 11:55:15 +09:00
Andreas Nedbal
475b7556d8
Refactor instance-mute to use Composition API ( #8580 )
...
* refactor(client): refactor instance-mute to use Composition API
* Apply review suggestion from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
* Apply review suggestion from @Johann150
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann@qwertqwefsday.eu>
2022-05-01 11:52:19 +09:00
Andreas Nedbal
3dc027bcd5
Refactor integration to use Composition API ( #8581 )
...
* refactor(client): refactor integration to use Composition API
* fix(client): drop superfluous enable* constants
* refactor(client): deduplicate window opening for services
2022-05-01 11:23:12 +09:00
tamaina
766559c6e9
feat: Improve Push Notification ( #7667 )
...
* clean up
* ev => data
* refactor
* clean up
* add type
* antenna
* channel
* fix
* add Packed type
* add PackedRef
* fix lint
* add emoji schema
* add reversiGame
* add reversiMatching
* remove signin schema (use Signin entity)
* add schemas refs, fix Packed type
* wip PackedHoge => Packed<'Hoge'>
* add Packed type
* note-reaction
* user
* user-group
* user-list
* note
* app, messaging-message
* notification
* drive-file
* drive-folder
* following
* muting
* blocking
* hashtag
* page
* app (with modifying schema)
* import user?
* channel
* antenna
* clip
* gallery-post
* emoji
* Packed
* reversi-matching
* update stream.ts
* https://github.com/misskey-dev/misskey/pull/7769#issuecomment-917542339
* fix lint
* clean up?
* add app
* fix
* nanka iroiro
* wip
* wip
* fix lint
* fix loginId
* fix
* refactor
* refactor
* remove follow action
* clean up
* Revert "remove follow action"
This reverts commit defbb416480905af2150d1c92f10d8e1d1288c0a.
* Revert "clean up"
This reverts commit f94919cb9cff41e274044fc69c56ad36a33974f2.
* remove fetch specification
* renoteの条件追加
* apiFetch => cli
* bypass fetch?
* fix
* refactor: use path alias
* temp: add submodule
* remove submodule
* enhane: unison-reloadに指定したパスに移動できるように
* null
* null
* feat: ログインするアカウントのIDをクエリ文字列で指定する機能
* null
* await?
* rename
* rename
* Update read.ts
* merge
* get-note-summary
* fix
* swパッケージに
* add missing packages
* fix getNoteSummary
* add webpack-cli
* ✌️
* remove plugins
* sw-inject分離したがテストしてない
* fix notification.vue
* remove a blank line
* disconnect intersection observer
* disconnect2
* fix notification.vue
* remove a blank line
* disconnect intersection observer
* disconnect2
* fix
* ✌️
* clean up config
* typesを戻した
* Update packages/client/src/components/notification.vue
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
* disconnect
* oops
* Failed to load the script unexpectedly回避
sw.jsとlib.tsを分離してみた
* truncate notification
* Update packages/client/src/ui/_common_/common.vue
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* clean up
* clean up
* キャッシュ対策
* Truncate push notification message
* クライアントがあったらストリームに接続しているということなので通知しない判定の位置を修正
* components/drive-file-thumbnail.vue
* components/drive-select-dialog.vue
* components/drive-window.vue
* merge
* fix
* Service Workerのビルドにesbuildを使うようにする
* return createEmptyNotification()
* fix
* i18n.ts
* update
* ✌️
* remove ts-loader
* fix
* fix
* enhance: Service Workerを常に登録するように
* pollEnded
* URLをsw.jsに戻す
* clean up
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-04-30 21:52:07 +09:00
dependabot[bot]
1c6d5ddf81
chore(deps): bump ejs from 3.1.6 to 3.1.7 in /packages/backend ( #8560 )
...
Bumps [ejs](https://github.com/mde/ejs ) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/mde/ejs/releases )
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.7 )
---
updated-dependencies:
- dependency-name: ejs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-30 00:16:40 +09:00
Andreas Nedbal
5ad42d1d85
refactor(client): refactor scratchpad to use Composition API ( #8565 )
2022-04-29 12:26:24 +09:00
Andreas Nedbal
8f32064fea
refactor(client): refactor api-console to use Composition API ( #8566 )
2022-04-29 10:21:02 +09:00
tamaina
12a3c6872f
enhance: ドライブに画像ファイルをアップロードするときオリジナル画像を破棄してwebpublicのみ保持するオプション ( #8216 )
...
* wip
* Update packages/client/src/os.ts
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
* メニューをComposition API化、switchアイテム追加
クライアントサイド画像圧縮の準備
* メニュー型定義を分離 (TypeScriptの型支援が効かないので)
* disabled
* make keepOriginal to follow setting value
* ✌️
* fix
* fix
* ✌️
* WEBP
* aaa
* ✌️
* webp
* lazy load browser-image-resizer
* rename
* rename 2
* Fix
* clean up
* add comment
* clean up
* jpeg, pngにもどす
* fix
* fix name
* webpでなくする ただしサムネやプレビューはwebpのまま (テスト)
* 動画サムネイルはjpegに
* エラーハンドリング
* ✌️
* v2.2.1-misskey-beta.2
* browser-image-resizer#v2.2.1-misskey.1
* ✌️
* fix alert
* update browser-image-resizer to v2.2.1-misskey.2
* lockfile
Co-authored-by: mei23 <m@m544.net>
Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
2022-04-28 11:14:03 +09:00
Andreas Nedbal
d0443f9de1
fix(client): fix lint issues in autocomplete ( #8548 )
2022-04-28 10:56:18 +09:00
a99cd645bb
refactor: use composition API ( #8541 )
2022-04-27 15:17:49 +09:00
tamaina
065324d30b
Fix #8535 Excessive stack ... 'SchemaTypeDef<?>' ( #8547 )
...
* Fix #8535 Excessive stack ... 'SchemaTypeDef<?>'
Co-authored-by: acid-chicken <root@acid-chicken.com>
* add comment
* clean up
Co-authored-by: acid-chicken <root@acid-chicken.com>
2022-04-27 10:49:00 +09:00
b9e3267198
fix: Promises -> Promise ( #8545 )
2022-04-25 15:14:13 +09:00
futchitwo
3f9a914718
Fix(client): fix profile tab link ( #8536 )
2022-04-24 14:21:46 +09:00
7e28c396b9
enhance: only render public notes in HTML template ( #8527 )
...
* only render public notes in HTML template
* fix missing import
2022-04-24 14:17:09 +09:00
tamaina
1b2ba09be0
fix: Fix schema key type error #8517 ( #8538 )
2022-04-24 11:43:15 +09:00
tamaina
eac71ae1d7
fix: Fix settings page ( #8508 )
...
* Fix settings page
* nanka iroiro
* clean up
* clean up
* インデックスに戻ってもタイトルが残ってしまうのを修正
2022-04-23 19:17:15 +09:00
syuilo
c2cae877ce
chore: fix lint command for windows
2022-04-23 12:50:37 +09:00
syuilo
fd13173eaf
bump jsrsasign
2022-04-23 12:48:26 +09:00
92d249210d
chore(lint): fix type definitions for jsrsasign ( #8528 )
...
* fix type definitions for jsrsasign
The @types/jsrsasign is not available in exactly the same version as the jsrsa
package misskey uses, so i used an earlier patch version of the same package.
* update yarn.lock
2022-04-23 12:45:36 +09:00
dependabot[bot]
29b9d8998a
chore(deps): bump moment from 2.24.0 to 2.29.3 in /packages/backend ( #8531 )
...
Bumps [moment](https://github.com/moment/moment ) from 2.24.0 to 2.29.3.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/2.29.3/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.24.0...2.29.3 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-23 12:39:44 +09:00
syuilo
84b183a9f6
refactor: use structuredClone for deep clone
2022-04-23 12:38:02 +09:00
syuilo
70958a9f77
update node to 18
2022-04-23 12:37:44 +09:00
syuilo
9f3650b0ef
update deps
2022-04-23 12:29:26 +09:00
syuilo
f02508c259
Revert "make emoji stand out more on reaction button"
...
This reverts commit e0c5401241
.
2022-04-20 09:30:29 +09:00
e0c5401241
make emoji stand out more on reaction button
...
a slight shadow makes them easier to see
2022-04-19 22:03:15 +02:00
xianon
60620bdb25
fix: アンテナ、クリップ、リストの表示を速くする ( #8518 )
...
* アンテナノートを取得するクエリがタイムアウトしないように速くする
* テーブル名を直接指定しないようにする
* クリップの取得を速くする
* リストの取得を速くする
2022-04-19 22:59:39 +09:00
3cf226d534
await promises ( #8519 )
2022-04-19 18:46:41 +09:00
syuilo
d338ea2591
fix ogp rendering and refactor
2022-04-17 21:18:18 +09:00
syuilo
ce51ef5df5
refactor
2022-04-17 21:01:02 +09:00
syuilo
31e5c5f69a
refactor
...
Resolve #8467
2022-04-17 20:58:37 +09:00
syuilo
ff8313b48b
refactor
2022-04-17 20:51:59 +09:00
syuilo
02bb36cdc4
refactor: fix type
2022-04-17 20:44:21 +09:00
syuilo
6b31ea1992
refactor: fix type
2022-04-17 17:30:27 +09:00
syuilo
31b216f667
refactor: fix type
2022-04-17 14:42:13 +09:00
syuilo
a671f9102d
refactor: fix type
2022-04-17 13:31:45 +09:00
syuilo
2d2b3edaaf
refactor: fix type
2022-04-17 13:26:31 +09:00
syuilo
1ee757cc5f
refactor: fix type
2022-04-17 13:21:07 +09:00
syuilo
3770bb6576
Streaming経由でのAPIリクエストを削除
2022-04-17 13:19:05 +09:00
syuilo
ddd655c0c1
refactor: fix type
2022-04-17 13:14:29 +09:00
syuilo
e0a4864bea
refactor: fix type
2022-04-17 13:01:30 +09:00
syuilo
d39465085c
refactor: fix type
2022-04-17 12:59:41 +09:00
syuilo
44a01c4b5a
refactoe
2022-04-16 17:19:30 +09:00
syuilo
4907dc91f7
lint
2022-04-16 17:18:51 +09:00
rinsuki
1d193b9a04
refactor: move typings to devDependencies ( #8500 )
2022-04-16 01:28:59 +09:00
syuilo
e598d46c31
Update settings.json
2022-04-15 21:33:00 +09:00
syuilo
2c1689c798
chore: add import/order rule for eslint
2022-04-15 15:05:43 +09:00
syuilo
08ff4926c7
enhance(client): show loading icon on splash screen
...
Close #8481
2022-04-11 23:11:11 +09:00
syuilo
a7015e6f09
refactor
2022-04-11 22:50:53 +09:00
syuilo
fd4ec81bcb
update deps
2022-04-11 22:48:04 +09:00
syuilo
9f7cdb4bc7
refactor
2022-04-08 19:01:38 +09:00
syuilo
daa0ca72a7
fix(api): parameter validation of users/show was wrong
2022-04-06 00:04:25 +09:00
syuilo
45c457b8b3
chore: fix lint on windows
2022-04-05 21:32:14 +09:00
syuilo
ec3be7e4d3
enhance(webhook): add userId to payload
2022-04-03 22:42:01 +09:00
syuilo
f8e6f3cc73
improve webhook
2022-04-03 22:36:30 +09:00
syuilo
7f5d189528
fix type
2022-04-03 16:40:47 +09:00
syuilo
ff9a074ab6
fix type
2022-04-03 16:35:36 +09:00
syuilo
91f4ec3747
fix types
2022-04-03 16:30:22 +09:00
syuilo
41c2aed7dc
chore: fix lint
2022-04-03 15:33:22 +09:00
syuilo
433505df48
fix e2e test
2022-04-03 15:14:26 +09:00
c8935b32f8
fix: validation (better #8456 ) ( #8461 )
...
* Revert "revert 484e023c0"
This reverts commit c03b70c949
.
* also allow pure renote
* fix checks for pure renote
2022-04-03 13:57:26 +09:00
tamaina
e47a8bf666
fix theme-color apply ( #8464 )
2022-04-03 13:56:00 +09:00
syuilo
408d54f2eb
fix(api): admin/update-meta was not working
2022-04-03 13:54:22 +09:00
Andreas Nedbal
f9b5d92176
Fix: Adjust ESLint calls to properly interpret globs ( #8462 )
...
* fix(backend): rename .eslintrc.js to .eslintrc.cjs
* fix(backend): wrap lint path glob in quotation marks
* fix(client): wrap lint path glob in quotation marks
* chore(workflow): make lint workflow use Node 16
2022-04-02 22:52:26 +09:00
syuilo
c03b70c949
revert 484e023c0
2022-04-02 16:47:53 +09:00
syuilo
6b6464a659
fix syntax error
2022-04-02 15:31:11 +09:00
syuilo
8e5f2690f2
feat: Webhook ( #8457 )
...
* feat: introduce webhook
* wip
* wip
* wip
* Update CHANGELOG.md
2022-04-02 15:28:49 +09:00
1033e8e57f
fix(federation): avoid duplicate activity delivery ( #8429 )
...
* prefer shared inbox over individual inbox
* no new shared inbox for direct recipes
* fix type error
2022-04-02 15:16:35 +09:00
tamaina
f7030d4a42
enhance: タッチパッド・タッチスクリーンでのデッキの操作性を向上 ( #8450 )
...
* enhance experience of deck with touchpad
* test: 単純にdeltaYを加算してみる
* clean up
* ios bug fix?
* ✌️
* use overflow-y
* Safari does not supports clip
2022-04-02 15:12:01 +09:00
484e023c0c
enhance(doc): required input fields ( #8456 )
...
* remove empty file
If the endpoint is to be implemented later, the file can be added back,
but for now it is confusing to have an empty file.
* enhance(doc): document defaults
Default for `isPublic` is based on the database schema default value.
Defaults for `local` and `withFiles` are based on the behaviour of the endpoint.
* enhance(doc): explain nullable emoji category
* fix: make nullable if default is null
* enhance(doc): explain mute attribute expiresAt
* fix: define required fields
- `notes/create`: the default for `text` has been removed because ajv can not handle
`default` inside of `anyOf`, see
https://ajv.js.org/guide/modifying-data.html#assigning-defaults
and the default value cannot be `null` if text is `nullable: false` in the `anyOf`
first alternative.
- `notes/create`: The `mediaIds` property has been marked as deprecated because it
has the same behaviour as using `fileIds`, but the implementation tries to handlè
`fileIds` first.
- The result schema for `admin/emoji/list` has been altered because the `host`
property will always be `null` as it is filtered this way in the database query.
See packages/backend/src/server/api/endpoints/admin/emoji/list.ts line 67.
* enhance(doc): explain nullable hostname
* update changelog
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-04-02 15:04:36 +09:00
syuilo
39302bf0ea
fix(server): admin/meta is not working
...
Fix #8455
2022-04-01 19:17:19 +09:00
syuilo
11ccb98c93
update deps
2022-04-01 19:13:40 +09:00
syuilo
4e63022a49
fix(server): add missing import
2022-03-29 18:46:59 +09:00
dependabot[bot]
7ccb9226ef
chore(deps): bump follow-redirects in /packages/backend ( #8314 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 16:42:05 +09:00
dependabot[bot]
48742dcee1
Bump ansi-regex from 5.0.0 to 5.0.1 in /packages/client ( #8422 )
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 16:41:52 +09:00
dependabot[bot]
4acfa7a191
Bump nanoid from 3.1.20 to 3.3.1 in /packages/client ( #8425 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.20 to 3.3.1.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.20...3.3.1 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 16:41:39 +09:00
dependabot[bot]
122d5ea529
Bump nanoid from 3.1.30 to 3.3.1 in /packages/backend ( #8426 )
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.30 to 3.3.1.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.3.1 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 16:41:26 +09:00
dependabot[bot]
ba66ddd41e
chore(deps): bump minimist from 1.2.5 to 1.2.6 in /packages/client ( #8446 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 16:32:57 +09:00
syuilo
525b4b6cf4
tweak client
2022-03-27 16:28:25 +09:00
syuilo
30fe632d54
fix of client
2022-03-27 16:21:09 +09:00
syuilo
4e139d2aae
fix query
2022-03-27 16:16:13 +09:00
syuilo
d113aae217
update deps
2022-03-27 15:34:34 +09:00
a6f6ddc34e
limit federation of reactions on direct notes ( #8448 )
2022-03-27 13:57:04 +09:00
syuilo
c7969ef418
refactor
2022-03-27 02:22:31 +09:00
tamaina
a3cdb4cca1
fix: Handle decodeURIComponent error ( #8411 )
2022-03-27 02:21:56 +09:00
syuilo
e6f455a9bb
fix null in query
2022-03-26 19:48:22 +09:00
syuilo
fa1a53270e
refactor
2022-03-26 19:33:18 +09:00
syuilo
17589843da
perf(server): use cached user info in getUserFromApId
2022-03-26 19:09:57 +09:00
syuilo
8cbfc047bb
refactor
2022-03-26 18:42:37 +09:00
syuilo
475cee9029
perf(server): reduce db query when get notifications
2022-03-26 18:22:55 +09:00
syuilo
3cac8e0f6f
perf(server): improve deliver performance
2022-03-26 17:43:08 +09:00
syuilo
bc2c40a6ca
refactor and performance improvements
2022-03-26 17:19:27 +09:00
dependabot[bot]
7a4c3bab7e
chore(deps): bump minimist from 1.2.5 to 1.2.6 in /packages/backend ( #8447 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-26 15:35:10 +09:00
syuilo
1c67c26bd8
refactor: migrate to typeorm 3.0 ( #8443 )
...
* wip
* wip
* wip
* Update following.ts
* wip
* wip
* wip
* Update resolve-user.ts
* maxQueryExecutionTime
* wip
* wip
2022-03-26 15:34:00 +09:00
syuilo
41c87074e6
.js
2022-03-25 16:35:24 +09:00
syuilo
889a890ac5
update deps
2022-03-25 16:32:10 +09:00
syuilo
ac8c66f5ab
perf(server): refactor and performance improvements
2022-03-25 16:27:41 +09:00
syuilo
22b56ac65c
refactor
2022-03-25 13:11:52 +09:00
syuilo
6f5282058f
Update account.ts
2022-03-25 02:43:48 +09:00
syuilo
863b6c48f8
enhance(client): アカウント情報の取得に失敗したとき強制ログアウトではなく警告を表示するように
2022-03-25 01:53:20 +09:00
syuilo
083b913dd2
refactor
2022-03-25 01:51:34 +09:00
syuilo
d0a346ed8a
refactor: separate meta api for admin or not
2022-03-25 01:50:28 +09:00
725b78349a
recognize null in _misskey_content for notes ( #8440 )
2022-03-23 03:16:04 +09:00
Ehsan Javadynia
08bace6c7d
Resolve #7208 ( #7226 )
...
add decrement replies count on delete note and a test for that
2022-03-22 22:48:33 +09:00
MeiMei
ba9563b983
Use unique id for Undo ( #8434 )
2022-03-22 00:39:00 +09:00
syuilo
9320c1699a
perf(server): disable some antenna features to improve performance
2022-03-22 00:07:43 +09:00
syuilo
ff19640171
perf(server): reduce db query
2022-03-21 20:43:43 +09:00
syuilo
81ee9025fb
tweak log
2022-03-21 05:45:09 +09:00
syuilo
0d05f05610
chore: add note
2022-03-21 05:43:52 +09:00
syuilo
21de5c4a9c
perf(server): reduce db query
2022-03-21 05:42:11 +09:00
syuilo
131ff24e53
.js
2022-03-21 05:33:06 +09:00
syuilo
b6da0e9b92
.js
2022-03-21 05:31:04 +09:00
syuilo
836ae732f6
perf(server): cache nodeinfo to reduce db query
2022-03-21 05:26:42 +09:00
syuilo
6f2e93c6a1
perf(server): reduce db query
2022-03-21 05:21:37 +09:00
tamaina
78736c70f7
デッキまわりをCompositon API / Setup Sugarに ( #8410 )
...
* universal.widgets.vue
* column.vue, antenna-column.vue
* direct-column.vue, list-column.vue
* main-column.vue
* wip
* ✌️
* fix
* ✌️
* ✌️
2022-03-21 03:11:14 +09:00
syuilo
eb9e6d230f
perf(server): reduce db query
2022-03-21 01:22:00 +09:00
syuilo
aebd77ad38
perf(server): reduce db query
2022-03-20 15:44:49 +09:00
Kainoa Kanter
f68b646878
Fix: warn about outdated NodeJS fixed ( #8388 )
...
* Fix #8387
* update changelog
Co-authored-by: Johann150 <johann.galle@protonmail.com>
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-03-20 01:34:45 +09:00
syuilo
c928941d29
fix(client): fix popup menu direction calclation
2022-03-19 22:03:53 +09:00
syuilo
544b5ba838
perf(server): reduce memory usage of redis
2022-03-19 19:34:04 +09:00
syuilo
815c8bf4c8
update deps
2022-03-19 19:22:58 +09:00
syuilo
3e9ac810ba
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2022-03-19 19:09:02 +09:00
syuilo
caadc0978a
feat: introduce bull dashboard
2022-03-19 19:08:55 +09:00
255dc6334f
fix API console ( #8416 )
...
Adjusted the server to send the API description based on the new
API type declarations introduced previously.
2022-03-19 18:25:06 +09:00
dogcraft
c0bf7cd871
Fix: "Adding email to profile ends in error" ( #8405 )
2022-03-14 22:57:55 +09:00
dogcraft
db900c8324
Fix bug : "IPCIDR is not a constructor" ( #8400 )
2022-03-12 19:23:57 +09:00
syuilo
19ff9a3b4d
fix(server): HTMLが正しくレンダリングされない問題を修正
...
Fix #8392
2022-03-12 15:21:07 +09:00
syuilo
d1d68c0124
fix(server): dummy image is not served correctly
...
Fix #8393
2022-03-12 15:13:11 +09:00
syuilo
fb355abbcf
🎨
2022-03-12 14:54:08 +09:00
syuilo
865bb89995
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2022-03-12 13:21:39 +09:00
xianon
0a6c9a00bd
リレーが動作するように修正する ( #8396 )
2022-03-12 13:21:04 +09:00
syuilo
5490d82e3b
tweal c;iemy
2022-03-11 18:55:47 +09:00
syuilo
357da2ce3a
fix(server): ulidを使用していると動作しない問題を修正
2022-03-11 12:44:35 +09:00
syuilo
4f8495c7ad
feat: use instance icon for splash screen
2022-03-09 23:00:28 +09:00
syuilo
23d3762d04
Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop
2022-03-09 22:48:12 +09:00
5760799dec
use high resolution asset for splash screen ( #7875 )
2022-03-09 22:47:25 +09:00
syuilo
b9027e1b57
update deps
2022-03-09 22:43:41 +09:00
9c36cc8b01
fix scroll ( #8382 )
2022-03-09 22:33:07 +09:00
MeiMei
a07037affc
テーマ選択から重複要素を排除するように ( #8385 )
2022-03-09 22:18:14 +09:00
26d90cd030
remove HTTPS handling ( #8380 )
2022-03-08 23:23:18 +09:00
syuilo
b929bffea5
fix federation chart
2022-03-08 22:56:46 +09:00