Commit Graph
204 Commits
Author SHA1 Message Date
Thibault Delavallée bfea9dad64 [REF] mail: refactored tracked feature. It is now based on a dict defined at model level, giving which subtypes are triggere when modifying some given fields. Cleaned code.
bzr revid: tde@openerp.com-20121218122558-mnrtlwouwai65gq6
2012-12-18 13:25:58 +01:00
Thibault Delavallée 2dbe4a696e [MERGE] Sync wirth trunk.
bzr revid: tde@openerp.com-20121218093241-y0id5g1r1k6yok42
2012-12-18 10:32:41 +01:00
Cecile Tonglet 15fe515601 [MERGE] From trunk
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-17 15:43:06 +01:00
Sanjay Gohel (Open ERP) de45fd4fc1 [MERGE]with trunk
bzr revid: sgo@tinyerp.com-20121217050659-q5w6zwefizgjv4fd
2012-12-17 10:36:59 +05:30
Thibault Delavallée f1ee7f1ad9 [IMP] mail_message: added the right to reply to a message wes received even if we cannot see the related document.
bzr revid: tde@openerp.com-20121212160634-umbiq2erwijm2d20
2012-12-12 17:06:34 +01:00
Thibault Delavallée 090123436b [IMP] mail: updated lambda user, now having less permissive access rights on mail_mail.
bzr revid: tde@openerp.com-20121212114905-5kgnoix0puxo30ns
2012-12-12 12:49:05 +01:00
Thibault Delavallée 0be4d969af [IMP] mail: updated and improved tests.
bzr revid: tde@openerp.com-20121212104220-d6l7wjghv9oo9dy1
2012-12-12 11:42:20 +01:00
Thibault Delavallée b541e7ce64 [MERGE] Sync with trunk. Cleaned a bit things lastly added in trunk/mail/tests.
bzr revid: tde@openerp.com-20121211161458-d7wv4lnkvs9s7srj
2012-12-11 17:14:58 +01:00
Christophe Matthieu c70f05cc77 [MERGE] catch and display error when there are an error in an attachment upload. Add mail/download_attachment controllers
bzr revid: chm@openerp.com-20121211152219-2hlw1npfq2jfzx88
2012-12-11 16:22:19 +01:00
Thibault Delavallée 3a1e0059a2 [MERGE] Merged branch holding fix of access rights when deleting a document, and the removal of inherits between mail.group and ir.ui.menu.
bzr revid: tde@openerp.com-20121211145536-a02i45isg30l9940
2012-12-11 15:55:36 +01:00
Thibault Delavallée db32d98b7a [REF] [TESTS] mail, portal: refactored a bit the various mail and invite tests: moved some tests into dedicated files, added some new tests, removed duplicates.
bzr revid: tde@openerp.com-20121211144650-kpy7noe082e3xvoo
2012-12-11 15:46:50 +01:00
Thibault Delavallée 3005251333 [IMP] mail: add test for messages notification and for parented messages notification - CHM revision back to repair the merge.
bzr revid: tde@openerp.com-20121211092405-gir4r95oph2rwv11
2012-12-11 10:24:05 +01:00
Sanjay Gohel (Open ERP) 26fd182e32 [MERGE]merge with trunk
bzr revid: sgo@tinyerp.com-20121211063215-44s68mudkztyy56b
2012-12-11 12:02:15 +05:30
Christophe Matthieu 295c36e66c [IMP]mail: add test for access rights for download attachments
bzr revid: chm@openerp.com-20121210140529-w7fihmb0k1prw40a
2012-12-10 15:05:29 +01:00
Christophe Matthieu 782cd23937 [IMP]mail: add test for download attachments
bzr revid: chm@openerp.com-20121210134932-wtu43jtpor386zab
2012-12-10 14:49:32 +01:00
Sanjay Gohel (Open ERP) 2386d334a3 [IMP]add test cases for tracking field
bzr revid: sgo@tinyerp.com-20121210125348-edca0z6jiudfgigc
2012-12-10 18:23:48 +05:30
Christophe Matthieu b0d96bf4e7 [IMP]mail: suppress compare value for testing of access rights
bzr revid: chm@openerp.com-20121207094356-d34o92weyivzfpde
2012-12-07 10:43:56 +01:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Christophe Matthieu 217d83f710 [IMP] mail: unlink test access rights
bzr revid: chm@openerp.com-20121206125615-sdswn1fphlt4yarm
2012-12-06 13:56:15 +01:00
Christophe Matthieu 6efcefb69b [IMP] mail: access rules and tests
bzr revid: chm@openerp.com-20121206123409-7ek0psade5ri3jbc
2012-12-06 13:34:09 +01:00
Christophe Matthieu 010def466f [IMP] mail: create test for access rules. fix the create group: add user in follower and remove admin
bzr revid: chm@openerp.com-20121206102714-tm0w6bn234a2j4fn
2012-12-06 11:27:14 +01:00
Thibault Delavallée a123d95dca [IMP] mail_message: star feature is now on mail.notification. A starred message has a notification with starred=True. favorite_user_ids many2many field disappear. _search_to_read and _search_starred replaced by returning a domain on the notifications. Using auto_join, this should speedup chatter a lot. Updated tests accordingly (should be updated a bit more than that, though). Updated JS. Updated mailboxes domains, as to_read and starred already contain a reference to the pid.
bzr revid: tde@openerp.com-20121129113025-rizon3eaf14vrla2
2012-11-29 12:30:25 +01:00
Olivier Dony b770240247 [MERGE] Sync with trunk
bzr revid: odo@openerp.com-20121120113600-4oyx9sziigbxn8w8
bzr revid: odo@openerp.com-20121120163429-l4cf6r75vwqfvxty
2012-11-20 17:34:29 +01:00
Olivier Dony 01df612cd9 [FIX] mail.compose.wizard: attachments should be m2m, body_text and content_subtype obsolete and removed
bzr revid: odo@openerp.com-20121116170503-mvsaa0pv5py2b7ri
2012-11-16 18:05:03 +01:00
Christophe Matthieu 8ccbab8254 [MERGE] from trunk-mail-uploader-chm
bzr revid: chm@openerp.com-20121116151115-1u69yio8kb1h8fjd
2012-11-16 16:11:15 +01:00
Christophe Matthieu ae25dc380f [IMP] mail: remove test for attachment with one2many
bzr revid: chm@openerp.com-20121116150850-zpaeci0wbx725pix
2012-11-16 16:08:50 +01:00
Vo Minh Thu 01b9f4c3ed [MERGE] removed a few warnings.
bzr revid: vmt@openerp.com-20121116141517-1dwjs27cwk2nq9t4
2012-11-16 15:15:17 +01:00
Christophe Matthieu 81db3f3997 [IMP] mail: commented test for res_model on attachment because one2many became many2many
bzr revid: chm@openerp.com-20121116130834-hsu7wunja092ayt9
2012-11-16 14:08:34 +01:00
Olivier Dony e5921325bd [REM] mail.compose.wizard: remove unused body_text and content_subtype fields
These fields were used in pre-7.0 to manage the plaintext variant of the 
mail being composed, but as of 7.0 the composition wizard will always
use the HTML/Rich text mode, so they can be dropped.

