Commit Graph

8610 Commits (f0d6dc4519cc0311583f139834fbbbcd64e82d7a)

Author SHA1 Message Date
Claire cfea9cc172
Add list of pending releases directly in mail notifications for version updates ()
Matt Jankowski 32938dadd7
Add `not_allowed` scope for `PreviewCardTrend` ()
Matt Jankowski cf76380c91
Add `AccountStat.by_recent_status`, use in `Account` ()
github-actions[bot] b3d970bdb8
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Emelia Smith eb926b7e60
Ensure case-insensitive fields are converted to lowercase in user imports ()
Emelia Smith a3e8b78250
Ensure case-insensitive fields are converted to lowercase in Admin Imports ()
Renaud Chaput 02ea161506
Support "system" theme setting (light/dark theme depending on user system preference) ()
Co-authored-by: Nishiki Liu <hello@nshki.com>
Eugen Rochko 0cea7a623b
Fix background and icon on notification requests in web UI ()
Eugen Rochko 29f9dc742e
Change design of notification about lost connections in web UI ()
Eugen Rochko dd061291b1
Change out-of-band hashtags design in web UI ()
github-actions[bot] 799e3be9bd
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Eugen Rochko 8e7e86ee35
Add ability to reorder uploaded media before posting in web UI ()
Renaud Chaput 6c381f20b1
Restore advanced filter bar setting ()
Claire 37ca59815c
Remove setting for unfollow confirmation modal, and make it unconditional ()
Claire 58376eedda
Remove obsolete `admin` and `moderator` columns from `users` table ()
Claire d71d26a3c9
Reattribute notification-related records if possible when merging accounts ()
Claire de6c9e0fcd
Change new modals to allow vertical scrolling ()
Claire 387c78ddf9
Change icon of severed relationships notifications ()
Claire dfa43707eb
Change `AccountRelationshipSeveranceEvent` model to store lost followers and following counts separately ()
Matt Jankowski 34f293475e
Fix results/query in `api/v1/featured_tags/suggestions` ()
github-actions[bot] 5db5fa879b
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski 8c1d29df7e
Use `has_many through` instead of `delegate` for ARSE<>SR ()
Renaud Chaput ec1e770fea
Add the role ID to the badge component ()
Claire 05eda8d193
Remove severed relationship notifications for single account suspensions ()
Claire 75f34b80a8
Clean up notification requests when deleting accounts ()
Claire 885d0faf83
Fix duplicate translation string for severed relationships ()
github-actions[bot] c007dd5dd2
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski 77897cd24c
Use existing `SeveredRelationship.about_local_account` scope in more places ()
Matt Jankowski cdd168f5d3
Update `enum` away from deprecated ()
Eugen Rochko be52633ee4
Change back button to always appear in advanced web UI ()
Claire f4d753aedf
Fix error in severed relationship event serializer ()
Claire 98a2bb8be2
Fix issue with severed relationships notifications ()
Claire 954b470fbc
Fix error when attempting to delete posts that triggered a notification request ()
Claire d4449cc682
Fix account_relationship_severance_events unique indexes ()
Claire 44bf7b8128
Add notifications of severed relationships ()
Claire 8a1423a474
Allow unblocking email addresses from any matching account ()
Matt Jankowski 0a33be39c1
Reduce `LineLength` for `react_admin_component` helpers ()
Claire 3211e960ac
Fix “Explore” icon in navigation bar not being filled when selected ()
Claire 50fd94f481
Fix blockquote color in reply indicator ()
Claire 94f7ae192b
Fix emoji picker placement on limited-height viewports ()
Claire e36e7ea243
Fix emoji picker dropdown background and borders ()
Claire a583317df6
Fix icon and styling in browser notifications banner ()
github-actions[bot] 6c0b1a41a1
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski 4c84891453
Pull out full `li` element into admin/status_edits/status_edit partial ()
Claire ffc5be4820
Change filtered icon from “archive” to “inventory 2” ()
Matt Jankowski 62e266fbd6
Add `BrowserDetection` model concern ()
Matt Jankowski d7ab5655ef
Replace `render_symbol` method with `inline_svg_tag` usage ()
Claire bd06963c16
Slightly increase font weight of favorite/boost numbers in detailed statuses ()
Matt Jankowski 6c68c3c0ce
Introduce `inline_svg` gem, minimal usage, prep for material design icons ()
github-actions[bot] 4e61bce4e9
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski 72e1162eb3
Flatten `olm` section of context helper extension map ()
Claire cf08a438e7
Add badge on account card in report moderation interface when account is already suspended ()
Jeong Arm 39839baec3
Fix mute for 30 days ()
Matt Jankowski 6d2986017e
Remove unused `active_nav_class` helper method ()
Claire d5063072c3
Revert friends-of-friends follow recommendation query to using a CTE ()
Matt Jankowski b5115850bb
Move repeated `insert_pagination_headers` method to api base class ()
Matt Jankowski 92855948a0
Remove unused `show_landing_strip?` helper method ()
Matt Jankowski ecdbf15ebe
Remove unused `link_to_older` and `link_to_newer` helper methods ()
github-actions[bot] 04817e965a
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Claire 82c2af0356
Fix `user_mailer.welcome.hashtags_recent_count` not having plural form ()
Claire 726e7ad024
Fix extra separator besides favourite count on private posts ()
Claire d702a03a0c
Add “Learn more” on block modal to inform of federation caveats ()
Eugen Rochko ec19d0a14b
Change mute, block and domain block confirmations in web UI ()
Claire be7a68b095
Change Explore icon to compass in advanced interface ()
Renaud Chaput c76ae7a5c0
Convert `packs/public.jsx` to Typescript ()
Eugen Rochko 407287573c
Add domain information to profiles in web UI ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski f445d33fd6
Fix haml-lint `LineLength` cops in app/views/admin ()
Matt Jankowski 7720c684c5
Move common module inclusion in sub classes to `ActivityPub::BaseController` ()
github-actions[bot] 6865fda593
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski 838b0bdf2d
Remove unused `Account::Interactions#endorsed?` method ()
Matt Jankowski d39d625561
Use inclusive range in `ActivityTracker#get` ()
Matt Jankowski 6c3e718b86
Remove setting of `sensitive` value (default false, not null) in Status model ()
Matt Jankowski 14aa7f1e15
Use `Account.activitypub` generated scope ()
Eugen Rochko 30483d618f
Fix back button appearing in column header unexpectedly in web UI ()
Claire 95a5713ff7
Fix accounts not getting imported into redux store for some filtered notification types ()
Matt Jankowski 0bc17a3d48
Use enum-generated `public_visibility` scope on Status ()
Matt Jankowski 19cbadfbd6
Use enum-generated scope for `IpBlock` in CLI ()
Eugen Rochko 4991198b70
Change design of metadata underneath posts in web UI ()
Matt Jankowski f9100743ec
Add `Api::ErrorHandling` concern for api/base controller ()
Eugen Rochko 1e1d97a787
Fix wrong background color on search results in web UI ()
github-actions[bot] 5aea35de13
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
mogaminsk 3156d04ec1
Use sender's `username` to column title in notification request if it's `display_name` is not set ()
Claire a32a126cac
Hide media by default in notification requests ()
Matt Jankowski c09b8a7164
Add `Account.without_internal` scope ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Renaud Chaput acf3f410ae
Fix navigation panel icons missing classes ()
github-actions[bot] 171948b910
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Erik Uden 268856d5d9
Fix toggle button color for light (and dark/default) theme ()
Claire b43eaa4517
Refactor notification filtering behavior definition ()
Claire 27fd084cb5
Exempt some notification types from notification filtering ()
Matt Jankowski 2c0441acd7
Use rails built-in `tag` methods in `TextFormatter.shortened_link` ()
Matt Jankowski 7e6eb64f1e
Use full snowflake range in `admin/metrics` classes ()
Matt Jankowski 9754967d5f
Move `pagination_max_id` and `pagination_since_id` into api/base controller ()
Matt Jankowski 01b624c4a0
Use `normalizes` on `CustomFilter#context` value ()
Matt Jankowski 00d94f3ffa
Use vanilla JS to get Rails CSRF values ()
Matt Jankowski d4ed7e466c
Extract `by_domain_length` scope in `DomainNormalizable` concern ()
Eugen Rochko 5b60d4b696
Change background color in web UI ()
Renaud Chaput af4e44e30a
Fix i18n typo ()
github-actions[bot] dc36b961aa
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski 216cea1e27
Fix incorrect frequency value in `FriendsOfFriendsSource` data ()
Eugen Rochko c10bbf5fe3
Add notification policies and notification requests in web UI ()
Eugen Rochko 19efa1b9f1
Change action button to be last on profiles in web UI ()
Eugen Rochko 16c856729b
Change icons in navigation panel to be filled when active in web UI ()
Jeong Arm 4a6ddbc9c0
Normalize idna domain before account unblock domain ()
Matt Jankowski a7284690fc
Add coverage for admin/metrics base classes, simplify subclass generation ()
Renaud Chaput b9722dfe2b
Use the server setting to get the max number of poll options in UI ()
Eugen Rochko 2347ea813e
Change dropdown menu icon to not be replaced by close icon when open in web UI ()
Eugen Rochko 5b3a8737d6
Add hints for rules ()
github-actions[bot] f85168b189
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
gunchleoc 81400b02b1
Add nds locale to posting languages ()
Eugen Rochko 50b17f7e10
Add notification policies and notification requests ()
gunchleoc c01f4cebed
Add Mohawk to posting languages ()
gunchleoc 995e15c24a
Add Jawi Malay to posting languages ()
Mashiro b8bd94ca8e
Fix unhandled nullable attachments limitation counter ()
Claire ee8d0b9447
Fix follow suggestions potentially including silenced or blocked accounts ()
gunchleoc 1d5de8b26a
Add Vai to posting languages ()
gunchleoc 5ab944af95
Rename Panjabi to Punjabi ()
Helge 8d22599318
Add Pennsylvania Dutch to languages dropdown ()
Krzysztof Piwowar b4af3639e8
Add Kashubian to languages dropdown ()
Claire 1d721b21e1
Add attribution to Tabler.io icons used in the new mailer designs ()
HTeuMeuLeu 934cab7508
New welcome email ()
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Matt Jankowski 3389c41b58
Move `nobody` position in `UserRole` magic number to constant ()
Claire ec953bf378
Fix regression in handling `select` elements in `packs/admin.tsx` ()
Renaud Chaput 958a810553
Convert `packs/admin.jsx` to Typescript ()
Matt Jankowski eb1b8f69de
Allow pagination `Link` headers on API accounts/statuses when pinned true ()
Claire edd6aa70e1
Fix regression with search bar icon position ()
Claire f24c62a5c8
Fix preview card player getting embedded when clicking on the external link button ()
Matt Jankowski e1fcb02867
Align `TagServersMeasure` to use `WITH` query style similar to others ()
Renaud Chaput 4185f3792c
Fix full date display not respecting the locale 12/24h format ()
github-actions[bot] cdf5098166
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
github-actions[bot] 7f84bbfd92
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Jeong Arm deffb8ecb6
Show comments in the admin/instances page ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Roni Laukkarinen edfc53856f
Fix the regression with the search icon position ()
Matt Jankowski ea8e7f3e9d
Align `TagServersMeasure` query style with other classes ()
renovate[bot] dc4427dc9b
Update devDependencies (non-major) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Renaud Chaput 899eac1a92
Use modern ES syntax rather than `.call` ()
github-actions[bot] bc4c5ed918
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski 76d256138e
Wrap media attachment size calculation in `COALESCE` ()
Claire 90573c3abb
Change behavior of privacy dropdown to only change value on validation ()
Evan Paterakis 213c87ae59
Fix filters title and keywords overflow ()
zunda a30cdfd4d4
Specify 410 for code when responding as json while self-destruction ()
Matt Jankowski c7555271a6
Remove unused `media-spoiler-*` JS/CSS ()
Roni Laukkarinen 10fdd88288
Change new explore compass icon CSS class to explore ()
Matt Jankowski 8429d07454
Add `RankedTrend` concern for trends classes ()
github-actions[bot] 98e3dc2578
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Jason Punyon 1ad3cffaea
Missed a .to_date ()
Roni Laukkarinen 1cb74eeec0
Fix search icon position on mobile ()
Roni Laukkarinen bbf6cb66f6
Improve alt text form accessibility with long texts ()
Claire 25ffe0af45
Fix pixel alignment for some composer icons ()
github-actions[bot] bba4118ddd
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Claire 9d8dfeb5fb
Fix processing of `Link` objects in `Image` objects ()
Claire 5152dd869e
Fix link verifications when page size exceeds 1MB ()
Claire a9496882fc
Fix auto-close email being sent to users with devops permissions instead of settings permissions ()
Claire b71904816a
Change registrations to be disabled by default for new servers ()
Claire 2751acb6cd
Automatically switch from open to approved registrations in absence of moderators ()
github-actions[bot] fd2b6c29c6
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski 937dad1ee6
Extract ES query and filter hashes into private methods in `TagSearchService` ()
github-actions[bot] 9a2b9d1484
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Matt Jankowski 0ef44ee720
Move `AccountSuggestions::Source` subclasses default limit value to constant ()
Claire bde4df6be6
Remove CSS definitions for some unused classes ()
Matt Jankowski 785e2f9399
Add scope `providing_styles` to `UserRole` ()
Eugen Rochko b8b2f20b16
Change explore icon from hashtag to compass in web UI ()
Hinaloe c645490d55
Fix `sensitive` flag not being removed when removing CW in new compose form ()
github-actions[bot] ad16362efe
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Eugen Rochko 63f4ea055a
Change follow suggestions design in web UI ()
Matt Jankowski 245064bb98
Move "everyone" role and "instance actor" account magic number IDs to constants ()
Wolfgang Fournès cfadb87077
Update enum syntax to use the new Rails 7.0 style ()
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
github-actions[bot] 1c93d625c6
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Claire d4d0565b0f
Fix user creation failure handling in OAuth paths ()
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
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>
Emelia Smith e8b66a0525
Ignore legacy moderator and admin columns on User model ()
Nicolas Hoffmann 476a043fc5
Fix modal container bounds ()
github-actions[bot] 5de1ce23c3
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
github-actions[bot] 6482948547
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
github-actions[bot] c07028b2fa
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Claire ca8fbda5d0
Add end-to-end test for OCR in media uploads ()
Claire 67ec192d7d
Clean up some unused CSS definitions ()
github-actions[bot] 2a362d62a8
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Claire eff447a455
Rewrite signature verification using regexps and `StringScanner` ()
Claire 7efc33b909
Move HTTP Signature parsing code to its own class ()
github-actions[bot] 17052714a2
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Claire eeabf9af72
Fix compatibility with Redis <6.2 ()
github-actions[bot] 90ccf7beb2
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
Claire 7ee93b7431
Change `source` attribute of `Suggestion` entity in `/api/v2/suggestions` back to a string ()
Matt Jankowski 2f19ddd1fa
Move status serializer error handling to private method ()
Matt Jankowski 93a5b3f9df
Move status serializer chooser to private method ()
Matt Jankowski 69e61fff38
Move direct serializer usage out of admin view partial ()
Matt Jankowski 0877f6fda4
Remove redundant `return` in `IntentsController` ()
Emelia Smith 4fb7f611de
Return domain block digests from admin domain blocks API ()
Matt Jankowski 4cf07ed78c
Add missing action logging to `api/v1/admin/reports#update` ()
Claire 9ce914cc89
Fix report reason selector in moderation interface not unselecting rules when changing category ()
Claire 66dda7c762
Fix already-invalid reports failing to resolve ()
Matt Jankowski 86500e3312
Extract scenic view model common methods to concern ()
Eugen Rochko 1666b19559
Fix confirmation e-mails when signing up through an app ()
y.takahashi 3c315a68af
Fix 'focus the compose textarea' shortcut is not working ()
Claire 1726085db5
Merge pull request from GHSA-3fjr-858r-92rw
* Fix insufficient origin validation

* Bump version to 4.3.0-alpha.1
Eugen Rochko 9cdc60ecc6
Change onboarding prompt to follow suggestions carousel in web UI ()
Eugen Rochko fa0ba67753
Change materialized views to be refreshed concurrently to avoid locks ()
Eugen Rochko c4af668e5c
Fix follow recommendations for less used languages ()