Commit graph

191 commits

Author SHA1 Message Date
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
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
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
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
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
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
8981556796 fixed row formatting of the responses
--HG--
branch : quitta-gsoc-2013
2013-07-10 09:44:45 +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
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
537916d828 making install dependent on config file for db name
--HG--
branch : quitta-gsoc-2013
2013-07-04 01:26:55 +02:00
Quitta
93c1998a60 error template added, fixed some small bugs
--HG--
branch : quitta-gsoc-2013
2013-07-03 18:49:23 +02:00
Quitta
a1a052dd72 Change email seems to work, also for admin's :)
--HG--
branch : quitta-gsoc-2013
2013-07-02 04:42:12 +02:00
Quitta
2130875539 changepassword works
--HG--
branch : quitta-gsoc-2013
2013-07-02 03:36:49 +02:00
Quitta
75ff3e1ed4 change password is now usable for GM's too by using a GET['id'] param!
--HG--
branch : quitta-gsoc-2013
2013-07-01 23:29:16 +02:00
Quitta
23e9b57703 Settings page layout set!
--HG--
branch : quitta-gsoc-2013
2013-07-01 18:28:37 +02:00
Quitta
a769a985d9 template for changing the settings added, still needs quite some work
--HG--
branch : quitta-gsoc-2013
2013-06-30 05:53:31 +02:00
Quitta
40d6617216 added flags to inlog/logout etc, + added some base translations
--HG--
branch : quitta-gsoc-2013
2013-06-29 20:46:38 +02:00
Quitta
8ff40bb619 added initial admin/admin account when sql/install is executed, also added the admin's functionality: libuserlist
--HG--
branch : quitta-gsoc-2013
2013-06-29 19:05:54 +02:00
Quitta
4f82afa5d0 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
--HG--
branch : quitta-gsoc-2013
2013-06-29 06:46:10 +02:00
Quitta
4034c83382 webUsers derived from Users, with www dependent functionality to check if username already in use or email already in use
--HG--
branch : quitta-gsoc-2013
2013-06-29 05:02:54 +02:00
Quitta
76e46c9fc4 add language flags + js for activating them
--HG--
branch : quitta-gsoc-2013
2013-06-28 18:10:02 +02:00
Quitta
4755b7478f messing around and fixing throwing of exceptions in DBLayer
--HG--
branch : quitta-gsoc-2013
2013-06-28 06:18:23 +02:00
Quitta
3b58c56d5b Language stuff supports cookies now and in case a not specified language is given, then it uses the default
--HG--
branch : quitta-gsoc-2013
2013-06-27 20:50:32 +02:00
Quitta
fe70ca714b small test to check if ajax works on the pages, it still seems to work :)
--HG--
branch : quitta-gsoc-2013
2013-06-27 20:18:36 +02:00
Quitta
9a41affe9f dblayer + refactored the db parts
--HG--
branch : quitta-gsoc-2013
2013-06-27 18:06:09 +02:00
Quitta
afd473aaff Syncing basics, need refactoring though
--HG--
branch : quitta-gsoc-2013
2013-06-27 04:54:41 +02:00
Quitta
9e6597e937 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
--HG--
branch : quitta-gsoc-2013
2013-06-26 16:35:33 +02:00
Quitta
c59e3d0b47 feedback on registering early version, also added an installer.php in the previous revision, forgot to mention that
--HG--
branch : quitta-gsoc-2013
2013-06-26 04:03:16 +02:00
Quitta
5a163663cc Reworked register
--HG--
branch : quitta-gsoc-2013
2013-06-26 03:26:25 +02:00
Quitta
e72eac8888 Reworked index.php a little, though something is going wrong with my session variables
--HG--
branch : quitta-gsoc-2013
2013-06-25 21:33:49 +02:00
Quitta
8f2f0a3ad7 Loging in match searching seems to work :)
--HG--
branch : quitta-gsoc-2013
2013-06-25 20:57:10 +02:00
Quitta
761d7b2775 Register seems to work :) Next step permissions and login
--HG--
branch : quitta-gsoc-2013
2013-06-20 01:02:27 +02:00
Quitta
4f822c37fe first attempt to get register up and running
--HG--
branch : quitta-gsoc-2013
2013-06-19 23:53:53 +02:00
Quitta
c22e1de52d small fixes of last night, still have to figure out a way to get the mkdir warning dissapear!
--HG--
branch : quitta-gsoc-2013
2013-06-19 21:05:12 +02:00
Quitta
fb622a9eb7 register refactoring + small bug fixes that went unnoticed before
--HG--
branch : quitta-gsoc-2013
2013-06-19 06:50:08 +02:00
Botanic
321edeff10 add_user example
--HG--
branch : rc-botanic-webdev
2013-06-18 10:48:54 -07:00
Quitta
61c9a3d9a6 show error message + tooltips while registering
--HG--
branch : quitta-gsoc-2013
2013-06-18 16:27:57 +02:00
Quitta
8ee559e662 Damn its early in the morning :D Oh well! Register works with a callback function. shows which fields are correctly filled in and which not yet. It runs quite smooth. Off to bed now!
--HG--
branch : quitta-gsoc-2013
2013-06-18 07:22:24 +02:00
Quitta
79e7b18bc8 Changed register form + tried getting messages passed
--HG--
branch : quitta-gsoc-2013
2013-06-17 21:42:33 +02:00
Quitta
9806ea6ef0 Trying to intigrate the home template in the inheritance structure of smarty
--HG--
branch : quitta-gsoc-2013
2013-06-17 15:39:55 +02:00
Botanic
19f7b3ec9c cleaned up formatting and added custom.css
--HG--
branch : rc-botanic-webdev
2013-06-16 22:57:09 -07:00
Botanic
08d3d766a2 updated the index pages with home register and login
--HG--
branch : rc-botanic-webdev
2013-06-16 20:11:11 -07:00
Quitta
9f6349843c Fixed layout for register.tpl and login.tpl, it now uses also layout.tpl but with a parameter 'no_visible_elements' => 'TRUE'
--HG--
branch : quitta-gsoc-2013
2013-06-16 01:40:13 +02:00
Quitta
260315d1ef Basic template integration with css
--HG--
branch : quitta-gsoc-2013
2013-06-16 00:13:13 +02:00
Botanic
4438e87a8c added charisma
--HG--
branch : rc-botanic-webdev
2013-06-15 07:01:11 -07:00
Botanic
900ce13318 forgot global
--HG--
branch : rc-botanic-webdev
2013-06-13 14:41:58 -07:00
Botanic
102a4c3950 auto create folders
--HG--
branch : rc-botanic-webdev
2013-06-13 14:33:23 -07:00
Botanic
1f648910ed latest changes to work on getting registration working
--HG--
branch : rc-botanic-webdev
2013-06-10 04:17:55 -07:00
Botanic
3e2278d692 updated template for registration and setting up add_user functions
--HG--
branch : rc-botanic-webdev
2013-06-07 04:05:28 -07:00
Botanic
40ba525e5a added base drupal module and removed old phtml file
--HG--
branch : rc-botanic-webdev
2013-06-06 23:07:47 -07:00
Botanic
524e338f68 cleaned up templates and got languages working
--HG--
branch : rc-botanic-webdev
2013-06-06 22:59:11 -07:00
Botanic
9ed3f20570 added in smarty, still need to finish making it load the correct template properly
--HG--
branch : rc-botanic-webdev
2013-06-06 21:43:11 -07:00
Botanic
0a3020e971 added in-game template file
--HG--
branch : rc-botanic-webdev
2013-06-05 23:39:33 -07:00
Botanic
4d3acc9cc0 added base class file for sql as well as updated users to use class
--HG--
branch : rc-botanic-webdev
2013-06-05 23:19:40 -07:00
Botanic
c256187ead initial work on ams_lib
--HG--
branch : rc-botanic-webdev
2013-06-05 23:04:46 -07:00