Commit Graph

24240 Commits

Author SHA1 Message Date
tamaina e1d69e236f
enhance: e2eテストをできるだけ改良してみた (#8159)
* update docker image?

* 続

* serial run delete from "${table}" cascade

* use cypress official github action

* refuse install by cypress action

* clean up

* use wait?

* use more wait?

* Revert "use more wait?"

This reverts commit 18d0fcae9c7d8f98a4cafb4a846a031ece57350c.

* Revert "use wait?"

This reverts commit 5aa8feec9cdc3e2f79e566249f0a0eff6c0df6a0.

* fix

* test

* test

* log?

* 握りつぶしてみる

* clean up

* env?

* clean up?

* disable video

* add comment

* remove test

* 成功?

* test browser

* nodeインストール無効化

* node16.13.0-chrome95-ff94

* node.js復活

* ?

* ちょっと戻してみる

* chrome?

* cross browser test2

* --shm-size=2g

* artifact?

* misskey.local?

* firefoxはあきらめる

* not headless?

* oops

* fix

* ??

* test1

* if?

* fail-fast: false

* headless: false

* easy error ignoreing describe

* エラーの解消
とちょっとリファクター

* add browser name to artifact

* Install mplayer for FireFox

* no wait?

* タイムアウトを甘くしてみる

* firefoxをあきらめる(n回目)

* remove timeout setting

* wait復活

* Update basic.js

* Update index.js

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-01-21 16:43:56 +09:00
Johann150 cbb7e95d82
enhance: Forward report (#8001)
* implement sending AP Flag object

Optionally allow a user to select to forward a report about a remote
user to the other instance. This is added in a backwards-compatible way.

* add locale string

* forward report only for moderators

* add switch to moderator UI to forward report

* fix report note url

* return forwarded status from API

apparently forgot to carry this over from my testing environment

* object in Flag activity has to be an array

For correct interoperability with Pleroma the "object" property of the Flag
activity has to be an array.

This array will in the future also hold the link to respective notes, so it
makes sense to correct this on our side.

* Update get-note-menu.ts

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2022-01-21 03:06:38 +09:00
Johann150 e2d2a4e2e4
fix: code url in documentation (#8117)
It seems this was not changed while refactoring the modules apart.
2022-01-21 03:01:45 +09:00
syuilo 7a999f2289 feat(server): add more metadata for emoji export 2022-01-21 02:56:08 +09:00
tamaina 1bd7c55c88
post-form.vue (#8164) 2022-01-20 23:15:08 +09:00
tamaina 7627c43dee
send-drive-file svg as png (#8107) 2022-01-20 03:05:52 +09:00
tamaina 74df9b57ec
fix: proxyでsvgをpngに変換するように (#8106)
* wip

* revert send-drive-file change

* fix

* Update packages/backend/src/server/proxy/proxy-media.ts

Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>

Co-authored-by: MeiMei <30769358+mei23@users.noreply.github.com>
2022-01-20 03:03:28 +09:00
syuilo 59520c31fd refactor(server): use named export 2022-01-20 02:43:13 +09:00
syuilo 53937e09a0 feat(server): store mime type of webpublic 2022-01-20 02:40:13 +09:00
syuilo 8b5a1faaa4 refactor(server): use insert instead of save 2022-01-20 02:33:20 +09:00
syuilo 2a1d9a7428 refactor 2022-01-20 01:27:41 +09:00
syuilo b5ccac3cb5 refactor 2022-01-19 23:51:37 +09:00
syuilo d7d533f9de fix #8158 2022-01-19 23:51:28 +09:00
xianon f14aba65c5
モバイル画面で表示更新直後にヘッダーメニューをタップしてもポップアップにならないようにする (#8160) 2022-01-19 00:25:29 +09:00
tamaina 7be09a4af9
refactor: Composition APIへ移行 (#8138)
* components/drive-file-thumbnail.vue

* components/drive-select-dialog.vue

* components/drive-window.vue

* wip

* wip drive.file.vue, drive.vue

* fix prop

* wip(

* components/drive.folder.vue

* maybe ok

* ✌️

* fix variable

* FIX FOLDER VARIABLE

* components/emoji-picker-dialog.vue

* Hate `$emit`

* hate global property

* components/emoji-picker-window.vue

* components/emoji-picker.section.vue

* fix

* fixx

* wip components/emoji-picker.vue

* fix

* defineExpose

* ユニコード絵文字の型をもっといい感じに

* components/featured-photos.vue

* components/follow-button.vue

* forgot-password.vue

* forgot-password.vue

* 🎨

* fix
2022-01-18 23:06:16 +09:00
tamaina efb0ffc4ec
refactor: APIエンドポイントファイルの定義を良い感じにする (#8154)
* Fix API Schema Error

* Delete SimpleSchema/SimpleObj
and Move schemas to dedicated files

* Userのスキーマを分割してみる

* define packMany type

* add ,

* Ensure enum schema and Make "as const" put once

* test?

* Revert "test?"

This reverts commit 97dc9bfa70851bfb7d1cf38e883f8df20fb78b79.

* Revert "Fix API Schema Error"

This reverts commit 21b6176d974ed8e3eb73723ad21a105c5d297323.

* ✌️

* clean up

* test?

* wip

* wip

* better schema def

* ✌️

* fix

* add minLength property

* wip

* wip

* wip

* anyOf/oneOf/allOfに対応? ~ relation.ts

* refactor!

* Define MinimumSchema

* wip

* wip

* anyOf/oneOf/allOfが動作するようにUnionSchemaTypeを修正

* anyOf/oneOf/allOfが動作するようにUnionSchemaTypeを修正

* Update packages/backend/src/misc/schema.ts

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>

* fix

* array oneOfをより正確な型に

* array oneOfをより正確な型に

* wip

* ✌️

* なんかもういろいろ

* remove

* very good schema

* api schema

* wip

* refactor: awaitAllの型定義を変えてみる

* fix

* specify types in awaitAll

* specify types in awaitAll

* ✌️

* wip

* ...

* ✌️

* AllowDateはやめておく

* 不必要なoptional: false, nullable: falseを廃止

* Packedが展開されないように

* 続packed

* wip

* define note type

* wip

* UserDetailedをMeDetailedかUserDetailedNotMeかを区別できるように

* wip

* wip

* wip specify user type of other schemas

* ok

* convertSchemaToOpenApiSchemaを改修

* convertSchemaToOpenApiSchemaを改修

* Fix

* fix

* ✌️

* wip

* 分割代入ではなくallOfで定義するように

Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2022-01-18 22:27:10 +09:00
syuilo a8fad1b61c refactor 2022-01-18 21:35:57 +09:00
tamaina 9869f01e7c
Fix #8151 (#8152) 2022-01-18 21:32:17 +09:00
syuilo 7588397fb8 wip: refactor(client): migrate components to composition api
Fix #8155
2022-01-18 21:30:17 +09:00
syuilo 9885c6ba6c wip: refactor(client): migrate components to composition api 2022-01-16 21:31:09 +09:00
tamaina 04bafc5aee Merge branch 'develop' into pizzax-indexeddb 2022-01-16 18:01:23 +09:00
syuilo 3e9677904d wip: refactor(client): migrate components to composition api 2022-01-16 15:02:15 +09:00
syuilo df61e173c1 wip: refactor(client): migrate components to composition api 2022-01-16 11:02:27 +09:00
syuilo 2c36844d34 refactor: more common name 2022-01-16 10:45:48 +09:00
syuilo cc6b2d578f refactor: disallow some variable names 2022-01-16 10:20:23 +09:00
syuilo 8322c90834 refactor(client): specify global scope 2022-01-16 10:14:14 +09:00
syuilo b312846ff6 clean up 2022-01-16 08:50:55 +09:00
syuilo 689e75e10a wip: refactor(client): migrate components to composition api 2022-01-16 08:49:27 +09:00
syuilo 133b5c6391 wip: refactor(client): migrate components to composition api 2022-01-16 08:38:55 +09:00
syuilo ed5c918d70 wip: refactor(client): migrate components to composition api 2022-01-16 08:24:53 +09:00
syuilo bf51450647 wip: refactor(client): migrate components to composition api 2022-01-16 07:55:19 +09:00
syuilo 7cbeef21e1 wip: refactor(client): migrate components to composition api 2022-01-16 07:47:28 +09:00
syuilo 9693dfb09d wip: refactor(client): migrate components to composition api 2022-01-16 06:59:35 +09:00
syuilo c17e8fa8a4 wip: refactor(client): migrate components to composition api 2022-01-16 01:46:25 +09:00
syuilo 21c9705a0f wip: refactor(client): migrate components to composition api 2022-01-15 20:42:30 +09:00
syuilo daba865a94 wip: refactor(client): migrate components to composition api 2022-01-15 20:35:10 +09:00
syuilo 41e18aa993 wip: refactor(client): migrate components to composition api 2022-01-15 17:58:35 +09:00
syuilo ffc07a08d7 wip: refactor(client): migrate components to composition api 2022-01-15 16:40:15 +09:00
syuilo 7f4fc20f98 wip: refactor(client): migrate components to composition api 2022-01-14 23:23:08 +09:00
syuilo 45462e4a5e wip: refactor(client): migrate paging components to composition api 2022-01-14 12:02:10 +09:00
syuilo c8a90ec7d1 wip: refactor(client): migrate paging components to composition api 2022-01-14 10:35:32 +09:00
syuilo 41ece00789 wip: refactor(client): migrate paging components to composition api 2022-01-14 10:29:18 +09:00
syuilo 28193f12ca wip: refactor(client): migrate paging components to composition api 2022-01-14 10:25:51 +09:00
syuilo 27778f839a 🎨 2022-01-14 01:44:08 +09:00
syuilo 8ab9b92f60 0.0.13 2022-01-14 01:33:48 +09:00
syuilo 287f595239 Resolve #38 2022-01-14 01:33:42 +09:00
syuilo ef4d78dda2 wip: refactor(client): migrate paging components to composition api 2022-01-13 02:55:19 +09:00
syuilo bd1f741dad wip: refactor(client): migrate paging components to composition api 2022-01-13 02:46:14 +09:00
syuilo 2900f998b1 wip: refactor(client): migrate paging components to composition api 2022-01-13 02:36:51 +09:00
syuilo 7271fbb092 wip: refactor(client): migrate paging components to composition api 2022-01-13 02:29:27 +09:00