Commit graph

1313 commits

Author SHA1 Message Date
kaetemi
cf42b3473f Fix a compile error 2013-07-28 17:49:28 +02:00
kaetemi
0163a508c2 Merge 2013-07-28 09:17:58 +02:00
kaetemi
32082e854a Avoid redundant per-frame calls to getDbProp("UI:VARIABLES:DIRECTION"")
--HG--
branch : kaetemi-optimize
2013-07-28 09:06:11 +02:00
kaetemi
16783449a7 Avoid redundant per-frame calls to getDbProp in outpost.xml and outpost.lua
--HG--
branch : kaetemi-optimize
2013-07-28 08:55:28 +02:00
kaetemi
70ea479714 Make _ShowReticleLeaf static
--HG--
branch : kaetemi-optimize
2013-07-28 08:35:40 +02:00
kaetemi
ed912ab3ae Avoid redundant per-frame calls to getDbProp("UI:VARIABLES:CDB_INIT_IN_PROGRESS")
--HG--
branch : kaetemi-optimize
2013-07-28 08:22:53 +02:00
kaetemi
1fc4277cf4 Avoid redundant per-frame calls to getDbProp("UI:VARIABLES:MK_MOVE")
--HG--
branch : kaetemi-optimize
2013-07-28 08:19:54 +02:00
kaetemi
cc2465199c Avoid redundant per-frame calls to getDbProp("UI:SAVE:USER_CHAR_FADE")
--HG--
branch : kaetemi-optimize
2013-07-28 08:16:02 +02:00
kaetemi
23ac008cf1 Avoid redundant per-frame calls to getDbProp("SERVER:WEATHER:VALUE")
--HG--
branch : kaetemi-optimize
2013-07-28 08:13:19 +02:00
kaetemi
171faa31fb Avoid redundant calls to getDbProp("UI:SAVE:INSCENE:...")
--HG--
branch : kaetemi-optimize
2013-07-28 07:55:16 +02:00
kaetemi
477e9e8ef1 Avoid redundant calls to getDbProp in CEntityCL
--HG--
branch : kaetemi-optimize
2013-07-28 06:45:43 +02:00
kaetemi
aeb9f4d945 Avoid redundant per-frame calls to getDbProp("UI:ENTITY:GUILD:#:ICON")
--HG--
branch : kaetemi-optimize
2013-07-28 05:48:59 +02:00
kaetemi
13fc6ffb58 Avoid per-frame 'set' action handler in map.xml when opening the respawn map
--HG--
branch : kaetemi-optimize
2013-07-28 05:21:05 +02:00
kaetemi
22710e12bd Avoid per-frame 'set' action handler in config.xml for blending day and night color
--HG--
branch : kaetemi-optimize
2013-07-28 05:21:00 +02:00
kaetemi
5a9537dfcc 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
--HG--
branch : kaetemi-optimize
2013-07-28 05:10:07 +02:00
kaetemi
19a8b48355 Avoid redundant per-frame calls to getDbProp("SERVER:USER:DEFAULT_WEIGHT_HANDS")
--HG--
branch : kaetemi-optimize
2013-07-28 05:10:06 +02:00
kaetemi
a75bd5d23a Avoid redundant per-frame calls to getDbProp in CNetManager
--HG--
branch : kaetemi-optimize
2013-07-28 05:10:06 +02:00
kaetemi
d5308215aa Avoid redundant per-frame calls to getDbProp in NLGUI::CWidgetManager
--HG--
branch : kaetemi-optimize
2013-07-28 00:48:34 +02:00
kaetemi
fb00acf329 Avoid redundant per-frame calls to getDbValue32(toString("SERVER:CHARACTER_INFO:CHARACTERISTICS%d:VALUE", i))
--HG--
branch : kaetemi-optimize
2013-07-28 00:29:32 +02:00
kaetemi
5f80a90a1c Avoid redundant per-frame calls to getDbProp("UI:VARIABLES:FPS", false)
--HG--
branch : kaetemi-optimize
2013-07-28 00:29:32 +02:00
kaetemi
2a57f6c647 Avoid redundant per-frame calls to getDbProp("UI:VARIABLES:TOTAL_MALUS_EQUIP", false)
--HG--
branch : kaetemi-optimize
2013-07-28 00:29:32 +02:00
kaetemi
0897092fe3 Avoid redundant per-frame calls to getDbProp("UI:SAVE:SHOW_RETICLE")
--HG--
branch : kaetemi-optimize
2013-07-28 00:29:25 +02:00
kervala
8577277bfd 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
55a00fd518 Don't do EOL changes for database.xml and msg.xml, causes checksum difference 2013-07-25 18:06:32 +02:00
kaetemi
e9c274c135 Use tags for pacs prim export 2013-07-24 20:51:38 +02:00
kaetemi
179669116c EOL 2013-07-24 20:51:26 +02:00
Quitta
3d309fbfa5 Merge with default
--HG--
branch : quitta-gsoc-2013
2013-07-24 13:14:27 +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
kaetemi
347d4e0940 Some necessary ryzom tools did not build when client and server were unchecked 2013-07-19 18:11:31 +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
Quitta
ba69c5939e added gui_elements class
--HG--
branch : quitta-gsoc-2013
2013-07-09 16:03:52 +02:00
Quitta
9d3317eb0c Show the user his tickets in the user profile screen
--HG--
branch : quitta-gsoc-2013
2013-07-09 01:03:49 +02:00
Quitta
61aebf6b3b show user added, where admins can create a ticket from another user
--HG--
branch : quitta-gsoc-2013
2013-07-08 17:14:03 +02:00
Quitta
1e4daba4ae updated install, added create_Ticket function as wrapper!
--HG--
branch : quitta-gsoc-2013
2013-07-08 14:49:03 +02:00
Quitta
fa07e3cd16 added mennu item for createticket
--HG--
branch : quitta-gsoc-2013
2013-07-08 09:58:29 +02:00
Quitta
21d3bf363b create ticket works, also admins can create other people's tickets
--HG--
branch : quitta-gsoc-2013
2013-07-08 09:40:48 +02:00
Quitta
56fa0bf238 Creation of a ticket (not the content yet though) seems to work
--HG--
branch : quitta-gsoc-2013
2013-07-06 22:38:57 +02:00
Quitta
a81b2dc9b3 woops forgot to add those in last update, also loading all categories from the db works now
--HG--
branch : quitta-gsoc-2013
2013-07-06 19:12:55 +02:00
Quitta
a3b284077c createticket template done + when registering: create ticket_user + when login make session object ticket_user
--HG--
branch : quitta-gsoc-2013
2013-07-06 18:27:25 +02:00
Quitta
ff96e6db5e Added ticket class | added ticket_user class| added ticket_category class. These aren't tested yet, so expect errors and changes! :D
--HG--
branch : quitta-gsoc-2013
2013-07-06 06:09:47 +02:00
Quitta
b163ab7960 Add some default categories
--HG--
branch : quitta-gsoc-2013
2013-07-05 23:00:19 +02:00
Quitta
c045617e98 Added database setup into install
--HG--
branch : quitta-gsoc-2013
2013-07-05 22:28:31 +02:00
Quitta
10cbc0b63b updated the sync and added some new db tabels in the install
--HG--
branch : quitta-gsoc-2013
2013-07-05 03:50:43 +02:00
Quitta
4ee0c06991 Added the DB scheme + png image as reference
--HG--
branch : quitta-gsoc-2013
2013-07-05 00:51:26 +02:00
Quitta
3184941710 Added functionality to update country + gender + added some xss security
--HG--
branch : quitta-gsoc-2013
2013-07-05 00:37:48 +02:00
Quitta
e187da3f6b Made country select code way more easy to handle by using smarty's foreach loop
--HG--
branch : quitta-gsoc-2013
2013-07-04 22:05:26 +02:00