Commit Graph

8271 Commits (577520b6376f5ad14aa343a2aba881e7e1ef1897)

Author SHA1 Message Date
Claire 10203bd57a
Clean up `Setting` model and remove dead code ()
Jean Boussier 1781849884
Inline what remains of the rails-settings-cached gem ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
gunchleoc 173953c23e
Fix ISO code for Canadian French ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 68f06f1fd4
Fix haml-lint `LineLength` cop for `settings/preferences/notifications/show` ()
github-actions[bot] 8e7d5fe2ac
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski cd4b4d4734
Replace unused `by_recent_sign_in` scope ()
Matt Jankowski e677eb164c
Remove unused `Announcement#time_range?` ()
Matt Jankowski 3e43cd095c
Remove unused scope `Announcement.without_muted` ()
Matt Jankowski 9322396e58
Use normalizes to prepare `Account#username` value ()
Matt Jankowski cd58e37b25
Remove unused `DomainBlock#affected_accounts_count` method ()
Matt Jankowski 3e7a9266ea
Remove unused `EmojiFormatter#count_tag_nesting` method ()
Matt Jankowski 4ccba94489
Remove unused `*_silenced_accounts` scopes on Status ()
Matt Jankowski c52a593a30
Remove unused scope `User.emailable` ()
Matt Jankowski e827c4692c
Use Arel `matches` method in CustomEmoji search ()
github-actions[bot] cc67943df2
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski 1bc5a52139
Extract SQL heredoc method for Announcement scopes ()
Matt Jankowski aa6d07dbd9
Use normalizes to prepare CustomEmoji `domain` value ()
Matt Jankowski 202951e6d9
Use Arel `in_order_of` method to generate CASE for `DomainBlock.by_severity` ()
Matt Jankowski 57f49c8191
Use Arel `nulls_first` method in ordering CustomEmojiFilter scope ()
Renaud Chaput a0e237a96f
Upgrade Redux packages ()
Jean Boussier 5a6d533c53
Enable Rails 7.1 Marshalling format ()
Matt Jankowski 12bed81187
Add validation specs to `CustomFilter` model ()
github-actions[bot] 43d800ada6
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Claire 6ad0fb5a77
Fix NULL MX handling and tighten DNS resolving specs ()
Claire 5f4643b895
Add `PAPERCLIP_ROOT_URL` to Content-Security-Policy when used ()
Claire d0fd14f851
Fix scrolling to detailed status not always working ()
Claire 419c659bc4
Add fallback redirection when getting a webfinger query `WEB_DOMAIN@WEB_DOMAIN` ()
github-actions[bot] bdf4750633
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains ()
Michael Stanclift 195b89d336
Fix .opus file uploads being misidentified by Paperclip ()
Matt Jankowski e12d8893f4
Fix intermittent failure from unspecified order in `export_domain_blocks` controller spec ()
Claire 092bb8a27a
Fix Mastodon not correctly processing HTTP Signatures with query strings ()
github-actions[bot] 7cce2a41f2
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Claire 65ea097f1d
Fix loading local accounts with extraneous domain part in WebUI ()
Claire 1184887b01
Fix streaming API redirection ignoring the port of `streaming_api_base_url` ()
github-actions[bot] 0374e11091
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Michael Stanclift fdec8d7ffb
Fix OCR when using S3/CDN for assets ()
Claire 6374358357
Change media to be hidden/blurred by default in report modal ()
Claire fcfdeadc04
Fix random `NoMethodError` errors on cached `CustomFilter` objects ()
Cal Moody 3599622b5b
Fix destructive actions in dropdowns not using error color in light theme ()
Matt Jankowski ba5f659bb3
Use shorter attribute query methods in `Announcement` ()
github-actions[bot] 7df9c4f6f3
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski 128c5b7db3
Fix `Performance/StringIdentifierArgument` cop ()
Santiago Kozak 1cba91d6d1
Fix reply icon display in picture-in-picture footer ()
Claire 2bf84b93d4
Fix media attachment order of remote posts ()
github-actions[bot] e70a65761a
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Renaud Chaput 1c041356a1
Fix error on viewing a profile when unlogged ()
Eugen Rochko 5976d3702f
Change "Follow" to "Follow back" and "Mutual" when appropriate in web UI ()
github-actions[bot] 9e5ddc1745
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Eugen Rochko 01f0a6ca4f
Fix profile setup showing default avatar in web UI ()
Claire d29b1cca2e
Fix `friends_of_friends` sometimes suggesting already-followed accounts ()
github-actions[bot] fecc07856c
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Eugen Rochko b5ac61b2c5
Change algorithm of follow recommendations ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski c28976d89e
Handle negative offset param in `api/v2/search` ()
Renaud Chaput 7b1d390734
Fixes dropdown target without a `buttonRef` (edit history) ()
github-actions[bot] fa987db738
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Claire 3598c2e1db
Revert "Feature - Prevents multiple audio/video attachments from being played at the same time ()" ()
Renaud Chaput 8b1eeb2f90
Fix the loading bar with the new Redux actions ()
Matt Jankowski 7cfc078198
Fix rails mailer preview not honouring locale ()
Claire 7d9b209fe8
Fix call to inefficient `delete_matched` cache method in domain blocks ()
Matt Jankowski 1820bad646
Fix `Performance/StringIdentifierArgument` cop ()
Matt Jankowski 2bd8d343cf
Fix `Style/SoleNestedConditional` and `Style/IfInsideElse` cops, regenerate haml todo ()
Matt Jankowski 0e5b8fc46b
Fix `Style/RedundantReturn` cop ()
github-actions[bot] f99e05710e
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski b1dec09d20
Fix `Style/InverseMethods` cop ()
Matt Jankowski e17faedffb
Move default `meta` options from `InitialStateSerializer` to private method (AbcSize reduction) ()
github-actions[bot] b2f915b31a
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Claire dcc24db793
Fix N+1s because of association preloaders not actually getting called ()
Claire 3f1ec16377
Fix empty column explainer getting cropped under certain conditions ()
github-actions[bot] 14e64bc880
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Claire 89a496b42f
Fix status edits not always being streamed to mentioned users ()
Claire a8a5c6514f
Fix `LinkCrawlWorker` error when encountering empty OEmbed response ()
Matt Jankowski 2c6369918c
Fix `Style/RedundantArgument` cop ()
Claire f3864db409
Fix notification sounds ()
github-actions[bot] 79a81da69c
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Michael Stanclift afc8550b63
Change preview card deletes to be done using batch method ()
github-actions[bot] ca1b7efb06
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski 3918dc68c7
Use composite primary key for `PreviewCardsStatus` model ()
Michael Stanclift da3d8aff79
Error handling for attachment batch delete process ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
github-actions[bot] e0dacf6b4c
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Claire 7593465c23
Fix error when processing link preview with an array as `inLanguage` ()
Matt Jankowski ee83d5c760
Enable the eslint `react/no-unknown-property` rule ()
github-actions[bot] 954169966b
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
github-actions[bot] 4238ec844d
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Jonathan de Jong d0a5ebf914
Fix error when encountering malformed Tag objects from Kbin ()
Claire a2bcfeb887
Fix `Style/HashEachMethods` cop in HAML files ()
Matt Jankowski 3bc437b99a
Fix `Style/RedundantParentheses` cop ()
Matt Jankowski 5631f139c1
Fix `Lint/SymbolConversion` cop ()
Matt Jankowski d83d01eb1e
Fix `Lint/RedundantSafeNavigation` cop ()
Matt Jankowski f70f39dd04
Add explicit `dependent: nil` to associations ()
Matt Jankowski 440b80b2e7
Model concerns organization into module namespaces ()
Claire 963354978a
Add `Account#unavailable?` and `Account#permanently_unavailable?` aliases ()
Matt Jankowski 35deaaf90b
Reduce AbcSize complexity in `InitialStateSerializer` ()
Matt Jankowski 1f1c75bba5
File cleanup/organization in `controllers/concerns` ()
Matt Jankowski e7c340a634
Spec coverage for missing `q` param and error conditions in `api/v2/search` controller ()
Claire b20af17a2c
Fix onboarding step descriptions being truncated on narrow screens ()
Claire 85662a5a57
Change `img-src` and `media-src` CSP directives to not include `https:` ()
Matt Jankowski bb0efe16e6
Remove `default_scope` from `MediaAttachment` class ()
Claire 7faa27e17d
Change dismissed banners to be stored server-side ()
Matt Jankowski e48ecd2929
Remove `default_scope` from `Admin::ActionLog` ()
Matt Jankowski 291dc04e67
Remove un-needed `action` and `template` options to `render` in controllers ()
Matt Jankowski 72b7cd349c
Extract helper methods for form label in admin/ area views ()
Matt Jankowski 9b47c5d53c
Extract helper methods for labels from filters/_filter_fields ()
Matt Jankowski 186895fc88
Refactor, lint fix, and bug fix on admin/roles/form partial ()
Emelia Smith 603b245cc6
Add VAPID public key to instance serializer ()
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Matt Jankowski 6b46bf9953
Handle scenario when webfinger response `subject` is missing host value ()
Josh Goldberg ✨ 3a7f10c3f1
Converted hashtag.jsx to TypeScript ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Josh Goldberg ✨ 1142f4c79e
Converted app/javascript/mastodon/utils/ folder to TypeScript ()
Matt Jankowski baf3b71e3b
Extract `path_without_format` private methd in accounts controller ()
github-actions[bot] af02484714
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski 9072896ae5
Avoid unnecessary i-var for account rss page url generation ()
Matt Jankowski dfc7154767
Remove unused `cached_filtered_status_page` method from accounts controller ()
Matt Jankowski 2d536bb05f
Use `admin_mailer` layout with initial salutation ()
6543 10b879bd5e
nodeinfo: add instance name and description ()
Claire f1657e6d62
Clamp dates when serializing to Elasticsearch API ()
Matt Jankowski 9b8ba9b350
Remove unused `plain_mailer` layout ()
June 97e677f993
Fix not all legal images showing in file picker when uploading custom emoji ()
github-actions[bot] fad9343bab
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
github-actions[bot] 8521238677
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Claire 3a24754229
Change GIF max matrix size error to explicitly mention GIF files ()
Claire 6e70819840
Change search popout to not list unusable search options when logged out ()
Kevin Bongart 7877fcd83c
Deduplicate IDs in relationships and familiar_followers APIs ()
github-actions[bot] c810b197ad
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski 4be12791e6
Remove `default_scope` from `StatusEdit` class ()
github-actions[bot] d3ed03fd6b
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski 9742bccbe7
Add coverage for `api/v2/media` endpoint ()
Eugen Rochko cdc57c74b7
Fix unsupported time zone or locale preventing sign-up ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 32319187ee
Fix error when muting users from Web UI ()
Matt Jankowski 6d51ac246b
Update partials for the `AdminMailer.new_trends` mailer ()
github-actions[bot] 3c3e0c25ef
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski 876f5b1d12
Convert `/instances/*` controller specs to request specs ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski d2aacea8da
Reduce `.times` usage in AccountSearch spec, use constant for default limit ()
Matt Jankowski 00c6ebd86f
Reduce `.times` usage in `StatusPin` and add `PIN_LIMIT` constant in validator ()
github-actions[bot] 8ceae2bce6
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Eugen Rochko 0e9801443f
Change to single opt-in during profile setup in onboarding in web UI ()
github-actions[bot] 9c68741f46
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Claire 0a6ec048a8
Fix upper border radius of onboarding columns ()
Claire c94bedf4e6
Use container queries to hide profile share button ()
Eugen Rochko 87696ea26e
Add prominent share/copy button on profiles in web UI ()
github-actions[bot] 7232d4750d
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Claire bd575a1dd6
Add banner for forwarded reports made by remote users about remote content ()
Matt Jankowski fe58ac8d9f
Improve spec coverage for `api/web/push_subscriptions` controller ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Eugen Rochko d67bd44ca1
Add profile setup to onboarding in web UI ()
github-actions[bot] d8074128f9
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Jeong Arm 922f086253
Fix open status on media modal ()
ppnplus 2b038b4f89
Added Thai diacritics and tone marks in HASHTAG_INVALID_CHARS_RE ()
Matt Jankowski 7e1a77ea51
Add base class for `api/v1/timelines/*` controllers ()
Matt Jankowski d562fb8459
Specs for minimal CSP policy in `Api::` controllers ()
github-actions[bot] c1e071f634
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski 1f8173ac5a
Extract private methods in api/v1/instances/domain_blocks ()