Commit graph

284 commits

Author SHA1 Message Date
tamaina
3b1c365e81 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
627e3c07b9 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
c42e63a1ca 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
2e8c622c53 feat(server): add more metadata for emoji export 2022-01-21 02:56:08 +09:00
tamaina
3f895af3d1 post-form.vue (#8164) 2022-01-20 23:15:08 +09:00
tamaina
56dbd1ae69 send-drive-file svg as png (#8107) 2022-01-20 03:05:52 +09:00
tamaina
9c12277948 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
93f79c1d8c refactor(server): use named export 2022-01-20 02:43:13 +09:00
syuilo
3230cdaa4f feat(server): store mime type of webpublic 2022-01-20 02:40:13 +09:00
syuilo
6c01a2aec1 refactor(server): use insert instead of save 2022-01-20 02:33:20 +09:00
syuilo
934132e08a refactor 2022-01-20 01:27:41 +09:00
syuilo
78a77a174b refactor 2022-01-19 23:51:37 +09:00
syuilo
8e93632fcf fix #8158 2022-01-19 23:51:28 +09:00
xianon
ad1649bb96 モバイル画面で表示更新直後にヘッダーメニューをタップしてもポップアップにならないようにする (#8160) 2022-01-19 00:25:29 +09:00
tamaina
6f81b2e747 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
66ef4f1ebe 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
8245de9bef refactor 2022-01-18 21:35:57 +09:00
tamaina
d9de4375e0 Fix #8151 (#8152) 2022-01-18 21:32:17 +09:00
syuilo
afafc55de0 wip: refactor(client): migrate components to composition api
Fix #8155
2022-01-18 21:30:17 +09:00
syuilo
79980a22c3 wip: refactor(client): migrate components to composition api 2022-01-16 21:31:09 +09:00
syuilo
0e08a1c8d2 wip: refactor(client): migrate components to composition api 2022-01-16 15:02:15 +09:00
syuilo
1d530be2cf wip: refactor(client): migrate components to composition api 2022-01-16 11:02:27 +09:00
syuilo
da8e2891cc refactor: more common name 2022-01-16 10:45:48 +09:00
syuilo
76dd3e8ebb refactor: disallow some variable names 2022-01-16 10:20:23 +09:00
syuilo
79c78bb6f2 refactor(client): specify global scope 2022-01-16 10:14:14 +09:00
syuilo
1c801cb778 clean up 2022-01-16 08:50:55 +09:00
syuilo
bdba40051a wip: refactor(client): migrate components to composition api 2022-01-16 08:49:27 +09:00
syuilo
a68113e24f wip: refactor(client): migrate components to composition api 2022-01-16 08:38:55 +09:00
syuilo
2a66ff3991 wip: refactor(client): migrate components to composition api 2022-01-16 08:24:53 +09:00
syuilo
99278833e8 wip: refactor(client): migrate components to composition api 2022-01-16 07:55:19 +09:00
syuilo
52c13e9db5 wip: refactor(client): migrate components to composition api 2022-01-16 07:47:28 +09:00
syuilo
363cc98b79 wip: refactor(client): migrate components to composition api 2022-01-16 06:59:35 +09:00
syuilo
42bb5626dc wip: refactor(client): migrate components to composition api 2022-01-16 01:46:25 +09:00
syuilo
d9788c59a4 wip: refactor(client): migrate components to composition api 2022-01-15 20:42:30 +09:00
syuilo
d820a979c1 wip: refactor(client): migrate components to composition api 2022-01-15 20:35:10 +09:00
syuilo
19484b63b4 wip: refactor(client): migrate components to composition api 2022-01-15 17:58:35 +09:00
syuilo
1edd4334cd wip: refactor(client): migrate components to composition api 2022-01-15 16:40:15 +09:00
syuilo
f087242caa wip: refactor(client): migrate components to composition api 2022-01-14 23:23:08 +09:00
syuilo
431054040f wip: refactor(client): migrate paging components to composition api 2022-01-14 12:02:10 +09:00
syuilo
bb4589a1ef wip: refactor(client): migrate paging components to composition api 2022-01-14 10:35:32 +09:00
syuilo
5755f89f3d wip: refactor(client): migrate paging components to composition api 2022-01-14 10:29:18 +09:00
syuilo
789f2e4cab wip: refactor(client): migrate paging components to composition api 2022-01-14 10:25:51 +09:00
syuilo
1ed9f31891 🎨 2022-01-14 01:44:08 +09:00
syuilo
0341e5ea59 wip: refactor(client): migrate paging components to composition api 2022-01-13 02:55:19 +09:00
syuilo
e91fd69f7a wip: refactor(client): migrate paging components to composition api 2022-01-13 02:46:14 +09:00
syuilo
d1f1b9883e wip: refactor(client): migrate paging components to composition api 2022-01-13 02:36:51 +09:00
syuilo
d9572b3bfe wip: refactor(client): migrate paging components to composition api 2022-01-13 02:29:27 +09:00
syuilo
31cf4fa683 refactor 2022-01-13 02:26:10 +09:00
syuilo
9fa7311880 wip: refactor(client): migrate paging components to composition api 2022-01-13 02:21:43 +09:00
syuilo
39ec2a77fa refactor 2022-01-13 01:50:53 +09:00