Commit Graph

1769 Commits

Author SHA1 Message Date
Dmitriy Simushev
b84a6b1855 Make the first approach to a new installer 2014-07-08 14:30:53 +00:00
Dmitriy Simushev
8384a58118 Check for installation in get_localized_string function 2014-07-08 14:25:36 +00:00
Dmitriy Simushev
037b823db9 Do not rely on database state during installation 2014-07-08 12:43:53 +00:00
Dmitriy Simushev
edef518da3 Add mail templates import 2014-07-08 11:51:06 +00:00
Dmitriy Simushev
1bfbb5c243 Add canned messages import 2014-07-08 11:01:30 +00:00
Dmitriy Simushev
232fde0a73 Decouple CookieFactory from AuthenticationManager 2014-07-04 13:49:16 +00:00
Dmitriy Simushev
93eeeafd3c Inject authentication manager into Application using constructor 2014-07-04 13:11:40 +00:00
Dmitriy Simushev
af112aa72b Implement "AuthenticationManagerInterface" in "CheckResolver" class 2014-07-04 12:56:48 +00:00
Dmitriy Simushev
8dbc46145c Implement "AuthenticationManagerAwareInterface" in "ControllerResolver" class 2014-07-04 12:48:43 +00:00
Dmitriy Simushev
184e6ccdc3 Make "ControllerResolver" implements "RouterAwareInterface" 2014-07-04 12:46:16 +00:00
Dmitriy Simushev
42c1d4e340 Use "RouterInterface" instead of "Router" in "AbstractController" 2014-07-04 12:24:21 +00:00
Dmitriy Simushev
2ab669ba3a Use "RouterInterface" instead of "Router" in "RouterAwareInterface" 2014-07-04 12:04:51 +00:00
Dmitriy Simushev
eb078a0b73 Specify routes set to load via Router options 2014-07-02 12:24:28 +00:00
Dmitriy Simushev
4649a0d3dc Fix bug with localized strings case sensitivity 2014-07-02 11:44:27 +00:00
Dmitriy Simushev
1a599a6af3 Inject a Router to the Application via constructor 2014-07-02 10:44:16 +00:00
Dmitriy Simushev
5337d899d4 Do not initialize database and load plugins during installation 2014-07-02 10:00:12 +00:00
Dmitriy Simushev
c3685f3aad Make basic locale function work without database 2014-07-02 09:51:23 +00:00
Dmitriy Simushev
feff032c31 Remove unused "read_config_file" function 2014-07-02 09:28:06 +00:00
Dmitriy Simushev
ef958483bb Use a function to load system configs 2014-07-02 09:26:55 +00:00
Dmitriy Simushev
dfeadec80b Remove unused "libs/common/forms.php" library 2014-07-01 12:56:45 +00:00
Dmitriy Simushev
f66bab2dd2 Remove unused functions related with request processing 2014-07-01 08:27:27 +00:00
Dmitriy Simushev
27ed59eb08 Do not automatically load translations from plugins
One shoud use translations import feature instead
2014-07-01 08:07:16 +00:00
Dmitriy Simushev
c9a81dd174 Rename "TranslationsImportController" to "TranslationImportController" 2014-06-30 14:53:23 +00:00
Dmitriy Simushev
fe40fd57ae Provide an ability to import translations 2014-06-30 14:34:14 +00:00
Dmitriy Simushev
53fbb8e6e7 Import localized messages when locale is enabled for the first time 2014-06-30 13:21:14 +00:00
Dmitriy Simushev
904f7d1109 Fix title at the "operator/locales" page 2014-06-30 13:07:15 +00:00
Dmitriy Simushev
7edc74b253 Remove "get_locale_names" function 2014-06-30 11:59:14 +00:00
Dmitriy Simushev
2f82594a60 Remove unneeded function "get_local_for_js" 2014-06-30 07:47:17 +00:00
Dmitriy Simushev
791abc1c2b Make translation interface play nice with new localization system 2014-06-27 13:22:38 +00:00
Dmitriy Simushev
1f899a3d80 Save unknown localization strings to the database 2014-06-27 11:35:14 +00:00
Dmitriy Simushev
1a3982d1b7 Update Handlebars.php 2014-06-26 15:15:54 +00:00
Dmitriy Simushev
64c626ffdb Use english strings instead of keys for localization 2014-06-26 15:14:15 +00:00
Dmitriy Simushev
c454ec6d98 Remove asterisk markup from localization constants 2014-06-24 10:14:21 +00:00
Dmitriy Simushev
70c77762a2 Add locales managment to UI 2014-06-24 09:47:23 +00:00
Dmitriy Simushev
7309244ccf Update Handlebars.php 2014-06-23 10:27:21 +00:00
Dmitriy Simushev
fa5bf90195 Remove canned messafes from localization constants 2014-06-20 09:25:30 +00:00
Dmitriy Simushev
f34ddb1060 Remove mail templates from localization constants 2014-06-19 14:21:23 +00:00
Dmitriy Simushev
561c512a9b Remove time format from localization constants 2014-06-18 13:54:50 +00:00
Dmitriy Simushev
bde9f2eb00 Fix bug with mail_template_load function 2014-06-18 11:14:35 +00:00
Dmitriy Simushev
47880fa951 Create "get_locale_info" function to improve code readability 2014-06-17 14:27:52 +00:00
Dmitriy Simushev
56357c4d40 Remove "localedirection" localization constant 2014-06-17 14:17:12 +00:00
Dmitriy Simushev
ec2574d707 Remove "localeid" localization constatant 2014-06-17 13:30:15 +00:00
Dmitriy Simushev
7c183fbe73 Remove unused localization constants 2014-06-17 12:07:19 +00:00
Dmitriy Simushev
3f60187158 Remove trailing space from locale constants 2014-06-17 11:19:20 +00:00
Dmitriy Simushev
5193574f68 Add mail templates functionallity 2014-06-17 11:15:44 +00:00
Dmitriy Simushev
d9e41240a4 Clean up code in "read_locale_file" function 2014-06-10 14:18:32 +00:00
e9924db3a2 Change japanese language code according to ISO 639 2014-06-10 18:16:29 +04:00
Dmitriy Simushev
96efd0f194 Fix bug with locale changing 2014-06-10 14:12:28 +00:00
Dmitriy Simushev
99cccc9d2f Use .po file for localized strings 2014-06-10 12:26:06 +00:00
Dmitriy Simushev
af3aa7afec Store changed localized strings in database 2014-06-10 10:50:36 +00:00
Dmitriy Simushev
12cb4f014a Remove "names" locale 2014-06-06 10:58:05 +00:00
Dmitriy Simushev
91b46e23aa Clean up markup in localization 2014-06-06 10:35:26 +00:00
Dmitriy Simushev
2bb02b6e13 Clean up markup in "common.asterisk_explanation" localization constant 2014-06-06 09:39:36 +00:00
Dmitriy Simushev
ef0f43d7e4 Remove markup from "old browsers" localization constants 2014-06-06 08:55:39 +00:00
Dmitriy Simushev
49469f6aaf Remove markup from errors realated localized strings 2014-06-05 15:38:17 +00:00
Dmitriy Simushev
12634894ac Remove admin buttons from localization 2014-06-05 14:47:18 +00:00
Dmitriy Simushev
a2383a2702 Fix bug with call to undefined "_getlocal" function 2014-06-05 13:33:14 +00:00
Dmitriy Simushev
ddd7498016 Remove unused images from locale 2014-06-05 12:57:15 +00:00
Dmitriy Simushev
4ecec3a3ab Remove separation of localization constants by level 2014-06-05 11:05:06 +00:00
Dmitriy Simushev
3bb7507fe5 Fix docs about language code standard 2014-06-05 10:04:23 +00:00
Dmitriy Simushev
7410a0019b Replace "getlocal2" function with "getlocal" one 2014-06-05 08:51:14 +00:00
Dmitriy Simushev
8105bfaa1e Replace "getlocal2_" function with "getlocal" 2014-06-05 08:27:26 +00:00
Dmitriy Simushev
9ddaba0b4c Replace "getlocal_" function with "getlocal" 2014-06-05 08:15:25 +00:00
Dmitriy Simushev
090166b780 Update arguemnts list of the "getlocal" function. 2014-06-05 07:56:08 +00:00
Dmitriy Simushev
98fe748bef Remove getstring* functions 2014-06-04 12:20:40 +00:00
Dmitriy Simushev
24c50487d2 Fix bug with undefined "$start" variable in StatisticsController 2014-06-03 15:37:58 +00:00
Dmitriy Simushev
2da623dfb3 Remove "start_xml_output" and "start_js_output" functions 2014-06-03 14:58:14 +00:00
Dmitriy Simushev
390391d117 Do not output content in "*Style::render" methods 2014-06-03 14:55:31 +00:00
Dmitriy Simushev
80f1fbbce7 Remove "check_login" and "force_password" functions 2014-06-03 14:42:39 +00:00
Dmitriy Simushev
1a628d39f7 Replace "index.php" files with a controller. 2014-06-03 14:40:38 +00:00
Dmitriy Simushev
66a68d0f23 Replace "cron.php" with a controller 2014-06-03 13:34:08 +00:00
Dmitriy Simushev
457045d81a Remove legacy code from csrf_check_token function 2014-06-03 13:18:00 +00:00
Dmitriy Simushev
3346a0c90f Remove "setup_settings_tabs" function 2014-06-03 13:13:35 +00:00
Dmitriy Simushev
b75f693454 Replace "operator/*_themes.php" with a controller 2014-06-03 12:44:52 +00:00
Dmitriy Simushev
7b6604fba2 Replace "thread.php" with a controller 2014-06-03 10:10:20 +00:00
Dmitriy Simushev
5244480d4c Simplify chat controllers directory stucture 2014-06-03 09:55:28 +00:00
Dmitriy Simushev
6c9734648a Beautify user chat URLs 2014-06-03 09:43:44 +00:00
Dmitriy Simushev
44ca9e2a2e Clean up "Chat\User\MailController" logic 2014-06-03 08:56:11 +00:00
Dmitriy Simushev
e886e7dc33 Beautify operator chat URLs 2014-06-03 08:15:11 +00:00
Dmitriy Simushev
e31b03ccdf Extract redirection logic from "Chat\Operator\ChatController" 2014-06-02 13:05:34 +00:00
Dmitriy Simushev
7ceb242814 Fix bug with the route name 2014-06-02 12:20:54 +00:00
Dmitriy Simushev
4ff92e7f5c Replace "$mibew_mailbox" variable with a constant 2014-06-02 12:08:24 +00:00
Dmitriy Simushev
b6ee459833 Replace "mail.php" with a controller 2014-06-02 11:56:56 +00:00
Dmitriy Simushev
f7dd6a8d72 Replace "client.php" with a controller 2014-06-02 11:27:19 +00:00
Dmitriy Simushev
0cdf90e24a Replace "operator/redirect.php" with a controller 2014-06-02 10:32:51 +00:00
Dmitriy Simushev
94ab0b8b07 Replace "operator/agent.php" with a controller 2014-06-02 09:58:03 +00:00
Dmitriy Simushev
1163023062 Rewrite Authentication Manager to keep the current operator within it 2014-05-30 10:53:22 +00:00
Dmitriy Simushev
65a9e7c9e8 Remove outdated styles "how to" file 2014-05-30 08:27:56 +00:00
Dmitriy Simushev
c3fd4941fe Replace "captcha.php" with a controller 2014-05-30 08:26:35 +00:00
Dmitriy Simushev
36e06aec16 Remove unused functions 2014-05-29 15:15:35 +00:00
Dmitriy Simushev
f5cb3ec179 Replace "operator/getcode.php" with a controller 2014-05-29 15:13:03 +00:00
Dmitriy Simushev
090ebdb332 Merge branch 'master' of github.com:Mibew/mibew 2014-05-29 12:13:20 +00:00
Dmitriy Simushev
a05f966cfd Add 'operatorAuthenticate' event 2014-05-29 11:50:16 +00:00
Dmitriy Simushev
335cdc6055 Rewrite login/logout process 2014-05-29 11:38:21 +00:00
Dmitriy Simushev
6a5b962f01 Build cookie factory
Please, do not tell Cookie Monster.
2014-05-29 08:17:40 +00:00
88ff761876 Merge branch 'invitation_style' 2014-05-28 18:23:32 +04:00
eefd9ece11 Fix appearance of the default invitation in ie8+ 2014-05-28 18:20:59 +04:00
Dmitriy Simushev
078bf1c1fc Merge remote-tracking branch 'invitation_style' 2014-05-28 09:22:30 +00:00
Dmitriy Simushev
037d69bccb Merge remote-tracking branch 'default_chat_logo' 2014-05-28 08:11:23 +00:00
eb062a2424 Add screenshots to a styles of invitations 2014-05-28 02:06:43 +04:00
0619cdc9c1 Fix outlook of the default chat invitation in standard modern browsers 2014-05-28 01:46:18 +04:00
15739dd410 Fix header of the default chat invitation 2014-05-27 18:41:15 +04:00
Dmitriy Simushev
e458257c65 Add missed property to Application class 2014-05-27 14:16:26 +00:00
Dmitriy Simushev
3d8fa75d59 Use RouterInterface in ConrollerResolver constructor 2014-05-27 13:23:59 +00:00
Dmitriy Simushev
f4268b53cf Mark "check_login" function as deprecated 2014-05-27 11:08:17 +00:00
Dmitriy Simushev
dfca800514 Mark "setup_settings_tabs" function as deprecated 2014-05-27 08:28:01 +00:00
Dmitriy Simushev
862d94d35d Replace "operator/features.php" with a controller 2014-05-27 08:23:13 +00:00
af08dd1b43 Update screenshot for the default chat theme 2014-05-27 00:01:33 +04:00
6c3c70024d Update default logo for the default chat theme 2014-05-27 00:01:07 +04:00
edc7838128 Improve the default invitation theme 2014-05-27 00:00:04 +04:00
Dmitriy Simushev
46e329471c Replace "operator/performance.php" with a controller 2014-05-26 13:08:33 +00:00
Dmitriy Simushev
3373095a66 Replace "operator/settings.php" with a controller 2014-05-26 12:36:14 +00:00
Dmitriy Simushev
3ea2da1ad2 Create "BanController" 2014-05-26 10:01:38 +00:00
Dmitriy Simushev
8969b71613 Replace "operator/translate.php" with a controller 2014-05-23 12:56:39 +00:00
Dmitriy Simushev
ae92fe1514 Remove "$messages" global variable 2014-05-23 11:43:09 +00:00
Dmitriy Simushev
36b817ac58 Do not use IDs from form fields 2014-05-23 11:19:53 +00:00
Dmitriy Simushev
9527ef632f Extract access check from operator controllers 2014-05-23 10:53:29 +00:00
Dmitriy Simushev
af45d34721 Restrict access to avatar edit page 2014-05-23 09:11:35 +00:00
Dmitriy Simushev
c39131199d Replace "operator/permissions.php" with a controller 2014-05-23 09:08:13 +00:00
Dmitriy Simushev
e4cce9618e Make "Mibew\Controller\Group\AbstractController" really abstract 2014-05-23 08:54:30 +00:00
Dmitriy Simushev
4d45e57a9b Remove "&" from "get_csrf_token_in_url" function's result 2014-05-23 07:53:09 +00:00
Dmitriy Simushev
16749fec8c Replace "operator/opgroups.php" with a controller 2014-05-22 15:49:41 +00:00
Dmitriy Simushev
8a4da51366 Fix bug with operators URLs at group member page 2014-05-22 15:01:04 +00:00
Dmitriy Simushev
2568072c0e Split giant "GroupController" to several parts 2014-05-22 14:58:54 +00:00
Dmitriy Simushev
8c9e361918 Split giant "OperatorController" to several parts 2014-05-22 13:36:18 +00:00
Dmitriy Simushev
9f70aa80d2 Replace "operator/avatar.php" with a controller 2014-05-22 12:48:17 +00:00
Dmitriy Simushev
9fb205bc2b Replace "operator/operator.php" with a controller 2014-05-22 10:12:11 +00:00
Dmitriy Simushev
1af5e68bd0 Fix regexp for thread ID 2014-05-21 10:47:03 +00:00
Dmitriy Simushev
b674060ddf Replace "operator/operators.php" with a controller 2014-05-21 10:45:09 +00:00
55dff20bc1 Beautify js code 2014-05-21 13:24:34 +04:00
Dmitriy Simushev
a3f76b3369 Merge remote-tracking branch 'origin/issue04' 2014-05-21 09:20:42 +00:00
a8e84342b9 Rebuild js using latest Closure compiler 2014-05-21 13:13:35 +04:00
Dmitriy Simushev
42e32bb7a7 Use appropriate name for submit handler in "CannedMessageController" 2014-05-21 08:32:06 +00:00
Dmitriy Simushev
f4129ff8ee Replace "operator/invite.php" with a controller 2014-05-21 08:23:51 +00:00
Dmitriy Simushev
938c4cbd69 Remove unused code that is related with invitations 2014-05-21 07:55:55 +00:00
619a5c4ecf Remove useless blank line 2014-05-21 01:04:12 +04:00
Dmitriy Simushev
ff0e1060e9 Fix new user sound notification (issue #38). 2014-05-20 15:14:35 +00:00
Dmitriy Simushev
ad20c781a5 Make controllers' comments more sensible 2014-05-20 14:22:47 +00:00
Dmitriy Simushev
278f9e65ac Use correct regexp for integer value 2014-05-20 14:09:13 +00:00
Dmitriy Simushev
d6d4e36640 Add a controller for group-related actions 2014-05-20 14:06:39 +00:00
Dmitriy Simushev
4f5207858f Clean up "CannedMessageController" code 2014-05-20 13:37:26 +00:00
Dmitriy Simushev
d06e4a1d48 Add access check based on permissions 2014-05-20 11:09:29 +00:00
Dmitriy Simushev
bd1096760b Use more convenient name for canned messages stuff 2014-05-20 11:09:16 +00:00
Dmitriy Simushev
6bd729e859 Merge branch 'issue22' 2014-05-20 09:33:03 +00:00
Dmitriy Simushev
5ef2495ee3 Replace "operator/cannededit.php" with a controller 2014-05-20 09:22:44 +00:00
525243bd8d Improve sound playback (see Issue #4) 2014-05-19 19:34:23 +04:00
a17583c599 Make all settings changeable (see Issue #22) 2014-05-19 16:35:21 +04:00
Dmitriy Simushev
2630786cc1 Replace "operator/canned.php" with a controller 2014-05-19 10:25:32 +00:00
Dmitriy Simushev
86f2c59faa Make "csrf_check_token" function compatible with new requests logic 2014-05-19 09:36:17 +00:00
Dmitriy Simushev
00e7f3eb40 Add controller's action for user's track 2014-05-19 07:33:44 +00:00
Dmitriy Simushev
ae1b1dfbb1 Add script for coding style check 2014-05-16 09:21:01 +00:00
Dmitriy Simushev
8e01325cad Fix coding style 2014-05-16 08:32:25 +00:00
Dmitriy Simushev
3e01b98388 Add "statistics" controller 2014-05-16 08:28:25 +00:00
Dmitriy Simushev
797fc7a3c0 Fix Exception names in \Mibew\Application class 2014-05-16 08:20:44 +00:00
Dmitriy Simushev
e3fe5b8022 Create a controller for password recovery pages 2014-05-15 14:50:16 +00:00
Dmitriy Simushev
d342a4ca9a Merge branch 'display_image' 2014-05-15 14:38:16 +00:00
Dmitriy Simushev
64e96c1c30 Add HTTP Exceptions classes 2014-05-15 14:29:39 +00:00
cd51a360df Display image next to user name in chat history (see Issue #3) 2014-05-15 18:06:50 +04:00
Dmitriy Simushev
d7153a4bf1 Improve filtration of special characters 2014-05-15 12:09:16 +00:00
Dmitriy Simushev
b399cf74e9 Merge branch 'text_button' 2014-05-15 11:53:32 +00:00
Dmitriy Simushev
9718ab4ec1 Remove unused argument from "get_locale_links" function 2014-05-15 07:16:31 +00:00
4f3c9af3c4 Generate non-graphical buttons for locales with missed images 2014-05-15 01:07:21 +04:00
df448fbaf5 Fix typo 2014-05-15 00:58:50 +04:00
88694193b4 Port text button from legacy (see Issue #35) 2014-05-15 00:55:43 +04:00
Dmitriy Simushev
e76ded074c Remove encoding-related localization constants 2014-05-14 13:01:39 +00:00
Dmitriy Simushev
f483c90ee2 Use only UTF-8 encoding in database connections 2014-05-14 12:39:19 +00:00
Dmitriy Simushev
7042f3dd9e Use only UTF-8 encoding 2014-05-14 12:16:04 +00:00
Dmitriy Simushev
a93517dcf1 Add "history" controller 2014-05-14 09:02:45 +00:00
Dmitriy Simushev
1106a510da Create controller for awaiting-users actions 2014-05-13 14:52:30 +00:00
Dmitriy Simushev
4dac50301d Replace "/operator/updates.php" page with a controller 2014-05-13 14:20:11 +00:00
Dmitriy Simushev
3762bd4906 Add "logged in" access check 2014-05-13 14:10:00 +00:00
Dmitriy Simushev
d41f8547db Use route name instead of path in controllers docs 2014-05-13 14:06:15 +00:00
Dmitriy Simushev
75349a34b5 Mark function "force_password" as deprecated 2014-05-13 13:33:56 +00:00
Dmitriy Simushev
b10408b631 Add routes-based access control 2014-05-13 12:13:02 +00:00
bac1404cf1 Make flat_cp tool portable to systems without GNU sed 2014-05-12 18:01:13 +04:00
Dmitriy Simushev
1c9430286c Add PHP Code Sniffer to dev dependencies 2014-05-08 13:20:03 +00:00
Dmitriy Simushev
c7d87ac5c8 Fix codding style 2014-05-08 13:19:04 +00:00
Dmitriy Simushev
e6c055e782 Mark "start_xml_output" function as deprecated 2014-05-08 12:24:11 +00:00
Dmitriy Simushev
35605b5af3 Create controller for button image 2014-05-08 11:53:25 +00:00
Dmitriy Simushev
8db2b94203 Prepare a request before send 2014-05-08 11:29:39 +00:00
Dmitriy Simushev
09411a4b32 Add "visitorTrack" event 2014-05-07 11:26:22 +00:00
Dmitriy Simushev
049dff0952 Make a controller for widget gateway 2014-05-07 11:23:25 +00:00
Dmitriy Simushev
7374d5f752 Fix bug in the main exceptions catcher 2014-05-07 09:16:09 +00:00
Dmitriy Simushev
f809557679 Replace license.php with controller's action 2014-05-06 15:36:15 +00:00
Dmitriy Simushev
18a2718888 Add extension to LICENSE, README, VERSION files 2014-05-06 15:25:21 +00:00
Dmitriy Simushev
3e7578411b Load all libs in libs/init.php 2014-05-06 15:18:31 +00:00
Dmitriy Simushev
456e329232 Add info about the project to composer.json 2014-05-06 14:55:18 +00:00
Dmitriy Simushev
a15b37d9ea Implement front controller 2014-05-06 14:26:30 +00:00
Dmitriy Simushev
11462e76ef Increase required PHP version 2014-04-29 14:31:43 +00:00
Dmitriy Simushev
8057b40bb3 Update installation procedure 2014-04-28 10:54:09 +00:00
Dmitriy Simushev
b40f1e2e51 Fix bug with takeover feature 2014-04-28 08:39:11 +00:00
Dmitriy Simushev
06991af115 Fix problem with not serial keys and JSON response 2014-04-25 12:38:36 +00:00
Dmitriy Simushev
4e3593375f Update Handlebars.php 2014-04-24 13:43:00 +00:00
Dmitriy Simushev
b0c7cd350f Fix bug with sound when "mibew root" is empty 2014-04-24 13:21:17 +00:00
Dmitriy Simushev
0e2fbf3cf1 Provide js callbacks for invitation events 2014-04-09 08:44:16 +00:00
Mahmood Reza Sajjadi
787f446c31 remove depricated tag 2014-03-27 15:49:30 +04:30
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
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