bzr revid: odo@openerp.com-20121115135634-fcy6mexnctwg0nxb
2012-11-15 14:56:34 +01:00
Vo Minh Thu d1f49ab27a [IMP] removing some warnings (those one are generated by tests).
bzr revid: vmt@openerp.com-20121115115916-6i2ljxn7s9qz4rlv
2012-11-15 12:59:16 +01:00
Thibault Delavallée 71c2be227c [IMP] mail: updated tests to fit the new composer behavior.
bzr revid: tde@openerp.com-20121115095329-whh6z7ckto87yven
2012-11-15 10:53:29 +01:00
Thibault Delavallée fbccb823f8 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121112161523-yfp1dczcnmi85t8e
bzr revid: tde@openerp.com-20121114083900-qw40e8ii1rfl7gt1
2012-11-14 09:39:00 +01:00
Thibault Delavallée 4481b53897 [CLEAN] mail: tests: removed a forgotten print statement.
bzr revid: tde@openerp.com-20121109151122-4ch2w1ia9hr6hqr6
2012-11-09 16:11:22 +01:00
Christophe Matthieu 590c4cf4ed [FIX] mail: the test contain a get id for the expandable messages. The expandable messages don't have id. Message_read sort the message, we don't need id for expandables
bzr revid: chm@openerp.com-20121108140316-ffei9whh0k1r1uxt
2012-11-08 15:03:16 +01:00
Christophe Matthieu c01cc688ce [MERGE] from trunk
bzr revid: chm@openerp.com-20121108111032-m1j10n2pjacr2u8w
2012-11-08 12:10:32 +01:00
Thibault Delavallée 3027b749ba [IMP] mail: signature in send notifications is now plaintext (as before), but htmlized (not inside a pre, but inside div and p, with entities escaped). Updated mail tests. Same for portal URL. Updated portal tests.
bzr revid: tde@openerp.com-20121107170241-0gjwraxkuhe0fm6p
2012-11-07 18:02:41 +01:00
Thibault Delavallée 6d0b416980 [MERGE] Sunc with addons/trunk.
bzr revid: tde@openerp.com-20121107083851-ksm6i1yktcgd38jo
2012-11-07 09:38:51 +01:00
Vo Minh Thu abbe3ac1de [MERGE] removed a few warnings.
bzr revid: vmt@openerp.com-20121106150431-rem9us13kevan8y0
2012-11-06 16:04:31 +01:00
Thibault Delavallée 92c20ba1d3 [FIX] mail: fixed some wrong name due to file renaming.
bzr revid: tde@openerp.com-20121106124042-r7tak3o340w9gzol
2012-11-06 13:40:42 +01:00
Thibault Delavallée 92c97ecd90 [REF] mail: tests: moved test class with mockup in a dedicated file, to clean the directoy structure.
bzr revid: tde@openerp.com-20121106121531-0bmki7skb8b1xc8y
2012-11-06 13:15:31 +01:00
Thibault Delavallée 6ecbae4280 [MERGE] Sync with addons/trunk.
bzr revid: tde@openerp.com-20121105091342-8d1qutx723tv65dx
2012-11-05 10:13:42 +01:00
Thibault Delavallée 0573d1fb40 [FIX] mail: fixed tests, with comment that became Discussions.
bzr revid: tde@openerp.com-20121102154548-5ayn6ns89xz54o70
2012-11-02 16:45:48 +01:00
Thibault Delavallée 455a076050 [FIX] mail: fixed an order issue with expandables.
bzr revid: tde@openerp.com-20121102102248-juqo5b21wmn6ywl8
2012-11-02 11:22:48 +01:00
Thibault Delavallée da31d41d85 [REF] mail: refactored message_read. It nows re-uses browse record instead of a read, to lessen the number of queries. Some optimizations have been added about queries. message_read now also sorts the messages, not the JS anymore.
bzr revid: tde@openerp.com-20121031154026-vx7s1ucag4kgb7nn
2012-10-31 16:40:26 +01:00
Thibault Delavallée cbf55bc07d [IMP] [FIX] mail: replying with the wizard does not quote the original message anymore. Updated tests.
bzr revid: tde@openerp.com-20121029100910-c0y6tl1zg2qsqfv5
2012-10-29 11:09:10 +01:00
Thibault Delavallée 9014be7ca4 [CLEAN] mail: cleaned code before merging, removed debug and print statements.
bzr revid: tde@openerp.com-20121026123604-l4j4e1ta26hw6fur
2012-10-26 14:36:04 +02:00
Thibault Delavallée dd5961816c [REV] Reverted use of quote_context in mail formation. Methods are still there, but will be improved in a future branch.
bzr revid: tde@openerp.com-20121026114114-4uar0usx7jzhl6rv
2012-10-26 13:41:14 +02:00
Thibault Delavallée daeccb5ab2 [IMP] mail: added a quote context to email notifications. This is a first basic implementation with a dummy template that will have to be improved. Updated tests. TOFIX: some of the tests will have to be cleaned a bit.
bzr revid: tde@openerp.com-20121026113336-s18129kmn2df4lhs
2012-10-26 13:33:36 +02:00
Thibault Delavallée 3e36e6c88f [FIX] mail: fixed ancestor search in message_post.
bzr revid: tde@openerp.com-20121025154215-ue4tpe3cua7491no
2012-10-25 17:42:15 +02:00
Thibault Delavallée 82398c12c8 [FIX] mail: mail_message from field renamed to email_from, because of reserved word. Various fixes.
bzr revid: tde@openerp.com-20121025135020-83h1cybp6um53uq5
2012-10-25 15:50:20 +02:00