Commit graph

51 commits

Author SHA1 Message Date
KMY
f18eabfe75 Merge remote-tracking branch 'parent/main' into upstream-20240906 2024-09-06 08:42:24 +09:00
Christian Schmidt
a5bbe83dfd
media_ids is an array of strings (#31709) 2024-09-02 20:18:09 +00:00
Christian Schmidt
491033c86c
Reject status creation with invalid media_ids parameter (#31681) 2024-09-02 15:30:48 +00:00
KMY
13ad383039 Merge remote-tracking branch 'parent/main' into upstream-20240531 2024-05-31 08:27:09 +09:00
Matt Jankowski
c61e356475
Add Status::MEDIA_ATTACHMENTS_LIMIT configuration constant (#30433) 2024-05-27 09:49:44 +00:00
KMY(雪あすか)
44af34f306
Fix: #703 NGワード、センシティブワード「無関係なフォロワーへのメンション」が、自分自身へのメンションにも適用される (#704) 2024-04-09 09:02:50 +09:00
KMY(雪あすか)
e7aececf5e
Fix: 投稿にNGワードが含まれる場合、投稿のモデレーションができなくなる場合がある問題 (#685) 2024-04-01 08:54:16 +09:00
KMY(雪あすか)
9dd11117db
Add: #605 リモート投稿に適用するセンシティブワード設定 (#612) 2024-02-27 10:14:42 +09:00
KMY(雪あすか)
7d96d5828e
Add: #600 NGルール (#602)
* Wip

* Wip

* Wip: History

* Wip: テストコード作成

* Fix test

* Wip

* Wip

* Wip

* Fix test

* Wip

* Wip

* Wip

* Wip

* なんとか完成、これから動作確認

* spell miss

* Change ng rule timings

* Fix test

* Wip

* Fix test

* Wip

* Fix form

* 表示まわりの改善
2024-02-26 17:45:41 +09:00
KMY(雪あすか)
a6b5e64e15
Add: #577 メンション数上限設定を、メンションされた全てのローカルアカウントが相手をフォローしている場合、そうでない場合で分けられるように (#578) 2024-02-17 11:05:29 +09:00
KMY(雪あすか)
7411941885
Add: メンション数上限 (#565)
* Add: メンション数上限

* Fix test
2024-02-17 09:50:06 +09:00
KMY(雪あすか)
76b5d4f2c6
Change: #538 NGワード「フォローしていないアカウントへのメンションで利用できないキーワード」を、参照投稿にも適用する (#544)
* Change: #538 NGワード「フォローしていないアカウントへのメンションで利用できないキーワード」を、参照投稿にも適用する

* Update create.rb

* Update create.rb

* Update create.rb

* Fix test
2024-02-16 18:19:14 +09:00
KMY(雪あすか)
fcd13a6474
Change: #375 投稿を編集して拡張ドメインブロックの条件にひっかかる状態になった場合、対象サーバーには投稿削除のActivityを送信する (#495)
* Change: #375 投稿を編集して拡張ドメインブロックの条件にひっかかる状態になった場合、対象サーバーには投稿削除のActivityを送信する

* Fix test

* Add test
2024-01-24 09:03:24 +09:00
KMY
0704829a9b Merge remote-tracking branch 'parent/main' into upstream-20231116 2023-11-14 09:14:19 +09:00
Eugen Rochko
0d14fcebae
Change link previews to keep original URL from the status (#27312) 2023-11-13 09:58:28 +00:00
KMY(雪あすか)
4f37ede886
Fix: #162 編集/他のサーバーからの編集で、フォローしていない相手からのメンションに関するNGワードに対応 (#163)
* Fix: #162 フォローしていないアカウントへのメンションのNGワードが編集で有効にならない問題

* Fix: 他のサーバーから来た編集についても適用
2023-10-22 09:40:20 +09:00
KMY
62b7b7a9b9 #38 Change limited_scope to circle when personal post is added mentions 2023-09-28 16:16:24 +09:00
KMY
80fadeb766 Add single_ref_to_quote setting and check ref sync 2023-09-19 10:04:22 +09:00
KMY
a39b8cb90e Refactor status reference flag 2023-09-15 12:27:06 +09:00
KMY
71c451a569 Cache status reference mark when posting 2023-09-15 12:21:41 +09:00
KMY
1ecb577a8a Fix rspec at least services 2023-08-08 08:36:50 +09:00
KMY
e2923bff51 Fix passing rspec at least controllers/models 2023-08-07 22:46:23 +09:00
S.H
696e4a10d6
独自機能の追加などで他の部分への影響が分かるようにCI周りの修正 (#1)
* Fix EmojiFormatter failure

* Add notification_emails.warning setting default value

* Fix list spec failure and add antennas for spec response

* Fix domain block spec failure to add kb custom response

* Fix SearchQueryTransformer spec failure

* Fix Account#matches_display_name spec failure

* Fix UpdateStatusService changes mentions spec failure

* Fix RuboCop Lint

* Ignore brakeman warning

* Fix CI failure for ignore brakeman warning

* Fix migration failure

* Fix README

* Fix migration CI failure

* Fix some spec failure

* Format code for RuboCop lint failure

* Fix ESlint failure

* Fix haml-lint failure
2023-08-07 21:38:15 +09:00
KMY
cd00d7f533 Add sensitive words setting 2023-07-27 12:47:33 +09:00
KMY
03dabcad9c Add post_hash_tags_max setting 2023-07-24 12:45:34 +09:00
KMY
c553275381 Add ng words for post/update 2023-07-24 10:38:36 +09:00
KMY
ccfa297d7b Add reference api 2023-07-18 11:33:29 +09:00
KMY
ad5f9492fb Fix status reference worker parameters error 2023-07-06 13:23:38 +09:00
KMY
22ad776635 Add status references support 2023-07-06 12:55:11 +09:00
KMY
2a54b76823 Bump to media attachments max on poll (disabled now) 2023-05-12 15:47:40 +09:00
KMY
3a1a6ba39e Merge commit '15fd712464' into kb_migration 2023-05-01 15:05:34 +09:00
KMY
5a661415e2 Merge commit 'fac734b6a8' into kb_migration 2023-04-13 18:57:03 +09:00
KMY
25c3915728 Add markdown selection support 2023-04-12 10:16:46 +09:00
KMY
3d53a47905 Merge remote-tracking branch 'origin/kb_development' into kb_migration 2023-04-07 21:45:07 +09:00
KMY
1502668ee5 Support 5 or more media_attachments from activitypub 2023-04-07 20:26:52 +09:00
KMY
ceec3a92cd Merge commit '2b11376411' into kb_migration 2023-04-01 18:05:22 +09:00
Christian Schmidt
eb38e9df31
Requeue expiration notification (#24311) 2023-03-29 10:52:40 +02:00
KMY
a1284940eb Fix expiration unit bug 2023-03-21 13:02:22 +09:00
KMY
16079b4db5 Add status expiration 2023-03-21 11:12:33 +09:00
KMY
e5677b21e7 Fix moderators privacy 2023-03-17 18:37:47 +09:00
KMY
0bc970aa00 Fix clear_histories with removing image files 2023-03-17 18:25:32 +09:00
KMY
ad102071bc Add admin status edit commands 2023-03-16 23:27:51 +09:00
Claire
4b92e59f4f
Add support for editing media description and focus point of already-posted statuses (#20878)
* Add backend support for editing media attachments of existing posts

* Allow editing media attachments of already-posted toots

* Add tests
2023-01-18 16:33:55 +01:00
Eugen Rochko
71f2b95106
Fix edits with no actual changes being allowed (#17843)
* Fix edits with no actual changes being allowed locally

* Fix edits with no actual changes being allowed through ActivityPub

* Fix false positive changes caused by description processing in model

* Fix not recording poll expiration update

* Fix test

* Revert changes to ProcessStatusUpdateService

* Various fixes and improvements

* Fix code style issues

* Various changes and improvements

* Add guard clause
2022-03-26 00:38:44 +01:00
Eugen Rochko
b2cd34474b
Add rate limit for editing (#17728) 2022-03-09 20:06:51 +01:00
Eugen Rochko
d17fb70131
Change how changes to media attachments are stored for edits (#17696)
* Change how changes to media attachments are stored for edits

Fix not being able to re-order media attachments

* Fix not broadcasting updates when polls/media is changed through ActivityPub

* Various fixes and improvements

* Update app/models/report.rb

Co-authored-by: Claire <claire.github-309c@sitedethib.com>

* Add tracking of media attachment description changes

* Change poll in status edit to have a structure closer to the real one

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2022-03-09 09:06:17 +01:00
Eugen Rochko
c0327ff31f
Fix invalid language resulting in no fallback being set on statuses (#17722) 2022-03-09 08:46:05 +01:00
Eugen Rochko
25d3dc4373
Add ability to mark statuses as sensitive from reports in admin UI (#17668)
* Add ability to mark statuses as sensitive from reports in admin UI

* Allow mark as sensitive action on statuses with preview cards
2022-03-01 22:20:29 +01:00
Claire
63854bee6c
Fix poll votes not being properly reset on poll change (#17498)
* Fix poll votes not being properly reset on poll change

* Fix and add tests

* Fix poll update handling when the number of options changes
2022-02-10 14:26:54 +01:00
Eugen Rochko
1bfcb75105
Fix outdated iso-639 reference in update status service (#17496) 2022-02-10 03:09:44 +01:00