Commit Graph

1964 Commits

Author SHA1 Message Date
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
Dmitriy Simushev
8a47afef58 Do not die if "user_history" mail template cannot be loaded 2014-12-11 13:04:25 +00:00
Dmitriy Simushev
6768fe96c2 Use "en" locale as a fallback for MailTemplate 2014-12-11 12:48:53 +00:00
Dmitriy Simushev
c4a47928a8 Add warning about uncaught exception to AbstractProcessor 2014-12-11 11:57:57 +00:00
Dmitriy Simushev
ec06357535 Use stable version of Handlebars.php 2014-12-11 11:26:29 +00:00
Dmitriy Simushev
bb1b6c377c Log error when "Internal Server Error" page is shown 2014-12-11 10:48:00 +00:00
Dmitriy Simushev
9c87fadb7d Clean up ImageGenerator::getWidgetCode method 2014-12-11 10:18:24 +00:00
304de4ab71 Fix button generation with disabled visitors tracking 2014-12-10 19:48:34 +03:00
Dmitriy S. Simushev
3e5f589972 Merge pull request #83 from Mibew/connection_timeout
Fixes #65
2014-12-10 19:32:15 +03:00
Dmitriy Simushev
6fbee71173 Add an ability to use SMTP mail transport 2014-12-10 16:21:59 +00:00
07c015856e Fixes #65 2014-12-10 19:09:04 +03:00
Dmitriy Simushev
17b7bf6757 Use Object-Oriented approach for mail templates 2014-12-10 11:50:57 +00:00
Dmitriy Simushev
e0716bbeb2 Fix bug with "plugin" table fields sizes 2014-12-10 11:15:23 +00:00
Dmitriy Simushev
4e4f0adfd6 Use SwiftMailer to send emails 2014-12-09 14:40:16 +00:00
Dmitriy Simushev
a66e23fe9b Remove unneeded TODO from HomeController 2014-12-09 11:55:35 +00:00
80565efefb Update README 2014-12-08 16:18:34 +03:00
Dmitriy Simushev
aa28272dbd Update Symfony Components 2014-12-05 15:53:18 +00:00
Dmitriy Simushev
097ec6ef1a Add info about current plugin state 2014-11-28 15:18:48 +00:00
Dmitriy Simushev
2bdfebc428 Add PluginManager::hasPlugin method 2014-11-28 15:02:16 +00:00
Dmitriy Simushev
5282e789ba Use PluginInfo::needsUpdate instead of checking versions directly 2014-11-28 14:38:54 +00:00
Dmitriy Simushev
b0aa66c7cf Fix issue with sprintf arguments in PluginManager 2014-11-28 14:25:07 +00:00
Dmitriy Simushev
772aa904d9 Add plugins update stuff 2014-11-28 14:20:47 +00:00
Dmitriy Simushev
459f75727a Provide an ability to use static methods as updates 2014-11-28 13:34:37 +00:00
Dmitriy Simushev
e2d4ab3715 Recognize alpha and rc versions in updates names 2014-11-28 11:46:27 +00:00
Dmitriy Simushev
80f5873d9a Move getUpdates to Maintenance\Utils class 2014-11-28 11:02:55 +00:00
Dmitriy Simushev
abdfa54f36 Update Handlebars.php 2014-11-27 15:42:30 +00:00
Dmitriy Simushev
361e424acd Merge two localization constants in plugins template 2014-11-27 15:08:52 +00:00
Dmitriy Simushev
7ac85ac412 Check that all needed PHP extensions are loaded before install 2014-11-27 13:01:25 +00:00
Dmitriy Simushev
80077be185 Implement new plugin management system 2014-11-27 11:42:23 +00:00
014a7fabcb Merge pull request #80 from Mibew/issue61
Fix setting of tracking cookie for TLDs
2014-11-27 13:37:26 +03:00
a2fee28bba Fix setting of tracking cookie for TLDs
Fixes #61
2014-11-26 20:02:15 +03:00
Dmitriy Simushev
f7434502b7 Add PluginInfo::getInstance method 2014-11-25 12:22:49 +00:00
Dmitriy Simushev
a4361fe8ce Create plugin info wrapper 2014-11-24 10:37:08 +00:00
Dmitriy Simushev
48978fb060 Add a function to check if a plugin exists or it does not. 2014-11-24 10:13:51 +00:00
Dmitriy Simushev
03a8eab3d1 Fix undefined index in ThreadProcessor::processFunction 2014-11-21 15:49:03 +00:00
Dmitriy Simushev
428c592139 Statically cache results of Plugin\Utils::discoverPlugins 2014-11-21 13:06:44 +00:00
Dmitriy Simushev
dca7c2c520 Fix comments in Mibew\Ban class 2014-11-21 13:00:30 +00:00
Dmitriy Simushev
c9c1ffca4e Remove unused "use" statement 2014-11-20 10:06:30 +00:00
Dmitriy Simushev
ad5554bb52 Fix coding style in Mibew\Plugin\Utils 2014-11-20 09:50:32 +00:00
Dmitriy Simushev
bf7642dab3 Run plugins only after all libs are loaded 2014-11-20 09:26:03 +00:00
Dmitriy Simushev
a63f4ced3d Create a method for plugin class name building 2014-11-19 14:19:01 +00:00
Dmitriy Simushev
b896d43db7 Use more strict policy for plugin names 2014-11-19 14:06:19 +00:00
Dmitriy Simushev
f4b08ff0a3 Add plugins discovery means 2014-11-19 13:15:41 +00:00
Dmitriy Simushev
c70764dab2 Use regular singleton in Mibew\Plugin\PluginManager 2014-11-19 12:50:08 +00:00
Dmitriy Simushev
542b830577 Return false from PluginManager::getPlugin for unregistered plugins 2014-11-19 11:58:50 +00:00
Dmitriy Simushev
bfe902e062 Rename Mibew\Plugin\Manager to Mibew\Plugin\PluginManager 2014-11-19 11:55:16 +00:00
Dmitriy Simushev
c205c9ff94 Use versions range in plugin dependencies 2014-11-19 10:17:15 +00:00
Dmitriy Simushev
2d702f5542 Add versions check to plugins 2014-11-18 12:06:22 +00:00
Dmitriy Simushev
d68b0bdb0c Flush cache on update 2014-11-17 14:30:15 +00:00
Dmitriy Simushev
07b25a2fc3 Create Updater 2014-11-17 14:19:07 +00:00
Dmitriy Simushev
a43d46f5f5 Extract SessionAuthenticationManager 2014-11-13 11:19:53 +00:00
Dmitriy Simushev
47851c9ed2 Move "format_version_id" func to Maintenance\Utils class 2014-11-12 15:14:13 +00:00
Dmitriy Simushev
f82d42e729 Add "buttonGenerate" event 2014-11-12 10:58:21 +00:00
Dmitriy Simushev
c43fccf297 Use CanteenHTML5 for buttons generation 2014-11-12 10:24:40 +00:00
Dmitriy Simushev
d446b9a78f Replace INSTALLATION_IN_PROGRESS const with MAINTENANCE_MODE 2014-11-11 13:31:38 +00:00
Dmitriy Simushev
1deebaff20 Move Installer to a separated namespace 2014-11-11 13:14:37 +00:00
Dmitriy Simushev
df66227729 Remove unused "escape_with_cdata" function 2014-11-11 12:21:02 +00:00
Dmitriy Simushev
bcbb02f52f Fix trailing slash removing on installation 2014-11-11 10:49:13 +00:00
Dmitriy Simushev
f5470239e4 Use Symfony-compatible router 2014-11-11 10:34:04 +00:00
Dmitriy Simushev
f8909d5e8c Move Stash cache to separated directory 2014-11-11 10:31:51 +00:00
d27633fc28 Increase Mibew version 2014-11-10 21:41:12 +03:00
Dmitriy Simushev
6066b9312e Remove "is_secure_request" function 2014-11-07 12:39:19 +00:00
Dmitriy Simushev
fe0d2f2760 Check directories permissions on install
Fixes #76
2014-11-07 12:09:18 +00:00
Dmitriy Simushev
2c0d88c4d5 Use ephemeral cache during installation 2014-11-07 11:40:36 +00:00
Dmitriy Simushev
2c9a6830c8 Use lazy objects creation in Application class 2014-11-07 11:10:19 +00:00
Dmitriy Simushev
6b3b5d6fec Forbid users to post to closed threads
Fixes #72
2014-11-06 13:13:29 +00:00
Dmitriy Simushev
b4ab5d8cd1 Use "once" method instead of "on"/"off" in JS message form 2014-11-06 11:02:57 +00:00
Dmitriy Simushev
bffc2fd799 Restrict access to a thread for third-party users
Fixes #71
2014-11-06 10:45:38 +00:00
Dmitriy Simushev
3f36afc285 Fix comments for AbstractProcessor::processFunction method 2014-11-06 10:08:12 +00:00
Dmitriy Simushev
18e9cf7039 Remove "get_logged_in" function 2014-11-05 15:52:25 +00:00
Dmitriy Simushev
43f7df6c76 Remove Thread::setupAvatar method 2014-11-05 15:29:23 +00:00
Dmitriy Simushev
03328b9293 Use valid types for Thread fields 2014-11-05 14:40:19 +00:00
Dmitriy Simushev
3dd80070c7 Add "userId" and "agentId" fields to thread at client side 2014-11-05 14:25:02 +00:00
Dmitriy Simushev
3984c260b0 Use the correct backpath to redirect operator after login 2014-11-05 10:46:56 +00:00
Dmitriy Simushev
82a4d7a2a2 Use composer's autoloader
Funny, but it fixes #75 without classes changing
2014-10-31 14:13:49 +00:00
Dmitriy Simushev
3b43090bda Add "visitorDeleteOld" event 2014-10-31 11:51:08 +00:00
Dmitriy Simushev
f0c4299ba3 Remove old visitors in single process 2014-10-31 11:26:53 +00:00
Dmitriy Simushev
f10079497c Add "groupUpdateOperators" event 2014-10-31 09:59:44 +00:00
Dmitriy Simushev
07fc4a3666 Fix broken links at "operator/group/<id>/members" page 2014-10-30 13:53:47 +00:00
Dmitriy Simushev
38bc096444 Return IDs set from "get_operator_group_ids" function 2014-10-30 13:49:16 +00:00
Dmitriy Simushev
146c4b7ac1 Return IDs set from "get_group_members" function 2014-10-30 13:27:23 +00:00
Dmitriy Simushev
9d854e9642 Use regular "Thread::save" to close old invitations 2014-10-30 13:07:54 +00:00
Dmitriy Simushev
6e200bf956 Fix race condition in old invitation closing 2014-10-30 12:33:21 +00:00
Dmitriy Simushev
b3c9a02660 Encapsulate locks mechanics in "ProcessLock" class 2014-10-30 12:25:48 +00:00
Dmitriy Simushev
22699f1ed5 Add "threadGetMessagesAlter" event 2014-10-30 10:19:08 +00:00
Dmitriy Simushev
c0232e6fce Use regular tread save in "Thread::closeOldThreads" method 2014-10-29 16:03:38 +00:00
Dmitriy Simushev
96c9bf2a93 Prevent race condition in old threads closing 2014-10-29 15:12:05 +00:00
Dmitriy Simushev
b5020645be Remove Settings::update method
It was too slow
2014-10-29 15:02:55 +00:00
Dmitriy Simushev
bf483e4abc Fix bug with "Settings::update" method. 2014-10-29 14:35:40 +00:00
Dmitriy Simushev
a37018aab6 Add "default" argument to "Settings::get" method 2014-10-29 13:48:30 +00:00
Dmitriy Simushev
be7d49c0f5 Use Events class constant instead of raw event name in track.php 2014-10-29 12:39:59 +00:00
Dmitriy Simushev
336d8c1faa Add "threadCreate" event 2014-10-29 10:50:09 +00:00
Dmitriy Simushev
ab942731e6 Refactor Thread class 2014-10-29 10:45:35 +00:00
Dmitriy Simushev
168336a20b Document "threadFunctionCall" event 2014-10-28 13:04:31 +00:00
Dmitriy Simushev
297377b0fd Add "operatorUpdate" event 2014-10-28 12:43:40 +00:00
Dmitriy Simushev
65d7cb3823 Use "update_operator" func for operator modification everywhere 2014-10-28 12:26:14 +00:00
Dmitriy Simushev
1d9a837e37 Make operator's login unchangeable 2014-10-28 12:06:07 +00:00
Dmitriy Simushev
05f5a606d1 Refactor update_operator function 2014-10-28 11:45:36 +00:00
Dmitriy Simushev
614f02a108 Refactor "check_group_fields" function 2014-10-28 10:40:26 +00:00
Dmitriy Simushev
32a134f31a Remove unused class alias from libs/chat.php 2014-10-27 14:20:59 +00:00
Dmitriy Simushev
4ae850d529 Remove invalid link from Thread::postMessage docs 2014-10-27 14:19:08 +00:00
Dmitriy Simushev
3f27aea2ea Add "threadPostMessage" event 2014-10-27 13:18:12 +00:00
Dmitriy Simushev
30da4ae75e Add notice about triggering event to "update_group" function 2014-10-27 12:07:52 +00:00
Dmitriy Simushev
b7bf41a191 Create separate function for enable/disable operators 2014-10-27 11:55:29 +00:00