Commit graph

117 commits

Author SHA1 Message Date
Quitta
3e049aa0c8 in the show queue, it also shows the assigned users name :) 2013-07-20 14:45:05 +02:00
Quitta
d8c10c658c fixed error in time elapsed function and removed the queue structure, one queue class would suffice I guess 2013-07-19 23:36:34 +02:00
Quitta
50f32e5e1c 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.
2013-07-19 16:30:58 +02:00
Quitta
b54d74ea81 Admins/Mods can post hidden replies! 2013-07-19 15:59:39 +02:00
Quitta
6b711f4381 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! 2013-07-19 11:56:39 +02:00
Quitta
6ec1450d26 Promoting a user to mod/admin or mod to admin, or demoting mod to user, admin to mod/user is now possible! 2013-07-19 03:05:12 +02:00
Quitta
a74de873c3 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 2013-07-19 00:37:47 +02:00
Quitta
c1132373e3 made it possible or mod's to watch the support group lists, though not to edit them + fixed userlist 2013-07-19 00:12:29 +02:00
Quitta
bbe74c8fba refactored to admin/mod + changed install file + added mod menu 2013-07-18 21:12:03 +02:00
Quitta
2f39522002 found the @#!$& bug, why on earth did I comment that in the past <,< 2013-07-18 15:52:03 +02:00
Quitta
b994a8279d changed system to mod/admin permissions, though there's still a bug in show_ticket 2013-07-18 12:43:33 +02:00
Quitta
8353b2a99a Deletion of support_groups is possible, on delete cascade is pretty cool :D 2013-07-16 17:43:55 +02:00
Quitta
5b7f0fe95e 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! 2013-07-16 16:43:58 +02:00
Quitta
cbd3588203 changed layout a bit, this seems better! :) 2013-07-16 05:47:31 +02:00
Quitta
b0564d35d8 It's now possible to add someone to a support group 2013-07-16 04:58:54 +02:00
Quitta
f0da13a60e Show single group and there users almost done 2013-07-15 21:18:51 +02:00
Quitta
3553cc6cac support group class added + list of support groups added! 2013-07-15 17:29:19 +02:00
Quitta
fe896339d6 Updated database and sql model added support group and insupportgroup 2013-07-14 23:40:24 +02:00
Quitta
af2986ff01 # ticket queues, though moving away from this approach 2013-07-14 22:33:09 +02:00
Quitta
ea80798bd0 ticket queue base added 2013-07-14 16:38:36 +02:00
Quitta
c912daecae Show single replies works, though the code for it is a bit ugly, have to refactor that though 2013-07-13 23:18:49 +02:00
Quitta
15237002aa show time elapsed as tooltip, which could be handy, started making the show_reply.tpl 2013-07-13 18:04:40 +02:00
Quitta
3f5eaae687 don't show the textarea for reply when ticket is closed. 2013-07-13 17:11:54 +02:00
Quitta
66cec1fb7a use language ini files to select correct log thing 2013-07-13 16:41:52 +02:00
Quitta
80c846050d Show the logs in show_ticket_log 2013-07-13 03:46:15 +02:00
Quitta
2a85eb6367 started working on the show_ticket_log and encapsulated the createReply of ticket_reply into a ticket class function 2013-07-12 20:10:17 +02:00
Quitta
5dc0266e15 added log system, added ticketupdateStatusandPriority(), using JSON for keeping action etc 2013-07-12 19:43:33 +02:00
Quitta
6fdf04566a Changed database all ID's to Unsigned, also added ticket_log table + started working on the class file 2013-07-12 14:06:06 +02:00
Quitta
3e5222ff1b 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.
2013-07-11 20:31:34 +02:00
Quitta
be66aa7cef added admin function to change setting + changed color of admin bg when they reply + some other fixes 2013-07-11 02:39:52 +02:00
Quitta
e1a7e13c4e ticket reply show correct username, this was harder then expected 2013-07-10 22:40:01 +02:00
Quitta
51f4bd1ded replying on a ticket is now possible though still have to fix the username being shown. 2013-07-10 20:46:26 +02:00
Quitta
23df1f8479 forward to show ticket after creating ticket, also build basis for replying on ticket! 2013-07-10 13:05:05 +02:00
Quitta
423982a9d1 Refacoring of DBLayer seems to work now :) 2013-07-10 12:36:14 +02:00
Quitta
9ff6af3f88 Also made tickets cickable in the profile page! now let the DBLayer refactoring begin! 2013-07-10 10:13:53 +02:00
Quitta
0da0cf9da8 small layout update, before trying to refactor the DBLayer, I want to make sure that I can revert to this point :D 2013-07-10 10:10:02 +02:00
Quitta
4ab2c46091 fixed row formatting of the responses 2013-07-10 09:44:45 +02:00
Quitta
8dc95d2604 forgot to add the files <,< 2013-07-10 02:41:21 +02:00
Quitta
5ab7000c5f Show_Ticket starts to work :) 2013-07-10 02:41:03 +02:00
Quitta
683e04d79e make_table_with_key_is_id function added to replace and use for like filling the category array, I guess it will be used in the future for a lot of different things 2013-07-09 16:34:43 +02:00
Quitta
bcf79ab6fa added gui_elements class 2013-07-09 16:03:52 +02:00
Quitta
d414021506 Show the user his tickets in the user profile screen 2013-07-09 01:03:49 +02:00
Quitta
52e07f04fc show user added, where admins can create a ticket from another user 2013-07-08 17:14:03 +02:00
Quitta
371e83876c updated install, added create_Ticket function as wrapper! 2013-07-08 14:49:03 +02:00
Quitta
9f623e3225 added mennu item for createticket 2013-07-08 09:58:29 +02:00
Quitta
98dfb1fd6e create ticket works, also admins can create other people's tickets 2013-07-08 09:40:48 +02:00
Quitta
a42443054e Creation of a ticket (not the content yet though) seems to work 2013-07-06 22:38:57 +02:00
Quitta
9a89c0d90e woops forgot to add those in last update, also loading all categories from the db works now 2013-07-06 19:12:55 +02:00
Quitta
948794bff6 createticket template done + when registering: create ticket_user + when login make session object ticket_user 2013-07-06 18:27:25 +02:00
Quitta
a9fca71b8d Added ticket class | added ticket_user class| added ticket_category class. These aren't tested yet, so expect errors and changes! :D 2013-07-06 06:09:47 +02:00