Commit graph

230 commits

Author SHA1 Message Date
Quitta
8d8f53b2f2 Biggest push ever! :D Kinda made it possible to only need a few files in the inc/func of the drupal module, all others can be copied of the www version
--HG--
branch : quitta-gsoc-2013
2013-09-09 03:47:32 +02:00
Quitta
a7cce8b94e Soem fixes + also using the createPermissions() function of the module atm!
--HG--
branch : quitta-gsoc-2013
2013-09-08 22:49:39 +02:00
Quitta
d583b2cd8e Ingame version works now too more or less
--HG--
branch : quitta-gsoc-2013
2013-09-07 04:12:47 +02:00
Quitta
4f2219eb7a started working on the module + small addition
--HG--
branch : quitta-gsoc-2013
2013-09-02 04:15:18 +02:00
Quitta
29b5876162 small bug fix
--HG--
branch : quitta-gsoc-2013
2013-09-01 18:15:41 +02:00
Quitta
3dc513e868 ingame dashboard also fixed!
--HG--
branch : quitta-gsoc-2013
2013-08-29 22:19:37 +02:00
Quitta
af6c57ff52 dashboard added that shows the newest ticket, the amount of tickets in your todo list and tickets waiting on YOUR response
--HG--
branch : quitta-gsoc-2013
2013-08-29 05:01:47 +02:00
Quitta
9647d6ec8f added images in the ingame part, added config properties & fixed time bug in queues page
--HG--
branch : quitta-gsoc-2013
2013-08-29 02:08:05 +02:00
Quitta
a19e833772 Fancified outgame show info page and made ingame info page
--HG--
branch : quitta-gsoc-2013
2013-08-28 22:24:47 +02:00
Quitta
75b645264d ticket showing works outgame, but needs fancyfying :D
--HG--
branch : quitta-gsoc-2013
2013-08-28 05:31:06 +02:00
Quitta
3790739f49 updated, stroing to the db seems to work!
--HG--
branch : quitta-gsoc-2013
2013-08-28 02:24:08 +02:00
Quitta
54d71fd26d ticket_info class almost done
--HG--
branch : quitta-gsoc-2013
2013-08-27 19:08:10 +02:00
Quitta
70732ffd42 rewrote language handling + language is now stored in the db and the value is based on the users language flag clicked (or default) or the ingame language
--HG--
branch : quitta-gsoc-2013
2013-08-25 06:27:44 +02:00
Quitta
3bebfe4492 put mail cron related debug info into a log file specified in config.php
--HG--
branch : quitta-gsoc-2013
2013-08-20 04:33:23 +02:00
Quitta
ebce7ae90c fixing a lot of mail bug problems
--HG--
branch : quitta-gsoc-2013
2013-08-20 02:08:12 +02:00
Quitta
d1c1740741 Added encryption by using the openSSL functionality to encrypt the email passwords in the db
--HG--
branch : quitta-gsoc-2013
2013-08-19 20:22:01 +02:00
Quitta
5174764f2d Users can specify if they want to receive or dont want to receive tickt updates!
--HG--
branch : quitta-gsoc-2013
2013-08-19 00:02:55 +02:00
Quitta
f0f08fc374 fixed dirty error in queue's that didn't allow me to assing/unassign after creating a queue
--HG--
branch : quitta-gsoc-2013
2013-08-18 03:39:35 +02:00
Quitta
ba2c506120 response is being sent from the correct support group atm
--HG--
branch : quitta-gsoc-2013
2013-08-18 02:17:02 +02:00
Quitta
69192712a0 made 3 options for incomming mail: reply on ticket, new ticket and nothing related to that. When it's nothing related to that the mail will stay in the mailbox untill it get's manually read and deleted!
--HG--
branch : quitta-gsoc-2013
2013-08-17 19:07:00 +02:00
Quitta
483045c613 creating new tickets over email works
--HG--
branch : quitta-gsoc-2013
2013-08-17 03:06:22 +02:00
Quitta
2a02f35ae8 Hanle multiple mailaccounts
--HG--
branch : quitta-gsoc-2013
2013-08-16 22:24:11 +02:00
Quitta
8262febe32 sending mail with supportgroup ID is possible
--HG--
branch : quitta-gsoc-2013
2013-08-16 21:43:39 +02:00
Quitta
fb7254c018 Functionality to modify mailsettings of a support group.
--HG--
branch : quitta-gsoc-2013
2013-08-16 05:37:38 +02:00
Quitta
80ee498951 add email related stuff to support groups
--HG--
branch : quitta-gsoc-2013
2013-08-16 03:40:59 +02:00
Quitta
370653b11c ticket mail system basis works
--HG--
branch : quitta-gsoc-2013
2013-08-13 17:16:43 +02:00
Quitta
328351a4c5 ticket hanling function added
--HG--
branch : quitta-gsoc-2013
2013-08-12 23:56:58 +02:00
Quitta
987d5943c3 not sure if I should keep the task creation or not, will ask Botanic tomorrow
--HG--
branch : quitta-gsoc-2013
2013-08-12 05:14:00 +02:00
Quitta
4478ad115d ready to do the imap part
--HG--
branch : quitta-gsoc-2013
2013-08-12 01:11:48 +02:00
Quitta
e058a475f9 basis seems to run in terminal, however mail() doesn't work yet
--HG--
branch : quitta-gsoc-2013
2013-08-11 03:55:07 +02:00
Quitta
8ee02d9380 ready for testing the send mail functionality :)
--HG--
branch : quitta-gsoc-2013
2013-08-11 02:29:31 +02:00
Quitta
68a230f4ef updates to the mail_handler
--HG--
branch : quitta-gsoc-2013
2013-08-10 13:59:36 +02:00
Quitta
b05f34ac13 added mail_handler class (from Botanic) still needs to be reworked + added show queue template
--HG--
branch : quitta-gsoc-2013
2013-08-10 01:46:21 +02:00
Quitta
9318776e85 userlist ingame works + fixed a bug in demoting/promoting users with roles, which was looking at the wrong id
--HG--
branch : quitta-gsoc-2013
2013-08-06 04:31:01 +02:00
Quitta
1d68d8a781 I think I'm done refactoring the queues
--HG--
branch : quitta-gsoc-2013
2013-08-06 01:00:17 +02:00
Quitta
ef05fdda7c refactor queue's part 1
--HG--
branch : quitta-gsoc-2013
2013-08-05 22:35:22 +02:00
Quitta
91e758c1ee userlist works with pagination
--HG--
branch : quitta-gsoc-2013
2013-08-05 21:12:58 +02:00
Quitta
99ad1504e3 refactoring webusers.php
--HG--
branch : quitta-gsoc-2013
2013-08-05 17:31:36 +02:00
Quitta
5b4c13f8d3 renamed libuserlist to syncing, which is more appropriate, also made pagination work! so Now I can start to use it ingame too!
--HG--
branch : quitta-gsoc-2013
2013-08-05 05:37:18 +02:00
Quitta
7e4a24bac8 pagination seems to work! :)
--HG--
branch : quitta-gsoc-2013
2013-08-05 05:27:19 +02:00
Quitta
845da81ad4 generic pagination with debugging for testing it atm
--HG--
branch : quitta-gsoc-2013
2013-08-05 04:37:20 +02:00
Quitta
f5ef22914f color scheme configuration with colors loaed from ingame_layout.ini
--HG--
branch : quitta-gsoc-2013
2013-08-03 05:00:39 +02:00
Quitta
8e7bbb2e62 fixed assigning/unassigning and sending empty messages
--HG--
branch : quitta-gsoc-2013
2013-08-03 04:00:41 +02:00
Quitta
7ee2ce596f log + reply ingame page
--HG--
branch : quitta-gsoc-2013
2013-08-02 19:43:43 +02:00
Quitta
2d1a07c787 added db parameter to the syncing
--HG--
branch : quitta-gsoc-2013
2013-08-01 18:20:40 +02:00
DJanssens
c6040d2853 autologin works
--HG--
branch : quitta-gsoc-2013
2013-07-31 15:08:35 -07:00
Quitta
ca769bf24b login.tpl hided between my not yet pushed files! You evil login.tpl :D that might fix the auto login problem
--HG--
branch : quitta-gsoc-2013
2013-07-31 22:38:47 +02:00
Quitta
40883e8afc Merge
--HG--
branch : quitta-gsoc-2013
2013-07-31 22:29:09 +02:00
Quitta
4dba2a11cf change home button
--HG--
branch : quitta-gsoc-2013
2013-07-31 22:27:59 +02:00
DJanssens
2f8d97ae3b test
--HG--
branch : quitta-gsoc-2013
2013-07-31 13:03:12 -07:00
Quitta
c42c667827 made the config file more general + seemed some simple <br>'s in the textarea solved it! thank you mr wireshark!
--HG--
branch : quitta-gsoc-2013
2013-07-31 16:09:39 +02:00
Quitta
12baee2fcf fix for getting client working + possibly auto login for ingame part
--HG--
branch : quitta-gsoc-2013
2013-07-30 01:46:56 +02:00
Quitta
b12f630077 queue creator works also added a few extra default queues
--HG--
branch : quitta-gsoc-2013
2013-07-23 23:38:06 +02:00
Quitta
722795b5d2 queue selector written with javascript functionality
--HG--
branch : quitta-gsoc-2013
2013-07-23 21:50:39 +02:00
Quitta
0410b104c1 Added another row of info to the show_ticket where the user to whom the ticket is assigned to and also cleaned up the right side, so user can also assign & unassign while browsing a ticket :)
--HG--
branch : quitta-gsoc-2013
2013-07-23 03:16:19 +02:00
Quitta
6887ee889e updated logging, when ticket is assigned/unassigned or forwarded, then it will be logged!
--HG--
branch : quitta-gsoc-2013
2013-07-22 20:33:34 +02:00
Quitta
63666aef9b showing in the queue to what support_group the ticket is sent to, also made the query bigger and changed the todo query as primary!
--HG--
branch : quitta-gsoc-2013
2013-07-22 18:22:21 +02:00
Quitta
d140af612e Forward works, though needs refinement! also is shown in ticket info bar
--HG--
branch : quitta-gsoc-2013
2013-07-22 14:51:42 +02:00
Quitta
178d59caac class for forwarding + db update
--HG--
branch : quitta-gsoc-2013
2013-07-22 13:19:07 +02:00
Quitta
e9853f3262 Big Query that makes it possible to see the todo list, also had to fix the assign/unassign
--HG--
branch : quitta-gsoc-2013
2013-07-21 17:56:24 +02:00
Quitta
46f2ad2274 made the todo queue
--HG--
branch : quitta-gsoc-2013
2013-07-21 15:38:22 +02:00
Quitta
fdef0d55dc People can assign and unassign to a ticket
--HG--
branch : quitta-gsoc-2013
2013-07-21 03:49:31 +02:00
Quitta
8f38980a00 in the show queue, it also shows the assigned users name :)
--HG--
branch : quitta-gsoc-2013
2013-07-20 14:45:05 +02:00
Quitta
f41c9ab65e forgot to push the time-format in config file update! :)
--HG--
branch : quitta-gsoc-2013
2013-07-20 01:04:20 +02:00
Quitta
9d90043a76 fixed error in time elapsed function and removed the queue structure, one queue class would suffice I guess
--HG--
branch : quitta-gsoc-2013
2013-07-19 23:36:34 +02:00
Quitta
f922b14e30 Outputted time is handled by using the Helpers::outputTime function, this makes changees to the time format easy.
Also made it possible for admins to edit roles directly in the userlist.

