Commit Graph

1011 Commits

Author SHA1 Message Date
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
Dmitriy Simushev
0cfd1df846 Flatten $page array before expand templates 2013-03-13 15:38:25 +00:00
Dmitriy Simushev
54d5cbdce8 Create array_flatten_recursive function 2013-03-13 15:38:25 +00:00
Dmitriy Simushev
71a0330a0b Update setup_logo function to return data 2013-03-13 15:38:25 +00:00
Dmitriy Simushev
691ce8986c Update Handlebars.js to v1.0.0-rc.3 and recompile templates 2013-03-13 15:38:25 +00:00
Dmitriy Simushev
d2b3fe7746 Add ability to change handlebars path in build.xml 2013-03-13 15:38:25 +00:00
Dmitriy Simushev
1a79be3970 Update chat page JavaScript configs structure 2013-03-13 15:38:25 +00:00
Dmitriy Simushev
f28e65f0cf Update setup_chatview* functions to return data 2013-03-13 15:38:25 +00:00
Dmitriy Simushev
037135cf71 Fix notice in setup_groups_select function 2013-03-13 15:38:25 +00:00
Dmitriy Simushev
f904f05dc9 Update setup_leavemessage function to return data 2013-03-13 15:38:25 +00:00
Dmitriy Simushev
b8b73e82fe Update setup_survey function to return data 2013-03-13 15:38:25 +00:00
Dmitriy Simushev
23812038d9 Add finalizer to chat module in Chat JavaScript application 2013-03-13 15:38:24 +00:00
Dmitriy Simushev
5d0ac36fa4 Update close control view in Chat JavaScript application
Rename close method to closeThread to not override
Marionette.js View.close method.
2013-03-13 15:38:24 +00:00
Dmitriy Simushev
e4844832f1 Create chat module in Chat JavaScript application 2013-03-13 15:38:24 +00:00
Dmitriy Simushev
8f1db81e83 Update resize.js to work with layout system 2013-03-13 15:38:24 +00:00
Dmitriy Simushev
dc25058a05 Create chat layout in Chat JavaScript application 2013-03-13 15:38:24 +00:00
Dmitriy Simushev
f3ea7d790b Update build.xml
Correctly build JavaScript applications with layouts and regions
2013-03-13 15:38:24 +00:00
Dmitriy Simushev
2f5998843e Move creating instance of Chat JS app to init.js 2013-03-13 15:38:24 +00:00
Dmitriy Simushev
eec1d1a352 Add checkEmail function to Mibew.Utils 2013-03-13 15:38:24 +00:00
Dmitriy Simushev
dee2f2ada7 Add new features to JavaScript Server class
Add ability to remove periodically called functions and to
unregister api functions(that can be called by the server)
2013-03-13 15:38:24 +00:00
Dmitriy Simushev
48cc52cf72 Fix docs for UsersProcessor class 2013-03-13 15:38:24 +00:00
Dmitriy Simushev
aaf3bafb02 Add restartAfter method to JavaScript Server object 2013-03-13 15:38:24 +00:00
Dmitriy Simushev
d24daf52eb Completely rewrite Invite JavaScript application 2013-03-13 15:38:24 +00:00
Dmitriy Simushev
d357e505c9 Update Marionette.js to v1.0.0-rc6 2013-03-13 15:38:23 +00:00
Dmitriy Simushev
d065656ff5 Overcome third-party cookies limitation in safari 5 2013-03-13 15:38:23 +00:00
Dmitriy Simushev
7d0a71da64 Change timers update strategy at operator/users.php 2013-03-13 15:38:23 +00:00
Dmitriy Simushev
3fc81ec53e Rename 'silver' dialog style to 'default' one 2013-03-13 15:38:23 +00:00
Dmitriy Simushev
758c727c45 Create 'usersUpdateVisitorsLoad' and 'usersUpdateVisitorsAlter' events 2013-03-13 15:38:23 +00:00
Dmitriy Simushev
a6006211f2 Update build.xml, make some folders not obligatory for JS apps
Folders 'models', 'model_views', 'collections', 'collection_views'
not obligatory for JavaScript applications any more.
2013-03-13 15:38:23 +00:00
Dmitriy Simushev
d2018e1863 Add network problems detection mechanism to operator/users.php 2013-03-13 15:38:23 +00:00
Dmitriy Simushev
52e5075989 Fix bugs with wrong requests sequence in server.js 2013-03-13 15:38:23 +00:00
Dmitriy Simushev
67e901d3d0 Call updateMessages function not from server but from chat window 2013-03-13 15:38:23 +00:00
Dmitriy Simushev
0054423407 There is no KIND_AVATAR message kind any more 2013-03-13 15:38:23 +00:00
Dmitriy Simushev
bf564e55ef Update styles preview system to work with JavaScript applications 2013-03-13 15:38:23 +00:00
Dmitriy Simushev
9a86a61c99 Add license info to compiled handlebars templates 2013-03-13 15:38:23 +00:00
Dmitriy Simushev
fdd7ff70b1 Bring back license info for built JavaScript applications 2013-03-13 15:38:22 +00:00
Dmitriy Simushev
be0e643c57 Update access permissions
Add '-Indexes' option to .htaccess in root folder and remove
.htaccess from plugins folder
2013-03-13 15:38:22 +00:00
Dmitriy Simushev
d19f6814da Update jQuery to v1.9.1 2013-03-13 15:38:22 +00:00
Dmitriy Simushev
f2bd65cae3 Add forgot popup notification to Users JavaScript application 2013-03-13 15:38:22 +00:00