Commit Graph
139 Commits
Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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 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 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
Thibault Delavallée 0912faef4c [DOC] Small doc update.
bzr revid: tde@openerp.com-20120416081805-wz85d6sxd90n472b
2012-04-16 10:18:05 +02:00
Thibault Delavallée c83f54289d [FIX] share: invite button added to mail.thread has the same style as '(un)follow' button.
bzr revid: tde@openerp.com-20120413150122-zdkzu9cmzpq8xors
2012-04-13 17:01:22 +02:00
Thibault Delavallée 9dc1810e64 [IMP] mail.thread: cleaned css class name; cleaned a small bug in message display.
bzr revid: tde@openerp.com-20120413122530-kst3ho792hymr4p6
2012-04-13 14:25:30 +02:00
Thibault Delavallée 8184c0da0b [FIX] Wall: fixed post button exceeding its parent container due to unknown oe_clear class in trunk. Added :after to clear the view.
bzr revid: tde@openerp.com-20120413120010-3s6mvkql0wy8kn9n
2012-04-13 14:00:10 +02:00
Thibault Delavallée 77ded11094 [CLEAN] Thrad widget: cleaned CSS file.
bzr revid: tde@openerp.com-20120413114126-4rls0wlbpe71m8ao
2012-04-13 13:41:26 +02:00
Thibault Delavallée 86fe9e48b8 [IMP] mail.thread: improvement taken from trunk-form-v2-fme. mail.group: added demo data. thread widget: updated css and html structure. mail security: now for every users, not only employees. This will need to be reviewed in details.
bzr revid: tde@openerp.com-20120413100327-2uimy9c1crnfzm6u
2012-04-13 12:03:27 +02:00
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 a7509ec685 [CLEAN] mail.thread: cleaned some console.log that were trying to survive.
bzr revid: tde@openerp.com-20120406113502-ylalopwbppic6mhh
2012-04-06 13:35:02 +02:00
Thibault Delavallée 3fa154178f [FIX] Fixed email not displaying their bodies in feeds.
bzr revid: tde@openerp.com-20120406113350-u3uahnk4kj26ca0d
2012-04-06 13:33:50 +02:00
Thibault Delavallée c21453db8d [IMP] Wall: when posting a comment, textarea value is reset.
bzr revid: tde@openerp.com-20120406103545-jjr6aebpivi9bmzf
2012-04-06 12:35:45 +02:00
Thibault Delavallée d177d00fb2 [FIX] and IMP also. Fixed a bug in regexp about finding logins beginning with @ (was not taking into account @ inside logins). Also added a :al and :pinky tags in messages, replaced by nice short images.
bzr revid: tde@openerp.com-20120406102759-q47zqi3rndponiyh
2012-04-06 12:27:59 +02:00
Thibault Delavallée 73e9efa863 [IMP] thread widget: improved layout (notification/email background color)
bzr revid: tde@openerp.com-20120405214241-rm72q22x1m0oq3z0
2012-04-05 23:42:41 +02:00
Thibault Delavallée 0a1dec51fa [IMP] Thread widget: default value changed
bzr revid: tde@openerp.com-20120405131102-xgkev8ie1j5v6g41
2012-04-05 15:11:02 +02:00
Thibault Delavallée 6ceffa24de [FIX] Thread widget: wrong threaded display
bzr revid: tde@openerp.com-20120405130949-ray031ihzvbxtiz3
2012-04-05 15:09:49 +02:00
Thibault Delavallée df855499b2 [FIX] Thread widget: cleaned function calls (using this.proxy) to avoid asynchronous problems
bzr revid: tde@openerp.com-20120405113419-eov3xxq2a3vm0gpa
2012-04-05 13:34:19 +02:00
Thibault Delavallée fa546497fd [IMP] Thread widget: code cleaning.
bzr revid: tde@openerp.com-20120405102917-odcmelku5vedat3r
2012-04-05 12:29:17 +02:00
Thibault Delavallée 10a5d67540 [IMP] thread widget: set a function out of wall widget, now tool function.
bzr revid: tde@openerp.com-20120405094842-uf99yfaxdcl0v0oe
2012-04-05 11:48:42 +02:00
Thibault Delavallée a3435487cf [FIX] wall widget: fixed variable not refreshed
bzr revid: tde@openerp.com-20120405072712-048lpk3is1huw7yt
2012-04-05 09:27:12 +02:00
Thibault Delavallée a967386ec4 [IMP] mail.thread: various tweaks
bzr revid: tde@openerp.com-20120404160056-nco5jipn2lfmvzcn
2012-04-04 18:00:56 +02:00
Thibault Delavallée 63aa506206 [IMP] Thread widget: updated 'lod more' behavior, now based on child_ids field of mail.message. It allows to have a cleaner wall, knowing when to display the 'more' button.
bzr revid: tde@openerp.com-20120404120053-fwiw25q9d0zfqzj4
2012-04-04 14:00:53 +02:00
Thibault Delavallée 8ecf415ee2 [IMP] all widget: cleaned wall behavior and record sort method
bzr revid: tde@openerp.com-20120404112037-h3rwv6gwyocb0f3n
2012-04-04 13:20:37 +02:00
Thibault Delavallée 31a4b68d38 [FIX] thread widget: fixes email display
bzr revid: tde@openerp.com-20120403203552-24qlp8nxrok6voji
2012-04-03 22:35:52 +02:00
Thibault Delavallée a85efef0b6 [FIX] thread widget: fixed a bug with array union instead of concatenation, leading to a wrong domain given to fetch method.
bzr revid: tde@openerp.com-20120403133859-scc2ctgut3ygsc9y
2012-04-03 15:38:59 +02:00
Thibault Delavallée 89c6ac0ea7 [IMP] mail.thread: removed test method, updated widget.
bzr revid: tde@openerp.com-20120403130831-f0stpw6zr1y7rguf
2012-04-03 15:08:31 +02:00
Thibault Delavallée 995b99698d [TMP] Added temp message_add_note method, that will replace message_append_note to eliminate redundancy in subjects through the addons.
bzr revid: tde@openerp.com-20120402134436-a6kgx7xvg2i0g8f1
2012-04-02 15:44:36 +02:00
Thibault Delavallée a2e5f0b6c1 [FIX] Wall: fixed error dur to small change in mail.thread API
bzr revid: tde@openerp.com-20120402130031-j8oep0eoaw1lnd1t
2012-04-02 15:00:31 +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
Thibault Delavallée c436d85a99 [TMP] Temporary work for a refactoring of message displaying to optimize a bit. Currently without incidence on the widget.
bzr revid: tde@openerp.com-20120330160250-1qpb14mp7nwrzy0j
2012-03-30 18:02:50 +02:00
Thibault Delavallée 43e49d754f [REF] Wall widget: refactored and cleaned code. Better management of domains. Removed 'You have loaded all discussion'.
bzr revid: tde@openerp.com-20120330151147-d09fl1ps97vex8cz
2012-03-30 17:11:47 +02:00
Thibault Delavallée 3844e193e4 [IMP] thread widget: added a confirmation when deleting/hiding
bzr revid: tde@openerp.com-20120329091808-biat0qkpy889mx82
2012-03-29 11:18:08 +02:00
Thibault Delavallée dabbaf3fd1 [IMP] mail.thread: moved code that user_ids for notifications in a separated function; adding the check of notifications pushed to parent to have child messages pushed to @login users that do not necessarily follow the discussion; some fixes in mail.js
bzr revid: tde@openerp.com-20120329085306-7nx6co992vnlvyvv
2012-03-29 10:53:06 +02:00
Thibault Delavallée d62fb2bf47 [IMP] mail.group: kanban view improved; photo management and code udpated; now has a default photo
bzr revid: tde@openerp.com-20120329073209-doh665jwak2e12hk
2012-03-29 09:32:09 +02:00
Thibault Delavallée fd784085da [FIX] FIxed bug when unsubscribing; state was not cleanly refreshed.
bzr revid: tde@openerp.com-20120328120126-c504uue3l2v3olra
2012-03-28 14:01:26 +02:00