2016-05-05 04:25:01 +02:00
|
|
|
# LIBRARIES
|
|
|
|
require 'bacon'
|
|
|
|
require 'net/http'
|
2019-01-12 04:38:33 +01:00
|
|
|
require 'net/imap'
|
|
|
|
require 'net/smtp'
|
2016-05-05 04:25:01 +02:00
|
|
|
require 'uri'
|
2020-05-13 07:51:51 +02:00
|
|
|
require 'mysql2'
|
2016-05-05 04:25:01 +02:00
|
|
|
require 'json'
|
2016-08-04 06:37:23 +02:00
|
|
|
require 'mechanize'
|
2018-12-24 01:44:59 +01:00
|
|
|
require 'mailfactory'
|
2019-01-12 04:38:33 +01:00
|
|
|
require 'mail'
|
2016-05-05 04:25:01 +02:00
|
|
|
require './libs.rb'
|
2016-05-15 01:22:46 +02:00
|
|
|
require './scripts.rb'
|
2016-05-05 04:25:01 +02:00
|
|
|
|
|
|
|
# TESTS
|
2016-07-27 05:44:07 +02:00
|
|
|
require './system/init-settings.rb'
|
2016-08-20 23:33:47 +02:00
|
|
|
require './system/get-settings.rb'
|
2016-12-20 03:17:35 +01:00
|
|
|
require './system/edit-settings.rb'
|
2016-05-05 04:25:01 +02:00
|
|
|
require './user/signup.rb'
|
2016-07-16 03:16:22 +02:00
|
|
|
require './user/login.rb'
|
2016-07-22 09:44:55 +02:00
|
|
|
require './user/send-recover-password.rb'
|
|
|
|
require './user/recover-password.rb'
|
2016-08-10 03:55:12 +02:00
|
|
|
require './user/edit-password.rb'
|
|
|
|
require './user/edit-email.rb'
|
2016-09-09 05:38:58 +02:00
|
|
|
require './user/get.rb'
|
2018-09-28 00:46:30 +02:00
|
|
|
require './user/enable-disable.rb'
|
2016-08-04 06:37:23 +02:00
|
|
|
require './ticket/create.rb'
|
2019-10-10 20:24:50 +02:00
|
|
|
require './ticket/seen.rb'
|
2016-08-04 06:37:23 +02:00
|
|
|
require './ticket/comment.rb'
|
2016-09-04 02:46:08 +02:00
|
|
|
require './ticket/get.rb'
|
2016-10-03 21:57:12 +02:00
|
|
|
require './ticket/custom-response.rb'
|
2016-10-15 08:23:12 +02:00
|
|
|
require './ticket/change-department.rb'
|
|
|
|
require './ticket/close.rb'
|
|
|
|
require './ticket/re-open.rb'
|
2018-10-29 15:32:31 +01:00
|
|
|
require './ticket/delete.rb'
|
2019-10-31 20:13:04 +01:00
|
|
|
require './staff/invite.rb'
|
2016-09-25 06:16:10 +02:00
|
|
|
require './staff/get.rb'
|
2016-12-08 07:21:37 +01:00
|
|
|
require './staff/edit.rb'
|
|
|
|
require './staff/delete.rb'
|
2016-10-08 01:32:22 +02:00
|
|
|
require './staff/assign-ticket.rb'
|
2016-10-14 21:32:32 +02:00
|
|
|
require './staff/un-assign-ticket.rb'
|
2016-10-15 02:59:11 +02:00
|
|
|
require './staff/get-tickets.rb'
|
2016-10-18 05:35:16 +02:00
|
|
|
require './staff/get-new-tickets.rb'
|
2016-11-04 23:10:32 +01:00
|
|
|
require './staff/get-all-tickets.rb'
|
2016-11-20 23:00:39 +01:00
|
|
|
require './ticket/events.rb'
|
2016-11-23 02:27:05 +01:00
|
|
|
require './article/topic.rb'
|
|
|
|
require './article/article.rb'
|
2016-12-01 19:07:11 +01:00
|
|
|
require './user/get-user.rb'
|
|
|
|
require './user/ban.rb'
|
|
|
|
require './user/get-users-test.rb'
|
|
|
|
require './user/delete.rb'
|
2016-12-08 07:21:37 +01:00
|
|
|
require './staff/get-all.rb'
|
2016-12-12 06:12:17 +01:00
|
|
|
require './system/add-department.rb'
|
|
|
|
require './system/edit-department.rb'
|
|
|
|
require './system/delete-department.rb'
|
2017-01-03 22:52:18 +01:00
|
|
|
require './staff/last-events.rb'
|
2018-12-12 05:23:58 +01:00
|
|
|
# require './system/mail-templates.rb'
|
2017-01-13 21:06:49 +01:00
|
|
|
require './system/add-api-key.rb'
|
|
|
|
require './system/delete-api-key.rb'
|
2017-02-24 07:56:25 +01:00
|
|
|
require './system/get-api-keys.rb'
|
2019-11-16 21:16:53 +01:00
|
|
|
require './system/disable-registration.rb'
|
|
|
|
require './system/enable-registration.rb'
|
2017-01-14 01:58:59 +01:00
|
|
|
require './system/file-upload-download.rb'
|
2017-01-16 22:04:26 +01:00
|
|
|
require './system/csv-import.rb'
|
2019-02-14 23:43:22 +01:00
|
|
|
require './ticket/create-tag.rb'
|
2018-12-12 05:23:58 +01:00
|
|
|
require './ticket/edit-tag.rb'
|
|
|
|
require './ticket/get-tags.rb'
|
|
|
|
require './ticket/delete-tag.rb'
|
2019-02-25 17:34:22 +01:00
|
|
|
require './ticket/add-tag.rb'
|
|
|
|
require './ticket/delete-tag.rb'
|
2019-06-27 03:04:56 +02:00
|
|
|
require './ticket/edit-comment.rb'
|
2020-01-02 13:55:55 +01:00
|
|
|
require './ticket/edit-title.rb'
|
2020-01-22 18:26:07 +01:00
|
|
|
require './system/custom-fields.rb'
|
2020-06-24 21:45:55 +02:00
|
|
|
require './ticket/search-authors.rb'
|
2019-12-27 23:50:50 +01:00
|
|
|
require './ticket/search.rb'
|
2020-06-24 21:45:55 +02:00
|
|
|
require './ticket/get-authors.rb'
|
2020-05-13 00:22:51 +02:00
|
|
|
require './system/mandatory-login.rb'
|
2020-06-15 21:27:45 +02:00
|
|
|
require './system/default-department.rb'
|
2020-07-21 11:52:34 +02:00
|
|
|
require './user/edit-supervised-list.rb'
|
|
|
|
require './user/get-supervised-tickets.rb'
|
2020-10-14 20:08:14 +02:00
|
|
|
require './system/apikey-permissions.rb'
|
2021-10-09 00:04:25 +02:00
|
|
|
require './system/get-stats.rb'
|
2021-10-09 00:07:14 +02:00
|
|
|
require './user/resend-email-token.rb'
|
2021-10-09 00:04:25 +02:00
|
|
|
require './user/invite.rb'
|
|
|
|
require './user/resend-invite-user.rb'
|
2021-10-09 00:07:14 +02:00
|
|
|
require './staff/resend-invite-staff.rb'
|