Commit Graph

21 Commits

Author SHA1 Message Date
Thibault Delavallée 7cad4baa84 [FIX] [CLEAN] Various: fixed / cleaned use of dict.fromkeys.
Indeed using fromkeys with a list / dict as argument leads to the creation
of shared list / dict. This could create some ugly side effects when
used in loops. This commit fixes or cleans this kind of statement to avoid
unwanted side effects.
2014-09-18 11:18:30 +02:00
Thibault Delavallée 15f5abcbbe [IMP] mail, website_mail_group: discussion group improvements
- added possibility in mail to have a model adding custom headers in emails sent for notifications for new messages
- mail.group now add list-id and precedence: list in the headers to inform mailing systems that those mails are to be considered as mailing lists
- website_mail_group adds some further data in the headers (subscribe, unsubscribe, archives)
- groups page now display the number of message in the last month
- notification emails are now queued after 50 recipients
2014-06-12 13:45:21 +02:00
Thibault Delavallée 0c89ca0f8f [FIX] website_mail, websit_mail_group: moved discussion group snippet to the right module; it should not be available when the mailing list archives module is not installed. Also fixed get_alias_info route to be mail_group specific and to avoid allowing people to browse the database. 2014-05-28 11:12:33 +02:00
Thibault Delavallée 9fadd0b04c [IMP] website_mail_group: display previous / next message when browsing + take into account thread or date mode. 2014-05-23 13:17:33 +02:00
Thibault Delavallée dc98882c90 [FIX] website_mail_group: added forgotten parameter for a view, added previously in this branch 2014-05-23 12:39:50 +02:00
--global 47f24697ec [FIX] website_mail_group: effectively handle replies_per_page parameter that controls the number of replies to display under each message. 2014-05-22 13:38:07 +02:00
--global 8a6b0d1d4d [FIX] website_mail_group: number of thread and replies back to normal values after testing. 2014-05-22 13:29:49 +02:00
--global b0def9d479 [FIX] website_mail_group: order archives by date descending 2014-05-22 12:48:09 +02:00
Thibault Delavallée 52eb9cba89 [IMP] website_mail_group: refactored layout of displayed mailing lists and their archive. Should be a bit more easy to use and understand. Todo: fix number of displayed thread / replies, and probably re-do the layout once somebody decides to change everything. 2014-05-21 16:32:31 +02:00
Fabien Meghazi c3cfc4bc32 [MERGE] sitemap backport, merge trunk from 9438 til 9440
merge from 9438 revid:fp@tinyerp.com-20140511115231-g8ke14r9iepyypv4 til 9440 revid:fp@tinyerp.com-20140511143314-nzn1239l00arbxjq
2014-05-13 16:38:31 +02:00
Thibault Delavallée f9b18d51ad [FIX] website_mail_group: avoid displaying directly partner info in templates
but use the contact template that display partner-related data fetched
as superuser, to avoid access right issues.
Improved display: author or email-from.
Fixed issues in the pager.

bzr revid: tde@openerp.com-20140326103515-uzv6smwh9q6vyni9
2014-03-26 11:35:15 +01:00
Thibault Delavallée 50ca5202a0 [REF] website_mail_group: refactored controllers and views
- now using post arguments instead of hardcoded path items like mode;
- unfucked the date archives that was basically now working;
- keep user choices through the navigation (mode, dates);
- various small fixes in the views

bzr revid: tde@openerp.com-20140320151114-1mmk9x48i1lwc6qv
2014-03-20 16:11:14 +01:00
ajay javiya (OpenERP) f2b51c7b69 [FIX] : subscribe/unsubscribe button not work
[IMP]: layout

bzr revid: aja@tinyerp.com-20140318083559-jwc196mypc67p5x4
2014-03-18 14:05:59 +05:30
Fabien Pinckaers 675a71b2b8 [IMP] attachments on messages
bzr revid: fp@tinyerp.com-20140316113742-odae0ph3a1qrqn12
2014-03-16 12:37:42 +01:00
Fabien Pinckaers fb64b578e8 [IMP] Cleaning Archives
bzr revid: fp@tinyerp.com-20140316104022-fps64jlo8rpssf9m
2014-03-16 11:40:22 +01:00
ajay javiya (OpenERP) 633ceff7fc [IMP] : join group button is visible to public user if public user will click on join group will ask to login
[IMP] : button color
[ADD] : 'Mailing List' menu in footer

bzr revid: aja@tinyerp.com-20140313092505-yr2uwmxafudtdju9
2014-03-13 14:55:05 +05:30
Fabien Pinckaers a8f130a2a8 [IMP] layout
bzr revid: fp@tinyerp.com-20140312211726-wnho0pedhl4u1qv8
2014-03-12 22:17:26 +01:00
ajay javiya (OpenERP) 79e55a06d6 [IMP] : Group follow/unfollow button not visible without logged in
bzr revid: aja@tinyerp.com-20140311104317-ysrtonu691g7qqek
2014-03-11 16:13:17 +05:30
ajay javiya (OpenERP) 22d1989d6c [ADD] : demo data
bzr revid: aja@tinyerp.com-20140311085626-phkz5012uvwagc94
2014-03-11 14:26:26 +05:30
ajay javiya (OpenERP) 3f25397dfa [IMP] : code
bzr revid: aja@tinyerp.com-20140310114748-gnlktp3dngnccbl3
2014-03-10 17:17:48 +05:30
ajay javiya (OpenERP) a6fdc988ec [ADD] : module website_mail_group
bzr revid: aja@tinyerp.com-20140307132449-zy216yv5kmt3o0zw
2014-03-07 18:54:49 +05:30