Commit Graph

466 Commits

Author SHA1 Message Date
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 1a83aad25c [FIX] Propagated change from needaction mechanism (from base to ir)
bzr revid: tde@openerp.com-20120330134322-ittm7qtsz4loe3ab
2012-03-30 15:43:22 +02:00
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
Thibault Delavallée 4422451777 [IMP] mail.thread: updated security rules
bzr revid: tde@openerp.com-20120329163454-pbk5ivhgzyamd3jw
2012-03-29 18:34:54 +02:00
Thibault Delavallée 90c1ff994f [IMP] First security check.
bzr revid: tde@openerp.com-20120329161049-9a7nqm3ij2zsjy3f
2012-03-29 18:10:49 +02:00
Thibault Delavallée 0b9a446bfa [IMP] Added description on mail.subscription and mail.notification
bzr revid: tde@openerp.com-20120329161032-44zmsa4sxxzdxcqk
2012-03-29 18:10:32 +02:00
Thibault Delavallée 9d40e6fa32 [IMP] Updated group model and views: now has member_ids, is_member and member_nbr functional fields linked to one get function; necessary to use record rules later.
bzr revid: tde@openerp.com-20120329161000-084vqwoh05cxbvnb
2012-03-29 18:10:00 +02:00
Sbh (Openerp) cd66e2402f [MERGE] Merge with lp:openobject-addons
bzr revid: sbh@tinyerp.com-20120329130046-6s804a2aic6d4euc
2012-03-29 18:30:46 +05:30
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 445a8bfe51 [IMP] res.users in mail: added a welcome message when creating a new user. A broadcasting mechanism will be necessaryu though.
bzr revid: tde@openerp.com-20120329101113-5qg2hqbdawln56yh
2012-03-29 12:11:13 +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 0080c3cda2 [FIX] Added modification in __openerp__.py to take image into account
bzr revid: tde@openerp.com-20120329073301-pm0oj4p345g689c3
2012-03-29 09:33:01 +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
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
Thibault Delavallée b294d72973 [FIX] mail.thread: fixed a typo error
bzr revid: tde@openerp.com-20120328090213-o5orkbso0kdjtcwj
2012-03-28 11:02:13 +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
Purnendu Singh (OpenERP) 4d7ac64a01 [MERGE] merge with main addons
bzr revid: psi@tinyerp.com-20120327110553-yuf6mlqfyswx9bme
2012-03-27 16:35:53 +05:30
Thibault Delavallée c7e1656c11 [MERGE] Merged with main social framework branch
bzr revid: tde@openerp.com-20120327094923-10lpwthth4psq39y
2012-03-27 11:49:23 +02:00
Thibault Delavallée cf54497ca2 [FIX] Thread widget: propagated field name change avatar_mini->avatar
bzr revid: tde@openerp.com-20120327092359-sza4k85iuajak0wj
2012-03-27 11:23:59 +02:00
Thibault Delavallée 5ac5299eaa [IMP] Thread widget: 'load more' button hidden by default, shown only if necessary. Otherwise the display was a bit screwed.
bzr revid: tde@openerp.com-20120327091504-8ydi6csctn0nwcuz
2012-03-27 11:15:04 +02:00
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
Thibault Delavallée 9897b10a1a [IMP] mail.message: added a new search view for the wall
bzr revid: tde@openerp.com-20120326152146-0ab0120u13t2pru7
2012-03-26 17:21:46 +02:00
Thibault Delavallée 3ea533f12d [IMP] res.users: message_load_ids overriden, to fetch ids of messages: 1/ res_model = res.users, res_id = id 2/ body_text contains @login
bzr revid: tde@openerp.com-20120326143538-7f88qpdx7a3w7b60
2012-03-26 16:35:38 +02:00
Thibault Delavallée 75b1ab7ac7 [ADD] res.users: added choice to send emails when receiving notifications on user form and preferences form. Also udpated res.users views.
bzr revid: tde@openerp.com-20120326133852-uumyi34kkbqbsl09
2012-03-26 15:38:52 +02:00
Thibault Delavallée 9e550cb0a2 [IMP] Menus improvement: Sales is now sequence 0 (CRM moved to 1) to be the first menu entry; all groups now lies inside Feeds menu.
bzr revid: tde@openerp.com-20120326125412-xk7aj93q7lvdrrwk
2012-03-26 14:54:12 +02:00
Thibault Delavallée 8e8a5b1aae [FIX] Fixed last fix.
bzr revid: tde@openerp.com-20120326122712-5f83n3j6z727uq5i
2012-03-26 14:27:12 +02:00
Thibault Delavallée 43f75b4d80 [FIX] Added a protection for module not having a needaction method defined.
bzr revid: tde@openerp.com-20120326094218-gb5xhi7r9d2qlcmh
2012-03-26 11:42:18 +02:00
Thibault Delavallée ac24b11e82 [MERGE] Merged with main addons
bzr revid: tde@openerp.com-20120326092417-9cpagvskhf8u30yq
2012-03-26 11:24:17 +02:00
Sbh (Openerp) e17dee3a5e [MERGE] Merge with lp:openobject-addons
bzr revid: sbh@tinyerp.com-20120323052530-l9fsd06fbma1l3gz
2012-03-23 10:55:30 +05:30
Thibault Delavallée 62843381c7 [MERGE] Merged with branch cleaning the thread widget
bzr revid: tde@openerp.com-20120322164750-k12lj70qq9oew2gq
2012-03-22 17:47:50 +01:00
Thibault Delavallée 6652baba0c [IMP] Checks threads have new messages when initializing; TODO: code cleaning ...
bzr revid: tde@openerp.com-20120322163224-svqkt5g41w6jf3zv
2012-03-22 17:32:24 +01:00
Olivier Dony ee77b351b4 [MERGE] Latest fixes from 6.1
bzr revid: odo@openerp.com-20120322143654-w7etvdnq4z5tg6bt
2012-03-22 15:36:54 +01:00
Thibault Delavallée 0fb247cd38 [IMP] mail module: cleaned views and menu entries.
bzr revid: tde@openerp.com-20120322131922-z8gl95rxsid7hlp6
2012-03-22 14:19:22 +01:00
Thibault Delavallée f19ab4383f [DOC] Added comments
bzr revid: tde@openerp.com-20120322130114-3cjkzy8g9xw7qujg
2012-03-22 14:01:14 +01: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
Olivier Dony 2eb1c00ad2 [FIX] mail: default permissions should allow write for everyone
Mail messages are created in multiple steps that
usually involve calling write() at some point, so
giving all users write access is necessary.

