Commit Graph

153 Commits

Author SHA1 Message Date
Christophe Simonis adf07a9490 [MERGE] forward port of branch saas-4 up to 5087612 2014-06-19 16:13:35 +02:00
Denis Ledoux eb42616b98 [FIX] website_forum: tag pager url
When browsing a tag, the pager url was not matching the route of the controller
2014-06-13 18:07:57 +02:00
Thibault Delavallée 907862655a [FIX] website_forum: people having enough karma can accepts answers on every question, not just their own. Fixed the condition computation. 2014-06-11 13:56:23 +02:00
Olivier Dony 04211015fc [MERGE] Forward-port of latest saas-4 fixes, up to 0452851 2014-05-27 20:49:49 +02:00
Martin Trigaux dcb4b610e2 [FIX] website_forum: display the users as a table in block of 3 cols 2014-05-26 13:37:58 +02:00
Denis Ledoux 1e84f72899 [FIX] website_forum: do not check if the user has the group comment
This access rights checks is meaningful for website_blog only
2014-05-26 11:49:26 +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 c786ceb760 [FIX] the badges should be ordered by most popular first 2014-05-20 14:32:21 +02:00
Olivier Dony c1a0d23422 [FIX] website_forum: country_id is an integer field 2014-05-20 10:24:33 +02:00
Thibault Delavallée 0828545090 [IMP] website_forum: display only the 100 last
activities + order by date desc
2014-05-19 14:40:24 +02:00
Thibault Delavallée e7ea924697 [FIX] website_forum: do not display closed of offensive questions in searches.
Users can still go on the question using their direct link.
2014-05-19 13:50:51 +02:00
Martin Trigaux a2edf9520b [ADD] website_forum: adding the 'Newest' filter on the forum to sort by create date 2014-05-15 11:23:11 +02:00
Olivier Dony 230a9c34b1 [FIX] website_forum: fix controllers losing paging and query params, allow to see own profile even without karma, add avatar controller to make the images public 2014-05-14 16:32:54 +02:00
Fabien Meghazi 0d49bbb8e0 [MERGE] upstream 2014-05-14 09:27:20 +02:00
Xavier Morel 6369400f5b [FIX] website_forum: restrict a bunch of controllers to POST-only, convert a few more links to buttons 2014-05-13 16:57:12 +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
Fabien Meghazi 8eed143112 [IMP] Invert multilang logic in route decorator. True by default, can be set to False explicitlty 2014-05-13 11:35:45 +02:00
Olivier Dony 4cecbd919f [FIX] mass_mailing,website*,survey: leftover calls to website.get_public_user()
This method was (partially) removed at rev.9421 
rev-id al@openerp.com-20140507153223-q73u5lhyrfw98o3a

bzr revid: odo@openerp.com-20140512103935-o0ue9wzenm5wjejq
2014-05-12 12:39:35 +02:00
Fabien Pinckaers 105618443f [IMP] Sitemap
bzr revid: fp@tinyerp.com-20140511134037-84vnn1b4zfzk8som
2014-05-11 15:40:37 +02:00
Fabien Pinckaers 54d30d5194 [IMP] clean sitemap, enumerate pages + fixes
bzr revid: fp@tinyerp.com-20140511115231-g8ke14r9iepyypv4
2014-05-11 13:52:31 +02:00
Christophe Simonis b8089a1521 [MERGE] forward port of branch saas-4 up to revid 9410 chs@openerp.com-20140507164207-kmme4tsrd4w1m7l1
bzr revid: chs@openerp.com-20140507170112-bjeltv2b0coy60am
2014-05-07 19:01:12 +02:00
Thibault Delavallée 55479a4cc2 [FIX] website_forum: new batch of fixes :
- fixed reopen link that was broken (python code appearing)
- fixed close link that was leading to a 500 error due to post -> question
- fixed link to question author, was redirecting to the current user
- fixed displayed number of questions in the forum, now displaying actual question
number, not number of displayed questions in the page
- improved guidelines: added link back to the forum
- fixed tags display: now by posts_count desc, unused tags are not shown
- users are now displayed by desc karma
- converting a comment as an answer does not allow to create a new answer if another
one by uid is already present, it just moves the comment

bzr revid: tde@openerp.com-20140505154523-6dld9sfm0nc0oulu
2014-05-05 17:45:23 +02:00
Christophe Simonis 618fbde36f [MERGE] forward port of branch saas-4 up to revid 9365 chs@openerp.com-20140422143249-3cfh18tenn3a5ry1
bzr revid: chs@openerp.com-20140422144651-840zze7p5549k88s
bzr revid: chs@openerp.com-20140422144933-0su8g7pgrcloijco
2014-04-22 16:49:33 +02:00
Christophe Simonis 12beacda08 [MERGE] backport of trunk revisions:
9362 fp@tinyerp.com-20140421205739-rki3bctinjy3amzy [MERGE] new module: website_forum_doc + small fixes (close) in forum
9363 fp@tinyerp.com-20140421213850-19gk3hfz8qxa6fw3 [IMP] improved form view for posts

