KMY(雪あすか)
42c613b1a2
#150 ローカルユーザーの投稿にもメンションのNGワードを適用 ( #151 )
2023-10-20 08:49:52 +09:00
KMY(雪あすか)
235bef36d0
Add: 検索許可「ローカルとフォロワー」 ( #60 )
2023-10-05 16:37:27 +09:00
KMY
af62d7f96a
Dont distribute personal limited post
2023-09-26 18:10:21 +09:00
KMY
002c4bfe74
#29 Add personal limited_scope
2023-09-25 20:25:04 +09:00
KMY
fc923c4d9b
Merge branch 'kb_lts' into kb_development
2023-09-25 19:39:27 +09:00
KMY
385ac0c1a2
Add posting with limited visibility test
2023-09-25 18:32:11 +09:00
KMY
8eae7e6179
Add enable local public visibility setting for admin
2023-09-23 09:18:50 +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
6fe51e360a
Make DTL switchable
2023-09-12 09:04:20 +09:00
KMY
88c1ee1126
Fix more
2023-09-06 18:29:01 +09:00
KMY
a029b79b4e
Fix dl_force requests more scope
2023-09-06 18:23:32 +09:00
KMY
0a844ccdc7
Add dtl settings
2023-09-06 17:42:58 +09:00
KMY
05ae3c1948
Fix limited_scope
2023-08-31 19:33:50 +09:00
KMY
725ffa0258
Fix api design misstake
2023-08-31 19:24:08 +09:00
KMY
bcf90e03af
Improve db query with stay_privacy
2023-08-22 09:21:24 +09:00
KMY
5daf9cdf6e
Add keep_privacy setting
2023-08-22 08:20:51 +09:00
KMY
f20da7bf74
Fix account own circle only when post
2023-08-22 06:46:17 +09:00
KMY
3af223275f
Add circle visibility
2023-08-21 18:22:14 +09:00
KMY
c2221659d6
Change limited visibility reply to direct
2023-08-12 23:30:58 +09:00
KMY
c1f6d22ad2
Add limited_scope support
2023-08-12 22:49:28 +09:00
KMY
79062bfc2f
Add mutual visibility support
2023-08-12 18:22:22 +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
12e12db39d
Change silenced account searchability to private
2023-07-09 11:33:49 +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
2196665969
Add disallow unlisted-public post setting
2023-07-04 16:32:35 +09:00
KMY
ca66c47649
Unlisted visibility with public searchability
2023-07-04 13:27:28 +09:00
KMY
20497e0c21
Add login visibility
2023-05-24 17:41:47 +09:00
KMY
507e00ccd0
Change post sensitive is force false without media
2023-05-20 22:00:06 +09:00
KMY
de9e4b964c
Fix searchability api to compat with fedibird
2023-05-14 14:12:35 +09:00
KMY
2a54b76823
Bump to media attachments max on poll (disabled now)
2023-05-12 15:47:40 +09:00
KMY
081439a7dd
Permit post has media_attachments and polls
2023-05-12 15:03:26 +09:00
KMY
3a1a6ba39e
Merge commit ' 15fd712464
' into kb_migration
2023-05-01 15:05:34 +09:00
KMY
a4e8dcc3c4
Fix api responses and add force_visibility
2023-04-13 09:53:24 +09:00
KMY
25c3915728
Add markdown selection support
2023-04-12 10:16:46 +09:00
KMY
bc48000dce
Add public post to unlisted setting
2023-04-10 14:08:43 +09:00
KMY
1502668ee5
Support 5 or more media_attachments from activitypub
2023-04-07 20:26:52 +09:00
KMY
60d54b847e
Fix searchability values
2023-04-06 13:50:08 +09:00
KMY
af20b1d2aa
Add searchability support
2023-04-06 04:27:52 +09: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
05211ac206
Add group account support
2023-03-14 12:15:31 +09:00
KMY
ed3abf4f2a
Add public_unlisted scope as status privacy
2023-03-05 13:24:31 +09:00
Nick Schonning
717683d1c3
Autofix Rubocop remaining Layout rules ( #23679 )
2023-02-20 06:58:28 +01:00
Claire
d6930b3847
Add API parameter to safeguard unexpect mentions in new posts ( #18350 )
2023-02-13 16:36:29 +01:00
Brian Campbell
2d12948220
Fix idempotency when database writes are slow ( #21840 )
...
There is an idempotency key generated by clients when authoring a post,
and stored in Redis, to ensure that if a user or client retries posting
the same status, we don't get a duplicate.
Hachyderm.io has been experiencing some filesystem and database
performance issues, causing database writes to be slow. This can mean
that there are successful posts, but the reverse proxy returns 504
Gateway Timeout before the idempotency status has been updated; users or
clients who retry (such as Tusky which retries automatically, see
tuskyapp/Tusky#2951 ) can re-try the same post with the same idempotency
key before it has actually been recorded in Redis, leading to duplicate
posts.
To address this issue, move all of the database updates after the
initial transaction that creates the status into the
`postprocess_status!` method, so we can insert the idempotency key
immediately after the status has been created, significantly reducing
the window in which the status could be created but the idempotency key
not yet stored.
Note: this has not yet been tested; I'm submitting this PR for
discussion and to offer to the Hachyderm.io admins to try out to fix the
multiple posting problem.
Co-authored-by: Brian Campbell <brcampbell@beta.team>
2022-12-15 18:08:40 +01:00