Commit Graph

84 Commits

Author SHA1 Message Date
Kuldeep Joshi (OpenERP) 3c50eb017a [IMP] set logging.getLogger(__name__)
bzr revid: kjo@tinyerp.com-20120622064854-5f6fss55k7305e8q
2012-06-22 12:18:54 +05:30
Fabien Pinckaers 5c791531aa [IMP] improved typos
bzr revid: fp@tinyerp.com-20120522161055-6013qr1s4p773hoj
2012-05-22 18:10:55 +02:00
Saurang Suthar (OpenERP) a2a05cfc19 [IMP]:improved titles State by Status everywhere
bzr revid: ssu@tinyerp.com-20120504115748-2vd1dns7bxptg384
2012-05-04 17:27:48 +05:30
Mayur Maheshwari (OpenERP) 9e59ce8812 [IMP]all: Improve all typos
bzr revid: mma@tinyerp.com-20120424060532-ohrf0sxwq8rpq6ls
2012-04-24 11:35:32 +05:30
Divyesh Makwana (Open ERP) 7c5f34601f [IMP] mail : Improved the typos.
bzr revid: mdi@tinyerp.com-20120423121828-soka46184z20v9zi
2012-04-23 17:48:28 +05:30
Thibault Delavallée 67613957e4 [MERGE] Merged OpenChatter part 1/2. OpenChatter, part 1/2.
This revision adds a social messaging system inside OpenERP, that will be used by addons to display notifications (such as status changes), user comments, and emails. All message types are managed in a unified system. Social aspects are also enforced, by an easy invite system based on share, and a subscription mechanism allowing to follow messages post on records users want to follow. res.logs are removed from OpenERP and replaced by OpenChatter.

This revision adds theaddons-side of OpenChatter part 1/22. Main addons are updated in order to use the new feature: notifications on state/stage change, management of subscriptions. It also includes addons-side update related to the need_action mechanism, by defining the states in which user_ids are sent to the need_action engine. Server- and web-sides of need_action have already been merged in previous revisions.

bzr revid: tde@openerp.com-20120406123732-6fl2uzxzqr864jc4
2012-04-06 14:37:32 +02:00
Thibault Delavallée 01a03e10ca [IMP] mail.message: added a child_ids relationship on message, linked to parent_id. It will allow to know the number of messages present in a thread, for a better user experience about more buttons.
bzr revid: tde@openerp.com-20120404112128-jzc9cogti4ip2glu
2012-04-04 13:21:28 +02:00
Thibault Delavallée 0f0213892e [WIP] mail.thread: issues about email. Will continue tomorrow.
bzr revid: tde@openerp.com-20120403173449-gm209j5n1pt7cojr
2012-04-03 19:34:49 +02:00
Thibault Delavallée d4ea29ddfb [MERGE] Merged with framework branch
bzr revid: tde@openerp.com-20120402163226-6iiqkk19njuwprhn
2012-04-02 18:32:26 +02:00
Thibault Delavallée 506fd1459b [IMP] Type back to mail.message instead of mail.common
bzr revid: tde@openerp.com-20120402162425-207jpzsz28nhrhou
2012-04-02 18:24:25 +02:00
Thibault Delavallée 5d3d9f4468 [CLEAN] mail.thread: cleaned mail.message, mail.thread
bzr revid: tde@openerp.com-20120402115002-q8u8vlu49jjs8e5g
2012-04-02 13:50:02 +02:00
Bhumi Thakkar (Open ERP) b655344971 [MERGE] merge trunk-social-tde branch.
bzr revid: bth@tinyerp.com-20120402110518-q9vjn5m7jujsejhx
2012-04-02 16:35:18 +05:30
Thibault Delavallée 6f3bec4d7f [MERGE] Merged with main addons, notably now holding the user_img branch
bzr revid: tde@openerp.com-20120330091231-tuh26f0z67rzm2u2
2012-03-30 11:12:31 +02:00
Thibault Delavallée f38c7212ca [MERGE] Merged with framework social branch
bzr revid: tde@openerp.com-20120329163949-2bkxm15nvjw4hv2u
2012-03-29 18:39:49 +02:00
Olivier Dony 11f4469e85 [MERGE] mail: make post-processing of sent messages extensible
bzr revid: odo@openerp.com-20120329104149-9xjt9gr2sj1fb9m0
2012-03-29 12:41:49 +02:00
Thibault Delavallée a26730f087 [IMP] mail_message: schedule_with_attach: added 'email' type
bzr revid: tde@openerp.com-20120328090253-r9134x6hyh3y6vp1
2012-03-28 11:02:53 +02:00
Purnendu Singh (OpenERP) f268241d7a [IMP] mail: split out the send method and define a new method for post-processing of sent messages
bzr revid: psi@tinyerp.com-20120327115800-mjcwrzz31sjytld0
2012-03-27 17:28:00 +05:30
Thibault Delavallée 8405345bcf [IMP] mail.message: added a body fied, that is a function field matching body_html for html subtyped messages, or body_text for other subtyped messages. Added a get/search function for this field. Modified mail.message wall search view accordingly.
bzr revid: tde@openerp.com-20120327081011-hn04o00tuqunnvcv
2012-03-27 10:10:11 +02:00
Thibault Delavallée dec8de9aed [IMP] Added a function field to the message, holdind the record name.
bzr revid: tde@openerp.com-20120327073053-hiabrfs80duu8j6i
2012-03-27 09:30:53 +02:00
Purnendu Singh (OpenERP) 2bdc0db607 [MERGE] merge with main addons
bzr revid: psi@tinyerp.com-20120322123300-timjpkj3ep7ev1ki
2012-03-22 18:03:00 +05:30
Thibault Delavallée 287be191fb [IMP] mail.message, mail.thread: cleaned code
bzr revid: tde@openerp.com-20120322120836-0fuffo5g2jjft3p2
2012-03-22 13:08:36 +01:00
Thibault Delavallée 56060f1a89 [MERGE] Merged with main addons
bzr revid: tde@openerp.com-20120321084749-79ek3luee0745me4
2012-03-21 09:47:49 +01:00
Olivier Dony 5615911303 [MERGE] Latest bugfixes from 6.1
bzr revid: odo@openerp.com-20120320182912-g2ylze2qsqv93y4i
2012-03-20 19:29:12 +01:00
Thibault Delavallée a97652608d [MERGE] Merged with main social branch
bzr revid: bth@tinyerp.com-20120319054839-fwev70kh9zdkodgt
bzr revid: tde@openerp.com-20120320104958-znzxqduxovp5wvpl
2012-03-20 11:49:58 +01:00
Thibault Delavallée 7262f0e325 [MERGE] Merged with main addons
bzr revid: tde@openerp.com-20120320083001-b9f4akuhnfv146hf
2012-03-20 09:30:01 +01:00
Raphael Collet b2b85029ee [FIX] backport of branch trunk-bug-937194-nco (mail: remove character 
 from message)
