Commit graph

233 commits

Author SHA1 Message Date
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
34a800542f more elements per page!
--HG--
branch : quitta-gsoc-2013
2013-08-06 06:07:49 +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
9a2ff7c7d0 Pagination class added, not tested yet :D
--HG--
branch : quitta-gsoc-2013
2013-08-04 20:27:07 +02:00
Quitta
bc62611305 languages handling done
--HG--
branch : quitta-gsoc-2013
2013-08-03 18:59:21 +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
9fd7c9f205 forgot to add the files
--HG--
branch : quitta-gsoc-2013
2013-08-02 19:44:28 +02:00
Quitta
7ee2ce596f log + reply ingame page
--HG--
branch : quitta-gsoc-2013
2013-08-02 19:43:43 +02:00
Quitta
785684f923 show ticket layout is done,though some unpleasant bugs turned up
--HG--
branch : quitta-gsoc-2013
2013-08-02 17:03:26 +02:00
Quitta
5aa33f49fb show ticket save before going to bed
--HG--
branch : quitta-gsoc-2013
2013-08-02 05:27:00 +02:00
Quitta
e9c9ed13e4 Added the android app of Botanic :)
--HG--
branch : quitta-gsoc-2013
2013-08-02 04:47:33 +02:00
Quitta
125a3b1f56 basis for show ticket
--HG--
branch : quitta-gsoc-2013
2013-08-01 23:10:26 +02:00
Quitta
2d1a07c787 added db parameter to the syncing
--HG--
branch : quitta-gsoc-2013
2013-08-01 18:20:40 +02:00
Quitta
1c6cdfd7a7 Added support group pages ingame layout + layout of the #menu's and managed to get a AMS-Home button in the top that would bring the page back to the dashboard!
--HG--
branch : quitta-gsoc-2013
2013-08-01 04:48: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
b768d1afb6 create ticket almost done, sadly textarea isn't really helping because can't specify #rows
--HG--
branch : quitta-gsoc-2013
2013-07-31 03:31:50 +02:00
Quitta
2f4a965bdb settings finished
--HG--
branch : quitta-gsoc-2013
2013-07-31 02:09:21 +02:00
Quitta
d47aadf768 settings page is starting to look nice
--HG--
branch : quitta-gsoc-2013
2013-07-31 01:19:57 +02:00
Quitta
a5fad36d5a finally got some basic layout starting to look good!
--HG--
branch : quitta-gsoc-2013
2013-07-30 20:18:01 +02:00
Quitta
0f38c39152 working o the basic layout
--HG--
branch : quitta-gsoc-2013
2013-07-30 19:13:32 +02:00
Quitta
a2e69be7d7 trying to get basic layout done + removed the sidebar + added a scrollbar + the home button needs correct text.
--HG--
branch : quitta-gsoc-2013
2013-07-30 17:31:28 +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
7fba0cab1c when the ticket starter replies on a ticket the ticket status changes to waiting for support automatically!
--HG--
branch : quitta-gsoc-2013
2013-07-22 22:58:12 +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
3e5568e760 forgot to add tge class
--HG--
branch : quitta-gsoc-2013
2013-07-22 13:19:21 +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
6d8a79da5a base class for assigned added
--HG--
branch : quitta-gsoc-2013
2013-07-20 13:19:14 +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
16de8b0f3b small fix to make it run on my server
--HG--
branch : quitta-gsoc-2013
2013-07-14 03:05:13 +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
f98a4617f0 fixed some hidden error in the syncing
--HG--
branch : quitta-gsoc-2013
2013-07-10 10:28:39 +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
Quitta
e4ffdeccc7 forgot to add the files <,<
--HG--
branch : quitta-gsoc-2013
2013-07-10 02:41:21 +02:00
Quitta
5c623e0bd3 Show_Ticket starts to work :)
--HG--
branch : quitta-gsoc-2013
2013-07-10 02:41:03 +02:00
Quitta
fca8eb1ced 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
--HG--
branch : quitta-gsoc-2013
2013-07-09 16:34:43 +02:00