@ -1,5 +0,0 @@ |
|||||
<?php namespace App\SupportedApps\Ghost; |
|
||||
|
|
||||
class Ghost extends \App\SupportedApps { |
|
||||
|
|
||||
} |
|
@ -1,10 +0,0 @@ |
|||||
{ |
|
||||
"appid": "c4745785181de931cfd5bd79294cb1687d82aea9", |
|
||||
"name": "Ghost", |
|
||||
"website": "https://github.com/tryghost/ghost", |
|
||||
"license": "MIT License", |
|
||||
"description": "Fiercely independent, professional publishing. A fully open source, powerful platform for building and running modern publications, we power serious blogs, magazines and journalism from DuckDuckGo to OpenAI & Sky News.", |
|
||||
"enhanced": false, |
|
||||
"tile_background": "light", |
|
||||
"icon": "ghost.png" |
|
||||
} |
|
Before Width: | Height: | Size: 3.0 KiB |
@ -1,5 +0,0 @@ |
|||||
<?php namespace App\SupportedApps\MailcowSOGo; |
|
||||
|
|
||||
class MailcowSOGo extends \App\SupportedApps { |
|
||||
|
|
||||
} |
|
@ -1,10 +0,0 @@ |
|||||
{ |
|
||||
"appid": "1ec48781d2c87a9e6dc9ee99e5eff0ab5958df09", |
|
||||
"name": "Mailcow - SOGo", |
|
||||
"website": "https://sogo.nu/", |
|
||||
"license": "GNU GPL/LGPL v2 and above", |
|
||||
"description": "SOGo is a fully supported and trusted groupware server with a focus on scalability and open standards.\r\n\r\nPart of the Mailcow stack.", |
|
||||
"enhanced": false, |
|
||||
"tile_background": "dark", |
|
||||
"icon": "mailcowsogo.svg" |
|
||||
} |
|
Before Width: | Height: | Size: 10 KiB |
@ -1,5 +0,0 @@ |
|||||
<?php namespace App\SupportedApps\Mattermost; |
|
||||
|
|
||||
class Mattermost extends \App\SupportedApps { |
|
||||
|
|
||||
} |
|
@ -1,10 +0,0 @@ |
|||||
{ |
|
||||
"appid": "b3e1424fb69ca08481b03ad9d81e95488421997f", |
|
||||
"name": "Mattermost", |
|
||||
"website": "https://mattermost.com/", |
|
||||
"license": "MIT License", |
|
||||
"description": "Mattermost provides high trust collaboration and messaging solutions through an open source, community-powered approach. Enjoy all the productivity benefits of workplace messaging across web, mobile and PC, with unlimited archiving, search and integrations within IT-controlled private environments in public clouds, including AWS and Azure, as well as on-premise in private clouds and virtual or physical servers.", |
|
||||
"enhanced": false, |
|
||||
"tile_background": "light", |
|
||||
"icon": "mattermost.png" |
|
||||
} |
|
Before Width: | Height: | Size: 25 KiB |
@ -1,5 +0,0 @@ |
|||||
<?php namespace App\SupportedApps\MayanEDMS; |
|
||||
|
|
||||
class MayanEDMS extends \App\SupportedApps { |
|
||||
|
|
||||
} |
|
@ -1,10 +0,0 @@ |
|||||
{ |
|
||||
"appid": "6b9e062ff02ea610df64e9b0eca1c973faf1b51d", |
|
||||
"name": "Mayan EDMS", |
|
||||
"website": "https://github.com/tryghost/ghost", |
|
||||
"license": "Apache License 2.0", |
|
||||
"description": "Mayan EDMS is an open-source document management system. Its main purpose is to store, introspect, and categorize files, with a strong emphasis on preserving the contextual and business information of documents. It can also OCR, preview, label, sign, send, and receive thoses files. Other features of interest are its workflow system, role based access control, and REST API.", |
|
||||
"enhanced": false, |
|
||||
"tile_background": "light", |
|
||||
"icon": "mayanedms.png" |
|
||||
} |
|
Before Width: | Height: | Size: 2.9 KiB |
@ -1,45 +0,0 @@ |
|||||
<?php namespace App\SupportedApps\Nzbget; |
|
||||
|
|
||||
class Nzbget extends \App\SupportedApps implements \App\EnhancedApps { |
|
||||
|
|
||||
public $config; |
|
||||
|
|
||||
public function test() |
|
||||
{ |
|
||||
$test = parent::appTest($this->url('status')); |
|
||||
echo $test->status; |
|
||||
} |
|
||||
|
|
||||
public function livestats() |
|
||||
{ |
|
||||
$status = 'inactive'; |
|
||||
$res = parent::execute($this->url('status')); |
|
||||
$details = json_decode($res->getBody()); |
|
||||
|
|
||||
$data = []; |
|
||||
|
|
||||
if($details) { |
|
||||
$size = $details->result->RemainingSizeMB; |
|
||||
$rate = $details->result->DownloadRate; |
|
||||
$data['queue_size'] = format_bytes($size*1000*1000, false, ' <span>', '</span>'); |
|
||||
$data['current_speed'] = format_bytes($rate, false, ' <span>'); |
|
||||
$status = ($size > 0 || $rate > 0) ? 'active' : 'inactive'; |
|
||||
} |
|
||||
|
|
||||
return parent::getLiveStats($status, $data); |
|
||||
|
|
||||
} |
|
||||
|
|
||||
public function url($endpoint) |
|
||||
{ |
|
||||
$api_url = parent::normaliseurl($this->config->url); |
|
||||
$username = $this->config->username; |
|
||||
$password = $this->config->password; |
|
||||
$rebuild_url = str_replace('http://', 'http://'.$username.':'.$password.'@', $api_url); |
|
||||
$rebuild_url = str_replace('https://', 'https://'.$username.':'.$password.'@', $rebuild_url); |
|
||||
$rebuild_url = rtrim($rebuild_url, '/'); |
|
||||
|
|
||||
$api_url = $rebuild_url.'/jsonrpc/'.$endpoint; |
|
||||
return $api_url; |
|
||||
} |
|
||||
} |
|
@ -1,5 +0,0 @@ |
|||||
<?php namespace App\SupportedApps\Privatebin; |
|
||||
|
|
||||
class Privatebin extends \App\SupportedApps { |
|
||||
|
|
||||
} |
|
@ -1,10 +0,0 @@ |
|||||
{ |
|
||||
"appid": "87ecbead58e42b5ab9e1a92ccc0b42075f4fba91", |
|
||||
"name": "Privatebin", |
|
||||
"website": "https://privatebin.info/", |
|
||||
"license": "zlib/libpng License with Acknowledgement", |
|
||||
"description": "PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data.\r\n\r\nData is encrypted and decrypted in the browser using 256bit AES in Galois Counter mode.", |
|
||||
"enhanced": false, |
|
||||
"tile_background": "light", |
|
||||
"icon": "privatebin.png" |
|
||||
} |
|
Before Width: | Height: | Size: 13 KiB |
@ -1,5 +0,0 @@ |
|||||
<?php namespace App\SupportedApps\Rspamd; |
|
||||
|
|
||||
class Rspamd extends \App\SupportedApps { |
|
||||
|
|
||||
} |
|
@ -1,10 +0,0 @@ |
|||||
{ |
|
||||
"appid": "5876529d5d47f91c435d9230576044bc4cad8547", |
|
||||
"name": "Rspamd", |
|
||||
"website": "https://rspamd.com/", |
|
||||
"license": "Apache 2.0", |
|
||||
"description": "Fast, free and open-source spam filtering system.", |
|
||||
"enhanced": false, |
|
||||
"tile_background": "dark", |
|
||||
"icon": "rspamd.png" |
|
||||
} |
|
Before Width: | Height: | Size: 15 KiB |
@ -1,5 +0,0 @@ |
|||||
<?php namespace App\SupportedApps\SOGo; |
|
||||
|
|
||||
class SOGo extends \App\SupportedApps { |
|
||||
|
|
||||
} |
|
@ -1,10 +0,0 @@ |
|||||
{ |
|
||||
"appid": "d143b3a76b72591495655c5257c7523456bdd736", |
|
||||
"name": "SOGo", |
|
||||
"website": "https://sogo.nu/", |
|
||||
"license": "GNU GPL/LGPL v2 and above", |
|
||||
"description": "SOGo is a fully supported and trusted groupware server with a focus on scalability and open standards.", |
|
||||
"enhanced": false, |
|
||||
"tile_background": "light", |
|
||||
"icon": "sogo.svg" |
|
||||
} |
|
Before Width: | Height: | Size: 5.2 KiB |
@ -1,5 +0,0 @@ |
|||||
<?php namespace App\SupportedApps\Snibox; |
|
||||
|
|
||||
class Snibox extends \App\SupportedApps { |
|
||||
|
|
||||
} |
|
@ -1,10 +0,0 @@ |
|||||
{ |
|
||||
"appid": "6c050d5bdf522fa20599560ff0f6b74e7dcd97a8", |
|
||||
"name": "Snibox", |
|
||||
"website": "https://github.com/snibox/snibox", |
|
||||
"license": "MIT License", |
|
||||
"description": "Snibox is a self-hosted, single-user (for now) snippet manager. Developed to collect and organize code snippets. Supports various programming languages, markdown, plain text.", |
|
||||
"enhanced": false, |
|
||||
"tile_background": "dark", |
|
||||
"icon": "snibox.png" |
|
||||
} |
|
Before Width: | Height: | Size: 8.6 KiB |