Commit Graph

2067 Commits

Author SHA1 Message Date
Dmitriy Simushev
bc024c3253 Fix layout for install and login pages 2015-05-21 13:58:54 +00:00
Dmitriy Simushev
137d92624e Store locales' meta info in the database 2015-05-21 12:39:36 +00:00
Dmitriy Simushev
5d13afd8f6 Make sure visitor name is not empty in prechat survey 2015-05-08 14:54:53 +00:00
Dmitriy Simushev
5628f42782 Make sure Thread::groupId is always integer
See https://mibew.org/forums/index.php/topic,191756.0.html for details
about why it's needed.
2015-05-08 12:46:50 +00:00
Dmitriy Simushev
eae5b8bb06 Make rewrite rules work with old Apache
See https://mibew.org/forums/index.php/topic,191761.0.html
2015-05-07 14:17:14 +00:00
Dmitriy Simushev
40fef4e360 Fix "replace" Handlebars.js helper 2015-05-07 13:23:53 +00:00
Dmitriy Simushev
ab35143e18 Add gulp "rebuild" task 2015-04-17 14:18:59 +00:00
Dmitriy Simushev
f176ac628b Use clean inside "default" gulp task 2015-04-17 13:07:25 +00:00
Dmitriy Simushev
7a09546198 Fix docs for EventDispatcher\Events::BUTTON_GENERATE const 2015-04-15 14:30:44 +00:00
Dmitriy Simushev
47672a5eb6 Fix gulp clean task 2015-04-14 11:43:56 +00:00
Dmitriy Simushev
3307ba01dc Fix bug with race condition on build 2015-04-14 11:39:33 +00:00
7d3558460b Bump version 2015-04-14 13:47:23 +03:00
Dmitriy Simushev
2fdb7e4525 Update copyrights in the default page style CSS file 2015-04-08 09:46:10 +00:00
Dmitriy Simushev
48d8805605 Add "Show menu" link at awaiting users page
Fixes #95
2015-04-08 09:44:05 +00:00
Dmitriy Simushev
e4a104f52e Add CLI cron worker 2015-04-01 15:28:10 +00:00
Dmitriy Simushev
ff09ea09cc Extract CronWorker from CronController 2015-04-01 15:24:51 +00:00
Dmitriy Simushev
a4ce7ffea7 Clean up before release preparation 2015-03-31 10:54:34 +00:00
0f8b5da18a Bump version 2015-03-30 14:10:55 +03:00
Dmitriy Simushev
1a358c2f09 Don't call set_csrf_token() function in controllers 2015-03-27 15:19:10 +00:00
Dmitriy Simushev
b56881bf01 Mark Database::throwExeptions method as deprecated
This is done because the method has a typo in the name.
2015-03-27 15:05:17 +00:00
Dmitriy Simushev
59de37a12b Automatically reject invitation when visitor goes to another page 2015-03-27 14:34:53 +00:00
Dmitriy Simushev
2a819b1b98 Allow using "?" and "*" wildcards for history search 2015-03-27 13:29:12 +00:00
Dmitriy Simushev
a9eb9f8cf2 Mark thread as chatting right after an invitation is accepted 2015-03-27 12:31:11 +00:00
Dmitriy Simushev
70f630d125 Rewrite Thread::take method to simplify it 2015-03-27 12:29:54 +00:00
Dmitriy Simushev
0075e2169c Add a function that loads online operators 2015-03-26 10:46:50 +00:00
Dmitriy Simushev
f47a67fd57 Notify operators only about threads that are waiting for the answer 2015-03-25 14:41:42 +00:00
Dmitriy Simushev
b2bb9cfb92 Do not show alert if another one is already shown 2015-03-25 14:28:03 +00:00
Dmitriy Simushev
a3f68852ce Fix broken avatar URL in invitation 2015-03-24 15:29:18 +00:00
Dmitriy Simushev
2031d82600 Bump version 2015-03-24 15:05:05 +00:00
Dmitriy Simushev
31b09570f9 Allow to use multiple memcached servers for caching 2015-03-24 15:01:39 +00:00
Dmitriy Simushev
b18aef404a Use bower for managing client side dependencies
Fixes #117
2015-03-23 16:42:32 +00:00
Dmitriy Simushev
6fb71835bf Update Handlebars.js to v3.0.0 2015-03-23 10:05:40 +00:00
Dmitriy Simushev
22aaedd3be Add support of memcached storage for caching 2015-03-20 15:26:15 +00:00
Dmitriy Simushev
758203b6d3 Encapsulate cache pool instantiation in CacheFactory 2015-03-20 14:59:11 +00:00
Dmitriy Simushev
57182b0589 Forbid access to cache files 2015-03-20 13:24:34 +00:00
Dmitriy Simushev
0f44076e48 Use unexpired cache for routes by default 2015-03-20 13:15:32 +00:00
Dmitriy Simushev
094139dead Add routes caching 2015-03-20 13:08:04 +00:00
Dmitriy Simushev
30fd4bad7c Add HTTP caching headers to translations.js
Fixes #70
2015-03-19 12:04:42 +00:00
Dmitriy Simushev
9fef4b2871 Simplify working with Asset Manager in Handlebars helpers 2015-03-19 09:55:58 +00:00
Dmitriy Simushev
db702e43c9 Simplify working with Router in Handlebars helpers 2015-03-19 09:34:16 +00:00
Dmitriy Simushev
93c5cb995a Update Vex.js to v2.3.2 2015-03-18 13:15:41 +00:00
Dmitriy Simushev
5fada43676 Update Marionette.js to v2.4.1 2015-03-18 13:07:26 +00:00
Dmitriy Simushev
adac8fb3fd Update Underscore.js to v1.8.2 2015-03-18 12:57:56 +00:00
Dmitriy Simushev
0eef94a164 Update composer dependencies 2015-03-18 12:50:09 +00:00
Dmitriy Simushev
3c0c880661 Add CSRF protection for password recovery forms 2015-03-17 14:41:31 +00:00
Dmitriy Simushev
e122d020eb Add CSRF protection to login form 2015-03-17 14:22:32 +00:00
Dmitriy Simushev
a8629df5ec Use "encodeURIComponent" instead of "escape" in popup windows JS
This also fixes passing client's URL for IDN domains to the server.
2015-03-17 13:47:23 +00:00
Dmitriy Simushev
415005e2f6 Fix validation for empty emails 2015-03-17 13:25:00 +00:00
Dmitriy Simushev
6e78c45c67 Allow using email with IDN domains at the server side 2015-03-17 12:25:25 +00:00
Dmitriy Simushev
6ac77e629a Improve email validation at the client side 2015-03-17 12:24:21 +00:00
Dmitriy Simushev
313e854723 Move email validation function to Mibew\Mail\Utils class 2015-03-17 10:36:45 +00:00
Dmitriy Simushev
4332d9c205 Use third-party library to validate email at client side 2015-03-17 10:31:37 +00:00
Dmitriy Simushev
833d2a9096 Use PHP's filter_var function for email validation 2015-03-16 15:58:34 +00:00
Dmitriy Simushev
6e71f0542b Store relative avatar path in database
Also it fixes #114
2015-03-16 12:56:36 +00:00
f6fe379a54 Add information on cron job into README 2015-03-10 18:18:22 +03:00
Dmitriy Simushev
cc5adc17b2 Use correct field to pass operator's requests frequency to client side
Fixes #112
2015-03-04 09:56:37 +00:00
284318a287 Update version 2015-02-24 18:21:20 +03:00
Dmitriy Simushev
edcd348bca Fix bug with single popup window openning 2015-02-20 14:22:59 +00:00
Dmitriy Simushev
21ae86958d Remove unused AbstractGenerator::getChatUrlForJs method 2015-02-03 16:20:39 +00:00
Dmitriy Simushev
0dca0bb57d Build correct URLs for chat popups 2015-02-03 16:19:01 +00:00
Dmitriy Simushev
933ced4575 Do not use HTML entities inside script tag
Fixes #107
2015-02-03 16:17:52 +00:00
Dmitriy Simushev
232d69cf72 Use Vex.js for alert, confirm and prompt 2015-02-03 14:23:32 +00:00
Dmitriy Simushev
c1850f0bb3 Use async notice for alert, confirm and prompt functions 2015-02-03 14:08:52 +00:00
Dmitriy Simushev
ebd6684d4a Switch to PHPCS 2.x 2015-02-03 09:49:00 +00:00
Dmitriy Simushev
62f958622c Use stable version of UA parser 2015-02-03 09:46:07 +00:00
Dmitriy Simushev
626145340e Fix setting current database version in the Updater 2015-01-26 12:17:52 +00:00
Dmitriy Simushev
84b0d891e0 Update dependencies of the build system 2015-01-23 11:47:12 +00:00
Dmitriy Simushev
ef98d5056a Make the project buildable on windows 2015-01-23 11:34:24 +00:00
Dmitriy Simushev
ea0b6a0cd5 Add "widgetResponseAlter" event 2015-01-22 12:58:53 +00:00
Dmitriy Simushev
f015b5b820 Pass an instance of Request Processor to *_FUNCTION_CALL events 2015-01-22 11:41:35 +00:00
Dmitriy Simushev
6d3810b7ba Improve Mibew.Utils.toDashFormat JS function 2015-01-21 11:49:27 +00:00
Dmitriy Simushev
e273b04dab Remove unneded condition from profile controller 2015-01-21 11:48:40 +00:00
Dmitriy Simushev
9799fb5e3f Fix "empty password" notification 2015-01-21 11:28:13 +00:00
Dmitriy Simushev
c27a0e1aea Use correct login to generate password hash when it is changed 2015-01-21 11:22:12 +00:00
47ee6edaad Update copyright notices 2015-01-21 14:04:29 +03:00
b8d2af4c67 Update version 2015-01-21 13:05:41 +03:00
Dmitriy Simushev
8faa0d9f4e Hide iframe popup while its real styles are loading 2015-01-21 09:49:50 +00:00
Dmitriy Simushev
9ef0739b80 Show ajax loader while chat iframe is loading 2015-01-20 14:45:41 +00:00
Dmitriy Simushev
ad7f3d6167 Do not define widget code twice 2015-01-20 14:44:21 +00:00
Dmitriy S. Simushev
78dfb230ed Merge pull request #102 from Mibew/dashboard
Dashboard
2015-01-20 16:58:05 +03:00
Dmitriy Simushev
854a4ca010 Switch to dev version of UAParser 2015-01-20 13:55:50 +00:00
Dmitriy Simushev
7fde2eb9cd Add ability to use mibew in an iframe
Fixes #63
2015-01-20 13:48:28 +00:00
8c6d98ddbd Remove useless attribute 2015-01-19 13:39:12 +03:00
c2229a6c79 Improve dashboard look'n'feel 2015-01-17 15:16:10 +03:00
Dmitriy Simushev
120abce028 Fix invitation window params 2015-01-16 10:40:06 +00:00
Dmitriy Simushev
a6d6f2bea2 Add Mibew.Utils.deleteCookie function to widget.js 2015-01-15 13:31:50 +00:00
Dmitriy Simushev
3f6a95f7a6 Use human-readable way to define visitor track window params 2015-01-14 14:37:30 +00:00
Dmitriy Simushev
090f650ac1 Use human-readable way to define user track window params 2015-01-14 14:25:51 +00:00
Dmitriy Simushev
06109eb0c4 Use human-readable way to define ban window params 2015-01-14 14:20:15 +00:00
Dmitriy Simushev
f6938b2f13 Remove unused configs from default page style 2015-01-14 14:12:57 +00:00
Dmitriy Simushev
9467525dac Remove unneeded default configs from ChatStyle 2015-01-14 13:50:32 +00:00
Dmitriy Simushev
1914b23c74 Use human-readable way to define history window params 2015-01-14 13:38:39 +00:00
Dmitriy Simushev
e333ff3d27 Rename Mibew.Utils.buildWindowOptions to buildWindowParams 2015-01-14 12:56:24 +00:00
Dmitriy Simushev
a5b7002239 Use human-readable way to define send mail window params 2015-01-14 12:51:38 +00:00
Dmitriy Simushev
9faf346634 Use human-readable way to define chat window params 2015-01-14 12:25:25 +00:00
Dmitriy Simushev
67a0db5349 Add JS "buildWindowOptions" utility method 2015-01-14 12:14:49 +00:00
Dmitriy Simushev
e5b8c84736 Allow plugins depend on environment
Fixes #98
2015-01-13 11:32:33 +00:00
Dmitriy Simushev
090383bc95 Use UA Parser from packagist.org instead of GitHub repo 2015-01-12 11:21:27 +00:00
Dmitriy S. Simushev
52107afc1a Merge pull request #100 from Mibew/invitations_fix
Prevent use of undefined values on display of chat invitation
2015-01-12 11:46:15 +03:00
c51a3ee5a1 Replace old localization constant with a valid string 2015-01-06 20:32:31 +03:00
ba9c01b82c Prevent use of undefined values on display of chat invitation 2015-01-03 03:13:19 +03:00
Dmitriy Simushev
132ca02cdf Allow to use any browser for chat
There are too many browsers in the world thus we cannot really say
is the current browser is fully supported or not. Give a chance to
all browsers.
2014-12-29 15:39:13 +00:00
Dmitriy Simushev
9cd082b878 Use third party library to detect user's browser 2014-12-29 15:04:24 +00:00
Dmitriy Simushev
efbf92b012 Use multi-level style configs 2014-12-29 11:30:33 +00:00
Dmitriy Simushev
ff1940cdc5 Mibew does not use "iconv" library anymore 2014-12-29 09:29:13 +00:00
Dmitriy Simushev
6a17db4e04 Operators can post messages only to own threads 2014-12-25 15:28:47 +00:00
Dmitriy Simushev
5a2e48eeef Fix ID style in operator's code field 2014-12-25 13:36:11 +00:00
Dmitriy Simushev
b9fd28f20f Do not show "visitor navigate" message if the page is not changed 2014-12-25 12:42:03 +00:00
Dmitriy Simushev
1a8f50adb0 Move "about" link to "Others" section 2014-12-24 16:00:50 +00:00
Dmitriy Simushev
31d602986e Move link to profile to operator's name in the top right corner
Fixes #93
2014-12-24 15:31:13 +00:00
Dmitriy Simushev
fb83027a1e Truncate operator's avatar in invitation
Fixes #96
2014-12-24 13:44:27 +00:00
Dmitriy Simushev
19edc91dfd Add warning sign to "run update wizard" notice 2014-12-24 12:59:26 +00:00
Dmitriy Simushev
27a23f68c0 Remove unneeded versions
Fixes #97
2014-12-24 12:50:27 +00:00
Dmitriy Simushev
1306efd380 Move header logo's styles to css 2014-12-24 12:08:53 +00:00
Dmitriy Simushev
b19473f658 Add link to dashboard to mibew logo
Fixes #94
2014-12-24 12:03:41 +00:00
Dmitriy Simushev
53c60eed76 Exclude JS sources from release package 2014-12-23 14:48:26 +00:00
Dmitriy Simushev
1fae58c350 Remove separate license page 2014-12-23 14:45:14 +00:00
Dmitriy Simushev
0c00a697ec Update build dependencies 2014-12-23 14:36:59 +00:00
Dmitriy Simushev
7e8ea1cdbf Update copyright notice at the about page 2014-12-23 14:32:46 +00:00
Dmitriy Simushev
a39d0fa6cf Fix typo at the about page 2014-12-23 13:55:36 +00:00
Dmitriy Simushev
b40e1deb89 Remove latest version placeholder from about page 2014-12-23 13:52:11 +00:00
Dmitriy Simushev
ee751b471d Use new gateway for latest version info 2014-12-23 13:46:43 +00:00
Dmitriy Simushev
782e9895e5 Show another info on the about page 2014-12-23 13:33:27 +00:00
Dmitriy Simushev
8552881f7d Move system info to about page 2014-12-23 12:51:40 +00:00
Dmitriy Simushev
9bfd6a29fb Use new icon for add group, operator, etc. buttons. 2014-12-23 10:48:53 +00:00
Dmitriy Simushev
f5c80e7b5c Add about page
Fixes #53
2014-12-23 10:22:22 +00:00
Dmitriy Simushev
d7a5c1d9c1 Use new dashboard icons
The icons are taken from http://www.icojam.com/blog/?p=259
2014-12-22 15:44:57 +00:00
Dmitriy Simushev
e66e0c1452 Update jQuery to v1.11.2 2014-12-22 10:16:59 +00:00
Dmitriy Simushev
21daf749f0 Allow markup in leave message page description 2014-12-19 13:50:40 +00:00
Dmitriy Simushev
1e46d6fabd Add notice about statistics aggregation 2014-12-19 13:24:07 +00:00
Dmitriy Simushev
8b34ca34c7 Remove statistics_aggregation_interval setting 2014-12-19 12:36:41 +00:00
Dmitriy Simushev
964e917f4a Provide easy way to override views in JS application 2014-12-18 14:42:11 +00:00
Dmitriy Simushev
210e82e798 Use correct ID for dynamically loaded scripts 2014-12-18 14:05:32 +00:00
Dmitriy Simushev
243fa1a1d9 Remane "mibewAgentButton" id to "mibew-agent-button" 2014-12-18 13:54:46 +00:00
Dmitriy Simushev
506425a9e1 Clean up JS in the default page style 2014-12-18 13:20:35 +00:00
Dmitriy Simushev
a72a602120 Update Marionette.js to v2.3.0 2014-12-18 12:57:44 +00:00
Dmitriy S. Simushev
bcd2bb9242 Merge pull request #89 from Mibew/remove_link
Remove useless link from popup window with a thread history
2014-12-17 20:35:10 +03:00
054133e013 Remove useless link from popup window with a thread history 2014-12-17 19:31:28 +03:00
2d875ba623 Fix layout on plugins page 2014-12-17 19:15:25 +03:00
Dmitriy S. Simushev
e6f6fd7d38 Merge pull request #87 from Mibew/issue73
Beautify stylesheets and fix #73
2014-12-17 16:50:46 +03:00
792acd7b17 Beautify stylesheets and fix #73 2014-12-17 15:38:52 +03:00
Dmitriy Simushev
30d884b699 Use static file for license during installation 2014-12-17 11:42:05 +00:00
Dmitriy Simushev
bc14d1f0ef Let the system work without mailer configs 2014-12-17 10:46:42 +00:00
134bbb9984 Fix typo in string constant 2014-12-17 00:04:01 +03:00
Dmitriy Simushev
a441bed2a2 Move common helpers to a separate composer package 2014-12-16 16:00:20 +00:00
Dmitriy Simushev
f5ee6448e4 Store project meta info only in composer.json 2014-12-11 14:21:20 +00:00
Dmitriy Simushev
3e77eddb33 Exclude vendor binaries from release package 2014-12-11 14:06:15 +00:00
Dmitriy Simushev
ad8c815b3c Use SESSION_PREFIX everywhere 2014-12-11 13:56:22 +00:00
Dmitriy Simushev
96724464e2 Create missed templates at "operator/mail-template" page 2014-12-11 13:20:20 +00:00
Dmitriy Simushev
8f346ae0b7 Do not die if "leave_message" mail template cannot be loaded 2014-12-11 13:07:17 +00:00