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
Denis Ledoux
2684b7de4c
[FIX] mail: alias domain should be fetch as superuser
...
as ir.config.parameter has limited access
2014-09-10 17:26:39 +02:00
Denis Ledoux
e447a46ec8
[MERGE] forward port of branch 7.0 up to 33e0910
2014-09-09 18:02:30 +02:00
Rifakathusen Haradwala
f51dac038e
[FIX] mail: translate tracked fields name in chatter
...
Status tracking messages are not translated into user's language while updating any document with tracked fields (opw 612847)
2014-09-05 13:53:25 +02:00
Denis Ledoux
d824769b3c
[FIX] tools,mail: improve parsing of references from rev. 0bee015dd6
...
Backport of 8.0 fix was not enough for 7.0, because it still fails for the legacy reference match (model+res_id), which is not used in 8.0
2014-09-05 11:44:20 +02:00
Anael Closson
0bee015dd6
[FIX] mail: more robust parsing of In-Reply-To/References (OPW 608919)
...
When parsing incoming messages, ignore white-space around
In-Reply-To headers, and extract message-id items inside
the References header using a regex.
This actually serves as a workaround for broken MTAs
mangling References (such as outlook.com nesting past ones
with commas, violating RFC2822).
Closes #516 as a manual rebase.
2014-09-01 13:51:08 +02:00
Christophe Simonis
1d9bdb43bf
[FIX] mail: read ir.config_parameter with SUPERUSER_ID
2014-08-28 18:32:11 +02:00
Christophe Simonis
ada9724655
[MERGE] forward port of branch 7.0 up to 3509e15
2014-08-28 16:12:55 +02:00
Denis Ledoux
80017b04c2
[FIX] security: ir.config_parameter should not be readable by externals
2014-08-26 12:50:04 +02:00
Olivier Dony
85d2b45aaa
[I18N] Update 7.0 translations with latest changes on Launchpad
...
See also https://github.com/odoo/odoo/wiki/GitHub-Transition#translations
2014-08-14 03:38:58 +02:00
Olivier Dony
96c36e895c
[I18N] Update all 7.0 translation templates with latest terms and annotations
...
Total new terms: 168
Total deleted terms: 95
Total identical terms: 16329
(Some modules skipped, typically all l10n_* modules)
2014-08-14 02:24:24 +02:00
Denis Ledoux
7b0eb9b1a8
[FIX] mail: forward-port of rev 245bb4ebdf
2014-08-12 15:16:49 +02:00
Denis Ledoux
2c9a116c74
[MERGE] forward port of branch 7.0 up to 245bb4e
2014-08-12 14:16:35 +02:00
Denis Ledoux
245bb4ebdf
[FIX] mail: to/from/reply-to addresses formated according to RFC2822
...
Use formataddr method from email.utils lib, which do the job correctly
2014-08-12 13:40:45 +02:00
Denis Ledoux
02bf0fd9c8
[MERGE] forward port of branch 7.0 up to a86dfb8
2014-08-07 18:20:13 +02:00
Martin Trigaux
2a74666bb0
[FIX] mail: avoid duplication followers when merging partners
2014-08-07 18:17:39 +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
Anaël Closson
f247bdd0b6
[FIX] mail: message-id not parsed properly in message_route
...
Same as for rev 4bad513
, the references were not correctly parsed, added missing regex
2014-08-01 08:55:27 +02:00
Christophe Simonis
310d3fe4c4
[MERGE] forward port of branch 7.0 up to 39f3e40
2014-07-30 18:55:31 +02:00
StefanRijnhart
f9da53743f
[FIX] mail: reset of default_type in context
...
When creating a new message, we need to reset the default_type key to avoid context propagation (e.g. invoice menu).
However we used to compare the key in context (char) with the list of selections (tuple) so it was never matching and always reset.
2014-07-29 14:13:01 +02:00
Martin Trigaux
b5918cb55c
[MERGE] forward port of branch 7.0 up to 67cca3f
2014-07-23 16:23:22 +02:00
Sandy Carter
67cca3f1e5
[FIX] mail: display translated model name at record creation
...
When a record is created, if it inherits from mail.thread, a message 'OBJECT created' is posted. 'created' is translated but the name of the model wasn't.
This fix uses the name of the linked ir.model which is already a translatable field.
lp:1262000, opw 611043
2014-07-23 15:35:41 +02:00
Olivier Dony
a9d2b65da5
[MERGE] Fwd-port 7.0 up to 783b9e1
2014-07-11 11:51:06 +02:00
Anand-Dharampuriya
5cbc611361
[FIX] Solve some mail issues which are currently present in 7.0
2014-07-10 16:29:54 +02:00
Richard Mathot
f6bf77c2b5
[FIX] mail: bad display of aliases on user forms
...
(Partial backport of commit 1f86156991
)
Closes #800 .
2014-07-10 15:22:03 +02:00
Thibault Delavallée
581341ce3f
[FIX] mail: fixed display issue with the like button
2014-07-02 10:25:53 +02:00
Anael Closson
4bad513d29
[FIX] mail: more robust parsing of In-Reply-To/References (OPW 608919)
...
When parsing incoming messages, ignore white-space around
In-Reply-To headers, and extract message-id items inside
the References header using a regex.
This actually serves as a workaround for broken MTAs
mangling References (such as outlook.com nesting past ones
with commas, violating RFC2822).
Closes #516 as a manual rebase.
2014-06-18 14:39:37 +02:00
Denis Ledoux
98bf37f6e1
[FIX] mail: missing .id during forward port 3c0292645f
2014-06-16 18:07:10 +02:00
Denis Ledoux
3c0292645f
[MERGE] Forward-port of 7.0 bugfixes up to 63ea0df73f
2014-06-16 17:37:10 +02:00
Ravi Gohil
8796e07afc
[FIX] mail: Speep improvement when sending email using 'Send by Email' wizard. (Maintenance Case: 606994)
2014-06-09 18:20:02 +05:30
Christophe Simonis
7dd69540e8
[MERGE] forward port of branch 7.0 up to 0c4bc1c
2014-06-03 19:11:44 +02:00
Jean-Baptiste Quenot
310ecb0d60
Fix detection of MIME type in message_parse()
...
Be careful, content-type may contain tricky content like in the
following example so test the MIME type with startswith()
Content-Type: multipart/related;
boundary="_004_3f1e4da175f349248b8d43cdeb9866f1AMSPR06MB343eurprd06pro_";
type="text/html"
2014-06-02 11:48:30 +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
Launchpad Translations on behalf of openerp
0159a72661
Launchpad automatic translations update.
2014-05-14 06:20:49 +00:00
Launchpad Translations on behalf of openerp
1397b7aa34
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140510075539-empsrh7k5l6q44ln
bzr revid: launchpad_translations_on_behalf_of_openerp-20140510075505-nu0zmfg57i2352lz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140511070820-8xp1e2jxonp4i750
bzr revid: launchpad_translations_on_behalf_of_openerp-20140503064840-v6n2wyrm1l162bh4
bzr revid: launchpad_translations_on_behalf_of_openerp-20140504062728-9tmsk2r01vvs3avi
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506072722-8xpshoxb4um6ef30
bzr revid: launchpad_translations_on_behalf_of_openerp-20140511070841-lboiasc73m8h3fb2
2014-05-11 07:08:41 +00:00
Launchpad Translations on behalf of openerp
5f1bd401f8
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140508063251-ztdomqygi2izm2o3
2014-05-08 06:32:51 +00:00
Christophe Simonis
1953aa442f
[MERGE] forward port of branch 7.0 up to revid 10037 mat@openerp.com-20140507133552-v4qsdp7qdp9iwewi
...
bzr revid: chs@openerp.com-20140507153348-g2qw61dkxvps13br
2014-05-07 17:33:48 +02:00
Denis Ledoux
4f1dbde8d5
[FIX] mail: attachments present for first recipient, but not for the others
...
attachments should be an array and not a generator [x for x in y] instead of (x for x in y)
bzr revid: dle@openerp.com-20140505123852-kjc6z0npiot9c54l
2014-05-05 14:38:52 +02:00
Jacques-Etienne Baudoux
a918e89995
[FIX] mail: change copy call to copy_data to avoid resending email during duplication (opw 607295)
...
bzr revid: mat@openerp.com-20140505094329-vr7h4c92i43ezob4
2014-05-05 11:43:29 +02:00
Olivier Dony
2f7ac6838d
[MERGE] mail: avoid resetting purposefully empty catchall domain setting, courtesy of Stefan Rijnhart (Therp)
...
bzr revid: odo@openerp.com-20140505075129-hv4evrdw5v7crtmw
2014-05-05 09:51:29 +02:00
Launchpad Translations on behalf of openerp
f426972e37
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140430070138-uuemdpfseyysxlvs
bzr revid: launchpad_translations_on_behalf_of_openerp-20140502064550-9r0c2t3tr8dp1hwu
bzr revid: launchpad_translations_on_behalf_of_openerp-20140501063929-ta3t6lhed5dpdz9a
bzr revid: launchpad_translations_on_behalf_of_openerp-20140502064608-1zwt52snc5pg5kfi
bzr revid: launchpad_translations_on_behalf_of_openerp-20140504062721-dgb7m6o6ge2btumg
2014-05-04 06:27:21 +00:00
Olivier Dony
61d2122987
[FIX] mail.mail: avoid prefetching attachment data in memory while processing mail queue, could fail due to memory limit
...
Specifically when there are many emails in the queue, prefetching
all their attachments at once when processing the first one
could fail, so not even one mail would be sent.
Added explicit logging when an email triggers a MemoryError,
as well as logging when each email is successfully sent.
bzr revid: odo@openerp.com-20140502144431-r3brgagl4gel4wmt
2014-05-02 16:44:31 +02:00
Olivier Dony
c3e812f34a
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 10025 rev-id odo@openerp.com-20140430102552-qkwv20b20nve64th
...
bzr revid: odo@openerp.com-20140430110048-6971xplq8k073tto
2014-04-30 13:00:48 +02:00
Olivier Dony
c43fdfe32b
[FIX] mail: avoid catching (transient) MemoryErrors when sending outgoing mail
...
This would permanently mark the mail as failed while
there is a good chance it will be sent properly next
time it is retried (provided the memory situation
improves or the server/worker has restarted).
bzr revid: odo@openerp.com-20140430102552-qkwv20b20nve64th
2014-04-30 12:25:52 +02:00
Martin Trigaux
9806fd4225
[MERGE] [FIX] mail: make the detection of Content-Type based on filename instead of only offering 'application/octet-stream'. This allows to have a better detection of the software to use by the browser. opw 606233
...
bzr revid: mat@openerp.com-20140429090446-6691y6h9vdkbbnuu
2014-04-29 11:04:46 +02:00
Stefan Rijnhart
d77b000aff
[FIX] Don't reset an existing but empty mail.catchall.domain
...
bzr revid: stefan@therp.nl-20140423121411-l3qyijr6fnsexrtn
2014-04-23 14:14:11 +02:00
Denis Ledoux
b6255eb55d
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 10005 revid:dle@openerp.com-20140422150710-mr9x3vyq0wcg31l5
...
bzr revid: dle@openerp.com-20140422162028-2icoebrb5q4tg3t3
2014-04-22 18:20:28 +02:00
Launchpad Translations on behalf of openerp
89fd1bede4
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140419063533-z6kswp5wkioh5jlv
bzr revid: launchpad_translations_on_behalf_of_openerp-20140420055842-traoy17xi60ufook
bzr revid: launchpad_translations_on_behalf_of_openerp-20140421050815-44ydlitvsaj3xdd9
bzr revid: launchpad_translations_on_behalf_of_openerp-20140422082459-bfjqgpt2bpgll64p
2014-04-22 08:24:59 +00:00
Martin Trigaux
a97dd9adaf
[FIX] mail: correct missing comma in domain on mail.mail
...
bzr revid: mat@openerp.com-20140418140508-y0fnxsbgda0gp6t4
2014-04-18 16:05:08 +02:00
Martin Trigaux
1ab962d338
[FIX] mail: convert attachments to binary as it is the expected format of message_post opw 604205
...
The double convertion (render_message and send_mail) is done to keep the API but should be changed in next version.
bzr revid: mat@openerp.com-20140415161441-q6pfueetvv0namgw
2014-04-15 18:14:41 +02:00
Launchpad Translations on behalf of openerp
6ca81553a0
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140415075130-aqn4mzx05l3txtkb
bzr revid: launchpad_translations_on_behalf_of_openerp-20140415075337-ulie3qkes53t8ivf
2014-04-15 07:53:37 +00:00
Jamin Shah (OpenERP)
d9423585d5
[FIX]Fixed the issue of mimetype not detected properly, used python mimetypes module to detect file's mimitype.
...
bzr revid: jas@tinyerp.com-20140414052904-rp4oia2py6b61xg8
2014-04-14 10:59:04 +05:30
Olivier Dony
fb19b54ff9
[MERGE] Forward-port of 7.0 bugfixes up to rev 9976 rev-id: odo@openerp.com-20140411142429-y0rpkzqbrsabxqsg
...
bzr revid: odo@openerp.com-20140411142800-t8sbcmfkj3qgmrh3
2014-04-11 16:28:00 +02:00
Olivier Dony
9861b5cada
[FIX] mail.thread: avoid overwriting thread_id/model with foreign values when reply-to hostname does not match + fix tests
...
This improve previous commit by making sure we
never consider the thread_id/model values in the
In-Reply-To/References header if the host name
did not match.
Also fixes the tests that were using the
6.1 compatibility mode to post in a mail group
thread instead of specifying the right
message-id.
bzr revid: odo@openerp.com-20140411142429-y0rpkzqbrsabxqsg
2014-04-11 16:24:29 +02:00
Olivier Dony
4ed8413dc7
[FIX] mail.thread: avoid wrongly matching model,id from a foreign OpenERP system
...
When emails transit from an OpenERP system to another
there is a chance of wrongly considering the foreign
model,id pair as local, possibly attaching a reply
to a wrong parent message.
This naive heuristic ignore the foreign identifiers
unless the hostname of the message-id mentioned in
the In-Reply-To header matches the local one.
This may fail after a change of local hostname but
is still better than the alternative.
In OpenERP v8 we should stop including the model,res_id
in outgoing Message-Id headers and only rely on the
stored, opaque, unique Message-Ids, preventing
any future mismatch.
bzr revid: odo@openerp.com-20140411101349-h3jmkdzvbr7lut26
2014-04-11 12:13:49 +02:00
Launchpad Translations on behalf of openerp
8f174e13bd
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140404070722-99m3lomg172fzapc
bzr revid: launchpad_translations_on_behalf_of_openerp-20140404070759-302tyo6k09v8arhz
2014-04-04 07:07:59 +00:00
Launchpad Translations on behalf of openerp
4612b417af
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140403060213-netdplm9jzfr9yy6
2014-04-03 06:02:13 +00:00
Launchpad Translations on behalf of openerp
16ce262c33
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140329073038-m7q4sxpb8tprh00r
bzr revid: launchpad_translations_on_behalf_of_openerp-20140330061549-r3t0pecngy76c2rw
bzr revid: launchpad_translations_on_behalf_of_openerp-20140331064021-x3wjc8s4oa0ncq95
bzr revid: launchpad_translations_on_behalf_of_openerp-20140401065325-w3viflz7c33n4uis
bzr revid: launchpad_translations_on_behalf_of_openerp-20140402064459-d7e3d8nwo8famjh6
2014-04-02 06:44:59 +00:00
Launchpad Translations on behalf of openerp
1f3c4f852f
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140319063002-sd17jxb37ycogrrz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140320061944-bwpy0lt1bp5ee0y2
2014-03-20 06:19:44 +00:00
Kersten Jeremy
758d467982
[FIX] In mail text2Html, replace url (http or ftp) before the replacement of return line, else some return line was sometimes considered as the link.
...
Eg : <a href="http://www.google.com <br/><br/>Puis">http://www.google.com <br/><br/><br/>Puis</a>
bzr revid: jke@openerp.com-20140318203051-lk92fjgwltkwbk68
2014-03-18 21:30:51 +01:00
Christophe Simonis
b3bb47076b
[MERGE] forward port of branch saas-2 up to revid 9151 chs@openerp.com-20140314104803-19c5snl2fcuih91o
...
bzr revid: chs@openerp.com-20140314105753-7a7wh9a1z99azgfj
2014-03-14 11:57:53 +01:00
Denis Ledoux
02459f8d4a
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9929 revid:dle@openerp.com-20140325104921-x8zjx5p71l1o3uif
...
bzr revid: dle@openerp.com-20140310133913-465x5t3n1bo7fu98
bzr revid: dle@openerp.com-20140311164146-2s599kogbqj8e94l
bzr revid: dle@openerp.com-20140312111149-u6y036aej3ywq7et
bzr revid: dle@openerp.com-20140312121145-06s1jvct9v4m7l6s
bzr revid: mat@openerp.com-20140313084409-c0kckxemy3in0mlo
bzr revid: chs@openerp.com-20140313163420-ifa4hyixj722d6jo
bzr revid: chs@openerp.com-20140314102034-g0nzryvwhrpzdas9
bzr revid: chs@openerp.com-20140314104803-19c5snl2fcuih91o
bzr revid: odo@openerp.com-20140314143519-x6rzcfkkqxwc0e1g
bzr revid: chs@openerp.com-20140318110229-y8098w3shdpmoig2
bzr revid: dle@openerp.com-20140318151824-sscl4m8p87emjl8s
bzr revid: dle@openerp.com-20140320112618-yfyihlwz66ryeqf5
bzr revid: dle@openerp.com-20140320161003-j01cc6sqves2wnp2
bzr revid: dle@openerp.com-20140320181252-4gqcog22p1ex0pz7
bzr revid: dle@openerp.com-20140321140450-8ulnhr76qybiadks
bzr revid: dle@openerp.com-20140324104743-ubvu8st7emq9pg1q
bzr revid: dle@openerp.com-20140325112413-xs5z7y81rhyjt0rd
2014-03-25 12:24:13 +01:00
Olivier Dony
9e002d9233
[FIX] mail.thread: avoid error if `message_unread_count` has been popped 1 line earlier
...
bzr revid: odo@openerp.com-20140314104605-qi7eqj2g37dvxvc3
2014-03-14 11:46:05 +01:00
Christophe Simonis
44a99c0976
[FIX] calendar: correct recurrency end date computation
...
bzr revid: chs@openerp.com-20140314094809-0wuus62tob8vtyi0
2014-03-14 10:48:09 +01:00
Martin Trigaux
5fd51cd41b
[MERGE] [FIX] mail: make subject of invitation wizard translatable
...
bzr revid: mat@openerp.com-20140307090923-28r81taey0sdtfy0
2014-03-07 10:09:23 +01:00
Thibault Delavallée
db2bdee343
MERGE] [FIX] email_template: fix relative -> absolute url conversion
...
Local URLs are converted into absolute URLs, notably because when using the
email designer, images are added using local URLs. Previously to this fix
the template was analyzed to find local URLs and make them absolute.
However this causes 2 issues :
- mako-based URLs are broken because a scheme is added before the mako that
generated the image src
- when changing the base url, the templates are not updated
The URLs are now converted dynamically when generating the content of the
html. This is done by passing a new parameter that enable the post processing
of the generated content.
Also fixed double body generation when using templates; fields parameter
was not propagated correctly.
bzr revid: tde@openerp.com-20140304112957-l9b10gyjqphs5fgc
2014-03-04 12:29:57 +01:00
Launchpad Translations on behalf of openerp
b201dc79b7
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140218054104-8egkh4jj7hiiwuih
bzr revid: launchpad_translations_on_behalf_of_openerp-20140219054048-688twg0fubtm2x2q
bzr revid: launchpad_translations_on_behalf_of_openerp-20140220054214-237ri67t9rw3l4fu
bzr revid: launchpad_translations_on_behalf_of_openerp-20140221063855-wniw42r27gyg3h6y
bzr revid: launchpad_translations_on_behalf_of_openerp-20140222073328-xpn7nwqz407yzumq
bzr revid: launchpad_translations_on_behalf_of_openerp-20140223074516-0r09cpmma58ylqji
bzr revid: launchpad_translations_on_behalf_of_openerp-20140224060319-535oheaq2w9u2ye3
bzr revid: launchpad_translations_on_behalf_of_openerp-20140225062420-zl7curej0e0warhz
bzr revid: launchpad_translations_on_behalf_of_openerp-20140226073146-3vzhw4hddr81olbs
bzr revid: launchpad_translations_on_behalf_of_openerp-20140227062959-24e2rn98rqb9afpr
bzr revid: launchpad_translations_on_behalf_of_openerp-20140228072152-f9gm4ud1wu19ge27
bzr revid: launchpad_translations_on_behalf_of_openerp-20140301055205-r0df0fqz9yf5z66i
bzr revid: launchpad_translations_on_behalf_of_openerp-20140302052638-bjf11oumy7w15oco
bzr revid: launchpad_translations_on_behalf_of_openerp-20140304082704-k1z2te1tfud43zy3
2014-03-04 08:27:04 +00: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
Thibault Delavallée
11e0e64769
[FIX] mail: notification url: only web, not login
...
bzr revid: tde@openerp.com-20140226170002-ndr090idip3cyx3n
2014-02-26 18:00:02 +01:00
Thibault Delavallée
bb795e929d
[FIX] mail: fixed sign-in URL in notification emails, use the new web/login controller introduced in saas-3.
...
bzr revid: tde@openerp.com-20140225095054-kswinebsgsj5fex1
2014-02-25 10:50:54 +01:00
Thibault Delavallée
700bbfcce1
[FIX] mail_thread: when reading subscription data, add a protection
...
against not planned subtype data (coming from error in subtype relationship
table, or for undisplayed subtypes, old subtypes, ...).
bzr revid: tde@openerp.com-20140225090637-mnztroc05nk7l2sl
2014-02-25 10:06:37 +01:00
Denis Ledoux
0ef17beed0
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9846 revid:dle@openerp.com-20140217124044-o8sgz1esfqeha01f
...
bzr revid: dle@openerp.com-20140214100922-m6rf7c6x85nv67sl
bzr revid: dle@openerp.com-20140214114713-oab4kbearvv7g3nh
bzr revid: dle@openerp.com-20140214131810-9abebxpfeoga1crn
bzr revid: dle@openerp.com-20140217124230-ov201kfep88f5tn7
2014-02-17 13:42:30 +01:00
Olivier Dony
0227d6a056
[FIX] mail: adapt `assertRaises` test after corresponding code change in last forward-port
...
bzr revid: odo@openerp.com-20140217095143-ibhqyzflle2hbimy
2014-02-17 10:51:43 +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
Launchpad Translations on behalf of openerp
5d2f1c68ac
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140216064134-tam102h50au851o1
bzr revid: launchpad_translations_on_behalf_of_openerp-20140215073800-2219ymc7ijxq57aa
bzr revid: launchpad_translations_on_behalf_of_openerp-20140216064223-17h9wz07b2siswzs
bzr revid: launchpad_translations_on_behalf_of_openerp-20140217060328-7qh928zk8ro30qzb
2014-02-17 06:03:28 +00:00
Denis Ledoux
677c972e85
[FIX] mail: word wrapping in pre tags (for mails without html in chatter)
...
bzr revid: dle@openerp.com-20140214131705-efs3bggixyjalxun
2014-02-14 14:17:05 +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
Thibault Delavallée
ec5291c130
[IMP] fetchmail: try / except the processinf of each email and log any exception
...
found during processing. This way, all emails in the queue are managed and
all failed emails have their own exception in the logs, allowing easier
debugging.
Note that a failed email is set as seen to avoid processing it every time
the scheduler runs.
bzr revid: tde@openerp.com-20140213095717-tcwgkl143i3ujw8h
2014-02-13 10:57:17 +01:00
Thibault Delavallée
dca7f71d71
[DOC] mail_thread: docstrings to add raised exceptions in message_process and message_route
...
bzr revid: tde@openerp.com-20140213090122-0gwin1pjigwu42sz
2014-02-13 10:01:22 +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
Thibault Delavallée
e09f5cd264
[FIX] mail: fixed tests, no more assertionerror, but valueerror
...
bzr revid: tde@openerp.com-20140212153141-ajwmd26of69tfoer
2014-02-12 16:31:41 +01:00
Thibault Delavallée
150d5a9e18
[IMP] mail: mail_thread: message routing: raise exceptions instead of using asserts.
...
Indeed assert are statements meant to be used when developping, for
debug purpose. In a production environment it is safer to use real
exceptions that can be managed accordingly.
bzr revid: tde@openerp.com-20140212152737-c7q339psd9hi4iwd
2014-02-12 16:27:37 +01:00
Amit Dodiya (OpenERP)
b8235d3786
[FIX] invitation wizard: subject on invitation wizard is not translatable
...
bzr revid: ado@tinyerp.com-20140211105103-1acfgp8htr1nb1uj
2014-02-11 16:21:03 +05:30
Denis Ledoux
0043f81e33
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9824 revid:dle@openerp.com-20140210134603-ck0jr56xhl8xgzg2
...
bzr revid: dle@openerp.com-20140210141704-sjzjwhe7fh5gszxr
2014-02-10 15:17:04 +01:00
Thibault Delavallée
759ed5bbb6
[IMP] mail: subscription: if no-one to (un)subscribe, already return. This is not
...
necessary for computation, but saves some browse / access right checking.
bzr revid: tde@openerp.com-20140210115827-2y451i0edgve59mi
2014-02-10 12:58:27 +01:00
Denis Ledoux
bd0f05690c
[FIX] mail: do no pop reply_to if same thread or post in the document is false
...
Otherwiwse if same thread is checked and post not, the reply_to is forced to the user email to avoid the email to be regarded as private without having a parent mail (has the parent is not posted in the thread), which is not what is expected
bzr revid: dle@openerp.com-20140210092301-1bdyvdwgekwgo9rh
2014-02-10 10:23:01 +01:00
Martin Trigaux
54a1ffc480
[FIX] mail: priority -10 on message_follower_ids to make sure executed before other function field that may use the followers (eg: note.note for access rights)
...
bzr revid: mat@openerp.com-20140210083130-ag95lqwlpkv7ceqc
2014-02-10 09:31:30 +01:00
Launchpad Translations on behalf of openerp
8d85c23e4a
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140209065003-9soyulgvssk8n5ci
bzr revid: launchpad_translations_on_behalf_of_openerp-20140208071621-b018rnkhyxmmm5jk
bzr revid: launchpad_translations_on_behalf_of_openerp-20140209065224-kih7tx56elds0zok
bzr revid: launchpad_translations_on_behalf_of_openerp-20140210055324-raxopm5ej680oc73
2014-02-10 05:53:24 +00:00
Thibault Delavallée
c2b51ee58a
[FIX] mail: mail_followers.js: fixed the fix about is_follower, use the right variable
...
bzr revid: tde@openerp.com-20140207084946-mkh0ht44x5byhrdj
2014-02-07 09:49:46 +01:00
Olivier Dony
f7c1afffcb
[FIX] mail.thread: avoid tracking multiple temporary changes during copy
...
bzr revid: odo@openerp.com-20140206173251-1njroiu08fzgdbyp
2014-02-06 18:32:51 +01:00
Denis Ledoux
15c105d95f
[FIX] mail: re-apply security fix correctly from 9812 revid:mat@openerp.com-20140206121438-epghqo042ync24v5 of 7.0 branch
...
bzr revid: dle@openerp.com-20140206170829-918bxb88qh415w9e
2014-02-06 18:08:29 +01:00
Denis Ledoux
8e4279835b
[FIX]mail: fix indentation problem from previous forward port
...
bzr revid: dle@openerp.com-20140206165630-13w44y6iewdrsl02
2014-02-06 17:56:30 +01:00
Denis Ledoux
041f1db4a6
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9814 revid:dle@openerp.com-20140206163444-ckcmurcwk2vhi5vp
...
bzr revid: dle@openerp.com-20140206164522-fi05cb4mpg22rkv2
2014-02-06 17:45:22 +01:00
Martin Trigaux
5ebcb64c34
[IMP] mail: in case of creation, still check creation access rights for subscription
...
bzr revid: mat@openerp.com-20140206120109-6h2vz1ulu33t1509
2014-02-06 13:01:09 +01:00
Thibault Delavallée
4420bdf831
[FIX] mail: followers widget: is_follower was not computed if the current user
...
was not in the first 10 displayed followers of the document. Compute is_follower
based on all followers, not just the first 10.
bzr revid: tde@openerp.com-20140206112145-ibir7cj6wxe1ksgt
2014-02-06 12:21:45 +01:00
Martin Trigaux
922836d8cd
[IMP] mail: check at least access_rights in case of creation
...
bzr revid: mat@openerp.com-20140206110327-zar4yl03r1lympx6
2014-02-06 12:03:27 +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
7407f3c888
[FIX] mail: backport of saas-2 revision 9065 and 9081.
...
Make sure the user is subscribed before the super() call in mail_thread. This allows to have follower based record rules working (eg: note.note)
bzr revid: mat@openerp.com-20140206104714-anpehaik4wajnfrw
2014-02-06 11:47:14 +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