Commit Graph

376 Commits

Author SHA1 Message Date
Goffin Simon 3062b66d21 [FIX] mail: unknown icon
When the attachment type is not defined, the icon used must be unknown.png

closes#7336
2015-07-03 11:35:31 +02:00
Denis Ledoux b0be8dfdfd [MERGE] forward port of branch saas-3 up to aae75f1 2015-02-20 16:43:15 +01:00
Denis Ledoux 7613d5d499 [MERGE] forward port of branch 7.0 up to 27a48f8 2015-02-20 15:57:51 +01:00
Denis Ledoux fc6ac83608 [FIX] mail: hide delete button when uploading attachment
This is not possible to interrupt the uploading of an attachment.
We therefore hide the 'delete' button during the upload
2015-02-17 15:36:03 +01:00
Denis Ledoux 0021fa977d Revert "[FIX] mail: read more show original message"
This reverts commit 0790682296.

This fix is not yet ready. See PR #3295
2014-10-28 13:43:25 +01:00
Denis Ledoux 0790682296 [FIX] mail: read more show original message
Instead of html cleaned html, to allow display blockquotes

opw-614729
2014-10-27 13:24:47 +01:00
Denis Ledoux ae65be2b2a [MERGE] forward port of branch saas-5 up to 0739bc4 2014-08-11 15:58:02 +02:00
Denis Ledoux 7c647ec876 [MERGE] forward port of branch saas-4 up to 0a1e4a0 2014-08-08 17:27:29 +02:00
Denis Ledoux 02bf0fd9c8 [MERGE] forward port of branch 7.0 up to a86dfb8 2014-08-07 18:20:13 +02:00
Denis Ledoux d909f763b8 [FIX] mail: add tooltip to send a message and log a note links 2014-08-06 14:18:57 +02:00
Olivier Dony 34bfa1b44f [MERGE] Forward-port saas-5 up to d9cda97 2014-07-05 01:45:45 +02:00
Olivier Dony d9cda97cf4 [MERGE] Forward-port saas-4 up to 5ceded9 2014-07-05 01:28:19 +02:00
Thibault Delavallée 581341ce3f [FIX] mail: fixed display issue with the like button 2014-07-02 10:25:53 +02:00
Antony Lesuisse 5209fbc7ed [REM] useless icon send a message
The action is available from the wall.
2014-06-30 01:51:40 +02:00
Simon Lejeune 195fa93168 [MERGE] backend front end integration
Render the top-menu (backend menu or frontend editbar) server-side.
Use Fontawesome icons (mail, timezone, chat).
Refactor website widgets, split Website.editorBarin editorbar, ace, editorbar- content, editorbarCustomize.
2014-06-27 11:03:34 +02:00
Géry Debongnie 6def4a6c30 [FIX] fix mail layout
uses the same technique used for the rest of the client.  Now, it should
behaves properly with respect to scrolling.
2014-06-10 17:00:11 +02:00
Géry Debongnie 5cc8f9ca42 Merge remote-tracking branch 'odoo/master' into master-inline-searchview-ged 2014-05-28 10:37:16 +02:00
Olivier Dony 04211015fc [MERGE] Forward-port of latest saas-4 fixes, up to 0452851 2014-05-27 20:49:49 +02:00
Géry Debongnie 6e6ae4cbf9 [IMP] improves the scrolling behaviour
the mail menu is a client action, so not subject to the same template
as regular views.  so, it had to be patched to properly scroll like
other views (meaning: the 'header', left menu and top menu are fixed)

Also, changes the width of the searchbbar into a min-width css property,
to allow it to grow more.  The reason is that we don't want the searchbox
to take two lines (or more), which will force the view_manager_header to be
higher, and which will cause slight issues with the scrollbar (absolutely
positioned)
2014-05-26 09:37:16 +02:00
Denis Ledoux 7ccd8fdcc7 [FIX] mail: push to breadcrumb on subject, author or notified partners links click
opw-608251: When coming from website > My account, and clicking on a lead link from a message in the inbox, and then deleting the lead, the history_back is triggered and we come back in the website, while we should have come back in the inbox. This is because the action performed was not pushed in the breadcrumb
2014-05-23 15:54:43 +02:00
Géry Debongnie 7e6d223e9e [IMP] work on inline search view in web client
incomplete work.  So far, the search view widget has been split in
two widgets: SearchView and SearchViewDrawer.  The SearchViewDrawer
has been inserted inline, and some preliminary work has been done
to improve the layout.
2014-05-19 14:16:09 +02:00
Fabien Meghazi 7654b7699c [REM] QWeb does not self close empty divs anymore
See web Rev#4011

