Commit Graph

13816 Commits (main)

Author SHA1 Message Date
Matt Jankowski d0ab94c4d2
Add `FeaturedTag` coverage, use `pick` in model (#31828) 2024-09-09 19:57:19 +00:00
Claire 441af2632d Merge commit '2caa3f365ded73be17b623177967110e66f14061' into glitch-soc/merge-upstream 2024-09-09 18:22:41 +02:00
Eugen Rochko a021dee642
Change labels on thread indicators in web UI (#31806) 2024-09-09 15:28:54 +00:00
github-actions[bot] 2caa3f365d
New Crowdin Translations (automated) (#31800)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-09 12:38:43 +00:00
Mike Dalessio a0ea2fa3b0
Change fetch link card service to parse as HTML5 (#31814) 2024-09-09 10:59:42 +00:00
Matt Jankowski e6969cf4e4
Add method for media-referencing status in `AccountStatusCleanupPolicy` (#31798) 2024-09-09 08:33:51 +00:00
Mike Dalessio 82161d8ae5
Change Account::Field parsing to use HTML5::DocumentFragment (#31813) 2024-09-08 18:56:18 +00:00
Mike Dalessio afa2e257e4
Change verify link service to use CSS selectors instead of a complex XPath query (#31815) 2024-09-08 18:50:22 +00:00
Mike Dalessio 10143d053a
Change some instances of Nokogiri HTML4 parsing to HTML5 (#31812) 2024-09-08 18:41:37 +00:00
Claire 5c97ccf939 Merge commit 'b716248fc5bde4dc47b8104d092d092d87c50f1a' into glitch-soc/merge-upstream 2024-09-06 20:10:53 +02:00
Claire 29124990a2 Merge commit '7335a43b6dac0e82c305ce4dec9db4da114c769e' into glitch-soc/merge-upstream
Conflicts:
- `app/helpers/application_helper.rb`:
  Upstream reworked how CSS classes for the document's body are computed.
  Slight conflict due to glitch-soc's different theming system.
  Updated as upstream did.
2024-09-06 19:25:31 +02:00
Claire b716248fc5
Add link to `/admin/roles` in moderation interface when changing someone's role (#31791) 2024-09-06 17:21:49 +00:00
Matt Jankowski 7335a43b6d
Use async count in admin dashboard (#30606) 2024-09-06 16:52:35 +00:00
Matt Jankowski 0a433d08fb
Move shares/modal body class to layout (#31789) 2024-09-06 16:46:55 +00:00
Matt Jankowski 4f81ad2494
Add coverage for `media#player`, move body class to view (#31790) 2024-09-06 16:46:25 +00:00
Emelia Smith c88ba523ee
Fix sort order of moderation notes on Reports and Accounts (#31528) 2024-09-06 14:58:36 +00:00
Matt Jankowski a9d0b48b65
Set "admin" body class from `admin` nested layout (#31269) 2024-09-06 13:58:46 +00:00
Emelia Smith fd7fc7bdc3
Disable actions on reports that have already been taken (#31773) 2024-09-06 12:50:30 +00:00
Matt Jankowski be77a1098b
Extract `Account::AUTOMATED_ACTOR_TYPES` for "bot" actor_type values (#31772) 2024-09-06 07:49:38 +00:00
github-actions[bot] cc4865193a
New Crowdin Translations (automated) (#31781)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-06 07:38:08 +00:00
Matt Jankowski 7efe0bde9d
Add `have_http_link_header` matcher and set header values as strings (#31010) 2024-09-05 20:05:38 +00:00
Michael Stanclift db6b1fe8fb [Glitch] Fix radio checkbox visibility in Report dialogs
Port b4b639ee4a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-05 20:40:31 +02:00
Eugen Rochko cb324b5d7c [Glitch] Change design of unread conversations in web UI
Port ec4c49082e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-05 20:40:04 +02:00
Claire 1a0ef0c526 Merge commit '5acec087caed4a2fdf0fd8ed11f891222496f321' into glitch-soc/merge-upstream 2024-09-05 20:36:25 +02:00
Eugen Rochko bc435c63bd
Change width of columns in advanced web UI (#31762) 2024-09-05 14:57:53 +00:00
Matt Jankowski d58faa2018
Remove references to deprecated `Import` model (#31759) 2024-09-05 14:07:17 +00:00
Michael Stanclift b4b639ee4a
Fix radio checkbox visibility in Report dialogs (#31752) 2024-09-05 12:34:13 +00:00
Matt Jankowski e820cc30b8
Convert invites controller spec to system/request specs (#31755) 2024-09-05 11:54:27 +00:00
James May f9712fad1b
Direct link to each authorized_application entry with html anchor (#31677)
Co-authored-by: Matt Jankowski <matt@jankowski.online>
2024-09-05 09:48:42 +00:00
Eugen Rochko b265a654d7
Fix wrong width on content warnings and filters in web UI (#31761) 2024-09-05 09:46:11 +00:00
github-actions[bot] eb23d9f0f6
New Crowdin Translations (automated) (#31765)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-05 09:40:38 +00:00
Eugen Rochko ec4c49082e
Change design of unread conversations in web UI (#31763) 2024-09-05 09:39:59 +00:00
Matt Jankowski 4678473e54
Add `AnnualReport::Source#report_statuses` method for subclasses to use (#31753) 2024-09-04 19:50:33 +00:00
Claire 1fb31ad9b1 [Glitch] Fix display name being displayed instead of domain in remote reports
Port 585e369e0b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-04 19:43:21 +02:00
Claire 1d86377ba9 [Glitch] Fix all notification types being stored without filtering when polling
Port fab29ebbe8 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-04 19:42:45 +02:00
Claire 5a55180b95 Merge commit 'fe04291af46d7cb9d3439fa73739b2ffb2b53d72' into glitch-soc/merge-upstream
Conflicts:
- `spec/lib/sanitize/config_spec.rb`:
  Upstream rewrote top-level `describe` calls to `RSpec.describe`, and
  glitch-soc had differences in the first few tests because of the wider
  subset of HTML it accepts.
  Changed `describe` to `RSpec.describe` as upstream did, keeping
  glitch-soc's tests.
2024-09-04 19:38:52 +02:00
Claire 559958f8c5
Fix email language when recipient has no selected locale (#31747) 2024-09-04 17:35:40 +00:00
Matt Jankowski fe04291af4
Use more accurate beginning/ending times in annual report source (#31751) 2024-09-04 17:19:53 +00:00
Claire 585e369e0b
Fix display name being displayed instead of domain in remote reports (#31613) 2024-09-04 13:43:08 +00:00
Claire fab29ebbe8
Fix all notification types being stored without filtering when polling (#31745) 2024-09-04 13:28:16 +00:00
Claire 1fcffa573c
Fix 500 error in `GET /api/v2_alpha/notifications` when there are no notifications to return (#31746) 2024-09-04 12:54:15 +00:00
Matt Jankowski 58df00f04d
Extract method for self-referencing records in `AccountStatusCleanupPolicy` (#31244) 2024-09-04 08:52:37 +00:00
github-actions[bot] 1c17dca6d9
New Crowdin Translations (automated) (#31741)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-04 08:42:36 +00:00
Christian Schmidt 8e3c47aff5 [Glitch] `frequentlyUsedLanguages` not updated correctly
Port 8adf67f2db to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-03 21:55:32 +02:00
Claire 663cebbe3b [Glitch] Fix radio buttons styling in web UI
Port 0437dd9e77 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-03 21:54:41 +02:00
Claire fef055db96 Merge commit 'c9ea91f8683cd5c0cfac14071a17e3956ac6d3b0' into glitch-soc/merge-upstream
Conflicts:
- `spec/requests/api/v1/timelines/tag_spec.rb`:
  Upstream refactored this file, while we had a change to switch a default setting.
  Updated as upstream did.
- `spec/views/statuses/show.html.haml_spec.rb`:
  Upstream refactored this file, while we stubbed different methods.
  Updated as upstream did, and updated the stubs accordingly.
2024-09-03 21:51:53 +02:00
Christian Schmidt 8adf67f2db
`frequentlyUsedLanguages` not updated correctly (#31386) 2024-09-03 15:55:13 +00:00
Matt Jankowski 7c26e5e4a1
Add `Reviewable` model concern (#31152) 2024-09-03 15:37:45 +00:00
Matt Jankowski 2f0d0fc127
Add coverage for `CLI::Accounts#fix_duplications` task (#30639) 2024-09-03 15:36:59 +00:00
Matt Jankowski 5b595b8a5a
Remove usage of `assigns` in controller specs (#30195) 2024-09-03 15:23:16 +00:00
Claire ae363f0555
Fix spacing between icons and labels in settings/admin interface (#31728) 2024-09-03 14:43:34 +00:00
Claire ea0d691e19
Add `GET /api/v2_alpha/notifications/:group_key/accounts` (#31725) 2024-09-03 14:32:26 +00:00
Matt Jankowski c9641c8070
Remove un-needed edge case sort condition in languages helper (#31724) 2024-09-03 13:19:48 +00:00
Claire 0437dd9e77
Fix radio buttons styling in web UI (#31723) 2024-09-03 11:37:09 +00:00
Claire e9adba60af [Glitch] Fix not being able to load more notifications after trimming
Port c1795ee963 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-03 12:13:19 +02:00
Claire ac4002fe08 Merge commit '611533cd12059d365ca0267342b750e615637bd4' into glitch-soc/merge-upstream 2024-09-03 12:12:23 +02:00
Matt Jankowski 2a244e2fdb
Remove unused `merge_context` helper (#31703) 2024-09-03 08:59:37 +00:00
Matt Jankowski 48379e62e4
Remove unused `User#inactive_message` method (#31698) 2024-09-03 08:04:00 +00:00
Matt Jankowski 406b8211f5
Remove unused `Mention#active?` method (#31697) 2024-09-03 08:03:25 +00:00
github-actions[bot] e5155c50fd
New Crowdin Translations (automated) (#31716)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-03 08:02:08 +00:00
Christian Schmidt a5bbe83dfd
media_ids is an array of strings (#31709) 2024-09-02 20:18:09 +00:00
Claire c1795ee963
Fix not being able to load more notifications after trimming (#31652) 2024-09-02 20:14:04 +00:00
Claire 402c1e116d Merge commit '491033c86cc9c29302bfe68cc94dabad82ded4cc' into glitch-soc/merge-upstream 2024-09-02 17:43:10 +02:00
Christian Schmidt 491033c86c
Reject status creation with invalid `media_ids` parameter (#31681) 2024-09-02 15:30:48 +00:00
David Roetzel 388d5473e1
Refactor (ruby) redis configuration (#31694) 2024-09-02 14:19:55 +00:00
Claire a23b3747ac
Fix N+1s in grouped notifications (#31638) 2024-09-02 09:56:00 +00:00
github-actions[bot] 2f2b98c8cb
New Crowdin Translations (automated) (#31671)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-02 08:35:09 +00:00
Claire b06907e4e4
Rewrite favourite modal as a Typescript functional component, use revamped design (#2831) 2024-08-31 18:41:25 +02:00
Claire ee2c38fcb8 [Glitch] Change background color of notifications on private messages
Port 3ddeaca863 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-31 16:10:55 +02:00
Claire 4f1da814a8 [Glitch] Fix inconsistencies between code and notification source translation strings
Port 35538fe694 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-31 16:10:26 +02:00
Claire 6f35e93f72 Merge commit '02633d6ebbe944a8769c8f2229fa9e0d6c7d1142' into glitch-soc/merge-upstream 2024-08-31 16:06:04 +02:00
Claire 3ddeaca863
Change background color of notifications on private messages (#31657) 2024-08-30 09:42:48 +00:00
Claire 35538fe694
Fix inconsistencies between code and notification source translation strings (#31658) 2024-08-30 09:37:39 +00:00
Matt Jankowski 1ee1c329cc
Convert `admin/announcements` controller spec to system spec (#31655) 2024-08-30 07:15:28 +00:00
github-actions[bot] 92eba9096b
New Crowdin Translations (automated) (#31656)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-08-30 07:12:56 +00:00
Claire ad0a28a8bf
Add `grouped_types` parameter to allow clients to restrict which notifications types get grouped (#31594) 2024-08-29 12:39:07 +00:00
Matt Jankowski 662f87dbe9
Use `MediaAttachment.supported_mime_types` method where relevant (#31635) 2024-08-29 08:52:29 +00:00
Matt Jankowski b9269c8d38
Convert `admin/reset` controller spec to system spec (#31643) 2024-08-29 08:38:17 +00:00
github-actions[bot] 5d725b2c12
New Crowdin Translations (automated) (#31647)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-08-29 08:30:39 +00:00
HolgerHuo 3c412578c9
update: max_media_attachments follow server advertised value (#31616) 2024-08-28 09:28:48 +00:00
github-actions[bot] 26d6d291c3
New Crowdin Translations (automated) (#31627)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-08-28 08:59:15 +00:00
Claire 435ff8e550 [Glitch] Add ability for admins to force grouped notifications in web UI
Port c73868cd78 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-27 20:33:50 +02:00
Eugen Rochko e15fad27bc [Glitch] Change design of boost modal in web UI
Port 29b9642b31 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-27 20:33:50 +02:00
Emelia Smith d3629d191f [Glitch] Add quick links to Administration and Moderation Reports from Web UI
Port d820c0883d to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-27 20:16:52 +02:00
Claire 94d8cdc494 Merge commit '04f0468016b450ace8e0ce707b4c21aa18b51262' into glitch-soc/merge-upstream 2024-08-27 20:00:07 +02:00
Claire 33ad67fcea Fix target account link in old report notifications 2024-08-27 18:11:14 +02:00
Claire c73868cd78
Add ability for admins to force grouped notifications in web UI (#31610) 2024-08-27 14:55:51 +00:00
github-actions[bot] 0e7c88aa6d
New Crowdin Translations (automated) (#31609)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-08-27 07:54:58 +00:00
Eugen Rochko 29b9642b31
Change design of boost modal in web UI (#31555) 2024-08-26 17:12:17 +00:00
Claire 2379bfe3ea [Glitch] Fix spurious loading bar middleware usage
Port e38ce3beb7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-26 18:54:27 +02:00
Claire 11b8017b45 Merge commit 'e38ce3beb7b83f43ef6e6f144c19b186c393910c' into glitch-soc/merge-upstream 2024-08-26 18:52:33 +02:00
Emelia Smith d820c0883d
Add quick links to Administration and Moderation Reports from Web UI (#24838) 2024-08-26 16:42:46 +00:00
Claire e38ce3beb7
Fix spurious loading bar middleware usage (#31592) 2024-08-26 16:38:34 +00:00
Matt Jankowski a6df125303
Fix `Rails/CompactBlank` cop (#31581) 2024-08-26 07:35:33 +00:00
github-actions[bot] 626d44b6c6
New Crowdin Translations (automated) (#31572)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-08-26 07:25:39 +00:00
Claire d0529b810a Merge commit '97f6baf977212e84125ac325176ad305ad5b068a' into glitch-soc/merge-upstream 2024-08-24 12:06:31 +02:00
github-actions[bot] 62be0234d5
New Crowdin Translations (automated) (#31559)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-08-23 08:59:31 +00:00
Claire 532b53eece Fix assets build issue due to slightly different webpack config 2024-08-22 22:23:06 +02:00
Claire e18bd0450a Extract strings removed upstream 2024-08-22 22:17:33 +02:00
Claire 7ce079cd26 [Glitch] Fix missing CSS in moderation interface
Port e08d22724d to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-22 22:11:48 +02:00