feat(cloudron): add tirreno package artifacts

- Add CloudronStack/output/CloudronPackages-Artifacts/tirreno/ directory and its contents
- Includes package manifest, Dockerfile, source code, documentation, and build artifacts
- Add tirreno-1761840148.tar.gz as a build artifact
- Add tirreno-cloudron-package-1761841304.tar.gz as the Cloudron package
- Include all necessary files for the tirreno Cloudron package

This adds the complete tirreno Cloudron package artifacts to the repository.
This commit is contained in:
2025-10-30 11:43:06 -05:00
parent 0ce353ea9d
commit 91d52d2de5
1692 changed files with 202851 additions and 0 deletions

View File

@@ -0,0 +1,272 @@
<?php
/**
* Tirreno ~ Open source user analytics
* Copyright (c) Tirreno Technologies Sàrl (https://www.tirreno.com)
*
* Licensed under GNU Affero General Public License version 3 of the or any later version.
* For full copyright and license information, please see the LICENSE
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Tirreno Technologies Sàrl (https://www.tirreno.com)
* @license https://opensource.org/licenses/AGPL-3.0 AGPL License
* @link https://www.tirreno.com Tirreno(tm)
*/
namespace Controllers\Admin\Data;
class Data extends \Controllers\Base {
// POST requests
public function enrichEntity(): array {
$controller = new \Controllers\Admin\Enrichment\Navigation();
return $controller->enrichEntity();
}
public function saveRule(): array {
$controller = new \Controllers\Admin\Rules\Navigation();
return $controller->saveRule();
}
public function removeFromBlacklist(): array {
$controller = new \Controllers\Admin\Blacklist\Navigation();
return $controller->removeItemFromList();
}
public function removeFromWatchlist(): array {
$controller = new \Controllers\Admin\Watchlist\Navigation();
return $controller->removeUserFromList();
}
public function manageUser(): array {
$controller = new \Controllers\Admin\User\Navigation();
return $controller->manageUser();
}
// GET requests
public function checkRule(): array {
$controller = new \Controllers\Admin\Rules\Navigation();
return $controller->checkRule();
}
public function getTimeFrameTotal(): array {
$controller = new \Controllers\Admin\Totals\Navigation();
return $controller->getTimeFrameTotal();
}
public function getCountries(): array {
$controller = new \Controllers\Admin\Countries\Navigation();
return $controller->getList();
}
public function getMap(): array {
$controller = new \Controllers\Admin\Countries\Navigation();
return $controller->getMap();
}
public function getIps(): array {
$controller = new \Controllers\Admin\IPs\Navigation();
return $controller->getList();
}
public function getEvents(): array {
$controller = new \Controllers\Admin\Events\Navigation();
return $controller->getList();
}
public function getLogbook(): array {
$controller = new \Controllers\Admin\Logbook\Navigation();
return $controller->getList();
}
public function getUsers(): array {
$controller = new \Controllers\Admin\Users\Navigation();
return $controller->getList();
}
public function getBots(): array {
$controller = new \Controllers\Admin\Bots\Navigation();
return $controller->getList();
}
public function getDevices(): array {
$controller = new \Controllers\Admin\Devices\Navigation();
return $controller->getList();
}
public function getResources(): array {
$controller = new \Controllers\Admin\Resources\Navigation();
return $controller->getList();
}
public function getDashboardStat(): array {
$controller = new \Controllers\Admin\Home\Navigation();
return $controller->getDashboardStat();
}
public function getTopTen(): array {
$controller = new \Controllers\Admin\Home\Navigation();
return $controller->getTopTen();
}
public function getChart(): array {
$controller = new \Controllers\Admin\Home\Navigation();
return $controller->getChart();
}
public function getEventDetails(): array {
$controller = new \Controllers\Admin\Events\Navigation();
return $controller->getEventDetails();
}
public function getLogbookDetails(): array {
$controller = new \Controllers\Admin\Logbook\Navigation();
return $controller->getLogbookDetails();
}
public function getEmailDetails(): array {
$controller = new \Controllers\Admin\Emails\Navigation();
return $controller->getEmailDetails();
}
public function getPhoneDetails(): array {
$controller = new \Controllers\Admin\Phones\Navigation();
return $controller->getPhoneDetails();
}
public function getUserDetails(): array {
$controller = new \Controllers\Admin\UserDetails\Navigation();
return $controller->getUserDetails();
}
public function getUserEnrichmentDetails(): array {
$controller = new \Controllers\Admin\UserDetails\Navigation();
return $controller->getUserEnrichmentDetails();
}
public function getNotCheckedEntitiesCount(): array {
$controller = new \Controllers\Admin\Enrichment\Navigation();
return $controller->getNotCheckedEntitiesCount();
}
public function getEmails(): array {
$controller = new \Controllers\Admin\Emails\Navigation();
return $controller->getList();
}
public function getPhones(): array {
$controller = new \Controllers\Admin\Phones\Navigation();
return $controller->getList();
}
public function getFieldAuditTrail(): array {
$controller = new \Controllers\Admin\Payloads\FieldAuditTrail\Navigation();
return $controller->getList();
}
public function getUserScoreDetails(): array {
$controller = new \Controllers\Admin\User\Navigation();
return $controller->getUserScoreDetails();
}
public function getIsps(): array {
$controller = new \Controllers\Admin\ISPs\Navigation();
return $controller->getList();
}
public function getDomains(): array {
$controller = new \Controllers\Admin\Domains\Navigation();
return $controller->getList();
}
public function getReviewUsersQueue(): array {
$controller = new \Controllers\Admin\ReviewQueue\Navigation();
return $controller->getList();
}
public function getReviewUsersQueueCount(): array {
$controller = new \Controllers\Admin\ReviewQueue\Navigation();
return $controller->getNumberOfNotReviewedUsers(false, true); // do not use cache, overall count
}
public function getIspDetails(): array {
$controller = new \Controllers\Admin\ISP\Navigation();
return $controller->getIspDetails();
}
public function getIpDetails(): array {
$controller = new \Controllers\Admin\IP\Navigation();
return $controller->getIpDetails();
}
public function getDeviceDetails(): array {
$controller = new \Controllers\Admin\Devices\Navigation();
return $controller->getDeviceDetails();
}
public function getBotDetails(): array {
$controller = new \Controllers\Admin\Bot\Navigation();
return $controller->getBotDetails();
}
public function getDomainDetails(): array {
$controller = new \Controllers\Admin\Domain\Navigation();
return $controller->getDomainDetails();
}
public function getSearchResults(): array {
$controller = new \Controllers\Admin\Search\Navigation();
return $controller->getSearchResults();
}
public function getBlacklist(): array {
$controller = new \Controllers\Admin\Blacklist\Navigation();
return $controller->getList();
}
public function getUsageStats(): array {
$controller = new \Controllers\Admin\Api\Navigation();
return $controller->getUsageStats();
}
}

