Commit graph

302 commits

Author SHA1 Message Date
Quitta
d6abd7b436 can display the dashboard html atm 2013-09-04 17:44:43 +02:00
Quitta
b708fc3af3 reworked the index.php page into the module's _ams_handler function, which will be the main function. Having some serialize/unserialize issues though.. 2013-09-03 17:52:52 +02:00
Quitta
7eb7484e5b added amsblock and a menu item for the ams page 2013-09-03 04:55:51 +02:00
Quitta
45a9d709d3 added help hook, to make it viewable in the help menu, however still unsure if I have to make a page or block or a combination.. 2013-09-02 23:52:42 +02:00
Quitta
5da613cc61 auto login when calling the page from ingame (should work)... 2013-09-02 21:21:41 +02:00
Quitta
07d3e49656 taking away the functions checkUser, checkEmail, checkpassword out of the module, the webuser/user handles this! 2013-09-02 19:43:53 +02:00
Quitta
bcbf13b5fb added hook_user_insert, now the user gets also added to the shard + a ticket_user entry gets created that couples the drupal id to it 2013-09-02 18:32:10 +02:00
Quitta
7ae5ee5c3e reworked config file to work with drupal and added extra config fields to the configuration form in the module 2013-09-02 16:23:07 +02:00
Quitta
b086023f15 including the module problem 2013-09-02 04:42:56 +02:00
Quitta
aee2cb318c started working on the module + small addition 2013-09-02 04:15:18 +02:00
Quitta
64d2308ead small bug fix 2013-09-01 18:15:41 +02:00
Quitta
7b627f8f77 ingame dashboard also fixed! 2013-08-29 22:19:37 +02:00
Quitta
9a46faadec dashboard added that shows the newest ticket, the amount of tickets in your todo list and tickets waiting on YOUR response 2013-08-29 05:01:47 +02:00
Quitta
27b4cf5acc added images in the ingame part, added config properties & fixed time bug in queues page 2013-08-29 02:08:05 +02:00
Quitta
ea13c53a0d Fancified outgame show info page and made ingame info page 2013-08-28 22:24:47 +02:00
Quitta
b85d2bfbe9 ticket showing works outgame, but needs fancyfying :D 2013-08-28 05:31:06 +02:00
Quitta
155f7be270 updated, stroing to the db seems to work! 2013-08-28 02:24:08 +02:00
Quitta
7f5c11e592 ticket_info class done, however I think I better add a field to the Ticket DB, instead the way I do it now.. 2013-08-27 22:54:45 +02:00
Quitta
468655de0e ticket_info class almost done 2013-08-27 19:08:10 +02:00
Quitta
71e40d50b1 Finaly got it to working again.. 2013-08-26 17:25:28 +02:00
Quitta
cf6a297452 added language support however, something is broken :/ 2013-08-26 11:34:51 +02:00
Quitta
2724ecbf16 mailing refactored 2013-08-26 05:37:55 +02:00
Quitta
99cdabba32 #mailing languages setup 2013-08-25 17:49:01 +02:00
Quitta
b878bd4d2a 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 2013-08-25 06:27:44 +02:00
Quitta
9552e203a6 receive messages setting is added to the ingame layout 2013-08-25 01:22:24 +02:00
Quitta
6b72450bdf Inagme layout for modifying group email stuff is fixed 2013-08-24 17:19:46 +02:00
Quitta
e801ab80d5 Fixed sgroup_liist ingame layout.. 2013-08-24 15:56:16 +02:00
Quitta
ec96188fda put mail cron related debug info into a log file specified in config.php 2013-08-20 04:33:23 +02:00
Quitta
958a142b91 fixing a lot of mail bug problems 2013-08-20 02:08:12 +02:00
Quitta
9951b565e0 Added encryption by using the openSSL functionality to encrypt the email passwords in the db 2013-08-19 20:22:01 +02:00
Quitta
747e1deaea Users can specify if they want to receive or dont want to receive tickt updates! 2013-08-19 00:02:55 +02:00
Quitta
a6c5b1bab1 fixed dirty error in queue's that didn't allow me to assing/unassign after creating a queue 2013-08-18 03:39:35 +02:00
Quitta
93593eb8b3 fixed some nasty errors + made it show the entire replied message 2013-08-18 02:49:58 +02:00
Quitta
f8537a6454 response is being sent from the correct support group atm 2013-08-18 02:17:02 +02:00
Quitta
7c32cb2aa1 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! 2013-08-17 19:07:00 +02:00
Quitta
0ad81acd87 creating new tickets over email works 2013-08-17 03:06:22 +02:00
Quitta
efc8da6512 Hanle multiple mailaccounts 2013-08-16 22:24:11 +02:00
Quitta
9893c2ef84 sending mail with supportgroup ID is possible 2013-08-16 21:43:39 +02:00
Quitta
20d2c5d7eb Functionality to modify mailsettings of a support group. 2013-08-16 05:37:38 +02:00
Quitta
b37fdc7c95 add email related stuff to support groups 2013-08-16 03:40:59 +02:00
Quitta
1ef67a97eb ticket mail system basis works 2013-08-13 17:16:43 +02:00
Quitta
dddf53ed9e ticket hanling function added 2013-08-12 23:56:58 +02:00
Quitta
f59fca5bd3 not sure if I should keep the task creation or not, will ask Botanic tomorrow 2013-08-12 05:14:00 +02:00
Quitta
cb1ecf6b6e ready to do the imap part 2013-08-12 01:11:48 +02:00
Quitta
c557bf0bfd basis seems to run in terminal, however mail() doesn't work yet 2013-08-11 03:55:07 +02:00
Quitta
e97dfb6e2b ready for testing the send mail functionality :) 2013-08-11 02:29:31 +02:00
Quitta
1ed32bcaa6 updates to the mail_handler 2013-08-10 13:59:36 +02:00
Quitta
a3f9e44c0c added mail_handler class (from Botanic) still needs to be reworked + added show queue template 2013-08-10 01:46:21 +02:00
Quitta
4041be72f3 more elements per page! 2013-08-06 06:07:49 +02:00
Quitta
1c54b43080 userlist ingame works + fixed a bug in demoting/promoting users with roles, which was looking at the wrong id 2013-08-06 04:31:01 +02:00
Quitta
18ce5ec1fe I think I'm done refactoring the queues 2013-08-06 01:00:17 +02:00
Quitta
b515b42223 refactor queue's part 1 2013-08-05 22:35:22 +02:00
Quitta
dbe6e82945 userlist works with pagination 2013-08-05 21:12:58 +02:00
Quitta
a0e63b09da refactoring webusers.php 2013-08-05 17:31:36 +02:00
Quitta
77f10fe3ff renamed libuserlist to syncing, which is more appropriate, also made pagination work! so Now I can start to use it ingame too! 2013-08-05 05:37:18 +02:00
Quitta
5936835439 pagination seems to work! :) 2013-08-05 05:27:19 +02:00
Quitta
b6d15957ab generic pagination with debugging for testing it atm 2013-08-05 04:37:20 +02:00
Quitta
31f7435ebb Pagination class added, not tested yet :D 2013-08-04 20:27:07 +02:00
Quitta
41fcbdd26f languages handling done 2013-08-03 18:59:21 +02:00
Quitta
1c1d7575f8 color scheme configuration with colors loaed from ingame_layout.ini 2013-08-03 05:00:39 +02:00
Quitta
36f4cda67a fixed assigning/unassigning and sending empty messages 2013-08-03 04:00:41 +02:00
Quitta
f22a251d07 forgot to add the files 2013-08-02 19:44:28 +02:00
Quitta
16fc5276f2 log + reply ingame page 2013-08-02 19:43:43 +02:00
Quitta
22b1eaec86 show ticket layout is done,though some unpleasant bugs turned up 2013-08-02 17:03:26 +02:00
Quitta
39ca662593 show ticket save before going to bed 2013-08-02 05:27:00 +02:00
Quitta
7aecbc19a4 Added the android app of Botanic :) 2013-08-02 04:47:33 +02:00
Quitta
452be8dab5 basis for show ticket 2013-08-01 23:10:26 +02:00
Quitta
4aa31b22e6 added db parameter to the syncing 2013-08-01 18:20:40 +02:00
Quitta
ecea3950be 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! 2013-08-01 04:48:40 +02:00
Quitta
50a0c2b464 Merge 2013-08-01 00:14:31 +02:00
Quitta
af116d1bb3 made home back redo 2013-08-01 00:10:47 +02:00
DJanssens
22ff930c29 autologin works 2013-07-31 15:08:35 -07:00
Quitta
2432071319 login.tpl hided between my not yet pushed files! You evil login.tpl :D that might fix the auto login problem 2013-07-31 22:38:47 +02:00
Quitta
a7f41c448d Merge 2013-07-31 22:29:09 +02:00
Quitta
ac38aa90dd change home button 2013-07-31 22:27:59 +02:00
DJanssens
a2b0f7e701 test 2013-07-31 13:03:12 -07:00
Quitta
f476c864c7 Merge with default 2013-07-31 16:17:29 +02:00
Quitta
b1a36e07f2 made the config file more general + seemed some simple <br>'s in the textarea solved it! thank you mr wireshark! 2013-07-31 16:09:39 +02:00
Quitta
b905a752dc create ticket almost done, sadly textarea isn't really helping because can't specify #rows 2013-07-31 03:31:50 +02:00
Quitta
3d5b5bd122 settings finished 2013-07-31 02:09:21 +02:00
Quitta
d954553c5d settings page is starting to look nice 2013-07-31 01:19:57 +02:00
Quitta
bea6735695 finally got some basic layout starting to look good! 2013-07-30 20:18:01 +02:00
Quitta
04bc363743 working o the basic layout 2013-07-30 19:13:32 +02:00
Quitta
6f0d52aabf trying to get basic layout done + removed the sidebar + added a scrollbar + the home button needs correct text. 2013-07-30 17:31:28 +02:00
Quitta
bda7fdcc9c fix for getting client working + possibly auto login for ingame part 2013-07-30 01:46:56 +02:00
Quitta
d30ddd44ea Merge with default 2013-07-24 13:14:27 +02:00
Quitta
4e4ddaaf44 queue creator works also added a few extra default queues 2013-07-23 23:38:06 +02:00
Quitta
341a0877ab queue selector written with javascript functionality 2013-07-23 21:50:39 +02:00
Quitta
79a6c99b09 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 :) 2013-07-23 03:16:19 +02:00
Quitta
d8458b2ddd when the ticket starter replies on a ticket the ticket status changes to waiting for support automatically! 2013-07-22 22:58:12 +02:00
Quitta
0e0f0c0fd6 updated logging, when ticket is assigned/unassigned or forwarded, then it will be logged! 2013-07-22 20:33:34 +02:00
Quitta
353865191d 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! 2013-07-22 18:22:21 +02:00
Quitta
8a807a6401 Forward works, though needs refinement! also is shown in ticket info bar 2013-07-22 14:51:42 +02:00
Quitta
879882f0e9 forgot to add tge class 2013-07-22 13:19:21 +02:00
Quitta
f583939ab6 class for forwarding + db update 2013-07-22 13:19:07 +02:00
Quitta
92538c3853 Big Query that makes it possible to see the todo list, also had to fix the assign/unassign 2013-07-21 17:56:24 +02:00
Quitta
1be6112aa2 made the todo queue 2013-07-21 15:38:22 +02:00
Quitta
c0a45df44c People can assign and unassign to a ticket 2013-07-21 03:49:31 +02:00
Quitta
ff7db2a28c in the show queue, it also shows the assigned users name :) 2013-07-20 14:45:05 +02:00
Quitta
d1fe49fc7b base class for assigned added 2013-07-20 13:19:14 +02:00
Quitta
350b78f55e forgot to push the time-format in config file update! :) 2013-07-20 01:04:20 +02:00
Quitta
9e86017a65 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
16fa7aa7dc 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
19721376a7 Admins/Mods can post hidden replies! 2013-07-19 15:59:39 +02:00
Quitta
5608185e1d 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
e7f83761ec 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
76a3a66c89 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
cb9289f09c 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
5033e45c6a refactored to admin/mod + changed install file + added mod menu 2013-07-18 21:12:03 +02:00
Quitta
9922c9e60a found the @#!$& bug, why on earth did I comment that in the past <,< 2013-07-18 15:52:03 +02:00
Quitta
f4b8ed12a0 changed system to mod/admin permissions, though there's still a bug in show_ticket 2013-07-18 12:43:33 +02:00
Quitta
74a4ed88a2 Deletion of support_groups is possible, on delete cascade is pretty cool :D 2013-07-16 17:43:55 +02:00
Quitta
f59af9ae4f 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
c45d4a7a3b changed layout a bit, this seems better! :) 2013-07-16 05:47:31 +02:00
Quitta
66f2b00f60 It's now possible to add someone to a support group 2013-07-16 04:58:54 +02:00
Quitta
4f881e9395 Show single group and there users almost done 2013-07-15 21:18:51 +02:00
Quitta
4cb1b633a2 support group class added + list of support groups added! 2013-07-15 17:29:19 +02:00
Quitta
77ef51b759 Updated database and sql model added support group and insupportgroup 2013-07-14 23:40:24 +02:00
Quitta
668be7f1ab # ticket queues, though moving away from this approach 2013-07-14 22:33:09 +02:00
Quitta
089830c59e ticket queue base added 2013-07-14 16:38:36 +02:00
Quitta
781add24c0 small fix to make it run on my server 2013-07-14 03:05:13 +02:00
Quitta
5c0685a071 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
60508847eb show time elapsed as tooltip, which could be handy, started making the show_reply.tpl 2013-07-13 18:04:40 +02:00
Quitta
c539aac7df don't show the textarea for reply when ticket is closed. 2013-07-13 17:11:54 +02:00
Quitta
4c8aa5b128 use language ini files to select correct log thing 2013-07-13 16:41:52 +02:00
Quitta
ffb3499bdb Show the logs in show_ticket_log 2013-07-13 03:46:15 +02:00
Quitta
578e8d7b3f 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
f310f87658 added log system, added ticketupdateStatusandPriority(), using JSON for keeping action etc 2013-07-12 19:43:33 +02:00
Quitta
1f8ed0b845 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
fe0366c2a9 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
5fd3b54015 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
002bf2abff ticket reply show correct username, this was harder then expected 2013-07-10 22:40:01 +02:00
Quitta
9b37a2426c 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
5ca6bb3528 forward to show ticket after creating ticket, also build basis for replying on ticket! 2013-07-10 13:05:05 +02:00
Quitta
10469758a2 Refacoring of DBLayer seems to work now :) 2013-07-10 12:36:14 +02:00
Quitta
3ba7ae8253 fixed some hidden error in the syncing 2013-07-10 10:28:39 +02:00
Quitta
c27940ea09 Also made tickets cickable in the profile page! now let the DBLayer refactoring begin! 2013-07-10 10:13:53 +02:00
Quitta
0fa7687511 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
a768d234f1 fixed row formatting of the responses 2013-07-10 09:44:45 +02:00
Quitta
2adb6c075c forgot to add the files <,< 2013-07-10 02:41:21 +02:00
Quitta
9ae290ca2e Show_Ticket starts to work :) 2013-07-10 02:41:03 +02:00
Quitta
3dbf4a63ce 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
306357d552 added gui_elements class 2013-07-09 16:03:52 +02:00
Quitta
ab323a9c6b Show the user his tickets in the user profile screen 2013-07-09 01:03:49 +02:00
Quitta
6170f1139c show user added, where admins can create a ticket from another user 2013-07-08 17:14:03 +02:00
Quitta
07cda95e11 updated install, added create_Ticket function as wrapper! 2013-07-08 14:49:03 +02:00
Quitta
31571a2151 added mennu item for createticket 2013-07-08 09:58:29 +02:00
Quitta
a81cfa976f create ticket works, also admins can create other people's tickets 2013-07-08 09:40:48 +02:00
Quitta
35d8d4a89a Creation of a ticket (not the content yet though) seems to work 2013-07-06 22:38:57 +02:00
Quitta
54b0eef8b7 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