Commit Graph

268 Commits

Author SHA1 Message Date
Dmitriy Simushev
3e121c675f Removed old @todo 2013-03-13 07:55:36 +00:00
Dmitriy Simushev
be696ee3da Replaced settings functions with Settings class 2013-03-13 07:52:48 +00:00
Dmitriy Simushev
3929f26791 Created class for work with settings and test case for it 2013-03-13 07:49:50 +00:00
Dmitriy Simushev
ac64783a29 Moved database.php to libs/classes directory and related test case to tests/webim/libs/classes 2013-03-13 07:46:56 +00:00
Dmitriy Simushev
3e4163cbfe Replace database functions with Database class methods 2013-03-13 07:36:01 +00:00
Dmitriy Simushev
12883cfbe2 Created class for work with database and test class for it 2013-03-13 07:26:01 +00:00
Dmitriy Simushev
466cc31f45 Update headers 2013-03-12 21:03:50 +00:00
Dmitriy Simushev
ae149896e7 Merge branch 'v1.6.x' into OSSG/master
Conflicts:
	src/messenger/webim/install/dbperform.php
	src/messenger/webim/js/164/common.js
	src/messenger/webim/libs/common.php
	src/messenger/webim/locales/en/properties
	src/messenger/webim/locales/ru/properties
	src/messenger/webim/operator/canned.php
	src/messenger/webim/operator/operator.php
	src/messenger/webim/operator/operators.php
	src/messenger/webim/operator/performance.php
	src/messenger/webim/operator/settings.php
	src/messenger/webim/operator/translate.php
	src/messenger/webim/operator/update.php
	src/messenger/webim/operator/users.php
	src/messenger/webim/view/agents.php
	src/messenger/webim/view/performance.php
2013-03-11 11:01:35 +00:00
Evgeny Gryaznov
7bdd14c790 remove eclipse files; update version to 1.6.5; fix headers 2013-03-06 22:32:31 +01:00
Evgeny Gryaznov
98aad6e490 apache 2 license in php headers 2013-03-06 22:22:53 +01:00
Evgeny Gryaznov
c50d60730c fix move_uploaded_file errors 2013-03-05 00:03:39 +01:00
Evgeny Gryaznov
214e52e5c2 format the code; remove comments in the client code; move csrfchecktoken() right after check_login()
Conflicts:

	src/messenger/webim/libs/common.php
	src/messenger/webim/operator/canned.php
	src/messenger/webim/operator/cannededit.php
	src/messenger/webim/operator/operators.php
	src/messenger/webim/operator/settings.php
	src/messenger/webim/operator/translate.php
2012-07-03 15:21:59 +00:00
YuFei Zhu
69463ded6b update token methods to ensure csrf token is always get setted 2012-07-03 15:12:31 +00:00
YuFei Zhu
7035c3feba add csrf token check to avatar upload 2012-07-03 15:12:24 +00:00
YuFei Zhu
cb77595747 added auth token for delete offline messages check for csrf 2012-07-03 15:12:12 +00:00
YuFei Zhu
423c1335f4 enable act=del url check for auth tokens for csrf attacks
Conflicts:

	src/messenger/webim/view/agents.php
2012-07-03 15:12:04 +00:00
YuFei Zhu
5e75270cd0 having token checks on POST forms
Conflicts:

	src/messenger/webim/operator/cannededit.php
