Mahmood Reza Sajjadi
943afd00d1
remove depricated tag
2014-03-27 15:49:24 +04:30
Mahmood Reza Sajjadi
bc33e32ea4
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
src/mibew/libs/chat.php
2014-03-25 14:10:16 +04:30
22e055d5e8
Encode the value of Mibew root according to RFC 3986
2014-03-24 11:18:33 +04:00
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