Commit Graph

9373 Commits

Author SHA1 Message Date
Claire f5f6273d2b
Move `ALLOWED_PRIVATE_ADDRESSES` parsing to an initializer () 2024-11-12 13:00:52 +00:00
Eugen Rochko 32e5e1d3f1
Fix a few visual issues with annual reports in web UI () 2024-11-12 12:35:35 +00:00
Matt Jankowski 5d9dde3ec0
Add age/expiry duration constants to `BulkImport` class () 2024-11-12 08:57:06 +00:00
Emelia Smith bf609090b1
Fix: prevent linking to pages which require extra permissions () 2024-11-12 08:55:17 +00:00
github-actions[bot] 0d06d70d11
New Crowdin Translations (automated) ()
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` () 2024-11-12 08:38:08 +00:00
Emelia Smith a34edc211f
Add audit logging to Relays () 2024-11-12 08:35:08 +00:00
Matt Jankowski c099797700
Use `mastodon` config namespace to load software update default value via `config_for` () 2024-11-12 08:28:31 +00:00
Emelia Smith aeae152006
Prevent Web::Push notification delivery if notification is outside of TTL window () 2024-11-11 19:56:28 +00:00
Matt Jankowski c78dc23b49
Move account sensitize-related methods to concern () 2024-11-11 13:08:23 +00:00
Matt Jankowski d033920b7e
Move account silence-related methods to concern () 2024-11-11 08:29:55 +00:00
Christian Schmidt 157fba4698
Backspace hotkey should override default behaviour () 2024-11-10 16:16:07 +00:00
Matt Jankowski 1e71c4e247
Use enum-generated `IpBlock.severity...` scopes () 2024-11-08 14:23:52 +00:00
Matt Jankowski 10c895dc84
Use existing arel scopes instead of string ordering () 2024-11-08 14:21:44 +00:00
Matt Jankowski bde0f1239a
Add `InetContainer` with scopes of `containing` and `contained` () 2024-11-08 10:08:36 +00:00
Matt Jankowski df54196a14
Use `touch_all` with batches () 2024-11-08 10:00:15 +00:00
github-actions[bot] 8df867b20a
New Crowdin Translations (automated) ()
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 () 2024-11-07 14:58:20 +00:00
Matt Jankowski 697947116e
Add `EmailDomainBlock.parents` scope () 2024-11-07 13:46:20 +00:00
Claire 6ae1fcd059
Fix list of follow requests not having a back button () 2024-11-07 11:45:46 +00:00
Matt Jankowski 68b545ef33
Add `Status.not_direct_visibility` scope () 2024-11-07 10:32:33 +00:00
Matt Jankowski 73f66af6eb
Update location of unused `MIN_SCHEDULE_OFFSET` constant () 2024-11-07 10:28:59 +00:00
github-actions[bot] 4ed3ce2377
New Crowdin Translations (automated) ()
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 () 2024-11-06 13:30:53 +00:00
Claire 2bea74e69d
Avoid latest featured tag use on post removal unless necessary () 2024-11-06 10:51:54 +00:00
github-actions[bot] 871e3b25e8
New Crowdin Translations (automated) ()
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 () 2024-11-05 14:40:07 +00:00
Matt Jankowski 20a147170e
Remove unused `usage` method from `REST::V1::InstanceSerializer` () 2024-11-05 14:20:27 +00:00
github-actions[bot] 933fa81baf
New Crowdin Translations (automated) ()
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 () 2024-11-04 11:08:19 +00:00
Eugen Rochko 90f4ffa31d
Fix performance of percentile calculation for annual reports () 2024-11-04 10:11:06 +00:00
github-actions[bot] 2271b39a5c
New Crowdin Translations (automated) ()
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 () 2024-10-31 15:12:08 +00:00
Matt Jankowski a20ac20302
Add model spec for `Tombstone` () 2024-10-31 13:27:47 +00:00
github-actions[bot] e78db58b65
New Crowdin Translations (automated) ()
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 () 2024-10-31 09:38:00 +00:00
Renato "Lond" Cerqueira 01e25af2e3
Fix 'unknown' media attachment rendering in detailed view () 2024-10-31 09:37:31 +00:00
Emelia Smith e1b7382ea6
Add userinfo oauth endpoint () 2024-10-30 14:38:10 +00:00
github-actions[bot] 0a599d08d8
New Crowdin Translations (automated) ()
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 () 2024-10-30 08:34:56 +00:00
Matt Jankowski babee06794
Add coverage for `StatusTrend` and `PreviewCardTrend` models, add `locales` class method to `RankedTrend` () 2024-10-29 15:46:32 +00:00
Nathan Sparrow de1d8dc63a
Embed modal mobile fix () 2024-10-29 15:12:35 +00:00
David Roetzel 9de3fd60a0
Add telemetry for status / bio formatting () 2024-10-29 10:10:17 +00:00
github-actions[bot] 244aaf9a38
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-29 09:29:22 +00:00
Matt Jankowski 6f5eb22135
Mailer header partial access cleanup () 2024-10-28 13:41:56 +00:00
Hugo Gameiro b1d3c64525
Fix and improve batch attachment deletion handling when using OpenStack Swift () 2024-10-28 13:32:56 +00:00
Emelia Smith dc0b1948be
Feat: Implement interaction modal for Polls () 2024-10-28 13:27:37 +00:00
github-actions[bot] 0426cb78f7
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-28 13:23:13 +00:00
Matt Jankowski 1edb527072
Enhance coverage for `StatusPin` model () 2024-10-28 07:34:58 +00:00
Jonny Saunders 9074c1fac9
Use `likes` and `shares` totalItems on status creations and updates () 2024-10-28 04:55:18 +00:00
Matt Jankowski 66c0471515
Enrich coverage for `IpBlock` model () 2024-10-25 08:35:07 +00:00
Matt Jankowski 745c4f900a
Remove unused `ApplicationHelper#visibility_icon` helper method () 2024-10-24 08:02:54 +00:00
Eugen Rochko d11231a420
Change design of rich text elements in web UI () 2024-10-24 07:28:22 +00:00
Matt Jankowski 97b18d10b4
Move hcaptcha service config to `config_for` yml () 2024-10-23 14:25:43 +00:00
Matt Jankowski 35f008aa2a
Move translation service config to `config_for` yml () 2024-10-23 13:32:18 +00:00
Matt Jankowski 2f906ed55a
Constants for account refresh () 2024-10-23 13:29:01 +00:00
Matt Jankowski c3e684b715
Remove unused svg logos () 2024-10-23 13:25:49 +00:00
Claire 393f0a0159
Redesign Content Warning and filters () 2024-10-23 09:47:23 +00:00
David Roetzel 05f23df3b7
Add endpoint to remove web push subscription () 2024-10-23 08:02:31 +00:00
David Roetzel 029c99bd7b
Do not change follow counters when already following () 2024-10-22 12:49:10 +00:00
Jeong Arm 18659f8163
Fix that blocking was not working on link timeline () 2024-10-22 12:46:32 +00:00
Eugene Alvin Villar 16597fa735
Fix tl language native name () 2024-10-22 08:41:40 +00:00
Emelia Smith 346cdb998c
Fix 'unknown' media attachment type rendering () 2024-10-22 08:31:53 +00:00
renovate[bot] 11a63b2db6
Update eslint (non-major) ()
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 () 2024-10-21 07:08:18 +00:00
Claire 1fc165de02
Remove ability to get embed code for remote posts () 2024-10-18 10:51:05 +00:00
Claire 2391937e11
Fix follow recommendation moderation page default language when using regional variant () 2024-10-18 10:21:25 +00:00
github-actions[bot] 8eae0d067d
New Crowdin Translations (automated) ()
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 () 2024-10-18 07:40:08 +00:00
Matt Jankowski bd6c96f737
Fix broken i18n in text welcome mailer tags area () 2024-10-18 07:19:37 +00:00
Claire 8b56509625
Add more explicit explanations about author attribution and `fediverse:creator` () 2024-10-17 09:03:08 +00:00
github-actions[bot] 009f2ebc32
New Crowdin Translations (automated) ()
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 () 2024-10-16 10:40:40 +00:00
Renaud Chaput 6c87c76e18
Add ability to group follow notifications in WebUI () 2024-10-16 08:33:11 +00:00
github-actions[bot] acc1973f3a
New Crowdin Translations (automated) ()
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 () 2024-10-16 07:30:53 +00:00
Renaud Chaput 7a7a7cc448
Add back a 6 hours mute duration option () 2024-10-16 07:27:44 +00:00
Matt Jankowski c40cd79c4d
Convert `admin/invites` controller specs to system specs () 2024-10-15 14:27:46 +00:00
Matt Jankowski b78597979a
Fix missing content warning text in rss formatter () 2024-10-15 14:12:54 +00:00
Matt Jankowski 0e58dc90d9
Use array compact style for classes in `nothing_here` helper () 2024-10-15 13:56:29 +00:00
Christian Schmidt 227d46883f
Translate to regional language variant (e.g. pt-BR) () 2024-10-15 13:26:20 +00:00
Jeong Arm 5afdb81b36
Fix reblog icons on account media view () 2024-10-15 10:01:21 +00:00
Claire 5e4cc1a39c
Fix follow recommendation carrousel scrolling on RTL layouts, for real () 2024-10-15 09:38:04 +00:00
kenkiku1021 f2378aca40
add SWIFT object storage uri to CSP media hosts ()
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) ()
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 () 2024-10-15 09:15:25 +00:00
Claire 7c10b0fb7a
Fix follow recommendation carrousel scrolling on RTL layouts () 2024-10-14 15:25:32 +00:00
Matt Jankowski d8eab3d81f
Reinforce coverage for `DomainBlock` model () 2024-10-14 12:51:01 +00:00
Florian Kohler 2404d6d1a1
Added Swiss German to languages dropdown ()
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 () 2024-10-14 08:18:25 +00:00
Claire 10ea6da09f
Fix language of push notifications () 2024-10-11 10:24:03 +00:00
Claire 22fd767425
Fix mute duration not being shown in list of muted accounts in web UI () 2024-10-10 14:53:12 +00:00
Claire 3b07fe1bba
Fix “Mark every notification as read” not updating the read marker if scrolled down () 2024-10-10 13:42:08 +00:00
Claire a5a3733c97
Fix “Mention” appearing for otherwise filtered posts () 2024-10-10 11:04:38 +00:00
Michael Stanclift cdf603239e
Restore list column border () 2024-10-09 19:33:28 +00:00
Claire d9fbb071da
Fix notification requests from suspended accounts still being listed () 2024-10-09 17:29:02 +00:00
Claire 03dbebdfef
Fix list edition modal styling () 2024-10-09 17:24:22 +00:00
Claire fda52b2a52
Fix 4 columns barely not fitting on 1920px screen () 2024-10-09 17:16:57 +00:00
Matt Jankowski 258dce1256
Add `OpenSSL::SSL::SSLError` to http connection errors wrapper () 2024-10-08 14:59:51 +00:00
Matt Jankowski e8ec6667bd
Extract wrapper constant for `HTTP::*` error classes () 2024-10-08 13:53:35 +00:00
Matt Jankowski d20a899bb9
Bring icon vertical middle to applications list style () 2024-10-08 13:21:36 +00:00
github-actions[bot] ff3e2c9cfa
New Crowdin Translations (automated) ()
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-08 08:10:39 +00:00
Jake Anto 0c16365991
Prefer native apps over PWA () 2024-10-07 20:33:14 +00:00
Leni Kadali 4238da6ee3
Add error message when user tries to follow their own account () 2024-10-07 12:05:46 +00:00
Matt Jankowski bfabd6a2b8
Move account suspension-related methods to concern () 2024-10-07 12:02:04 +00:00
Eugen Rochko 1f5bd571cd
Fix missing avatar fallback interfering with transparency in web UI () 2024-10-07 09:35:42 +00:00
github-actions[bot] 498024558a
New Crowdin Translations (automated) ()
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 () 2024-10-07 06:53:29 +00:00
Christian Schmidt c40ab43dc7
Remove redundant title attribute () 2024-10-04 16:23:05 +00:00
Claire 51769e0670
Fix media gallery items having incorrect borders when hidden () 2024-10-04 14:55:44 +00:00
Claire 1f720366e9
Fix notification push notifications not including the author's username () 2024-10-04 14:29:23 +00:00
Matt Jankowski ebdeac0731
Add coverage for missing status scenario in NotificationMailer () 2024-10-04 14:15:14 +00:00
Matt Jankowski 4fe7f213a6
Use `async_count` in more view locations () 2024-10-04 12:29:43 +00:00
Claire 77f5b127fa
Fix unsupported grouped notifications from streaming causing duplicate IDs () 2024-10-04 12:23:30 +00:00
Claire 49407e7623
Fix Content-Security-Policy when using sso-redirect () 2024-10-04 08:50:36 +00:00
gunchleoc 160917e718
Pluralize csv imports ()
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 ()
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) ()
Co-authored-by: GitHub Actions <noreply@github.com>
2024-10-04 07:29:53 +00:00
Claire 4c0e44ebbe
Fix recently-broken admin interface buttons () 2024-10-03 16:12:15 +00:00
Matt Jankowski d95f6f4410
Extract `ExportSummary` class for account object counts () 2024-10-03 13:09:58 +00:00
github-actions[bot] fe3f5375e3
New Crowdin Translations (automated) ()
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 () 2024-10-02 15:51:05 +00:00
Matt Jankowski cec8961372
Move admin action log type list generation to helper () 2024-10-02 14:47:00 +00:00
Matt Jankowski 7d6b9ccd34
Add `copyable_input` helper method to wrap shared options () 2024-10-02 14:45:54 +00:00
Matt Jankowski 36f9c96812
Clean up labels on development application form () 2024-10-02 14:45:12 +00:00
Claire f760899b04
Fix editing description of media uploads with custom thumbnails () 2024-10-02 13:29:23 +00:00
Claire b5006539c9
Fix media uploads in composer appearing over search results in advanced interface () 2024-10-02 13:28:36 +00:00
Matt Jankowski d270d6dd4f
Provide `use_path` to qr generator for svg data size reduction () 2024-10-02 13:26:46 +00:00
Matt Jankowski 2151dfb8d6
Add `relevant_params` to ReportFilter (matches account filter) () 2024-10-02 13:24:40 +00:00
Matt Jankowski cf859d151b
More link/button conversion across views () 2024-10-02 13:08:40 +00:00
Matt Jankowski 1f65a95421
Remove unneeded `reorder(nil)` conditions () 2024-10-02 12:26:16 +00:00
Matt Jankowski 4aa26eba53
Extract `WebPushRequest` from push notification worker and subscription () 2024-10-02 11:11:52 +00:00
Claire 4a737a948a
Fix incorrect `'navigator'` check () 2024-10-02 10:03:04 +00:00
Christian Schmidt 33d3ca7cf1
Support /.well-known/host-meta.json () 2024-10-02 09:23:44 +00:00
github-actions[bot] ea72d5ec3a
New Crowdin Translations (automated) ()
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 ()
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 () 2024-10-01 16:26:30 +00:00
Jeong Arm 65508bb0c0
Show timestamp when the user deletes their account on admin dashboard ()
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 () 2024-10-01 13:41:25 +00:00
Matt Jankowski f73787a4b8
Fix broken border on applications list () 2024-10-01 13:38:29 +00:00
Claire 7b92cf3b47
Fix unneeded requests to blocked domains when receiving relayed signed activities from them () 2024-10-01 12:52:13 +00:00
Emelia Smith c5f0da98e4
Add detection and download of material_symbol icons in config/navigation.rb () 2024-10-01 12:49:04 +00:00
Matt Jankowski 44071fdbae
Wrap datetime in `time` element with attrs () 2024-10-01 12:45:58 +00:00
Matt Jankowski ec16ed37c3
Extract constants for header and avatar geometry () 2024-10-01 11:36:25 +00:00
Matt Jankowski c009507912
Use `button_to` for `method: :post` links on account show page () 2024-10-01 11:14:12 +00:00
Matt Jankowski 651846c622
Only show email domain blocks MX table when some found () 2024-10-01 11:03:13 +00:00
Matt Jankowski 7e35bef97e
Remove explicit `put` action in settings forms () 2024-10-01 10:34:05 +00:00
Matt Jankowski e975b55c24
Remove `WebfingerHelper` module & move usage inline () 2024-10-01 09:54:42 +00:00
David Roetzel e6cda8388c
Move OTP secret length to configuration () 2024-10-01 09:38:42 +00:00
Matt Jankowski f251edfc1d
Add `date_range` view helper () 2024-10-01 09:30:21 +00:00