Commit graph

7118 commits

Author SHA1 Message Date
Nick Schonning
c08d9e5e5c Autofix Rubocop Style/UnpackFirst () 2023-02-20 06:51:43 +01:00
Nick Schonning
ac56c3971b Autofix Rubocop RSpec/ImplicitSubject () 2023-02-20 05:00:48 +01:00
Nick Schonning
448f0929a7 Autofix Rubocop Rails/EnumHash () 2023-02-20 05:00:36 +01:00
Renaud Chaput
ae3812d182 Rename JSX files with proper .jsx extension () 2023-02-20 03:20:59 +01:00
Nick Schonning
06f8de2e34 Autofix Rubocop Style/ExplicitBlockArgument () 2023-02-20 11:18:08 +09:00
Nick Schonning
ae51248ffe Enable Rubocop HTTP status rules () 2023-02-20 11:16:40 +09:00
Nick Schonning
b8f17330ea Autofix Rubocop Rails/Pluck () 2023-02-20 02:28:40 +01:00
Nick Schonning
483fabc53f Autofix Rubocop Rails/RedundantForeignKey () 2023-02-20 02:19:40 +01:00
Claire
6ce20a89f5 Fix focus point of already-attached media not saving after edit () 2023-02-19 07:11:18 +01:00
Nick Schonning
be1ec56c6d Autofix Rubocop Style/StringLiterals () 2023-02-19 07:38:14 +09:00
Nick Schonning
49f1168050 Autofix Rubocop Style/RedundantBegin () 2023-02-19 07:09:40 +09:00
Nick Schonning
7f8439ee07 Autofix Rubocop Style/TrailingCommaInArguments () 2023-02-18 12:39:58 +01:00
Nick Schonning
3f9d7419d1 Autofix Rubocop Style/Lambda () 2023-02-18 12:39:00 +01:00
Nick Schonning
793f8c7dd5 Autofix Rubocop Style/IfUnlessModifier () 2023-02-18 12:37:47 +01:00
Nick Schonning
4553bc78ba Autofix Rubocop Style/PerlBackrefs () 2023-02-18 14:20:20 +09:00
Nick Schonning
b7d4391c4d Autofix Rubocop Lint/AmbiguousOperatorPrecedence () 2023-02-18 04:30:23 +01:00
Nick Schonning
5973a58281 Enable Lint/RedundantCopDisableDirective () 2023-02-18 04:30:14 +01:00
Nick Schonning
a71a0802d6 Autofix Rubocop Lint/SymbolConversion () 2023-02-18 03:23:49 +01:00
Nick Schonning
31ca76fe2c Run rubocop formatting except line length () 2023-02-18 06:56:20 +09:00
Christian Schmidt
2c8bb9a76a Fix bad type for spellCheck attribute () 2023-02-17 09:51:27 +01:00
Nick Schonning
a80ff32d9a Enable ESLint Promise plugin defaults () 2023-02-16 15:30:56 +09:00
Eugen Rochko
4ed26b106c New Crowdin updates ()
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2023-02-16 10:23:03 +09:00
Aaron Patterson
edc6f486bf Upgrade to Ruby 3.2 ()
Co-authored-by: Matthew Ford <matt@bitzesty.com>
2023-02-15 08:30:27 +01:00
Claire
d706570d30 Add memorial attribute to REST API () 2023-02-14 13:50:55 +01:00
Claire
0ae0740826 Add API parameter to safeguard unexpect mentions in new posts () 2023-02-13 16:36:29 +01:00
Nick Schonning
2663b421be Enable ESLint import recommended rules () 2023-02-13 15:12:31 +01:00
Nick Schonning
1c2ca9557f Enable ESLint no-useless-escape () 2023-02-13 15:12:14 +01:00
Dean Bassett
28bc6265bf Fix case-sensitive check for previously used hashtags () 2023-02-13 14:54:08 +01:00
Jeong Arm
c2cb5defb0 Change followed_by link to location=all if account is local on /admin/accounts/:id page () 2023-02-13 14:39:00 +01:00
Nick Schonning
6417e06194 Upgrade to Stylelint 15 with Prettier () 2023-02-13 04:57:03 +01:00
Claire
ea4cffac37 Fix unbounded recursion in post discovery ()
* 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
Claire
3c1e48d304 Fix attached media uploads not being cleared when replying to a post () 2023-02-10 22:03:35 +01:00
Eugen Rochko
b21f5906b9 New Crowdin updates ()
* New translations en.json (Esperanto)

* New translations en.yml (Slovak)

* New translations en.json (Burmese)

* New translations en.yml (Korean)

* New translations en.json (Burmese)

* New translations en.json (Burmese)

* New translations en.yml (Finnish)

* New translations simple_form.en.yml (Finnish)

* New translations en.json (Burmese)

* New translations en.yml (Burmese)

* New translations en.yml (Burmese)

* New translations en.json (Burmese)

* New translations activerecord.en.yml (Burmese)

* New translations en.yml (Burmese)

