Commit Graph

550 Commits

Author SHA1 Message Date
Thibault Delavallée 002f44a90b [CLEAN] website_blog: cleaned website templates
Cleaned options: tags, hide author name, ... and default values for those options. We decided
to display tags, but hide blog name. Default implementation is a single blog layout.

Fixed display without right column: should take all page width.

Updated template ids: option begin by opt_ to easily find them when grepping / searching.

bzr revid: tde@openerp.com-20131011091815-jfaxzml35f2j37be
2013-10-11 11:18:15 +02:00
Thibault Delavallée 84faec66c3 [MOV] website_blog: module organization cleaning. Files have been moved accordingly to the new organization
we would like to impose in OpenERP addons :
- model-related files: in models directory
- data/demo files: in data directory
- renamed sexurity/website_mail.xml to website_blog.xml, to avoid confusing the module with website_mail

bzr revid: tde@openerp.com-20131011081215-jnsyqyk7zzrw22qg
2013-10-11 10:12:15 +02:00
Thibault Delavallée 1358d5da3c [FIX] website_blog: tests: fixed class name for tests, importing class that does not exist anymore in trunk (was changed)
bzr revid: tde@openerp.com-20131011080512-0yijt0ppy7fpq5sn
2013-10-11 10:05:12 +02:00
Fabien Meghazi 6a37c2fb82 [IMP] Use view 'name' as title for main_object of type ir.ui.view
bzr revid: fme@openerp.com-20131010145525-417zbwltyqzbjolz
2013-10-10 16:55:25 +02:00
Fabien Meghazi 9b40e849d6 [WIP] new title managment in templates. expose main_object for seo
bzr revid: fme@openerp.com-20131010132907-xxmg96qmcw9j5f2d
2013-10-10 15:29:07 +02:00
Fabien Pinckaers 264186c307 [IMP] icons
bzr revid: fp@openerp.com-20131004224358-7v3wjqr6v3lulfls
2013-10-05 00:43:58 +02:00
Fabien Pinckaers e7d693c1c2 [IMP] Website Blog Imgs
bzr revid: fp@openerp.com-20131004222835-li0gipundo5na1pw
2013-10-05 00:28:35 +02:00
Christophe Matthieu 1ad5e2f0f7 [IMP] website: remove website.config.settings
bzr revid: chm@openerp.com-20131003150048-elm5kiwabrh1j6gt
2013-10-03 17:00:48 +02:00
Christophe Matthieu 61d6d2dacd [FIX] crappy publisher change
bzr revid: chm@openerp.com-20131002154528-yno7lqkuddidjbis
2013-10-02 17:45:28 +02:00
Thibault Delavallée 607de396ba [MERGE] Sync with trunk, until revision 8927
bzr revid: tde@openerp.com-20131002135442-g8l2vpkq7h0roqdt
2013-10-02 15:54:42 +02:00
Christophe Matthieu 84e24d62b5 [IMP] add website_hr_recruitment
Module for jobs displayed on the website.
The public user can apply or follow the jobs.

little fixes in website_mail

bzr revid: chm@openerp.com-20131002115603-ikgipps88vbf69ef
2013-10-02 13:56:03 +02:00
Thibault Delavallée 1d2afb7cbf [IMP] website_blog: updated blog_short_content to new html cleaner
bzr revid: tde@openerp.com-20131001125542-um5jv06a987vyftc
2013-10-01 14:55:42 +02:00
Thibault Delavallée 726cda367e [FIX] website and all derived addons: fixed imports broken when moving
website.py to models/ directory in website (revision 9491 revid:xmo@openerp.com-20130930145358-qh7xdicgg21prsk4).