--HG--
branch : quitta-gsoc-2013
2013-07-19 16:30:58 +02:00
Quitta
19e26b93a9 Admins/Mods can post hidden replies!
--HG--
branch : quitta-gsoc-2013
2013-07-19 15:59:39 +02:00
Quitta
72d3925b20 Changed DB so a reply has a Hidden field, to make it only show up for admins. Also made it only possible to add mods/admins to the support groups!
--HG--
branch : quitta-gsoc-2013
2013-07-19 11:56:39 +02:00
Quitta
895604e6ac Promoting a user to mod/admin or mod to admin, or demoting mod to user, admin to mod/user is now possible!
--HG--
branch : quitta-gsoc-2013
2013-07-19 03:05:12 +02:00
Quitta
532732a925 fixed some layoutwise stuff, like mods and admins will be shown the same way when replying on a ticket, because users won't be intrested in that anyway
--HG--
branch : quitta-gsoc-2013
2013-07-19 00:37:47 +02:00
Quitta
e170bff5bc made it possible or mod's to watch the support group lists, though not to edit them + fixed userlist
--HG--
branch : quitta-gsoc-2013
2013-07-19 00:12:29 +02:00
Quitta
a9cfd48df9 refactored to admin/mod + changed install file + added mod menu
--HG--
branch : quitta-gsoc-2013
2013-07-18 21:12:03 +02:00
Quitta
32ac588a9b found the @#!$& bug, why on earth did I comment that in the past <,<
--HG--
branch : quitta-gsoc-2013
2013-07-18 15:52:03 +02:00
Quitta
b1836e7944 changed system to mod/admin permissions, though there's still a bug in show_ticket
--HG--
branch : quitta-gsoc-2013
2013-07-18 12:43:33 +02:00
Quitta
be65b89d86 Deletion of support_groups is possible, on delete cascade is pretty cool :D
--HG--
branch : quitta-gsoc-2013
2013-07-16 17:43:55 +02:00
Quitta
2410160c63 Delete a user out of a support_group is possible, have to look up how to do the deletion of a group while keeping referential integrity in mind!
--HG--
branch : quitta-gsoc-2013
2013-07-16 16:43:58 +02:00
Quitta
6e9f53b23d changed layout a bit, this seems better! :)
--HG--
branch : quitta-gsoc-2013
2013-07-16 05:47:31 +02:00
Quitta
465c9c531a It's now possible to add someone to a support group
--HG--
branch : quitta-gsoc-2013
2013-07-16 04:58:54 +02:00
Quitta
ac5c8378bc Show single group and there users almost done
--HG--
branch : quitta-gsoc-2013
2013-07-15 21:18:51 +02:00
Quitta
8d08ff0db0 support group class added + list of support groups added!
--HG--
branch : quitta-gsoc-2013
2013-07-15 17:29:19 +02:00
Quitta
c8607d29cd Updated database and sql model added support group and insupportgroup
--HG--
branch : quitta-gsoc-2013
2013-07-14 23:40:24 +02:00
Quitta
5a8f45f88c # ticket queues, though moving away from this approach
--HG--
branch : quitta-gsoc-2013
2013-07-14 22:33:09 +02:00
Quitta
b64d27a427 ticket queue base added
--HG--
branch : quitta-gsoc-2013
2013-07-14 16:38:36 +02:00
Quitta
6f43d4f003 Show single replies works, though the code for it is a bit ugly, have to refactor that though
--HG--
branch : quitta-gsoc-2013
2013-07-13 23:18:49 +02:00
Quitta
c1b7915219 show time elapsed as tooltip, which could be handy, started making the show_reply.tpl
--HG--
branch : quitta-gsoc-2013
2013-07-13 18:04:40 +02:00
Quitta
26faa286bf don't show the textarea for reply when ticket is closed.
--HG--
branch : quitta-gsoc-2013
2013-07-13 17:11:54 +02:00
Quitta
5d2e9dbf96 use language ini files to select correct log thing
--HG--
branch : quitta-gsoc-2013
2013-07-13 16:41:52 +02:00
Quitta
c7e58da11f Show the logs in show_ticket_log
--HG--
branch : quitta-gsoc-2013
2013-07-13 03:46:15 +02:00
Quitta
a8ee2f46f6 started working on the show_ticket_log and encapsulated the createReply of ticket_reply into a ticket class function
--HG--
branch : quitta-gsoc-2013
2013-07-12 20:10:17 +02:00
Quitta
aa26110823 added log system, added ticketupdateStatusandPriority(), using JSON for keeping action etc
--HG--
branch : quitta-gsoc-2013
2013-07-12 19:43:33 +02:00
Quitta
d1475a6eec Changed database all ID's to Unsigned, also added ticket_log table + started working on the class file
--HG--
branch : quitta-gsoc-2013
2013-07-12 14:06:06 +02:00
Quitta
bc238fba7a fixed upper info bar when showing ticket: which contains the initial time, the time passed since latest update, the status, the category and the priority.
DB got updated, ticket has an extra priority field now, to make it easier for admins to make a distinction between tickets! Also made it possible for admins to change the status/priority when replying.

