summaryrefslogtreecommitdiff
path: root/packages/client/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* chore: lint fixessyuilo2022-06-057-40/+41
|
* chore(client): fix menu item stylesyuilo2022-06-051-10/+11
|
* Revert "feat: option to collapse long notes (#8561)"syuilo2022-06-041-24/+3
| | | | This reverts commit e675ffcf38b07f5c70d00b49c171c7ab3460e810.
* feat: option to collapse long notes (#8561)Balazs Nadasdi2022-06-041-3/+24
| | | | | | | | | | | | | * 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
* User moderation details (#8762)PikaDude2022-06-031-0/+3
| | | | | | | | | | | | | | | | | * 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>
* fix(client): correctly handle MiAuth URLs with query string (#8772)sn0w2022-06-031-1/+4
|
* fix: server metrics widgetJohann1502022-06-011-4/+4
|
* fix(lint): indentationJohann1502022-05-311-1/+1
|
* chore: fix import tinycolortamaina2022-05-301-1/+1
|
* fix(client): fix popout url (#8494)futchitwo2022-05-292-3/+4
|
* refactor: improve code quality (#8751)Johann1502022-05-292-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* refactor: use css module at components/global/loading.vue (#8750)tamaina2022-05-291-31/+33
| | | | | * refactor: use css module at components/global/loading.vue * rename class name to "root"
* Fix theme import (#8749)tamaina2022-05-284-28/+41
|
* feat(tests): add e2e tests for widgets (#8735)Andreas Nedbal2022-05-2815-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* enhance: replace signin CAPTCHA with rate limit (#8740)Johann1502022-05-281-4/+8
| | | | | | | | | | | | | | | | | | | | | | | * 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 02a43a310f6ad0cc9e9beccc26e51ab5b339e15f. * Revert "feat: make captcha required when signin to improve security" This reverts commit b21b0580058c14532ff3f4033e2a9147643bfca6. * fix undefined reference * fix: better error message * enhance: only handle prefix of IPv6
* fix lints (#8737)Johann1502022-05-2669-257/+255
| | | | | | | | | | | | | | | * 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
* fix: activity widget used wrong variable nameJohann1502022-05-251-3/+3
|
* fix: server metrics widgetJohann1502022-05-251-4/+4
|
* Refactor widgets and fix lint issues (#8719)Andreas Nedbal2022-05-2526-313/+256
| | | | | | | | | * 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>
* refactor(client): refactor admin/other-settings to use Composition API (#8667)Andreas Nedbal2022-05-251-39/+22
|
* Refactor admin/overview to use Composition API (#8674)Andreas Nedbal2022-05-251-79/+37
| | | | | * refactor(client): refactor admin/overview to use Composition API * fix(client): apply review suggestions
* Refactor my-antennas/edit to use Composition API (#8680)Andreas Nedbal2022-05-252-146/+96
| | | | | * refactor(client): refactor my-antennas/edit to use Composition API * fix(client): apply review suggestions
* Supports Unicode Emoji 14.0 (#8699)MeiMei2022-05-251-3/+39
| | | | | | | | | * Unicode 14.0 Emoji * mfm-js@0.22.0 * CHANGELOG Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix(client): wrong scoping breaks 2FAJohann1502022-05-231-2/+2
|
* fix(client): fix undefined data value on 2FA settings (#8725)Andreas Nedbal2022-05-231-1/+1
|
* chore(meta): add pixeldesu to patron list (#8714)Andreas Nedbal2022-05-211-0/+1
|
* fix(client): make emoji stand out more on reaction buttonsyuilo2022-05-191-4/+8
| | | | | | | Fix #8520 Close #8521 Co-Authored-By: Johann150 <20990607+Johann150@users.noreply.github.com>
* enhance: page image component with alt text (#8634)Johann1502022-05-191-20/+8
| | | | | | | | | | | | | * 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
* enhance(MFM): limit large MFM (#8540)Johann1502022-05-192-6/+35
| | | | | | | | | | | * 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>
* fix: ↵xianon2022-05-192-2/+11
| | | | | | | ノート詳細ページの新しいノートを表示する機能の動作が正しくなるように修正する (#8607) * ノート詳細で新しいノートの表示が正しくないのを修正する * ノート詳細から別のノート詳細を表示した時に前後の表示をリセットする
* refactor(client): refactor admin/settings to use Composition API (#8678)Andreas Nedbal2022-05-191-141/+125
|
* Refactor pleaseLogin to show a sign-in dialog (#8630)Andreas Nedbal2022-05-193-195/+206
| | | | | | | | | | * 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>
* fix(client): fix lint issues in Deck UI components (#8681)Andreas Nedbal2022-05-1911-34/+34
|
* Merge branch 'develop' of https://github.com/misskey-dev/misskey into developsyuilo2022-05-191-0/+13
|\
| * fix: ↵xianon2022-05-191-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | ノートのインスタンス情報の文字に縁を付けて見やすくする (#8697) * ノートのインスタンス情報の背景色が反映されないことがあるのを修正する * ノートのインスタンス情報の文字に縁を付けて見やすくする * Revert "ノートのインスタンス情報の背景色が反映されないことがあるのを修正する" This reverts commit de920dfc537d1f2c68804d0d6930520f2b3cbce7. * ノートのインスタンス情報の文字の影の数を増やしてさらに見やすくする
* | chore(client): tweak loading spinner designsyuilo2022-05-191-6/+6
|/
* chore(client): tweak loading spinner designsyuilo2022-05-191-21/+31
|
* remove unneeded attrs (#8673)あずき⪥™2022-05-181-1/+1
|
* Refactor file-dialog to use Composition API (#8661)Andreas Nedbal2022-05-181-54/+32
| | | | | | | | | * 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>
* Refactor admin/index to use Composition API (#8662)Andreas Nedbal2022-05-181-277/+262
| | | | | | | | | | | | | * 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>
* refactor(client): refactor admin/instance-block to use Composition API (#8663)Andreas Nedbal2022-05-181-35/+23
|
* Refactor admin/integrations to use Composition API (#8664)Andreas Nedbal2022-05-184-167/+87
| | | | | | | | | * 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>
* refactor(client): refactor admin/object-storage to use Composition API (#8666)Andreas Nedbal2022-05-181-92/+78
|
* refactor(client): refactor admin/proxy-account to use Composition API (#8675)Andreas Nedbal2022-05-181-48/+35
|
* Refactor admin/queue to use Composition API (#8676)Andreas Nedbal2022-05-182-96/+63
| | | | | | | | | * 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>
* Refactor admin/relays to use Composition API (#8677)Andreas Nedbal2022-05-181-65/+52
| | | | | | | | | * 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>
* refactor(client): refactor my-antennas/index to use Composition API (#8679)Andreas Nedbal2022-05-181-26/+15
|
* Refactor emoji-edit-dialog to use Composition API (#8657)Andreas Nedbal2022-05-153-69/+61
| | | | | | | | | | | | | | | | | | | | | * 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>
* CAPTCHA求めるのは2fa認証が無効になっているときだけにしたsyuilo2022-05-151-2/+2
| | | | 2faのトークンは期限付きだから、CAPTCHA解いてる間に期限切れになる
* feat: make captcha required when signin to improve securitysyuilo2022-05-152-6/+17
|