Commit graph

877 commits

Author SHA1 Message Date
KMY
a0b98f9242 Merge remote-tracking branch 'parent/main' into kb_migration 2023-03-05 10:21:23 +09:00
KMY
053fd66e97 Merge branch 'kb_development' into kb_migration 2023-03-05 10:21:07 +09:00
KMY
b049e7c502 Fix markdown underline with custom emoji 2023-03-05 09:05:16 +09:00
KMY
7c7d21cbef Fix underline 2023-03-05 08:15:33 +09:00
KMY
d014ffd6d0 Remove underline markdown 2023-03-05 08:06:46 +09:00
Jean byroot Boussier
922837dc96
Upgrade to latest redis-rb 4.x and fix deprecations (#23616)
Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2023-03-04 16:38:28 +01:00
KMY
74c823d500 Add superscript/strikethrough flags on markdown 2023-03-04 21:15:22 +09:00
KMY
3e1b4108ed Merge branch 'kb_development' into kb_migration 2023-03-04 16:20:34 +09:00
KMY
5f477d21d1 Fix blockquote 2023-03-04 16:19:08 +09:00
KMY
245309d679 Fix status text single-line via markdown 2023-03-04 15:58:53 +09:00
KMY
44ef5a6173 Add markdown support 2023-03-04 15:25:24 +09:00
KMY
370f25f3cd Merge commit 'aa98c8fbeb' into kb_migration 2023-03-04 09:46:40 +09:00
Christian Schmidt
5a8c651e8f
Only offer translation for supported languages (#23879) 2023-03-03 21:06:31 +01:00
KMY
d8fd1300e8 Debug like.rb 2023-02-27 14:17:07 +09:00
KMY
b242a89e63 Debug undo.rb 2023-02-27 10:55:04 +09:00
KMY
bf6e427160 Debug undo.rb 2023-02-27 10:48:50 +09:00
KMY
df0b8723d7 Debug like.rb 2023-02-27 10:44:47 +09:00
KMY
0feabcf9c3 Debug like.rb, undo.rb 2023-02-27 10:34:16 +09:00
KMY
f7e5adfa70 Debug like.rb 2023-02-27 10:25:55 +09:00
KMY
a1485f242d Add emoji reaction detail status 2023-02-26 23:44:52 +09:00
KMY
3053f30683 Change activitypub type Like to EmojiReact 2023-02-26 15:56:50 +09:00
KMY
d538d2a2a3 Add activitypub emoji_reaction receiving 2023-02-26 11:37:48 +09:00
KMY
1c028a20ac Create new stream event type: emoji_reaction 2023-02-26 09:45:22 +09:00
KMY
15bc0df759 Add emoji reaction deletion api 2023-02-25 10:42:19 +09:00
KMY
5f7da7bff1 Add api for set emoji reactions to toot 2023-02-24 20:57:01 +09:00
Nick Schonning
0cfdd1a401
Enable Rubocop Style/StringConcatenation defaults (#23792) 2023-02-22 09:54:36 +09:00
Nick Schonning
59c8d43d94
Autofix Rubocop Style/RescueStandardError (#23745) 2023-02-20 11:01:20 +01:00
Nick Schonning
717683d1c3
Autofix Rubocop remaining Layout rules (#23679) 2023-02-20 06:58:28 +01:00
Nick Schonning
21bf326356
Autofix Rubocop Rails/Pluck (#23730) 2023-02-20 02:28:40 +01:00
Nick Schonning
81ad6c2e39
Autofix Rubocop Style/StringLiterals (#23695) 2023-02-19 07:38:14 +09:00
Nick Schonning
2177daeae9
Autofix Rubocop Style/RedundantBegin (#23703) 2023-02-19 07:09:40 +09:00
Nick Schonning
e2a3ebb271
Autofix Rubocop Style/IfUnlessModifier (#23697) 2023-02-18 12:37:47 +01:00
Nick Schonning
8aee4de034
Autofix Rubocop Style/PerlBackrefs (#23649) 2023-02-18 14:20:20 +09:00
Nick Schonning
a6f77aa28a
Autofix Rubocop Lint/AmbiguousOperatorPrecedence (#23681) 2023-02-18 04:30:23 +01:00
Nick Schonning
634368c491
Autofix Rubocop Lint/SymbolConversion (#23683) 2023-02-18 03:23:49 +01:00
Nick Schonning
669f6d2c0a
Run rubocop formatting except line length (#23632) 2023-02-18 06:56:20 +09:00
Claire
0c9eac80d8
Fix unbounded recursion in post discovery (#23506)
* Add a limit to how many posts can get fetched as a result of a single request

* Add tests

* Always pass `request_id` when processing `Announce` activities

---------

Co-authored-by: nametoolong <nametoolong@users.noreply.github.com>
2023-02-10 22:16:37 +01:00
Nick Schonning
0592937264
Apply Rubocop Rails/WhereNot (#23448)
* Apply Rubocop Rails/WhereNot

* Update spec for where.not
2023-02-08 10:39:57 +01:00
Nick Schonning
0d1f192c54
Apply Rubocop Performance/BlockGivenWithExplicitBlock (#23441)
* Apply Rubocop Performance/BlockGivenWithExplicitBlock

* Unprefix used block parameter
2023-02-08 10:36:23 +01:00
Nick Schonning
203739dd3a
Apply Rubocop Performance/StringIdentifierArgument (#23444) 2023-02-08 02:36:20 +01:00
Nick Schonning
ef8988aef2
Apply Rubocop Performance/DoubleStartEndWith (#23442) 2023-02-08 10:06:48 +09:00
Nick Schonning
ed570050c6
Autofix Rails/EagerEvaluationLogMessage (#23429)
* Autofix Rails/EagerEvaluationLogMessage

* Update spec for debug block syntax
2023-02-07 03:44:36 +01:00
Eugen Rochko
4c919812b9
Change number of stored items in home feed from 400 to 800 (#23349) 2023-02-01 11:24:22 +01:00
Claire
41517a4845
Fix spurious admin dashboard warning when using ElasticSearch 7.x (#23064)
Some 7.x ElasticSearch versions support some 6.x nodes, thus the version check
is inadequate. I am not sure there is a good way to check if a server
implements all the 7.x APIs, so check server version and minimum wire version
instead.
2023-01-18 16:21:48 +01:00
Markus Unterwaditzer
0c689b9d01
fix: allow verification when page size exceeds 1MB (using HTML5 parser) (#22879)
* fix: allow verification when page size exceeds 1MB
Truncates the page after 1MB instead

Closes #15316

* switch to HTML5 parser, fix rubocop errors

* undo rubocop fixes

Co-authored-by: Chris Zubak-Skees <chriszs@gmail.com>
2023-01-11 21:59:13 +01:00
Kaspar V
ae62e5fa53
Fix/remove calling private method with send in model (#22951)
* fix(status): remove send usage for private unlink_from_conversations

- make unlink_from_conversations public method
- rename unlink_from_conversations to unlink_from_conversations!
- fix send call on private method in statuses_vacuum and batched_remove_status_service

* fix(feeds_vacuum): replace find_in_batches with in_batches

because active record query results should be a little more efficient than
itterating with map and each. Postgres can grasp such lists of ids much quicker
than ruby can.
Will probably make allmost no difference, but cannot hurt either.
2023-01-11 21:57:24 +01:00
Vyr Cossont
06f979098c
Check OpenSearch compatibility version instead of regular version (#22422)
Fixes #18535.
2023-01-05 13:44:31 +01:00
Jeong Arm
fdd1facba1
Fix home TL could contain post from who blocked me (#22849)
* Fix home tl contains post from who blocked me

* Add test

* Fix feed_manager's build_crutches

blocked_by was not includes status' owner

* Add test for status from I blocked

* Fix typo
2023-01-05 13:30:38 +01:00
Claire
d13702ac06
Fix status cache hydration discrepancy (#19879) 2022-12-15 18:55:55 +01:00
Claire
673c54f114
Fix inability to use local LibreTranslate without setting ALLOWED_PRIVATE_ADDRESSES (#21926)
Fixes #20029
2022-12-15 17:04:38 +01:00