Commit graph

148 commits

Author SHA1 Message Date
Quitta
d1fe49fc7b base class for assigned added 2013-07-20 13:19:14 +02:00
Quitta
350b78f55e forgot to push the time-format in config file update! :) 2013-07-20 01:04:20 +02:00
Quitta
9e86017a65 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
16fa7aa7dc 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
19721376a7 Admins/Mods can post hidden replies! 2013-07-19 15:59:39 +02:00
Quitta
5608185e1d 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
e7f83761ec 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
76a3a66c89 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
cb9289f09c 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
5033e45c6a refactored to admin/mod + changed install file + added mod menu 2013-07-18 21:12:03 +02:00
Quitta
9922c9e60a found the @#!$& bug, why on earth did I comment that in the past <,< 2013-07-18 15:52:03 +02:00
Quitta
f4b8ed12a0 changed system to mod/admin permissions, though there's still a bug in show_ticket 2013-07-18 12:43:33 +02:00
Quitta
74a4ed88a2 Deletion of support_groups is possible, on delete cascade is pretty cool :D 2013-07-16 17:43:55 +02:00
Quitta
f59af9ae4f 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
c45d4a7a3b changed layout a bit, this seems better! :) 2013-07-16 05:47:31 +02:00
Quitta
66f2b00f60 It's now possible to add someone to a support group 2013-07-16 04:58:54 +02:00
Quitta
4f881e9395 Show single group and there users almost done 2013-07-15 21:18:51 +02:00
Quitta
4cb1b633a2 support group class added + list of support groups added! 2013-07-15 17:29:19 +02:00
Quitta
77ef51b759 Updated database and sql model added support group and insupportgroup 2013-07-14 23:40:24 +02:00
Quitta
668be7f1ab # ticket queues, though moving away from this approach 2013-07-14 22:33:09 +02:00
Quitta
089830c59e ticket queue base added 2013-07-14 16:38:36 +02:00
Quitta
781add24c0 small fix to make it run on my server 2013-07-14 03:05:13 +02:00
Quitta
5c0685a071 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
60508847eb show time elapsed as tooltip, which could be handy, started making the show_reply.tpl 2013-07-13 18:04:40 +02:00
Quitta
c539aac7df don't show the textarea for reply when ticket is closed. 2013-07-13 17:11:54 +02:00
Quitta
4c8aa5b128 use language ini files to select correct log thing 2013-07-13 16:41:52 +02:00
Quitta
ffb3499bdb Show the logs in show_ticket_log 2013-07-13 03:46:15 +02:00
Quitta
578e8d7b3f 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
f310f87658 added log system, added ticketupdateStatusandPriority(), using JSON for keeping action etc 2013-07-12 19:43:33 +02:00
Quitta
1f8ed0b845 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
fe0366c2a9 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
5fd3b54015 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
002bf2abff ticket reply show correct username, this was harder then expected 2013-07-10 22:40:01 +02:00
Quitta
9b37a2426c 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
5ca6bb3528 forward to show ticket after creating ticket, also build basis for replying on ticket! 2013-07-10 13:05:05 +02:00
Quitta
10469758a2 Refacoring of DBLayer seems to work now :) 2013-07-10 12:36:14 +02:00
Quitta
3ba7ae8253 fixed some hidden error in the syncing 2013-07-10 10:28:39 +02:00
Quitta
c27940ea09 Also made tickets cickable in the profile page! now let the DBLayer refactoring begin! 2013-07-10 10:13:53 +02:00
Quitta
0fa7687511 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
a768d234f1 fixed row formatting of the responses 2013-07-10 09:44:45 +02:00
Quitta
2adb6c075c forgot to add the files <,< 2013-07-10 02:41:21 +02:00
Quitta
9ae290ca2e Show_Ticket starts to work :) 2013-07-10 02:41:03 +02:00
Quitta
3dbf4a63ce 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
306357d552 added gui_elements class 2013-07-09 16:03:52 +02:00
Quitta
ab323a9c6b Show the user his tickets in the user profile screen 2013-07-09 01:03:49 +02:00
Quitta
6170f1139c show user added, where admins can create a ticket from another user 2013-07-08 17:14:03 +02:00
Quitta
07cda95e11 updated install, added create_Ticket function as wrapper! 2013-07-08 14:49:03 +02:00
Quitta
31571a2151 added mennu item for createticket 2013-07-08 09:58:29 +02:00
Quitta
a81cfa976f create ticket works, also admins can create other people's tickets 2013-07-08 09:40:48 +02:00
Quitta
35d8d4a89a Creation of a ticket (not the content yet though) seems to work 2013-07-06 22:38:57 +02:00
Quitta
54b0eef8b7 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
8d46a9988a createticket template done + when registering: create ticket_user + when login make session object ticket_user 2013-07-06 18:27:25 +02:00
Quitta
69dd053660 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
4418b98ce8 Add some default categories 2013-07-05 23:00:19 +02:00
Quitta
cd578ca6fb Added database setup into install 2013-07-05 22:28:31 +02:00
Quitta
1def207a9c updated the sync and added some new db tabels in the install 2013-07-05 03:50:43 +02:00
Quitta
72af630dce Added the DB scheme + png image as reference 2013-07-05 00:51:26 +02:00
Quitta
c6c76ea30d Added functionality to update country + gender + added some xss security 2013-07-05 00:37:48 +02:00
Quitta
9a1693fcf1 Made country select code way more easy to handle by using smarty's foreach loop 2013-07-04 22:05:26 +02:00
Quitta
184e5b955e making install dependent on config file for db name 2013-07-04 01:26:55 +02:00
Quitta
caaa8cf917 error template added, fixed some small bugs 2013-07-03 18:49:23 +02:00
Quitta
270d16e78d 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
0bd81c29a3 added a userlist to browse users and edit their settings as admin 2013-07-03 05:57:50 +02:00
Quitta
a215d16bdb Change info works, without whiping the other fiels now! :) 2013-07-03 03:05:01 +02:00
Quitta
9111e87782 Checking filled in data for change_info has to be updated 2013-07-02 16:36:44 +02:00
Quitta
a1c2de3bd8 change info page basics 2013-07-02 16:07:55 +02:00
Quitta
938104466c Change email seems to work, also for admin's :) 2013-07-02 04:42:12 +02:00
Quitta
b6d55190e8 changepassword works 2013-07-02 03:36:49 +02:00
Quitta
ad9f32c191 change password is now usable for GM's too by using a GET['id'] param! 2013-07-01 23:29:16 +02:00
Quitta
ffa8d86cfa Settings page layout set! 2013-07-01 18:28:37 +02:00
Quitta
2ad017f821 template for changing the settings added, still needs quite some work 2013-06-30 05:53:31 +02:00
Quitta
aaab5c4b3d added flags to inlog/logout etc, + added some base translations 2013-06-29 20:46:38 +02:00
Quitta
3fc8ba2004 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
09f6f14a2f 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
20347b6b2a 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
a2615f5cf2 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
31e534857a add language flags + js for activating them 2013-06-28 18:10:02 +02:00
Quitta
467250c549 messing around and fixing throwing of exceptions in DBLayer 2013-06-28 06:18:23 +02:00
Quitta
1d0c66e401 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
76d483e7e4 small test to check if ajax works on the pages, it still seems to work :) 2013-06-27 20:18:36 +02:00
Quitta
60f3d1c6e3 dblayer + refactored the db parts 2013-06-27 18:06:09 +02:00
Quitta
ec074a3523 Syncing basics, need refactoring though 2013-06-27 04:54:41 +02:00
Quitta
c5965b4d10 show name when logged in in main top bar 2013-06-26 17:43:29 +02:00
Quitta
ec5572d0de 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
6d745f58e0 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
Quitta
b05b0b0b51 Reworked register 2013-06-26 03:26:25 +02:00
Quitta
30247f7702 Reworked index.php a little, though something is going wrong with my session variables 2013-06-25 21:33:49 +02:00
Quitta
e6d6c0dc67 Loging in match searching seems to work :) 2013-06-25 20:57:10 +02:00
Quitta
ec4b3818a5 Register seems to work :) Next step permissions and login 2013-06-20 01:02:27 +02:00
Quitta
e7f8d1dbcb first attempt to get register up and running 2013-06-19 23:53:53 +02:00
Quitta
599150292a small fixes of last night, still have to figure out a way to get the mkdir warning dissapear! 2013-06-19 21:05:12 +02:00
Quitta
0fd279875f register refactoring + small bug fixes that went unnoticed before 2013-06-19 06:50:08 +02:00
Botanic
33a416cd62 add_user example 2013-06-18 10:48:54 -07:00
Quitta
e643b6274c show error message + tooltips while registering 2013-06-18 16:27:57 +02:00
Quitta
540f1bf9b1 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! 2013-06-18 07:22:24 +02:00
Quitta
4f5c75fd00 Changed register form + tried getting messages passed 2013-06-17 21:42:33 +02:00
Quitta
37b93d3099 Select automatically if it should load with no_visible_elements on or off + minor updates 2013-06-17 16:29:20 +02:00
Quitta
8e100fd011 Merge with rc-botanic-webdev 2013-06-17 16:03:24 +02:00