Commit graph

56 commits

Author SHA1 Message Date
Michael Stanclift
91fbd5b422
Adjust magick version detection in admin panel () 2024-07-29 14:32:29 +00:00
Michael Stanclift
b120792f27
Adjust ffmpeg version detection in admin panel ()
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" () 2024-07-03 13:36:42 +00:00
David Roetzel
ebd8e1bbb6
Add system check for missing database indexes () 2024-07-03 07:19:54 +00:00
Matt Jankowski
a8b3d2e4e4
Consolidate time periods methods into base measure () 2024-06-19 08:45:47 +00:00
Claire
58ace2e45e
Fix SQL error in admin measures API () 2024-06-18 16:04:58 +00:00
Michael Stanclift
a777f7e3cc
Restore short Ruby version on admin dashboard () 2024-06-14 16:10:16 +00:00
Michael Stanclift
4a5442edaa
Add ffmpeg and ImageMagick versions to admin dashboard () 2024-06-14 15:36:57 +00:00
Matt Jankowski
88cfc4056d
Extract method to generate series of days in measure sql classes () 2024-06-11 07:42:15 +00:00
Eugen Rochko
5f15a892fa
Add support for libvips in addition to ImageMagick ()
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 () 2024-05-16 07:43:35 +00:00
Claire
96fb6e491f
Revert "Migrate paperclip _file_size columns to bigint ()" () 2024-05-07 08:46:05 +00:00
Matt Jankowski
b152f936c1
Migrate paperclip _file_size columns to bigint ()
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 () 2024-04-04 11:33:17 +00:00
Matt Jankowski
7e6eb64f1e
Use full snowflake range in admin/metrics classes () 2024-03-13 08:56:37 +00:00
Matt Jankowski
a7284690fc
Add coverage for admin/metrics base classes, simplify subclass generation () 2024-03-11 09:16:19 +00:00
Matt Jankowski
e1fcb02867
Align TagServersMeasure to use WITH query style similar to others () 2024-02-29 11:00:58 +00:00
Matt Jankowski
ea8e7f3e9d
Align TagServersMeasure query style with other classes () 2024-02-27 16:25:12 +00:00
Matt Jankowski
76d256138e
Wrap media attachment size calculation in COALESCE () 2024-02-27 11:52:37 +00:00
Matt Jankowski
a2f02a0775
Disable Rails/SkipsModelValidations cop () 2024-01-15 13:46:47 +00:00
Michael Stanclift
3171afc36a
Add Elasticsearch index size to Admin dashboard ()
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 () 2023-10-05 13:10:17 +02:00
Matt Jankowski
2f8f92df48
Fix Elastic check deprecation warning about gem version () 2023-10-03 15:52:47 +02:00
Renaud Chaput
4aaaf0dde3
Fix the search documentation URL in system checks () 2023-09-22 10:13:53 +02:00
Claire
b83e487502
Fix moderator rights inconsistencies () 2023-09-06 16:40:19 +02:00
Claire
16681e0f20
Add admin notifications for new Mastodon versions () 2023-09-01 17:47:07 +02:00
Claire
072112867b
Fix dashboard check for Elasticsearch suggested command including incorrect names () 2023-08-25 18:17:22 +02:00
Claire
f2ec2876a4
Add Elasticsearch/OpenSearch version to “Software” in admin dashboard () 2023-08-25 12:02:09 +02:00
Claire
e3825a13c1
Add PublicStatusesCheck to Elasticsearch index check on admin dashboard () 2023-08-25 12:01:55 +02:00
Claire
bd023a2637
Fix admin dashboard check when using Elasticsearch with ES_PREFIX () 2023-08-22 18:51:32 +02:00
Claire
ac0eb0533e
Add Elasticsearch cluster health check and indexes mismatch check to dashboard () 2023-08-21 16:50:22 +02:00
Matt Jankowski
af135bddd0
Update Admin::Metrics::Measure classes for Rails 7 () 2023-06-05 20:46:04 +02:00
Matt Jankowski
3b21c13dcc
Rails 7 compatibility fix for Admin::Metrics::Dimension classes () 2023-06-05 16:52:33 +02:00
Claire
e9385e93e9
Add a confirmation screen when suspending a domain () 2023-06-01 09:37:38 +02:00
Matt Jankowski
9f5deb310b
Fix Performance/MapCompact cop ()
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 () 2023-03-26 00:37:57 +01:00
Claire
8fdf49b11d
Add warning for object storage misconfiguration () 2023-03-16 22:47:01 +01:00
Claire
9875be09fe
Fix dashboard crash on ElasticSearch server error () 2023-03-15 04:01:49 +01:00
Nick Schonning
2177daeae9
Autofix Rubocop Style/RedundantBegin () 2023-02-19 07:09:40 +09:00
Claire
41517a4845
Fix spurious admin dashboard warning when using ElasticSearch 7.x ()
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 ()
Fixes .
2023-01-05 13:44:31 +01:00
s0
52540771b0
Fix crash in elasticsearch_check.rb ()
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 () 2022-11-10 14:21:51 +01:00
Eugen Rochko
44b2ee3485
Add customizable user roles ()
* Add customizable user roles

* Various fixes and improvements

* Add migration for old settings and fix tootctl role management
2022-07-05 02:41:40 +02:00
Claire
f65eaa5aae
Add admin dashboard checks for Elasticsearch version () 2022-03-25 21:00:59 +01:00
Eugen Rochko
bd53dd5210
Change design of federation pages in admin UI ()
* Change design of federation pages in admin UI

* Fix query performance in instance media attachments measure

* Fix reblogs being included in instance languages dimension
2022-03-09 08:52:32 +01:00
Eugen Rochko
b377022cf9
Add caching layer to metrics () 2022-02-22 15:27:08 +01:00
Eugen Rochko
3aebe711fd
Change languages to be listed under standard instead of native name in admin UI () 2022-02-09 04:15:38 +01:00
Claire
a63495230a
Change percent to rate in retention metrics API () 2022-01-23 16:01:25 +01:00
Eugen Rochko
14f436c457
Add notifications for statuses deleted by moderators () 2022-01-17 09:41:33 +01:00