Commit Graph

1520 Commits

Author SHA1 Message Date
Mahmood Reza Sajjadi
cf25dbfdf8 add comments 2014-03-23 19:36:20 +04:30
Mahmood Reza Sajjadi
35aa8c4023 compleate comments 2014-03-23 19:00:24 +04:30
Mahmood Reza Sajjadi
4ef272a337 compleate comments 2014-03-23 19:00:18 +04:30
Dmitriy Simushev
bbb5072130 Add "usersUpdateThreadsAlter" event 2014-03-14 15:59:11 +04:00
Dmitriy Simushev
388179bf0b Pass Thread::userId field to the users JS application 2014-03-14 15:42:58 +04:00
Dmitriy Simushev
6faef577e1 Add "ifEven"/"ifOdd" helpers to Handlebars.js 2014-03-11 14:24:55 +00:00
Dmitriy Simushev
1a8035af4f Remove "open_basedir" option.
It brings more problems than profit
2014-03-11 13:13:57 +00:00
Dmitriy Simushev
0299f597ff Update Handlebars.php 2014-03-11 13:11:36 +00:00
Dmitriy Simushev
782aee16b2 Update Marionette.js to v.1.6.4 2014-03-11 13:08:39 +00:00
Dmitriy Simushev
2e492ebd7d Update Backbone.js to v.1.1.2 2014-03-11 13:02:17 +00:00
Dmitriy Simushev
1092d60f79 Fix bug in tools/cat bash script 2014-03-11 11:02:35 +00:00
Dmitriy Simushev
1f4414ba4f Add templates from default js app to chat style 2014-03-07 09:56:16 +00:00
Mahmood Reza Sajjadi
f23f07b05c compleate comments 2014-03-07 12:57:07 +03:30
Mahmood Reza Sajjadi
5178462d64 add depricated tag 2014-03-07 15:44:49 +03:30
Mahmood Reza Sajjadi
bd61854a10 add depricated tag 2014-03-07 15:44:41 +03:30
Mahmood Reza Sajjadi
1af0045997 comments compleated 2014-03-07 14:55:11 +03:30
Dmitriy Simushev
cb3e2ea468 Move some constants from libs/chat.php to libs/common/constants.php 2014-03-06 13:18:55 +00:00
Dmitriy Simushev
c92e0096dd Fix bug with JavaScript plugins options 2014-03-06 11:14:53 +00:00
Dmitriy Simushev
16eac2f8c4 Fix bug with additional localized strings 2014-03-06 11:12:39 +00:00
Dmitriy Simushev
ad20a18317 Fix bug with additional css/js in chat template 2014-03-06 10:57:35 +00:00
Dmitriy Simushev
9069570f0b Inplement singleton pattern in AbstractProcessor 2014-03-05 08:58:10 +00:00
Dmitriy Simushev
f467c35bd3 Use "get" prefix for StyleInterface::defaultStyle 2014-03-04 14:19:43 +00:00
Dmitriy Simushev
8fe93ec779 Use "get" prefix for StyleInterface::currentStyle 2014-03-04 14:15:33 +00:00
Dmitriy Simushev
db710b9e06 Use "get" prfix for AbstractStyle::defaultConfigurations 2014-03-04 14:07:19 +00:00
Dmitriy Simushev
3a01ec4d26 Rename StyleInterface::availableStyles to "getAvailableStyles" 2014-03-04 14:03:48 +00:00
Dmitriy Simushev
2c28a620b9 Rename "StyleInterface::configurations" to "getConfigurations" 2014-03-04 13:56:28 +00:00
Dmitriy Simushev
75703ecadd Rename "StyleInterface::name" method to "getName" 2014-03-04 13:53:10 +00:00
Dmitriy Simushev
2b2139687a Rename StyleInterface::filesPath method to "getFilesPath" 2014-03-04 13:48:56 +00:00
Dmitriy Simushev
869ce50f31 Add \Mibew\Plugin\AbstractPlugin class 2014-03-04 13:41:58 +00:00
Dmitriy Simushev
16d48592cc Extend \Mibew\Plugin\PluginInterface 2014-03-04 13:14:28 +00:00
Dmitriy Simushev
414b5c6b60 Fix documentation for AbstractStyle and StyleInterface 2014-03-04 12:09:27 +00:00
Mahmood Reza Sajjadi
5a7c5aefb9 some comments added 2014-03-02 14:06:29 +03:30
Mahmood Reza Sajjadi
597dc2a91a compleate comments 2014-03-02 14:06:09 +03:30
Mahmood Reza Sajjadi
6658e9e5c3 Merge remote-tracking branch 'upstream/master' 2014-02-28 02:06:42 +03:30
Mahmood Reza Sajjadi
e3cd96c758 comments correction 2014-02-28 01:38:07 +03:30
Mahmood Reza Sajjadi
3315068a30 add comments 2014-02-28 01:37:53 +03:30
Dmitriy Simushev
b8fa2dc338 Fix bug with EventDispatcher and PluginInterface 2014-02-27 15:07:07 +00:00
Dmitriy Simushev
96447cedc1 Fix plugins localization 2014-02-27 09:22:00 +00:00
Dmitriy Simushev
e7261672cc Fix bug with hidding menu when operator's local name is blank 2014-02-26 15:39:02 +00:00
Dmitriy Simushev
f41546b1fd Update Handlebars.php version 2014-02-26 14:33:19 +00:00
Dmitriy Simushev
173eff33c1 Happy new year, 2014 =) 2014-02-26 13:16:02 +00:00
Dmitriy S. Simushev
06ee0e9c3c Merge pull request #24 from faf/master
New tool for headers update
2014-02-26 04:50:27 -08:00
Dmitriy Simushev
66c4355ee0 Change plugins loading logic 2014-02-26 12:35:56 +00:00
Dmitriy Simushev
409c455bd1 Encapsulate PSR-0 in \Mibew\Autoloader class 2014-02-26 12:27:16 +00:00
Dmitriy Simushev
bb4e935303 Use interface instead of abstract classes for plugins 2014-02-26 11:17:33 +00:00
Dmitriy Simushev
9598f0db42 Rename \Mibew\PluginManager to \Mibew\Plugin\Manager 2014-02-25 15:09:02 +00:00
Dmitriy Simushev
522aed6a5e Add "ifEven" and "ifOdd" Handlebars.php helpers 2014-02-25 12:53:35 +00:00
Dmitriy Simushev
dea6f80d24 Fix bug with timers at awaiting users page 2014-02-25 11:18:26 +00:00
Dmitriy Simushev
ee003d6336 Reduce rendering count of visitors view 2014-02-25 11:15:00 +00:00
Dmitriy Simushev
25c267f3df Use correct render method for composit views 2014-02-25 11:11:09 +00:00
Dmitriy Simushev
2e8479383e Update jQuery to v.1.11.0 2014-02-20 13:06:53 +00:00
Dmitriy Simushev
652917cbdf Update Handlebars.js to v.1.3.0 2014-02-20 13:03:00 +00:00
Dmitriy Simushev
667fb0e290 Update Marionette.js to v.1.6.2 2014-02-20 12:52:02 +00:00
Dmitriy Simushev
10aa1a8da0 Update Backbone.js to v.1.1.1 2014-02-20 12:48:27 +00:00
Dmitriy Simushev
3d09666c68 Update Underscore.js to v.1.6.0 2014-02-20 12:35:49 +00:00
Mahmood Reza Sajjadi
540b9aab74 comments correction 2014-02-20 14:10:09 +03:30
c46be46bb8 Update source header and a header in the tool for headers update 2014-02-19 20:13:34 +04:00
c495135e56 Rewrite script for headers update 2014-02-19 20:06:33 +04:00
Dmitriy Simushev
87c5569dab Update access restrictions for pages styles' files 2014-02-19 10:46:21 +00:00
Dmitriy Simushev
92f14d52f3 Update access restrictions for chat style's files 2014-02-19 10:43:56 +00:00
Dmitriy Simushev
7e188d1b05 Fix typos and split long lines in comments 2014-02-19 08:53:20 +00:00
Dmitriy Simushev
21a38d8b00 Merge remote-tracking branch 'mahmood/master' 2014-02-19 08:46:45 +00:00
Dmitriy Simushev
15b494a2ac Remove invitation iframe border in IE<9 2014-02-18 12:32:37 +00:00
Dmitriy Simushev
8c0dca3df7 Use chat style defined params for invitation window 2014-02-18 11:17:35 +00:00
Dmitriy Simushev
aa3435bfd7 Use chat window params from config for button generation 2014-02-18 09:11:47 +00:00
Dmitriy Simushev
f0f612b11a Use correct default config params for page and chat styles 2014-02-18 09:10:03 +00:00
Dmitriy Simushev
0f17cac626 Reduse code duplication in dialogs' client side templates 2014-02-17 10:54:49 +00:00
Mahmood Reza Sajjadi
a89a076db9 comments correction 2014-02-17 14:02:05 +03:30
Dmitriy Simushev
4b28412648 Add favicon to dialog style 2014-02-14 14:37:32 +00:00
Dmitriy Simushev
db2f3367dd Fix extra escaping at the install page 2014-02-14 12:05:49 +00:00
Dmitriy Simushev
c70ad9e6a2 Fix undefined "mibewroot" var (see issue #21) 2014-02-14 12:04:12 +00:00
Dmitriy Simushev
921f382c6a Reorganize dialog style
Move client side templates from "handlebars_templates" to
"templates_src/client_side"
2014-02-14 11:44:14 +00:00
Dmitriy Simushev
9e82414728 Use handlebars.php for dialogs' templates 2014-02-14 10:51:22 +00:00
Dmitriy Simushev
f4702e5381 Rename "layout" template to "_layout" 2014-02-14 10:43:02 +00:00
Dmitriy Simushev
94d5689077 Pass style name to operator pages' templates 2014-02-14 10:29:19 +00:00
Dmitriy Simushev
3ad8bfb380 Rename "header" block to "head" in operator pages' templates 2014-02-14 10:20:04 +00:00
Dmitriy Simushev
3337aa8bb8 Remove unneeded $page variable from PageStyle::render 2014-02-13 13:32:09 +00:00
Dmitriy Simushev
bb5fa8db5b Rename "L10n" handlebars.js helper to "l10n" 2014-02-13 13:02:11 +00:00
Mahmood Reza Sajjadi
f70b40f112 Merge remote-tracking branch 'upstream/master' 2014-02-13 15:17:40 +03:30
Mahmood Reza Sajjadi
1e396a5328 comments added 2014-02-13 15:10:38 +03:30
Dmitriy Simushev
c3f902bfe6 Fix path to the logo in layout.handlebars 2014-02-11 10:17:07 +00:00
Dmitriy Simushev
450f3e5d35 Add custom elements in the header after default ones
Move "header" block in the "default" pages style to the bottom of
header tag.
2014-02-11 09:12:50 +00:00
Dmitriy Simushev
c20f285ca7 Fix tests for JS Mibew API 2014-02-10 15:51:42 +00:00
Dmitriy Simushev
30100a5a31 Move client side templates into pages style 2014-02-10 15:28:35 +00:00
Dmitriy Simushev
47b61f05c0 Use Handlebars.php as template engine 2014-02-10 14:07:31 +00:00
Dmitriy Simushev
5670b19fab Fix AbstractStyle class path (see Issue #19) 2014-02-07 14:25:05 +00:00
Dmitriy Simushev
27f3346435 Do not use HTML entities in "form.field.groupparent.root" local const 2014-02-06 10:44:50 +00:00
Dmitriy Simushev
8d3dcacded Use sanitization for locale constants 2014-01-31 12:59:25 +00:00
Dmitriy Simushev
825da2027f Remove ".idea" folder 2014-01-31 09:44:24 +00:00
Dmitriy Simushev
ca0a4274dc Add Handlebars.php to the project via composer 2014-01-30 09:09:15 +00:00
Dmitriy Simushev
cab8caac90 Use the same declaration for *Processor::call methods 2014-01-29 13:23:18 +00:00
Dmitriy Simushev
7bb7a388b8 Mark API methods in *Processor classes as deprecated 2014-01-29 12:36:41 +00:00
Dmitriy Simushev
b5778a8be2 Add Interaction::mandatoryArguments method
Rename "obligatory" arguments to "mandatory" arguments. Use
Mibew API Interaction "mandatoryArguments" method instead of
"obligatoryArguments" property to increase code reliability.
2014-01-29 12:23:17 +00:00
Dmitriy Simushev
26b2d74cc4 Use method for Interaction::reservedFunctionName
Replace Mibew API Interaction "reservedFunctionName" property
with "getReservedFunctionsNames" method to increase reliability
of the code.
2014-01-29 11:14:55 +00:00
Dmitriy Simushev
128d387ebe Add default value to get_operators_list function's argument 2014-01-28 15:45:43 +00:00
Dmitriy Simushev
98502d9e93 Rename \Mibew\API\Interation\Interaction class to AbstractInteraction 2014-01-28 15:36:13 +00:00
Dmitriy Simushev
93f5b82dec Rename \Mibew\RequestProcessor\Processor class to AbstractProcessor 2014-01-28 15:33:08 +00:00
Dmitriy Simushev
a5ec847ed1 Rename \Mibew\Style\Style class to AbstractStyle 2014-01-28 15:28:22 +00:00
Dmitriy Simushev
57d72e95d0 Fix bug with undefined index 'stylepath' 2014-01-28 14:25:04 +00:00
Dmitriy Simushev
42ff39f4d9 Apply new codding style 2014-01-28 14:17:48 +00:00
Dmitriy Simushev
41f1e0a3bc Remove functions definition from operator/opgroups.php 2014-01-28 14:16:13 +00:00
Dmitriy Simushev
c6b03cfe55 Remove functions definition from operator/userhistory.php 2014-01-28 14:16:13 +00:00
Dmitriy Simushev
d47903a912 Remove functions definition from operator/translate.php 2014-01-28 14:16:13 +00:00
Dmitriy Simushev
489cae7122 Use anonymous functions to sort strings at operator/translate.php 2014-01-28 14:16:13 +00:00
Dmitriy Simushev
0720df1a2e Do not check formatting at operator/translate.php page 2014-01-28 14:16:13 +00:00
Dmitriy Simushev
ff5c620a29 Remove functions definition from operator/threadprocessor.php 2014-01-28 14:16:13 +00:00
Dmitriy Simushev
69304a0c71 Remove functions definition from operator/groupmembers.php 2014-01-28 14:15:56 +00:00
Dmitriy Simushev
f49b53f9d6 Remove functions definition from operator/group.php 2014-01-24 14:12:24 +00:00
Dmitriy Simushev
c2336a753e Remove functions definition from operator/groups.php 2014-01-24 14:01:57 +00:00
74c448d0d0 Add name for the Japanese locale 2014-01-23 18:39:49 +04:00
Dmitriy Simushev
08bb694753 Fix typo in README file 2014-01-23 12:38:14 +00:00
Dmitriy Simushev
4ef067118b Pass page templates data through PageStyle::render method 2014-01-21 11:30:31 +00:00
Dmitriy Simushev
e291836523 Do not use global variables into page views 2014-01-21 11:16:48 +00:00
Dmitriy Simushev
5b964974cd Do not use $menuItemsCount global variable 2014-01-21 10:51:36 +00:00
Dmitriy Simushev
02cda0c1f4 Fix usage of undefined $groupid variable 2014-01-21 10:42:23 +00:00
Dmitriy Simushev
2a1825303a Fix usage of undefined $mibew_encoding variable 2014-01-21 10:41:15 +00:00
Dmitriy Simushev
03797744e2 Do not use $current_locale global variable
Replace $current_locale global var with CURRENT_LOCALE constant
2014-01-21 10:38:34 +00:00
Dmitriy Simushev
7b83f8ca6f Include $errors global variable into $page 2014-01-21 10:03:51 +00:00
Dmitriy Simushev
6da2a33ce3 Do not use $version global variable
Replace $version global var with MIBEW_VERSION constant
2014-01-20 14:57:27 +00:00
Dmitriy Simushev
c1ae7b8eb9 Do not use $featuresversion global variable
Replace $featuresversion global var with FEATURES_VERSION constant
2014-01-20 14:47:00 +00:00
Dmitriy Simushev
e42c3feaa7 Do not use global variable $dbversion
Replace $dbversion global variable with DB_VERSION constant
2014-01-20 14:43:50 +00:00
Dmitriy Simushev
83b029e3b9 Do not use global variable $errors in verifyparam_groupid func 2014-01-20 14:27:35 +00:00
Dmitriy Simushev
3feb32d6c9 Remove global variable $page from setup_redirect_links func 2014-01-20 13:26:23 +00:00
Dmitriy Simushev
155c858fd6 Remove global variable $page from set_form_date func 2014-01-20 13:20:12 +00:00
Dmitriy Simushev
f2f4f7bb12 Remove global variable $page from prepare_menu func 2014-01-20 13:11:16 +00:00
Dmitriy Simushev
ee834e6621 Rewrite pagination functions
Remove global variable $page from pagination functions, refactor
them and add inline documentation.
2014-01-20 11:52:22 +00:00
Dmitriy Simushev
a2451c0575 Use different pagination images for different styles 2014-01-17 14:43:41 +00:00
Dmitriy Simushev
e53314f403 Remove $default_cron_key global variable
Use DEFAULT_CRON_KEY constant instead of global variable
2014-01-17 11:30:43 +00:00
Dmitriy Simushev
1396cbc25f Remove global variable $session_prefix
Use constant SESSION_PREFIX instead of global variable
2014-01-17 11:15:52 +00:00
Dmitriy Simushev
94815071c0 Fix bug with send chat history to email 2014-01-17 10:15:49 +00:00
Dmitriy Simushev
29dd1e8c72 Fix bug with close button in chat window 2014-01-17 09:59:54 +00:00
Dmitriy Simushev
b03e1de0a9 Replace expand* function with TemplateEngine class 2014-01-17 09:25:31 +00:00
Dmitriy Simushev
5661cb318d Do not use global $page variable in form_value_mb func 2014-01-16 15:46:45 +00:00
Dmitriy Simushev
3d907f260e Do not use global $page variable in form_value_cb func 2014-01-16 15:46:20 +00:00
Dmitriy Simushev
d9530d1590 Do not use global $page variable in form_value func 2014-01-16 15:44:16 +00:00
Dmitriy Simushev
9c0348cce3 Add second argument to \Mibew\Style\StyleInterface::render 2014-01-16 10:50:48 +00:00
Dmitriy Simushev
175686aded Do not use global $page array in setup_statistics_tabs func 2014-01-16 09:50:32 +00:00
Dmitriy Simushev
ab56e6f35b Fix documentation
Fix typos and improve documentation for "setup_group_settings_tabs",
"setup_operator_settings_tabs" and "setup_settings_tabs" functions.
2014-01-16 09:41:22 +00:00
Dmitriy Simushev
ab52444bfd Do not use global $page array in setup_settings_tabs func 2014-01-15 15:29:35 +00:00
Dmitriy Simushev
4aff809fcb Do not use global $page array in setup_operator_settings_tabs func 2014-01-15 15:23:49 +00:00
Dmitriy Simushev
3f667e8fa6 Do not use global $page array in setup_group_settings_tabs function 2014-01-15 15:15:07 +00:00
Dmitriy Simushev
70699aeecd Use MIBEW_ENCODING constant
Replace $mibew_encoding global variable with MIBEW_ENCODING constant
2014-01-15 13:57:29 +00:00
Dmitriy Simushev
56c163f6a9 Remove $default_locale and $home_locale globals 2014-01-15 13:35:28 +00:00
Dmitriy Simushev
f48f50e09e Remove $knownAgents global variable 2014-01-15 12:51:45 +00:00
Dmitriy Simushev
24f7bb5a66 Use MIBEW_WEB_ROOT constant
Replace $mibewroot global variable with MIBEW_WEB_ROOT constant
2014-01-15 12:40:35 +00:00
Dmitriy Simushev
12f5b7dbd3 Fix name of the \Mibew\RequestProcessor\ProcessorException class 2014-01-15 09:45:34 +00:00
Dmitriy Simushev
10b8d4b2e4 Use autoload for \Mibew\API\* classes 2013-12-27 15:08:10 +00:00
Dmitriy Simushev
43077feb01 Rename BaseStyle class to Style 2013-12-27 15:08:00 +00:00
Dmitriy Simushev
e6c21582f8 Use autoload for \Mibew\RequestProcessor\* classes 2013-12-27 11:57:09 +00:00
Dmitriy Simushev
cccfb7eac8 Use autoload for \Mibew\Style\* classes 2013-12-27 10:16:23 +00:00
Dmitriy Simushev
532a08763f Use autoload for \Mibew\Tread class 2013-12-26 15:28:34 +00:00
Dmitriy Simushev
bd5d6a277d Do not use plugins at system installation 2013-12-26 15:00:39 +00:00
Dmitriy Simushev
a033d72f20 Use autoload for \Mibew\Plugin class 2013-12-26 14:54:36 +00:00
Dmitriy Simushev
98c96a7c81 Use autoload for \Mibew\PluginManager class 2013-12-26 14:24:34 +00:00
Dmitriy Simushev
c76dbeab05 Use autoload for \Mibew\EventDispatcher class 2013-12-26 13:40:52 +00:00
Dmitriy Simushev
22c222d3cc Use autoload for \Mibew\Database class 2013-12-26 13:23:27 +00:00
Dmitriy Simushev
8256aea4cd Use autoload for \Mibew\Settings class 2013-12-26 12:57:32 +00:00
Dmitriy Simushev
4ea034e92e Add class autoloader function based on PSR-0 2013-12-26 12:36:15 +00:00
Dmitriy Simushev
9f82089d61 Use MIBEW_FS_ROOT const for file system root path 2013-12-26 11:56:16 +00:00
Dmitriy Simushev
5714193eeb Move page style related JS code to separate files 2013-12-25 14:01:06 +00:00
Dmitriy Simushev
086c163db1 Do not define variables in views 2013-12-25 14:00:51 +00:00
Dmitriy Simushev
c9ab51dbb2 Encapsulate default style storage in *Style classes 2013-12-24 09:53:54 +00:00
Dmitriy Simushev
45a70affce Fix bug "Class 'PageStyle' not found" 2013-12-24 09:24:37 +00:00
Dmitriy Simushev
881c3a0f81 Replace 'invitationstyle' config with 'invitation_style' 2013-12-23 15:36:38 +00:00
Dmitriy Simushev
3fc3544f23 Move all function related with invitation styles to InvitationStyle class 2013-12-23 15:29:18 +00:00
Dmitriy Simushev
3627e79fe0 Move all functions related with page styles to PageStyle class 2013-12-23 14:49:21 +00:00
Dmitriy Simushev
b9cf71c6b0 Use 'page style' instead of 'operator pages style' 2013-12-23 13:29:26 +00:00
Dmitriy Simushev
4c51930c25 Group all dialogs related functions in ChatStyle class 2013-12-23 12:50:23 +00:00
Dmitriy Simushev
d406f720d8 Add an ability to select style for operator pages 2013-12-17 15:13:31 +00:00
Dmitriy Simushev
b4ba38d770 Add installation_in_progress function 2013-12-17 15:09:29 +00:00
Dmitriy Simushev
58b89f7ae4 Remove unused file autologin.php 2013-12-17 13:17:45 +00:00
Dmitriy Simushev
5d117fa66c Move all operator page theme files in styles/operator_pages/default 2013-12-17 13:15:42 +00:00
Dmitriy Simushev
94f9d71a66 Create function for views rendering 2013-12-17 11:42:17 +00:00
Dmitriy Simushev
87d993da35 Move avatar folder to <mibew_root>/files 2013-12-16 15:27:14 +00:00
80d500413d Set default and safe web server settings 2013-11-14 18:40:42 +04:00
638757879c Disable autocomplete for password fields 2013-11-14 17:35:18 +04:00
64254875f8 Add TODO for future message check 2013-11-14 15:26:30 +04:00
a749b8c000 Improve validation of incoming params 2013-11-07 02:59:24 +04:00
62bb63242b Tiny bugfix 2013-11-07 02:57:27 +04:00
5e28bc91ea Unify UI behaviour for bans management 2013-11-07 02:41:11 +04:00
3215cad462 Increase fixed delay for windows autoclose after save canned messages and translations 2013-11-07 02:39:23 +04:00
5e3eacbb69 Add missed type attribute for embed javascripts 2013-11-07 02:35:27 +04:00
ecb95933aa Add labels for all input fields to improve user experience 2013-11-07 01:17:38 +04:00
f739935096 Add initialization of 'sendmail_from' PHP variable
This is a workaround for some systems that requires this variable to be set explicitly for sending emails (thanks to falcon for the issue)
2013-11-06 23:01:19 +04:00
35cd7c6e67 Switch to the new logo 2013-10-30 20:09:38 +04:00
5fd1b69135 Remove small login form from the login page 2013-10-30 20:04:11 +04:00
88c13f7d7c Fix condition of visibility of the tiny login form 2013-10-29 20:15:49 +04:00
0792bf98bd Implement more secure methods for the generation of tokens 2013-10-29 02:57:43 +04:00
58e8dcd5f6 Make CSRF token more secure 2013-10-29 02:41:17 +04:00
a6d1008242 Mute setting of PHP init parameters 2013-10-29 02:37:31 +04:00
7e4a380320 Secure user session 2013-10-29 02:36:34 +04:00
a4449482e3 Implement additional CSRF checks 2013-10-29 02:27:32 +04:00
7b5caf0e8d Define constants for all cookies' names 2013-10-29 01:44:53 +04:00
5a47fa8074 Secure auth cookie in https mode 2013-10-29 01:03:34 +04:00
b2f43076aa Add missed checks for the failed file openings 2013-10-28 17:42:52 +04:00
a2bfeb72a7 Add new localization constant 2013-10-28 17:23:04 +04:00
12c3e2d60d Sanitize all redirects 2013-10-28 17:10:10 +04:00
4345070720 Secure an avatar's filename 2013-10-28 16:54:55 +04:00
7f4b1fa9cc Secure file paths (second part) 2013-10-28 16:43:24 +04:00
bad9918b98 Improve verification and storing of the values of locale 2013-10-28 16:16:10 +04:00
255ac6220c Secure database tables prefix 2013-10-28 15:54:46 +04:00
0fc7477672 Sanitize mibewroot value 2013-10-28 15:51:11 +04:00
24f1a64fca Restrict opening of files outside the Mibew installation 2013-10-28 15:29:29 +04:00
5de084e63e Update version 2013-10-28 15:15:06 +04:00
8be55e86d7 Secure file paths (use dirname everywhere) 2013-10-28 15:11:38 +04:00
d73922358f Move name of the localization cookie into a variable 2013-10-28 13:10:12 +04:00
5cb3a50642 Switch to a more reliable function for generation of userid 2013-10-22 18:00:40 +04:00
4873d03d42 Improve passwords hashing 2013-10-21 20:14:42 +04:00
c34ce4c17e Improve generation of CAPTCHA images 2013-10-21 20:12:56 +04:00
f1e3006b45 Fix locale code for Norsk nynorsk 2013-10-10 14:13:05 +04:00
b5d74330fe Fix locales' names and codes 2013-10-06 01:51:20 +04:00
5a1c3bf5c8 Remove obsolete whatsnew.txt 2013-09-27 18:54:14 +04:00
Dmitriy Simushev
f133155798 Clean up repository 2013-09-27 17:52:36 +04:00
d310943b0e Add Lithuanian translation (thanks to livechat.lt) 2013-09-26 19:41:44 +04:00
eaba2fb708 Completely wiped out the old application name 2013-09-26 19:33:50 +04:00
a2f78ea9f3 wiped out the old application name 2013-09-26 19:33:17 +04:00
2f42366d0a Unify translations: update localization constants from legacy branch 2013-09-26 18:33:47 +04:00
Dmitriy Simushev
f7f54f8754 Update Dutch translation (thanks to Erik Kerkhoven) 2013-09-22 14:01:34 +04:00
Dmitriy Simushev
90e644e9eb Update Marionette.js to v1.1.0 2013-08-22 14:28:38 +00:00
Dmitriy Simushev
a2b662e2ce Update copyright notice 2013-08-09 11:18:50 +00:00
7016a45312 Mibew Tray 1.1.1 release
Update links to an actual mibew domain in Mibew Tray application (thanks to Nemesis0one)
2013-08-09 09:53:38 +00:00
Dmitriy Simushev
2562abdf4b Pass user_id field of the visitor to the client side 2013-08-06 13:45:20 +00:00
a0a17e6076 Fix steps enumeration in README file 2013-08-06 13:37:43 +00:00
853fecc4a0 Update translations (da, de, fi, it, pt-br) 2013-08-06 13:34:42 +00:00
d62109d72b Improve packaging script 2013-08-06 13:33:26 +00:00
bf860a32ac Update localization constants 2013-08-06 13:32:26 +00:00
Dmitriy Simushev
2565789af7 Fix docs for update_operator function 2013-07-17 08:18:14 +00:00
Dmitriy Simushev
77023f6400 Fix bug with threads queue update
Move user to priority queue when operator has connection problems
2013-07-15 15:09:35 +00:00
Dmitriy Simushev
a899cc2dff Fix bug with old threads closing 2013-07-15 14:33:04 +00:00
Dmitriy Simushev
ab8a889464 Fix bug with docs for chatthread table 2013-07-15 08:51:09 +00:00
Dmitriy Simushev
3c740457f3 Update Marionette.js to v1.0.4 2013-07-14 19:20:19 +00:00
Dmitriy Simushev
6609bf4b16 Update Underscore.js to v1.5.0 2013-07-14 19:17:17 +00:00
Dmitriy Simushev
f4f4e25798 Update jQuery to v1.10.2 2013-07-14 19:12:00 +00:00
Dmitriy Simushev
cbe589f5b7 Fix bug with popup windows with geo info in IE. 2013-07-14 18:51:12 +00:00
Dmitriy Simushev
caa90f9f9c Fix user duplication in visitors and threads lists
User can be either in threads list or in visitors list
but not in both at the same time.
2013-07-12 14:46:31 +00:00
Dmitriy Simushev
862e23e79c Add 'answer' button to invitation 2013-07-12 13:53:37 +00:00
Dmitriy Simushev
bc5c274c8f Fix notice in view/canned.php
Notice was about undefined index 'level' in view/canned.php
on line 48
2013-07-09 09:23:34 +00:00
Dmitriy Simushev
37159eae3b Add 'operatorLogin' and 'operatorLogout' events 2013-07-09 08:43:30 +00:00
Dmitriy Simushev
f96df5ec61 Fix bug with visitors list at operator/users.php page 2013-07-08 14:04:31 +00:00
Dmitriy Simushev
827d9a0b8d Make operator's email unique in the system 2013-07-08 11:04:17 +00:00
Dmitriy Simushev
142d9edb20 Fix bug in operator_by_email function 2013-07-08 10:58:02 +00:00
Dmitriy Simushev
b41405ea09 Make operator's email field required 2013-07-08 10:24:34 +00:00
Dmitriy Simushev
1a0b315365 Add statistics aggregation interval 2013-07-03 08:31:36 +00:00
Dmitriy Simushev
dae493b1a8 Do not use regular expression to check JSON in Mibew API.
It leads to problems with big packages because of limitation on
max backtrack count (see pcre.backtrack_limit for details).
2013-06-25 10:26:17 +00:00
Dmitriy Simushev
13c577d2ae Move plugins' dependences into their classes 2013-06-24 13:01:56 +00:00
Dmitriy Simushev
48ecf35f1a Add field with close timestamp to the Thread class 2013-06-24 11:29:22 +00:00
Dmitriy Simushev
fb6517dc9f Update plugins message system.
Now arbitrary data can be attached to any message.
2013-06-19 14:17:04 +00:00
Dmitriy Simushev
aa38622b8d Add some comments to database structure 2013-06-19 09:52:48 +00:00
Dmitriy Simushev
248847436b Remove messages indexing 2013-06-19 09:15:29 +00:00
Dmitriy Simushev
be536272ca Update Handlebars to v1.0.0 and recompile templates 2013-06-17 13:36:19 +00:00
Dmitriy Simushev
77a3af4d11 Update Marionette.js to v1.0.3 2013-06-17 13:12:31 +00:00
Dmitriy Simushev
7644b9b07c Update jQuery to v1.10.0 2013-06-17 13:02:02 +00:00
Dmitriy Simushev
e01a75faea Add an ability to start chat with specified operator 2013-05-29 15:31:30 +00:00
Dmitriy Simushev
b89e838625 Clean up statistics code 2013-05-29 08:38:23 +00:00
Dmitriy Simushev
62a2176aaa Extend by page statistics 2013-05-28 14:50:13 +00:00
Dmitriy Simushev
734c68a022 Extend by operator statistics 2013-05-28 10:55:58 +00:00
Dmitriy Simushev
cef80ad20b Fix bug with statistics display when there is not enough data 2013-05-28 10:23:42 +00:00
Dmitriy Simushev
475d0e22ae Fix bug with by thread chat statistics 2013-05-28 10:06:25 +00:00
Dmitriy Simushev
08617d41c6 Fix bug with the 1st operator's message in inviation
Now it has correct agentId value
2013-05-28 08:37:39 +00:00
Dmitriy Simushev
b33ccc4a84 Extend by thread statistics 2013-05-27 13:54:30 +00:00
Dmitriy Simushev
18e6862949 Update chat start time when user accept invitation 2013-05-27 09:31:36 +00:00
Dmitriy Simushev
97a76cbd69 Remove unused invitation's localized strings 2013-05-24 12:49:08 +00:00
Dmitriy Simushev
d70ed401cb Send messages about close invitation by timeout 2013-05-24 12:44:24 +00:00
Dmitriy Simushev
644cec05cb Fix bug with invitation state retrieving in widget.php 2013-05-24 12:40:58 +00:00
Dmitriy Simushev
3fc6218332 Update threads history
Do not show threads related with ignored or rejected invitations.
2013-05-24 11:53:12 +00:00
Dmitriy Simushev
bc287f0e11 Update invitation preview 2013-05-24 11:07:09 +00:00
Dmitriy Simushev
545ff7db87 Clean up JavaScript code of the Widget 2013-05-24 10:40:40 +00:00
Dmitriy Simushev
1480519bb2 Fix notice about undefined 'send_shortcut' 2013-05-24 10:17:25 +00:00
Dmitriy Simushev
f7d6971849 Automatically hide invitation popup
Invitation popup will hide if invitation canceled by operator or
closed by timeout.
2013-05-24 10:05:20 +00:00
Dmitriy Simushev
43d731cf72 Update license headers in CSS files 2013-05-23 15:12:27 +00:00
Dmitriy Simushev
3994b924de Completely rewrite invitations 2013-05-23 15:02:10 +00:00
Dmitriy Simushev
a2db90289a Create SoundManager model in Chat JS Application
It help to unbind messages collection view and message form model
2013-05-23 12:12:33 +00:00
Dmitriy Simushev
b3c77aa972 Fix bug with multiple scripts loading by widget 2013-05-21 09:22:48 +00:00
Dmitriy Simushev
11d726867c Fix bug with cookie update in widget
Widget update target site tracking cookie only if it is absent
2013-05-21 08:38:43 +00:00
Dmitriy Simushev
8b025cf8bd Visitors can reject invitations not only hide 2013-05-20 10:25:53 +00:00
Dmitriy Simushev
29baaa700c Upadate widget. It can pass some data to server now 2013-05-20 09:29:14 +00:00
Dmitriy Simushev
9424e48c74 Fix ability to use plugin options at client side 2013-05-17 15:34:58 +00:00
Dmitriy Simushev
d86191d4af Use get_app_location func in cron_get_uri func 2013-05-17 14:51:13 +00:00
Dmitriy Simushev
c64c1a441d Refactor JavaScript invitation and tracking code 2013-05-17 13:59:15 +00:00
Dmitriy Simushev
52f00cbe59 Refactor build_js_response function
Rename it to build_widget_response and move to libs/common/response.php
2013-05-17 09:52:41 +00:00
Dmitriy Simushev
5a3b2916d1 Update license info in license.php 2013-05-16 14:17:28 +00:00
Dmitriy Simushev
6a477d39f0 Update license headers in JavaScript files 2013-05-16 11:12:02 +00:00
Dmitriy Simushev
aa3741a9fa Remove handlebars nested 'if else' bug workaround 2013-05-15 10:06:19 +00:00
Dmitriy Simushev
5c8464520c Update handlebars to v.1.0.0-rc.4 and recompile templates 2013-05-15 09:51:57 +00:00
Dmitriy Simushev
18dd2c01e4 Calculate page statistics that older one day 2013-05-13 09:49:29 +00:00
Dmitriy Simushev
49894f7d9e Calculate operator statistics that older one day 2013-05-13 09:26:45 +00:00
Dmitriy Simushev
1cde50242d Calculate thread statistics that older one day 2013-05-13 09:20:30 +00:00
Dmitriy Simushev
1a4d8e809d Create full statistics description 2013-05-08 11:18:58 +00:00
Dmitriy Simushev
7c648ce829 Force set plugin message id in Chat JS application 2013-05-08 10:54:42 +00:00
Dmitriy Simushev
d77047f62c Add some output to cron.php 2013-05-07 13:38:37 +00:00
Dmitriy Simushev
e6a5f9712d Update notices about cron 2013-05-07 13:20:26 +00:00
Dmitriy Simushev
ba2ede20aa Store time of last cron run 2013-05-07 12:44:16 +00:00
Dmitriy Simushev
663c9119e6 Set Database::throwExceptions back in calculate statistics funcs 2013-05-07 12:18:02 +00:00
Dmitriy Simushev
d3b254fc82 Set Database::throwExceptions back in cron_index_message 2013-05-07 12:17:45 +00:00
Dmitriy Simushev
7bf20e29e7 Update Database::throwException function
Now it returns previous set value.
2013-05-07 11:52:44 +00:00
Dmitriy Simushev
289fb76906 Refactor cron_calculate_statistics function 2013-05-07 11:25:21 +00:00
Dmitriy Simushev
a7ce1ff704 Fix bug with PluginManager in install/dbperform.php 2013-05-07 11:09:08 +00:00
Dmitriy Simushev
c8039ec248 Calculate page statistics by cron 2013-05-07 10:35:38 +00:00
Dmitriy Simushev
b337c689b9 Fix notification about cron at operator/history.php 2013-05-06 14:17:15 +00:00
Dmitriy Simushev
6ad1828079 Calculate threads and operator statistics by cron 2013-05-06 14:12:19 +00:00