Commit graph

1386 commits

Author SHA1 Message Date
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
Quitta
e4fcb7ec4f Merge 2013-08-01 00:14:31 +02:00
Quitta
dd16f2fc1e made home back redo 2013-08-01 00:10:47 +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
e3625bc4e4 Merge with default 2013-07-31 16:17:29 +02: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
kaetemi
7a8db939ad Missed one 2013-07-28 18:22:35 +02:00
kaetemi
bff229da69 Fix a typo 2013-07-28 18:19:51 +02:00
kaetemi
19efd6fba8 Merge 2013-07-28 18:04:13 +02:00
kaetemi
880e9dc082 Fix another compile error 2013-07-28 18:02:43 +02:00
kaetemi
d9c15ede09 Can't include this here. A light header with all of these maximum constants might be handy 2013-07-28 17:59:05 +02:00
kaetemi
34553ca2db Fix a compile error 2013-07-28 17:49:28 +02:00
kaetemi
8bf0fbc60e Merge 2013-07-28 09:17:58 +02:00
kaetemi
7442168061 Avoid redundant per-frame calls to getDbProp("UI:VARIABLES:DIRECTION"") 2013-07-28 09:06:11 +02:00
kaetemi
3115bcb1ff Avoid redundant per-frame calls to getDbProp in outpost.xml and outpost.lua 2013-07-28 08:55:28 +02:00
kaetemi
430bfd26c6 Make _ShowReticleLeaf static 2013-07-28 08:35:40 +02:00
kaetemi
527df2511b Avoid redundant per-frame calls to getDbProp("UI:VARIABLES:CDB_INIT_IN_PROGRESS") 2013-07-28 08:22:53 +02:00
kaetemi
10e4eb4634 Avoid redundant per-frame calls to getDbProp("UI:VARIABLES:MK_MOVE") 2013-07-28 08:19:54 +02:00
kaetemi
b32f8b5025 Avoid redundant per-frame calls to getDbProp("UI:SAVE:USER_CHAR_FADE") 2013-07-28 08:16:02 +02:00
kaetemi
30ea315002 Avoid redundant per-frame calls to getDbProp("SERVER:WEATHER:VALUE") 2013-07-28 08:13:19 +02:00
kaetemi
1674b81cce Avoid redundant calls to getDbProp("UI:SAVE:INSCENE:...") 2013-07-28 07:55:16 +02:00
kaetemi
37277019be Avoid redundant calls to getDbProp in CEntityCL 2013-07-28 06:45:43 +02:00
kaetemi
3fe1a17503 Avoid redundant per-frame calls to getDbProp("UI:ENTITY:GUILD:#:ICON") 2013-07-28 05:48:59 +02:00
kaetemi
292df29429 Avoid per-frame 'set' action handler in map.xml when opening the respawn map 2013-07-28 05:21:05 +02:00
kaetemi
bf0e0b1d56 Avoid per-frame 'set' action handler in config.xml for blending day and night color 2013-07-28 05:21:00 +02:00
kaetemi
b09e28e9e0 Avoid having to use 'set' action handler, which parses the value expression on every use, in interface links by implementing use of cdb nodes as targets 2013-07-28 05:10:07 +02:00
kaetemi
22934d2b60 Avoid redundant per-frame calls to getDbProp("SERVER:USER:DEFAULT_WEIGHT_HANDS") 2013-07-28 05:10:06 +02:00
kaetemi
8bbb438674 Avoid redundant per-frame calls to getDbProp in CNetManager 2013-07-28 05:10:06 +02:00
kaetemi
36c969252b Avoid redundant per-frame calls to getDbProp in NLGUI::CWidgetManager 2013-07-28 00:48:34 +02:00
kaetemi
1273830c0e Avoid redundant per-frame calls to getDbValue32(toString("SERVER:CHARACTER_INFO:CHARACTERISTICS%d:VALUE", i)) 2013-07-28 00:29:32 +02:00
kaetemi
c2b29881bb Avoid redundant per-frame calls to getDbProp("UI:VARIABLES:FPS", false) 2013-07-28 00:29:32 +02:00
kaetemi
2cd88e5d9e Avoid redundant per-frame calls to getDbProp("UI:VARIABLES:TOTAL_MALUS_EQUIP", false) 2013-07-28 00:29:32 +02:00
kaetemi
beff07c398 Avoid redundant per-frame calls to getDbProp("UI:SAVE:SHOW_RETICLE") 2013-07-28 00:29:25 +02:00
kervala
0cbc471341 Fixed: prtab function not compiling with VC++ (define DEBUG_CRYPT if you want to debug crypt() method) 2013-07-26 09:33:32 +02:00
kaetemi
38c4b66cce Don't do EOL changes for database.xml and msg.xml, causes checksum difference 2013-07-25 18:06:32 +02:00
kaetemi
da53f11c73 Use tags for pacs prim export 2013-07-24 20:51:38 +02:00
kaetemi
199ead5988 EOL 2013-07-24 20:51:26 +02:00
Quitta
501a734f74 Merge with default 2013-07-24 13:14:27 +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
kaetemi
32553f4d87 Some necessary ryzom tools did not build when client and server were unchecked 2013-07-19 18:11:31 +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
34c688ee27 small fix to make it run on my server 2013-07-14 03:05:13 +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
18bc121efd fixed some hidden error in the syncing 2013-07-10 10:28:39 +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
Quitta
2f214d18b8 Add some default categories 2013-07-05 23:00:19 +02:00
Quitta
93469e1130 Added database setup into install 2013-07-05 22:28:31 +02:00
Quitta
1931f0f46f updated the sync and added some new db tabels in the install 2013-07-05 03:50:43 +02:00
Quitta
add130d21e Added the DB scheme + png image as reference 2013-07-05 00:51:26 +02:00
Quitta
aae614dd45 Added functionality to update country + gender + added some xss security 2013-07-05 00:37:48 +02:00
Quitta
f3a1410562 Made country select code way more easy to handle by using smarty's foreach loop 2013-07-04 22:05:26 +02:00
Quitta
c3da5bac66 making install dependent on config file for db name 2013-07-04 01:26:55 +02:00
Quitta
c5d063a6eb error template added, fixed some small bugs 2013-07-03 18:49:23 +02:00
Quitta
e0691ab9f5 small update, changed the libuserlist so it only shows id and type of the elements in the query db, also only manual syncing is possible when shard db is back online! 2013-07-03 06:03:01 +02:00
Quitta
ebca9d0a48 added a userlist to browse users and edit their settings as admin 2013-07-03 05:57:50 +02:00
Quitta
128529c6c1 Change info works, without whiping the other fiels now! :) 2013-07-03 03:05:01 +02:00
Quitta
2c4505c4c0 Checking filled in data for change_info has to be updated 2013-07-02 16:36:44 +02:00
Quitta
8df8d37ffb change info page basics 2013-07-02 16:07:55 +02:00
Quitta
f835f4a85f Change email seems to work, also for admin's :) 2013-07-02 04:42:12 +02:00
Quitta
2a1b8f9dd2 changepassword works 2013-07-02 03:36:49 +02:00
Quitta
a94bb6dbc7 change password is now usable for GM's too by using a GET['id'] param! 2013-07-01 23:29:16 +02:00
Quitta
10213a0530 Settings page layout set! 2013-07-01 18:28:37 +02:00
Quitta
a95960841e template for changing the settings added, still needs quite some work 2013-06-30 05:53:31 +02:00
Quitta
3aebdc0d40 added flags to inlog/logout etc, + added some base translations 2013-06-29 20:46:38 +02:00
Quitta
6e04a001a7 added initial admin/admin account when sql/install is executed, also added the admin's functionality: libuserlist 2013-06-29 19:05:54 +02:00
Quitta
47a278636b added libuserlist page, that shows entire list of users in the lib db, admins can remove entry of it and perform manual syncing. Still needs some work though 2013-06-29 06:46:10 +02:00
Quitta
beefbe03f8 Changed the way index handles page requests, also made a folder func, for when a form is submitted and requires a function to be performed and inc for pages that want to perform php code but without a form 2013-06-29 05:23:38 +02:00
Quitta
193a5843b0 webUsers derived from Users, with www dependent functionality to check if username already in use or email already in use 2013-06-29 05:02:54 +02:00
Quitta
6df401280a add language flags + js for activating them 2013-06-28 18:10:02 +02:00
Quitta
197457c356 messing around and fixing throwing of exceptions in DBLayer 2013-06-28 06:18:23 +02:00
Quitta
f6511b256f Language stuff supports cookies now and in case a not specified language is given, then it uses the default 2013-06-27 20:50:32 +02:00
Quitta
f0caa1f5d0 small test to check if ajax works on the pages, it still seems to work :) 2013-06-27 20:18:36 +02:00
Quitta
278dbb23ff dblayer + refactored the db parts 2013-06-27 18:06:09 +02:00
Quitta
229f76c3e8 Syncing basics, need refactoring though 2013-06-27 04:54:41 +02:00
Quitta
24587c1d6e show name when logged in in main top bar 2013-06-26 17:43:29 +02:00
Quitta
577d68a6d9 Added logout, refined login and took it back out of the lib. Added timers to forward after 5 seconds after logout & register. Looks good imo 2013-06-26 16:35:33 +02:00
Quitta
8735e2f7e6 feedback on registering early version, also added an installer.php in the previous revision, forgot to mention that 2013-06-26 04:03:16 +02:00