Commit Graph

971 Commits

Author SHA1 Message Date
Christophe Simonis 88e8107e01 [MERGE] forward port of branch saas-3 up to 505e308 2015-07-14 15:13:03 +02:00
Christophe Simonis 505e308cd6 [MERGE] forward port of branch 7.0 up to e12cece 2015-07-14 15:00:33 +02:00
Nicolas Lempereur 312b85ee2a [FIX] mail: reload messages after closing composer
Always reload the message after the mail composer message is closed.

Since there is several unrelated model it would probably messy to go
from the mail thread to the mail composer popup to see if a new message
is posted (or get it and add it in the chatter like done in the simple
message editor).

With this change, anytime the mail composer modal is closed the mail
thread messages are reloaded.

closes #7596
opw-644406
2015-07-14 10:43:33 +02:00
Nicolas Lempereur 187ad0a054 [FIX] mail: chatter not shown when should
If the chatter is displayed, display the send message part.

Before it was only displayed if we can edit the record, but we are still
able to post in other case (i.e. if we are in the followers).

closes #6721
opw-631039
2015-05-15 17:08:45 +02:00
Denis Ledoux 9e4a8e814f [FIX] mail: suggested recipient for emails without author
When a message had no author (this is accepted),
a recipient without full_name, name and email address
was added to the suggested recipients of the thread,
leading to a "(no email address)" within the suggested recipients,
which is not really useful.

opw-629797
2015-03-10 11:38:44 +01:00
Christophe Simonis 7b7554c91f [MERGE] forward port of branch saas-3 up to cdb48d3 2015-01-19 12:16:33 +01:00
Christophe Simonis cdb48d39ba [MERGE] forward port of branch 7.0 up to 6c55a4b 2015-01-19 12:09:48 +01:00
Denis Ledoux 84b5bf94bd [IMP] mail: prevent leaving when composing a message 2015-01-15 19:04:05 +01:00
Martin Trigaux b303613f85 Forward port of branch saas-3 up to 6d41af4 2015-01-05 12:47:51 +01:00
Martin Trigaux 6d41af4432 Forward port of branch 7.0 up to d80c0ff 2015-01-05 12:41:05 +01:00
Jérome Maes 1adb3de371 [FIX] mail : close #2250. If trying to send empty message in chatter, no other messages can be send wihtout refreshing page. Moving the flag_post allow sending a new message only when the previous one is sucessufully sent. If case of empty message, nothing will happen, and the chatter will not be blocked. 2014-12-30 11:24:55 +01:00
Denis Ledoux cd4bb69550 [FIX] mail: thread messages order on show more
If click show more in a flat thread (level 0, such as under leads, issues, etc.) append messages from newer to older
If click show more in an indented thread (level > 0, such as in the messaging wall), append messages from older to newer
2014-12-16 20:10:47 +01:00
Denis Ledoux 9b72e70bba [FIX] mail: 1000 as limit for wall messages is a little bit too high.
Just a little bit.
2014-12-12 13:41:16 +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
Julien Legros 0780304656 [FIX] mail: append messages at the right place
e6790ba introduced a bug where messages were always appended at the end
of the thread, potentially displaying them in the wrong order.
2014-10-24 17:46:33 +02:00
Richard Mathot 0f31209b79 [FIX] mail: limit messages in chatters 2014-10-22 11:21:13 +02:00
Martin Trigaux 8843974d04 Forward port of branch saas-3 up to fc9fc3e 2014-10-06 15:52:23 +02:00
Denis Ledoux e4eff4ba66 [FIX] mail: keep breadcrumb on click on chatter follower 2014-10-02 17:35:27 +02:00
Mitesh Savani e6790ba87d [FIX] mail: position of show more message button 2014-09-24 12:56:40 +02:00
Denis Ledoux 29e08a272c [MERGE] forward port of branch saas-3 up to 5bd0249 2014-09-18 16:18:23 +02:00
Cedric Snauwaert 2aaad0796c [FIX] announcement_bar: computed height was wrongly computed 2014-09-18 10:36:49 +02:00
Denis Ledoux 45b4b71fa4 [FIX] mail: chatter read more/less expand first oe_msg_body_long/short in the first oe_msg_body
Otherwise, if the mail itself contains a oe_msg_body_long (because sent in the mail history), it will open that one
2014-09-17 18:03:34 +02:00
Géry Debongnie 6e6dd7962c [FIX] correct css computation to remove unnecessary toolbar 2014-09-04 12:13:14 +02:00
Christophe Simonis 8046b7367d [MERGE] forward port of branch saas-5 up to 7e117b1 2014-08-28 16:51:11 +02:00
Christophe Simonis 7e117b18a0 [MERGE] forward port of branch saas-3 up to ada9724 2014-08-28 16:21:27 +02:00
Christophe Simonis ada9724655 [MERGE] forward port of branch 7.0 up to 3509e15 2014-08-28 16:12:55 +02:00
Géry Debongnie 6b38b26f65 [IMP] adjust web client height with announcement bar
when the user is not registered, the announcement bar messed up the
layout by adding a third scrollbar.  This commit fixes the issue by
ajusting the height if necessary.  The timeout is necessary to prevent
a scrollbar from appearing when the animation is running.
2014-08-28 15:22:31 +02:00
Denis Ledoux 80017b04c2 [FIX] security: ir.config_parameter should not be readable by externals 2014-08-26 12:50:04 +02:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +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 197d4b597c [FIX] fix a callback that was not triggered
The problem was that the do_searchview_search callback was registered
after the event 'search_data' was triggered.  For some reason, it
waited that the searchview was appended instead of registering directly.
2014-06-11 10:10:15 +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
Olivier Dony fd21abd847 [MERGE] Forward-port latest saas-3 bugfixes, up to 30f43da 2014-05-27 17:18:43 +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 8159f4a18c [IMP] improves searchview appendTo
after some thought, the extra method insert was not really necessary.
It was at first a way to force the user to give two nodes to determine
where the searchview and the drawer were to be inserted.  However,
the second node can be omitted, a perfectly reasonable default is
to append the drawer just after the searchview.

