Commit graph

17 commits

Author SHA1 Message Date
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
Jeong Arm 4a109ec1ba
Fix server graph on admin/tags/:id () 2021-11-28 23:13:07 +01:00
Eugen Rochko 6e50134a42
Add trending links ()
* Add trending links

* Add overriding specific links trendability

* Add link type to preview cards and only trend articles

Change trends review notifications from being sent every 5 minutes to being sent every 2 hours

Change threshold from 5 unique accounts to 15 unique accounts

* Fix tests
2021-11-25 13:07:38 +01:00
Claire a184c860ca
Fix retention rate computation () 2021-10-14 22:20:37 +02:00
Eugen Rochko 07341e7aa6
Add graphs and retention metrics to admin dashboard () 2021-10-14 20:44:59 +02:00
Claire c5fe0864d1
Fix SidekiqProcessCheck checking for a queue name that isn't used in Mastodon () 2021-04-05 23:41:37 +02:00
Eugen Rochko 487e37d6d4
Add system checks to dashboard in admin UI () 2021-04-03 14:12:30 +02:00