Commit Graph

77 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
rlu-odoo 8b67a7202d [REF] OpenERP --> Odoo in various UI texts
Rebranding has been done in:
- data/demo files
- html templates
- help notices
- comments
- logger messages
- and other various messages

(Commit taken from odoo-dev:8.0-improve-openerp-odoo-rlu at rev 7deaa08)

Closes #1260
2014-07-18 13:45:41 +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
Xavier Morel 46712acaec [FIX] bunch of changes lost in incorrect merge f4d78ae738 2014-05-30 17:00:52 +02:00
Xavier Morel d325c0caef [REV] attempt to revert incorrect removals in f4d78ae738 2014-05-30 16:00:28 +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
Christophe Simonis a756b82372 [MERGE] forward port of branch saas-4 up to revid bb26dea 2014-05-20 20:19:55 +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
Martin Trigaux 8da2cb6d4a [FIX] definition of badges 2014-05-20 14:31:55 +02:00
Martin Trigaux dab3557253 [FIX] website_forum: correct the 'Editor' goal definition, the field author_id on a mail_message is a m2o to res.partner and not res.users
bzr revid: mat@openerp.com-20140509134434-6u2ft2gyv0hcryxq
2014-05-09 15:44:34 +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
Martin Trigaux f756fa671e [FIX] gamification: remove wrong double quote in xml
website_forum: restrict granting rights on forum badges

bzr revid: mat@openerp.com-20140422090937-l2mxc828hof9u8pi
2014-04-22 11:09:37 +02:00
Martin Trigaux bb8e24d951 [FIX] website_forum: set badges and challenges in noupdate
bzr revid: mat@openerp.com-20140418124112-m97idrklxq8y3e3f
2014-04-18 14:41:12 +02:00
Martin Trigaux 0c32e7241d [IMP] use char_domain widget
bzr revid: mat@openerp.com-20140416152208-1rnyyvr35m0kj5cm
2014-04-16 17:22:08 +02:00
Martin Trigaux 9094a7aab9 [FIX] forum: conversion of incorrect group to domain
bzr revid: mat@openerp.com-20140416151410-d59osro704v2zfdq
2014-04-16 17:14:10 +02:00
Martin Trigaux d79cbd3fb8 [FIX] gamification: convert autojoin_group_id to a domain representing the list of users
bzr revid: mat@openerp.com-20140416151026-lmvyo8k0wo4hw9gn
2014-04-16 17:10:26 +02:00
Martin Trigaux 15306066d0 I love the smell of napalm in the morning.
bzr revid: mat@openerp.com-20140415113545-31efpjddjwqr4ajl
2014-04-15 13:35:45 +02:00
Martin Trigaux 14ff39f96e [FIX] website_forum: mooooore baaaaaadges
bzr revid: mat@openerp.com-20140415101842-yf6vndw7h62q0b42
2014-04-15 12:18:42 +02:00
Martin Trigaux 9f3a2f84e0 [ADD] website_forum: more badges
bzr revid: mat@openerp.com-20140414155344-v580tpy5l12z9v95
2014-04-14 17:53:44 +02:00
Martin Trigaux c40318a46a [ADD] website_forum: self_reply field and some badges
bzr revid: mat@openerp.com-20140414145415-8g9jtp95d173183i
2014-04-14 16:54:15 +02:00
Martin Trigaux 0c8539846a [ADD] website_forum: quality badges
bzr revid: mat@openerp.com-20140414135115-onmywwurr03g21dw
2014-04-14 15:51:15 +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 c3cb7762a1 [TMP] website_forum: commented out badges, more tests will have to be
done on badges.

bzr revid: tde@openerp.com-20140411172408-b5oq98y4kcz1fzfr
2014-04-11 19:24:08 +02:00
Thibault Delavallée 907a97b15b [FIX] website_forum: fixe ddemo data, about create_uid warning.
bzr revid: tde@openerp.com-20140411161414-gqyosw7g73r36fer
2014-04-11 18:14:14 +02:00
Thibault Delavallée f3bb1036f6 [DEMO] website_forum: better demo dta
bzr revid: tde@openerp.com-20140411152340-akpg0q2zg5q3xt90
2014-04-11 17:23:40 +02:00
Thibault Delavallée cd4afee17e [CLEAN] website_forum: cleaning before merging
- cleaned models
- cleaned controllers: lots of cleaning, rewriting, simplfiication + updated in views
- added an override of the contact widget, to be able to display partner-related
stuff about karma and badges
- some css tweaking
- badges cleaning

