Commit Graph
475 Commits
Author SHA1 Message Date
Thibault Delavallée db6471f7e0 [IMP] mail.group: propagated get_subscribers_ids removal, replaced by gert_subscribers with a get_ids=True
bzr revid: tde@openerp.com-20120511124119-p0hexhu2vcflzaxc
2012-05-11 14:41:19 +02:00
Thibault Delavallée 4d6412f851 [IMP] mail.thread: sending email for notifications: cleaned a bit the code
bzr revid: tde@openerp.com-20120511124006-zf95y0md8803o7bq
2012-05-11 14:40:06 +02:00
Thibault Delavallée a6fd78b0a0 [REM] mail.message: removed display_text field, that was used only in Communication History.
bzr revid: tde@openerp.com-20120511103742-xld31z7kic72wvib
2012-05-11 12:37:42 +02:00
Thibault Delavallée 5bb1568049 [IMP] mail.thread: updated email sending when pushing notifications (now in separate method, and a new message is created). Also updated get_subscribers API.
bzr revid: tde@openerp.com-20120511102334-050ko2hv8f54uc8b
2012-05-11 12:23:34 +02:00
Thibault Delavallée 2817d119b6 [FIX] Thread widget: expander now applied to the correct span containing the message, fixing the wall not displaying 'more / less' BTW.
bzr revid: tde@openerp.com-20120510151538-uq8vq67x3x7mdjps
2012-05-10 17:15:38 +02:00
Thibault Delavallée 959551022d [FIX] received messages now have 'received' status
bzr revid: tde@openerp.com-20120510151445-22hqlp82dlv11v7p
2012-05-10 17:14:45 +02:00
Thibault Delavallée 7c597fa28b [REM] Remove debug data in thread widget.
bzr revid: tde@openerp.com-20120510142640-dqdil3jrtjfrbvky
2012-05-10 16:26:40 +02:00
Thibault Delavallée b7fb55b5be [FIX] mail.message: when calling message_parsing to parse an email into en mail.message, the date is now converted from the email timezone to the server timezone. Also added context in method. Also renamed a fields var to msg_fields, to avoid conflicts with the fields module.
bzr revid: tde@openerp.com-20120510135447-if87oip7uodcn8ul
2012-05-10 15:54:47 +02:00
Thibault Delavallée 0c102754d4 [IMP] Thread widget: added options in expander used to truncate message content.
bzr revid: tde@openerp.com-20120510123156-0khgojmvvijp4gik
2012-05-10 14:31:56 +02:00
Thibault Delavallée d54b9df311 [IMP] Thread widget: added use of expander extension instead of the custom hardcoded stuff.
bzr revid: tde@openerp.com-20120510121749-m3oq3ko5omd08puc
2012-05-10 14:17:49 +02:00
Thibault Delavallée ada6b77b81 [ADD] js: added expander jquery extension. This extension provides a read more/read less feature, way better implemented than the hardcoded basic stuff used previously in mail.js. This extension is under MIT/GPL licence.
bzr revid: tde@openerp.com-20120510121725-fquwp3rkrsterdey
2012-05-10 14:17:25 +02:00
Thibault Delavallée 931302eca0 [IMP] Thread widget: cleaned links, added reply by e-mail links. Added in mail.compose.message wizard support for a 'message_id' in context have a document with reply behavior. Also cleaned a bit the mail;js code. Updated a detail in a default temporary data in hr_recruitment.
bzr revid: tde@openerp.com-20120510121058-a2emjtvm227603ou
2012-05-10 14:10:58 +02:00
Thibault Delavallée 82dcce2c1d [IMP] mail.message: form view: message_id and reference moved to advanced
bzr revid: tde@openerp.com-20120510073520-2fdbntv7jj1bsh3n
2012-05-10 09:35:20 +02:00
Thibault Delavallée c98f1ff577 [IMP] mail.compose.message form view: slighty cleaned form
bzr revid: tde@openerp.com-20120509151545-zsfu1ihfc83q5t55
2012-05-09 17:15:45 +02:00
Thibault Delavallée b16bc96411 [IMP] mail.message: added 'oldname' attribute to the content_subtype field that was subtype
bzr revid: tde@openerp.com-20120509092437-j2hzm31vso93v6up
2012-05-09 11:24:37 +02:00
Thibault Delavallée 8773d714d2 [IMP] Thread widget: line breaks are preserved when displaying widget (converted into <br />). <br /> html tag is now authorized, by the way, along with <b> and <em>.
bzr revid: tde@openerp.com-20120508145415-5t7mb20u5tk6bpsg
2012-05-08 16:54:15 +02:00
Thibault Delavallée 4510e8e996 [IMP] mail: access rights: added access rights for mail.subscription.hide
bzr revid: tde@openerp.com-20120508140750-5te2gpuad253o8fk
2012-05-08 16:07:50 +02:00
Thibault Delavallée d001c67f99 [IMP] mail.message: modified default access rights: now accessible, but will be restricted by rights of the related document (as for attachments)
bzr revid: tde@openerp.com-20120508135600-6u231f63f9h9toqf
2012-05-08 15:56:00 +02:00
Thibault Delavallée 7ce89441f2 [IMP] mail.js: moved a function, added subtype when posting a comment
bzr revid: tde@openerp.com-20120507141358-vau7b9wgillyixg7
2012-05-07 16:13:58 +02:00
Thibault Delavallée ec432cea40 [IMP] mail.thread: res.users model: removed comments only preference for emails when receiving notifications.
bzr revid: tde@openerp.com-20120503134916-y031ko6ne94le6n0
2012-05-03 15:49:16 +02:00
Thibault Delavallée eb1a665715 [IMP] mail module: res.users model: updated message_load override due to small changes in message prototype
bzr revid: tde@openerp.com-20120503134549-cv8qei59tps2xguq
2012-05-03 15:45:49 +02:00
Thibault Delavallée eb353da1da [IMP] mail.group: cleaned and added a demo data for all employees discussion group.
bzr revid: tde@openerp.com-20120503131212-ndqib39lcsb3cq2m
2012-05-03 15:12:12 +02:00
Thibault Delavallée e267063735 [REF] mail module: moved some data to a new data folder.
bzr revid: tde@openerp.com-20120503125746-7a4x62x7qmj6uduz
2012-05-03 14:57:46 +02:00
Thibault Delavallée 64d1f25f60 [IMP] mail.group: added a groups field to model, linking mail.group to res.groups. Uding the push_to_group flag, it allows to push message to certain groups. Updated view with a temp ugly form view.
bzr revid: tde@openerp.com-20120503125722-veegdrmmnowuwdtd
2012-05-03 14:57:22 +02:00
Thibault Delavallée 5479127fba [IMP] Thread widget: propagated change in mail.thread API.
bzr revid: tde@openerp.com-20120503093843-06bbrg90q1tjusrm
2012-05-03 11:38:43 +02:00
Thibault Delavallée 647ceac3ee [FIX] Fixed message count that was incorrect; now uses message_load with count attribute on the right id.
bzr revid: tde@openerp.com-20120503093818-uwv5b8qitwr72bt0
2012-05-03 11:38:18 +02:00
Thibault Delavallée 37cae78b4f [REF] mail.thread: cleaned message_load function prototype and behaviour. Added possibility to directly ask for a count or get_id instead of always a read result.
bzr revid: tde@openerp.com-20120503093725-iy08hh5c4ram3pz5
2012-05-03 11:37:25 +02:00
Thibault Delavallée 2fe3e0508d [IMP] mail.group: added overrider of message_load method, allowing to get messages of followed models in Chatter widget.
bzr revid: tde@openerp.com-20120503080925-bj3777jkdn5gebvp
2012-05-03 10:09:25 +02:00
Thibault Delavallée 5caa26fa26 [MERGE] Merged with main addons
bzr revid: tde@openerp.com-20120430082139-p0q9c33x63dnsul1
2012-04-30 10:21:39 +02:00
Raphael Collet ac94300f0f [IMP] base_*, email_template, fetchmail, mail, import_*: remove group_extended
bzr revid: rco@openerp.com-20120425144258-jpb9xey20h7fq4tx
2012-04-25 16:42:58 +02:00
Thibault Delavallée c4addb4d5a [ADD] Thread widget: added a 'reply by email' link. Open the mail.compose.message wizard. WIP: must add default values, such as email_to, ... Will be done asap.
bzr revid: tde@openerp.com-20120420155827-8of3e0i70getenpl
2012-04-20 17:58:27 +02:00
Thibault Delavallée 66b67b79b4 [IMP] mail.message: subtype field is now a char, not a selection anymore.
bzr revid: tde@openerp.com-20120420132049-t10va307h52r3u22
2012-04-20 15:20:49 +02:00
Thibault Delavallée 9ebcec17cb [IMP] mail.thread: added support of hidden subscriptions when pushing notifications to users.
bzr revid: tde@openerp.com-20120420131944-42bsm88x7q84l62i
2012-04-20 15:19:44 +02:00
Thibault Delavallée afc63c5a3e [REF] subscribers inheritance: now override message_get_subscribers_ids, so the read is done in another method, or allow to reuse the user_ids in other methods. It allows to cleany separate having the ids from reading them.
bzr revid: tde@openerp.com-20120420124200-3ictqpdjw1jtdkeo
2012-04-20 14:42:00 +02:00
Thibault Delavallée c4e6874e23 [IMP] mail.thread: added the hiding method. However, this won t work with automatic subscriptions. Will need to be managed. Updating mail.js to be able to hide subtypes.
bzr revid: tde@openerp.com-20120420120948-er9xsc575fjf04mc
2012-04-20 14:09:48 +02:00
Thibault Delavallée cf00272efe [IMP] Propagated content_subtype / subtype change. Also updated comments in code and slighty cleaned it.
bzr revid: tde@openerp.com-20120420103850-au5t7kocmlf6i1tt
2012-04-20 12:38:50 +02:00
Thibault Delavallée b87449840e [DOC] Small update.
bzr revid: tde@openerp.com-20120420100751-55lnmbrygn1cln8v
2012-04-20 12:07:51 +02:00
Thibault Delavallée 4e5b58ce27 [DOC] Small mail doc update.
bzr revid: tde@openerp.com-20120420095301-v2k16q9nvmq2myqp
2012-04-20 11:53:01 +02:00
Thibault Delavallée 318ef517ab [REF] mail.message.common model: renamed subtype to content_subtype. Purpose: make a distinction between content and message model. Type and subtype will be used to distinguish messages, content_subtype to distinguish the content itself.
bzr revid: tde@openerp.com-20120420093645-tt78zzrmq2nxomvb
2012-04-20 11:36:45 +02:00
Thibault Delavallée 7a4ca1338c [ADD] Chatter widget: added links to hide a thread or a subtype. Only links, not functional currently, because logic is not implemented.
bzr revid: tde@openerp.com-20120420084241-02l4tfifzxjd88go
2012-04-20 10:42:41 +02:00
Thibault Delavallée caba5db34b [ADD] mail.message: added a message_subtype field, that will contain more precise data about the type of content. Example: create, cancel, ... Purpose: being able to filter (hide) a given content type.
bzr revid: tde@openerp.com-20120419162050-6uq495s94i4etnbp
2012-04-19 18:20:50 +02:00
Thibault Delavallée ae0dbd2145 [ADD] mail.group: added a 'models' field, to link groups to models. Purpose: group will be able to aggregate messages, and users following the group will receive notifications. Example: being able to follow all leads.
bzr revid: tde@openerp.com-20120419155339-etlzmi5jo5d8iwgf
2012-04-19 17:53:39 +02:00
Thibault Delavallée 491e8ad9f6 [ADD] mail.subscription.hide: added views and menu entry.
bzr revid: tde@openerp.com-20120419153825-xodlfiotdgdmco30
2012-04-19 17:38:25 +02:00
Thibault Delavallée 4a9e3512c5 [ADD] mail: added mail.subscription.hide model. This will holds the hiden notification subtypes.
bzr revid: tde@openerp.com-20120419152644-u3t5y18s0w7r5ton
2012-04-19 17:26:44 +02:00
Thibault Delavallée 8ef72c59e6 [FIX] Dates on message are now displayed according to the user timezone.
bzr revid: tde@openerp.com-20120419085838-awmxdqjbsb8qyi38
2012-04-19 10:58:38 +02:00
Thibault Delavallée 48a29b04eb [FIX] Made mail_group_data noupdate.
bzr revid: tde@openerp.com-20120418113455-kgbespexp5q2re7y
2012-04-18 13:34:55 +02:00
Thibault Delavallée 68185632ba [FIX] mail: fixed error with icon and icon_web_hover. also resized icons.
bzr revid: tde@openerp.com-20120417110043-zrywu5ag4fat6onz
2012-04-17 13:00:43 +02:00
Thibault Delavallée 56db3a2060 [DOC] mail.thread documentation: added 'how to use OpenChatter in your addon'.
bzr revid: tde@openerp.com-20120416123703-6ip733mk119vsczr
2012-04-16 14:37:03 +02:00
Thibault Delavallée 3667e49a68 [MERGE] Merged with main addons.
bzr revid: tde@openerp.com-20120416122754-jdhcothtu0z8x32k
2012-04-16 14:27:54 +02:00
niv-openerp d390418cf4 [fix] small changes in mail.js to ensure compatibility
bzr revid: nicolas.vanhoren@openerp.com-20120416102954-8tk02mc7vi7zvc89
2012-04-16 12:29:54 +02:00