View File

@@ -0,0 +1,204 @@
<?php
/**
* Tirreno ~ Open source user analytics
* Copyright (c) Tirreno Technologies Sàrl (https://www.tirreno.com)
*
* Licensed under GNU Affero General Public License version 3 of the or any later version.
* For full copyright and license information, please see the LICENSE
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Tirreno Technologies Sàrl (https://www.tirreno.com)
* @license https://opensource.org/licenses/AGPL-3.0 AGPL License
* @link https://www.tirreno.com Tirreno(tm)
*/
namespace Controllers\Admin\Data;
class Navigation extends \Controllers\Base {
use \Traits\Navigation;
private $dataController;
public function beforeroute(): void {
$errorCode = $this->validateCsrfToken();
if ($errorCode) {
$this->f3->error(403);
}
$this->redirectIfUnlogged();
$this->dataController = new Data();
$this->response = new \Views\Json();
}
// POST requests
public function enrichEntity(): void {
$this->response->data = $this->dataController->enrichEntity();
}
public function manageUser(): void {
$this->response->data = $this->dataController->manageUser();
}
public function removeFromWatchlist(): void {
$this->response->data = $this->dataController->removeFromWatchlist();
}
public function removeFromBlacklist(): void {
$this->response->data = $this->dataController->removeFromBlacklist();
}
public function saveRule(): void {
$this->response->data = $this->dataController->saveRule();
}
// GET requests
public function checkRule(): void {
$this->response->data = $this->dataController->checkRule();
}
public function getTimeFrameTotal(): void {
$this->response->data = $this->dataController->getTimeFrameTotal();
}
public function getCountries(): void {
$this->response->data = $this->dataController->getCountries();
}
public function getMap(): void {
$this->response->data = $this->dataController->getMap();
}
public function getIps(): void {
$this->response->data = $this->dataController->getIps();
}
public function getEvents(): void {
$this->response->data = $this->dataController->getEvents();
}
public function getLogbook(): void {
$this->response->data = $this->dataController->getLogbook();
}
public function getUsers(): void {
$this->response->data = $this->dataController->getUsers();
}
public function getBots(): void {
$this->response->data = $this->dataController->getBots();
}
public function getDevices(): void {
$this->response->data = $this->dataController->getDevices();
}
public function getResources(): void {
$this->response->data = $this->dataController->getResources();
}
public function getTopTen(): void {
$this->response->data = $this->dataController->getTopTen();
}
public function getDashboardStat(): void {
$this->response->data = $this->dataController->getDashboardStat();
}
public function getChart(): void {
$this->response->data = $this->dataController->getChart();
}
public function getEventDetails(): void {
$this->response->data = $this->dataController->getEventDetails();
}
public function getLogbookDetails(): void {
$this->response->data = $this->dataController->getLogbookDetails();
}
public function getEmailDetails(): void {
$this->response->data = $this->dataController->getEmailDetails();
}
public function getPhoneDetails(): void {
$this->response->data = $this->dataController->getPhoneDetails();
}
public function getUserDetails(): void {
$this->response->data = $this->dataController->getUserDetails();
}
public function getUserEnrichmentDetails(): void {
$this->response->data = $this->dataController->getUserEnrichmentDetails();
}
public function getNotCheckedEntitiesCount(): void {
$this->response->data = $this->dataController->getNotCheckedEntitiesCount();
}
public function getEmails(): void {
$this->response->data = $this->dataController->getEmails();
}
public function getPhones(): void {
$this->response->data = $this->dataController->getPhones();
}
public function getFieldAuditTrail(): void {
$this->response->data = $this->dataController->getFieldAuditTrail();
}
public function getUserScoreDetails(): void {
$this->response->data = $this->dataController->getUserScoreDetails();
}
public function getIsps(): void {
$this->response->data = $this->dataController->getIsps();
}
public function getDomains(): void {
$this->response->data = $this->dataController->getDomains();
}
public function getIspDetails(): void {
$this->response->data = $this->dataController->getIspDetails();
}
public function getIpDetails(): void {
$this->response->data = $this->dataController->getIpDetails();
}
public function getDeviceDetails(): void {
$this->response->data = $this->dataController->getDeviceDetails();
}
public function getBotDetails(): void {
$this->response->data = $this->dataController->getBotDetails();
}
public function getDomainDetails(): void {
$this->response->data = $this->dataController->getDomainDetails();
}
public function getReviewUsersQueue(): void {
$this->response->data = $this->dataController->getReviewUsersQueue();
}
public function getReviewUsersQueueCount(): void {
$this->response->data = $this->dataController->getReviewUsersQueueCount();
}
public function getSearchResults(): void {
$this->response->data = $this->dataController->getSearchResults();
}
public function getBlacklist(): void {
$this->response->data = $this->dataController->getBlacklist();
}
public function getUsageStats(): void {
$this->response->data = $this->dataController->getUsageStats();
}
}