Thibault Delavallée
2a2cbfc5ae
[FIX] website_forum: comment deletion now working by calling the right url
2015-02-03 12:26:33 +01:00
Jeremy Kersten
5d58b5551f
[FIX] website_forum: use other attr than value to init select2
...
The backend would otherwise fail because the value has been already processed
2014-12-01 20:03:31 +01:00
Jeremy Kersten
3c0cf7c977
[FIX] website_forum: restore bind to onclick because CKE Editor uses it, so on('click', fun) breaks things.
...
Fixes bugs with z-index error on some popups (image selector for example...)
2014-12-01 20:01:00 +01:00
Jeremy Kersten
c41109f2f0
[FIX] website_forum:
...
Remove useless document ready
Add select2 to frontend to allow public user to use tags
2014-11-18 16:20:58 +01:00
Jeremy Kersten
3288f07eaa
[FIX] website_forum:
...
Use if_dom_contains to check if we need to load js
Fix bug where _tag_to_write_vals was called like old API but model converter was new api
Move IsKarmaValid and Load CKE only in website_forum context
2014-11-18 14:31:36 +01:00
Jeremy Kersten
90b88e33cb
[FIX] website_forum - replace texttext by select2 for the tags fields
2014-11-17 16:50:34 +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
Jeremy Kersten
287ea2fb17
[IMP] website_*forum,blog,instantclick,...: Move Js in assets
2014-08-28 12:21:47 +02:00
Thibault Delavallée
abbe4ef76c
[FIX] website_forum: fixed issue with user vote badly taken into account when upvoting / downvoting + crash due to wrong field name. Backport of Leonardo Donelli PR for master.
2014-07-10 09:03:53 +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
Christophe Simonis
adf07a9490
[MERGE] forward port of branch saas-4 up to 5087612
2014-06-19 16:13:35 +02:00
Niels Huylebroeck
e59077b0f9
Fix displaying of minKarma requirements
2014-06-19 15:23:54 +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
Xavier Morel
023aa7acdf
[FIX] website_forum links which should not be, post-install crawler
...
* move URLs of purely-JS-hook <a> to data-href so the crawler does not try to
access them (they're JSON-RPC endpoints...)
* replace side-effecting links (...) by styled buttons
* fix crawler to not take fragments in account when deduplicating and
navigating URLs
2014-05-12 18:34:55 +02:00
Thibault Delavallée
252be1b9ab
[FIX] website_forum: various fixes and usability improvements
...
- question title is now a link
- fixed a crash when trying to see badges in the 'new badge' notification
- improved the tags manager: manage tag at blur event (otherwise the last tag
was ften not created) + manage already-existing tags
bzr revid: tde@openerp.com-20140423142034-5si58h4jgd1jyyem
2014-04-23 16:20:34 +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
Thibault Delavallée
018624ea43
[IMP] website_forum: better error messages about karma
...
bzr revid: tde@openerp.com-20140418151608-0pb3ui97aksb9en1
2014-04-18 17:16:08 +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
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
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
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
e51049e8ed
[MERGE] Sync with upstream
...
bzr revid: tde@openerp.com-20140411134052-x74otuwuxoz20qab
2014-04-11 15:40:52 +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
Turkesh Patel (Open ERP)
3b9ac48122
[ADD] added tooltip on some icons, improved string.
...
bzr revid: tpa@tinyerp.com-20140410104910-err7rc2efgvsxti7
2014-04-10 16:19:10 +05:30
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
Turkesh Patel (Open ERP)
03bf0c072f
[ADD] added functionality to make question favourite, and improved some code
...
bzr revid: tpa@tinyerp.com-20140407072032-tf6wjo51ibb95nw0
2014-04-07 12:50:32 +05:30
Turkesh Patel (Open ERP)
51d22836d1
[IMP] improved code to change background of answer when accepted.
...
bzr revid: tpa@tinyerp.com-20140404104037-lfyrfo896v9u3hnb
2014-04-04 16:10:37 +05:30
Turkesh Patel (Open ERP)
b8f3135479
[IMP] improvedd code to set proper colour on voted thumb and accepted answer.
...
bzr revid: tpa@tinyerp.com-20140404092212-7ey70f7dywtox0zc
2014-04-04 14:52:12 +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)
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)
c4b54541b4
[ADD] added code to chek user have enough karma of not to add image or link.
...
bzr revid: tpa@tinyerp.com-20140401084631-41ezq2jy9r7ln6sx
2014-04-01 14:16:31 +05:30
Turkesh Patel (Open ERP)
333315a431
[ADD] add functionality to select hiostory when editing question or answer.
...
bzr revid: tpa@tinyerp.com-20140331123243-ig3h0bpmyufsk874
2014-03-31 18:02:43 +05:30
Sunil Sharma (OpenERP)
160f7fd3a8
[imp]:improve post history
...
bzr revid: sunilsharma.sharma07@gmail.com-20140328133404-e6vkg9f4rjm6qmp8
2014-03-28 19:04:04 +05:30
Sunil Sharma (OpenERP)
9de4ff0358
[imp]:user activity based on karma
...
bzr revid: sunilsharma.sharma07@gmail.com-20140328101915-w6uq2m5sbjlb1qpg
2014-03-28 15:49:15 +05:30
Turkesh Patel (Open ERP)
f072c63ea3
[IMP] improved code of tags to add new tags, load tags by ajax.
...
bzr revid: tpa@tinyerp.com-20140326130950-m5bzcjfhigeareij
2014-03-26 18:39:50 +05:30
Sunil Sharma (OpenERP)
556d7dfa2a
[imp]:improve own_post or annonymous user vote alert
...
bzr revid: sunilsharma.sharma07@gmail.com-20140326121424-a1oompnmu2f0132t
2014-03-26 17:44:24 +05:30
Turkesh Patel (Open ERP)
1d69829083
[IMP] improved code to allow users to perform operations
...
bzr revid: tpa@tinyerp.com-20140326102654-chkaxf71i5n81x6l
2014-03-26 15:56:54 +05:30
Sunil Sharma (OpenERP)
18da293363
[imp]:improve vote_alert warrning
...
bzr revid: sunilsharma.sharma07@gmail.com-20140326090240-mwzpzbrt79f1k33w
2014-03-26 14:32:40 +05:30
Turkesh Patel (Open ERP)
f6fa645e8f
[IMP] improved code to do not load tags on every page, added new website_forum.js file.
...
bzr revid: tpa@tinyerp.com-20140325061901-3r0a2rhq74gnt1yt
2014-03-25 11:49:01 +05:30