bzr revid: tde@openerp.com-20140411132939-bmvyc9bqpqpkk843
2014-04-11 15:29:39 +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 7493326daf [REM] website_forum: removed old badges files
bzr revid: tde@openerp.com-20140410133846-0dze10b09b9xhcoi
2014-04-10 15:38:46 +02:00
Thibault Delavallée f7e6f1792f [IMP] website_forum: first pass of cleaning badges + separated into separate files
bzr revid: tde@openerp.com-20140410133812-qa6z3u3oq8q70zdb
2014-04-10 15:38:12 +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) 71d03f481d [IMP] improved code and view, fixed some issue to view commnet, show acceped answer in list,tag issue
bzr revid: tpa@tinyerp.com-20140404071043-n6x0wv6qyi1pdmav
2014-04-04 12:40:43 +05:30
Turkesh Patel (Open ERP) bbb344501d [IMP] remove commented code, improve indentation
bzr revid: tpa@tinyerp.com-20140402122659-voev4rolm6ynvhxa
2014-04-02 17:56:59 +05:30
Turkesh Patel (Open ERP) 30b49e20d4 [IMP] improved code to raise warning on accepting anser.
bzr revid: tpa@tinyerp.com-20140401132806-102jkjwxj2esukcr
2014-04-01 18:58:06 +05:30
Turkesh Patel (Open ERP) c3610687fc [IMP] improved code.
bzr revid: tpa@tinyerp.com-20140401115727-scumxfkue2cyqa3f
2014-04-01 17:27:27 +05:30
Turkesh Patel (Open ERP) 1c4180c0f3 [IMP] improved code, not show challanges assinged to user for forum.
bzr revid: tpa@tinyerp.com-20140328090357-gm5qjza4hchbet0i
2014-03-28 14:33:57 +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) b6db9be4f1 [MRG] lp:~openerp-dev/openobject-addons/trunk-website-forum-tpa-template_ans-ssh improved code to make notifications as unread.
bzr revid: tpa@tinyerp.com-20140326065303-1eb4p8s1ni4n5t10
2014-03-26 12:23:03 +05:30
Sunil Sharma (OpenERP) 8e06abc7c5 [imp]:improve Mail notification read message for badge user
bzr revid: sunilsharma.sharma07@gmail.com-20140326064244-1jkw4zuxkuz0kguf
2014-03-26 12:12:44 +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) 546ad55636 [IMP] improved code for delete question: instead of unlink just update active so user can undelete it.
bzr revid: tpa@tinyerp.com-20140324060650-q8xtujw35i7933ba
2014-03-24 11:36:50 +05:30
Turkesh Patel (Open ERP) 283af4b6e5 [MRG] merged branch with improvements for assigning badges on running challange,improved some badge data.
bzr revid: tpa@tinyerp.com-20140321091924-mc3acnpx66oar555
2014-03-21 14:49:24 +05:30
Sunil Sharma (OpenERP) 1185f7b8b5 [imp]:improve gamification challenge line category forum and add clss gamification challenge assign reward user
bzr revid: sunilsharma.sharma07@gmail.com-20140321054642-bjbgm4e92tur9f83
2014-03-21 11:16:42 +05:30
Turkesh Patel (Open ERP) 141eecfa4c [ADD] added function to add karma to user.
bzr revid: tpa@tinyerp.com-20140320130014-jehnk1x7n9jc1khj
2014-03-20 18:30:14 +05:30
Turkesh Patel (Open ERP) 1eddfb2eef [IMP] improved data of badges.
bzr revid: tpa@tinyerp.com-20140320085149-h65gmgojsr47e0ls
2014-03-20 14:21:49 +05:30