bzr revid: rco@openerp.com-20120320082059-w3zm7pyicbb79inh
2012-03-20 09:20:59 +01:00
Raphael Collet efa32c3ed1 [MERGE] lp:937194 (mail: remove character 
 from message)
bzr revid: rco@openerp.com-20120320081523-nz35q1lwfwmzbo3s
2012-03-20 09:15:23 +01:00
Olivier Dony ce2f1173a9 [FIX] mail.message: allow reading msg even if author belongs to another company
lp bug: https://launchpad.net/bugs/944813 fixed

bzr revid: odo@openerp.com-20120319145331-thrtlzardl8rikkf
2012-03-19 15:53:31 +01:00
Olivier Dony c5f01ad903 [FIX] mail.message: when auto-deleting a message, only delete attachments it owns
There's a peculiar way to manage attachments on
mail messages, as there is an explicit many2many
on top of regular attachments like for any
record, so it is possible to link a mail
to attachments that are owned by other records.
Such attachments must not be deleted along with
the message when the auto-delete flag is set.

bzr revid: odo@openerp.com-20120316133026-4wbrwx64nqkeyaou
2012-03-16 14:30:26 +01:00
Purnendu Singh (OpenERP) ce5483e4c4 [IMP] mail: add a feature to call _hook_message_sent method of the related module with will trigger the workflow and set state accordingly
bzr revid: psi@tinyerp.com-20120316065927-1m4ns7gpe5bwr4pk
2012-03-16 12:29:27 +05:30
Bhumi Thakkar (Open ERP) aff4a76a6e [MERGE] merge trunk-social-tde branch.
bzr revid: bth@tinyerp.com-20120314052341-0dgmhlq8pc6s4tnl
2012-03-14 10:53:41 +05:30
Thibault Delavallée 47214c9d2d [IMP] mail.message: cleaned code
bzr revid: tde@openerp.com-20120313135949-l4wmzcg1kpqidzgh
2012-03-13 14:59:49 +01:00
Bhumi Thakkar (Open ERP) 3bea195441 [MERGE] Merge trunk-social-tde branch.
bzr revid: bth@tinyerp.com-20120309131332-av9mno2sl4c7rdkx
bzr revid: bth@tinyerp.com-20120312052941-c5b7ygmptnin0mlt
2012-03-12 10:59:41 +05:30
Bhumi Thakkar (Open ERP) 5d2e6a8cf4 [MERGE] merge trunk-social-tde branch.
bzr revid: bth@tinyerp.com-20120309095643-05yd9k09c3hzrnyf
2012-03-09 15:26:43 +05:30
Thibault Delavallée fd27e7f87e [MERGE] Merged with branch holding the threaded version of OpenChatter. Main modifications: mail.message now have a parent_id field; message searching have a feature to retrieve parents and ancestors until some root ids; xml/js adapted to a threaded display; updated design
bzr revid: tde@openerp.com-20120309094916-n23t6v4v7o3d25xw
2012-03-09 10:49:16 +01:00
Olivier Dony 86a7978d2d [FIX] mail*: properly handle b64-encoding for attachments
When reading the datas property of an attachment,
a base64-encoded stream is expected.
The mail.message.schedule_with_attach() method OTOH
expects a binary file for attachments, so it should
be decoded if extracted from a binary field.