Then, the role of insert is exactly the same as appendTo, so it makes
sense to override appendTo and remove insert.  Simpler, and the job is done.
2014-05-22 09:55:04 +02:00
Géry Debongnie 7c6c720425 [IMP] better architecture for searchview/drawer
Before, the searchview and the searchview drawer had to be instantiated by
the user and appended separately to their correct place.  Now, the
searchview is responsible for creating/destroying the drawer, and the
user is responsible for correctly using the insert method with
the node where the searchview/drawer are to be inserted.
2014-05-20 15:27:44 +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
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
Thibault Delavallée 5ea15d56fb [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140414090428-y435e4tsy4ju5nc3
2014-04-14 11:04:28 +02:00
Amit Vora bf3d4a7d94 [MRG] merge with main branch
bzr revid: avo@tinyerp.com-20140414071801-3eaa6iqryfrolxbt
2014-04-14 12:48:01 +05:30
Cedric Snauwaert 89d665aa79 [FIX]some cosmetic of code
bzr revid: csn@openerp.com-20140411122840-tv1mx2nu5p2is669
2014-04-11 14:28:40 +02:00
Thibault Delavallée 94c580e933 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140411075551-xh4o3k3172cr7scz
2014-04-11 09:55:51 +02:00
Cedric Snauwaert 3a4e264978 [FIX]use bootstrap modal windows. refactor and cleaned from trunk-ui-to-boostrap-modal
bzr revid: csn@openerp.com-20140410155022-3cqys3zc55idc4vg
2014-04-10 17:50:22 +02:00
Amit Vora cfbd8ae9f8 [IMP] change field name notificatio_email_send to notify_email and none selection key instead of never
bzr revid: avo@tinyerp.com-20140409101604-1l8ltrcpjps8pazi
2014-04-09 15:46:04 +05:30
Amit Vora 28a96d2651 [MRG] merge with main branch
bzr revid: avo@tinyerp.com-20140401091041-bvxtr58qkgicl6x8
2014-04-01 14:40:41 +05:30
Darshan Kalola (OpenERP) ad2984f564 [IMP]disabled dropdown button when there is no item in dropdown.
bzr revid: dka@tinyerp.com-20140331073100-qexuumfnynssfto1
2014-03-31 13:01:00 +05:30
Darshan Kalola (OpenERP) 92875602b4 [MERGE]sync with trunk.
bzr revid: dka@tinyerp.com-20140328131834-1bhu74vaihxvp0sb
2014-03-28 18:48:34 +05:30