Merge pull request #708 from guillegiu/master

change 4.5.0 to  4.6.0 add tables creating into upgrade file
This commit is contained in:
Guillermo Giuliana 2020-01-25 14:48:54 -03:00 committed by GitHub
commit c941a4792d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
115 changed files with 123 additions and 117 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/** /**
* @api {post} /staff/edit Edit staff * @api {post} /staff/edit Edit staff
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Edit staff * @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 * @api {post} /staff/get-all-tickets Get all tickets according to search
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Get all tickets * @apiName Get all tickets
* *

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/** /**
* @api {post} /staff/get-all Get all staffs * @api {post} /staff/get-all Get all staffs
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Get all staffs * @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 * @api {post} /staff/get-new-tickets Get new tickets
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Get new tickets * @apiName Get new tickets
* *

View File

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

View File

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

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/** /**
* @api {post} /staff/invite Invite staff * @api {post} /staff/invite Invite staff
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Invite staff * @apiName Invite staff
* *

View File

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

View File

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

View File

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

View File

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

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/** /**
* @api {post} /system/add-custom-field Add a custom field * @api {post} /system/add-custom-field Add a custom field
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Add Custom field * @apiName Add Custom field
* *

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/** /**
* @api {post} /system/delete-custom-field Delete custom field * @api {post} /system/delete-custom-field Delete custom field
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Delete a custom field * @apiName Delete a custom field
* *

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/** /**
* @api {post} /system/get-custom-fields Get custom fields * @api {post} /system/get-custom-fields Get custom fields
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Get all Custom field items * @apiName Get all Custom field items
* *

View File

@ -4,7 +4,7 @@ use RedBeanPHP\Facade as RedBean;
/** /**
* @api {post} /system/get-logs Get logs * @api {post} /system/get-logs Get logs
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Get logs * @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 * @api {post} /system/get-mail-template-list Get mail template
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Get mail template list * @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 * @api {post} /system/get-mail-template Get mail template
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Get mail template * @apiName Get mail template
* *

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/** /**
* @api {post} /ticket/edit-comment Edit a comment * @api {post} /ticket/edit-comment Edit a comment
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Edit comment * @apiName Edit comment
* *

View File

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

View File

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

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/** /**
* @api {post} /ticket/edit-title Edit title of a ticket * @api {post} /ticket/edit-title Edit title of a ticket
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Edit title * @apiName Edit title
* *

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -6,7 +6,7 @@ DataValidator::with('CustomValidations', true);
/** /**
* @api {post} /ticket/search Search tickets * @api {post} /ticket/search Search tickets
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Search ticket * @apiName Search ticket
* *

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/** /**
* @api {post} /user/edit-custom-fields Edit custom field values * @api {post} /user/edit-custom-fields Edit custom field values
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Edit custom field values * @apiName Edit custom field values
* *

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -5,7 +5,7 @@ DataValidator::with('CustomValidations', true);
/** /**
* @api {post} /user/invite Invite * @api {post} /user/invite Invite
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Invite * @apiName Invite
* *

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/** /**
* @api {post} /user/list-ban Get ban list * @api {post} /user/list-ban Get ban list
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Get ban list * @apiName Get ban list
* *

View File

@ -3,7 +3,7 @@ use RedBeanPHP\Facade as RedBean;
/** /**
* @api {post} /user/login Login * @api {post} /user/login Login
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Login * @apiName Login
* *

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* @api {post} /user/logout Log out * @api {post} /user/logout Log out
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Log out * @apiName Log out
* *

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/** /**
* @api {post} /user/recover-password Recover password * @api {post} /user/recover-password Recover password
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Recover password * @apiName Recover password
* *

View File

@ -4,7 +4,7 @@ DataValidator::with('CustomValidations', true);
/** /**
* @api {post} /user/send-recover-password Send password recovery * @api {post} /user/send-recover-password Send password recovery
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Send password recovery * @apiName Send password recovery
* *

View File

@ -5,7 +5,7 @@ DataValidator::with('CustomValidations', true);
/** /**
* @api {post} /user/signup Sign up * @api {post} /user/signup Sign up
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Sign up * @apiName Sign up
* *

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/** /**
* @api {post} /user/un-ban Un ban * @api {post} /user/un-ban Un ban
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Un ban * @apiName Un ban
* *

View File

@ -3,7 +3,7 @@ use Respect\Validation\Validator as DataValidator;
/** /**
* @api {post} /user/verify Verify email * @api {post} /user/verify Verify email
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* *
* @apiName Verify email * @apiName Verify email
* *

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* @api {OBJECT} APIKey APIKey * @api {OBJECT} APIKey APIKey
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* @apiGroup Data Structures * @apiGroup Data Structures
* @apiParam {String} name Name of the APIKey. * @apiParam {String} name Name of the APIKey.
* @apiParam {String} token Token of the APIKey. * @apiParam {String} token Token of the APIKey.

View File

@ -1,7 +1,7 @@
<?php <?php
/** /**
* @api {OBJECT} Article Article * @api {OBJECT} Article Article
* @apiVersion 4.5.0 * @apiVersion 4.6.0
* @apiGroup Data Structures * @apiGroup Data Structures
* @apiParam {Number} id Id of the article. * @apiParam {Number} id Id of the article.
* @apiParam {String} title Title of the article. * @apiParam {String} title Title of the article.

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