Commit Graph

8347 Commits (4c138ee4eb62505b3a8af53501b5a02872532003)

Author SHA1 Message Date
Eugen Rochko 63f4ea055a
Change follow suggestions design in web UI (#29272) 2 years ago
Matt Jankowski 245064bb98
Move "everyone" role and "instance actor" account magic number IDs to constants (#29260) 2 years ago
Wolfgang Fournès cfadb87077
Update enum syntax to use the new Rails 7.0 style (#29217) 2 years ago
Claire 9fee5e8526
Merge pull request from GHSA-jhrq-qvrm-qr36
* Fix insufficient Content-Type checking of fetched ActivityStreams objects

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

* Bump version to 4.3.0-alpha.1
2 years ago
Eugen Rochko 9cdc60ecc6
Change onboarding prompt to follow suggestions carousel in web UI (#28878) 2 years ago
Eugen Rochko fa0ba67753
Change materialized views to be refreshed concurrently to avoid locks (#29015) 2 years ago
Eugen Rochko c4af668e5c
Fix follow recommendations for less used languages (#29017) 2 years ago
Yamagishi Kazutoshi b3075a9993
Remove unused l18n messages (#28964) 2 years ago
J H 1467f1e1e1
Fixed the toggle emoji dropdown bug (#29012) 2 years ago
Claire 805dba7f8d
Change compose form to use server-provided post character limit (#28928) 2 years ago
github-actions[bot] 45287049ab
New Crowdin Translations (automated) (#28923)
Co-authored-by: GitHub Actions <noreply@github.com>
2 years ago
Eugen Rochko 6936e5aa69
Change design of compose form in web UI (#28119)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski 42ab855b23
Add specs for `Instance` model scopes and add `with_domain_follows` scope (#28767) 2 years ago
Matt Jankowski 17ea22671d
Fix `Style/GuardClause` cop in app/controllers (#28420) 2 years ago
Eugen Rochko 3205a654ca
Refactor conversations components in web UI (#28833)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
github-actions[bot] 59d2ea0d82
New Crowdin Translations (automated) (#28899)
Co-authored-by: GitHub Actions <noreply@github.com>
2 years ago
Matt Jankowski 6b6586f5d0
Add `CustomFilterKeyword#to_regex` method (#28893) 2 years ago
Matt Jankowski 7c9c6c7f80
Fix remaining `Rails/WhereExists` cop violations, regenerate todo (#28892) 2 years ago
Claire c50274a0ac
Fix redirect confirmation for accounts (#28902) 2 years ago
KMY(雪あすか) 9a8293f58d
Fix process of receiving posts with bearcaps is not working (#26527) 2 years ago
Matt Jankowski 38f7f8b909
Tidy up association declaration in `Instance` model (#28880) 2 years ago
Claire 5a838ceaa9
Use active variants for boost icons and increase icon size (#27924) 2 years ago
Matt Jankowski 1290fede65
Fix `Rails/WhereExists` cop in app/lib (#28862) 2 years ago
Eugen Rochko b19ae521b7
Add confirmation when redirecting logged-out requests to permalink (#27792)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski 7a1f087659
Add `created_before` and `updated_before` scopes to `MediaAttachment` (#28869) 2 years ago
Matt Jankowski 9d413cbaf8
Fix `Rails/WhereExists` cop in app/models (#28863) 2 years ago
Matt Jankowski 599bc69503
Simplify `AccountSummary.filtered` query generation (#28868) 2 years ago
Eugen Rochko 5b1eb09d54
Add annual reports for accounts (#28693) 2 years ago
Eugen Rochko 01ce9df880
Fix search form re-rendering spuriously in web UI (#28876) 2 years ago
Matt Jankowski c0e8e457ab
Eager loading fixes for `api/` controllers (#28848) 2 years ago
Matt Jankowski ceade78182
Fix `Rails/WhereExists` cop in app/services (#28853) 2 years ago
github-actions[bot] 78ee1453f9
New Crowdin Translations (automated) (#28857)
Co-authored-by: GitHub Actions <noreply@github.com>
2 years ago
Matt Jankowski b0207d7757
Add coverage for `Tag.recently_used` scope (#28850) 2 years ago
Matt Jankowski 67f54c4e75
Fix `Rails/WhereExists` cop in app/validators (#28854) 2 years ago
Claire e2d9635074
Add notification email on invalid second authenticator (#28822) 2 years ago
Matt Jankowski 18004bf227
Add `Account.matches_uri_prefix` scope and use in activitypub/followers_synchronizations controller (#28820) 2 years ago
Matt Jankowski 7ecf7f5403
Move controller->request specs for api/v1/statuses/* (#28818) 2 years ago
github-actions[bot] 76e383ea1e
New Crowdin Translations (automated) (#28827)
Co-authored-by: GitHub Actions <noreply@github.com>
2 years ago
Eugen Rochko 9f8e3cca9a
Fix duplicate and missing keys in search popout component in web UI (#28834) 2 years ago
Claire cf2a2ed71c
Fix processing of compacted single-item JSON-LD collections (#28816) 2 years ago
Claire 3593ee2e36
Add rate-limit of TOTP authentication attempts at controller level (#28801) 2 years ago
Matt Jankowski 5fc4ae7c5f
Move privacy policy into markdown file (#28699) 2 years ago
github-actions[bot] 9cd17020bc
New Crowdin Translations (automated) (#28798)
Co-authored-by: GitHub Actions <noreply@github.com>
2 years 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>
2 years ago
Matt Jankowski 4ec7d7d989
Fix `Rails/WhereExists` cop in REST::TagSerializer model (#28790) 2 years ago
Matt Jankowski 329911b0a3
Migrate controller->request spec for api/v1/follow* (#28811) 2 years ago
HTeuMeuLeu 86cc88c216
Fix banner image not showing in follow emails (#28814) 2 years ago
Matt Jankowski fd64817fbe
Fix `Rails/WhereExists` cop in app/lib/status_cache_hydrator (#28808) 2 years ago
Jonathan de Jong de09176ab9
Retry 401 errors on replies fetching (#28788)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Matt Jankowski 1480573c83
Add `Account.auditable` scope, fix N+1 in admin/action_logs#index (#28812) 2 years ago
Matt Jankowski f866413e72
Extract shared tagged statuses method in `FeaturedTag` (#28805) 2 years ago
Matt Jankowski d0b3bc23d7
Remove unused `matches_domain` scopes on Account, DomainAllow, DomainBlock (#28803) 2 years ago
Matt Jankowski 0b853678a4
Add coverage for `api/v1/peers/search` endpoint and extract controller query to Instance scope (#28796) 2 years ago
Matt Jankowski 9fb9ef418a
Fix `Rails/WhereExists` cop in User model (#28792) 2 years ago
Matt Jankowski aaa6f2e930
Group common `class_name` options in associations (#28779) 2 years ago
Matt Jankowski da31792ac7
Fix `Rails/WhereExists` cop in FeaturedTag model (#28791) 2 years ago
Matt Jankowski 89c9a4502d
Fix `Rails/WhereExists` cop in account/interactions concern (#28789) 2 years ago
Santiago Kozak 30b193b856
Improve display of lock icon in account headers (#28780) 2 years ago
Claire e817fe4c35
Change media “ALT” label to a specific class (#28777) 2 years ago
HTeuMeuLeu 1a3859d8e2
Update follow and follow_request emails (#28755)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
github-actions[bot] 1ab42ad12b
New Crowdin Translations (automated) (#28749)
Co-authored-by: GitHub Actions <noreply@github.com>
2 years ago
Renaud Chaput cb5ac15923
Use a helper to avoid using `media/` asset prefixes (#28756) 2 years ago
Claire baab58c80b
Fix various icon alignment issues (#28775) 2 years ago
Matt Jankowski 1b0cb3b54d
Announcement reactions query spec improvement and refactor (#28768) 2 years 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>
2 years ago
Renaud Chaput 01b6c83c36
Add a new `@/` alias for the root frontend directory and use it where possible (#28753) 2 years ago
Jeong Arm f0abba67db
Ignore RecordNotUnique errors in LinkCrawlWorker (#28748) 2 years ago
HTeuMeuLeu 7f471e70c0
Update new email templates (#28416)
Co-authored-by: Matt Jankowski <matt@jankowski.online>
2 years ago
Claire 98b5f85f10
Rename and refactor `User#confirm!` to `User#mark_email_as_confirmed!` (#28735) 2 years ago
Claire e621c1c44c
Fix registrations not checking MX records for email domain blocks requiring approval (#28608) 2 years ago