bzr revid: odo@openerp.com-20120322110733-unizfb58f0y8xkfz
2012-03-22 12:07:33 +01:00
Thibault Delavallée 41a40bb67c [FIX] Fixed the last fix ...
bzr revid: tde@openerp.com-20120322080745-zgmf0eua6fmqm1b8
2012-03-22 09:07:45 +01:00
Thibault Delavallée 818dd1e4c2 [FIX] mail.thread: added a protection against 'id' given as argument in write method, instead of 'ids'
bzr revid: tde@openerp.com-20120321175949-8bzctzzuww9cxp5m
2012-03-21 18:59:49 +01:00
Thibault Delavallée 4ea3a7a131 [ADD] Added delete / hide for OpenSocial, on widget and in API. TODO: when deleting a comment, delete its childs.
bzr revid: tde@openerp.com-20120321172018-6pq33317302ttg9b
2012-03-21 18:20:18 +01:00
Thibault Delavallée 9da33f326e [IMP] RecordThread widget: cleaned and improved code
bzr revid: tde@openerp.com-20120321153141-bbdi7fatg72ft6xv
2012-03-21 16:31:41 +01:00
Thibault Delavallée 6c573d0061 [IMP] Now uses ul and li for creating comment lists.
bzr revid: tde@openerp.com-20120321140726-0d6y7d22t0mh879j
2012-03-21 15:07:26 +01:00
Thibault Delavallée 533b61106a [REM] Removed unnecessary div container
bzr revid: tde@openerp.com-20120321134144-t0r523xwfcz0b6jk
2012-03-21 14:41:44 +01:00
Thibault Delavallée 744feff959 [MERGE] Merged with main addons
bzr revid: tde@openerp.com-20120321085121-52hkn31qqk2tqx52
2012-03-21 09:51:21 +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
Bhumika (OpenERP) 79ff0e3424 [MERGE] Merge with lp:openobject-addons
bzr revid: sbh@tinyerp.com-20120321065319-pj7o5oz8pdr0v2jm
2012-03-21 12:23:19 +05:30
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
Bhumika (OpenERP) 2e402d5c3e [MERGE] Merge with lp:openobject-addons
bzr revid: sbh@tinyerp.com-20120320052258-4g8zcpd248do6tw9
2012-03-20 10:52:58 +05:30
Thibault Delavallée 6ae73d5311 [FIX] mail.thread: added _fields_id='res_id' in args: allow to manually defined the _fields_id relationship of a one2many column; for this function field this is not a standard arg, but additional arg
bzr revid: tde@openerp.com-20120319170332-xkadjpddlocnh37m
2012-03-19 18:03:32 +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
Thibault Delavallée 3d0ca849b8 [FIX] mail.thread: added _fields_id='res_id' in args: allow to manually defined the _fields_id relationship of a one2many column; for this function field this is not a standard arg, but is passed as optional args. This allows to fix an issue with share module, trying to go through one2many relationships when trying to establish shared user rights.
bzr revid: tde@openerp.com-20120316163825-acbbv1ztnk0zmy3w
2012-03-16 17:38:25 +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
Launchpad Translations on behalf of openerp f6baede827 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120316052914-p5yapsv9ni1xvv4q
bzr revid: launchpad_translations_on_behalf_of_openerp-20120316053017-3pne9tockyriwj6n
2012-03-16 05:30:17 +00:00
Thibault Delavallée 159badad44 [MERGE] Merged with main social branch (trunk-social-tde)
bzr revid: tde@openerp.com-20120315142411-8glpx8jd9nn86e2r
2012-03-15 15:24:11 +01:00
Thibault Delavallée c2f5c4a148 [FIX] Fixed res.needaction -> base.needaction, commented need_acion_user_id management in mail.thread because mechanism has change
bzr revid: tde@openerp.com-20120315105210-g6lci5nb66lo3jdy
2012-03-15 11:52:10 +01:00
Thibault Delavallée ca7555d5b2 [IMP] Thread widget: moved all event bindings in a separate function
bzr revid: tde@openerp.com-20120314085128-lfyxy0029o99nel6
2012-03-14 09:51:28 +01:00
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 c1e13fdff2 [IMP] Threzad widget: added unlink mechanism. Still WIP tough.
bzr revid: tde@openerp.com-20120313174105-ffncns931oa0ry4o
2012-03-13 18:41:05 +01:00
Thibault Delavallée 09a01870ff [IMP] Thread widget: cleaned follow/unfollow buttons behavior (text change when mouseover/mouseleave, update followers display)
bzr revid: tde@openerp.com-20120313172233-3zgm41f7m7mxzmie
2012-03-13 18:22:33 +01:00
Thibault Delavallée 5dbd526a19 [IMP] Thread widget: reply textarea shown by default when viewing a record.
bzr revid: tde@openerp.com-20120313170648-5uln1ozxvhv8yfxx
2012-03-13 18:06:48 +01:00
Thibault Delavallée 516ba422a4 [FIX] Fixed bug in notification push
bzr revid: tde@openerp.com-20120313163555-7ya3uejtnq2vtshf
2012-03-13 17:35:55 +01:00
Thibault Delavallée 69904e2036 [IMP] mail.group: cleaned code; added user as default responsible when creating a group.
bzr revid: tde@openerp.com-20120313161902-dwxzjy68bcuj39kk
2012-03-13 17:19:02 +01:00
Thibault Delavallée 979e5d0714 [IMP] mail.thread views: cleaned code
bzr revid: tde@openerp.com-20120313152523-kjxvn5xgbv4f65em
2012-03-13 16:25:23 +01:00
Thibault Delavallée a6fbb12aaf [IMP] mail.subscrpition: cleaned code and views
bzr revid: tde@openerp.com-20120313152452-8fmd3swgaiml9d1l
2012-03-13 16:24:52 +01:00
Thibault Delavallée 0bc2d60303 [FIX] mail.message: views: fixed priorities (was sequence)
bzr revid: tde@openerp.com-20120313152415-qi5jznlvx5mibami
2012-03-13 16:24:15 +01:00
Thibault Delavallée ac644cfd4f [IMP] mail.thread: cleaned code; added unlink management (subscriptions and messages are deleted, notifications are automatically deleted when messages are deleted because of foreign key); improved code and comments
bzr revid: tde@openerp.com-20120313150635-wwbvs30s0w7ru8qk
2012-03-13 16:06:35 +01:00
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) 01157c537a [MERGE] merge trunk-social-tde branch.
bzr revid: bth@tinyerp.com-20120313045548-bnn9wwjbzmed73r0
2012-03-13 10:25:48 +05:30
Thibault Delavallée 543d76dca3 [IMP] Thread widget: small user experience improvements (reply comment hidden by default; comment textarea is cleaned after posting the comment; em tag not escaped in mesages; fixed class name of links delete and hide.
bzr revid: tde@openerp.com-20120312173323-z1xnabsjzxj3vyxa
2012-03-12 18:33:23 +01:00
Thibault Delavallée d3af101c68 [IMP] Thread widget: comments now have smaller images
bzr revid: tde@openerp.com-20120312155838-srvzfmjvt783e6kr
2012-03-12 16:58:38 +01:00
Thibault Delavallée ff171895d2 [IMP] Thread widget: improved usability: added a reply link toggling comment textarea; commenting can be done via the enter key
bzr revid: tde@openerp.com-20120312152529-lbcz0byljetpeezj
2012-03-12 16:25:29 +01:00
Thibault Delavallée 5326078437 [FIX] mail_thread: fixed a bug when sending a notification coming from an action: the message user_id was reset, therefore not displaying the user name and avatar next to the message.
bzr revid: tde@openerp.com-20120312114639-fb5sggvvw1egnnzn
2012-03-12 12:46:39 +01:00
Thibault Delavallée 4f220ff718 [IMP] Thread widget: use name_get to display the record name between the avatar and the message body. Updated comment display.
bzr revid: tde@openerp.com-20120312105217-sjm1lrminn70i6h4
2012-03-12 11:52:17 +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
Thibault Delavallée 40bf6026d7 [DOC] Added first tree of files: index.rst, inex.rst.inc and mail_thread.rst
bzr revid: tde@openerp.com-20120309165054-g56ba6c6fne836f7
2012-03-09 17:50:54 +01:00
Thibault Delavallée 6a0bbe8269 [DOC] [ADD] mail: added doc directory and empty mail.rst main documentation file
bzr revid: tde@openerp.com-20120309164618-se9iy0j1hip26cqs
2012-03-09 17:46:18 +01:00
Bhumi Thakkar (Open ERP) b57da53738 [IMP] removed need_action_user_id from message_append_note function when calling and overwrite get_needaction_user_id method.
bzr revid: bth@tinyerp.com-20120309111644-7nzhptccx77dz996
2012-03-09 16:46:44 +05:30
Thibault Delavallée 8a91a19813 [FIX] mail.message view: re-added default views, removed a 'need_action_user_id' coming from outerspace
bzr revid: tde@openerp.com-20120309110340-za6s00v5m1uypio0
2012-03-09 12:03:40 +01:00
Thibault Delavallée 109fac27df [FIX] mail.thread: fixed bug when creating a message without a body_text; void string was converted to False, leading to a problem in string parsing
bzr revid: tde@openerp.com-20120309105611-skh1nawgzzq24g4f
2012-03-09 11:56:11 +01:00
Thibault Delavallée 7e427cce8c [REF] mail.thread menus reordering and cleaning
bzr revid: tde@openerp.com-20120309101412-pbrqosltp4i4xlt2
2012-03-09 11:14:12 +01:00
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
Thibault Delavallée 767a814691 [IMP] mail.group: improved form view
bzr revid: tde@openerp.com-20120308172029-m5bkcht6ez41977j
2012-03-08 18:20:29 +01:00
Thibault Delavallée 4e2c8f2cab [CLE] mail.thread: small code cleaning (variable names, removed unnecessary browse)
bzr revid: tde@openerp.com-20120308165508-hjthsspx57c1nizj
2012-03-08 17:55:08 +01:00
Thibault Delavallée 0f18e4cf20 [REF] Thread and Wall widgets: html/css refactoring, based on MIT first design.
bzr revid: tde@openerp.com-20120308164138-lar56562dibp8q4s
2012-03-08 17:41:38 +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 63a16e7074 [ADD] mail.thread: added automatic forward of message when @login is present in body. Also fixed a bug when posting a comment from the wall.
bzr revid: tde@openerp.com-20120308112445-ndv0b1x82kv2uanp
2012-03-08 12:24:45 +01:00
Thibault Delavallée 6ce4a48ce9 [CLEAN] Cleaned a bit of unecessary xml/css
bzr revid: tde@openerp.com-20120308104055-knvdgvj4a2z0k5fd
2012-03-08 11:40:55 +01:00
Thibault Delavallée 9dbb8b35b5 [IMP] mail.thread: added 2 tools method to get number of discussions and number of messages. mail.group: improved kanban view with info (discussions, messages and members count).
bzr revid: tde@openerp.com-20120307172350-kjx16z013bpq4t2z
2012-03-07 18:23:50 +01:00
Thibault Delavallée 4031396f47 [IMP] mail.group: improved kanban view. Also added a joined calculated field, calling message_is_subscriber, used to display available options in kanban view.
bzr revid: tde@openerp.com-20120307170254-p18c95iv804cjcim
2012-03-07 18:02:54 +01:00
Thibault Delavallée 4e60bfccc5 [ADD] mail.group: added photo and photo_mini
bzr revid: tde@openerp.com-20120307153445-2nrgdod40fuikldw
2012-03-07 16:34:45 +01:00
Thibault Delavallée 90d29c16b7 [REF] mail.group: cleaned code
bzr revid: tde@openerp.com-20120307151027-azhi43u0k086gh0i
2012-03-07 16:10:27 +01:00
Thibault Delavallée b347c3aa51 [FIX] Thread widget: when commenting a comment, the correct domain is added when refectching comments; otherwise wrong messages were fetched.
bzr revid: tde@openerp.com-20120307134409-iub2fmt1r3mkmgtq
2012-03-07 14:44:09 +01:00
Thibault Delavallée 366c08ae12 [FIX] Added parent_id when creating a message.
bzr revid: tde@openerp.com-20120307134306-3fytcftoh0acdjv1
2012-03-07 14:43:06 +01:00
Thibault Delavallée f75a3e9055 [IMP] Thread widget: comment and 'load more' are not displayed in threaded view, except for last level
bzr revid: tde@openerp.com-20120307132908-xj6y92lo3a2ec2sf
2012-03-07 14:29:08 +01:00
Thibault Delavallée c612cd1c1c [IMP] Wall widget: added thread_level parameter, now not hardcoded anymore
bzr revid: tde@openerp.com-20120307132520-so3e50dmewoksr5s
2012-03-07 14:25:20 +01:00
Thibault Delavallée d8661ec4db [IMP] Wall widget: lessened sub-thread padding; slighty improved html organisation of subthreads
bzr revid: tde@openerp.com-20120307132129-2jlza2crsncsnhmf
2012-03-07 14:21:29 +01:00
Thibault Delavallée ef7807319a [REF] mail_thread: added arguments to perform a flat search or an ascended search (search and then add parents, recursively until root_ids). Thread and Wall widgets: updated to use the updated message search API.
bzr revid: tde@openerp.com-20120307131022-gy6hmvztarc4ksfz
2012-03-07 14:10:22 +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 db55865050 [REM] Removed mail/base_need_action, moved to server. Fixed now deleted need_action boolean field from view.
bzr revid: tde@openerp.com-20120307091018-tcpvsa5shplc23vu
2012-03-07 10:10:18 +01:00
Thibault Delavallée 17293421cc [FIX] Thread widget: fixed 'load more' feature on threads, now taking into account thread level. Will need code cleaning.
bzr revid: tde@openerp.com-20120306150946-ni9ifzs1xc4jc8td
2012-03-06 16:09:46 +01:00
Thibault Delavallée 61a41ba305 [FIX] Wall widget: fixed class names for comment textarea and button.
bzr revid: tde@openerp.com-20120306083419-iuy7x0casszq8ldi
2012-03-06 09:34:19 +01:00
Thibault Delavallée bb352a172f [FIX] Wall widget: fixed the Wall 'load more' feature. Also cleaned the code.
bzr revid: tde@openerp.com-20120305192052-wabvan89nt0hrj8o
2012-03-05 20:20:52 +01:00
Thibault Delavallée acfcade3cb [REF] Thread widget: cleaning of code
bzr revid: tde@openerp.com-20120305173742-0uzfemp6vqc8jcz0
2012-03-05 18:37:42 +01:00
Thibault Delavallée 4c70c04043 [IMP] bzr diffWIPbzr diff Thread widget: threaded version of the widget now correctly handles message threads.
bzr revid: tde@openerp.com-20120305165910-4nt0gm7t9u6f2ap0
2012-03-05 17:59:10 +01:00
Thibault Delavallée 1a3a7c0988 [FIX] Thread widget: fixed bug when looping in records in form view: followers display was not correctly updated.
bzr revid: tde@openerp.com-20120305090521-kgi26xvzuhlsckbz
2012-03-05 10:05:21 +01:00
Jigar Amin - OpenERP c1f3d201ad [IMP] mail : mail_thread - Improved message_partner_by_email function
bzr revid: jam@tinyerp.com-20120305082505-t9s66gz9jgt3w8xz
2012-03-05 13:55:05 +05:30
Thibault Delavallée 15581b5286 [REF] Small refactoring of Wall. Refactoring still needed.
bzr revid: tde@openerp.com-20120302173511-eyky2ibpzdvp0hgq
2012-03-02 18:35:11 +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 4847f72044 [REF] Wall small cleaning of code
bzr revid: tde@openerp.com-20120229142331-zr42yxqy8i0xv7js
2012-02-29 15:23:31 +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
Thibault Delavallée 747134642b [IMP] Wall: messages search_view_id is now passed as an argument to the wall, allowing to display the correct search view
bzr revid: tde@openerp.com-20120229101758-vse9o4p5lo133bje
2012-02-29 11:17:58 +01:00
Thibault Delavallée 38e6f8c6ee [IMP] Wall: added font color similar to general OpenERP font color
bzr revid: tde@openerp.com-20120229101716-pdjtjbiv9p4x32lp
2012-02-29 11:17:16 +01:00
Thibault Delavallée 44ca05c129 [CL] Wall: Cleaned a bit mail.xml: removed unused 'dusplay followers' on wall
bzr revid: tde@openerp.com-20120229101617-ubru2sqmjznomrwf
2012-02-29 11:16:17 +01:00
Thibault Delavallée d03350b164 [IMP] Thread Widget: @login finally implemented. Link is lazy: when clicking, it tries to find a record and redirects if found.
bzr revid: tde@openerp.com-20120229095752-t57mepak000bu55r
2012-02-29 10:57:52 +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 790df40a91 [FIX] On Wall: fixed more button on Wall.
bzr revid: tde@openerp.com-20120229091109-f0fbr2gdcmjagna6
2012-02-29 10:11:09 +01:00
Thibault Delavallée 0ba944dc46 [IMP] Thread widget: More button does not display when there are no more comments to fetch.
bzr revid: tde@openerp.com-20120229085953-v2w99pgzd8sefffn
2012-02-29 09:59:53 +01:00
Bhumi Thakkar (Open ERP) b815d29b48 [MERGE] merge trunk-social-tde branch.
bzr revid: bth@tinyerp.com-20120229053432-ps03fdczspj8zr9w
2012-02-29 11:04:32 +05:30
Launchpad Translations on behalf of openerp fefba7d11e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120229052746-lhfn0qjqmzuqz1js
2012-02-29 05:27:46 +00: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
Thibault Delavallée a39bdef62a [IMP] quickly updated js and xml for new behavior of need_action_user_id. Still un progress, but was for testing.
bzr revid: tde@openerp.com-20120228171437-0a2lmj2d1kf9rfqu
2012-02-28 18:14:37 +01:00
Thibault Delavallée 02e927fe6b [IMP] mail.thread: removed references to need_action_user_id as it is now delegated to mail.need_action mixin class. Adapted behavior of message_create: have to check object need_action_user_id instead of message need_action_user_id.
bzr revid: tde@openerp.com-20120228171351-am5v4m2emypgl332
2012-02-28 18:13:51 +01:00
Thibault Delavallée 6763a01205 [IMP] Changed class name to mail.needaction while it is in mail module.
bzr revid: tde@openerp.com-20120228153455-zi7rdcwd8ugsot40
2012-02-28 16:34:55 +01:00
Thibault Delavallée ac7d351627 [ADD] First add of base_needaction file that will serve to get need_action engine out of mail.thread before being eventually moved into server if necessary.
bzr revid: tde@openerp.com-20120228152901-biee23bw3ircq6c9
2012-02-28 16:29:01 +01:00
Thibault Delavallée 9d4afb6659 [FIX][IMP] mail.thread: message_is_subscriber now has an optional user_id parameter, to check a given id instead of uid. message_subscribe now checks if the user to subscribe has not already a subscription for that record.
bzr revid: tde@openerp.com-20120228143830-wyiq1glltswzjacs
2012-02-28 15:38:30 +01:00
Thibault Delavallée acf162b951 [IMP][FIX] creating and updating a record automatically subscribe the user. Fixed message_is_subscriber not calling message_get_subscribers, leading to wrong calculation when message_get_subscribers was overwriten.
bzr revid: tde@openerp.com-20120228140632-jd27456g1e9fu056
2012-02-28 15:06:32 +01:00
Thibault Delavallée 17d077bb7d [FIX] Fixed bug when posting a comment from the wall (wrong values given through this.proxy, have to check)
bzr revid: tde@openerp.com-20120228112307-8mwlrcqx66h07ood
2012-02-28 12:23:07 +01:00
Thibault Delavallée 504e476fc0 [IMP] Wall widget: removed unused xml; added more button; added more action (displays more discussions); added comments
bzr revid: tde@openerp.com-20120228110740-gcbm02ej6bee4rsl
2012-02-28 12:07:40 +01:00
Thibault Delavallée e291bf11da [DOC] Added comments in mailL.js (Wall widget)
bzr revid: tde@openerp.com-20120228085607-oty29x74cwxy6zdi
2012-02-28 09:56:07 +01:00
Thibault Delavallée a32d9d7b89 [DOC] Added comments in mail.js
bzr revid: tde@openerp.com-20120228085111-13kx0t7l7bxmywmq
2012-02-28 09:51:11 +01:00
Thibault Delavallée 66f55d4e83 [IMP] Wall thread view: lessened size of comment box in threads.
bzr revid: tde@openerp.com-20120228082606-bfekwwkemxb0b3xn
2012-02-28 09:26:06 +01:00
Launchpad Translations on behalf of openerp f210e73f21 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120225055251-o6ajm1k0ya17sd2j
bzr revid: launchpad_translations_on_behalf_of_openerp-20120226052201-liykx2ue4jufkcwc
bzr revid: launchpad_translations_on_behalf_of_openerp-20120227055617-7bb3evbppqedlx8p
bzr revid: launchpad_translations_on_behalf_of_openerp-20120228063037-0nhyn4iid36dorfs
2012-02-28 06:30:37 +00:00
Thibault Delavallée 83ef71f651 [REF] Some code cleaning. Hashtag replacement still not working.
bzr revid: tde@openerp.com-20120227171323-xvn752llibh66v9w
2012-02-27 18:13:23 +01:00
Thibault Delavallée 1c100a848c [FIX] Added a class to internal links to delegate an action when clicking
bzr revid: tde@openerp.com-20120227162158-q1hyvwxr04scwod7
2012-02-27 17:21:58 +01:00
Thibault Delavallée f48f10bcfa [REF] Cleaned a bit truncated message code
bzr revid: tde@openerp.com-20120227161409-ej67dg04cy2deyjg
2012-02-27 17:14:09 +01:00
Thibault Delavallée 32669277bc [IMP] ThreadDisplay: 1/ body_text is escaped by hand and displayed as html, to preserver internal links 2/ basic version of fonctionality 'show more / show less' when messages are too long 3/ some code cleaning
bzr revid: tde@openerp.com-20120227160442-43g2b2e1wcrjhufq
2012-02-27 17:04:42 +01:00
Bhumi Thakkar (Open ERP) f7ce663127 [MERGE] merged with trunk-social-tde.
bzr revid: bth@tinyerp.com-20120227112106-admj7un0w5psjojq
2012-02-27 16:51:06 +05:30
Thibault Delavallée 1a79ad88b4 [ADD] Email icon (replace author avatar when message type is email).
bzr revid: tde@openerp.com-20120227110828-x9k3pcb3b6y72hz0
2012-02-27 12:08:28 +01:00
Thibault Delavallée d3dd68e08e [IMP] ThreadDisplay: now shows a "More button" (no action attached currently). Updated css for style. Emails are managed. Also refactored templates for cleaner architecture.
bzr revid: tde@openerp.com-20120227110754-9v207ey8m3k5rv9j
2012-02-27 12:07:54 +01:00
Thibault Delavallée 0c4099ba26 [FIX] Fixed error with undefined id when fetching the avatar.
bzr revid: tde@openerp.com-20120227085442-5r4jb0bbor1zpulw
2012-02-27 09:54:42 +01:00
Thibault Delavallée d598492dbd [REF] Slighty cleaned ThreadDisplay widget code. Start now returns deferred from fetch_comments.
bzr revid: tde@openerp.com-20120227085005-2vhuc8jdmeimu406
2012-02-27 09:50:05 +01:00