Commit Graph
38 Commits
Author SHA1 Message Date
Christophe Matthieu 500c33b184 [IMP] web: split model.js into model.js and data_model.js. Web js modules must call web.DataModel. 2015-07-10 16:32:35 +02:00
Simon Lejeune 5b89a929a7 [IMP] im_livechat: style of chat and kanban view of livechat channels
- restyle the search field of livechat, more space between contacts, etc.
- kanban view should fit the style of new kanban views
- new images for status
2015-07-01 18:04:46 +02:00
Géry Debongnie 6070dc201e [FIX] im_chat: avoid crash in enterprise edition
This is not the correct fix, but a correct fix would be to remove this
addon (and potentially rewrite it properly).  Sadly, I don't have the
authority to do that, so, meanwhile, this fix will at least prevent
im_chat from crashing in enterprise edition.
2015-06-18 13:24:46 +02:00
Christophe Simonis fe2b5f35a4 [MERGE] forward port of branch saas-6 up to bf1e999 2015-05-28 14:27:38 +02:00
Christophe Simonis 0da722aa6a [MERGE] forward port of branch 8.0 up to bff6dff 2015-05-11 15:12:24 +02:00
Goffin Simon 4a9deb8be3 [FIX] im_chat: translate placeholder
The placeholder "Search Users..." must be translatable.

opw:633746
2015-05-07 16:08:49 +02:00
Jérome Maes 7096fee53c [MIG] im_chat, im_livechat : re structure the modules files.
Create models/ and controllers/ directories, and split the Python and XML files to fit coding guidelines, and prepare migration.
2015-04-28 17:04:16 +02:00
Christophe Simonis a9471c43b9 [MERGE] forward port of branch saas-6 up to e941c0f 2015-04-17 15:33:00 +02:00
Jérome Maes c2bc1f1450 [FIX] im_chat : smiley size should not be apply to avatar 2015-04-16 17:47:11 +02:00
Jérome Maes 48971f57f4 [FIX] im_chat, im_livechat : split backend/frontend part of im_chat, refactor action binding for dropdown menu, redefine livechat bundle using new js module files, and correct the 'session' in im_livechat namespace. 2015-03-24 11:48:33 +01:00
Géry Debongnie 4fdf74fe21 [IMP] web+addons: improvement to module system
The module system needs to know the dependencies of a given module
before executing the function.  This is why the dependencies were
defined once in an array, and then were described one more times in the
call to require.

But a trick can simplify this: the boot function can parse the string
representation of the module and extract the calls to require from it.
It is more work for the processor, but it leads to simpler module
definitions.
2015-03-18 09:23:37 +01:00
Géry Debongnie ee90ae3b48 [REF] chat/livechat: update to the new module system 2015-03-18 09:01:52 +01:00
Jérome Maes 94c33caa78 [FIX] im_chat : broken notification when leaving conversation, and add view definition file in manifest. 2015-03-03 16:51:16 +01:00
Jérome Maes 9c4c08b5db [FIX] im_chat : displayed date was in UTC, now using openerp.str_to_datetime to set it in the browser timezone. Also add missing data file in manifest. 2015-02-19 14:54:35 +01:00
Aaron Bohy 2a39214d2e [FIX] File permission: remove unnecessary executable perm on files
Some .xml,.csv,.po,.woff,.ttf,.png,.eot,.svg had perm 755, provocating
'executable-not-elf-or-script' lintian warning for Debian packaging.
Set permission to 644 for those files.
Also remove unnecessary executable permissions on some .py:
	-addons/l10n_fr_hr_payroll/report/fiche_paye.py
	-addons/l10n_ro/res_partner.py
	-addons/l10n_ro/__openerp__.py
	-addons/l10n_ro/__init__.py
	-addons/l10n_do/__openerp__.py
	-addons/l10n_do/__init__.py
2015-01-23 11:11:27 +01:00
Yannick Tivisse 9207c4645a [IMP] Replace all oe_e class by fontawesome + remove entyporegular library 2015-01-21 16:11:26 +01:00
Richard Mathot 7b763176ba [REM] modelines: Gotta catch 'em all 2015-01-08 11:38:58 +01:00
Aaron Bohy ba083dbb47 [IMP] Web: navbar isn't displayed on several lines while rendering
- Add a new SystrayMenu widget to improve and facilitate the way
    of adding widgets in .oe_systray
  - Rendering of the modules menu now waits for the systray and
    user menus to be rendered
  - A few refactoring of the UserMenu and Menu widgets