bzr revid: fme@openerp.com-20140507165126-e32a6qne8slgin09
2014-05-07 18:51:26 +02:00
Amit Vora e6f8666b52 [MERGE] [IMP] mail: Inbox usability improvements :
- notficiation_email_send field, renamed into notify_email, has now 2 values: always or never, in
order to ease the choice and simplify options.
- inbox: removed 'compose a new messages or write to my followers', because those 2 options are
already available. The first one is accessible using the top-right email icon, the second one
is accessible with the 'write to my followers' text box alread present in the inbox.

bzr revid: tde@openerp.com-20140417094133-8ip7vuy6b30xlc32
2014-04-17 11:41:33 +02:00
Christophe Simonis 47c4728f43 [FIX] mail,website_sale: rename file_type to file_type_icon to avoid name conflict with file_type field added by document module
bzr revid: chs@openerp.com-20140228142233-i0mm9lav0czbydkk
2014-02-28 15:22:33 +01:00
Olivier Dony 76d89c0477 [MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 9133 dle@openerp.com-20140214131810-9abebxpfeoga1crn
bzr revid: odo@openerp.com-20140217091203-kmeg4qsn2qyvll23
2014-02-17 10:12:03 +01:00
Thibault Delavallée 8409791018 [FIX] [IMP] mail: Wall widget: clickable links on the wall now use
the mail.action_mail_redirect client action that redirects to the correct
form view, like the link used in notification emails.

bzr revid: tde@openerp.com-20140213151638-ev2va4y3tmm9m7i8
2014-02-13 16:16:38 +01:00
Olivier Dony bbd813e76e [MERGE] Forward-port of latest saas-2 (incl. 7.0) bugfixes, up to rev. 9127 odo@openerp.com-20140212122042-3m2tysmr31mtecnc
bzr revid: odo@openerp.com-20140212175141-i9yz8zlseglrk8sb
2014-02-12 18:51:41 +01:00
Christophe Simonis a69f789b41 [MERGE] forward port of branch 7.0 up to revid 5224 chs@openerp.com-20140206105141-7e8bv8ordqqsswh7
bzr revid: dle@openerp.com-20140205105045-j95kduyjiq83e57z
bzr revid: dle@openerp.com-20140114173613-ruxye1m7fxtcjfim
bzr revid: dle@openerp.com-20140116161158-u95vcs3os4tk2zob
bzr revid: dle@openerp.com-20140121172737-gzawfi3ssg7xifef
bzr revid: chs@openerp.com-20140129094554-c3abc8x3qz9mpszr
bzr revid: chs@openerp.com-20140129140159-9vwkpr078shoonum
bzr revid: chs@openerp.com-20140206110220-myn57cryam1y4k9v
2014-02-06 12:02:20 +01:00
Martin Trigaux 6cb3c4b735 [FIX] some other t-raw to t-esc conversions
bzr revid: mat@openerp.com-20140204124242-emrd7hwlk6d4umkj
2014-02-04 13:42:42 +01:00
Martin Trigaux 57b3abdbd6 [FIX] mail: escape user and partner names before being rendered in mail widgets
lp bug: https://launchpad.net/bugs/1276078 fixed

bzr revid: mat@openerp.com-20140204113358-2cb39l7ge2f5pcg5
2014-02-04 12:33:58 +01:00
Thibault Delavallée 0b2d085c1b [IMP] shop: added openchatter on product shop
- product.template now inherits from mail.thread
- added opencahtter on product.template form view
- added discussion thread + attachments in product website view
- added file_type field on ir_attachment, that replaces the javascript thing
from mail.js
- added a controller to comment a product.template

bzr revid: tde@openerp.com-20140106135727-uf0zaxav28pdx4sv
2014-01-06 14:57:27 +01:00
ajay javiya (OpenERP) 217fdcba70 [IMP][REM]: Remove nobody if user have no rights on partner that will display 'portal to nobody 5 minutes ago' that will confuse to end user, now it display 'portal 5 minutes ago' if no rights.
bzr revid: aja@tinyerp.com-20131009110031-7jdsi3ic3eo3sb2m
2013-10-09 16:30:31 +05:30
ajay javiya (OpenERP) 6b4a1a3d55 [IMP]: Rename log a note to Log an internal note
bzr revid: aja@tinyerp.com-20130926132322-pvu18fr5w24lc18m
2013-09-26 18:53:22 +05:30
ajay javiya (OpenERP) de52e90cfa [ADD]: add an option in chatter 'display_log_button', that is true for employee action, and False for portal action
bzr revid: aja@tinyerp.com-20130920130449-8c5z33tgegftdxu3
2013-09-20 18:34:49 +05:30
Atul Patel (OpenERP) 1a382f268c [MERGE]: Merged with addons
bzr revid: atp@tinyerp.com-20130812043810-y14dmqwvuxrxkuag
2013-08-12 10:08:10 +05:30
Atul Patel (OpenERP) 2706328ca4 [IMP] mail: Pass current user partner id into datasets and get it into template. add author also for private mail.
bzr revid: atp@tinyerp.com-20130725071939-9lmuhfgte987nu03
2013-07-25 12:49:39 +05:30
Atul Patel (OpenERP) 48c68c3a99 [FIX]: Fix private message partnerid problem and display and when no author
bzr revid: atp@tinyerp.com-20130723055511-edtutz2au78rcinx
2013-07-23 11:25:11 +05:30
Atul Patel (OpenERP) 5d4f89f9d6 [IMP]: check is_author condition
bzr revid: atp@tinyerp.com-20130723054926-4t0whshbgcrkql3h
2013-07-23 11:19:26 +05:30
Thibault Delavallée 32d0f6bce0 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130717074710-2jz58nqwe7hnyyij
2013-07-17 09:47:10 +02:00
Mehul Mehta (OpenERP Trainee) 295d807aa5 [IMP] change a reply private discussion Document in chatter and remove a author notified of its own messages
bzr revid: mehulmehta008@gmail.com-20130716094124-ksigo91x3njgdj4f
2013-07-16 17:41:24 +08:00
Christophe Simonis aa133b4d29 [MERGE] forward port of branch saas-1 up to revid 8745 chs@openerp.com-20130613181503-82234mo34wxb0oap
bzr revid: chs@openerp.com-20130614091924-z5ta02kwhmwcrgox
2013-06-14 11:19:24 +02:00
Thibault Delavallée 5601fbd78c [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130606135313-u3mbe1a8yeussnck
2013-06-06 15:53:13 +02:00
Thibault Delavallée 9c57f6e1cd [FIX] mail: various fixes
Mass mailing: emails due to mass mailing are not queued instead of sent immediately.
As most of cases go through mail_followers._notify(), a new argument is added that
allows to control the force_send (like what is done in email_template).
Chatter: better display of recipients when having a message_post due to mass mailing
(not always displaying logged a note).
Notified people: when having no subtype, just avoid notifying the followers but
take into account specified recipients (partner_ids).

bzr revid: tde@openerp.com-20130606102437-43s4xp96b5wa3r1q
2013-06-06 12:24:37 +02:00
Thibault Delavallée 9fd2e7297f [IMP] Chatter: better display of date
bzr revid: tde@openerp.com-20130605101300-t1lwykg3d6lp7au2
2013-06-05 12:13:00 +02:00
Thibault Delavallée 0816717526 [FIX] Chatter: fixed suggested recipients, when having no email, unchecking the box was not taken into account.
bzr revid: tde@openerp.com-20130524144224-wbi1o27regxed7mn
2013-05-24 16:42:24 +02:00
Thibault Delavallée 89896f32bb [IMP] [CLEAN] [REF] mail, res_partner, res_users, hr: cleaned partner / employee profile following last specifications.
Partner profile is now classic, no more email-routing.
Writing on res.users, basically, begins a private discussion.
With HR, emails on res.users are private discussions, other
are post on employee profile.
Some cleaning in Chatter about Followers of ... , now talking about
partner or employee profile.

bzr revid: tde@openerp.com-20130515153159-cm52byvb7w6m1sxs
2013-05-15 17:31:59 +02:00
Thibault Delavallée 0525c965a9 [CLEAN] [REF] mail, hr: cleaned JS/CSS/XML code for suggestion widgets. Those are now 2 widgets extending web.Widget, included inside a Sidebar widget.
bzr revid: tde@openerp.com-20130515103518-2djzogjdtjh0n7rl
2013-05-15 12:35:18 +02:00
Thibault Delavallée e0ea2dbdcb [IMP] Chatter: first message is truncated after 100 characters, other messages after 300 characters; cleaned code about expan management.
bzr revid: tde@openerp.com-20130425104336-3xvdwgwanrutzinp
2013-04-25 12:43:36 +02:00
Vishmita Jadeja (openerp) 2178351145 [IMP]Improve code
bzr revid: vja@tinyerp.com-20130424131241-m9katp6tlbbnr9kd
2013-04-24 18:42:41 +05:30
Vishmita Jadeja (openerp) e18a85f261 [IMP]False return when there is no email address in recipient in chatter
bzr revid: vja@tinyerp.com-20130424123425-jo6i7jg8albrbhi2
2013-04-24 18:04:25 +05:30