summaryrefslogtreecommitdiff
path: root/packages/client/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* enhance(client): show warning in control panel when there is an unresolved ↵syuilo2022-06-212-1/+12
| | | | abuse report
* tweak clientsyuilo2022-06-215-167/+166
|
* refactor(client): use composition apisyuilo2022-06-211-54/+43
|
* chore: add commentssyuilo2022-06-212-2/+6
|
* tweak clientsyuilo2022-06-216-181/+194
| | | | Fix #8856
* fix: block button in federation panel (#8855)Johann1502022-06-201-6/+11
|
* tweak clientsyuilo2022-06-202-15/+8
|
* fix clientsyuilo2022-06-202-182/+184
|
* refactor(client): Refine routing (#8846)syuilo2022-06-20145-6489/+6143
|
* refactor: チャットルームをComposition API化 (#8850)tamaina2022-06-206-612/+536
| | | | | | | | | | | | | | | | | | | | | * pick form * pick message * pick room * fix lint * fix scroll? * fix scroll.ts * fix directives/sticky-container * update global/sticky-container.vue * fix, :art: * test.1
* feat: Add Badge Image to Push Notification (#8012)tamaina2022-06-203-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 * :v: * 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 * :v: * 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 * :v: * 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>
* Refactor page-editor elements to use Composition API (#8721)Andreas Nedbal2022-06-1815-427/+213
| | | | | | | | | * 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>
* fix typosyuilo2022-06-183-8/+8
|
* Improve: unclip (#8823)futchitwo2022-06-184-9/+49
| | | | | | | | | | | | | | | | | | | | | | | * 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>
* Refactor clip page to Composition API (#8822)futchitwo2022-06-181-104/+73
| | | | | | | | | * Refactor clip page to use Composition API * Refactor clip page * Refactor clip page * Refactor clip page
* enhance(client): improve file moderation uisyuilo2022-06-173-29/+29
|
* chore(client): tweak range control designsyuilo2022-06-171-1/+3
|
* enhance(client): improve files page of control panelsyuilo2022-06-164-94/+102
|
* Fix(client): fix wrong gallery page component (#8815)futchitwo2022-06-121-1/+1
|
* lintsyuilo2022-06-122-13/+13
|
* fix(client): ↵syuilo2022-06-121-1/+1
| | | | | | デッキでウィジェットの情報が保存されない問題を修正 Fix #8818
* Update cropper-dialog.vuesyuilo2022-06-111-1/+1
|
* Update cropper-dialog.vuesyuilo2022-06-111-2/+6
|
* fix(client): ↵syuilo2022-06-111-1/+1
| | | | オブジェクトストレージを使用していると画像のクロップができない
* feat: image cropping (#8808)syuilo2022-06-115-85/+300
| | | | | | | * wip * wip * wip
* chore: fix some lints automatically (#8788)Johann1502022-06-1057-88/+86
| | | | | | | | | * chore: fix some lints automatically Fixed lints that were automatically fixable with `eslint --fix`. * fix type * workaround for empty interface lint
* refactor: follow button (#8789)Johann1502022-06-101-20/+14
| | | | | | | | | | | | | | | | | | * 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>
* fix(client): render quote renote CWs as MFM (#8792)Andreas Nedbal2022-06-091-1/+1
| | | Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
* fix: use autocomplete=new-password (#8797)Johann1502022-06-091-6/+6
|
* properly display alt text for videos (#8802)Johann1502022-06-091-1/+2
| | | | The alt text is already properly federated and given by the API, it is just not displayed properly by the client.
* fix: try to prevent autocomplete for emoji search (#8798)Johann1502022-06-081-1/+1
|
* 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>