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:
@@ -0,0 +1,133 @@
|
||||
<?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 Utils;
|
||||
|
||||
class ErrorCodes {
|
||||
public const EVERYTHING_IS_FINE = 600;
|
||||
public const CSRF_ATTACK_DETECTED = 601;
|
||||
|
||||
//Signup
|
||||
public const EMAIL_DOES_NOT_EXIST = 602;
|
||||
public const EMAIL_IS_NOT_CORRECT = 603;
|
||||
public const EMAIL_ALREADY_EXIST = 604;
|
||||
public const PASSWORD_DOES_NOT_EXIST = 605;
|
||||
public const PASSWORD_IS_TO_SHORT = 606;
|
||||
public const ACCOUNT_CREATED = 607;
|
||||
|
||||
//Activation
|
||||
public const ACTIVATION_KEY_DOES_NOT_EXIST = 610;
|
||||
public const ACTIVATION_KEY_IS_NOT_CORRECT = 611;
|
||||
|
||||
//Login
|
||||
public const EMAIL_OR_PASSWORD_IS_NOT_CORRECT = 620;
|
||||
|
||||
//Api
|
||||
public const API_KEY_ID_DOESNT_EXIST = 630;
|
||||
public const API_KEY_WAS_CREATED_FOR_ANOTHER_USER = 631;
|
||||
public const OPERATOR_ID_DOES_NOT_EXIST = 632;
|
||||
public const OPERATOR_IS_NOT_A_CO_OWNER = 633;
|
||||
public const UNKNOWN_ENRICHMENT_ATTRIBUTES = 634;
|
||||
public const INVALID_API_RESPONSE = 635;
|
||||
|
||||
//Profile
|
||||
public const FIRST_NAME_DOES_NOT_EXIST = 640;
|
||||
public const LAST_NAME_DOES_NOT_EXIST = 641;
|
||||
public const COUNTRY_DOES_NOT_EXIST = 642;
|
||||
public const STREET_DOES_NOT_EXIST = 643;
|
||||
public const CITY_DOES_NOT_EXIST = 644;
|
||||
public const STATE_DOES_NOT_EXIST = 645;
|
||||
public const ZIP_DOES_NOT_EXIST = 646;
|
||||
public const TIME_ZONE_DOES_NOT_EXIST = 647;
|
||||
public const RETENTION_POLICY_DOES_NOT_EXIST = 648;
|
||||
public const UNREVIEWED_ITEMS_REMINDER_FREQUENCY_DOES_NOT_EXIST = 649;
|
||||
|
||||
//Settings
|
||||
public const CURRENT_PASSWORD_DOES_NOT_EXIST = 650;
|
||||
public const CURRENT_PASSWORD_IS_NOT_CORRECT = 651;
|
||||
public const NEW_PASSWORD_DOES_NOT_EXIST = 652;
|
||||
public const PASSWORD_CONFIRMATION_DOES_NOT_EXIST = 653;
|
||||
public const PASSWORDS_ARE_NOT_EQUAL = 654;
|
||||
public const EMAIL_IS_NOT_NEW = 655;
|
||||
|
||||
//Password recovering
|
||||
public const RENEW_KEY_CREATED = 660;
|
||||
public const RENEW_KEY_DOES_NOT_EXIST = 661;
|
||||
public const RENEW_KEY_IS_NOT_CORRECT = 662;
|
||||
public const RENEW_KEY_WAS_EXPIRED = 663;
|
||||
public const ACCOUNT_ACTIVATED = 664;
|
||||
|
||||
//Account messages
|
||||
public const THERE_ARE_NO_EVENTS_YET = 670;
|
||||
public const THERE_ARE_NO_EVENTS_LAST_24_HOURS = 671;
|
||||
public const CUSTOM_ERROR_FROM_DSHB_MESSAGES = 672;
|
||||
|
||||
//Watchlist
|
||||
public const OPERATOR_DOES_NOT_HAVE_ACCESS_TO_ACCOUNT = 680;
|
||||
public const USER_HAS_BEEN_SUCCESSFULLY_ADDED_TO_WATCH_LIST = 681;
|
||||
public const USER_HAS_BEEN_SUCCESSFULLY_REMOVED_FROM_WATCH_LIST = 682;
|
||||
public const USER_FRAUD_FLAG_HAS_BEEN_SET = 683;
|
||||
public const USER_FRAUD_FLAG_HAS_BEEN_UNSET = 684;
|
||||
public const USER_REVIEWED_FLAG_HAS_BEEN_SET = 685;
|
||||
public const USER_REVIEWED_FLAG_HAS_BEEN_UNSET = 686;
|
||||
public const USER_DELETION_FAILED = 687;
|
||||
public const USER_BLACKLISTING_FAILED = 688;
|
||||
public const USER_BLACKLISTING_QUEUED = 689;
|
||||
|
||||
//Change email
|
||||
public const EMAIL_CHANGED = 690;
|
||||
public const CHANGE_EMAIL_KEY_DOES_NOT_EXIST = 691;
|
||||
public const CHANGE_EMAIL_KEY_IS_NOT_CORRECT = 692;
|
||||
public const CHANGE_EMAIL_KEY_WAS_EXPIRED = 693;
|
||||
|
||||
//Rules
|
||||
public const RULES_HAS_BEEN_SUCCESSFULLY_UPDATED = 800;
|
||||
public const BLACKLIST_THRESHOLD_DOES_NOT_EXIST = 801;
|
||||
public const REVIEW_QUEUE_THRESHOLD_DOES_NOT_EXIST = 802;
|
||||
public const BLACKLIST_THRESHOLD_EXCEEDS_REVIEW_QUEUE_THRESHOLD = 803;
|
||||
|
||||
// REST API
|
||||
public const REST_API_KEY_DOES_NOT_EXIST = 900;
|
||||
public const REST_API_KEY_IS_NOT_CORRECT = 901;
|
||||
public const REST_API_NOT_AUTHORIZED = 902;
|
||||
public const REST_API_MISSING_PARAMETER = 903;
|
||||
public const REST_API_VALIDATION_ERROR = 904;
|
||||
public const REST_API_USER_ALREADY_SCHEDULED_FOR_DELETION = 905;
|
||||
public const REST_API_USER_SUCCESSFULLY_ADDED_FOR_DELETION = 906;
|
||||
|
||||
// Manual check
|
||||
public const ENRICHMENT_API_KEY_DOES_NOT_EXIST = 1000;
|
||||
public const TYPE_DOES_NOT_EXIST = 1001;
|
||||
public const SEARCH_QUERY_DOES_NOT_EXIST = 1002;
|
||||
public const ENRICHMENT_API_UNKNOWN_ERROR = 1003;
|
||||
public const ENRICHMENT_API_BOGON_IP = 1004;
|
||||
public const ENRICHMENT_API_IP_NOT_FOUND = 1005;
|
||||
public const RISK_SCORE_UPDATE_UNKNOWN_ERROR = 1006;
|
||||
public const ENRICHMENT_API_KEY_OVERUSE = 1007;
|
||||
public const ENRICHMENT_API_ATTRIBUTE_IS_UNAVAILABLE = 1008;
|
||||
public const ENRICHMENT_API_IS_NOT_AVAILABLE = 1009;
|
||||
|
||||
//Blacklist
|
||||
public const ITEM_HAS_BEEN_SUCCESSFULLY_REMOVED_FROM_BLACK_LIST = 1010;
|
||||
|
||||
//Subscription
|
||||
public const SUBSCRIPTION_KEY_INVALID_UPDATE = 1100;
|
||||
|
||||
// Totals
|
||||
public const TOTALS_INVALID_TYPE = 1200;
|
||||
|
||||
// Crons
|
||||
public const CRON_JOB_MAY_BE_OFF = 1300;
|
||||
}
|
||||
Reference in New Issue
Block a user