Commit graph

150 commits

Author SHA1 Message Date
KMY
a0a3d1b101 Merge remote-tracking branch 'parent/main' into upstream-20230105 2024-01-05 10:01:36 +09:00
KMY(雪あすか)
2c5c068365
Fix: #416 フィルターでhalf_warnを指定した時の代替値指定ミス (#423) 2024-01-05 09:07:48 +09:00
Emelia Smith
9826b7780a
Streaming: use standard cors package instead of custom implementation (#28523) 2024-01-04 09:18:03 +00:00
KMY(雪あすか)
eee362b9e0
Fix: #404 フィルターでhalf_warnを設定してると、クライアントアプリでタイムラインが読み込まれない (#410) 2024-01-03 22:10:02 +09:00
KMY
16914f5f02 Merge commit 'c40cfc5d09' into upstream-20231129 2023-11-29 12:43:01 +09:00
Emelia Smith
a4de0e364b
Refactor streaming to simplify for logging change (#28056) 2023-11-28 14:24:41 +00:00
KMY
24371d6b2a Merge remote-tracking branch 'parent/main' into upstream-20231116 2023-11-15 13:01:29 +09:00
Emelia Smith
15b2d7eec5
Split streaming server from web server (#24702) 2023-11-14 17:43:20 +00:00
KMY
80498c8377 Merge remote-tracking branch 'parent/main' into kb-merge-231010 2023-10-10 22:17:15 +09:00
Renaud Chaput
774e1189d2
Change eslint config to autofix missing comma and indentation in JS files (#26711) 2023-10-09 13:38:29 +02:00
KMY
9e91c1e653 Merge remote-tracking branch 'parent/main' into kb_development 2023-10-03 20:42:23 +09:00
Emelia Smith
f68d540271
Fix websocket connections being incorrectly decremented twice on errors (#27238) 2023-10-02 13:21:43 +02:00
KMY
e1ac510c65 編集時にフィルターが機能しない問題を修正 2023-10-02 11:58:12 +09:00
KMY(雪あすか)
44b739a39a
Add: Webでの引用表示 (#50)
* Add compacted component

* 引用表示の間にコンテナをはさみ、不要なコードを削除

* 引用APIを作成、ついでにブロック状況を引用APIに反映

* テスト修正など

* 引用をキャッシュに登録

* `quote_id`が`quote_of_id`になったのをSerializerに反映

* Fix test

* 引用をフィルターの対象に含める設定+エラー修正

* ストリーミングの存在しないプロパティ削除によるエラーを修正

* Fix lint

* 他のサーバーから来た引用付き投稿を処理

* Fix test

* フィルター設定時エラーの調整

* 画像つき投稿のスタイルを調整

* 画像つき投稿の最大高さを調整

* 引用禁止・非表示の設定を追加

* ブロック対応

* マイグレーションコード調整

* 引用設定の翻訳を作成

* Lint修正

* 参照1つの場合は引用に変換する設定を削除

* 不要になったテストを削除

* ブロック設定追加、バグ修正

* 他サーバーへ引用送信・受け入れ
2023-10-02 11:12:51 +09:00
KMY
454f262b2f Merge remote-tracking branch 'parent/stable-4.2' into kb_development 2023-09-20 09:04:10 +09:00
Emelia Smith
fbfceb9c77
Add additional metrics for streaming (#26945) 2023-09-19 12:25:30 +02:00
KMY
32cfd20257 Merge remote-tracking branch 'parent/main' into kb_migration 2023-09-03 10:55:46 +09:00
Gabriel Simmer
be991f1d18
Move to ioredis for streaming (#26581)
Co-authored-by: Emelia Smith <ThisIsMissEm@users.noreply.github.com>
2023-09-01 17:44:28 +02:00
KMY
76013b10b4 Custom_filter working on status_reference 2023-08-30 17:42:26 +09:00
KMY
d1a76ea317 Merge remote-tracking branch 'parent/main' into kb_migration 2023-08-20 08:37:27 +09:00
KMY
ade23645ee Fix removing status on antenna timeline 2023-08-19 19:23:34 +09:00
KMY
5c758b344c Add antenna timeline 2023-08-19 17:25:55 +09:00
Emelia Smith
6375e390af
Fix: support both DATABASE_URL and DB_PASS (#26295) 2023-08-18 15:05:35 +02:00
KMY
ce3cf82f8f Merge remote-tracking branch 'parent/main' into kb_migration 2023-08-07 22:10:24 +09:00
Emelia Smith
65096c1ccd
Change streaming /metrics to include additional metrics (#26299) 2023-08-04 16:11:30 +02:00
KMY
543d5d01ac Fix filter exclude_followings not work 2023-08-01 18:59:37 +09:00
KMY
287eacf5f3 Merge commit 'fd284311e7' into kb_migration 2023-08-01 17:59:16 +09:00
Renaud Chaput
3554c52795
Fix missing return values in streaming (#26233) 2023-07-28 19:11:58 +02:00
Claire
446821a0dc
Swap debug statements in streaming server (#26231) 2023-07-28 17:59:31 +02:00
Emelia Smith
81cdc0f972
Fix: Streaming server memory leak in HTTP EventSource cleanup (#26228) 2023-07-28 12:06:29 +02:00
Emelia Smith
ddaf200c78
Refactor streaming's filtering logic & improve documentation (#26213) 2023-07-27 15:38:18 +02:00
Claire
1814990a3d
Fix wrong filters sometimes applying in streaming (#26159) 2023-07-27 15:12:10 +02:00
KMY
7b735921dc Merge commit '5a0483ed21' into kb_migration 2023-07-14 12:17:32 +09:00
KMY
5a0483ed21 Add exclude_follows, exclude_localusers settings to custom_filter 2023-07-14 12:16:08 +09:00
Emelia Smith
215081240f
Add logging of websocket send errors (#25280) 2023-06-10 18:35:57 +02:00
Emelia Smith
c81f59583c
Fix logging of messages that are binary before closing their connection (#25361) 2023-06-10 18:24:37 +02:00
Emelia Smith
16dd3f08c1
Fix performance of streaming by parsing message JSON once (#25278) 2023-06-09 19:29:16 +02:00
Renaud Chaput
d27216dc46
Enforce import order with ESLint (#25096) 2023-05-23 17:15:17 +02:00
Nick Schonning
f22b4e556c
Add eslint-plugin-jsdoc (#24719) 2023-04-30 02:29:54 +02:00
Emelia Smith
301e03eb8c
Remove clustering from streaming API (#24655) 2023-04-26 11:37:51 +02:00
Claire
174352716a
Disable anonymous access to the streaming API (#23989) 2023-03-06 21:00:10 +01:00
Eugen Rochko
be1792e1d4
Fix streaming API not being usable without DATABASE_URL (#23960) 2023-03-05 01:52:12 +01:00
Ramūns Usovs
0872f3e3d7
Allow streaming to connect to postgress with self-signed certs (#21431) 2023-03-03 21:01:18 +01:00
emilweth
7c45145430
fix metrics format (#23520) 2023-02-11 03:00:44 +01:00
emilweth
c1b823368c
dot is not allowed (#23519) 2023-02-11 02:15:07 +01:00
Eugen Rochko
c5a4d8c82d
Add information about database pool to metrics endpoint in streaming API (#23469) 2023-02-09 11:24:16 +01:00
Eugen Rochko
4cb7647516
Add database pool configuration over DB_POOL to streaming API (#23470)
Add connection timeout of 15s
2023-02-09 11:20:59 +01:00
Eugen Rochko
01584f03e8
Add metrics endpoint to streaming API (#23388) 2023-02-03 21:29:23 +01:00
Nick Schonning
06b68490d1
Enable eslint:recommended ruleset (#22433)
* Enable ESLint recommended ruleset

* Disable failing ESLint recommended rules

* Remove rules shadowed by eslint:recommended
2022-12-19 00:51:37 +09:00
Claire
8c3c6dcae9
Fix filters from other users being used in the streaming service (#20719) 2022-11-15 02:09:58 +01:00