Commit Graph

614 Commits

Author SHA1 Message Date
Fabien Meghazi eb7b1362cd [WIP] Menu working from database (not yet multi-website)
bzr revid: fme@openerp.com-20131025152446-si9gsjujzcn40hip
2013-10-25 17:24:46 +02:00
Xavier Morel 77e79435d0 [ADD] blog.tag access rights so public user can read blog
Issue was no access rights on blog.tag, add ability for all users to
read them, and for "knowledge" users to edit them.

Also fix pre-existing access rights and move them to knowledge users,
not users in general.

bzr revid: xmo@openerp.com-20131025102421-0c86z775nedzgqyi
2013-10-25 12:24:21 +02:00
Thibault Delavallée 980ec4bc9e [FIX] website_blog: contact us button in blog leading to
website.contactus page instead of doing nothing.

bzr revid: tde@openerp.com-20131024121430-ab84qfdulomukkf4
2013-10-24 14:14:30 +02:00
Thibault Delavallée 9f0dcae234 [FIX] website_blog: read_more link was wrong, leading to a 404.
The website_blog route is blog/<blog_id>, nothing related to category anymore.

bzr revid: tde@openerp.com-20131024113539-v3e7oi9j67vp27sx
2013-10-24 13:35:39 +02:00
Fabien Meghazi 7dd1934585 [FIX] option typo: unable_editor -> enable_editor
bzr revid: fme@openerp.com-20131023091152-h0hxw47hzfor2al8
2013-10-23 11:11:52 +02:00
Xavier Morel 3655f43e42 [IMP] warnings and shit
bzr revid: xmo@openerp.com-20131022151144-tblwba9rf77iuidl
2013-10-22 17:11:44 +02:00
ddm 41c49645e2 [FIX] Refactor SEO models
bzr revid: ddm@openerp.com-20131018092820-lqj9yz518262nknr
2013-10-18 11:28:20 +02:00
ddm d5bbf2501a [FIX] SEO for blog tags and categories
bzr revid: ddm@openerp.com-20131017115849-e696n3tj87zx3a9i
2013-10-17 13:58:49 +02:00
ddm a5d3a653b9 [FIX] SEO for blog posts
bzr revid: ddm@openerp.com-20131017104053-shrwu5ariisq7ub5
2013-10-17 12:40:53 +02:00
Fabien Meghazi 1cec2a5b6f [REM] Obsolete route /admin
bzr revid: fme@openerp.com-20131016093248-2q2c8ppkxxhfx1su
2013-10-16 11:32:48 +02:00
Fabien Meghazi 631b1cbc09 [MERGE] upstream
bzr revid: fme@openerp.com-20131014095642-qxl7ceqptfsj215l
2013-10-14 11:56:42 +02:00
Antony Lesuisse 25a260068b [IMP] renamse files to conform to the future openerp module guidelines
bzr revid: al@openerp.com-20131013030806-2236jpszm1morlg6
2013-10-13 05:08:06 +02:00
Thibault Delavallée fe40538aff [IMP] website_blog: website view and routes improvements
- 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
2013-10-11 15:00:59 +02:00
Thibault Delavallée c639b7aad6 [IMP] website_blog: updated models
- 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
2013-10-11 14:58:32 +02:00
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