Commit Graph

116 Commits

Author SHA1 Message Date
Dmitriy Simushev
29d7f891da Split libs/common.php into separate files 2013-03-13 15:32:40 +00:00
Dmitriy Simushev
0861fd73d2 Removed global variables from the Database class constructor and updated tests for the Database class 2013-03-13 15:32:39 +00:00
Dmitriy Simushev
3f95a395c8 Integrate plugin system with mibew 2013-03-13 08:02:33 +00:00
Dmitriy Simushev
be696ee3da Replaced settings functions with Settings class 2013-03-13 07:52:48 +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
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
323a7f2fcd Added closing threads by timeout 2012-03-14 22:26:39 +01:00
Dmitriy Simushev
61c52eb127 Added groups isolation 2012-02-25 19:40:05 +00:00
Dmitriy Simushev
6d87e5e1a6 Added short titles for canned messages 2012-01-29 11:18:35 +00:00
e7d9e59f4d Increase default lifetime of the old threads 2012-01-24 16:40:56 +04: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
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
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
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
Evgeny Gryaznov
84f37eb14c invitation patch by Fedor Fetisov 2011-04-07 10:34:37 +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
b18085de38 $mysqlprefix variable added 2011-02-26 14:13:16 +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
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