Commit Graph

8391 Commits (e75b55a6d7acabe0d70eac96ff773ac1ca681855)

Author SHA1 Message Date
Claire b31af34c97
Merge pull request from GHSA-vm39-j3vx-pch3
* Prevent different identities from a same SSO provider from accessing a same account

* Lock auth provider changes behind `ALLOW_UNSAFE_AUTH_PROVIDER_REATTACH=true`

* Rename methods to avoid confusion between OAuth and OmniAuth
11 months ago
Emelia Smith 68eaa804c9
Merge pull request from GHSA-7w3c-p9j8-mq3x
* Ensure destruction of OAuth Applications notifies streaming

Due to doorkeeper using a dependent: delete_all relationship, the destroy of an OAuth Application bypassed the existing AccessTokenExtension callbacks for announcing destructing of access tokens.

* Ensure password resets revoke access to Streaming API

* Improve performance of deleting OAuth tokens

---------

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
11 months ago
Emelia Smith e8b66a0525
Ignore legacy moderator and admin columns on User model (#29188) 11 months ago
Nicolas Hoffmann 476a043fc5
Fix modal container bounds (#29185) 11 months ago
github-actions[bot] 5de1ce23c3
New Crowdin Translations (automated) (#29182)
Co-authored-by: GitHub Actions <noreply@github.com>
11 months ago
github-actions[bot] 6482948547
New Crowdin Translations (automated) (#29156)
Co-authored-by: GitHub Actions <noreply@github.com>
11 months ago
github-actions[bot] c07028b2fa
New Crowdin Translations (automated) (#29152)
Co-authored-by: GitHub Actions <noreply@github.com>
11 months ago
Claire ca8fbda5d0
Add end-to-end test for OCR in media uploads (#29148) 11 months ago
Claire 67ec192d7d
Clean up some unused CSS definitions (#29146) 11 months ago
github-actions[bot] 2a362d62a8
New Crowdin Translations (automated) (#29145)
Co-authored-by: GitHub Actions <noreply@github.com>
11 months ago
Claire eff447a455
Rewrite signature verification using regexps and `StringScanner` (#29133) 11 months ago
Claire 7efc33b909
Move HTTP Signature parsing code to its own class (#28932) 11 months ago
github-actions[bot] 17052714a2
New Crowdin Translations (automated) (#29121)
Co-authored-by: GitHub Actions <noreply@github.com>
11 months ago
Claire eeabf9af72
Fix compatibility with Redis <6.2 (#29123) 11 months ago
github-actions[bot] 90ccf7beb2
New Crowdin Translations (automated) (#28965)
Co-authored-by: GitHub Actions <noreply@github.com>
11 months ago
Claire 7ee93b7431
Change `source` attribute of `Suggestion` entity in `/api/v2/suggestions` back to a string (#29108) 11 months ago
Matt Jankowski 2f19ddd1fa
Move status serializer error handling to private method (#29031) 11 months ago
Matt Jankowski 93a5b3f9df
Move status serializer chooser to private method (#29030) 11 months ago
Matt Jankowski 69e61fff38
Move direct serializer usage out of admin view partial (#29028) 11 months ago
Matt Jankowski 0877f6fda4
Remove redundant `return` in `IntentsController` (#29099) 11 months ago
Emelia Smith 4fb7f611de
Return domain block digests from admin domain blocks API (#29092) 11 months ago
Matt Jankowski 4cf07ed78c
Add missing action logging to `api/v1/admin/reports#update` (#29044) 11 months ago
Claire 9ce914cc89
Fix report reason selector in moderation interface not unselecting rules when changing category (#29026) 11 months ago
Claire 66dda7c762
Fix already-invalid reports failing to resolve (#29027) 11 months ago
Matt Jankowski 86500e3312
Extract scenic view model common methods to concern (#28111) 11 months ago
Eugen Rochko 1666b19559
Fix confirmation e-mails when signing up through an app (#29064) 11 months ago
y.takahashi 3c315a68af
Fix 'focus the compose textarea' shortcut is not working (#29059) 11 months ago
Claire 1726085db5
Merge pull request from GHSA-3fjr-858r-92rw
* Fix insufficient origin validation

* Bump version to 4.3.0-alpha.1
11 months ago
Eugen Rochko 9cdc60ecc6
Change onboarding prompt to follow suggestions carousel in web UI (#28878) 11 months ago
Eugen Rochko fa0ba67753
Change materialized views to be refreshed concurrently to avoid locks (#29015) 11 months ago
Eugen Rochko c4af668e5c
Fix follow recommendations for less used languages (#29017) 11 months ago
Yamagishi Kazutoshi b3075a9993
Remove unused l18n messages (#28964) 11 months ago
J H 1467f1e1e1
Fixed the toggle emoji dropdown bug (#29012) 11 months ago
Claire 805dba7f8d
Change compose form to use server-provided post character limit (#28928) 12 months ago
github-actions[bot] 45287049ab
New Crowdin Translations (automated) (#28923)
Co-authored-by: GitHub Actions <noreply@github.com>
12 months ago
Eugen Rochko 6936e5aa69
Change design of compose form in web UI (#28119)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
12 months ago
Matt Jankowski 42ab855b23
Add specs for `Instance` model scopes and add `with_domain_follows` scope (#28767) 12 months ago
Matt Jankowski 17ea22671d
Fix `Style/GuardClause` cop in app/controllers (#28420) 12 months ago
Eugen Rochko 3205a654ca
Refactor conversations components in web UI (#28833)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
12 months ago
github-actions[bot] 59d2ea0d82
New Crowdin Translations (automated) (#28899)
Co-authored-by: GitHub Actions <noreply@github.com>
12 months ago
Matt Jankowski 6b6586f5d0
Add `CustomFilterKeyword#to_regex` method (#28893) 12 months ago
Matt Jankowski 7c9c6c7f80
Fix remaining `Rails/WhereExists` cop violations, regenerate todo (#28892) 12 months ago
Claire c50274a0ac
Fix redirect confirmation for accounts (#28902) 12 months ago
KMY(雪あすか) 9a8293f58d
Fix process of receiving posts with bearcaps is not working (#26527) 12 months ago
Matt Jankowski 38f7f8b909
Tidy up association declaration in `Instance` model (#28880) 12 months ago
Claire 5a838ceaa9
Use active variants for boost icons and increase icon size (#27924) 12 months ago
Matt Jankowski 1290fede65
Fix `Rails/WhereExists` cop in app/lib (#28862) 12 months ago
Eugen Rochko b19ae521b7
Add confirmation when redirecting logged-out requests to permalink (#27792)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
12 months ago
Matt Jankowski 7a1f087659
Add `created_before` and `updated_before` scopes to `MediaAttachment` (#28869) 12 months ago
Matt Jankowski 9d413cbaf8
Fix `Rails/WhereExists` cop in app/models (#28863) 12 months ago
Matt Jankowski 599bc69503
Simplify `AccountSummary.filtered` query generation (#28868) 12 months ago
Eugen Rochko 5b1eb09d54
Add annual reports for accounts (#28693) 12 months ago
Eugen Rochko 01ce9df880
Fix search form re-rendering spuriously in web UI (#28876) 12 months ago
Matt Jankowski c0e8e457ab
Eager loading fixes for `api/` controllers (#28848) 12 months ago
Matt Jankowski ceade78182
Fix `Rails/WhereExists` cop in app/services (#28853) 12 months ago
github-actions[bot] 78ee1453f9
New Crowdin Translations (automated) (#28857)
Co-authored-by: GitHub Actions <noreply@github.com>
12 months ago
Matt Jankowski b0207d7757
Add coverage for `Tag.recently_used` scope (#28850) 12 months ago
Matt Jankowski 67f54c4e75
Fix `Rails/WhereExists` cop in app/validators (#28854) 12 months ago
Claire e2d9635074
Add notification email on invalid second authenticator (#28822) 12 months ago
Matt Jankowski 18004bf227
Add `Account.matches_uri_prefix` scope and use in activitypub/followers_synchronizations controller (#28820) 12 months ago
Matt Jankowski 7ecf7f5403
Move controller->request specs for api/v1/statuses/* (#28818) 12 months ago
github-actions[bot] 76e383ea1e
New Crowdin Translations (automated) (#28827)
Co-authored-by: GitHub Actions <noreply@github.com>
12 months ago
Eugen Rochko 9f8e3cca9a
Fix duplicate and missing keys in search popout component in web UI (#28834) 12 months ago
Claire cf2a2ed71c
Fix processing of compacted single-item JSON-LD collections (#28816) 12 months ago
Claire 3593ee2e36
Add rate-limit of TOTP authentication attempts at controller level (#28801) 12 months ago
Matt Jankowski 5fc4ae7c5f
Move privacy policy into markdown file (#28699) 12 months ago
github-actions[bot] 9cd17020bc
New Crowdin Translations (automated) (#28798)
Co-authored-by: GitHub Actions <noreply@github.com>
12 months ago
renovate[bot] 163db814c2
Update dependency react-redux to v9.1.0 (#28717)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
12 months ago
Matt Jankowski 4ec7d7d989
Fix `Rails/WhereExists` cop in REST::TagSerializer model (#28790) 12 months ago
Matt Jankowski 329911b0a3
Migrate controller->request spec for api/v1/follow* (#28811) 12 months ago
HTeuMeuLeu 86cc88c216
Fix banner image not showing in follow emails (#28814) 12 months ago
Matt Jankowski fd64817fbe
Fix `Rails/WhereExists` cop in app/lib/status_cache_hydrator (#28808) 12 months ago
Jonathan de Jong de09176ab9
Retry 401 errors on replies fetching (#28788)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
12 months ago
Matt Jankowski 1480573c83
Add `Account.auditable` scope, fix N+1 in admin/action_logs#index (#28812) 12 months ago
Matt Jankowski f866413e72
Extract shared tagged statuses method in `FeaturedTag` (#28805) 12 months ago
Matt Jankowski d0b3bc23d7
Remove unused `matches_domain` scopes on Account, DomainAllow, DomainBlock (#28803) 12 months ago
Matt Jankowski 0b853678a4
Add coverage for `api/v1/peers/search` endpoint and extract controller query to Instance scope (#28796) 12 months ago
Matt Jankowski 9fb9ef418a
Fix `Rails/WhereExists` cop in User model (#28792) 12 months ago
Matt Jankowski aaa6f2e930
Group common `class_name` options in associations (#28779) 12 months ago
Matt Jankowski da31792ac7
Fix `Rails/WhereExists` cop in FeaturedTag model (#28791) 12 months ago
Matt Jankowski 89c9a4502d
Fix `Rails/WhereExists` cop in account/interactions concern (#28789) 12 months ago
Santiago Kozak 30b193b856
Improve display of lock icon in account headers (#28780) 12 months ago
Claire e817fe4c35
Change media “ALT” label to a specific class (#28777) 12 months ago
HTeuMeuLeu 1a3859d8e2
Update follow and follow_request emails (#28755)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
12 months ago
github-actions[bot] 1ab42ad12b
New Crowdin Translations (automated) (#28749)
Co-authored-by: GitHub Actions <noreply@github.com>
12 months ago
Renaud Chaput cb5ac15923
Use a helper to avoid using `media/` asset prefixes (#28756) 12 months ago
Claire baab58c80b
Fix various icon alignment issues (#28775) 12 months ago
Matt Jankowski 1b0cb3b54d
Announcement reactions query spec improvement and refactor (#28768) 12 months ago
renovate[bot] 4e277f83dc
Update devDependencies (non-major) (#28728)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
12 months ago
Renaud Chaput 01b6c83c36
Add a new `@/` alias for the root frontend directory and use it where possible (#28753) 12 months ago
Jeong Arm f0abba67db
Ignore RecordNotUnique errors in LinkCrawlWorker (#28748) 12 months ago
HTeuMeuLeu 7f471e70c0
Update new email templates (#28416)
Co-authored-by: Matt Jankowski <matt@jankowski.online>
12 months ago
Claire 98b5f85f10
Rename and refactor `User#confirm!` to `User#mark_email_as_confirmed!` (#28735) 12 months ago
Claire e621c1c44c
Fix registrations not checking MX records for email domain blocks requiring approval (#28608) 12 months ago
Matt Jankowski a2f02a0775
Disable `Rails/SkipsModelValidations` cop (#28712) 12 months ago
Claire 8cb4825c8b
Fix sign-up restrictions based on email addresses not being enforced (#28732) 12 months ago
github-actions[bot] 1012ffac9e
New Crowdin Translations (automated) (#28721)
Co-authored-by: GitHub Actions <noreply@github.com>
12 months ago
Matt Jankowski e72676e83a
Improve `api/v1/markers#create` performance against simultaneous requests (#28718) 12 months ago
Claire 6bbcd9348e
Switch from 48px weight 600 material symbol icons to 24px weight 400 icons (#28064) 1 year ago
Claire 1070804a1a
Fix `RedownloadMediaWorker` not being called on transient S3 failure (#28714) 1 year ago
MitarashiDango 2c05b8a60d
Fix Undo Announce activity is not sent, when not followed by the reblogged post author (#18482)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Matt Jankowski a90c134850
Move followable by logic to suggestion class (#28710) 1 year ago
Renaud Chaput 608f66f978
Change icon SVG imports to use a default import (#28709) 1 year ago
Renaud Chaput c6684aa1e3
Use the assets pipeline to load `inert.css` (#28701) 1 year ago
Matt Jankowski a90696011e
Add coverage/bugfix for invalid appeal submission (#28703) 1 year ago
Matt Jankowski 7801db7ba4
Spec coverage for custom css endpoint (#28706) 1 year ago
github-actions[bot] b86083f0dc
New Crowdin Translations (automated) (#28708)
Co-authored-by: GitHub Actions <noreply@github.com>
1 year ago
Matt Jankowski 575ab085be
Disable `Rails/ApplicationController` for `HealthController` (#28705) 1 year ago
Renaud Chaput 383be173af
Add a version comment to the emoji preval-ed file so it is regenerated (#28700) 1 year ago
Essem b6e353537b
Add new emojis from `jdecked/twemoji` 15.0 (#28404) 1 year ago
Matt Jankowski b68f185573
Reduce `LineLength` for `react_component` helper in views/admin (#28694) 1 year ago
Matt Jankowski 87097a227c
Clean up `settings/featured_tags/index` view (#28688) 1 year ago
Matt Jankowski 55802242ce
Refactor login activity partial (remove inline ruby) (#28687) 1 year ago
github-actions[bot] 204bbf49d2
New Crowdin Translations (automated) (#28692)
Co-authored-by: GitHub Actions <noreply@github.com>
1 year ago
Matt Jankowski 6daa69327b
Fix `LineLength` haml-lint in `t` usage (#28686) 1 year ago
Claire d7e13e2483
Fix potential redirection loop of streaming endpoint (#28665) 1 year ago
Matt Jankowski 543d7890fd
Use normalizes to prepare `User` values (#28650)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Matt Jankowski a71e918e95
Fix `LineLength` haml-lint in `media/player` view (#28667) 1 year ago
Matt Jankowski eed4eef39a
Fix `LineLength` haml-lint in `app/views/auth` area (#28664) 1 year ago
Matt Jankowski 09ab073f0c
Fix `LineLength` haml-lint in `app/views/settings` area (#28663) 1 year ago
Claire 10203bd57a
Clean up `Setting` model and remove dead code (#28661) 1 year ago
Jean Boussier 1781849884
Inline what remains of the rails-settings-cached gem (#28618)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
gunchleoc 173953c23e
Fix ISO code for Canadian French (#26015)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
1 year ago
Matt Jankowski 68f06f1fd4
Fix haml-lint `LineLength` cop for `settings/preferences/notifications/show` (#28655) 1 year ago
github-actions[bot] 8e7d5fe2ac
New Crowdin Translations (automated) (#28658)
Co-authored-by: GitHub Actions <noreply@github.com>
1 year ago
Matt Jankowski cd4b4d4734
Replace unused `by_recent_sign_in` scope (#28616) 1 year ago
Matt Jankowski e677eb164c
Remove unused `Announcement#time_range?` (#28648) 1 year ago
Matt Jankowski 3e43cd095c
Remove unused scope `Announcement.without_muted` (#28645) 1 year ago
Matt Jankowski 9322396e58
Use normalizes to prepare `Account#username` value (#28646) 1 year ago
Matt Jankowski cd58e37b25
Remove unused `DomainBlock#affected_accounts_count` method (#28642) 1 year ago
Matt Jankowski 3e7a9266ea
Remove unused `EmojiFormatter#count_tag_nesting` method (#28643) 1 year ago
Matt Jankowski 4ccba94489
Remove unused `*_silenced_accounts` scopes on Status (#28644) 1 year ago
Matt Jankowski c52a593a30
Remove unused scope `User.emailable` (#28647) 1 year ago
Matt Jankowski e827c4692c
Use Arel `matches` method in CustomEmoji search (#28615) 1 year ago
github-actions[bot] cc67943df2
New Crowdin Translations (automated) (#28627)
Co-authored-by: GitHub Actions <noreply@github.com>
1 year ago
Matt Jankowski 1bc5a52139
Extract SQL heredoc method for Announcement scopes (#28613) 1 year ago
Matt Jankowski aa6d07dbd9
Use normalizes to prepare CustomEmoji `domain` value (#28624) 1 year ago
Matt Jankowski 202951e6d9
Use Arel `in_order_of` method to generate CASE for `DomainBlock.by_severity` (#28617) 1 year ago
Matt Jankowski 57f49c8191
Use Arel `nulls_first` method in ordering CustomEmojiFilter scope (#28614) 1 year ago
Renaud Chaput a0e237a96f
Upgrade Redux packages (#28585) 1 year ago
Jean Boussier 5a6d533c53
Enable Rails 7.1 Marshalling format (#28609) 1 year ago
Matt Jankowski 12bed81187
Add validation specs to `CustomFilter` model (#28600) 1 year ago
github-actions[bot] 43d800ada6
New Crowdin Translations (automated) (#28604)
Co-authored-by: GitHub Actions <noreply@github.com>
1 year ago
Claire 6ad0fb5a77
Fix NULL MX handling and tighten DNS resolving specs (#28607) 1 year ago
Claire 5f4643b895
Add `PAPERCLIP_ROOT_URL` to Content-Security-Policy when used (#28561) 1 year ago
Claire d0fd14f851
Fix scrolling to detailed status not always working (#28577) 1 year ago
Claire 419c659bc4
Add fallback redirection when getting a webfinger query `WEB_DOMAIN@WEB_DOMAIN` (#28592) 1 year ago
github-actions[bot] bdf4750633
New Crowdin Translations (automated) (#28590)
Co-authored-by: GitHub Actions <noreply@github.com>
1 year ago
Claire dfdadb92e8
Add ability to require approval when users sign up using specific email domains (#28468) 1 year ago
Michael Stanclift 195b89d336
Fix .opus file uploads being misidentified by Paperclip (#28580) 1 year ago