Merge pull request from ivandiazwm/master

Realese 4.4.0 and disable stats
This commit is contained in:
Ivan Diaz 2019-03-06 13:47:49 -03:00 committed by GitHub
commit 863a43c501
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
128 changed files with 403 additions and 122 deletions

View File

@ -1,6 +1,6 @@
![OpenSupports](http://www.opensupports.com/logo.png)
[![Build Status](https://travis-ci.org/opensupports/opensupports.svg?branch=master)](https://travis-ci.org/opensupports/opensupports) v4.3.2
[![Build Status](https://travis-ci.org/opensupports/opensupports.svg?branch=master)](https://travis-ci.org/opensupports/opensupports) v4.4.0
OpenSupports is an open source ticket system built primarily with PHP and ReactJS.
Please, visit our website for more information: [http://www.opensupports.com/](http://www.opensupports.com/)

View File

@ -54,6 +54,11 @@ class Stats extends React.Component {
<DropDown {...this.getDropDownProps()}/>
<ToggleList {...this.getToggleListProps()} />
<StatsChart {...this.getStatsChartProps()} />
<div className="stats__disable-box">
<div className="stats__disable-box-message">
{i18n('CURRENTLY_UNAVAILABLE')}
</div>
</div>
</div>
);
}

View File

@ -1,6 +1,25 @@
@import '../scss/vars';
.stats {
pointer-events: none;
position: relative;
&__disable-box {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
background-color: rgba(0,0,0,0.5);
display: flex;
align-items: center;
justify-content: center;
&-message {
color: white;
font-size: $font-size--bg;
}
}
&__dropdown {
margin-left: auto;

View File

@ -187,7 +187,7 @@ class TicketList extends React.Component {
<Button className="ticket-list__title-link" type="clean" route={{to: this.props.ticketPath + ticket.ticketNumber}}>
{titleText}
</Button>
{ticket.tags.map((tagName,index) => {
{(ticket.tags || []).map((tagName,index) => {
let tag = _.find(this.props.tags, {name:tagName});
return <Tag size='small' name={tag && tag.name} color={tag && tag.color} key={index} />
})}

View File

@ -103,7 +103,7 @@ export default (
<Route path="admin">
<IndexRoute component={AdminLoginPage} />
<Route path="panel" component={AdminPanelLayout}>
<IndexRedirect to="stats" />
<IndexRedirect to="activity" />
<Route path="stats" component={AdminPanelStats} />
<Route path="activity" component={AdminPanelActivity} />
<Route path="my-account" component={AdminPanelMyAccount} />

View File

@ -44,7 +44,7 @@ class AdminPanelCustomTags extends React.Component {
<div className="admin-panel-custom-tags__content">
<div>
<Button onClick={this.openTagModal.bind(this)} type="secondary">
{i18n('CREATE_CUSTOM_TAG')}<Icon className="admin-panel-custom-tags__add-button-icon" name="plus"/>
{i18n('ADD_CUSTOM_TAG')}<Icon className="admin-panel-custom-tags__add-button-icon" name="plus"/>
</Button>
</div>
<div className="admin-panel-custom-tags__tag-list">

View File

@ -1,4 +1,4 @@
opensupports_version = '4.3.2';
opensupports_version = '4.4.0';
root = 'http://localhost:3000';
apiRoot = 'http://localhost:3000/api';
globalIndexPath = '';

View File

@ -49,7 +49,6 @@ export default {
'CUSTOM_RESPONSES': 'Respostas personalizadas',
'CUSTOM_TAGS': 'Tags personalizadas',
'LIST_USERS': 'Listar usuários',
'CREATE_CUSTOM_TAG': 'Criar tag personalizada',
'BAN_USERS': 'Banir usuários',
'LIST_ARTICLES': 'Lista de Artigos',
'STAFF_MEMBERS': 'Membros da equipe',
@ -366,6 +365,7 @@ export default {
'USER_DISABLED': 'Esta conta está desativada.',
'INVALID_SYNTAX': 'Sintaxe inválida.',
'DEPARTMENT_PRIVATE_TICKETS': 'Este departamento tem ingressos criados por não funcionários e não pode ser privado',
'CURRENTLY_UNAVAILABLE': 'Atualmente indisponivel',
//MESSAGES
'SIGNUP_SUCCESS': 'Você se registrou com sucesso em nosso sistema de suporte.',

View File

@ -49,7 +49,6 @@ export default {
'CUSTOM_RESPONSES': '自定義響應',
'CUSTOM_TAGS': '自定义标签',
'LIST_USERS': '列出用戶',
'CREATE_CUSTOM_TAG': '创建自定义标记',
'BAN_USERS': '禁止用戶',
'LIST_ARTICLES': '文章列表',
'STAFF_MEMBERS': '工作人員',
@ -366,6 +365,7 @@ export default {
'USER_DISABLED': '此帐户已被停用。',
'INVALID_SYNTAX': '无效的语法。',
'DEPARTMENT_PRIVATE_TICKETS': '这个部门有非工作人员创建的门票,不能是私人的',
'CURRENTLY_UNAVAILABLE': '当前不可用',
//MESSAGES
'SIGNUP_SUCCESS': '您已在我們的支持系統中成功註冊',

View File

@ -47,6 +47,7 @@ export default {
'NEW_TICKETS': 'Neue Tickets',
'ALL_TICKETS': 'Alle Tickets',
'CUSTOM_RESPONSES': 'Benutzerdefinierte Antworten',
'CUSTOM_TAGS': 'Benutzerdefinierte Tags',
'LIST_USERS': 'Benutzer auflisten',
'BAN_USERS': 'Gesperrte Benutzer',
'LIST_ARTICLES': 'Artikelliste',
@ -104,6 +105,7 @@ export default {
'ADD_ARTICLE': 'Artikel hinzufügen',
'LAST_EDITED_IN': 'Zuletzt bearbeitet am {date}',
'EDIT': 'Bearbeiten',
'ADD_CUSTOM_TAG': 'Benutzerdefiniertes Tag hinzufügen',
'NO_RESULTS': 'Keine Ergebnisse',
'DELETE_AND_BAN': 'Löschen und blockieren',
'STAFF_LEVEL': 'Mitarbeiter-Ebene',
@ -363,6 +365,7 @@ export default {
'USER_DISABLED': 'Dieser Account ist deaktiviert.',
'INVALID_SYNTAX': 'Ungültiger Satzbau.',
'DEPARTMENT_PRIVATE_TICKETS': 'Diese Abteilung hat Tickets, die von Nicht-Mitarbeitern erstellt wurden, und kann nicht privat sein',
'CURRENTLY_UNAVAILABLE': 'momentan nicht verfügbar',
//MESSAGES
'SIGNUP_SUCCESS': 'Sie haben sich erfolgreich in unserem Support-System registriert.',

View File

@ -49,7 +49,6 @@ export default {
'CUSTOM_RESPONSES': 'Custom Responses',
'CUSTOM_TAGS': 'Custom Tags',
'LIST_USERS': 'List Users',
'CREATE_CUSTOM_TAG': 'Create custom tag',
'BAN_USERS': 'Ban Users',
'LIST_ARTICLES': 'Article List',
'STAFF_MEMBERS': 'Staff Members',
@ -366,6 +365,7 @@ export default {
'USER_DISABLED': 'This account is disabled.',
'INVALID_SYNTAX': 'Invalid syntax.',
'DEPARTMENT_PRIVATE_TICKETS': 'This department has tickets created by non-staff and it can not be private',
'CURRENTLY_UNAVAILABLE': 'Currently unavailable',
//MESSAGES
'SIGNUP_SUCCESS': 'You have registered successfully in our support system.',

View File

@ -49,7 +49,6 @@ export default {
'CUSTOM_RESPONSES': 'Respuestas Personalizadas',
'CUSTOM_TAGS': 'Etiquetas personalizadas',
'LIST_USERS': 'Lista de Usuarios',
'CREATE_CUSTOM_TAG': 'Crear etiqueta personalizada',
'BAN_USERS': 'Bloquear Usuarios',
'LIST_ARTICLES': 'Lista de Artículos',
'STAFF_MEMBERS': 'Staff Members',
@ -366,6 +365,7 @@ export default {
'USER_DISABLED': 'Esta cuenta está deshabilitada.',
'INVALID_SYNTAX': 'Sintaxis inválida.',
'DEPARTMENT_PRIVATE_TICKETS': 'Este departamento tiene entradas creadas por personal no administrativo y no puede ser privado.',
'CURRENTLY_UNAVAILABLE': 'actualmente no disponible',
//MESSAGES
'SIGNUP_SUCCESS': 'Se ha registrado con éxito en nuestro sistema de soporte.',

View File

@ -49,7 +49,6 @@ export default {
'CUSTOM_RESPONSES': 'Réponses personnalisées',
'CUSTOM_TAGS': 'Tags personnalisés',
'LIST_USERS': 'Voir les utilisateurs',
'CREATE_CUSTOM_TAG': 'Créer un tag personnalisé',
'BAN_USERS': 'Bannir des utilisateurs',
'LIST_ARTICLES': 'Voir les articles',
'STAFF_MEMBERS': 'Membres de l\'administration',
@ -366,6 +365,7 @@ export default {
'USER_DISABLED': 'Ce compte est désactivé.',
'INVALID_SYNTAX': 'Syntaxe invalide.',
'DEPARTMENT_PRIVATE_TICKETS': 'Ce service a des tickets créés par des non-membres du personnel et il ne peut pas être privé',
'CURRENTLY_UNAVAILABLE': 'actuellement indisponible',
//MESSAGES
'SIGNUP_SUCCESS': 'Vous êtes inscrit avec succès dans notre système de support.',

View File

@ -49,7 +49,6 @@
'CUSTOM_RESPONSES': 'Απαντήσεις Πελατών',
'CUSTOM_TAGS': 'Προσαρμοσμένες ετικέτες',
'LIST_USERS': 'Λίστα Χρηστών',
'CREATE_CUSTOM_TAG': 'Δημιουργία προσαρμοσμένης ετικέτας',
'BAN_USERS': 'Αποκλεισμός Χρηστών',
'LIST_ARTICLES': 'Λίστα Άρθρων',
'STAFF_MEMBERS': 'Μέλη Προσωπικού',
@ -366,6 +365,7 @@
'USER_DISABLED': 'Αυτός ο λογαριασμός είναι απενεργοποιημένος.',
'INVALID_SYNTAX': 'Μη έγκυρη σύνταξη.',
'DEPARTMENT_PRIVATE_TICKETS': 'Αυτό το τμήμα έχει εισιτήρια που δημιουργούνται από μη προσωπικό και δεν μπορεί να είναι ιδιωτικό',
'CURRENTLY_UNAVAILABLE': 'Προσωρινά μη διαθέσιμο',
//MESSAGES
'SIGNUP_SUCCESS': 'Έχετε εγγραφεί με επιτυχία στο σύστημα υποστήριξης μας.',

View File

@ -49,7 +49,6 @@ export default {
'CUSTOM_RESPONSES': 'कस्टम प्रतिक्रिया',
'CUSTOM_TAGS': 'कस्टम टैग',
'LIST_USERS': 'उपयोगकर्ता सूची',
'CREATE_CUSTOM_TAG': 'कस्टम टैग बनाएं',
'BAN_USERS': 'उपयोगकर्ता का प्रतिबन्ध करें',
'LIST_ARTICLES': 'अनुच्छेद सूची',
'STAFF_MEMBERS': 'कर्मचारी',
@ -366,6 +365,7 @@ export default {
'USER_DISABLED': 'यह खाता अक्षम है।',
'INVALID_SYNTAX': 'अवैध वाक्य रचना।',
'DEPARTMENT_PRIVATE_TICKETS': 'इस विभाग में गैर-कर्मचारियों द्वारा बनाए गए टिकट हैं और यह निजी नहीं हो सकता है',
'CURRENTLY_UNAVAILABLE': 'वर्तमान में अनुपलब्ध',
//MESSAGES
'SIGNUP_SUCCESS': 'आप हमारे समर्थन प्रणाली में सफलतापूर्वक दर्ज कर लिया है।',

View File

@ -49,7 +49,6 @@ export default {
'CUSTOM_RESPONSES': 'Risposte Personalizzate',
'CUSTOM_TAGS': 'Tag personalizzati',
'LIST_USERS': 'Lista Utenti',
'CREATE_CUSTOM_TAG': 'Crea un tag personalizzato',
'BAN_USERS': 'Utenti Indesiderati',
'LIST_ARTICLES': 'Lista Articoli',
'STAFF_MEMBERS': 'Membri dello Staff',
@ -366,6 +365,7 @@ export default {
'USER_DISABLED': 'Questo account è disabilitato.',
'INVALID_SYNTAX': 'Sintassi non valida.',
'DEPARTMENT_PRIVATE_TICKETS': 'Questo dipartimento ha biglietti creati da non dipendenti e non può essere privato',
'CURRENTLY_UNAVAILABLE': 'attualmente non disponibile',
//MESSAGES
'SIGNUP_SUCCESS': 'È stato registrato con successo nel nostro sistema di supporto.',

View File

@ -49,7 +49,6 @@ export default {
'CUSTOM_RESPONSES': 'カスタムレスポンス',
'CUSTOM_TAGS': 'カスタムタグ',
'LIST_USERS': 'ユーザーを一覧表示する',
'CREATE_CUSTOM_TAG': 'カスタムタグを作成する',
'BAN_USERS': 'ユーザーを禁止',
'LIST_ARTICLES': '記事一覧',
'STAFF_MEMBERS': 'スタッフ',
@ -366,6 +365,7 @@ export default {
'USER_DISABLED': 'このアカウントは無効です。',
'INVALID_SYNTAX': '無効な構文。',
'DEPARTMENT_PRIVATE_TICKETS': 'この部門には、スタッフ以外が作成したチケットがあり、プライベートにすることはできません',
'CURRENTLY_UNAVAILABLE': '現在お取り扱いできません',
//MESSAGES
'SIGNUP_SUCCESS': 'あなたは私たちのサポートシステムに正常に登録しました。',

View File

@ -49,7 +49,6 @@ export default {
'CUSTOM_RESPONSES': 'Aangepaste antwoord',
'CUSTOM_TAGS': 'Aangepaste tags',
'LIST_USERS': 'Gebruikerslijst',
'CREATE_CUSTOM_TAG': 'Maak een aangepaste tag',
'BAN_USERS': 'Geblokkeerde gebruikers',
'LIST_ARTICLES': 'Artikellijst',
'STAFF_MEMBERS': 'Medewerkers',
@ -366,6 +365,7 @@ export default {
'USER_DISABLED': 'Dit account is uitgeschakeld.',
'INVALID_SYNTAX': 'Ongeldige syntaxis.',
'DEPARTMENT_PRIVATE_TICKETS': 'Deze afdeling heeft tickets gemaakt door niet-personeel en het kan niet privé zijn',
'CURRENTLY_UNAVAILABLE': 'Momenteel niet beschikbaar',
//MESSAGES
'SIGNUP_SUCCESS': 'U hebt zich succesvol geregistreerd in ons ondersteuningssysteem.',

View File

@ -49,7 +49,6 @@ export default {
'CUSTOM_RESPONSES': 'Respostas personalizadas',
'CUSTOM_TAGS': 'Tags personalizadas',
'LIST_USERS': 'Listar Usuários',
'CREATE_CUSTOM_TAG': 'Criar tag personalizada',
'BAN_USERS': 'Ban Usuários',
'LIST_ARTICLES': 'Lista de Artigos',
'STAFF_MEMBERS': 'Funcionários',
@ -366,6 +365,7 @@ export default {
'USER_DISABLED': 'Esta conta está desativada.',
'INVALID_SYNTAX': 'Sintaxe inválida.',
'DEPARTMENT_PRIVATE_TICKETS': 'Este departamento tem ingressos criados por não funcionários e não pode ser privado',
'CURRENTLY_UNAVAILABLE': 'Atualmente indisponivel',
//MESSAGES
'SIGNUP_SUCCESS': 'Você se registrou com sucesso em nosso sistema de suporte.',

View File

@ -49,7 +49,6 @@ export default {
'CUSTOM_RESPONSES': 'персонализированных ответы',
'CUSTOM_TAGS': 'Пользовательские теги',
'LIST_USERS': 'Список пользователей',
'CREATE_CUSTOM_TAG': 'Создать пользовательский тег',
'BAN_USERS': 'заблокированные пользователи',
'LIST_ARTICLES': 'Список статей',
'STAFF_MEMBERS': 'Штатные сотрудники',
@ -366,6 +365,7 @@ export default {
'USER_DISABLED': 'Эта учетная запись отключена.',
'DEPARTMENT_PRIVATE_TICKETS': 'У этого отдела есть билеты, созданные не сотрудниками, и он не может быть приватным',
'INVALID_SYNTAX': 'Недопустимый синтаксис.',
'CURRENTLY_UNAVAILABLE': 'в настоящее время недоступен',
//MESSAGES
'SIGNUP_SUCCESS': 'Вы успешно зарегистрировались в нашей системе поддержки.',

View File

@ -49,7 +49,6 @@ export default {
'CUSTOM_RESPONSES': 'Özel Yanıtlar',
'CUSTOM_TAGS': 'Özel Etiketler',
'LIST_USERS': 'Kullanıcıları Listele',
'CREATE_CUSTOM_TAG': 'Özel etiket oluştur',
'BAN_USERS': 'Kullanıcıları Yasaklama',
'LIST_ARTICLES': 'Makale Listesi',
'STAFF_MEMBERS': 'Personel üyeleri',
@ -366,6 +365,7 @@ export default {
'USER_DISABLED': 'Bu hesap devre dışı.',
'DEPARTMENT_PRIVATE_TICKETS': 'Bu departman, personel olmayanlar tarafından oluşturulan biletlere sahiptir ve özel olamaz',
'INVALID_SYNTAX': 'Geçersiz sözdizimi.',
'CURRENTLY_UNAVAILABLE': 'Şu anda kullanılamıyor',
//MESSAGES
'SIGNUP_SUCCESS': 'Destek sistemimize başarılı bir şekilde kayıt oldunuz.',

View File

@ -19,7 +19,7 @@
<div id="app"></div>
<script>
opensupports_version = '4.3.2';
opensupports_version = '4.4.0';
root = "<?=$url ?>";
apiRoot = '<?=$url ?>/api';
globalIndexPath = "<?=$path ?>";

View File

@ -1,6 +1,6 @@
{
"name": "OpenSupports API Documentation",
"version": "4.3.2",
"version": "4.4.0",
"title": "OpenSupports API Documentation",
"description": "Backend API documentation for developers.",
"header": {

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /article/add-topic Add topic
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Add topic
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /article/add Add article
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Add article
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /article/delete-topic Delete topic
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Delete topic
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /article/delete Delete article
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Delete article
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /article/edit-topic Edit topic
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Edit topic
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /article/edit Edit article
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Edit a article
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /article/get-all Get all articles
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get all articles
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /staff/add Add staff
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Add staff
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /staff/assign-ticket Assign ticket
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Assign ticket
*

View File

@ -4,7 +4,7 @@ use RedBeanPHP\Facade as RedBean;
/**
* @api {post} /staff/delete Delete staff
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Delete staff
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /staff/edit Edit staff
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Edit staff
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /staff/get-all-tickets Get all tickets according to search
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get all tickets
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /staff/get-all Get all staffs
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get all staffs
*

View File

@ -4,7 +4,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /staff/get-new-tickets Get new tickets
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get new tickets
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /staff/get-tickets Get tickets
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get tickets
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /staff/get Get staff
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get staff
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /staff/last-events Get last events
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get last events
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /staff/search-tickets Search tickets
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Search tickets
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /staff/un-assign-ticket Un-assign ticket
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Un-assign ticket
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /system/add-api-key Add APIKey
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Add APIKey
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /system/add-department Add department
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Add department
*

View File

@ -3,7 +3,7 @@ use Ifsnop\Mysqldump as IMysqldump;
/**
* @api {post} /system/backup-database Backup database
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Backup database
*

View File

@ -2,7 +2,7 @@
/**
* @api {post} /system/check-requirements Checks requirements
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Check requirements
*

View File

@ -2,7 +2,7 @@
/**
* @api {post} /system/csv-import CSV import
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName CSV import
*

View File

@ -3,7 +3,7 @@ use RedBeanPHP\Facade as RedBean;
/**
* @api {post} /system/delete-all-users Delete all users
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Delete all users
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /system/delete-api-key Delete APIKey
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Delete APIKey
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /system/delete-department Delete department
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Delete department
*

View File

@ -2,7 +2,7 @@
/**
* @api {post} /system/disable-registration Disable registration
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Disable registration
*

View File

@ -2,7 +2,7 @@
/**
* @api {post} /system/disable-user-system Disable user system
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Disable user system
*

View File

@ -4,7 +4,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {get} /system/download Download file
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Download file
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /system/edit-department Edit department
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Edit department
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /system/edit-mail-template Edit mail template
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Edit mail template
*

View File

@ -2,7 +2,7 @@
/**
* @api {post} /system/edit-settings Edit settings
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Edit settings
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /system/enable-registration Enable registration
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Enable registration
*

View File

@ -2,7 +2,7 @@
/**
* @api {post} /system/enable-user-system Enable user system
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Enable user system
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /system/get-api-keys Get APIKeys
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get APIKeys
*

View File

@ -4,7 +4,7 @@ use RedBeanPHP\Facade as RedBean;
/**
* @api {post} /system/get-logs Get logs
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get logs
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /system/get-mail-template-list Get mail template
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get mail template list
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /system/get-mail-template Get mail template
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get mail template
*

View File

@ -2,7 +2,7 @@
/**
* @api {post} /system/get-settings Get settings
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get settings
*

View File

@ -4,7 +4,7 @@ use RedBeanPHP\Facade as RedBean;
/**
* @api {post} /system/get-stats Get stats
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get stats
*
@ -41,6 +41,8 @@ class GetStatsController extends Controller {
}
public function handler() {
throw new ValidationException(ERRORS::UNAVAILABLE_STATS);
/*
$this->generateNewStats();
$this->deleteLastStats();
@ -55,7 +57,7 @@ class GetStatsController extends Controller {
$this->getStaffStat();
} else {
$this->getGeneralStat();
}
}*/
}
public function generateNewStats() {

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /system/init-admin Init admin
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Init admin
*

View File

@ -3,7 +3,7 @@ use RedBeanPHP\Facade as RedBean;
/**
* @api {post} /system/init-database Init database
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Init database
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /system/init-settings Init settings
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Init settings
*

View File

@ -3,7 +3,7 @@ use RedBeanPHP\Facade as RedBean;
/**
* @api {post} /system/installation-done Installation done
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Installation done
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /system/recover-mail-template Recover mail template
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Recover mail template
*

View File

@ -2,7 +2,7 @@
/**
* @api {post} /system/test-imap Test IMAP Connection
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Test IMAP Connection
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /system/test-smtp Test SMTP Connection
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Test SMTP Connection
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /ticket/add-custom-response Add custom responses
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Add a custom response
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /ticket/add-tag Add tag
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Add tag
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /ticket/change-department Change department
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Change department
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /ticket/change-priority Change priority
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Change priority
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /ticket/check Check ticket
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Check ticket
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /ticket/close Close ticket
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Close
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /ticket/comment Comment ticket
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Comment ticket
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /ticket/create-tag Create tag
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Create tag
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /ticket/create Create ticket
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Create ticket
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /ticket/delete-custom-response Delete custom response
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Delete custom response
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /ticket/delete-tag Delete a tag
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Delete tag
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /ticket/delete Delete a ticket
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Delete ticket
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /ticket/edit-custom-response Edit custom response
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Edit custom response
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /ticket/edit-tag Edit tag
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Edit tag
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /ticket/get-custom-responses Get custom responses
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get custom responses
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /ticket/get-tags Get tags
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get tags
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
DataValidator::with('CustomValidations', true);
/**
* @api {post} /ticket/get Get ticket
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get ticket
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /ticket/re-open Reopen ticket
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Reopen ticket
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /ticket/remove-tag Remove tag
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Remove tag
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /ticket/seen See ticket
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName See ticket
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /user/ban Ban email
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Ban email
*

View File

@ -2,7 +2,7 @@
/**
* @api {post} /user/check-session Check session
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Check session
*

View File

@ -4,7 +4,7 @@ use RedBeanPHP\Facade as RedBean;
/**
* @api {post} /user/delete Delete user
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Delete user
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /user/disable Ban email
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Disable User
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /user/edit-email Edit email
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Edit email
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /user/edit-password Edit password
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Edit password
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /user/enable Ban email
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Enable User
*

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/**
* @api {post} /user/get-user Get user information
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get user information
*

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/**
* @api {post} /user/get-users Get users list
* @apiVersion 4.3.2
* @apiVersion 4.4.0
*
* @apiName Get users list
*

Some files were not shown because too many files have changed in this diff Show More