2012-07-03 15:09:47 +00:00
Evgeny Gryaznov
dd6632ffdf format the code; remove comments in the client code; move csrfchecktoken() right after check_login() 2012-06-27 10:11:40 +02:00
YuFei Zhu
7f8b2fca89 update token methods to ensure csrf token is always get setted 2012-05-01 13:18:42 +01:00
YuFei Zhu
e4be5385ca add csrf token check to avatar upload 2012-05-01 12:58:05 +01:00
YuFei Zhu
092ebd16ba added auth token for delete offline messages check for csrf 2012-04-30 17:14:44 +01:00
YuFei Zhu
8abf075e2f enable act=del url check for auth tokens for csrf attacks 2012-04-30 17:09:11 +01:00
YuFei Zhu
b84b439358 having token checks on POST forms 2012-04-30 16:41:55 +01:00
Dmitriy Simushev
9e871ee587 Fixed bug in visitor's tracking 2012-03-17 14:39:58 +00:00
Dmitriy Simushev
1681690d27 Replaced 'operator_get_all' and 'get_operators_from_adjacent_groups' functions by 'get_operators_list' function 2012-03-15 22:07:09 +00:00
Dmitriy Simushev
00fd2b796c Added sorting at operators page 2012-03-15 21:46:22 +00:00
4bb79cb7cb Fix bug in old threads cleansing 2012-03-14 22:26:44 +01:00
Dmitriy Simushev
323a7f2fcd Added closing threads by timeout 2012-03-14 22:26:39 +01:00
Dmitriy Simushev
5016eceae8 Added tabs at statistics page 2012-03-13 20:28:38 +00:00
Dmitriy Simushev
0fc5beb17a Added pergroups settings 2012-03-13 17:26:18 +00:00
Dmitriy Simushev
f9d39a8257 Added ability to select group in leavemessage form. 2012-03-09 19:40:07 +00:00
Dmitriy Simushev
b006c39c40 Added sorting at groups page 2012-03-01 21:39:19 +00:00
Dmitriy Simushev
61c52eb127 Added groups isolation 2012-02-25 19:40:05 +00:00
Dmitriy Simushev
0802ce8993 Added aggregating groups 2012-02-25 13:43:12 +00:00
Dmitriy Simushev
cf374158a8 Added groups weight 2012-02-15 13:56:55 +00:00
Dmitriy Simushev
678f54ca0c Added the ability to add 'strong' and 'span' tags in chat's system messages 2012-02-11 15:33:18 +00:00
Dmitriy Simushev
4e69fc957d Fixed empty default department description in prechat survey 2012-02-08 13:22:05 +00:00
Dmitriy Simushev
5f71deeb36 Added 'visitedpageststistics' table and fixed the bug, related to remove visitors' path during chat time 2012-02-08 11:54:39 +00:00
Dmitriy Simushev
1f4582ab20 Added some string related to threads error to localization 2012-02-08 11:54:39 +00:00
Dmitriy Simushev
6d87e5e1a6 Added short titles for canned messages 2012-01-29 11:18:35 +00:00
Dmitriy Simushev
be3efcfad3 Adding canned messages during system installation process 2012-01-26 21:29:26 +00:00
Dmitriy Simushev
177c3f22a7 Cleaned up code, related to canned messages 2012-01-26 16:00:30 +00:00
Dmitriy Simushev
1ca18622c6 Merge branch 'master' of github.com:OSSG/mibew into ossg_master 2012-01-24 22:06:34 +00:00
0b32b6a0d6 Fix bug in visitor's tracking 2012-01-24 16:41:54 +04:00
0aaed55634 Fix bug in button code generation 2012-01-24 16:41:15 +04:00
e7d9e59f4d Increase default lifetime of the old threads 2012-01-24 16:40:56 +04:00
c6e5e23057 Fix bug in old threads cleansing 2012-01-24 16:40:11 +04:00
Dmitriy Simushev
219b593b94 The 'Group' checkbox in system settings do not affect the ability to edit groups of operators, but affects only their actual availability to visitors. 2012-01-21 15:09:49 +00:00
Dmitriy Simushev
169680eda7 Fixed the bug related with the need to enter passwords when you change the profile of any operator. 2012-01-18 10:11:49 +00:00
Dmitriy Simushev
450e970ed8 When enabled the groups, visitors cannot start a chat, if only operators, who don't relate to any groups, online. 2012-01-15 20:51:12 +00:00
Dmitriy Simushev
13554a8e43 Fixed confirmation dialog before closing chat for operator 2012-01-10 16:35:31 +00:00
Dmitriy Simushev
f2ab19036a Added department description at select department screen 2012-01-03 19:45:49 +00:00
Dmitriy Simushev
2dc674e5d6 Added confirmation before closing chat 2011-12-26 18:39:27 +00:00
Dmitriy Simushev
fbeba2a54f Added ability to disable operator's account 2011-12-19 17:55:22 +00:00
Dmitriy Simushev
57f742a539 Added invitations styles 2011-12-15 08:14:07 +00:00
Dmitriy Simushev
b2167895e6 Implemented cross-domain invitations 2011-12-15 08:13:40 +00:00
Dmitriy Simushev
04a096fea1 Added Cross-domain javascript requests 2011-12-11 14:37:46 +00:00
Dmitriy Simushev
777b640f8e Added closing threads by timeout 2011-11-25 21:00:22 +00:00
Dmitriy Simushev
12b0883686 Split chatsitevisitor table into chatsitevisitor and visitedpage 2011-11-22 21:57:25 +00:00
Dmitriy Simushev
856123de48 Added Average chat time and Average waiting time statistics 2011-11-21 20:25:59 +00:00
Dmitriy Simushev
a923a3cfdc Replaced all mysql_free_result by db_free_result, except for the directory /install 2011-11-21 18:20:46 +00:00
Dmitriy Simushev
ef94a7eaf8 Added wrapper function for mysql_free_result 2011-11-21 18:20:38 +00:00
Dmitriy Simushev
12e7d34929 Replaced all mysql_query by perform_query, except for the directory /install 2011-11-21 18:19:58 +00:00
Dmitriy Simushev
7f31dfa2af Changed perform_query function. It now returns a reference to the query result 2011-11-21 18:19:44 +00:00
Dmitriy Simushev
65404ac1d2 Replaced all mysql_fetch_array by mysql_fetch_assoc or mysql_fetch_row, except for the directory /install 2011-11-21 18:19:04 +00:00
Dmitriy Simushev
b22f5456fc Added wrapper functions for mysql_fetch_assoc and mysql_fetch_row 2011-11-21 18:18:54 +00:00
Dmitriy Simushev
720c4472d3 Replaced all mysql_insert_id by db_insert_id 2011-11-21 18:11:59 +00:00
Dmitriy Simushev
863f6867c6 Added wrapper function for mysql_insert_id 2011-11-21 18:06:53 +00:00
Dmitriy Simushev
3e5834983f Replaced all mysql_error by db_error except for the directory /install 2011-11-21 18:06:04 +00:00
Dmitriy Simushev
51f6af7ced Added wrapper function for mysql_error 2011-11-21 18:05:57 +00:00
Dmitriy Simushev
5a3af46203 Replaced all mysql_real_escape_string by db_escape_string 2011-11-21 18:03:40 +00:00
Dmitriy Simushev
a47e66a6a6 Added wrapper function for mysql_real_escape_string 2011-11-21 17:55:03 +00:00
Dmitriy Simushev
1cd6926f4f Replaced all mysql_close by close_connection, except for the directory /install 2011-11-21 17:52:19 +00:00
Dmitry Simushev
6698601d19 Added wrapper function for mysql_close 2011-11-20 21:12:26 +00:00
Dmitry Simushev
b54cd674e6 Added the ability to use persistent connections 2011-11-20 21:11:27 +00:00
Haynes
e34b0d1c0d This commit forces the User to set a password for the Administrator before doing anything else after the installation. 2011-04-15 16:47:54 +04:00
Evgeny Gryaznov
65b00240d3 redirect to profile page after first login; informational banner when password is blank; do not enforce password change; rename Home -> Dashboard 2011-04-15 01:43:03 +02:00
Haynes
68f0e13e09 This commit forces the User to set a password for the Administrator before doing anything else after the installation. 2011-04-15 01:40:01 +02:00
Evgeny Gryaznov
84f37eb14c invitation patch by Fedor Fetisov 2011-04-07 10:34:37 +02:00
Evgeny Gryaznov
5bba5ed824 extract libs/getcode.php, use google closure compiler 2011-04-07 10:09:10 +02:00
Evgeny Gryaznov
79b37c720f fix groupids in visitors update; fix DB error reporting in installer; smaller opaway/oponline image 2011-04-07 00:31:22 +02:00
Evgeny Gryaznov
20bcf3c1f5 code cleanup 2011-02-27 00:02:29 +01:00
Evgeny Gryaznov
a90594235a format code in libs/ 2011-02-26 15:04:12 +01:00
Evgeny Gryaznov
693ece85fe format code, fix minor issues (link param, etc.) 2011-02-26 14:57:23 +01:00
Evgeny Gryaznov
e160af13ef use mysqlprefix in names of session vars 2011-02-26 14:43:30 +01:00
Evgeny Gryaznov
b18085de38 $mysqlprefix variable added 2011-02-26 14:13:16 +01:00
Evgeny Gryaznov
00e9c651d5 "you are offline" notification box 2011-02-26 13:24:29 +01:00
Evgeny Gryaznov
2dd0839f0d notify about new features 2011-02-26 13:15:35 +01:00
Evgeny Gryaznov
6bc85737cd extract get_operator_groupslist -> libs/groups.php; optimize db access (connect once); disable spelling inspection 2011-02-26 12:57:56 +01:00
Evgeny Gryaznov
f3d38642c6 move generate_button -> getcode.php 2011-02-26 11:56:17 +01:00
Evgeny Gryaznov
7de97c2a68 apply patch by Andrew Armstrong: available operators list (revised); remove odd eval code in common.js; fix obfuscation 2011-02-21 01:02:39 +01:00
Evgeny Gryaznov
13e5ac59a6 fix XSS problem in leavemessage 2011-02-16 02:17:30 +01:00
Evgeny Gryaznov
7e529b0567 update version: 1.6.4 2011-02-16 01:47:12 +01:00
Evgeny Gryaznov
c5bc5ed2f5 fast history search, fix redirection to groups, extract webim_mail function into notify.php 2011-02-16 01:43:19 +01:00
Evgeny Gryaznov
e3ead37bd7 2011 copyrights 2011-02-16 01:22:22 +01:00
Evgeny Gryaznov
8188c730b4 -> 1.6.3
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@691 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-10-13 21:02:06 +00:00
Evgeny Gryaznov
a2d5b04fe2 openwebim.org ->mibew.org
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@689 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-10-13 20:47:19 +00:00
Evgeny Gryaznov
23b199a406 get rid of annoying warning
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@669 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-09-22 20:59:59 +00:00
Evgeny Gryaznov
03eab80aca operator email, password retrieval - part 1
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@650 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-08-31 22:43:30 +00:00
Evgeny Gryaznov
85f5e291d7 split is deprecated fix
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@646 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-08-24 22:06:55 +00:00