Commit graph

65 commits

Author SHA1 Message Date
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
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
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
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
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
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
9003f4781a Refacoring of DBLayer seems to work now :)
--HG--
branch : quitta-gsoc-2013
2013-07-10 12:36:14 +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
e4ffdeccc7 forgot to add the files <,<
--HG--
branch : quitta-gsoc-2013
2013-07-10 02:41:21 +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
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
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
Quitta
93c1998a60 error template added, fixed some small bugs
--HG--
branch : quitta-gsoc-2013
2013-07-03 18:49:23 +02:00
Quitta
0275e11e48 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!
--HG--
branch : quitta-gsoc-2013
2013-07-03 06:03:01 +02:00
Quitta
25f479f3d0 added a userlist to browse users and edit their settings as admin
--HG--
branch : quitta-gsoc-2013
2013-07-03 05:57:50 +02:00
Quitta
d3b12f74a4 change info page basics
--HG--
branch : quitta-gsoc-2013
2013-07-02 16:07:55 +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
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
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
a3b3dbd59c 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
--HG--
branch : quitta-gsoc-2013
2013-06-29 05:23:38 +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
4755b7478f messing around and fixing throwing of exceptions in DBLayer
--HG--
branch : quitta-gsoc-2013
2013-06-28 06:18:23 +02:00