--HG--
branch : quitta-gsoc-2013
2013-07-11 20:31:34 +02:00
Quitta
24b08104f9 added admin function to change setting + changed color of admin bg when they reply + some other fixes
--HG--
branch : quitta-gsoc-2013
2013-07-11 02:39:52 +02:00
Quitta
b1473fad58 ticket reply show correct username, this was harder then expected
--HG--
branch : quitta-gsoc-2013
2013-07-10 22:40:01 +02:00
Quitta
0b72b5cd67 replying on a ticket is now possible though still have to fix the username being shown.
--HG--
branch : quitta-gsoc-2013
2013-07-10 20:46:26 +02:00
Quitta
4afb0b912e forward to show ticket after creating ticket, also build basis for replying on ticket!
--HG--
branch : quitta-gsoc-2013
2013-07-10 13:05:05 +02:00
Quitta
9003f4781a Refacoring of DBLayer seems to work now :)
--HG--
branch : quitta-gsoc-2013
2013-07-10 12:36:14 +02:00
Quitta
5e053f3fc4 Also made tickets cickable in the profile page! now let the DBLayer refactoring begin!
--HG--
branch : quitta-gsoc-2013
2013-07-10 10:13:53 +02:00
Quitta
f2d8afaea4 small layout update, before trying to refactor the DBLayer, I want to make sure that I can revert to this point :D
--HG--
branch : quitta-gsoc-2013
2013-07-10 10:10:02 +02:00
Quitta
8981556796 fixed row formatting of the responses
--HG--
branch : quitta-gsoc-2013
2013-07-10 09:44:45 +02:00