Commit Graph

1223 Commits

Author SHA1 Message Date
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