2
0
Commit Graph

63 Commits

Author SHA1 Message Date
Claire
1b68020331 Fix admin dashboard crash on specific Elasticsearch connection errors (#34683) 2025-05-14 14:50:32 +00:00
Eugen Rochko
715cbee93d Fix dashboard warning about Elasticsearch index mismatch not showing up (#34567)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2025-04-28 13:59:49 +00:00
Claire
7a70d95435 Add warning for Elasticsearch index analyzers mismatch (#34515) 2025-04-25 10:35:11 +00:00
Matt Jankowski
4c2f64907b Remove deprecated Import model (#34371) 2025-04-10 12:49:24 +00:00
Claire
1cf30717db Fix potential inefficiency in media privacy system check (#33858) 2025-02-07 10:22:59 +00:00
Matt Jankowski
41227aeb95 Update Rails to version 7.2.2 (#30391) 2024-11-07 14:58:20 +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
Michael Stanclift
91fbd5b422 Adjust magick version detection in admin panel (#30845) 2024-07-29 14:32:29 +00:00
Michael Stanclift
b120792f27 Adjust ffmpeg version detection in admin panel (#31130)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-07-26 14:13:56 +00:00
David Roetzel
9be77fc0db Revert "Add system check for missing database indexes" (#30909) 2024-07-03 13:36:42 +00:00
David Roetzel
ebd8e1bbb6 Add system check for missing database indexes (#30888) 2024-07-03 07:19:54 +00:00
Matt Jankowski
a8b3d2e4e4 Consolidate time periods methods into base measure (#30757) 2024-06-19 08:45:47 +00:00
Claire
58ace2e45e Fix SQL error in admin measures API (#30753) 2024-06-18 16:04:58 +00:00
Michael Stanclift
a777f7e3cc Restore short Ruby version on admin dashboard (#30711) 2024-06-14 16:10:16 +00:00
Michael Stanclift
4a5442edaa Add ffmpeg and ImageMagick versions to admin dashboard (#30710) 2024-06-14 15:36:57 +00:00
Matt Jankowski
88cfc4056d Extract method to generate series of days in measure sql classes (#29928) 2024-06-11 07:42:15 +00:00
Eugen Rochko
5f15a892fa Add support for libvips in addition to ImageMagick (#30090)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-06-05 19:15:39 +00:00
Matt Jankowski
c9ee1437c0 Use ruby language constants to build version string in software version dimension (#30309) 2024-05-16 07:43:35 +00:00
Claire
96fb6e491f Revert "Migrate paperclip _file_size columns to bigint (#29263)" (#30203) 2024-05-07 08:46:05 +00:00
Matt Jankowski
b152f936c1 Migrate paperclip _file_size columns to bigint (#29263)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-05-06 15:05:12 +00:00
Matt Jankowski
966d7f5bf9 Add missing snowflake range correction (#29841) 2024-04-04 11:33:17 +00:00
Matt Jankowski
7e6eb64f1e Use full snowflake range in admin/metrics classes (#29416) 2024-03-13 08:56:37 +00:00
Matt Jankowski
a7284690fc Add coverage for admin/metrics base classes, simplify subclass generation (#29527) 2024-03-11 09:16:19 +00:00
Matt Jankowski
e1fcb02867 Align TagServersMeasure to use WITH query style similar to others (#29435) 2024-02-29 11:00:58 +00:00
Matt Jankowski
ea8e7f3e9d Align TagServersMeasure query style with other classes (#29414) 2024-02-27 16:25:12 +00:00
Matt Jankowski
76d256138e Wrap media attachment size calculation in COALESCE (#29415) 2024-02-27 11:52:37 +00:00
Matt Jankowski
a2f02a0775 Disable Rails/SkipsModelValidations cop (#28712) 2024-01-15 13:46:47 +00:00
Michael Stanclift
3171afc36a Add Elasticsearch index size to Admin dashboard (#27301)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-10-06 17:02:55 +02:00
Claire
3c13d70600 Add mention of YJIT in admin dashboard if enabled (#27283) 2023-10-05 13:10:17 +02:00
Matt Jankowski
2f8f92df48 Fix Elastic check deprecation warning about gem version (#27262) 2023-10-03 15:52:47 +02:00
Renaud Chaput
4aaaf0dde3 Fix the search documentation URL in system checks (#27036) 2023-09-22 10:13:53 +02:00
Claire
b83e487502 Fix moderator rights inconsistencies (#26729) 2023-09-06 16:40:19 +02:00
Claire
16681e0f20 Add admin notifications for new Mastodon versions (#26582) 2023-09-01 17:47:07 +02:00
Claire
072112867b Fix dashboard check for Elasticsearch suggested command including incorrect names (#26658) 2023-08-25 18:17:22 +02:00
Claire
f2ec2876a4 Add Elasticsearch/OpenSearch version to “Software” in admin dashboard (#26652) 2023-08-25 12:02:09 +02:00
Claire
e3825a13c1 Add PublicStatusesCheck to Elasticsearch index check on admin dashboard (#26650) 2023-08-25 12:01:55 +02:00
Claire
bd023a2637 Fix admin dashboard check when using Elasticsearch with ES_PREFIX (#26605) 2023-08-22 18:51:32 +02:00
Claire
ac0eb0533e Add Elasticsearch cluster health check and indexes mismatch check to dashboard (#26448) 2023-08-21 16:50:22 +02:00
Matt Jankowski
af135bddd0 Update Admin::Metrics::Measure classes for Rails 7 (#25236) 2023-06-05 20:46:04 +02:00
Matt Jankowski
3b21c13dcc Rails 7 compatibility fix for Admin::Metrics::Dimension classes (#25277) 2023-06-05 16:52:33 +02:00
Claire
e9385e93e9 Add a confirmation screen when suspending a domain (#25144) 2023-06-01 09:37:38 +02:00
Matt Jankowski
9f5deb310b Fix Performance/MapCompact cop (#24797)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-05-23 10:49:12 +02:00
Matt Jankowski
e63524f457 Update retention model sql query (#24249) 2023-03-26 00:37:57 +01:00
Claire
8fdf49b11d Add warning for object storage misconfiguration (#24137) 2023-03-16 22:47:01 +01:00
Claire
9875be09fe Fix dashboard crash on ElasticSearch server error (#23751) 2023-03-15 04:01:49 +01:00
Nick Schonning
2177daeae9 Autofix Rubocop Style/RedundantBegin (#23703) 2023-02-19 07:09:40 +09:00
Claire
41517a4845 Fix spurious admin dashboard warning when using ElasticSearch 7.x (#23064)
Some 7.x ElasticSearch versions support some 6.x nodes, thus the version check
is inadequate. I am not sure there is a good way to check if a server
implements all the 7.x APIs, so check server version and minimum wire version
instead.
2023-01-18 16:21:48 +01:00
Vyr Cossont
06f979098c Check OpenSearch compatibility version instead of regular version (#22422)
Fixes #18535.
2023-01-05 13:44:31 +01:00
s0
52540771b0 Fix crash in elasticsearch_check.rb (#21006)
Nil unwrap causes the admin dashboard to crash/500 when the Chewy client info version number value is nil.
This occurs when running another ES-compatible backend such as MeiliSearch.
Obviously it would be good for chewy to recognise upstream but at least avoiding the crash would be fine.
2022-12-15 15:56:48 +01:00
Eugen Rochko
f8e8e622e5 Change incoming activity processing to happen in ingress queue (#20264) 2022-11-10 14:21:51 +01:00