]> git.mxchange.org Git - friendica.git/commitdiff
Three systems added to the federation statistics
authorMichael <heluecht@pirati.ca>
Tue, 20 Dec 2022 22:29:53 +0000 (22:29 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 20 Dec 2022 22:29:53 +0000 (22:29 +0000)
src/Module/Admin/Federation.php

index 0fae254ddc915a3dee12d511d61d0ae9c1461ca8..e5916509992a8f6141641162716e96d2a902420a 100644 (file)
@@ -42,9 +42,12 @@ class Federation extends BaseAdmin
                        'akkoma'       => ['name' => 'Akkoma', 'color' => '#9574cd'], // Color from the page
                        'birdsitelive' => ['name' => 'BirdsiteLIVE', 'color' => '#1b6ec2'], // Color from the page
                        'bookwyrm'     => ['name' => 'BookWyrm', 'color' => '#00d1b2'], // Color from the page
+                       'calckey'      => ['name' => 'Calckey', 'color' => '#286983'], // Color from the page
                        'castopod'     => ['name' => 'Castopod', 'color' => '#00564a'], // Background color from the page
                        'diaspora'     => ['name' => 'Diaspora', 'color' => '#a1a1a1'], // logo is black and white, makes a gray
+                       'foundkey'     => ['name' => 'Foundkey', 'color' => '#609926'], // Some random color from the repository
                        'funkwhale'    => ['name' => 'Funkwhale', 'color' => '#4082B4'], // From the homepage
+                       'gancio'       => ['name' => 'Gancio', 'color' => '#7253ed'], // Fontcolor from the page
                        'gnusocial'    => ['name' => 'GNU Social/Statusnet', 'color' => '#a22430'], // dark red from the logo
                        'gotosocial'   => ['name' => 'GoToSocial', 'color' => '#df8958'], // Some color from their mascot
                        'hometown'     => ['name' => 'Hometown', 'color' => '#1f70c1'], // Color from the Patreon page
@@ -128,6 +131,8 @@ class Federation extends BaseAdmin
                                $platform = 'pleroma';
                        } elseif(stristr($platform, 'statusnet')) {
                                $platform = 'gnusocial';
+                       } elseif(stristr($platform, 'nextcloud')) {
+                               $platform = 'nextcloud';
                        } elseif(stristr($platform, 'wordpress')) {
                                $platform = 'wordpress';
                        } elseif (in_array($platform, ['activityrelay', 'pub-relay', 'selective-relay', 'aoderelay'])) {