Commit Graph

23 Commits

Author SHA1 Message Date
Richard Mathot eefd0de541
[FIX] safer company name as email sender
In some email templates of Odoo, the From: field is generated from the
company name. If this name contains an "&" character, this will lead in
an escaping eg; &

Sender header will look like:
From: Machin &amp; Brol <machinbrol@toto.com>

This case is not well handled by email providers like Gmail, that
splits the line on the ";" and considers there are 2 senders, and then
discards the email.

We then fix the templates, waiting for a better fix in master.
2017-04-28 10:19:06 +02:00
Christophe Simonis a5735e7891 [FIX] website_forum{,_doc}: noupdate for website.menu 2015-02-20 14:55:07 +01:00
Jeremy Kersten 86a6619dc8 [FIX] website_forum: add fake tour for people waiting the tour. To remove in master. Without it, localstorage loop to search this unexisting tour after the install... 2014-11-17 16:50:52 +01:00
ssh-odoo ef8099424d [IMP] [TEST] website_forum: security fixes + tests
- fixed voting, karma check could be avoided
- fixed posting comments, now correctly checking karma (not for
notifications)
- fixed bootstraping of users, now not allowed to ask questions by default;
added validation email that gives the first karma points required to
participate
- added tests
2014-10-23 11:36:03 +02:00
Thibault Delavallée 2a4ec367a9 [IMP] [FIX] website_forum: cleaned and improved the management of available actions based on the user's karma. The karma levels are now stored on the forum itself, allowing customization. The various check of karma are done at model level and not at controller level anymore, leading to a more secure and easier to inherit behavior. 2014-07-01 10:29:37 +02:00
--global 2649beba97 [IMP] website_forum: make forum;forum inherit from mail.thread. This way we
add the possibility to users to follow a forum and be automatically followers of new
questions, using some new subtypes on the forum.forum model that do the auto subscription.

Also added a profile link on the forum, when logged.

Also added a subscribe button on the forum.
2014-05-22 13:49:41 +02:00
Martin Trigaux 70d3652c27 [FIX] remove closing reason 'an answer was accepted', the questions should be left as open to be possible to improve the answer afterward 2014-05-20 14:41:56 +02:00
Christophe Simonis 643871c20f [FIX] website_forum: set config parameter via dedicated function
bzr revid: chs@openerp.com-20140507134127-xmp9kza1mvy37jf1
2014-05-07 15:41:27 +02:00
Thibault Delavallée 7d834f0579 [IMP] website_forum: cleaned post cfreate and write
+ corrct subtype trigger

bzr revid: tde@openerp.com-20140411180615-bznyth4tv7e89sed
2014-04-11 20:06:15 +02:00
Thibault Delavallée cbac424f91 [REF] website_forum: renamed models (website.forum -> forum) + cleaned models.
Added favorite_count function field, like vote_count and so on, to be able
to have badges based on a simple model.

bzr revid: tde@openerp.com-20140410133928-i0lncz8us9wueb13
2014-04-10 15:39:28 +02:00
Thibault Delavallée 57493c8963 [IMP] website_forum: cleaned subtypes + jump at install + cleaned post closing reasons
bzr revid: tde@openerp.com-20140410101801-h5pzk85tdhn7nf17
2014-04-10 12:18:01 +02:00
Thibault Delavallée 4d41e36a91 [IMP] website_forum: cleaning before merging
- cleaned models, removing unnecessary fields + removed history feature of posts + removed
unnecessary override of mail.message and ir_http + renamed some fields (like badges -> badge_ids
to be more coherent with openerp naming)
- updated views accordingly
- cleaned demo data to lessen the diff

bzr revid: tde@openerp.com-20140409165059-36zc06f0to3q4qfu
2014-04-09 18:50:59 +02:00
Turkesh Patel (Open ERP) 847d0a9408 [IMP] added dependancy of auth_signup module for signup, make signup by default tru, show favourite questions on user profile.
bzr revid: tpa@tinyerp.com-20140407115650-5qr23bn7taj1mwzt
2014-04-07 17:26:50 +05:30
Turkesh Patel (Open ERP) 02735c1982 [ADD] added new functionality to follow question and improved some code.
bzr revid: tpa@tinyerp.com-20140328051606-sgrmo7nlwtvps966
2014-03-28 10:46:06 +05:30
Turkesh Patel (Open ERP) 3b840a59d3 [IMP] improved code to fix some issues and view improvements, added new feature to convert comment as an answer and convert answer to comment.
bzr revid: tpa@tinyerp.com-20140324122645-bqkr093fy1hy5j4i
2014-03-24 17:56:45 +05:30
Turkesh Patel (Open ERP) 620892d474 [IMP] instead of selection field on post for closing reason add new model PostReason.
bzr revid: tpa@tinyerp.com-20140324071152-vfklb1umocot3ycz
2014-03-24 12:41:52 +05:30
Turkesh Patel (Open ERP) 0c8d2af2fa [IMP] added subtypes and improved code for post vote.
bzr revid: tpa@tinyerp.com-20140313084130-8kdlra4dhwzl016o
2014-03-13 14:11:30 +05:30
Turkesh Patel (Open ERP) 5471b1ba96 [IMP] improved code to add forum from top menu 'Content', remove static id of below link, show only related questions per forum
bzr revid: tpa@tinyerp.com-20140304124002-otl1wn10c6qcggbs
2014-03-04 18:10:02 +05:30
Fabien Pinckaers ad66572645 [IMP] better views
bzr revid: fp@tinyerp.com-20140303191748-y7c6zcy7r6riy1fq
2014-03-03 20:17:48 +01:00
Turkesh Patel (Open ERP) c94b3c7a5e [IMP]improved url intead of using /question use /form and improved view
bzr revid: tpa@tinyerp.com-20140226132547-zbabzkc1vn9ja4zx
2014-02-26 18:55:47 +05:30
Mantavya Gajjar 90953057aa [FIX]: change paths for the questions
/qustions - list of questions
/question/number - question page

bzr revid: mga@tinyerp.com-20140222175429-ed2bf13rvihzlmpe
2014-02-22 23:24:29 +05:30
Mantavya Gajjar 64adae0869 [FIX]: module installaiton succesfuly
bzr revid: mga@tinyerp.com-20140222173759-8x2k0ubf5i9r81pa
2014-02-22 23:07:59 +05:30
Turkesh Patel (Open ERP) d743ac0a83 [ADD] website_forum for question and answer
bzr revid: tpa@tinyerp.com-20140221131608-e37a88h2u8ljkomr
2014-02-21 18:46:08 +05:30