bzr revid: tde@openerp.com-20131001085739-hoczgpqrv2nrr6lb
2013-10-01 10:57:39 +02:00
Thibault Delavallée f749620205 [IMP] website_blog: option to show category
bzr revid: tde@openerp.com-20130930162141-mfbl9gawcmureby9
2013-09-30 18:21:41 +02:00
Thibault Delavallée cac32ff626 [ADD] website: added a shorted version of publish management, to allow smaller inclusion in some views like blog post comments
bzr revid: tde@openerp.com-20130930154511-r0mng3cxqu1ox3g2
2013-09-30 17:45:11 +02:00
Thibault Delavallée 416cdf4861 [FIX] website_blog: image is on res.partner, not res.users
bzr revid: tde@openerp.com-20130930144950-dehfs8h4ia9eab18
2013-09-30 16:49:50 +02:00
Thibault Delavallée eb68e5fa67 [IMP] website_blog: removed follow / unfollow from blog posts; only categories are followable through website interface
bzr revid: tde@openerp.com-20130930143605-nlrkg7yhm5c70o4f
2013-09-30 16:36:05 +02:00
Thibault Delavallée 857f255d95 [IMP] website_mail, website_blog: improved follow / unfollow (always display email, more visible)
bzr revid: tde@openerp.com-20130930143357-0r61uikrf8nx92fg
2013-09-30 16:33:57 +02:00
Fabien Pinckaers 05ea147cd7 [IMP] margin bottom post
bzr revid: fp@tinyerp.com-20130930110252-umrhxdi5rtel10ju
2013-09-30 13:02:52 +02:00
Fabien Pinckaers 716ea14d9a [IMP] blog post layout
bzr revid: fp@tinyerp.com-20130930082102-mdczj8awbfohvhsv
2013-09-30 10:21:02 +02:00
Christophe Matthieu 5dbd093989 [FIX] website_blog: remove uid from context value and use user_id
bzr revid: chm@openerp.com-20130930071022-qijjrr1tfn66tytl
2013-09-30 09:10:22 +02:00
Fabien Pinckaers 395310b276 [IMP] Job Announces
bzr revid: fp@openerp.com-20130929213721-ytbpd16l00lfjdd2
2013-09-29 23:37:21 +02:00
Fabien Pinckaers 97c0c0d641 [IMP] Promo Ribbon for shop
bzr revid: fp@openerp.com-20130929153420-k01nqjj234tp6ovc
2013-09-29 17:34:20 +02:00
Fabien Pinckaers db45a1fafc [IMP] demo dta blogs
bzr revid: fp@openerp.com-20130929130954-ablntb4s0zt69z03
2013-09-29 15:09:54 +02:00
Fabien Pinckaers c71a4a899b [IMP] CSS for blogs: read more
bzr revid: fp@openerp.com-20130929130547-yno7pjl1cah5jnwf
2013-09-29 15:05:47 +02:00
Fabien Pinckaers 7a22ff2e36 [IMP] demo data for blogs
bzr revid: fp@openerp.com-20130929130307-jxqoyoydnthhs3qj
2013-09-29 15:03:07 +02:00
Fabien Pinckaers 96b23a2dcc [IMP] Better Blog Design
bzr revid: fp@openerp.com-20130929123926-o790lnajkawona5l
2013-09-29 14:39:26 +02:00
Fabien Pinckaers 1a869abd0d [IMP] Website Blogs
bzr revid: fp@openerp.com-20130929084853-whow6sq3ns007fqx
2013-09-29 10:48:53 +02:00
Xavier Morel aae0a815d2 [IMP] replace instances of t[@t-field], they're a pain in the ass
bzr revid: xmo@openerp.com-20130925112803-ya54yb2kwdodj3y5
2013-09-25 13:28:03 +02:00
Christophe Matthieu c66c5d5b6a [IMP] change publish button, fix website_sale product order + push top/bottom
bzr revid: chm@openerp.com-20130926111854-22ikjc2enj0hi0qu
2013-09-26 13:18:54 +02:00
Fabien Pinckaers b0f8591ec2 [IMP] Website blogs
bzr revid: fp@openerp.com-20130924211514-mr59mfwtl5u9z4sd
2013-09-24 23:15:14 +02:00
Fabien Pinckaers 0bd7ad63e3 [IMP] blogs layout
bzr revid: fp@openerp.com-20130924204238-eg086hqaja9el5qw
2013-09-24 22:42:38 +02:00
Fabien Pinckaers 73cc9fc0e5 [IMP] Blogs + Small CSS on empty blocks
bzr revid: fp@tinyerp.com-20130924193819-hhil6lvkhm9krwg8
2013-09-24 21:38:19 +02:00
Thibault Delavallée 95e7c0f61c [IMP] website_event: use website_mail follow template and controller instead of redefining it
bzr revid: tde@openerp.com-20130924105206-9fhzpd3f3os1eyar
2013-09-24 12:52:06 +02:00
Thibault Delavallée 3862a4e83d [MERGE] website, website_mail, website_blog: Mail/Blog Update part I
[REF] document_page: refactored the module, towards using it in website_blog
Main modifications:
- document.page is now blog.post
- category is now a blog.category object, instead of a document.page with type='category'
- added blog.tag model, to be able to tag posts, and a m2m relationship between blog.post and blog.tag
- cleaned document.page, removing type and unnecessary features
- added chatter on blog.post, blog.category
- added subtypes to enable direct follow of posts when following a category
- updated document.page.history (now blog.post.history)
- commented menu creation, because this does not seem to be necessary anymore considering the new website
- updated wizard.document.page.history.show_diff, now blog.post.history.show_diff
- updated all views accordingly, as well as demo data
- removed the use of document_user group, simplified rules on blog.post
- misc cleaning

[REF] website_mail refactoring; document_page, website_blog: merge of the two modules. document_page is now contained inside website_blog, last part of the refactoring before
cleaning and improving the blog feature. Usefull files have been transfered. Translations have been discarded, they will have to be re-translated again. Document_page module is now dead. Long live website_blog!

The module is now called website_blog, and not based on mail.group anymore. It uses document_page module, previously renamed blog.post (see previous commits). Refactored controllers and views to work with the new model.

[ADD] Added website_mail module, that holds mail-related stuff necessary for the website. This is an auto-install module.

