- controllers: added management of country_id from post
- views: added option to display country list
- + various cleaning in display and controllers
bzr revid: tde@openerp.com-20131011161310-5dfz6vf4y5nc9mj9
- cleaning of routes: now having blog/cat/category_id, blog/blog_post_id to simplify
routes (previously: blog/category_id/blog_post_id, leading to issues when having routes
using sometimes category_id, sometimes blog_post_id as first argument).
- improved website templates: publish management, added duplication. misc cleaning
of the display.
bzr revid: tde@openerp.com-20131011130059-zum19mjvi336u9b4
- removed template field from category. This field was coming from the old document_page module. However
it has been decided to not keep the template feature on categories. Previously there was an onchange
in the document_page form view, allowign to define a template on the page category that will be a default
value for the page content. It has been decided to drop that feature because of the complexity to manage
snippets / html in the category without adding a category editor in the website front-end.
- updated data/demo/views accordingly
- to replace the template feature, it will be possible to duplicate a blog post directly in the front-end.
This will come in a future patch. However the copy method of blog_post has already been fixed to avoid
duplicating website_message_ids, and to reset website_published (_datetime) fields.
bzr revid: tde@openerp.com-20131011125832-dou1ep9ey2ffwa7s
- added protection again writing/reading directly on website_published: now done only
if this is a valid column
- added management of website_published_datetime, set everytime published is set to
True; this is done to be able to track publish date on messages and blog posts
notably.
bzr revid: tde@openerp.com-20131011125429-4zvm8txz67ew8tho
This is done to match the new module organization we want to set
for OpenERP modules. Model-related files should lie in a models
directory.
bzr revid: tde@openerp.com-20131011100057-bpe5620omyjsj0y0
[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
[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.
[FIX] website_blog: fixed class name for tests, importing class that does not exist anymore in trunk (was changed)
bzr revid: tde@openerp.com-20131011093913-qlkgqxvodlx41rnk
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
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
Integrated tutorial to guide the user through his first edits to his homepage.
The tutoril is displayed automatically when the user first installs the website module
and remains available via the Help menu.
bzr revid: ddm@openerp.com-20131009165103-70y6njd4vib0u4pe