* New translations activerecord.en.yml (Burmese)

* New translations en.json (German)

* New translations simple_form.en.yml (German)

* New translations en.json (Catalan)

* New translations en.yml (Burmese)

* New translations en.yml (Burmese)

* New translations en.yml (Russian)

* New translations doorkeeper.en.yml (Russian)

* New translations simple_form.en.yml (Russian)

* New translations en.json (Russian)

* New translations en.json (Belarusian)

* New translations en.json (Belarusian)

* New translations en.json (Esperanto)

* New translations en.yml (Esperanto)

* New translations doorkeeper.en.yml (Korean)

* New translations en.json (Burmese)

* New translations en.yml (Slovak)

* New translations en.yml (Belarusian)

* New translations simple_form.en.yml (Belarusian)

* New translations simple_form.en.yml (Esperanto)

* New translations doorkeeper.en.yml (Esperanto)

* New translations activerecord.en.yml (Esperanto)

* New translations devise.en.yml (Esperanto)

* New translations en.yml (English, United Kingdom)

* New translations en.yml (Asturian)

* New translations simple_form.en.yml (Asturian)

* New translations en.yml (Asturian)

* New translations doorkeeper.en.yml (Asturian)

* New translations en.json (Asturian)

* New translations en.yml (Asturian)

* New translations en.json (Asturian)

* New translations en.json (Korean)

* New translations en.yml (Korean)

* New translations en.json (Korean)

* New translations en.yml (Korean)

* New translations devise.en.yml (Korean)

* New translations simple_form.en.yml (Korean)

* New translations en.json (Welsh)

* New translations en.yml (Welsh)

* New translations simple_form.en.yml (Welsh)

* New translations activerecord.en.yml (Welsh)

* New translations devise.en.yml (Welsh)

* New translations doorkeeper.en.yml (Welsh)

* New translations en.yml (Burmese)

* New translations en.yml (Burmese)

* New translations en.yml (Burmese)

* New translations en.json (Silesian)

* New translations en.yml (Occitan)

* New translations en.yml (Turkish)

* New translations simple_form.en.yml (Turkish)

* New translations en.json (Occitan)

* New translations activerecord.en.yml (Turkish)

* New translations doorkeeper.en.yml (Turkish)

* Normalize

* Remove unused locales

---------

Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2023-02-11 05:42:08 +09:00
Claire
1a094b002d Fix admin-set follow recommandations being case-sensitive ()
Fixes 
2023-02-10 11:14:58 +01:00
Claire
cdcf981ad7 Fix server status URL being a required server setting () 2023-02-10 10:20:43 +01:00
Claire
1c08aef482 Remove posts count and last posts from ActivityPub representation of hashtag collections () 2023-02-08 17:57:25 +01:00
Nick Schonning
ae45c9ccd4 Apply Rubocop Rails/WhereNot ()
* Apply Rubocop Rails/WhereNot

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

* Unprefix used block parameter
2023-02-08 10:36:23 +01:00
Nick Schonning
d09952cf77 Apply Rubocop Style/EmptyElse () 2023-02-08 07:08:39 +01:00
Nick Schonning
e0a02f8696 Apply Rubocop Style/NegatedIfElseCondition () 2023-02-08 07:07:36 +01:00
Nick Schonning
faa8b582de Apply Rubocop Style/RedundantAssignment () 2023-02-08 07:06:50 +01:00
Nick Schonning
fd5980fc35 Apply Rubocop Performance/StringReplacement () 2023-02-08 03:21:21 +01:00
Nick Schonning
67a6f688ca Apply Rubocop Performance/StringIdentifierArgument () 2023-02-08 02:36:20 +01:00
Nick Schonning
e276e530ea Apply Rubocop Performance/RedundantSplitRegexpArgument ()
* Apply Rubocop Performance/RedundantSplitRegexpArgument

* Update app/controllers/concerns/signature_verification.rb
2023-02-08 02:25:20 +01:00
Nick Schonning
6af127a98e Apply Rubocop Performance/DoubleStartEndWith () 2023-02-08 10:06:48 +09:00
Nick Schonning
0ea80860f4 Apply Rubocop Performance/RedundantBlockCall () 2023-02-08 00:58:18 +01:00
Nick Schonning
38ec6d27d8 Autofix Rails/EagerEvaluationLogMessage ()
* Autofix Rails/EagerEvaluationLogMessage

* Update spec for debug block syntax
2023-02-07 03:44:36 +01:00
Claire
a173d5248f Fix UserCleanupScheduler crash when an unconfirmed account has a moderation note ()
* Fix `UserCleanupScheduler` crash when an unconfirmed account has a moderation note

* Add tests
2023-02-07 01:14:44 +01:00
Jeong Arm
2c06ca5615 Fix account serializer crash if account doesn't have a user () 2023-02-07 01:03:26 +01:00
Claire
2b356a3de6 Fix ActivityPub::ProcessingWorker error on incoming malformed JSON-LD () 2023-02-06 21:00:58 +01:00