Commit Graph

1728 Commits

Author SHA1 Message Date
Dmitriy Simushev
2dca8f236e Describe operators' events in one place 2014-10-17 10:54:04 +00:00
Dmitriy Simushev
55b7b28eb1 Move EventDispatcher class to a separate namespace 2014-10-17 09:47:03 +00:00
Dmitriy Simushev
919c71a1c1 Fix misssed semicolon in js test 2014-10-14 14:39:52 +00:00
Dmitriy Simushev
2d5d4b0e46 Remove unused "append_query" function 2014-10-14 14:38:54 +00:00
Dmitriy Simushev
2703f72de8 Fix localization of unknown strings on client 2014-10-14 12:36:23 +00:00
Dmitriy Simushev
7f071cbe80 Increase Mibew version 2014-10-14 11:19:24 +00:00
Dmitriy Simushev
55587f67fe Remove unused "jsString" Handlebars.php helper 2014-10-14 11:18:39 +00:00
Dmitriy Simushev
ae7ee06031 Increase cache ttl for handlebars templates 2014-10-14 11:16:55 +00:00
Dmitriy Simushev
3fbc5fa262 Always set focus on message input after message sent
Fixes #66
2014-10-14 11:03:20 +00:00
Dmitriy Simushev
397786991d Simplify plugins' assets attachment 2014-10-14 10:57:01 +00:00
Dmitriy Simushev
1a82e11b5e Use 500 as default weight for plugins assets 2014-10-14 10:23:40 +00:00
Dmitriy Simushev
71d2b234c6 Create Asset/Package class to reduce code duplication 2014-10-14 09:36:55 +00:00
Dmitriy Simushev
f8d4d074d5 Rename "styles/dialogs" to "styles/chats" 2014-10-13 13:52:17 +00:00
Dmitriy Simushev
6ac121bc01 Remove unused value 2014-10-13 13:34:28 +00:00
Dmitriy Simushev
452446a375 Initialize chat js application from controller 2014-10-13 13:30:07 +00:00
Dmitriy Simushev
dcd17ed01c Attach js files to chat page in "_layout" template 2014-10-13 12:41:11 +00:00
Dmitriy Simushev
8eaf93a916 Remove unused templates from the default chat style 2014-10-13 11:34:44 +00:00
Dmitriy Simushev
0d1efa5a87 Use cache for Handlebars AST 2014-10-13 11:20:05 +00:00
Dmitriy Simushev
d92b88b65a Initialize "thread_log" client side app from controller 2014-10-13 09:52:06 +00:00
Dmitriy Simushev
aee1aa6904 Initialize "users" client side app from controller 2014-10-13 09:23:43 +00:00
Dmitriy Simushev
5dafbd2997 Add weights to asset manager 2014-10-13 09:07:07 +00:00
Dmitriy Simushev
54b4814389 Attach js on updates page via controller 2014-10-10 12:38:00 +00:00
Dmitriy Simushev
d01bd8a080 Move thread log app initialization to controller 2014-10-10 12:25:53 +00:00
Dmitriy Simushev
3081dcc8db Remove js working with features fields from style files 2014-10-10 12:14:37 +00:00
Dmitriy Simushev
c86d7569f3 Remove js working with group fields from style files 2014-10-10 11:59:23 +00:00
Dmitriy Simushev
e8b35a6971 Move js attaching from install_done template to controller 2014-10-10 11:44:13 +00:00
Dmitriy Simushev
3339153ad3 Remove js with operator delete comfirm from style files 2014-10-10 11:24:54 +00:00
Dmitriy Simushev
ed6252bb38 Remove js with group delete comfirm from style files 2014-10-10 11:10:28 +00:00
Dmitriy Simushev
01e2d8f2a7 Remove js with ban delete comfirm from style files 2014-10-10 10:57:00 +00:00
Dmitriy Simushev
dd71e6bc70 Attach js and css assets to every operator's page 2014-10-10 10:33:08 +00:00
Dmitriy Simushev
46ee9df63a Use relative URL for assets as default 2014-10-10 10:17:41 +00:00
Dmitriy Simushev
922edc96d7 Replace inline js in the default page style with files 2014-10-10 09:15:50 +00:00
Dmitriy Simushev
a671caeb79 Move js code which auto close a window in a sepate file 2014-10-10 09:01:15 +00:00
Dmitriy Simushev
3088481d6d Remove unused "brws.js" lib 2014-10-10 08:38:37 +00:00
Dmitriy Simushev
00bba6c05a Create a base class for jsAssets and cssAssets helpers 2014-10-10 08:17:36 +00:00
Dmitriy Simushev
5b09b3e52c Rename "additionalJs" helper to "jsAssets" 2014-10-09 14:31:26 +00:00
Dmitriy Simushev
3772274ca3 Rename "additionalCss" helper to "cssAssets" 2014-10-09 14:27:35 +00:00
Dmitriy Simushev
7ce4d812bd Rename "AssetManager::add*Asset" methods to "attach*" 2014-10-09 14:20:40 +00:00
Dmitriy Simushev
2ed44e874c Clean up docs for Assetmanager::triggerJsEvent a little 2014-10-09 14:01:38 +00:00
Dmitriy Simushev
9898fb0cbe Create "additionalCss" HBS helper 2014-10-09 13:51:37 +00:00
Dmitriy Simushev
bc45a6d3be Create "additionalJs" HBS helper 2014-10-09 13:25:17 +00:00
Dmitriy Simushev
e320dcd1bb Create AssetManager class 2014-10-08 14:14:43 +00:00
Dmitriy Simushev
54840e96ad Move default js libraries to _layout.hbs in pages style 2014-10-07 11:02:31 +00:00
Dmitriy Simushev
406e11a38e Simplify client side templates structure of pages style 2014-10-06 10:38:33 +00:00
Dmitriy Simushev
a61b48252c Move request preparation and finalization to special methods 2014-10-06 09:06:11 +00:00
Dmitriy Simushev
952ebf8b9d Remove unneeded files from release archive
Fixes #67
2014-09-26 13:18:42 +00:00
Dmitriy Simushev
b6d472d62f Fix some typos in js 2014-09-26 09:24:49 +00:00
Dmitriy Simushev
0cd01e2c03 Remove unneeded "pageAddLocalizedStrings" event 2014-09-25 12:40:46 +00:00
Dmitriy Simushev
c3956be558 Move send shortcut string generation to the client side 2014-09-25 12:33:30 +00:00
Dmitriy Simushev
6e6920851d Remove almost all pseudo-localization strings 2014-09-25 11:51:04 +00:00
Dmitriy Simushev
022fe7d6f4 Purge cache on cron 2014-09-25 10:38:31 +00:00
Dmitriy Simushev
ba103d5636 Pass all localized string to a client side application 2014-09-25 10:30:19 +00:00
Dmitriy Simushev
a2e2f1b194 Use Stash as a cache system 2014-09-24 13:04:37 +00:00
Dmitriy Simushev
e514b1590b Pass AssetUrlGenerator via constructor to ControllerResolver 2014-09-23 13:10:35 +00:00
Dmitriy Simushev
2bb6899c33 Move translation logic from js helper to localization object 2014-09-19 13:51:59 +00:00
Dmitriy Simushev
cb4bd3acaa Add inheritance helpers to Handlebars.js 2014-09-18 15:00:57 +00:00
Dmitriy Simushev
fa615bc2e0 Add placeholders to HBS.js "l10n" helper 2014-09-18 10:35:08 +00:00
Dmitriy Simushev
957e67686a Refactor HelpersSet class 2014-09-18 09:42:50 +00:00
Dmitriy Simushev
911487871d Generate offline message in the template 2014-09-18 08:32:16 +00:00
Dmitriy Simushev
c397a953a1 Update Handlebars.php version 2014-09-17 14:54:04 +00:00
Dmitriy Simushev
e7b0201e0a Update Handlebars.js to v2.0.0 2014-09-15 14:32:34 +00:00
Dmitriy Simushev
340c0f9213 Update jQuery to v1.11.1 2014-09-12 13:14:20 +00:00
Dmitriy Simushev
db4e8ee0db Update Underscore.js to v1.7.0 2014-09-12 12:50:49 +00:00
Dmitriy Simushev
95caad6b59 Use "replace" helper instead of "nl2br" in HBS.js templates 2014-09-12 11:12:34 +00:00
Dmitriy Simushev
ae9de7aa92 Sanitize messages at server side 2014-09-12 10:59:56 +00:00
Dmitriy Simushev
ce6761755e Enforce HTML sanitization 2014-09-11 14:53:03 +00:00
Dmitriy Simushev
6154992f4f Remove "apply" Handlebars.js helper 2014-09-11 12:30:11 +00:00
Dmitriy Simushev
0b9fdeceb8 Fix number arguments in "allowTags" Handlebars.js helper 2014-09-11 12:15:19 +00:00
Dmitriy Simushev
34017d54db Fix number arguments in "urlReplace" Handlebars.js helper 2014-09-11 11:24:33 +00:00
Dmitriy Simushev
aa12eceeea Fix number arguments in "nl2br" Handlebars.js helper 2014-09-11 11:23:02 +00:00
Dmitriy Simushev
9805b4bb18 Add "replace" Handlebars.js helper 2014-09-11 11:08:34 +00:00
Dmitriy Simushev
333f769a16 Add "cutString" Handlebars.js helper 2014-09-11 10:09:14 +00:00
Dmitriy Simushev
75276ab2da Add "repeat" Handlebars.js helper 2014-09-11 10:06:30 +00:00
Dmitriy Simushev
814869ec77 Add tests for "ifEven" and "ifOdd" Handlebars.js helpers 2014-09-11 09:36:33 +00:00
Dmitriy Simushev
3f3abb4255 Add "ifEqual" Handlebars.js helper 2014-09-11 09:29:36 +00:00
Dmitriy Simushev
55a33cf012 Add "ifAny" Handlebars.js helper 2014-09-11 09:19:51 +00:00
Dmitriy Simushev
accfbe0acd Merge branch 'fix_comment' 2014-09-10 15:04:20 +00:00
94c1859a01 Fix comment for generated text link 2014-09-10 18:59:43 +04:00
Dmitriy Simushev
bbf1cec98c Remove unused "use" statement in the "ifOdd" helper 2014-09-10 14:15:14 +00:00
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