Commit Graph

58 Commits (e0f6292492c5fce0c9e48b2c003c733f3d2346d3)

Author SHA1 Message Date
Matt Jankowski 41227aeb95
Update Rails to version 7.2.2 ()
Claire 513f187daf
Add “A Mastodon update is available.” message on admin dashboard for non-bugfix updates ()
Michael Stanclift 91fbd5b422
Adjust magick version detection in admin panel ()
Michael Stanclift b120792f27
Adjust ffmpeg version detection in admin panel ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
David Roetzel 9be77fc0db
Revert "Add system check for missing database indexes" ()
David Roetzel ebd8e1bbb6
Add system check for missing database indexes ()
Matt Jankowski a8b3d2e4e4
Consolidate time periods methods into base measure ()
Claire 58ace2e45e
Fix SQL error in admin measures API ()
Michael Stanclift a777f7e3cc
Restore short Ruby version on admin dashboard ()
Michael Stanclift 4a5442edaa
Add ffmpeg and ImageMagick versions to admin dashboard ()
Matt Jankowski 88cfc4056d
Extract method to generate series of days in measure sql classes ()
Eugen Rochko 5f15a892fa
Add support for libvips in addition to ImageMagick ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski c9ee1437c0
Use ruby language constants to build version string in software version dimension ()
Claire 96fb6e491f
Revert "Migrate paperclip `_file_size` columns to bigint ()" ()
Matt Jankowski b152f936c1
Migrate paperclip `_file_size` columns to bigint ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski 966d7f5bf9
Add missing snowflake range correction ()
Matt Jankowski 7e6eb64f1e
Use full snowflake range in `admin/metrics` classes ()
Matt Jankowski a7284690fc
Add coverage for admin/metrics base classes, simplify subclass generation ()
Matt Jankowski e1fcb02867
Align `TagServersMeasure` to use `WITH` query style similar to others ()
Matt Jankowski ea8e7f3e9d
Align `TagServersMeasure` query style with other classes ()
Matt Jankowski 76d256138e
Wrap media attachment size calculation in `COALESCE` ()
Matt Jankowski a2f02a0775
Disable `Rails/SkipsModelValidations` cop ()
Michael Stanclift 3171afc36a
Add Elasticsearch index size to Admin dashboard ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Claire 3c13d70600
Add mention of YJIT in admin dashboard if enabled ()
Matt Jankowski 2f8f92df48
Fix Elastic check deprecation warning about gem version ()
Renaud Chaput 4aaaf0dde3
Fix the search documentation URL in system checks ()
Claire b83e487502
Fix moderator rights inconsistencies ()
Claire 16681e0f20
Add admin notifications for new Mastodon versions ()
Claire 072112867b
Fix dashboard check for Elasticsearch suggested command including incorrect names ()
Claire f2ec2876a4
Add Elasticsearch/OpenSearch version to “Software” in admin dashboard ()
Claire e3825a13c1
Add PublicStatusesCheck to Elasticsearch index check on admin dashboard ()
Claire bd023a2637
Fix admin dashboard check when using Elasticsearch with `ES_PREFIX` ()
Claire ac0eb0533e
Add Elasticsearch cluster health check and indexes mismatch check to dashboard ()
Matt Jankowski af135bddd0
Update `Admin::Metrics::Measure` classes for Rails 7 ()
Matt Jankowski 3b21c13dcc
Rails 7 compatibility fix for `Admin::Metrics::Dimension` classes ()
Claire e9385e93e9
Add a confirmation screen when suspending a domain ()
Matt Jankowski 9f5deb310b
Fix Performance/MapCompact cop ()
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Matt Jankowski e63524f457
Update retention model sql query ()
Claire 8fdf49b11d
Add warning for object storage misconfiguration ()
Claire 9875be09fe
Fix dashboard crash on ElasticSearch server error ()
Nick Schonning 2177daeae9
Autofix Rubocop Style/RedundantBegin ()
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.
Vyr Cossont 06f979098c
Check OpenSearch compatibility version instead of regular version ()
Fixes .
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.
Eugen Rochko f8e8e622e5
Change incoming activity processing to happen in `ingress` queue ()
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
Claire f65eaa5aae
Add admin dashboard checks for Elasticsearch version ()
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
Eugen Rochko b377022cf9
Add caching layer to metrics ()
Eugen Rochko 3aebe711fd
Change languages to be listed under standard instead of native name in admin UI ()