2015-01-07 15:13:51 +01:00
Jérome Maes b4a733c10b [IMP] im_chat, im_livechat : usability improvements like, adding smiley, replace uuid by session name in reporting, modify messages order for the session form view and disabled beep when you receveive your messages. 2014-12-24 16:05:08 +01:00
Jérome Maes 7a7bf11e92 [FIX] im_chat : momentjs undefined on external pages. Temporary fix by replacing moment() by window.moment(). The moment helper is defined in core.js, which is not imported in web_assets common. If refactoring, the dates will be pre-process in render_messages(). 2014-11-18 11:35:28 +01:00
Jérome Maes 2e7cafd5a2 [FIX] im_chat : fix undefined functions (momentjs and im_chat.js) 2014-11-13 11:28:13 +01:00
Cedric Snauwaert a878de477f [FIX] web: fix remarks from pr 2014-11-05 15:27:59 +01:00
Cedric Snauwaert ef886aed2f [FIX] web: remove datejs and replace by momentjs 2014-11-05 15:27:59 +01:00
Jérome Maes 85dda405e8 [IMP] im_chat, im_livechat : add reporting view, quit conversation, option dropdown menu, feedback for live support, better access rules and shortcode model. 2014-10-03 12:08:02 +02:00
Christophe Simonis 709c9868de [MERGE] forward port of branch 8.0 up to e883193 2014-10-01 19:18:14 +02:00
Jérome Maes 17b486f6f9 [FIX] im_chat, im_livechat : fix the loading history for anonymous user and remove useless search_user_status rpc call. 2014-09-26 12:17:59 +02:00
Jérome Maes 1b9c404e49 [FIX] bus, im_chat, im_livechat : use correct session to rpc call, little refactoring of im_livechat js, and prepare js code for Odoo Support. 2014-09-19 12:38:07 +02:00
Richard Mathot 01655be433 [IMP] im_chat: ESC shortcut to close chat window
Cherry-picked from 0172cfba76ae4509be33220f6d4ef09c005c8312
Closes #2335
2014-09-11 16:13:44 +02:00
Akash Balar 694b4d2a75 [IMP] im_chat: set auto focus on search box 2014-09-11 11:27:19 +02:00
Jérome Maes 2942492245 [FIX] im_chat : enable chat widget only for base.group_user 2014-09-04 14:26:07 +02:00
Jérome Maes 7ca76c8ed7 [FIX] im_chat : scroll down on opening conversation and add scroll bar on user list 2014-09-02 18:52:27 +02:00
Jérome Maes cc7178b019 [FIX] bus, im_chat : disabled realtime status notification, replace it with rpc calls and set random retry delay on bus (longpolling) 2014-08-28 10:09:37 +02:00
rba-odoo b5fd6fccb8 [FIX] im_char: correct display over kanban view 2014-08-04 11:28:19 +02:00
Jérome Maes 869b647c02 [FIX] im_chat : css style z-index to make it good with ecommerce and calendar 2014-07-18 16:41:15 +02:00
Jérome Maes bff521b23f [FIX] bus, im_chat, website_livechat :fix date in js, bus cr.commit and access rules for portal 2014-07-16 09:43:33 +02:00
Cedric Snauwaert 94d65557fc [FIX]menu bar: clean up css and few cosmetics 2014-07-07 14:13:41 +02:00
Jérôme Maes d03afb14df [FIX] im_chat, im_livechat : style, js notification and bundle without achtung lib 2014-07-01 10:03:24 +02:00
Antony Lesuisse c60798d3b0 MERGE] odoo bus, im_chat and im_livechat
Add a generic bus for instant communication based on postgres LISTEN/NOTIFY and HTTP comet.
Both threaded and gevent greenlet mode are supported. Chat should now work on every platform.

im_chat improvements
- proper support for multiple windows
- present, away and offline status
- improved data model for multi user chat session

im_livechat improvements
- standard css js assets are now used
- qweb templates are now used instead of jinnja
2014-06-29 04:01:13 +02:00