bzr revid: chs@openerp.com-20140422143249-3cfh18tenn3a5ry1
2014-04-22 16:32:49 +02:00
Fabien Pinckaers 261204c98d [MERGE] new module: website_forum_doc + small fixes (close) in forum
bzr revid: fp@tinyerp.com-20140421205739-rki3bctinjy3amzy
2014-04-21 22:57:39 +02:00
Fabien Pinckaers 1a09a703e4 [IMP] SEO tags
bzr revid: fp@tinyerp.com-20140421202518-vqa8l0gtaemzoc32
2014-04-21 22:25:18 +02:00
Fabien Pinckaers 19da27c191 [FIX] close and reopen questions
bzr revid: fp@tinyerp.com-20140421184347-c86uyuw8l61dxl5o
2014-04-21 20:43:47 +02:00
Fabien Pinckaers cf78b6d9a0 [IMP] Forum + SEO
bzr revid: fp@tinyerp.com-20140421172330-gktockbm11emgsos
2014-04-21 19:23:30 +02:00
Thibault Delavallée bf6cd98083 [FIX] message author link, now working
bzr revid: tde@openerp.com-20140418153217-qdbslziaiz832xvz
2014-04-18 17:32:17 +02:00
Thibault Delavallée 35a3f7fbd0 [CLEAN] website_forum: removed a forgotten print statement
bzr revid: tde@openerp.com-20140418144854-cxl30gibxw43r5th
2014-04-18 16:48:54 +02:00
Thibault Delavallée aa8bdfc740 [IMP] website_forum: controllers now check the karma in addition to the viewé
bzr revid: tde@openerp.com-20140418144722-k2g2gespb3dwpio4
2014-04-18 16:47:22 +02:00
Thibault Delavallée b153fcd35e [IMP] [FIX] website_forum: better control of actions based on karma; those
actions are calculated in the controller, based on forum.forum values instead of values hardcoded
in the view.

bzr revid: tde@openerp.com-20140418135724-k64yey6hhrki0b6h
2014-04-18 15:57:24 +02:00
Thibault Delavallée a6103a08be [IMP] [FIX] website_forum: better karma management for votes
and answers. Also some fixes in answer tagging and edition closing.

bzr revid: tde@openerp.com-20140418132905-ja2rqcc2edqzu3jv
2014-04-18 15:29:05 +02:00
Turkesh Patel (Open ERP) 88600a6ee5 [MRG] merge with lp:openobject-addons
bzr revid: tpa@tinyerp.com-20140417112956-590gdsus7485mkqk
2014-04-17 16:59:56 +05:30
Turkesh Patel (Open ERP) cd25de6989 [ADD] website_doc: modue based on website_forum to show documentatoin based on questions and best answers.
bzr revid: tpa@tinyerp.com-20140416105122-2368jv31gy26ek32
2014-04-16 16:21:22 +05:30
Martin Trigaux bc0738e47e One morning I shot an elephant in my pajamas. How he got in my pajamas, I don't know.
bzr revid: mat@openerp.com-20140415131929-6pktlodmlgr2fuwz
2014-04-15 15:19:29 +02:00
Thibault Delavallée 4c8418648f [FIX] website_forum: fixed badges pgae
bzr revid: tde@openerp.com-20140411182751-immtoih95el07n6n
2014-04-11 20:27:51 +02:00
Thibault Delavallée 06776da4a9 [IMP] website_forum: karma management for vote
bzr revid: tde@openerp.com-20140411182254-0wyvzpcqxk4jyqev
2014-04-11 20:22:54 +02:00
Thibault Delavallée 2ec3a40334 [FIX] website_forum: cleaning in notification fetch + in profil editoin
bzr revid: tde@openerp.com-20140411180637-n1q4rmac5q1amqrw
2014-04-11 20:06:37 +02:00
Thibault Delavallée b9b087ffb5 [FIX] [CLEAN] website_forum: cleaned and fixed upvote, downvote and favourite
bzr revid: tde@openerp.com-20140411171029-zeqtrko98z1jr3sm
2014-04-11 19:10:29 +02:00
Thibault Delavallée 5a3f68a767 [FIX] website_forum: deleting a comment is back and works
bzr revid: tde@openerp.com-20140411170114-po5bgwc2z2qgs8f0
2014-04-11 19:01:14 +02:00
Thibault Delavallée a1e5f69cb3 [FIX] website_forum: post edition working again
bzr revid: tde@openerp.com-20140411164455-2mx3yic1hquu0pil
2014-04-11 18:44:55 +02:00
Thibault Delavallée b6a1359b4f [FIX] website_forum: convert comment to post is back and works
bzr revid: tde@openerp.com-20140411161916-rlobfxosniii66m4
2014-04-11 18:19:16 +02:00
Thibault Delavallée 133038c722 [FIX] website_forum: fixed toggle_correct for setting answers as correct
bzr revid: tde@openerp.com-20140411155622-18bdyddcs6hdln77
2014-04-11 17:56:22 +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 b72e49419a [FIX] website_forum: still fixing references to history
bzr revid: tde@openerp.com-20140410101820-x1gnf64f2xvbu2ld
2014-04-10 12:18:20 +02:00
Thibault Delavallée 107cc33d0e [MERGE] Sync with upstram: trunk-website-forum-tpa
bzr revid: tde@openerp.com-20140410080459-b5ngtlg34dblbtyr
2014-04-10 10:04:59 +02:00
Sunil Sharma 75773982a4 [imp]:improve activity search or improve string or remove unused string
bzr revid: ssh@tinyerp.com-20140410060400-blapg8mz6kw5bvoi
2014-04-10 11:34:00 +05:30
Thibault Delavallée 73cb78e211 [CLEAN] website_forum: cleaned vote feature before merging
bzr revid: tde@openerp.com-20140409173941-4pc7p8bre5btgbhu
2014-04-09 19:39:41 +02:00
Thibault Delavallée 21e3164f94 [CLEAN] website_forum: views is now a simple counter, incremented each time
someone see the question. Also use message_is_follower instead of re-implementing its
feature by checking the followers.
Views is updated through a method on the post object, incrementing the views counter
by 1.

bzr revid: tde@openerp.com-20140409172522-pwehz1k9z5rf765s
2014-04-09 19:25:22 +02:00