Commit graph

423 commits

Author SHA1 Message Date
Quitta
3d7a7dc191 Merge with quitta-gsoc-2013 2013-09-23 00:49:16 +02:00
Quitta
f93034248d forgot to change one button, quick fix 2013-09-21 00:35:04 +02:00
Quitta
b03930ce00 changed button sizes and added the forgot password link to the client_cfg.cpp 2013-09-21 00:28:53 +02:00
Quitta
54342837ff forgot password added 2013-09-20 23:36:19 +02:00
Quitta
1376158cb1 Made it possible to redirect to a specific page after login in 2013-09-20 05:33:39 +02:00
Quitta
17233ba735 renamed the config to config.default.php 2013-09-20 03:11:04 +02:00
Quitta
b1c10fbf10 some extra information added + changed the default hardcoded register & support url in the client_cfg.cpp 2013-09-20 02:41:57 +02:00
Quitta
2e68196b2a tried to fix error messages being shown 2013-09-17 05:26:09 +02:00
Quitta
6cc2c8cfc3 it works, though this will also forward the client to the success page 2013-09-17 04:58:02 +02:00
Quitta
e889c639db bah, its late and I'm not working in c++... 2013-09-17 04:35:37 +02:00
Quitta
7b1c32176d this should fix it :D! 2013-09-17 04:24:57 +02:00
Quitta
4da16dbaad wasn't completely fixed yet, hopefuly it now is 2013-09-17 02:31:02 +02:00
Quitta
4c3aedef87 small fix 2013-09-17 01:59:40 +02:00
Quitta
eb138a8760 syncing small fix 2013-09-15 19:44:24 +02:00
Quitta
8f4e3d39aa putted image files in the www folder too, because else it can't be accessed from outside! 2013-09-15 19:38:49 +02:00
Quitta
1884997714 added function that imports the users from the nel db into the ams/ticket_user 2013-09-15 19:15:17 +02:00
Quitta
dfa885fcca updated the docs! 2013-09-15 18:27:07 +02:00
Quitta
2d776a65ed Added more documentations, this time also the inc/func files are documented and changed the doxygen config file with the help of Botanic 2013-09-14 00:39:03 +02:00
Quitta
ef3f24d8df Added the doxygen generated pages + config file in ryzom/tools/server/ryzom_ams_docs 2013-09-13 00:27:49 +02:00
Quitta
75dcaa9ec3 the lib is entirely documented, still webusers and func/inc folders to go :D 2013-09-12 19:28:56 +02:00
Quitta
3030d4c650 some more documented classes.. 2013-09-12 06:13:28 +02:00
Quitta
ce36454383 added extra documentation. Man, writing documentation for the ticket class was quite a job :D 2013-09-11 23:51:23 +02:00
Quitta
135e57720c Even more docs! writing documentation sucks.. 2013-09-11 16:56:00 +02:00
Quitta
bef4d1d029 added more documentation.. 2013-09-11 01:38:53 +02:00
Quitta
e07bd3e2a5 added documentation for assigned, dblayer and forwarded class 2013-09-10 21:26:03 +02:00
Quitta
8ab4b6ba84 Just retested the mailing functionality, which seems to still work proper 2013-09-10 04:42:36 +02:00
Quitta
9b74660631 removed my testing pass out of the config file :D 2013-09-09 23:31:49 +02:00
Quitta
1b2475281f Added CreatePermissions + handling it while syncing + changed image path to refer to the image locations dir + other fixes 2013-09-09 23:30:45 +02:00
Quitta
91c9c04dc3 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 2013-09-09 03:47:32 +02:00
Quitta
e01c0c0913 Soem fixes + also using the createPermissions() function of the module atm! 2013-09-08 22:49:39 +02:00
Quitta
a33288c5f2 Huge update! ingame part should work! 2013-09-08 06:01:01 +02:00
Quitta
67f5741243 Ingame version works now too more or less 2013-09-07 04:12:47 +02:00
kervala
1560df430a Changed: Replace atoi by NLMISC::fromString 2013-09-06 14:45:48 +02:00
Quitta
d267e60514 show queue works and show ticket info, I think all outgame aspects are covered now! 2013-09-06 04:52:37 +02:00
Quitta
4691242d4d added support group functionality to the drupal module 2013-09-05 21:33:11 +02:00
Quitta
dd14548048 some fixes for the real version 2013-09-05 04:29:47 +02:00
Quitta
8f2dd7f2fd userlist works, show reply works, also possible to change the permissions of the users (though relying on the libs permission system atm..) 2013-09-05 04:16:28 +02:00
Quitta
8af7f02311 show ticket log works + fixed timestamp issue 2013-09-05 03:29:34 +02:00
Quitta
f795cf44d2 Creating tickets, browsing the profile, replying on tickets and forwarding them is possible! 2013-09-05 02:31:29 +02:00
Quitta
98e5964869 helpers class updated! 2013-09-04 17:49:46 +02:00
Quitta
fd368bb123 can display the dashboard html atm 2013-09-04 17:44:43 +02:00
Quitta
213000c5c8 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
6f4fb697b5 added amsblock and a menu item for the ams page 2013-09-03 04:55:51 +02:00
Quitta
08d21336af 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
2805577c81 auto login when calling the page from ingame (should work)... 2013-09-02 21:21:41 +02:00
Quitta
38fe1ee557 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
e992a3aef0 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
ebc2c1c144 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
ef61212038 including the module problem 2013-09-02 04:42:56 +02:00
Quitta
1867c9d196 started working on the module + small addition 2013-09-02 04:15:18 +02:00
Quitta
362e395779 small bug fix 2013-09-01 18:15:41 +02:00
Quitta
01f6d6fabd ingame dashboard also fixed! 2013-08-29 22:19:37 +02:00
Quitta
a86f192c84 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
600b016e1d added images in the ingame part, added config properties & fixed time bug in queues page 2013-08-29 02:08:05 +02:00
Quitta
2f07d292e5 Fancified outgame show info page and made ingame info page 2013-08-28 22:24:47 +02:00
Quitta
a795c58256 ticket showing works outgame, but needs fancyfying :D 2013-08-28 05:31:06 +02:00
Quitta
fa86db3cc7 updated, stroing to the db seems to work! 2013-08-28 02:24:08 +02:00
Quitta
52f90e9261 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
420bb064c6 ticket_info class almost done 2013-08-27 19:08:10 +02:00
Quitta
d6c8483029 Finaly got it to working again.. 2013-08-26 17:25:28 +02:00
Quitta
dabf1da618 added language support however, something is broken :/ 2013-08-26 11:34:51 +02:00
Quitta
c6ce0a188a mailing refactored 2013-08-26 05:37:55 +02:00
Quitta
d147cc681c #mailing languages setup 2013-08-25 17:49:01 +02:00
Quitta
e9f3a560a8 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
845719fd29 receive messages setting is added to the ingame layout 2013-08-25 01:22:24 +02:00
Quitta
bce43b641e Inagme layout for modifying group email stuff is fixed 2013-08-24 17:19:46 +02:00
Quitta
59ae5ce380 Fixed sgroup_liist ingame layout.. 2013-08-24 15:56:16 +02:00
Quitta
2cf3441ab8 put mail cron related debug info into a log file specified in config.php 2013-08-20 04:33:23 +02:00
Quitta
78aa1074af fixing a lot of mail bug problems 2013-08-20 02:08:12 +02:00
Quitta
72a0c8303c Added encryption by using the openSSL functionality to encrypt the email passwords in the db 2013-08-19 20:22:01 +02:00
Quitta
ba0e8e2d51 Users can specify if they want to receive or dont want to receive tickt updates! 2013-08-19 00:02:55 +02:00
Quitta
e0d9ff8628 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
83d4a89e46 fixed some nasty errors + made it show the entire replied message 2013-08-18 02:49:58 +02:00
Quitta
2a7f13c8d8 response is being sent from the correct support group atm 2013-08-18 02:17:02 +02:00
Quitta
b765b0133d 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
993973441a creating new tickets over email works 2013-08-17 03:06:22 +02:00
Quitta
70fdf0dc74 Hanle multiple mailaccounts 2013-08-16 22:24:11 +02:00
Quitta
420454f7f3 sending mail with supportgroup ID is possible 2013-08-16 21:43:39 +02:00
Quitta
141f40835f Functionality to modify mailsettings of a support group. 2013-08-16 05:37:38 +02:00
Quitta
e169978d13 add email related stuff to support groups 2013-08-16 03:40:59 +02:00
Quitta
759ee63e9f ticket mail system basis works 2013-08-13 17:16:43 +02:00
Quitta
9ac1f5ffb4 ticket hanling function added 2013-08-12 23:56:58 +02:00
Quitta
188552a135 not sure if I should keep the task creation or not, will ask Botanic tomorrow 2013-08-12 05:14:00 +02:00
Quitta
7206e19c20 ready to do the imap part 2013-08-12 01:11:48 +02:00
Quitta
0d57ff53e8 basis seems to run in terminal, however mail() doesn't work yet 2013-08-11 03:55:07 +02:00
Quitta
74cfcdaac2 ready for testing the send mail functionality :) 2013-08-11 02:29:31 +02:00
Quitta
784fd5ecea updates to the mail_handler 2013-08-10 13:59:36 +02:00
Quitta
6b4deea068 added mail_handler class (from Botanic) still needs to be reworked + added show queue template 2013-08-10 01:46:21 +02:00
Quitta
7a051a8068 more elements per page! 2013-08-06 06:07:49 +02:00
Quitta
a2b83bb6c7 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
2d863042e5 I think I'm done refactoring the queues 2013-08-06 01:00:17 +02:00
Quitta
c38605f74c refactor queue's part 1 2013-08-05 22:35:22 +02:00
Quitta
6faceea785 userlist works with pagination 2013-08-05 21:12:58 +02:00
Quitta
528f6d858a refactoring webusers.php 2013-08-05 17:31:36 +02:00
Quitta
cee8bbc495 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
e5d5cfe0cc pagination seems to work! :) 2013-08-05 05:27:19 +02:00
Quitta
d1795c32f8 generic pagination with debugging for testing it atm 2013-08-05 04:37:20 +02:00
Quitta
7fea272d82 Pagination class added, not tested yet :D 2013-08-04 20:27:07 +02:00
Quitta
5ab79d3185 languages handling done 2013-08-03 18:59:21 +02:00
Quitta
dee33cda06 color scheme configuration with colors loaed from ingame_layout.ini 2013-08-03 05:00:39 +02:00
Quitta
2ab086183d fixed assigning/unassigning and sending empty messages 2013-08-03 04:00:41 +02:00
Quitta
0310bbd680 forgot to add the files 2013-08-02 19:44:28 +02:00
Quitta
1de3c2b40c log + reply ingame page 2013-08-02 19:43:43 +02:00
Quitta
47861c19d3 show ticket layout is done,though some unpleasant bugs turned up 2013-08-02 17:03:26 +02:00
Quitta
28847b88f1 show ticket save before going to bed 2013-08-02 05:27:00 +02:00
Quitta
461681ec33 Added the android app of Botanic :) 2013-08-02 04:47:33 +02:00
Quitta
99a50c00be basis for show ticket 2013-08-01 23:10:26 +02:00
Quitta
3c2b2ef53d added db parameter to the syncing 2013-08-01 18:20:40 +02:00
Quitta
e4d6228055 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
DJanssens
70a98da8a8 autologin works 2013-07-31 15:08:35 -07:00
Quitta
b3b39bd15f 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
471b4b2904 Merge 2013-07-31 22:29:09 +02:00
Quitta
b97824e0af change home button 2013-07-31 22:27:59 +02:00
DJanssens
af10295644 test 2013-07-31 13:03:12 -07:00
Quitta
3c85cd86b9 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
efe5213887 create ticket almost done, sadly textarea isn't really helping because can't specify #rows 2013-07-31 03:31:50 +02:00
Quitta
49cb5fe731 settings finished 2013-07-31 02:09:21 +02:00
Quitta
93af1b2fde settings page is starting to look nice 2013-07-31 01:19:57 +02:00
Quitta
8368f37357 finally got some basic layout starting to look good! 2013-07-30 20:18:01 +02:00
Quitta
ba72925b86 working o the basic layout 2013-07-30 19:13:32 +02:00
Quitta
8903abf8d8 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
0bf8c4d526 fix for getting client working + possibly auto login for ingame part 2013-07-30 01:46:56 +02:00
Quitta
6d5db47669 queue creator works also added a few extra default queues 2013-07-23 23:38:06 +02:00
Quitta
03e526cc1e queue selector written with javascript functionality 2013-07-23 21:50:39 +02:00
Quitta
10cc131bad 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
5ece94a577 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
d34f9378c5 updated logging, when ticket is assigned/unassigned or forwarded, then it will be logged! 2013-07-22 20:33:34 +02:00
Quitta
f37483c357 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
95806fa9f4 Forward works, though needs refinement! also is shown in ticket info bar 2013-07-22 14:51:42 +02:00
Quitta
84e6a8290f forgot to add tge class 2013-07-22 13:19:21 +02:00
Quitta
47de1db21b class for forwarding + db update 2013-07-22 13:19:07 +02:00
Quitta
d2578c7589 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
10e98deade made the todo queue 2013-07-21 15:38:22 +02:00
Quitta
e50cfa46a1 People can assign and unassign to a ticket 2013-07-21 03:49:31 +02:00
Quitta
3e049aa0c8 in the show queue, it also shows the assigned users name :) 2013-07-20 14:45:05 +02:00
Quitta
4898e8a6af base class for assigned added 2013-07-20 13:19:14 +02:00
Quitta
7fe955affd forgot to push the time-format in config file update! :) 2013-07-20 01:04:20 +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