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
[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
- 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
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
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
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