Commit Graph

14610 Commits

Author SHA1 Message Date
github-actions[bot] d29f27fad7
New Crowdin Translations (automated) (#2851)
* New Crowdin translations

* Update simple_form.no.yml

* Update no.yml

---------

Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-11-10 22:07:04 +01:00
Christian Schmidt 157fba4698
Backspace hotkey should override default behaviour (#32826) 2024-11-10 16:16:07 +00:00
Claire f3eac6f45a [Glitch] Fix list of follow requests not having a back button
Port 6ae1fcd059 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-11-10 13:50:14 +01:00
Claire 80378921e6 [Glitch] Fix out-of-view post contents being inconsistent with in-view post contents
Port d482211aa6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-11-10 13:50:14 +01:00
Eugen Rochko 3244926565 [Glitch] Add year in review feature to web UI
Port d6349c0e9a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-11-10 13:50:14 +01:00
Claire d19d7a283e [Glitch] Fix alt-text pop-in not using the translated description
Port 0a1b5df202 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-11-10 13:29:04 +01:00
Claire f0f807cec7 Merge commit '1e71c4e247eb8900a718b04113ffce9c1b8ad2f4' into glitch-soc/merge-upstream 2024-11-10 13:18:43 +01:00
Matt Jankowski 1e71c4e247
Use enum-generated `IpBlock.severity...` scopes (#31210) 2024-11-08 14:23:52 +00:00
Matt Jankowski 10c895dc84
Use existing arel scopes instead of string ordering (#32801) 2024-11-08 14:21:44 +00:00
Matt Jankowski bde0f1239a
Add `InetContainer` with scopes of `containing` and `contained` (#32802) 2024-11-08 10:08:36 +00:00
Matt Jankowski df54196a14
Use `touch_all` with batches (#32799) 2024-11-08 10:00:15 +00:00
github-actions[bot] 8df867b20a
New Crowdin Translations (automated) (#32803)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-08 09:53:47 +00:00
Matt Jankowski 41227aeb95
Update Rails to version 7.2.2 (#30391) 2024-11-07 14:58:20 +00:00
Matt Jankowski 697947116e
Add `EmailDomainBlock.parents` scope (#31968) 2024-11-07 13:46:20 +00:00
Claire 6ae1fcd059
Fix list of follow requests not having a back button (#32797) 2024-11-07 11:45:46 +00:00
Matt Jankowski 68b545ef33
Add `Status.not_direct_visibility` scope (#32065) 2024-11-07 10:32:33 +00:00
Matt Jankowski 73f66af6eb
Update location of unused `MIN_SCHEDULE_OFFSET` constant (#31217) 2024-11-07 10:28:59 +00:00
github-actions[bot] 4ed3ce2377
New Crowdin Translations (automated) (#32793)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-07 09:45:05 +00:00
Claire d482211aa6
Fix out-of-view post contents being inconsistent with in-view post contents (#32778) 2024-11-06 13:30:53 +00:00
Claire 2bea74e69d
Avoid latest featured tag use on post removal unless necessary (#32787) 2024-11-06 10:51:54 +00:00
github-actions[bot] 871e3b25e8
New Crowdin Translations (automated) (#32782)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-06 08:21:13 +00:00
Eugen Rochko d6349c0e9a
Add year in review feature to web UI (#32709) 2024-11-05 14:40:07 +00:00
Matt Jankowski 20a147170e
Remove unused `usage` method from `REST::V1::InstanceSerializer` (#32768) 2024-11-05 14:20:27 +00:00
github-actions[bot] 933fa81baf
New Crowdin Translations (automated) (#32772)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-05 08:41:09 +00:00
Claire 0a1b5df202
Fix alt-text pop-in not using the translated description (#32766) 2024-11-04 11:08:19 +00:00
Eugen Rochko 90f4ffa31d
Fix performance of percentile calculation for annual reports (#32765) 2024-11-04 10:11:06 +00:00
github-actions[bot] 2271b39a5c
New Crowdin Translations (automated) (#32733)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-04 08:56:11 +00:00
Claire b013067027 Fix ruby linting issue 2024-11-03 21:08:10 +01:00
Renato "Lond" Cerqueira 4d9d10ea81 [Glitch] Fix 'unknown' media attachment rendering in detailed view
Port 01e25af2e3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-11-03 21:02:11 +01:00
Claire 95c95da891 [Glitch] Fix preview cards with long titles erroneously causing layout changes
Port 742eb549ab to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-11-03 21:00:41 +01:00
Nathan Sparrow 43775c8ea4 [Glitch] Embed modal mobile fix
Port de1d8dc63a

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-11-03 21:00:25 +01:00
Emelia Smith 9a5dcf0add [Glitch] Feat: Implement interaction modal for Polls
Port dc0b1948be to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-11-03 21:00:05 +01:00
Claire f624ef2778 Merge commit 'b06fd54c305915527e3a6edc575dc23b623143ef' into glitch-soc/merge-upstream
Conflicts:
- `app/helpers/formatting_helper.rb`:
  Upstream wrapped some code glitch-soc had modified in an OTEL instrumentation span.
  Wrapped the modified code.
2024-11-03 20:51:58 +01:00
Matt Jankowski b231c3c1bf
Drop support for ruby 3.1 (#32363) 2024-10-31 15:12:08 +00:00
Matt Jankowski a20ac20302
Add model spec for `Tombstone` (#32697) 2024-10-31 13:27:47 +00:00
github-actions[bot] e78db58b65
New Crowdin Translations (automated) (#32708)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-31 10:01:05 +00:00
Eugen Rochko c2b498a2b0
Fix IDs not being serialized as strings in annual reports API (#32710) 2024-10-31 09:38:00 +00:00
Renato "Lond" Cerqueira 01e25af2e3
Fix 'unknown' media attachment rendering in detailed view (#32713) 2024-10-31 09:37:31 +00:00
Emelia Smith e1b7382ea6
Add userinfo oauth endpoint (#32548) 2024-10-30 14:38:10 +00:00
github-actions[bot] 0a599d08d8
New Crowdin Translations (automated) (#32695)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-30 10:02:02 +00:00
Claire 742eb549ab
Fix preview cards with long titles erroneously causing layout changes (#32678) 2024-10-30 08:34:56 +00:00
Matt Jankowski babee06794
Add coverage for `StatusTrend` and `PreviewCardTrend` models, add `locales` class method to `RankedTrend` (#32688) 2024-10-29 15:46:32 +00:00
Nathan Sparrow de1d8dc63a
Embed modal mobile fix (#32641) 2024-10-29 15:12:35 +00:00
David Roetzel 9de3fd60a0
Add telemetry for status / bio formatting (#32677) 2024-10-29 10:10:17 +00:00
github-actions[bot] 244aaf9a38
New Crowdin Translations (automated) (#32687)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-29 09:29:22 +00:00
Matt Jankowski 6f5eb22135
Mailer header partial access cleanup (#32585) 2024-10-28 13:41:56 +00:00
Hugo Gameiro b1d3c64525
Fix and improve batch attachment deletion handling when using OpenStack Swift (#32637) 2024-10-28 13:32:56 +00:00
Emelia Smith dc0b1948be
Feat: Implement interaction modal for Polls (#32609) 2024-10-28 13:27:37 +00:00
github-actions[bot] 0426cb78f7
New Crowdin Translations (automated) (#32589)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-28 13:23:13 +00:00
Matt Jankowski 1edb527072
Enhance coverage for `StatusPin` model (#32515) 2024-10-28 07:34:58 +00:00
Jonny Saunders 9074c1fac9
Use `likes` and `shares` totalItems on status creations and updates (#32620) 2024-10-28 04:55:18 +00:00
Claire e44a800887
Fix missing CSS for CW margins (#2891) 2024-10-27 21:08:59 +01:00
Claire 40b3c206e4
Change Content Warning design to match upstream's (#2890) 2024-10-27 16:08:01 +01:00
Claire 1d3d549e96 [Glitch] Redesign Content Warning and filters
Port 393f0a0159 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-26 14:09:46 +02:00
renovate[bot] e8d23f6bcb [Glitch] Update eslint (non-major)
Port 11a63b2db6 to glitch-soc

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-26 14:00:09 +02:00
Claire 8a222b3951 Fix assets build failure on glitch-soc 2024-10-26 13:54:36 +02:00
Eugen Rochko 227bf77252 [Glitch] Change design of rich text elements in web UI
Port d11231a420 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-26 13:53:25 +02:00
David Roetzel 50a40d1b2f [Glitch] Do not change follow counters when already following
Port 029c99bd7b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-26 13:50:30 +02:00
Emelia Smith 28287eb3b2 [Glitch] Fix 'unknown' media attachment type rendering
Port 346cdb998c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-26 13:49:07 +02:00
Renaud Chaput d304540ebc [Glitch] Replace `execCommand` for copying text with the modern `clipboard` API
Port fb6d7ed475 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-26 13:47:22 +02:00
Claire 8103e69b17 Merge commit '77cd16f4ee7ab807df6fffb1538a6659a8182a9e' into glitch-soc/merge-upstream
Conflicts:
- `app/javascript/styles/mastodon/components.scss`:
  Conflict caused by glitch-soc changing the path to images, and upstream
  removing styling using such an image.
  Removed the styling as upstream did.
- `app/models/account.rb`:
  Conflict due to upstream changing lines adjacent to a change made in glitch-soc
  to have configurable limits.
  Ported upstream's changes.
- `yarn.lock`:
  Dependencies adjacent to glitch-soc-only dependencies updated.
  Updated them as well.
2024-10-26 13:38:07 +02:00
Matt Jankowski 66c0471515
Enrich coverage for `IpBlock` model (#32471) 2024-10-25 08:35:07 +00:00
Matt Jankowski 745c4f900a
Remove unused `ApplicationHelper#visibility_icon` helper method (#32644) 2024-10-24 08:02:54 +00:00
Eugen Rochko d11231a420
Change design of rich text elements in web UI (#32633) 2024-10-24 07:28:22 +00:00
Matt Jankowski 97b18d10b4
Move hcaptcha service config to `config_for` yml (#30662) 2024-10-23 14:25:43 +00:00
Matt Jankowski 35f008aa2a
Move translation service config to `config_for` yml (#30663) 2024-10-23 13:32:18 +00:00
Matt Jankowski 2f906ed55a
Constants for account refresh (#32420) 2024-10-23 13:29:01 +00:00
Matt Jankowski c3e684b715
Remove unused svg logos (#32581) 2024-10-23 13:25:49 +00:00
Claire 393f0a0159
Redesign Content Warning and filters (#32543) 2024-10-23 09:47:23 +00:00
David Roetzel 05f23df3b7
Add endpoint to remove web push subscription (#32626) 2024-10-23 08:02:31 +00:00
David Roetzel 029c99bd7b
Do not change follow counters when already following (#32622) 2024-10-22 12:49:10 +00:00
Jeong Arm 18659f8163
Fix that blocking was not working on link timeline (#32625) 2024-10-22 12:46:32 +00:00
Eugene Alvin Villar 16597fa735
Fix tl language native name (#32606) 2024-10-22 08:41:40 +00:00
Emelia Smith 346cdb998c
Fix 'unknown' media attachment type rendering (#32613) 2024-10-22 08:31:53 +00:00
renovate[bot] 11a63b2db6
Update eslint (non-major) (#32279)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2024-10-21 08:03:44 +00:00
Renaud Chaput fb6d7ed475
Replace `execCommand` for copying text with the modern `clipboard` API (#32598) 2024-10-21 07:08:18 +00:00
Emelia Smith ba365ac8ec [Glitch] Fix: Reword 'pick one' to 'single choice' for polls
Port bc2e642272 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-19 19:27:27 +02:00
Claire 6bd185b423 [Glitch] Remove ability to get embed code for remote posts
Port 1fc165de02 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-19 19:23:56 +02:00
hota f0207d10be [Glitch] Fix column-settings spacing in local timeline in advanced view
Port 0f37b7d6ac to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-19 19:23:56 +02:00
Claire b428921ec9 [Glitch] Add more explicit explanations about author attribution and `fediverse:creator`
Port 8b56509625 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-19 19:23:56 +02:00
Renaud Chaput 829ff8633b [Glitch] Add ability to group follow notifications in WebUI
Port 6c87c76e18 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-19 19:23:56 +02:00
Claire 42336d810b [Glitch] Fix only the first paragraph being displayed in some notifications
Port 25f8003d75 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-19 19:23:56 +02:00
Renaud Chaput 2f854c5576 [Glitch] Add back a 6 hours mute duration option
Port 7a7a7cc448 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-19 19:23:56 +02:00
Jeong Arm e35ee2ce5c [Glitch] Fix reblog icons on account media view
Port 5afdb81b36 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-19 19:23:56 +02:00
Claire 886a422d09 [Glitch] Fix follow recommendation carrousel scrolling on RTL layouts, for real
Port 5e4cc1a39c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-19 19:23:56 +02:00
Renaud Chaput d63594d97e [Glitch] Fix back arrow pointing to the incorrect direction in RTL languages
Port 51345e5133 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-19 19:23:52 +02:00
Claire 6281c4dedd Merge commit '1fc165de02d79294c8a218f5fa82bcd477484ca1' into glitch-soc/merge-upstream
Conflicts:
- `.env.production.sample`:
  Upstream added a block of three environment variables, while glitch-soc
  has a different version of the file overall.
  Added upstream's changes.
- `app/helpers/application_helper.rb`:
  Upstream added a helper, while glitch-soc had extra helpers.
  Added upstream's helper.
2024-10-19 19:13:32 +02:00
Claire 1fc165de02
Remove ability to get embed code for remote posts (#32578) 2024-10-18 10:51:05 +00:00
Claire 2391937e11
Fix follow recommendation moderation page default language when using regional variant (#32580) 2024-10-18 10:21:25 +00:00
github-actions[bot] 8eae0d067d
New Crowdin Translations (automated) (#32573)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-18 07:56:43 +00:00
hota 0f37b7d6ac
Fix column-settings spacing in local timeline in advanced view (#32567) 2024-10-18 07:40:08 +00:00
Matt Jankowski bd6c96f737
Fix broken i18n in text welcome mailer tags area (#32571) 2024-10-18 07:19:37 +00:00
Claire 8b56509625
Add more explicit explanations about author attribution and `fediverse:creator` (#32383) 2024-10-17 09:03:08 +00:00
github-actions[bot] 009f2ebc32
New Crowdin Translations (automated) (#32553)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-17 08:21:51 +00:00
Emelia Smith bc2e642272
Fix: Reword 'pick one' to 'single choice' for polls (#32397) 2024-10-16 10:40:40 +00:00
Renaud Chaput 6c87c76e18
Add ability to group follow notifications in WebUI (#32520) 2024-10-16 08:33:11 +00:00
github-actions[bot] acc1973f3a
New Crowdin Translations (automated) (#32533)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-16 08:12:43 +00:00
Claire 25f8003d75
Fix only the first paragraph being displayed in some notifications (#32348) 2024-10-16 07:30:53 +00:00
Renaud Chaput 7a7a7cc448
Add back a 6 hours mute duration option (#32522) 2024-10-16 07:27:44 +00:00
Matt Jankowski c40cd79c4d
Convert `admin/invites` controller specs to system specs (#32450) 2024-10-15 14:27:46 +00:00
Matt Jankowski b78597979a
Fix missing content warning text in rss formatter (#32406) 2024-10-15 14:12:54 +00:00
Matt Jankowski 0e58dc90d9
Use array compact style for classes in `nothing_here` helper (#32403) 2024-10-15 13:56:29 +00:00
Christian Schmidt 227d46883f
Translate to regional language variant (e.g. pt-BR) (#32428) 2024-10-15 13:26:20 +00:00
Jeong Arm 5afdb81b36
Fix reblog icons on account media view (#32506) 2024-10-15 10:01:21 +00:00
Claire 5e4cc1a39c
Fix follow recommendation carrousel scrolling on RTL layouts, for real (#32505) 2024-10-15 09:38:04 +00:00
kenkiku1021 f2378aca40
add SWIFT object storage uri to CSP media hosts (#32439)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-10-15 09:28:07 +00:00
github-actions[bot] 7d89cea0ea
New Crowdin Translations (automated) (#32339)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-15 09:26:28 +00:00
Renaud Chaput 51345e5133
Fix back arrow pointing to the incorrect direction in RTL languages (#32485) 2024-10-15 09:15:25 +00:00
Claire ab50b2613e [Glitch] Fix follow recommendation carrousel scrolling on RTL layouts
Port 7c10b0fb7a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-14 20:11:29 +02:00
Claire 075eb3ed38 [Glitch] Fix mute duration not being shown in list of muted accounts in web UI
Port a295832960f3a782b928145279af335f956fff1f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-14 20:11:02 +02:00
Claire 71a6ced55c [Glitch] Fix “Mark every notification as read” not updating the read marker if scrolled down
Port e018e6321feb97609b18ac61d3349beb6de170b5 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-14 20:11:02 +02:00
Claire 9b3aaa9609 [Glitch] Fix “Mention” appearing for otherwise filtered posts
Port f75eb1a8b0386d2ca5c1c05ee3b10364b3e11211 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-14 20:11:02 +02:00
Michael Stanclift 1a9be3e0eb [Glitch] Restore list column border
Port de4f7859b4cf5fc5254173368cf35f0d711331b6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-14 20:11:02 +02:00
Claire 39723a4d9c [Glitch] Fix list edition modal styling
Port 45a520603b10792e24a2190215c0305c739108d0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-14 20:11:02 +02:00
Matt Jankowski 6cedbb4c50 [Glitch] Bring icon vertical middle to applications list style
Port fa4a82326d4e33c63a76c6725c36e85fe3ae9310 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-14 20:11:02 +02:00
Claire 4d9b4ef72f Merge commit '7c10b0fb7a078661558fef86399d86831423260c' into glitch-soc/merge-upstream 2024-10-14 19:46:52 +02:00
Claire 7c10b0fb7a
Fix follow recommendation carrousel scrolling on RTL layouts (#32462) 2024-10-14 15:25:32 +00:00
Matt Jankowski d8eab3d81f
Reinforce coverage for `DomainBlock` model (#32473) 2024-10-14 12:51:01 +00:00
Florian Kohler 2404d6d1a1
Added Swiss German to languages dropdown (#29281)
Co-authored-by: David Roetzel <david@roetzel.de>
2024-10-14 08:57:34 +00:00
Claire b0dd38433b
Fix follow recommendation suppressions not applying immediately (#32392) 2024-10-14 08:18:25 +00:00
Claire 888e6a3439
Fix setting to hide the quick filter bar (#2882)
Fixes #2881
2024-10-11 17:45:07 +02:00
Claire 10ea6da09f
Fix language of push notifications (#32415) 2024-10-11 10:24:03 +00:00
Claire 6e96ec840d
Fix the favicon notification badge not using the correct notification count (#2880)
Fixes #2879
2024-10-10 19:31:51 +02:00
Claire 22fd767425
Fix mute duration not being shown in list of muted accounts in web UI (#32388) 2024-10-10 14:53:12 +00:00
Claire 3b07fe1bba
Fix “Mark every notification as read” not updating the read marker if scrolled down (#32385) 2024-10-10 13:42:08 +00:00
Claire a5a3733c97
Fix “Mention” appearing for otherwise filtered posts (#32356) 2024-10-10 11:04:38 +00:00
Michael Stanclift cdf603239e
Restore list column border (#32367) 2024-10-09 19:33:28 +00:00
Claire d9fbb071da
Fix notification requests from suspended accounts still being listed (#32354) 2024-10-09 17:29:02 +00:00
Claire 03dbebdfef
Fix list edition modal styling (#32358) 2024-10-09 17:24:22 +00:00
Claire fda52b2a52
Fix 4 columns barely not fitting on 1920px screen (#32361) 2024-10-09 17:16:57 +00:00
Matt Jankowski 258dce1256
Add `OpenSSL::SSL::SSLError` to http connection errors wrapper (#32307) 2024-10-08 14:59:51 +00:00
Matt Jankowski e8ec6667bd
Extract wrapper constant for `HTTP::*` error classes (#32285) 2024-10-08 13:53:35 +00:00
Matt Jankowski d20a899bb9
Bring icon vertical middle to applications list style (#32293) 2024-10-08 13:21:36 +00:00
github-actions[bot] ff3e2c9cfa
New Crowdin Translations (automated) (#32295)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-08 08:10:39 +00:00
Jake Anto 0c16365991
Prefer native apps over PWA (#27254) 2024-10-07 20:33:14 +00:00
Eugen Rochko ee17081793 [Glitch] Fix missing avatar fallback interfering with transparency in web UI
Port cae93e79a406a1156b51091784e35f8f0126ea12 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-07 20:46:30 +02:00
Eugen Rochko 9ca99b7dc1 [Glitch] Fix wrong width on logo in detailed link card in web UI
Port 889edc560ae94b0663bab0e4cdb7cbad7e3cc6f8 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-07 20:46:30 +02:00
Claire 7e06d724c9 Merge commit '4238da6ee3c93dfd5752e9133cbec958f8ebb18a' into glitch-soc/merge-upstream 2024-10-07 20:45:07 +02:00
Leni Kadali 4238da6ee3
Add error message when user tries to follow their own account (#31910) 2024-10-07 12:05:46 +00:00
Matt Jankowski bfabd6a2b8
Move account suspension-related methods to concern (#28351) 2024-10-07 12:02:04 +00:00
Eugen Rochko 1f5bd571cd
Fix missing avatar fallback interfering with transparency in web UI (#32270) 2024-10-07 09:35:42 +00:00
github-actions[bot] 498024558a
New Crowdin Translations (automated) (#32262)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-07 07:06:43 +00:00
Eugen Rochko 2c54b91dd1
Fix wrong width on logo in detailed link card in web UI (#32271) 2024-10-07 06:53:29 +00:00
Claire 6967031144 Fix video player's height in detailed status view 2024-10-06 19:19:28 +02:00
Christian Schmidt c37daa11f2 [Glitch] Remove redundant title attribute
Port c40ab43dc7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-06 17:04:53 +02:00
Claire 7b40f14452 [Glitch] Fix media gallery items having incorrect borders when hidden
Port 51769e0670 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-06 17:04:53 +02:00
Claire c720623dc7 [Glitch] Fix unsupported grouped notifications from streaming causing duplicate IDs
Port 77f5b127fa to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-06 17:04:53 +02:00
forsamori 819abbdb2f [Glitch] Add margin-bottom to error.dialog to reduce whitespace
Port 63a959099b to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-06 17:04:53 +02:00
Claire b22272fcdc [Glitch] Hide badges in media gallery when media are hidden
Port f768a6eb16 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-06 17:04:53 +02:00
Claire 299372babe [Glitch] Fix editing description of media uploads with custom thumbnails
Port f760899b04 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-06 17:04:53 +02:00
Claire 54b209243b [Glitch] Fix media uploads in composer appearing over search results in advanced interface
Port b5006539c9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-06 17:04:53 +02:00
Claire ce3bedade3 [Glitch] Fix incorrect `'navigator'` check
Port 4a737a948a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-06 17:04:53 +02:00
Nick Schonning 61a0c58dee [Glitch] Enable ESLlint no-case-declarations
Port f91f077985 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-06 17:04:53 +02:00
Matt Jankowski af39ac6edc [Glitch] Adjust spacing on setting sub-nav items when below mobile size
Port f10d61bf86

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-06 16:44:22 +02:00
Matt Jankowski edfa716a18 [Glitch] Improve alignment of icons on admin roles list
Port f811fcb2b2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-06 16:43:50 +02:00
Renaud Chaput 8572fa1452 [Glitch] Fix follow notifications from streaming being grouped
Port 1be55ce244 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-06 16:43:17 +02:00
Claire b28ce2424c Merge commit 'c40ab43dc703be988c277d4ba6b7987a3a80e16c' into glitch-soc/merge-upstream
Conflicts:
- `app/helpers/application_helper.rb`:
  Upstream added a helper where glitch-soc had its own, not really
  a conflict.
  Added upstream's helper.
- `lib/sanitize_ext/sanitize_config.rb`:
  Upstream renamed a constant that was used slightly differently in glitch-soc.
  Renamed it as upstream did.
2024-10-06 16:07:58 +02:00
Christian Schmidt c40ab43dc7
Remove redundant title attribute (#32258) 2024-10-04 16:23:05 +00:00
Claire 51769e0670
Fix media gallery items having incorrect borders when hidden (#32257) 2024-10-04 14:55:44 +00:00
Claire 1f720366e9
Fix notification push notifications not including the author's username (#32254) 2024-10-04 14:29:23 +00:00
Matt Jankowski ebdeac0731
Add coverage for missing status scenario in NotificationMailer (#32256) 2024-10-04 14:15:14 +00:00
Matt Jankowski 4fe7f213a6
Use `async_count` in more view locations (#32086) 2024-10-04 12:29:43 +00:00
Claire 77f5b127fa
Fix unsupported grouped notifications from streaming causing duplicate IDs (#32243) 2024-10-04 12:23:30 +00:00
Claire 49407e7623
Fix Content-Security-Policy when using sso-redirect (#32241) 2024-10-04 08:50:36 +00:00
gunchleoc 160917e718
Pluralize csv imports (#27094)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-10-04 08:19:01 +00:00
forsamori 63a959099b
Add margin-bottom to error.dialog to reduce whitespace (#25708)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-10-04 08:02:14 +00:00
github-actions[bot] 1b247a1dc2
New Crowdin Translations (automated) (#32249)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-04 07:29:53 +00:00
Claire 4c0e44ebbe
Fix recently-broken admin interface buttons (#32240) 2024-10-03 16:12:15 +00:00
Matt Jankowski d95f6f4410
Extract `ExportSummary` class for account object counts (#32227) 2024-10-03 13:09:58 +00:00
github-actions[bot] fe3f5375e3
New Crowdin Translations (automated) (#32233)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-03 09:15:31 +00:00
Claire f768a6eb16
Hide badges in media gallery when media are hidden (#32224) 2024-10-02 15:51:05 +00:00
Matt Jankowski cec8961372
Move admin action log type list generation to helper (#32178) 2024-10-02 14:47:00 +00:00
Matt Jankowski 7d6b9ccd34
Add `copyable_input` helper method to wrap shared options (#32119) 2024-10-02 14:45:54 +00:00
Matt Jankowski 36f9c96812
Clean up labels on development application form (#32116) 2024-10-02 14:45:12 +00:00
Claire f760899b04
Fix editing description of media uploads with custom thumbnails (#32221) 2024-10-02 13:29:23 +00:00
Claire b5006539c9
Fix media uploads in composer appearing over search results in advanced interface (#32217) 2024-10-02 13:28:36 +00:00
Matt Jankowski d270d6dd4f
Provide `use_path` to qr generator for svg data size reduction (#32127) 2024-10-02 13:26:46 +00:00
Matt Jankowski 2151dfb8d6
Add `relevant_params` to ReportFilter (matches account filter) (#32136) 2024-10-02 13:24:40 +00:00
Matt Jankowski cf859d151b
More link/button conversion across views (#32199) 2024-10-02 13:08:40 +00:00
Matt Jankowski 1f65a95421
Remove unneeded `reorder(nil)` conditions (#32200) 2024-10-02 12:26:16 +00:00
Matt Jankowski 4aa26eba53
Extract `WebPushRequest` from push notification worker and subscription (#32208) 2024-10-02 11:11:52 +00:00
Claire 4a737a948a
Fix incorrect `'navigator'` check (#32219) 2024-10-02 10:03:04 +00:00
Christian Schmidt 33d3ca7cf1
Support /.well-known/host-meta.json (#32206) 2024-10-02 09:23:44 +00:00
github-actions[bot] ea72d5ec3a
New Crowdin Translations (automated) (#32214)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-02 09:05:57 +00:00
Jeong Arm 66b2bc1c84
Ignore error if mentioned account was not processable (#29215)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-10-02 08:08:02 +00:00
Nick Schonning f91f077985
Enable ESLlint no-case-declarations (#30768) 2024-10-01 16:26:30 +00:00
Jeong Arm 65508bb0c0
Show timestamp when the user deletes their account on admin dashboard (#25640)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-10-01 13:54:28 +00:00
Matt Jankowski f10d61bf86
Adjust spacing on setting sub-nav items when below mobile size (#32137) 2024-10-01 13:41:25 +00:00
Matt Jankowski f73787a4b8
Fix broken border on applications list (#32147) 2024-10-01 13:38:29 +00:00
Claire 7b92cf3b47
Fix unneeded requests to blocked domains when receiving relayed signed activities from them (#31161) 2024-10-01 12:52:13 +00:00
Emelia Smith c5f0da98e4
Add detection and download of material_symbol icons in config/navigation.rb (#31366) 2024-10-01 12:49:04 +00:00
Matt Jankowski 44071fdbae
Wrap datetime in `time` element with attrs (#32177) 2024-10-01 12:45:58 +00:00
Matt Jankowski ec16ed37c3
Extract constants for header and avatar geometry (#32151) 2024-10-01 11:36:25 +00:00
Matt Jankowski c009507912
Use `button_to` for `method: :post` links on account show page (#32154) 2024-10-01 11:14:12 +00:00
Matt Jankowski 651846c622
Only show email domain blocks MX table when some found (#32155) 2024-10-01 11:03:13 +00:00
Matt Jankowski 7e35bef97e
Remove explicit `put` action in settings forms (#32176) 2024-10-01 10:34:05 +00:00
Matt Jankowski e975b55c24
Remove `WebfingerHelper` module & move usage inline (#31203) 2024-10-01 09:54:42 +00:00
David Roetzel e6cda8388c
Move OTP secret length to configuration (#32125) 2024-10-01 09:38:42 +00:00
Matt Jankowski f251edfc1d
Add `date_range` view helper (#32187) 2024-10-01 09:30:21 +00:00
Matt Jankowski f811fcb2b2
Improve alignment of icons on admin roles list (#32153) 2024-10-01 09:08:29 +00:00
Matt Jankowski 675d3ea5c1
Extract dashboard partial for admin instance page (#32189) 2024-10-01 08:36:41 +00:00
Matt Jankowski 685067efd1
Avoid `id` duplication conflict with main navigation from settings profile link (#32181) 2024-10-01 08:23:05 +00:00
Renaud Chaput 1be55ce244
Fix follow notifications from streaming being grouped (#32179) 2024-10-01 08:22:14 +00:00
github-actions[bot] 5839ee434b
New Crowdin Translations (automated) (#32195)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-01 08:21:17 +00:00
Matt Jankowski 0b6d217b9e
Use account display name for pretend blog example in attribution area (#32188) 2024-10-01 08:19:53 +00:00
Claire 9af9ef6fb3 Merge commit '03210085b7481568cc507f088144aaf1dae73c88' into glitch-soc/merge-upstream 2024-09-30 13:04:19 +02:00
Claire 0c872beed4
Merge commit from fork
This should not change the set of words matched by `USERNAME_RE` but does
change the one matched by `MENTION_RE`. Indeed, the previous regexp allowed
a domain part to start with `.` or `-`, which the new regexp does not allow.
2024-09-30 12:25:54 +02:00
github-actions[bot] f477dc399e
New Crowdin Translations (automated) (#32140)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-30 08:53:29 +00:00
Eugen Rochko e80971e660 [Glitch] Change media reordering design in the compose form in web UI
Port 11a12e56b3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-29 14:03:19 +02:00
Eugen Rochko 9e10fd59b7 [Glitch] Add ability to view alt text by clicking the ALT badge in web UI
Port a04433f995 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-29 13:35:35 +02:00
Eugen Rochko 9b5f073cb3 [Glitch] Change design of media tab on profiles in web UI
Port 89df27a06c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-29 12:57:58 +02:00
Eugen Rochko 157ecf255b [Glitch] Change responsive break points on navigation panel in web UI
Port 28c4eca0af to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-29 11:53:49 +02:00
Matt Jankowski b8c23f94b0 [Glitch] Add `no-toolbar` state for "nothing here" batch table views
Port 24d3ce7bab to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-29 11:29:18 +02:00
Matt Jankowski 3fa34bd73a [Glitch] Use 1 column layout for form `ul` on narrow widths
Port 106b22bd2d to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-29 11:25:24 +02:00
Claire 77d2f7eef6 [Glitch] Fix scrollbar width
Port 89c39e7826 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-29 11:24:54 +02:00
Claire 8439084587 [Glitch] Add fallback to domain block confirmation modal
Port 7a62d57427 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-29 11:21:56 +02:00
Eugen Rochko 7b290cee47 [Glitch] Add preview of followers removed in domain block modal in web UI
Port 3426ea2912 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-29 11:21:05 +02:00
Claire 7ef25ae53b Merge commit '9d664f87a04b6a5157ddbe60ee33b5b7a960198e' into glitch-soc/merge-upstream 2024-09-29 11:06:09 +02:00
Christian Schmidt 9d664f87a0
Mailer layout fixes (#32132) 2024-09-27 19:41:41 +00:00
Matt Jankowski 24d3ce7bab
Add `no-toolbar` state for "nothing here" batch table views (#32128) 2024-09-27 19:38:44 +00:00
Eugen Rochko 11a12e56b3
Change media reordering design in the compose form in web UI (#32093) 2024-09-27 15:09:39 +00:00
Matt Jankowski e02e88bff4
Use previously extracted model constants in form `maxlength` attributes (#32113) 2024-09-27 08:21:27 +00:00
Matt Jankowski 04dd3a9eb6
Wrap webhook event label with `samp` tag (#32115) 2024-09-27 08:20:21 +00:00
Matt Jankowski 675ec1a0ad
Only show recently used tags hint when they are present (#32120) 2024-09-27 08:18:42 +00:00
github-actions[bot] c9b0699964
New Crowdin Translations (automated) (#32121)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-27 07:34:46 +00:00
Claire 513f187daf
Add “A Mastodon update is available.” message on admin dashboard for non-bugfix updates (#32106) 2024-09-26 19:27:57 +00:00
Matt Jankowski 106b22bd2d
Use 1 column layout for form `ul` on narrow widths (#32112) 2024-09-26 19:26:40 +00:00
Claire 89c39e7826
Fix scrollbar width (#32091) 2024-09-26 14:26:04 +00:00
Eugen Rochko a04433f995
Add ability to view alt text by clicking the ALT badge in web UI (#32058) 2024-09-26 13:26:49 +00:00
Claire 7a62d57427
Add fallback to domain block confirmation modal (#32105) 2024-09-26 12:47:56 +00:00
Eugen Rochko 89df27a06c
Change design of media tab on profiles in web UI (#31967) 2024-09-26 12:31:32 +00:00
Christian Schmidt 00aaf77e04
Use same styling for statuses in email as on web (#32073) 2024-09-26 11:48:01 +00:00
Claire 437cecc965
Fix awkward status action bar layout changes (#2859) 2024-09-26 12:02:40 +02:00
github-actions[bot] 278a075b22
New Crowdin Translations (automated) (#32103)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-26 08:47:38 +00:00
Eugen Rochko 3426ea2912
Add preview of followers removed in domain block modal in web UI (#32032) 2024-09-25 18:13:36 +00:00
Eugen Rochko 28c4eca0af
Change responsive break points on navigation panel in web UI (#32034) 2024-09-25 16:36:19 +00:00
Renaud Chaput 0b1310feb3 [Glitch] Keep the status action buttons at their position regardless of the counter size
Port 739ad0eed2 to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-25 18:12:24 +02:00
Renaud Chaput 5716ebf390 [Glitch] Add notification grouping for follow notifications
Port d6f5ee75ab to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-25 18:09:19 +02:00
Renaud Chaput 36ce5813cb [Glitch] Fix search params being dropped when redirected to non-deck path
Port 3dc4ddc663 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-25 18:08:55 +02:00
Matt Jankowski d9d84822bb [Glitch] Use `not-allowed` for cursor on disabled buttons
Port 69aa5699ce to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-25 18:08:12 +02:00
Claire 633165ba9c Merge commit '28966fa0a6d7b98ee94696acdc79e45449ce8349' into glitch-soc/merge-upstream 2024-09-25 17:41:37 +02:00
Renaud Chaput 739ad0eed2
Keep the status action buttons at their position regardless of the counter size (#32084)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-09-25 14:33:58 +00:00
Renaud Chaput d6f5ee75ab
Add notification grouping for follow notifications (#32085) 2024-09-25 13:36:19 +00:00
Renaud Chaput 3dc4ddc663
Fix search params being dropped when redirected to non-deck path (#31984) 2024-09-25 13:35:37 +00:00
Matt Jankowski 83574f641a
Add coverage and use mailer callback to check functional user in notification mailer (#32055) 2024-09-25 08:07:48 +00:00
Matt Jankowski 69aa5699ce
Use `not-allowed` for cursor on disabled buttons (#32076) 2024-09-25 07:43:12 +00:00
github-actions[bot] 4e6fc3a62f
New Crowdin Translations (automated) (#32083)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-25 07:40:14 +00:00
Claire 440b695b79
Fix polls not being displayed in detailed status (#2857) 2024-09-24 20:54:24 +02:00
Eugen Rochko ba7b1f06c1 [Glitch] Fix too many requests caused by relationship look-ups in web UI
Port 70988519df to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-24 19:42:30 +02:00
Renaud Chaput 6142adc7d6 [Glitch] Fix wrapping in dashboard quick access buttons
Port f1b6a611aa to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-24 19:41:37 +02:00
Claire 131696277c [Glitch] Fix multiple bugs in notification requests and notification policies
Port 0a6b75b71e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-24 19:41:04 +02:00
Eugen Rochko aac6296183 [Glitch] Change hide media button to be in top right corner in web UI
Port d54ce67dc9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-24 19:40:34 +02:00
Claire c6039f99ce Merge commit '70988519df66f0b8edeb6ca95140f1d3e436fea8' into glitch-soc/merge-upstream 2024-09-24 19:34:30 +02:00
Eugen Rochko 70988519df
Fix too many requests caused by relationship look-ups in web UI (#32042)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-09-24 17:02:36 +00:00
Renaud Chaput f1b6a611aa
Fix wrapping in dashboard quick access buttons (#32043) 2024-09-24 16:47:45 +00:00
André Menrath 556837f156
Fix the summary of converted object types to be treated as HTML (#28629) 2024-09-24 15:57:53 +00:00
Claire c36a76b9eb
Fix error when accepting appeal for sensitive posts deleted in the meantime (#32037)
Co-authored-by: David Roetzel <david@roetzel.de>
2024-09-24 15:19:55 +00:00
Claire 0a6b75b71e
Fix multiple bugs in notification requests and notification policies (#32062) 2024-09-24 15:03:38 +00:00
Matt Jankowski 19dedd7cfd
Set important mailer headers with `after_action` callback (#32057) 2024-09-24 13:16:31 +00:00
github-actions[bot] 11ac5c8929
New Crowdin Translations (automated) (#32052)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-24 09:42:14 +00:00
Eugen Rochko d54ce67dc9
Change hide media button to be in top right corner in web UI (#32048) 2024-09-24 08:00:20 +00:00
Claire 38744a4e51 [Glitch] Change mobile breakpoint back to old version and allow main column to shrink
Port b5bdc69f7b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-23 20:26:05 +02:00
Claire c2c3a66478 Merge commit '5dfdec645313e556413147597138a8008bc35996' into glitch-soc/merge-upstream 2024-09-23 20:24:18 +02:00
Matt Jankowski 5dfdec6453
Convert `settings/applications` controller spec to system/request specs (#32006) 2024-09-23 13:37:32 +00:00
Eugen Rochko aaab6b7adc
Add reblogs and favourites counts to statuses in ActivityPub (#32007) 2024-09-23 13:14:15 +00:00
Claire b5bdc69f7b
Change mobile breakpoint back to old version and allow main column to shrink (#32033) 2024-09-23 12:53:35 +00:00
github-actions[bot] ed90d9342e
New Crowdin Translations (automated) (#32011)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-23 08:50:19 +00:00
Claire 7c148ed1cb Use new CW class in more places 2024-09-22 21:17:15 +02:00
Claire 4d754935a9 Replace new-style upstream CWs with old-style CWs for now 2024-09-22 20:55:06 +02:00
Eugen Rochko 0d26c9fb0b [Glitch] Fix wrong width on content warnings and filters in web UI
Port b265a654d7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-22 19:31:22 +02:00
Eugen Rochko 7d97e3d82f [Glitch] Change how content warnings and filters are displayed in web UI
Partially apply 500f4925a5 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-22 19:31:22 +02:00
Eugen Rochko a969c6a6a6 [Glitch] Change zoom icon in web UI
Port e7fd0985c9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-21 15:36:17 +02:00
Renaud Chaput 03829d8e1d [Glitch] Update directory page options to use URL params
Port ae03e4ffc6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-21 15:17:56 +02:00
Claire 86b9d3b4e5 [Glitch] Fix custom `history.push` and `history.replace` building bogus location if path is omitted
Port 57a38f071b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-21 15:16:54 +02:00
Eugen Rochko 9bd5838646 [Glitch] Fix browser glitch caused by two overlapping scroll animations in web UI
Port ef4d6ab988 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-21 15:16:28 +02:00
Eugen Rochko 80cb285819 [Glitch] Fix sass deprecation warning
Port 29656cb9e0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-21 15:14:54 +02:00
Renaud Chaput d77348f830 [Glitch] Fix the appearance of avatars when they do not load
Port 8b70834035 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-21 15:13:57 +02:00
Christian Schmidt 0820cbcb35 [Glitch] Mute XHR abort errors
Port 7740f1a6bb to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-21 15:13:23 +02:00
Claire 221bba1897 Merge commit '7ed9c590b98610f8d68deab9ef8df260eec6d8f0' into glitch-soc/merge-upstream 2024-09-21 15:06:06 +02:00
github-actions[bot] b0f6d3e112
New Crowdin Translations (automated) (#2773)
* New Crowdin translations

* Fix bogus `no.yml`

* Fix bogus `simple_form.no.yml`

---------

Co-authored-by: GitHub Actions <noreply@github.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-09-21 14:57:30 +02:00
Claire 7ed9c590b9
Fix issue when encountering reblog of deleted post in feed rebuild (#32001) 2024-09-20 14:58:06 +00:00
Claire ed8b0e4b1e
Fix links for reblogs in moderation interface (#31979) 2024-09-20 13:33:26 +00:00
Matt Jankowski a7dbf6f5a5
Use heredoc/squish for inline css styles in oembed serializer (#31991) 2024-09-20 12:50:51 +00:00
Matt Jankowski bdf83c353f
Move default embed size knowledge into `OEmbedSerializer` (#31990)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-09-20 12:39:48 +00:00
Claire 8afa3bb2fa
Change Mastodon to issue correctly-signed queries by default (#31994) 2024-09-20 10:10:09 +00:00
Eugen Rochko e7fd0985c9
Change zoom icon in web UI (#29683) 2024-09-20 09:42:02 +00:00
Matt Jankowski 04a939d640
Add `reviewed` and `unreviewed` scopes to `Reviewable` model concern (#31988) 2024-09-20 08:51:37 +00:00
Matt Jankowski c922af2737
Add `LIMIT` constant for `api/v1/peers/search` endpoint (#31989) 2024-09-20 08:31:58 +00:00
github-actions[bot] 162f9a3c90
New Crowdin Translations (automated) (#31993)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-20 08:31:28 +00:00
Renaud Chaput ae03e4ffc6
Update directory page options to use URL params (#31977) 2024-09-19 15:34:08 +00:00
Claire 57a38f071b
Fix custom `history.push` and `history.replace` building bogus location if path is omitted (#31980) 2024-09-19 14:58:33 +00:00
Matt Jankowski 2946a9286b
Use `headers` shorthand in mailers (#31956) 2024-09-19 13:38:32 +00:00
Eugen Rochko ef4d6ab988
Fix browser glitch caused by two overlapping scroll animations in web UI (#31960) 2024-09-19 10:52:46 +00:00
github-actions[bot] efdc17513d
New Crowdin Translations (automated) (#31974)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-19 10:34:19 +00:00
Matt Jankowski 5d573c976e
Remove unused E2EE-related methods (#31964) 2024-09-19 10:23:58 +00:00
Eugen Rochko 29656cb9e0
Fix sass deprecation warning (#31961) 2024-09-18 17:39:32 +00:00
Renaud Chaput 8b70834035
Fix the appearance of avatars when they do not load (#31966) 2024-09-18 17:39:15 +00:00
Matt Jankowski 5405bdd344
Remove unused E2EE messaging code (#31193) 2024-09-18 09:27:43 +00:00
Christian Schmidt 7740f1a6bb
Mute XHR abort errors (#31952) 2024-09-18 08:43:24 +00:00
github-actions[bot] bd86c692cf
New Crowdin Translations (automated) (#31959)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-18 08:06:44 +00:00
Matt Jankowski a397141d78
Move non-action public method controller callback to private methods (#31933) 2024-09-18 08:05:25 +00:00
Claire 6bd86fede0 [Glitch] Increase no-gap-breakpoint by 32px to fix overflow
Port d2f9075078 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-17 18:13:36 +02:00
Michael Stanclift a85b2476c2 [Glitch] Fix background of text detection progress
Port 5a33a5658b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-17 18:13:36 +02:00
Claire 93b2c8164e [Glitch] Fix selectSettingsNotificationsExcludedTypes not being memoized properly
Port ca8e892c1a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-17 18:13:36 +02:00
Claire 11de3dbef6 [Glitch] Enable grouped notifications unconditionally
Port c620452fd7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-17 18:13:36 +02:00
Claire 6de18bb475 Merge commit '3e91c101b3c4b5166dab778837e38bed424b4333' into glitch-soc/merge-upstream 2024-09-17 17:54:00 +02:00
David Roetzel d8f9db547a
Merge commit from fork
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2024-09-17 16:59:29 +02:00
github-actions[bot] 6a233cbfcf
New Crowdin Translations (automated) (#31946)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-17 13:02:53 +00:00
Claire d2f9075078
Increase no-gap-breakpoint by 32px to fix overflow (#31889) 2024-09-17 03:19:42 +00:00
Michael Stanclift 5a33a5658b
Fix background of text detection progress (#31943) 2024-09-17 03:19:04 +00:00
Claire 18209d2011
Merge pull request #2847 from ClearlyClaire/glitch-soc/fixes/click-detailed-status
Fix detailed statuses being clickable and linking to broken pages
2024-09-16 23:51:37 +02:00
Claire 43f6792e1b Fix detailed statuses being clickable and linking to broken pages 2024-09-16 22:51:19 +02:00
Claire 0740352ce6 [Glitch] Rename `/api/v2_alpha/notifications*` to `/api/v2/notifications*`
Port e0648a916a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-16 21:28:05 +02:00
Eugen Rochko b6398cf2d3 [Glitch] Fix horizontal scrollbar on who to follow carousel in web UI
Port efb0e2c34b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-16 21:28:05 +02:00
Claire e25634ccef [Glitch] Convert notification requests actions and reducers to Typescript
Port c0eda832f3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-16 21:28:05 +02:00
Claire 665e9129fe Merge commit 'e0648a916ab81925545504173bf4f43ec64d4f3c' into glitch-soc/merge-upstream
Conflicts:
- `app/models/custom_emoji.rb`:
  An upstream refactor touched lines adjacent to ones modified in glitch-soc.
  Ported upstream's changes.
2024-09-16 21:08:58 +02:00
Claire ca8e892c1a
Fix selectSettingsNotificationsExcludedTypes not being memoized properly (#31881) 2024-09-16 14:51:56 +00:00
Claire 6c76a7a907
Fix cancel follow request button sometimes saying “Follow back” (#31934) 2024-09-16 13:20:44 +00:00
Claire c620452fd7
Enable grouped notifications unconditionally (#31929) 2024-09-16 13:12:10 +00:00
Claire e0648a916a
Rename `/api/v2_alpha/notifications*` to `/api/v2/notifications*` (#31840) 2024-09-16 12:10:02 +00:00
Eugen Rochko efb0e2c34b
Fix horizontal scrollbar on who to follow carousel in web UI (#31912) 2024-09-16 12:08:37 +00:00
Claire c0eda832f3
Convert notification requests actions and reducers to Typescript (#31866) 2024-09-16 09:54:03 +00:00
github-actions[bot] 474abf3c7f
New Crowdin Translations (automated) (#31911)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-16 08:48:20 +00:00
Matt Jankowski abd2f5654a
Add validation coverage for `CustomEmoji` shortcode value (#31906) 2024-09-16 07:53:03 +00:00
Claire 4b40d13cb3
Increase preview card image size limit from 2MB to 8MB when using libvips (#31904) 2024-09-14 00:16:02 +00:00
Claire 117ac13d12 Merge commit '5ba3405be4c1f708f198580b481f822698dab392' into glitch-soc/merge-upstream 2024-09-13 21:37:34 +02:00
David Roetzel c1b2c4fd9a
Strip protocol from attribution domains (#31900) 2024-09-13 11:37:15 +00:00
Claire ba81e4e019
Fix inability to locally suspend remotely-suspended accounts in moderation interface (#31899) 2024-09-13 09:11:10 +00:00
Matt Jankowski a2c4f5f5c0
Add coverage for `ListAccount` follow/follow_request set up (#31896) 2024-09-13 08:49:03 +00:00
Matt Jankowski 49cbee3836
Remove unused argument from `AccountMigration.within_cooldown` (#31892) 2024-09-13 08:43:21 +00:00
github-actions[bot] 353ade767b
New Crowdin Translations (automated) (#31898)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-13 08:41:46 +00:00
Claire 427ed60274 Fix link handling within detailed status contents 2024-09-12 22:42:07 +02:00
Claire 4050beb6e2 Fix detailed status timestamp link target not being the original URL 2024-09-12 22:30:40 +02:00
Michael Stanclift 9b1ecf7aee [Glitch] Fix review history and action modal styling
Port a269ff9253 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-12 21:38:15 +02:00
Claire afd3953cdd [Glitch] Autofocus primary button in modals
Port 5f782f9629 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-12 21:35:03 +02:00
Claire 83b553c7d1 Merge commit '0226bbe5165a53658b29e46ddbef6a10507fdc8c' into glitch-soc/merge-upstream 2024-09-12 21:32:39 +02:00
Eugen Rochko bd68d2ab21 [Glitch] Change design of embed modal in web UI
Port 24ef8255b3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-12 20:58:23 +02:00
Eugen Rochko e705ec13db [Glitch] Change embedded posts to use web UI
Port 3d46f47817 to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-12 20:58:02 +02:00
Claire 3465d39494 Merge commit '24ef8255b3f9b44cb54f49bc78fe3382a7070b1a' into glitch-soc/merge-upstream
Conflicts:
- `app/helpers/accounts_helper.rb`:
  Upstream removed a helper, textually adjacent to a glitch-soc-only one.
  Not really a conflict.
  Removed the helper as upstream did.
- `app/views/layouts/embedded.html.haml`:
  Conflicts due to theming system.
  Adapted upstream's change to our theming system.
- `app/views/statuses/_simple_status.html.haml`:
  Removed upstream, but we had local changes.
  Removed as upstream did.
2024-09-12 20:05:08 +02:00
Eugen Rochko 2d31cdbc28 [Glitch] Fix notifications re-rendering spuriously in web UI
Port f2a92c2d22 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-12 17:35:05 +02:00
Claire caaa412e6e Merge commit 'f2a92c2d22345568ca7f47ee1d1d70de53eb547d' into glitch-soc/merge-upstream 2024-09-12 17:34:16 +02:00
renovate[bot] 17e3a12d3d [Glitch] Update typescript-eslint monorepo to v8 (major)
Port a27f7f4e56 to glitch-soc

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-12 17:32:41 +02:00
Eugen Rochko 196b141af5 [Glitch] Change inner borders in media galleries in web UI
Port a3215c0f88 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-12 17:28:44 +02:00
Michael Stanclift eb28472ded [Glitch] Fix alt text modal styling
Port e09f9f885e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-12 17:23:59 +02:00
Claire 90d7a4bac4 Merge commit 'a27f7f4e561c9d2fe21d984059603d2f500c005b' into glitch-soc/merge-upstream 2024-09-12 17:22:06 +02:00
Michael Stanclift a269ff9253
Fix review history and action modal styling (#31864) 2024-09-12 14:18:43 +00:00
Taylor Chaparro 1b6a82b799
Fix invalid date searches returning 503 (#31526) 2024-09-12 13:40:20 +00:00
Matt Jankowski f3c4874522
Remove unused `statuses#embed` body class assignment (#31787) 2024-09-12 13:38:15 +00:00
Matt Jankowski 4aa600387e
Move redirect/base body class to view (#31796) 2024-09-12 13:31:50 +00:00
Christian Schmidt 8cdc148167
Handle invalid visibility (#31571) 2024-09-12 13:29:55 +00:00
Matt Jankowski 17c57c46e7
Add coverage for title/limit validations in `List` model (#31869) 2024-09-12 13:25:23 +00:00
Claire a496aeabcb
Change form-action Content-Security-Policy directive to be more restrictive (#26897) 2024-09-12 13:24:19 +00:00
Claire 5f782f9629
Autofocus primary button in modals (#31883) 2024-09-12 13:15:05 +00:00
Claire c35ea59ee6
Fix security context sometimes not being added in LD-Signed activities (#31871) 2024-09-12 12:58:12 +00:00
Eugen Rochko 24ef8255b3
Change design of embed modal in web UI (#31801) 2024-09-12 12:54:16 +00:00
David Roetzel ab763c493f
Ignore `undefined` as canonical url (#31882) 2024-09-12 11:14:42 +00:00
Eugen Rochko 77cbe2332a [Glitch] Add ability to manage which websites can credit you in link previews
Port CSS changes from e0c27a5047 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-12 12:30:31 +02:00
Eugen Rochko abe1717215 [Glitch] Change design of hide media button in web UI
Port 3929e3c6d2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-12 12:30:31 +02:00
Claire 10e2b87774 Merge commit '0c3c06f7cc50c9207a44f56e184ce6a41f953171' into glitch-soc/merge-upstream 2024-09-12 12:09:21 +02:00
Eugen Rochko 3d46f47817
Change embedded posts to use web UI (#31766)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-09-12 09:41:19 +00:00
Eugen Rochko f2a92c2d22
Fix notifications re-rendering spuriously in web UI (#31879) 2024-09-12 08:16:07 +00:00
github-actions[bot] 7d53ca56d2
New Crowdin Translations (automated) (#31878)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-12 07:54:53 +00:00
Eugen Rochko e2c101ec35 [Glitch] Change labels on thread indicators in web UI
Partial port of a021dee642 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-11 21:27:46 +02:00
Claire b240bad61a Merge commit '5260233b81c301cf7b0c79b179858748b693460b' into glitch-soc/merge-upstream 2024-09-11 20:58:35 +02:00
renovate[bot] a27f7f4e56
Update typescript-eslint monorepo to v8 (major) (#31231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2024-09-11 13:59:46 +00:00
github-actions[bot] 2babfafaff
New Crowdin Translations (automated) (#31855)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-11 08:18:10 +00:00
Matt Jankowski cee71b9892
Remove `fa_` prefix from status visibility icon method (#31846) 2024-09-11 07:47:16 +00:00
Eugen Rochko a3215c0f88
Change inner borders in media galleries in web UI (#31852) 2024-09-11 07:29:18 +00:00
Michael Stanclift e09f9f885e
Fix alt text modal styling (#31844) 2024-09-10 17:33:55 +00:00
Matt Jankowski 0c3c06f7cc
Remove vendor prefix from `mobile-web-app-capable` meta tag (#31845) 2024-09-10 17:32:58 +00:00
Matt Jankowski da07adfe6c
Add `CustomEmoji.enabled` scope (#31830) 2024-09-10 13:21:40 +00:00
Eugen Rochko e0c27a5047
Add ability to manage which websites can credit you in link previews (#31819) 2024-09-10 12:00:40 +00:00
Eugen Rochko 3929e3c6d2
Change design of hide media button in web UI (#31807) 2024-09-10 09:29:17 +00:00
github-actions[bot] 5260233b81
New Crowdin Translations (automated) (#31835)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-09-10 09:22:49 +00:00
Matt Jankowski 5b995143f1
Use `with_options` for shared Account validation option value (#31827) 2024-09-10 08:03:45 +00:00
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
Claire dc70ef25b2 Merge commit 'e08d22724d9baf6c639466507c2b117788e5b8de' into glitch-soc/merge-upstream 2024-08-22 22:09:10 +02:00
Claire e08d22724d
Fix missing CSS in moderation interface (#31550) 2024-08-22 18:57:22 +00:00
Claire 9f2d3c721c [Glitch] Hide multiple selection bar for notification requests when no notificion requests are loaded
Port abe292b0ec to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-22 20:00:19 +02:00
Emelia Smith 37f20514d3 [Glitch] Add button to view the Hashtag on the instance from Hashtags in Moderation UI
Port 376088f6da to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-22 19:59:37 +02:00
Claire 18556d3e9b Merge commit '98237207e67697abffc6b141f2388e3d8c925260' into glitch-soc/merge-upstream
Conflicts:
- `app/helpers/application_helper.rb`:
  Upstream refactored some helpers and moved them in another file.
  Not a real conflict, but glitch-soc had adjacent glitch-only definitions.
  Kept glitch-soc definitions where they are and moved upstream ones
  as upstream did.
2024-08-22 19:54:20 +02:00
Eugen Rochko 500f4925a5
Change how content warnings and filters are displayed in web UI (#31365) 2024-08-22 17:12:35 +00:00
Claire 98237207e6
Fix unnecessary “next” link when API returns fewer notification requests than requested (#31541) 2024-08-22 13:42:04 +00:00
Claire abe292b0ec
Hide multiple selection bar for notification requests when no notificion requests are loaded (#31540) 2024-08-22 13:42:02 +00:00
Renaud Chaput 4a968cb7a9
Add `icon` field to instance endpoint (#30205) 2024-08-22 10:04:27 +00:00
Emelia Smith 376088f6da
Add button to view the Hashtag on the instance from Hashtags in Moderation UI (#31533) 2024-08-22 08:42:33 +00:00
github-actions[bot] f86d16adba
New Crowdin Translations (automated) (#31536)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-08-22 08:04:56 +00:00
Claire 1e814f58cc [Glitch] Remove dead CSS code
Port 2da687a28b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-21 20:33:39 +02:00
Claire fa2e758152 Merge commit '2da687a28b509025343d3d8ca17753de9b128e8f' into glitch-soc/merge-upstream 2024-08-21 20:32:02 +02:00
Claire 2da687a28b
Remove dead CSS code (#31527) 2024-08-21 17:05:02 +00:00
Claire 3ffdb7cdac [Glitch] Remove fontawesome leftovers
Port edeae945c0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-21 18:52:40 +02:00
Claire 24849cdb1f [Glitch] Add automatic notification polling for grouped notifications
Port d67e11733e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-21 18:51:27 +02:00
KMY(雪あすか) a9cef5c324 [Glitch] Fix boost dialog visibility selection not being taken into account
Port 01a757d306 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-21 18:50:44 +02:00
Claire 66bc8d5717 [Glitch] Fix distracting and confusing always-showing scrollbar track in boost confirmation modal
Port e48a64d3b5 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-21 18:50:17 +02:00
mogaminsk b2e6f11b81 [Glitch] Change translation strings of grouped notification label to have full context
Port 8c7642cd18 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-21 18:49:54 +02:00
Eugen Rochko bae0b81779 [Glitch] Change hints for missing remote content in web UI
Port b06c7b6b5a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-21 18:49:02 +02:00
Claire 0cec9077a4 Merge commit 'edeae945c0c9d6318d489ab720587621545063d0' into glitch-soc/merge-upstream
Conflicts:
- `spec/requests/api/v2/instance_spec.rb`:
  Upstream added a test for a new attribute, next to a line we modified
  in glitch-soc because of a different default value.
  Updated as upstream's did, keeping glitch-soc's default value.
2024-08-21 18:44:21 +02:00
Claire edeae945c0
Remove fontawesome leftovers (#31525) 2024-08-21 15:55:35 +00:00
Claire 19a1acb38b
Add `api_versions` to `/api/v2/instance` (#31354) 2024-08-21 14:54:59 +00:00
Claire d67e11733e
Add automatic notification polling for grouped notifications (#31513) 2024-08-21 14:41:31 +00:00
KMY(雪あすか) 01a757d306
Fix boost dialog visibility selection not being taken into account (#31523) 2024-08-21 13:11:36 +00:00