Commit Graph

1041 Commits

Author SHA1 Message Date
Thibault Delavallée caaccea679 [IMP] Chatter: From: Admin - To: Raoul -> Admin to Raoul.
bzr revid: tde@openerp.com-20130228163703-p25pf1opvy6a67y0
2013-02-28 17:37:03 +01:00
Thibault Delavallée 4d508adeba [IMP] Chatter: does not display 'to' when logging a note.
bzr revid: tde@openerp.com-20130226142908-a7lun9gr2nganl32
2013-02-26 15:29:08 +01:00
Thibault Delavallée 6116b1e263 [FIX] Chatter: auto_follow back on suggested recipients.
bzr revid: tde@openerp.com-20130226132302-p156h39p9d8syxxt
2013-02-26 14:23:02 +01:00
Thibault Delavallée 093f37e7d5 [FIX] Chatter: log a note: going into full composer does not trigger recipint check anymore.
bzr revid: tde@openerp.com-20130226130047-1mqy5z1z1osa423w
2013-02-26 14:00:47 +01:00
Thibault Delavallée d2e1ff39cc [IMP] Chatter: full wizard composer does not display recipients in 'log' mode.
bzr revid: tde@openerp.com-20130226125038-bgpmfrmt3v44i870
2013-02-26 13:50:38 +01:00
Thibault Delavallée e4baaa666e [CLEAN] Chatter: removed log.
bzr revid: tde@openerp.com-20130226113327-ig0n4ou44nh82pm9
2013-02-26 12:33:27 +01:00
Thibault Delavallée 4d7579b357 [IMP] Chatter: mailboxes do not have "Share a message or Log a note", but the good ol' textarea like chatter.
bzr revid: tde@openerp.com-20130226100155-x38ub426vdpxr7b5
2013-02-26 11:01:55 +01:00
Thibault Delavallée 86720d6c1e [IMP] Chatter: Post and Log a note dead; now choice is done before posting, 2 links before opening the compose box.
bzr revid: tde@openerp.com-20130222143953-u89kmui5314zh09g
2013-02-22 15:39:53 +01:00
Thibault Delavallée 17451742f8 [FIX] Chatter: 'write to my followers' now correctly send the event.
bzr revid: tde@openerp.com-20130222101316-nlpjfxfj14yrxxco
2013-02-22 11:13:16 +01:00
Thibault Delavallée e74761493a [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130222094946-ytrj5fma71ysvxqr
2013-02-22 10:49:46 +01:00
Thibault Delavallée 4c98128d11 [IMP] mail: remove auto_follow on user_id field. Replaced by partner suggestion on user_id, based on message_get_suggested_partners called in Chatter. Improved JS code, to handle various case (partner without email, email without partner, partner with email).
bzr revid: tde@openerp.com-20130221184243-pu2tgtlanh34onpr
2013-02-21 19:42:43 +01:00
Thibault Delavallée e6d1208baa [IMP] mail: removed message_post_user_api, now everyone goes through message_post.
bzr revid: tde@openerp.com-20130221132647-kxbzzyo1bbhb67c4
2013-02-21 14:26:47 +01:00
Olivier Dony aabbdee2dc [FIX] mail: avoid translating technical URL in qweb template
lp bug: https://launchpad.net/bugs/1099449 fixed

bzr revid: odo@openerp.com-20130221130922-cj93db4mx1f4cvjs
2013-02-21 14:09:22 +01:00
Thibault Delavallée c3b6408715 [IMP] Chatter: refactoring of 'include new emails/partners' in Chatter compose. It does not create partner everytime; discarding the creation popup discards the creation and addition as recipient.
bzr revid: tde@openerp.com-20130220124923-w3e9hxomniphadj7
2013-02-20 13:49:23 +01:00
Thibault Delavallée cb2e28f59f [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130218090101-ye6f1gslafpg52bc
bzr revid: tde@openerp.com-20130220102822-aik3ywiz8n043e7x
2013-02-20 11:28:22 +01:00
Christophe Matthieu 093f3a12f2 [FIX] mail_followers: display_subtypes
bzr revid: chm@openerp.com-20130215111926-tpnwii4a3of1gkb7
2013-02-15 12:19:26 +01:00
Thibault Delavallée 336f7cb9a5 [FIX] Chatter: fixed from/to that werebadly placed.
bzr revid: tde@openerp.com-20130214161950-gnmtyktm1p88ge8t
2013-02-14 17:19:50 +01:00
Christophe Matthieu d374ffba59 [IMP] mail_followers: When unfollowing: confirmation box
bzr revid: chm@openerp.com-20130214150949-hgdlxvd4g18734mu
2013-02-14 16:09:49 +01:00
Christophe Matthieu 58de3dfad7 [IMP] mail: background color lighter for log message
bzr revid: chm@openerp.com-20130214114755-esrkjiay6rcb00f3
2013-02-14 12:47:55 +01:00
Christophe Matthieu 6f1f3f8a03 [IMP] mail: add 'Log a note' button right after 'Send to followers' button
bzr revid: chm@openerp.com-20130214113702-ste98tekdcj4kt4w
2013-02-14 12:37:02 +01:00
Christophe Matthieu ca76cb8d32 [IMP] mail: 'Post' to 'Send to followers'
bzr revid: chm@openerp.com-20130214112036-qgekbxegb8a3ihjh
2013-02-14 12:20:36 +01:00
Christophe Matthieu f33db4543c [IMP] mail: 'Advanced wizard' in upper-right corner
bzr revid: chm@openerp.com-20130214111925-dnknlv4jdkpxx8se
2013-02-14 12:19:25 +01:00
Thibault Delavallée 4bcd2325dd [IMP] Chatter: File -> Attach a file.
bzr revid: tde@openerp.com-20130214093923-64459u87eda0yr47
2013-02-14 10:39:23 +01:00
Thibault Delavallée ecde0aa380 [IMP] Chatter: now displays the 'To' that is the notified people of a given message.
bzr revid: tde@openerp.com-20130214085506-5akyw06ho9vq1xd9
2013-02-14 09:55:06 +01:00
Christophe Matthieu de3dbb971d [FIX] mail: add name in the dictionnary of attachments_tree and check url in js
bzr revid: chm@openerp.com-20130208115238-g4ys0jrcqwamrl3p
2013-02-08 12:52:38 +01:00
Christophe Matthieu 3843ebd45b [FIX] mail: use session.web.str_to_datetime instead of Date.parse
bzr revid: chm@openerp.com-20130201093018-24yiklef5bni6ya1
2013-02-01 10:30:18 +01:00
Christophe Matthieu 622c4975ef [FIX] mail: parent must have on_message_destroy function for set parent_thread
bzr revid: chm@openerp.com-20130201090239-1ekt20v6tiir8vbt
2013-02-01 10:02:39 +01:00
Christophe Matthieu 4e1f2c81ea [FIX] mail: Date.parse with a split for allow date format with micro sec
bzr revid: chm@openerp.com-20130201084013-eia7803w15is8ywt
2013-02-01 09:40:13 +01:00
Christophe Matthieu 17718ce925 [FIX] mail: attachement filetype
bzr revid: chm@openerp.com-20130131145427-zie2pwzfgfqer5oo
2013-01-31 15:54:27 +01:00
Thibault Delavallée 843956a624 [IMP] mail: Chatter widget: timeago is not used anymore for old dates; it just displays the date for message older than 1 week. Also added a tip on the timeago which gives the correct date.
bzr revid: tde@openerp.com-20130130132951-w7h14j1fko5a6b73
2013-01-30 14:29:51 +01:00
Christophe Matthieu dbe1312355 [IMP] mail: display unread button on all documents chatter messages
bzr revid: chm@openerp.com-20130130121523-8ox71me2w0mlb46u
2013-01-30 13:15:23 +01:00
Christophe Matthieu 79c15f832c [FIX] mail: js change _date to date for display date of message. display complete date if more of 7 days
bzr revid: chm@openerp.com-20130129153528-cffz4dbbn6i80euw
2013-01-29 16:35:28 +01:00
Christophe Matthieu bb61f6fb7d [FIX] mail: js error to format author_id
bzr revid: chm@openerp.com-20130122081210-r90809pxjpyggv7p
2013-01-22 09:12:10 +01:00
Christophe Matthieu 48733540e1 [FIX] mail_followers: bug-1100691
bzr revid: chm@openerp.com-20130121085311-n1nwcmviykdp7u0o
2013-01-21 09:53:11 +01:00
Phil Frost 5ff3ae2034 kill the executable bit on things that are clearly not executables or scripts
bzr revid: pfrost@openerpdev-20130103231005-56pglti6uss0jsm5
2013-01-03 18:10:05 -05:00
Thibault Delavallée 4fd0d9cbf1 [IMP] Chatter: partner creation from emails: do it only when having a not empty list.
bzr revid: tde@openerp.com-20130115110914-elx08yxuam28ubio
2013-01-15 12:09:14 +01:00
Thibault Delavallée b9a182ff1a [FIX] OpenChatter: unknown emails becoming followers was not taken into account when using the mail.compose.message wizard.
When having emails not related to a partner in a discussion thread, checkboxes appear that allow to create a partner that will be added as follower to the related document, if any. This now works either in the quik reply box, or the full composer.

bzr revid: tde@openerp.com-20130108165010-hkhd45ube5s081i5
2013-01-08 17:50:10 +01:00
Thibault Delavallée f43e6599e5 [CLEAN] Renamed a method, deleted a now useless comment.
bzr revid: tde@openerp.com-20130108162539-0xtqg98v5por2b95
2013-01-08 17:25:39 +01:00
Christophe Matthieu c46be224e6 [IMP] mail_followers: hide hr when there are no subtype
bzr revid: chm@openerp.com-20130108162130-e390u7s1duf3yj3r
2013-01-08 17:21:30 +01:00
Thibault Delavallée cf4c6b442e [CLEAN] Some code cleaning.
bzr revid: tde@openerp.com-20130108161332-e1ekhtneh0mryhno
2013-01-08 17:13:32 +01:00
Christophe Matthieu 9c5fad41ba [MERGE] from 7.0-fix-message_post-partner_ids-tde
bzr revid: chm@openerp.com-20130108133754-o652a1gdfwe3obs2
2013-01-08 14:37:54 +01:00
Christophe Matthieu a34d7a8eda [IMP] mail: js partner_ids
bzr revid: chm@openerp.com-20130108132819-vb7lv8mt11n1r3bv
2013-01-08 14:28:19 +01:00
Christophe Matthieu fee9f63912 [IMP] mail: create new partner with email from
bzr revid: chm@openerp.com-20130108124310-le3hx95yn3jhfhaq
2013-01-08 13:43:10 +01:00
Christophe Matthieu ee08ed5a57 [FIX] mail: default_partner_ids
bzr revid: chm@openerp.com-20130104144833-1wf6fc00jl6vrmri
2013-01-04 15:48:33 +01:00
Christophe Matthieu e40b49a838 [IMP] mail: htmlEntities for the author email, select list of new partner by real email
bzr revid: chm@openerp.com-20130104111004-9l0hb6zu33o5b2v6
2013-01-04 12:10:04 +01:00
Christophe Matthieu 8758afd045 [IMP] mail: js: get_from back to get_emails_from
bzr revid: chm@openerp.com-20121231143533-lpo5f2eg20zkf2el
2012-12-31 15:35:33 +01:00
Christophe Matthieu 876e53dfcf [IMP] mail: add email_from like partner before opening wizard composer
bzr revid: chm@openerp.com-20121231142250-ykdxaqoqfvush1ah
2012-12-31 15:22:50 +01:00
Christophe Matthieu 50ceb88012 [MERGE] mail: convert compact textarea in div for id rendering
bzr revid: chm@openerp.com-20121227135948-81vcv8737ztsyc6n
2012-12-27 14:59:48 +01:00
Christophe Matthieu 31b11163fa [FIX] mail followers: count the number of subtype for display more of 1 subtype
bzr revid: chm@openerp.com-20121227103701-fhn5f25nbtqf2uea
2012-12-27 11:37:01 +01:00
Christophe Matthieu 359fc9aeed [FIX] mail followers: position of the remove follower button
bzr revid: chm@openerp.com-20121227090757-7zk1141vq6b0xk4a
2012-12-27 10:07:57 +01:00
Thibault Delavallée ff4abc7e38 [FIX] Chatter: extra_emails: fixed deferreds wrongly used, leading to duplicate partners created when checking emails in the chatter.
bzr revid: tde@openerp.com-20121224105413-p56vhgxh5bg0rhu0
2012-12-24 11:54:13 +01:00
Christophe Matthieu 09dd7f22a0 [MERGE] from trunk
bzr revid: chm@openerp.com-20121221170432-6t90xtnxx27bw2ux
2012-12-21 18:04:32 +01:00
Olivier Dony 49597f0e66 [MERGE] *: improved english wording, suggestions courtesy of OpenERP Community
bzr revid: odo@openerp.com-20121221164808-kdjrtcbgma4dr3on
2012-12-21 17:48:08 +01:00
Thibault Delavallée f6894591a3 [MERGE] mail: varioux fixes and improvements.
Mail:
- Chatter widget now checks email address in a given thread that are not linked to any partner; it proposes to create a partner that will be added as follower to the document for each found email address
- fixed reload of a posted message
- invite wizard now uses the many2many_tags_email widget, to avoid sending invitations to partners not having an email address defined
Misc :
- note: fixed padding of note leading to ugly display of notes

bzr revid: tde@openerp.com-20121221163459-wv0jiss4wplla1yl
2012-12-21 17:34:59 +01:00
Thibault Delavallée f9763f5d05 [IMP] mail.js, xml: misc cleaning. I hate JS.
bzr revid: tde@openerp.com-20121221153007-5o220hdqg9sbt3f3
2012-12-21 16:30:07 +01:00
Thibault Delavallée f922d9ea1f [IMP] mail: refactored a bit the code in message_post_user_api, as well as overrides in res_partner and res_users, to use kwargs. Updated mail.js to use kwargs. Updated mail.xml and css to tweak the display.
bzr revid: tde@openerp.com-20121221144014-otg03akq4c9grjmz
2012-12-21 15:40:14 +01:00
Christophe Matthieu 5ef06851b5 [MERGE] from trunk
bzr revid: chm@openerp.com-20121221134901-msdq5zr29946s757
2012-12-21 14:49:01 +01:00
Thibault Delavallée 839d61f97f [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121221133349-u2lpl29430abrkyw
2012-12-21 14:33:49 +01:00
Christophe Matthieu d650d3c6ba [MERGE] from trunk
bzr revid: chm@openerp.com-20121221124830-8d6hz0b2h3o9c4pd
2012-12-21 13:48:30 +01:00
Christophe Matthieu 8972f7b334 [IMP] mail: check if the new email recipient already exist or not, and fix _api
bzr revid: chm@openerp.com-20121221121144-o8pbya2rc7v471y0
2012-12-21 13:11:44 +01:00
Christophe Matthieu 2b8374f5ea [IMP] mail: css for recipient on compose message
bzr revid: chm@openerp.com-20121221112307-0hj05yw1nn3l3ux9
2012-12-21 12:23:07 +01:00
Christophe Matthieu f080e91168 [IMP] mail: add message 'Add this contact's email on recipient and follower'
bzr revid: chm@openerp.com-20121221111400-ngc62hepbgzqepy8
2012-12-21 12:14:00 +01:00
Christophe Matthieu 9fe900791d [IMP] follower: must have access write to invite follower
bzr revid: chm@openerp.com-20121221110003-h7h9cie4vcejif7z
2012-12-21 12:00:03 +01:00
Christophe Matthieu d36ef41a46 [IMP] mail follower: don't display invite button if the user don't have write access. Use many2many_tags_email widget on composer
bzr revid: chm@openerp.com-20121221102649-xyecgj5tqd3li3hw
2012-12-21 11:26:49 +01:00
Thibault Delavallée ae7af34ef3 [MERGE] [FIX] Chatter: when displaying a message title without subject, do not finish by a ':'.
bzr revid: tde@openerp.com-20130327110058-tea6p5y0he85pjjr
2013-03-27 12:00:58 +01:00
Christophe Matthieu 1f2518a64f [FIX] mail_followers: ellipsis for long name, esc name to display
bzr revid: chm@openerp.com-20130327103350-wdpigtwvtwm92ov1
2013-03-27 11:33:50 +01:00
Thibault Delavallée 6a8da249e6 [FIX] Chatter: when displaying a message title without subject, do not finish by a ':'.
bzr revid: tde@openerp.com-20130327094017-a77mdmkmo919yr08
2013-03-27 10:40:17 +01:00
Christophe Matthieu 9df82da7c0 [FIX] mail: remove console and empty return in js
bzr revid: chm@openerp.com-20121221101416-ljb3o4h3hxflz8sb
2012-12-21 11:14:16 +01:00
Christophe Matthieu e5c67bc1b9 [IMP] mail: open wizard(s) to create partner(s) before send message from email
bzr revid: chm@openerp.com-20121221101232-od1owyxhkhmorx5t
2012-12-21 11:12:32 +01:00
Thibault Delavallée f49f43958d [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121221100609-2x59amtxj4sjedcu
2012-12-21 11:06:09 +01:00
Christophe Matthieu bfa8c20431 [IMP] mail: display author in recipients
bzr revid: chm@openerp.com-20121221085458-nrofy50r8ruuszag
2012-12-21 09:54:58 +01:00
Christophe Matthieu e9d8ae79ca [IMP] mail: add a qweb tag for display author
bzr revid: chm@openerp.com-20121221081916-r1gkknu7estwg2kw
2012-12-21 09:19:16 +01:00
Thibault Delavallée e97dc0ffd4 [IMP] mail.js: improved display of destination partners of a message.
bzr revid: tde@openerp.com-20121220211103-5zjb6xclllgcyr8f
2012-12-20 22:11:03 +01:00
Thibault Delavallée de64985e8c [IMP] mail_message: set_message_read and set_message_starred now have an argument to control the automatic notification creation. Chatter now calls set_message_read on received messages (on documents), to set them as read. This is therefore done independently of the message_read, to avoid writing in a read-based method. Added a mutex on the call on set_message_read, because of a recurrent concurrent accesses issue.
bzr revid: tde@openerp.com-20121220205328-gws2j32dsitofu89
2012-12-20 21:53:28 +01:00
Christophe Matthieu 507eff8255 [IMP] mail: after convert email_from into partner, open a dialog box to complete partner informations
bzr revid: chm@openerp.com-20121220162754-v5wfxrp39nf0bkla
2012-12-20 17:27:54 +01:00
Christophe Matthieu d3e8a3ddea [IMP] mail: display author at recipients on compose message
bzr revid: chm@openerp.com-20121220155558-9pihqxo35koaitp6
2012-12-20 16:55:58 +01:00
Christophe Matthieu 4b930b2e4a [IMP] mail: author is not a link if is not a partner
bzr revid: chm@openerp.com-20121220154729-eqrruc3uz5xjj4s2
2012-12-20 16:47:29 +01:00
Christophe Matthieu 863c7f421d [IMP] mail: option to don't display email_from partners on the top composer
bzr revid: chm@openerp.com-20121220154604-f6zvrbrqxjawropq
2012-12-20 16:46:04 +01:00
Christophe Matthieu 7a1ba3a3d5 [IMP] mail follower: add button to show more followers
bzr revid: chm@openerp.com-20121220152906-tr3i2jy7uvqyw9vc
2012-12-20 16:29:06 +01:00
Christophe Matthieu 2efed7e8f8 [IMP] mail follower: remove the unfollow partners button if the user can't edit the view
bzr revid: chm@openerp.com-20121220150112-ysmpkqv0bbx5shrk
2012-12-20 16:01:12 +01:00
Thibault Delavallée a8540c5b7e [REF] [FIX] mail: refactored auto-set read when viewing chatter widget. Added some tests. Also fixed a bug about message order with anybody else than admin.
bzr revid: tde@openerp.com-20121220142852-6sjk03791x829ys3
2012-12-20 15:28:52 +01:00
Christophe Matthieu 79308644c9 [IMP] mail follower: allow to remove followers if the user have access to write on the document
bzr revid: chm@openerp.com-20121220140946-hqqkz62xyn0oq9g8
2012-12-20 15:09:46 +01:00
Christophe Matthieu 5b6c12b0d0 [IMP] mail follower: hide follower subtype if <= 1. unfollow if the user uncheck all subtype
bzr revid: chm@openerp.com-20121220132434-bte0y5mc21b5r0m5
2012-12-20 14:24:34 +01:00
Christophe Matthieu 40b1c95e1a [IMP]mail: display checkbox for allow to add email (from email_from value) for creating partner and send email to this new partners.
bzr revid: chm@openerp.com-20121220123122-qsqn8w97t1tre3cq
2012-12-20 13:31:22 +01:00
Thibault Delavallée c0414016b0 [REV] mail_followers.js: reverted to trunk version, because was not working.
bzr revid: tde@openerp.com-20121220121842-gcij0rq791ik41ja
2012-12-20 13:18:42 +01:00
Thibault Delavallée 2f8c05d4a5 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121219201730-dahlsv2010z2kxt9
2012-12-19 21:17:30 +01:00
Frédéric van der Essen f078db001b [FIX] for mail action icons in IE
bzr revid: fva@openerp.com-20121219131501-vqst77eys5f65864
2012-12-19 14:15:01 +01:00
Khushboo Bhatt (Open ERP) f81ff18515 [FIX]mail:string updated
bzr revid: kbh@tinyerp.com-20121219095500-iqwxgco0kdys68s6
2012-12-19 15:25:00 +05:30
Thibault Delavallée b95b32d644 [MERGE] Merged branch holding subtype work by APA.
bzr revid: tde@openerp.com-20121218131142-2jb6wac6y9q6dc7v
2012-12-18 14:11:42 +01:00
Foram Katharotiya (OpenERP) a972f0181d [MERGE] with trunk
bzr revid: fka@tinyerp.com-20121218045009-drt4gjkcnpl5hxxr
2012-12-18 10:20:09 +05:30
Christophe Matthieu 9150d95062 [IMP] mail: add the readonly option on the field for the different views
bzr revid: chm@openerp.com-20121217093501-mxji9wb00xyvq35e
2012-12-17 10:35:01 +01:00
Christophe Matthieu c3d4d20d86 [IMP] mail: set default readonly to false
bzr revid: chm@openerp.com-20121217092428-s5a5thu4f1fjvejc
2012-12-17 10:24:28 +01:00
Christophe Matthieu af10943f7b [IMP] mail: add an option 'readonly' for the client action and activate readonly mode (hide the action buttons)
bzr revid: chm@openerp.com-20121217084116-i2cjdsk56pzz0kjh
2012-12-17 09:41:16 +01:00
Foram Katharotiya (OpenERP) 6ebeb076c3 [MERGE] with trunk
bzr revid: fka@tinyerp.com-20121217051643-o8j4hz7w8thwbymi
2012-12-17 10:46:43 +05:30
Christophe Matthieu b958df1e32 [FIX] mail: ie don't see the button => change color of button and filter
bzr revid: chm@openerp.com-20121214121712-62hman6zfrsut1h4
2012-12-14 13:17:12 +01:00
Christophe Matthieu 2af082410d [FIX] mail: border 0 for avatar link and image for ie
bzr revid: chm@openerp.com-20121214110509-9u3ix594n772yogt
2012-12-14 12:05:09 +01:00
Christophe Matthieu 072e24b8eb [FIX]mail: allow to click on partner when the user compose an empty message
bzr revid: chm@openerp.com-20121214102943-qcsyyua30j0rqajz
2012-12-14 11:29:43 +01:00
Christophe Matthieu 2c5da821f3 [FIX] mail: border 0 for avatar link for ie
bzr revid: chm@openerp.com-20121214102335-1da2elwfbx6hg43q
2012-12-14 11:23:35 +01:00
Christophe Matthieu a8a73dbbab [FIX] mail: ie don't see the button => change color of button and filter
bzr revid: chm@openerp.com-20121214102112-an8yeid90l603j91
2012-12-14 11:21:12 +01:00
Christophe Matthieu 6e35fdb9f6 [FIX] mail: display of the placeholder
bzr revid: chm@openerp.com-20121214101428-7vnyjx2iyeel3wvv
2012-12-14 11:14:28 +01:00