Commit Graph

1274 Commits

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