Commit graph

9398 commits

Author SHA1 Message Date
Matt Jankowski da826fe959
Use hash arguments to order when possible (Rails 7.2) (#32915) 2024-11-18 15:07:53 +00:00
Matt Jankowski 477412d62a
Use hash arguments to select when possible (Rails 7.2) (#32917) 2024-11-18 14:58:45 +00:00
Matt Jankowski c0c34d35e2
Move self destruct check to config_for and add constant for verifier string (#32943) 2024-11-18 09:57:16 +00:00
Eugen Rochko 911d7dbbf6
Fix min_id and max_id causing error in search API (#32857) 2024-11-18 09:37:01 +00:00
Matt Jankowski c511cbcd6c
Extract constants for controller LIMIT queries (#32921) 2024-11-18 09:23:38 +00:00
Matt Jankowski 16addf47c7
Reduce long lines in relationships/show view (#32922) 2024-11-18 09:23:07 +00:00
github-actions[bot] 02985aae69
New Crowdin Translations (automated) (#32927)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-18 09:20:37 +00:00
Jeong Arm 60801ab914
Add missing autofocus on boost modal (#32953) 2024-11-18 08:48:27 +00:00
Matt Jankowski 1c6f53e70f
Use with_options blocks in Associations concern (#32840) 2024-11-18 08:07:18 +00:00
Matt Jankowski a1ac2a73ff
Remove remnants of embed views (#32419) 2024-11-16 20:48:10 +00:00
Matt Jankowski 319109029d
Fix logic in "last used at per application" oauth token list (#32912) 2024-11-15 15:52:37 +00:00
Matt Jankowski 297ce9ef44
Move body class to shared partial for web app controller concern views (#31797) 2024-11-15 15:49:26 +00:00
Shlee 34d7c9edae
Rails 7+: primary_abstract_class recommendation (#32909) 2024-11-15 15:37:30 +00:00
Claire 0838cf1e05
Fix domain attribution field having autocorrect and autocapitalize enabled (#32903) 2024-11-15 13:37:45 +00:00
github-actions[bot] c546aa57cb
New Crowdin Translations (automated) (#32900)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-15 10:30:11 +00:00
Emelia Smith ddfb3d123b
Improve display of statuses in admin panel (#30813) 2024-11-15 09:38:01 +00:00
Claire 2de018256a
Fix filters not being correctly applied to boosted posts (#32895) 2024-11-14 19:42:43 +00:00
Matt Jankowski 766358e52b
Add coverage for malformed version cleanup in SoftwareUpdateCheckService, add helper query methods (#32876) 2024-11-14 14:03:57 +00:00
Matt Jankowski 62d65504f6
Add DomainResource class to wrap MX lookup/normalize (#32864) 2024-11-14 13:47:29 +00:00
Claire e8b6607ece
Fix titles being escaped twice (#32889) 2024-11-14 13:28:00 +00:00
Claire ec663eaba1
Fix Content Warning and filter states not applying to boosted posts properly (#32887) 2024-11-14 12:50:36 +00:00
github-actions[bot] aaebf142aa
New Crowdin Translations (automated) (#32884)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-14 09:39:33 +00:00
Claire 8f5cbf5370
Fix list creation limit check (#32869) 2024-11-13 10:22:11 +00:00
github-actions[bot] baad795384
New Crowdin Translations (automated) (#32868)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-13 09:33:02 +00:00
Emelia Smith 2bd56f726a
Add client_secret_expires_at to OAuth Applications (#30317) 2024-11-12 22:06:13 +00:00
Claire f5f6273d2b
Move ALLOWED_PRIVATE_ADDRESSES parsing to an initializer (#32850) 2024-11-12 13:00:52 +00:00
Eugen Rochko 32e5e1d3f1
Fix a few visual issues with annual reports in web UI (#32807) 2024-11-12 12:35:35 +00:00
Matt Jankowski 5d9dde3ec0
Add age/expiry duration constants to BulkImport class (#32839) 2024-11-12 08:57:06 +00:00
Emelia Smith bf609090b1
Fix: prevent linking to pages which require extra permissions (#32843) 2024-11-12 08:55:17 +00:00
github-actions[bot] 0d06d70d11
New Crowdin Translations (automated) (#32811)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-12 08:47:59 +00:00
Matt Jankowski ea6d3ca8c1
Define constants for sampling sizes in AccountReachFinder (#32805) 2024-11-12 08:38:08 +00:00
Emelia Smith a34edc211f
Add audit logging to Relays (#32819) 2024-11-12 08:35:08 +00:00
Matt Jankowski c099797700
Use mastodon config namespace to load software update default value via config_for (#30534) 2024-11-12 08:28:31 +00:00
Emelia Smith aeae152006
Prevent Web::Push notification delivery if notification is outside of TTL window (#32842) 2024-11-11 19:56:28 +00:00
Matt Jankowski c78dc23b49
Move account sensitize-related methods to concern (#28865) 2024-11-11 13:08:23 +00:00
Matt Jankowski d033920b7e
Move account silence-related methods to concern (#28866) 2024-11-11 08:29:55 +00:00
Christian Schmidt 157fba4698
Backspace hotkey should override default behaviour (#32826) 2024-11-10 16:16:07 +00: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
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
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
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 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 10ea6da09f
Fix language of push notifications (#32415) 2024-10-11 10:24:03 +00: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
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
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