Also added templates, js and css to have a generic follow button. Based on the same principle as publish, there is now a generic button to follow or unfollow objects in openerp. This should replace all custom instance of subscription in other addons.

[FIX] website:
- [FIX] call write with a list of ids because I can't be arsed to handle the other case
- [FIX] turns out a new mandatory positional argument blows things up a bit

bzr revid: tde@openerp.com-20130923155917-ak0gwah9bh3em6ab
2013-09-23 17:59:17 +02:00
Thibault Delavallée ec22dee6d1 [FIX] website_blog: fixed m2m between blog.post and blog.tag
bzr revid: tde@openerp.com-20130923155605-r2x40550sq71mhtx
2013-09-23 17:56:05 +02:00
Thibault Delavallée a42d020a34 [CLEAN] [IMP] website_blog: cleaned blog.post, blog.post.category and blog.tag models; added basic appearance of tags and base routing method in controllers. Will have to be improved in a future branch.
bzr revid: tde@openerp.com-20130923154039-ppn1loy002tcppun
2013-09-23 17:40:39 +02:00
Thibault Delavallée 5ebd3c5047 [IMP] website_blog: blog_post: public user limited to published posts
bzr revid: tde@openerp.com-20130923144853-unxxa7i5u5zfskhk
2013-09-23 16:48:53 +02:00
Thibault Delavallée 0d49f723eb [CLEAN] website_blog: misc cleaning
bzr revid: tde@openerp.com-20130923144422-7vuocxo8bntvuana
2013-09-23 16:44:22 +02:00
Thibault Delavallée a1ea8bbc8a [MERGE] Sync with main website branch
bzr revid: tde@openerp.com-20130923135527-c385v0ewn0166wrf
2013-09-23 15:55:27 +02:00
Thibault Delavallée 4b0c341f2b [CLEAN] website_blog: cleaned controllers blog code
bzr revid: tde@openerp.com-20130923134702-d426ypzic6g9n1oj
2013-09-23 15:47:02 +02:00
Thibault Delavallée 35ce110ab0 [IMP] website_blog: improved blog post view, to integrate comments and a comments pager
bzr revid: tde@openerp.com-20130923124248-zuuoqbyb1d5sqi6a
2013-09-23 14:42:48 +02:00
Thibault Delavallée 54f1895330 [IMP] website_blog:
- content is now an html field
- removed print statements
- uses new expand options of html_email_clean to redirect the read more to the blog post
- fixed demo data

bzr revid: tde@openerp.com-20130923113054-bb02cerlfuruquwr
2013-09-23 13:30:54 +02:00
Thibault Delavallée 4d59eb9aeb [REM] website_blog: security: removed unnecessary rule on mail.message, cleaned indentation
bzr revid: tde@openerp.com-20130923104417-cijlf4d1sbbi5am3
2013-09-23 12:44:17 +02:00
Thibault Delavallée daf5aed1a3 [IMP] website_blog: re-enabled navigation
bzr revid: tde@openerp.com-20130923103534-4sbb1gqylekhmbim
2013-09-23 12:35:34 +02:00
Thibault Delavallée 8c89bfda88 [IMP] website_blog:
Some file renaming
Delegated followers of categories / blog posts management to website_mail, allowing to 
remove some templates and controllers
Various cleanings and improvements in blog templates

bzr revid: tde@openerp.com-20130923101730-b9606qcyd3sj2pwx
2013-09-23 12:17:30 +02:00
Thibault Delavallée 9ce9bbc138 [FIX] website_blog: quite fixed demo data
bzr revid: tde@openerp.com-20130920153823-36rhrr8wcyncw0wn
2013-09-20 17:38:23 +02:00
Thibault Delavallée 0ae0ebcdf6 [DOC] website_blog: added skeleton for doc, and added changelog with initial create mention of the module.
bzr revid: tde@openerp.com-20130920142934-ak0tvgdlti1z6oq1
2013-09-20 16:29:34 +02:00
Thibault Delavallée 4f1cdefa8d [REF] document_page, website_blog: merge of the two modules.
document_page is now contained inside website_blog, last part of the refactoring before
cleaning and improving the blog feature. Usefull files have been transfered.

Translations have been discarded, they will have to be re-translated again.

Document_page module is now dead. Long live website_blog!

Misc:
- some fixes in website_blog and wizard
- commented some sections of yml tests because they should not apply anymore
- added empty files for python unit tests in website_blog

bzr revid: tde@openerp.com-20130920142701-4lp1my3ajga2puxl
2013-09-20 16:27:01 +02:00
Thibault Delavallée 4c3b516a7b [REF] website_mail refactoring
It is now called website_blog, and not based on mail.group anymore. It uses
document_page module, previously renamed blog.post (see previous commits).

Refactored controllers and views to work with the new model.

Added website_mail module, that holds mail-related stuff necessary
for the website. This is an auto-install module.

bzr revid: tde@openerp.com-20130920135643-rey5bwza2e96v7h5
2013-09-20 15:56:43 +02:00