Commit Graph

2249 Commits

Author SHA1 Message Date
Dmitriy Simushev
ff72960382 Throw an exception if a HBS helper receives wrong arguments set 2014-09-10 14:13:16 +00:00
Dmitriy Simushev
61ee2d0af6 Fix invitation popup 2014-09-10 11:26:09 +00:00
Dmitriy Simushev
933d03e45a Increase Mibew version 2014-09-10 11:07:54 +00:00
Dmitriy Simushev
86085a0c31 Force Mibew to work without mod_rewrite 2014-09-10 10:56:06 +00:00
Dmitriy Simushev
7c969e495e Add RTL support to the default chat style
Fixes #64
2014-09-10 10:16:30 +00:00
Dmitriy Simushev
97ab17ce7a Update Symfony components version 2014-09-10 09:40:27 +00:00
Dmitriy Simushev
58959cf866 Fix problems with installation script 2014-09-09 10:07:43 +00:00
Dmitriy Simushev
7201dfd113 Remove MIBEW_WEB_ROOT constant 2014-09-08 14:08:44 +00:00
Dmitriy Simushev
a314bca69b Move "go online link" generation to Controller 2014-09-08 14:01:41 +00:00
Dmitriy Simushev
cb98a6fc94 Fix typo in comment 2014-09-08 12:39:09 +00:00
Dmitriy Simushev
f107ae4556 Configure plugins data with a request instead of a page name 2014-09-08 12:29:30 +00:00
Dmitriy Simushev
3a3b7f362b Add "asset" helper to the repository. 2014-09-08 09:54:53 +00:00
Dmitriy Simushev
ff917b25ad Do not use MIBEW_WEB_ROOT in Style classes 2014-09-05 10:59:48 +00:00
Dmitriy Simushev
dfbbc11cfb Apply asset helper to chat templates 2014-09-05 10:50:36 +00:00
Dmitriy Simushev
7c1e123ad6 Do not use style path for pagination generation 2014-09-05 10:26:47 +00:00
Dmitriy Simushev
84094ad38b Use divs instead of images for pagination arrows 2014-09-05 10:06:26 +00:00
Dmitriy Simushev
5a3a4d959f Use asset helper in pages style 2014-09-05 09:13:11 +00:00
Dmitriy Simushev
83f6c31dd6 Fix styles screeenshots 2014-09-04 15:11:52 +00:00
Dmitriy Simushev
e5031f9987 Use "mibewRoot" only in file paths 2014-09-04 12:53:13 +00:00
Dmitriy Simushev
0253f8e67e Remove unused use statement 2014-09-04 12:43:08 +00:00
Dmitriy Simushev
c207f0507d Use "route" helper to generate URLs in chat style 2014-09-04 12:26:18 +00:00
Dmitriy Simushev
6ceecb42aa Generate links for Users JS App in the controller 2014-09-04 12:12:30 +00:00
Dmitriy Simushev
f8bd639f39 Use stylePath variable instead of tplRoot in chat templates 2014-09-04 10:52:57 +00:00
Dmitriy Simushev
cf6e7f625a Fix URL for ban edit page 2014-09-04 10:38:17 +00:00
Dmitriy Simushev
cbc119382b Create a helper to generatate URLs with CSRF protection 2014-09-04 10:23:38 +00:00
Dmitriy Simushev
c08ab3a456 Use "route" helper in pages style 2014-09-03 15:19:27 +00:00
Dmitriy Simushev
09c7b15656 Move protected AbstractController::getStyle method to the end of the class 2014-09-03 11:56:53 +00:00
Dmitriy Simushev
5ee217accb Create "route" Handlebars.php helper 2014-09-03 11:52:37 +00:00
Dmitriy Simushev
eba2eadaca Reduce code duplication in Handlebars powered styles 2014-09-03 11:27:43 +00:00
Dmitriy Simushev
7021cb983e Move takeover confirmation page template to chat style 2014-08-29 12:55:41 +00:00
Dmitriy Simushev
37cc5cb178 Move Handlebars.php helpers to separate classes 2014-08-29 11:42:15 +00:00
Dmitriy Simushev
a5d7c6ccd4 Don't use MIBEW_WEB_ROOT in get_current_locale func 2014-08-28 12:15:59 +00:00
Dmitriy Simushev
766be1f051 Remove unused function "get_app_location" 2014-08-28 10:23:58 +00:00
Dmitriy Simushev
f61ef23e3f Don't use global environment in "setup_chatview_for_user" func 2014-08-28 10:22:17 +00:00
Dmitriy Simushev
896e0d924b Don't rely on internal Router structure 2014-08-28 09:52:48 +00:00
Dmitriy Simushev
1c1d479474 Don't use global environment in "setup_chatview_for_operator" func 2014-08-28 09:39:14 +00:00
Dmitriy Simushev
ee492a0c23 Extract release preparation stuff from default gulp task
Fixes #62
2014-08-28 08:40:08 +00:00
Dmitriy Simushev
da54de32b9 Remove unused "is_agent_opera95" function 2014-08-27 15:34:56 +00:00
Dmitriy Simushev
4ba7804b88 Make *Processor::handleRequest returns a Response 2014-08-27 13:44:01 +00:00
Dmitriy Simushev
928328f2b0 Set default value for Thread's agent ID when a thread is created 2014-08-27 13:28:01 +00:00
Dmitriy Simushev
730dd2f2df Make *Processor handles Symfony requests 2014-08-27 13:22:43 +00:00
Dmitriy Simushev
8b1b38dddc Set default operator's avatar
Fixes #60
2014-08-27 10:33:35 +00:00
Dmitriy Simushev
57770e76cf Remove unused needs_frame_src function 2014-08-26 14:53:21 +00:00
Dmitriy Simushev
aad2f6a34f Move button generating logic to separate classes 2014-08-26 12:03:58 +00:00
Dmitriy Simushev
3802e1bf0f Update Handlebars.php version 2014-08-26 09:39:14 +00:00
Dmitriy Simushev
c9e7971c41 Fix button size determination 2014-08-26 09:33:10 +00:00
Dmitriy Simushev
e97f3d1fbf Add secure URL generation for assets 2014-08-25 11:21:18 +00:00
Dmitriy Simushev
21c0ee9134 Move secure URL generation to the Router 2014-08-22 13:11:17 +00:00
Dmitriy Simushev
96df4dc857 Declare method visibility in ButtonCodeController 2014-08-21 11:38:45 +00:00
Dmitriy Simushev
c32628e2b2 Generate URLs from routes in HomeController 2014-08-21 11:37:17 +00:00
Dmitriy Simushev
df4b6f214e Add an easy way to generate assets URL 2014-08-21 11:33:38 +00:00
Dmitriy Simushev
f0f41cbfb6 Move all button generation logic to ButtonCodeController 2014-08-20 14:40:30 +00:00
Dmitriy Simushev
e9f480e3ef Add an ability to generate https routes 2014-08-20 13:00:03 +00:00
Dmitriy Simushev
82a3cb7dd5 Remove unused "verifyparam_groupid" function 2014-08-20 10:04:19 +00:00
Dmitriy Simushev
34a8a2eee4 Do not use MIBEW_WEB_ROOT in AvatarController 2014-08-20 09:50:39 +00:00
Dmitriy Simushev
e6b9635e22 Add project name to .pot file 2014-08-19 12:49:54 +00:00
Dmitriy Simushev
154e891cb4 Update Handlebars.php version 2014-08-18 14:40:24 +00:00
4fc223a6a6 Improve headers 2014-08-18 15:42:27 +04:00
Dmitriy Simushev
22a34c3315 Localize some strings related with files uploading 2014-08-18 09:46:26 +00:00
Dmitriy Simushev
51e076aafc Add more PHP's localization functions 2014-08-18 09:42:08 +00:00
Dmitriy Simushev
46a8345de2 Extract localization strings from js files 2014-08-18 09:23:15 +00:00
Dmitriy Simushev
17d7014da9 Rename Localization.get method on the client side 2014-08-18 09:11:40 +00:00
Dmitriy Simushev
7128870ef6 Fix notice about undefined "visitorid" in UserChatController 2014-08-13 14:09:35 +00:00
Dmitriy Simushev
48408c6547 Remove unused console scripts 2014-08-13 12:51:17 +00:00
Dmitriy Simushev
3ca9395d69 Search localization strings in .handlebars files 2014-08-13 12:14:35 +00:00
Dmitriy Simushev
95d2593b28 Update version of gulp-phpcs plugin 2014-08-13 11:03:03 +00:00
Dmitriy Simushev
02874adbd0 Do not include GIT repos of third-party libs to build 2014-08-13 09:04:44 +00:00
Dmitriy Simushev
f583aa6439 Add gulp task for .pot file generation 2014-08-13 08:40:42 +00:00
Dmitriy Simushev
547cd5abb6 Fix suhosin problems during build process 2014-08-12 10:35:57 +00:00
Dmitriy Simushev
51fcdcd1a5 Update JavaScript headers 2014-08-08 12:34:04 +00:00
Dmitriy Simushev
58aec22fc3 Remove compiled files from the reository 2014-08-08 12:20:44 +00:00
Dmitriy Simushev
ac55ecc545 Minify js/source/update.js file 2014-08-08 11:51:38 +00:00
Dmitriy Simushev
f8b5cdafa2 Move JavaScript files related with style to style 2014-08-08 11:49:26 +00:00
Dmitriy Simushev
5feb4535d6 Fix automatic set of online status 2014-08-08 10:26:42 +00:00
Dmitriy Simushev
6d90246bbe Do not override "getFilesPath" method in the Abstract style class
Fixes #56
2014-08-08 10:15:12 +00:00
Dmitriy Simushev
c2aeeb07f9 Add gulp task for build the sources 2014-08-07 11:04:45 +00:00
Dmitriy Simushev
a9cd400834 Add a Gulp tasks for composer dependancies installation 2014-08-06 12:08:19 +00:00
Dmitriy Simushev
4594619a4a Provide an ability to export translations
Fixes #45
2014-08-06 08:52:12 +00:00
Dmitriy Simushev
668e724a01 Add option to override strings during import
Fixes #47
2014-08-05 14:15:02 +00:00
Dmitriy Simushev
cabdaed21d A user cannot start chat if all groups offline
Revert changes made in 324f5bf94e
2014-08-05 12:50:09 +00:00
Dmitriy Simushev
38bdf1318f Remove unused legacy code 2014-08-05 12:32:34 +00:00
Dmitriy Simushev
4ccd67e28a Do not work directly with session in "notify_operator_alive" func
Fixes #57
2014-08-05 11:39:44 +00:00
Dmitriy Simushev
6cdfb4a7bc Get operator from AuthenticationManager in UsersProcessor 2014-08-05 11:26:33 +00:00
Dmitriy Simushev
a99a839998 Add support for ".png" buttons
Fixes #48
2014-08-04 15:33:19 +00:00
Dmitriy Simushev
ef5c919803 Add timezone option to the config file
Fixes #55
2014-08-04 14:18:43 +00:00
Dmitriy Simushev
fdfb945ed0 Remove unneeded "check_coding_style" shell script 2014-08-04 13:59:13 +00:00
Dmitriy Simushev
bee65e50f7 Use Gulp.js instead of Ant for building 2014-08-04 13:53:18 +00:00
Dmitriy Simushev
324f5bf94e Treat operators online even if they don't belong to any groups
Fixes #51
2014-07-29 14:55:22 +00:00
Dmitriy Simushev
a8e98c1e08 Always use absolute URL for an invitation thread
Fixes 52
2014-07-29 14:09:23 +00:00
9e08c6f2a5 Fix typo in comment 2014-07-28 15:32:12 +04:00
Dmitriy Simushev
074f4652d1 Fix caching in localized strings saving
Fixes #49
2014-07-28 10:33:20 +00:00
Dmitriy Simushev
650faf25f6 Localize permission descriptions in "permission_descriptions" func 2014-07-28 10:12:12 +00:00
Dmitriy Simushev
4670851505 Localize permission descriptions
Fixes #50
2014-07-28 09:32:15 +00:00
Dmitriy Simushev
48bcea8f65 Use client-side templates names according to directory structure 2014-07-24 13:46:24 +00:00
Dmitriy Simushev
2ddae8e300 Clarify description for "Track operators" feature 2014-07-23 14:01:58 +00:00
Dmitriy Simushev
d04f703f35 Add option to track operators like any other visitors.
Fixes #46
2014-07-23 13:28:35 +00:00
Dmitriy Simushev
86f8cb5100 Display installation errors on a step page 2014-07-23 12:56:38 +00:00
Dmitriy Simushev
c4592d242a Fix error displaying on installation pages 2014-07-23 12:31:59 +00:00
Dmitriy Simushev
6a1ac9ada4 Update after installation login link 2014-07-23 12:25:18 +00:00
Dmitriy Simushev
62b8b3ceff Override "home" route in the installer routes 2014-07-23 11:50:27 +00:00
Dmitriy Simushev
4f49920526 Allow apache to process existing directories 2014-07-14 11:25:06 +00:00
Dmitriy Simushev
1a60aeac2e Remove trailing slash if it exists in a request
Fixes #36
2014-07-14 11:02:20 +00:00
Dmitriy Simushev
1a3062f2f9 Use more convenient name for the primary key in "translation" table 2014-07-14 10:35:50 +00:00
Dmitriy Simushev
14e709be37 Do not use "needChangePassword" template var 2014-07-14 10:25:59 +00:00
Dmitriy Simushev
5636b1ab3d Imporove localization strings import and saving 2014-07-14 10:23:49 +00:00
Dmitriy Simushev
67383cf052 Use YAML files for style configs 2014-07-14 08:59:13 +00:00
Dmitriy Simushev
2ba5c0e9b3 Use convenient names for database tables 2014-07-14 08:36:29 +00:00
Dmitriy Simushev
2af3df4bc6 Remove a stub for get_enabled_locales function 2014-07-11 15:15:59 +00:00
Dmitriy Simushev
e4829b9c04 Fix locales disable 2014-07-11 15:14:46 +00:00
Dmitriy Simushev
a63215f299 Replace HOME_LOCALE const with get_home_locale() func 2014-07-11 15:05:42 +00:00
Dmitriy Simushev
cca081b5c7 Replace DEFAULT_LOCALE const with get_default_locale() func 2014-07-11 14:36:37 +00:00
Dmitriy Simushev
803863571b Replace const CURRENT_LOCALE with get_current_locale() func 2014-07-11 14:26:14 +00:00
Dmitriy Simushev
e3e25f78d7 Reduce count of .htaccess files
Fixes #34
2014-07-11 13:33:59 +00:00
Dmitriy Simushev
7ce675da86 Remove outdated PHPUnit tests
Need new good tests.
2014-07-11 13:10:18 +00:00
Dmitriy Simushev
f33c686aab Lowercase database columns names 2014-07-11 13:00:11 +00:00
Dmitriy Simushev
bdd7d31bd5 Remove operator's avatar file when it is removed for UI
Fixes #39
2014-07-11 12:13:57 +00:00
Dmitriy Simushev
6ae53d90af Remove message about empty password and first login 2014-07-11 11:56:48 +00:00
Dmitriy Simushev
217ccb9e09 Fix phpdoc comments 2014-07-11 11:14:42 +00:00
Dmitriy Simushev
8a79393989 Add an ability to use non-default database port
Fixes #40
2014-07-11 11:09:17 +00:00
524302fb2e Prevent use of an invalid salt for Blowfish hashing of passwords 2014-07-11 09:20:49 +00:00
Dmitriy Simushev
dadbe36bd2 Downgrade Handlebars.php a little
The latest version of Handlebars.php contains a problem with nested
ifs (https://github.com/XaminProject/handlebars.php/pull/71) thus
it cannot be used.
2014-07-11 09:08:18 +00:00
Dmitriy Simushev
0f9e49a1ce Update Handlebars.php 2014-07-10 14:29:58 +00:00
Dmitriy Simushev
991422fef4 Update README 2014-07-10 14:25:31 +00:00
Dmitriy Simushev
b5e502c647 Remove "mibew_root" variable from configs 2014-07-10 14:18:11 +00:00
Dmitriy Simushev
5688f81904 Fix installation sound check 2014-07-10 14:07:15 +00:00
Dmitriy Simushev
0a82b6933e Use step-by-step installation process 2014-07-10 13:53:44 +00:00
Dmitriy Simushev
0820dc9997 Do not ignore "mibew/install" dir in "check_coding_style" script
This dir was not follow coding standatrds but not it does not
exist.
2014-07-09 10:09:28 +00:00
Dmitriy Simushev
93cfdc3ed1 Remove unused "start_html_output" function 2014-07-09 10:06:50 +00:00
Dmitriy Simushev
3bb795a793 Use YAML for the core configurations 2014-07-09 09:14:26 +00:00
Dmitriy Simushev
99a4ca6192 Move all runtime configs to "configs" dir 2014-07-09 08:31:51 +00:00
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
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
Dmitriy Simushev
67de68b28b Add notification about cron to operator/history.php 2013-04-30 14:05:30 +00:00
Dmitriy Simushev
8914f01b3b Create cron_get_uri function 2013-04-30 13:39:49 +00:00
Dmitriy Simushev
ff3bfa545f Update pluginMessageIndex event
Add ability for plugins to alter sender name and operator ID
during message indexing.
2013-04-30 13:20:14 +00:00
Dmitriy Simushev
dfd3b9e615 Create Thread::postPluginMessage method 2013-04-30 13:18:28 +00:00
Dmitriy Simushev
78037e60a3 Update descriptions of ant targets 2013-04-30 10:44:25 +00:00
Dmitriy Simushev
57eb898bfd Remove duplication from install/dbinfo.php 2013-04-30 10:29:36 +00:00
Dmitriy Simushev
fa33342dbc Add messages indexing 2013-04-30 10:22:44 +00:00
Dmitriy Simushev
3594485267 Add ability for plugins to send custom messages 2013-04-29 11:04:17 +00:00
Dmitriy Simushev
00d668a74a Recompile Users JavaScript Application 2013-04-26 13:15:57 +00:00
Dmitriy Simushev
67216c0a83 Fix bug with PluginManager in installation script 2013-04-26 12:47:44 +00:00
Dmitriy Simushev
081c4a88a2 Do not grant all privileges to operators by default 2013-04-26 10:47:32 +00:00
Dmitriy Simushev
2d08fda940 Fix notice about undef $errors in operator/operators.php 2013-04-26 09:57:26 +00:00
Dmitriy Simushev
a23d9fa216 Move update_operator_permissions function to libs/operator.php 2013-04-26 09:39:39 +00:00
Dmitriy Simushev
a31cdfce24 Remove permission related global vars 2013-04-26 09:19:52 +00:00
Dmitriy Simushev
935ad85fd5 Create delete_operator function 2013-04-25 12:39:33 +00:00
Dmitriy Simushev
6954c598a3 Remove default value for id in JS Mibew.Models.Message 2013-04-25 10:01:40 +00:00
Dmitriy Simushev
3c20e8cf5c Update defaults values in JS Mibew.Models.Message 2013-04-24 14:47:49 +00:00
Dmitriy Simushev
5483483031 Update docs for Thread class 2013-04-24 14:00:24 +00:00
Dmitriy Simushev
688591b616 Create 'operatorCheckLoginFail' event, update docs 2013-04-16 11:40:38 +00:00
Dmitriy Simushev
df38a1860f Fix notice about undefined index 'visitorid' in libs/chat.php 2013-04-15 11:59:21 +00:00
Dmitriy Simushev
48d0159a92 Fix notice about undefined index 'visitorid' in client.php 2013-04-15 11:53:45 +00:00
Dmitriy Simushev
c7182e840d Update select_with_pagintation function logic
It always create $page['pagination.items'] as array
2013-04-11 12:46:18 +00:00
Dmitriy Simushev
8ceb695d43 Fix bug with filtration at threads history page 2013-04-11 12:41:57 +00:00
Dmitriy Simushev
d14a778831 Fix bug with history for search in messages 2013-04-11 12:33:49 +00:00
Dmitriy Simushev
545bb19896 Update docs for Thread class 2013-04-11 10:33:05 +00:00
Dmitriy Simushev
5798c2399d Add ability for client-side plugins to use own locale strings 2013-04-11 10:04:19 +00:00
Dmitriy Simushev
438824fa36 Fix bug with flatten global $page array 2013-04-10 15:09:57 +00:00
Dmitriy Simushev
441316b9f5 Add 'threadChanged' event 2013-04-10 13:35:03 +00:00
Dmitriy Simushev
58fd82ca36 Add the ability to add locale strings in plugins 2013-04-10 11:42:42 +00:00
Dmitriy Simushev
803f2ba075 Clean up load_messages function 2013-04-10 10:29:44 +00:00
Dmitriy Simushev
db1b51ae8a Add an ability to run cron job 2013-04-09 15:45:57 +00:00
Dmitriy Simushev
2f89219756 Update Marionette.js to v1.0.2 2013-04-08 15:15:15 +00:00
Dmitriy Simushev
9e9dbf8e2a Create default config files and stop indexing actual configs 2013-04-08 13:41:55 +00:00
Dmitriy Simushev
cf412e049f Update Backbone.js to v1.0.0 2013-04-08 12:51:32 +00:00
Dmitriy Simushev
d7c3e297ed Add hidden file to plugins directory to keep it in git 2013-04-08 12:12:58 +00:00
Dmitriy Simushev
8869a560ed Fix bug with client side plugins initialization
Fix prechat survey and leave message page initialization for client
2013-04-08 11:53:37 +00:00
Dmitriy Simushev
71c327f14c Fix bug with client side plugins initialization 2013-04-08 09:59:52 +00:00
Dmitriy Simushev
0f0743bd52 Update JavaScript files in default dialog theme.
Use 'jQuery' instead of '$' in arguments of immediatly
called function.
2013-03-13 15:38:28 +00:00
Dmitriy Simushev
0b5c5d5aba Add ajax loader for Survey and LeaveMessage chat modules 2013-03-13 15:38:28 +00:00
Dmitriy Simushev
a3c6141ab7 Update docs for Mibew.Views.LeaveMessageFrom.submitError 2013-03-13 15:38:28 +00:00
Dmitriy Simushev
3804d26cab Recompile templates for Users JavaScript Application 2013-03-13 15:38:28 +00:00
Dmitriy Simushev
88fffc078b Build select group box at client side 2013-03-13 15:38:28 +00:00
Dmitriy Simushev
f1803662a8 Create some usefull groups functions
Create group_is_online and get_group_description functions.
2013-03-13 15:38:28 +00:00
Dmitriy Simushev
3c080e4725 Fix bug with header for compiled templates in build.xml 2013-03-13 15:38:28 +00:00
Dmitriy Simushev
23ac4ef88a Fix permissions for build scripts 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
4d9c33ed1c Rename ant 'compile_js' task to 'core_js' 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
ff92bca633 Move build scripts to tools dir 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
1cf83dcd34 Move 'compiled_templates_header.txt' to tools dir 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
7091d7b326 Remove old JavaScript compilation script 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
a32cf9128b Update structure of Chat Handlebars templates.
Recompile templates.
2013-03-13 15:38:27 +00:00
Dmitriy Simushev
97ca21d295 Update build system.
Add ability to use complex directory structure of Handlebars
templates in dialog styles.
2013-03-13 15:38:27 +00:00
Dmitriy Simushev
4b7614caec Completely remove prototype.js from Mibew 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
6c1852e094 Update JavaScript code at install pages 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
4f47218a13 Use playSound JS function instead of sound model 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
a4d12d7b65 Add 'msgjs:' and 'pagejs:' prefixies to template engine 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
33f30bd1c6 Add refresh updater after Chat Module started 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
e7f8779ba8 Fix bug with auto start chat chat window resizer 2013-03-13 15:38:26 +00:00
Dmitriy Simushev
2a3a9dec9d Replace 'tplimage' css class by 'tpl-image' 2013-03-13 15:38:26 +00:00
Dmitriy Simushev
a570ed75d0 Update Chat JavaScript Application
Make prechat survey and leave message parts of the Chat
JavaScript Application
2013-03-13 15:38:26 +00:00
Dmitriy Simushev
9436b486f9 Fix bug in groups saving 2013-03-13 15:38:26 +00:00
Dmitriy Simushev
f72a0187be Build system not strip comments from JS templates anymore 2013-03-13 15:38:26 +00:00
Dmitriy Simushev
ba7eb96e8a Update build system in templates compilation.
Use closure compiler instead of handlebars built in minifier and
recompile all templates.
2013-03-13 15:38:26 +00:00
Dmitriy Simushev
709623dfc5 Fix bug with errorCode in Mibew API execution context 2013-03-13 15:38:26 +00:00
Dmitriy Simushev
8fc9b85bfa Do not support old browsers at all 2013-03-13 15:38:26 +00:00
Dmitriy Simushev
d2805afc9f Remove '.bgbody' css class 2013-03-13 15:38:26 +00:00
Dmitriy Simushev
faac427cc7 Remove layout initialization options in Chat JS app 2013-03-13 15:38:26 +00:00
Dmitriy Simushev
372bae4203 Build Chat JavaScript application options mostly not in template 2013-03-13 15:38:26 +00:00
Dmitriy Simushev
9cde3262d6 Use 'chat.user.name' var instead of 'ct.user.name' in templates 2013-03-13 15:38:25 +00:00
Dmitriy Simushev
fead1b65a1 Use 'chat.thread.token' var instead of 'ct.token' in templates 2013-03-13 15:38:25 +00:00
Dmitriy Simushev
f77021b82b Use 'chat.thread.id' var instead of 'ct.chatThreadId' in templates 2013-03-13 15:38:25 +00:00
Dmitriy Simushev
2c9e65b518 Use 'company.*' vars instead of 'ct.company.*' in tempates 2013-03-13 15:38:25 +00:00