bzr revid: odo@openerp.com-20120308155650-blnwf7x2bkmsfue2
2012-03-08 16:56:50 +01:00
Thibault Delavallée 89eec3624c [MERGE] Merged with branch modifying the need_action_user_id mechanism. need_action is now a server-side mechanism. Addons only have to inherit from res.needaction to have the possibility to use this mechanism. Overwriting the get_action_user_id method is the way to define when a user_id is requested to perform an action.
bzr revid: tde@openerp.com-20120307092119-o56qgyd1h22gktvw
2012-03-07 10:21:19 +01:00
Thibault Delavallée 5b2b9fb1ab [ADD] Added a thread model in display. Seems working but needs refactoring in the next few days.
bzr revid: tde@openerp.com-20120302170749-gaxx90sxy7bi97b3
2012-03-02 18:07:49 +01:00
Thibault Delavallée 299c39f2ce [MERGE] Merged with main addons
bzr revid: tde@openerp.com-20120229105032-x5pvrejzq7okt2j2
2012-02-29 11:50:32 +01:00
Olivier Dony 318d99d029 [MERGE] Latest bugfixes from 6.1
bzr revid: odo@openerp.com-20120229094502-sp0xrg4yf5uvq5k9
2012-02-29 10:45:02 +01:00
Thibault Delavallée c2d045df3d [IMP] hr_holidays: updated to new need_action_user_id
bzr revid: tde@openerp.com-20120228171450-tweynl073wf34z9m
2012-02-28 18:14:50 +01:00
Bhumi Thakkar (Open ERP) 20fa96c724 [MERGE] merge trunk-social-tde branch.
bzr revid: bth@tinyerp.com-20120224103317-7m4sm3x364swds4h
2012-02-24 16:03:17 +05:30
Thibault Delavallée 31cf2a35a7 [MERGE] Merged with main addons
bzr revid: tde@openerp.com-20120224080318-5xo9nan72e3891ke
2012-02-24 09:03:18 +01:00
Thibault Delavallée 90b9ad4556 [IMP] Added the possibility to override the fetch_messages of a Thread by giving it the messages to display (used in the wall that fetches pushed messages). Also moved get_pushed_messages from mail.message to mail.thread to have a consistent API.
bzr revid: tde@openerp.com-20120223174936-3qnwj3t7z3ss0tr3
2012-02-23 18:49:36 +01:00
Bhumi Thakkar (Open ERP) 99a3eeed4c [IMP] replace *args with context=None in crm.py and crm_lead.py,craeate methods in crm.py and crm_lead.py file _case_open_notification,_case_close_notification,_case_cancel_notification,_case_pending_notification,_case_escalate_notification,remove message_ids field from crm_lead.py file and crm_lead_view.xml file,add type : 'email' in 'schedule_with_attach' method in mail_message.py file
bzr revid: bth@tinyerp.com-20120223104641-ej8bbbzgwt4v670h
2012-02-23 16:16:41 +05:30
Nimesh (Open ERP) e6131b194f [FIX] mail: remove the unused charector generated by the html2plaintext function from the message.
bzr revid: nco@tinyerp.com-20120223054022-9l9hxv3ssiajdf9p
2012-02-23 11:10:22 +05:30
Raphael Collet f266fa4c53 [MERGE] lp:931523 (fix error message when pushing on Documents)
bzr revid: rco@openerp.com-20120222153220-0ezmr1as14egzh18
2012-02-22 16:32:20 +01:00
Thibault Delavallée d9a3b4b290 [REF] Cleaned mail.message get_pushed_messages method
bzr revid: tde@openerp.com-20120222133501-it9li0lh8fwvuk4e
2012-02-22 14:35:01 +01:00
Thibault Delavallée b0a1a7e24a [FIX] added user_id when posting a tweet from the wall
bzr revid: tde@openerp.com-20120222101216-9xpo3c0gj1ickigl
2012-02-22 11:12:16 +01:00
Stephane Wirtel 9041add81d [FIX] mail: Use a default value if the signature and the subject are empty
bzr revid: stw@openerp.com-20120222095342-nifzjg0ilgd3ln0p
2012-02-22 10:53:42 +01:00