Commit Graph
74881 Commits
Author SHA1 Message Date
Christophe Matthieu bd16487da1 [IMP] website_sale: change css and demo data
bzr revid: chm@openerp.com-20130924152639-v6hr0laatjcbxe39
2013-09-24 17:26:39 +02:00
Thibault Delavallée f702cafdc5 [FIX] [CLEAN] website_project: added controller and dummy template for task. Will have to be improved, but at least we have a controller. Some cleaning has been performed, notably about indentation.
bzr revid: tde@openerp.com-20130924145445-udqk94zvwq72mr24
2013-09-24 16:54:45 +02:00
Xavier Morel 0cfd15ff72 [IMP] remove unnecessary intermediate updating of values parameter to render
bzr revid: xmo@openerp.com-20130924144018-dz68g882mpj4rmt8
2013-09-24 16:40:18 +02:00
Xavier Morel 2c4560aca6 [ADD] edition of link labels via dialog
bzr revid: xmo@openerp.com-20130924135120-epq1w7wb1a6jfxqn
2013-09-24 15:51:20 +02:00
Thibault Delavallée 0c040ae237 [MERGE] [IMP] [DEMO] event, website_event improvements
[IMP] [DEMO] event: cleaned demo data. Also renamed note field into description, and moved it out of groups_noone, in order to effectively use it to hold the html description of the event.

[IMP] event_sale: cleaned demo data

[ADD] website_mail: added mail_thread file that hold website_message_ids field, holding published comments. Use it for public objects. However as inheritance seems to be still buggy, this field is redefined in website_blog and website_event (at least) to be able to use it. Remove specific declarations when the bug is fixed.

[IMP] [ADD] website_event:
- added skeleton directory for doc
- added skeleton directory for tests
- added dependency towards website_mail module, to benefit from follow feature
- cleaned demo data
- use website_mail for follow / unfollow mechanism
- added website_message_ids field, use it in view
- some improvements in website view (title, event description)

[FIX] website_sales: somewhat fixed partner information fetch in checkout; whole code of those controllers is really obfuscated and very dubious.

bzr revid: tde@openerp.com-20130924130517-hzi2qm108ec65viq
2013-09-24 15:05:17 +02:00
Thibault Delavallée 39726ffe2d [CLEAN] removed print statement
bzr revid: tde@openerp.com-20130924124426-7pz7a9cinllcnspn
2013-09-24 14:44:26 +02:00
Thibault Delavallée ac2384ee47 [IMP] website_sale: basic cleaning of checkout method about getting partner data. In view, do not use get when the data, use brackets, this helps tracking issues in your process.
bzr revid: tde@openerp.com-20130924124253-gld6lwzm3dc8bhwn
2013-09-24 14:42:53 +02:00
Thibault Delavallée 90eba9e022 [MOVE] Do not be afraid to put different models in different files. Stop putting shit everywhere.
bzr revid: tde@openerp.com-20130924121944-ifjosr5yol6b9tsy
2013-09-24 14:19:44 +02:00
Christophe Matthieu f181f21cf4 [IMP] website: publish button with link to backend
bzr revid: chm@openerp.com-20130924115004-xjpy6sayze2she1w
2013-09-24 13:50:04 +02:00
Xavier Morel 8b06e72716 [FIX] block-level links
bzr revid: xmo@openerp.com-20130924112402-twcgdh0b18vzdwru
2013-09-24 13:24:02 +02:00
Thibault Delavallée d2e2c6065b [ADD] website_mail: added forgotten mail_thread file
bzr revid: tde@openerp.com-20130924112152-2n1h04qaicmvocqa
2013-09-24 13:21:52 +02:00
Thibault Delavallée b1f327c985 [MERGE] Merged with main website branch
bzr revid: tde@openerp.com-20130924112050-yzrhf7pm32ikzb31
2013-09-24 13:20:50 +02:00
Thibault Delavallée 6a3939f932 [IMP] website_event: title of the main events page summarises the search
bzr revid: tde@openerp.com-20130924111957-mzxnibdgbb8d09zo
2013-09-24 13:19:57 +02:00
Xavier Morel 7533fe77b4 [FIX] paste in webkit-ish browsers
clipboard plugin was getting lost due to method used to get a readonly
toplevel editor with editable sub-sections in it.

The clipboard plugin creates a hidden pasteboard element to safely get
a the clipboard data before inserting it at paste point, this
clipboard may have to be made @contenteditable if it's created in a
readonly area. Which was the case here: the pasteboard was inserted at
the root of the editor, which is not editable.

But because of @data-cke-editable being explicitly set, ckeditor would
believe it had inserted the pasteboard in an editable section and thus
would *not* set its @contenteditable leading to a useless readonly
pasteboard.

The purpose of @data-cke-editable was to make the editor itself
"editable" for cke (in order for the toolbar to not be disabled) while
it would not actually be editable (@contenteditable) for users.

This is better reimplemented by calling API methods to make the editor
editable but its root element not editable, one of the improvements
being that commands (and thus toolbar buttons) now switch state
correctly based on context.

bzr revid: xmo@openerp.com-20130924110601-gfvc395rsedpnoh3
2013-09-24 13:06:01 +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 5a0236e014 [IMP] event: added oe_structure in demo data
bzr revid: tde@openerp.com-20130924105133-69gr0610fnc7310z
2013-09-24 12:51:33 +02:00
Christophe Matthieu 02f2f28b42 [FIX] website/image controller display image if website_published
bzr revid: chm@openerp.com-20130924102921-ca83jve77j0su2zu
2013-09-24 12:29:21 +02:00
Christophe Matthieu 51fae1fcf8 [IMP] website_sale display only non empty category in non editable mode
bzr revid: chm@openerp.com-20130924102834-op0bm475w20x35j4
2013-09-24 12:28:34 +02:00
Thibault Delavallée 620e527116 [IMP] website_event: removed description_website, now using standard description field.
Cleaned demo data.

bzr revid: tde@openerp.com-20130924102651-fym6t9mgq6mpy3kz
2013-09-24 12:26:51 +02:00
Thibault Delavallée 754fbd0d79 [IMP] event_sale: cleaned demo data, using standard xml_ids.
Also removed website_published and description website fields, not necessary at all.

bzr revid: tde@openerp.com-20130924101924-0onpypxq0806dzb7
2013-09-24 12:19:24 +02:00
Thibault Delavallée 4c7d96e33d [IMP] event:
- note (Description field) is renamed into Description and set to an html field
- added demo data from website_event to base event, no need to add a new field and to delay demo data
- updated form view

bzr revid: tde@openerp.com-20130924101020-b1xx96vdgcfd2mz2
2013-09-24 12:10:20 +02:00
Christophe Matthieu abc273e9a1 [IMP] website_sale: change size y when category is displayed
bzr revid: chm@openerp.com-20130924085507-9m1gsdnlsfgn4fj4
2013-09-24 10:55:07 +02:00
Thibault Delavallée 7896b7e43b [ADD] website_event: added dependency towards website_mail
bzr revid: tde@openerp.com-20130924084751-v1447wgjyo1dkg8t
2013-09-24 10:47:51 +02:00
Thibault Delavallée 5bcd05aaba [ADD] website_event: added skeleton directories for doc and tests
bzr revid: tde@openerp.com-20130924084630-p1lw7b9lj2ijqti3
2013-09-24 10:46:30 +02:00
Christophe Matthieu 458121ab5c [IMP] website_sale: when the products is displayed from a search, use the same size x,y for all products
bzr revid: chm@openerp.com-20130924084100-y6pgvislcpdo9izx
2013-09-24 10:41:00 +02:00
Thibault Delavallée 2c9f267d31 [MERGE] [IMP] [DEMO] event: demo data improvements
bzr revid: tde@openerp.com-20130924083721-8j81hwtqdx8eykxp
2013-09-24 10:37:21 +02:00
Christophe Matthieu b1cf178978 [MERGE] website_sale: add layout options and css
bzr revid: chm@openerp.com-20130924083349-1woicpx50668272g
2013-09-24 10:33:49 +02:00
Christophe Matthieu 9bb4af7d9f [IMP] website snippet: add comment for auto set snippet and remove data-snippet-id in website_sale view
bzr revid: chm@openerp.com-20130924082423-ylzeprl3w4tlb83e
2013-09-24 10:24:23 +02:00
ima-openerp a7e1ae6b61 [IMP]added ticket data for events.
bzr revid: ishwarmalvi13@gmail.com-20130924070446-59j3slvcf8kzgerk
2013-09-24 12:34:46 +05:30
Paramjit Singh Sahota ce9a7cccce [MERGE] Merged trunk-website-al
bzr revid: psa@tinyerp.com-20130924064913-fgr3btfwwbtb68xn
2013-09-24 12:19:13 +05:30
Paramjit Singh Sahota 8fc3877646 [IMP] Improved code to make small way to change to list view rather than writing the whole product template code twice.
bzr revid: psa@tinyerp.com-20130924064617-40ruht7l15c08p7y
2013-09-24 12:16:17 +05:30
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 65a0fcd394 [MERGE] Sync with main branch
bzr revid: tde@openerp.com-20130923154116-9m974057rmnn542m
2013-09-23 17:41:16 +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
Xavier Morel 68d9add6ce [ADD] saving m2o fields
bzr revid: xmo@openerp.com-20130923151633-61v7gw0llol4fvyo
2013-09-23 17:16:33 +02:00
Xavier Morel d71a200543 [FIX] handling of multiple children in an HTML field
bzr revid: xmo@openerp.com-20130923145744-3dpta6w2qnqe851b
2013-09-23 16:57:44 +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 f420f98492 [FIX] turns out a new mandatory positional argument blows things up a bit
bzr revid: tde@openerp.com-20130923143534-qnab6bv6upw1vt70
2013-09-23 16:35:34 +02:00
Thibault Delavallée f217813c62 [FIX] call write with a list of ids because I can't be arsed to handle the other case
bzr revid: tde@openerp.com-20130923143501-99onvm218vg222pq
2013-09-23 16:35:01 +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
Xavier Morel f040cfc7b1 [FIX] placeholder image when edition starts
it's apparently better when it's completely broken and can't be edited. YMMV

bzr revid: xmo@openerp.com-20130923134914-1si4fz8fg72iktvw
2013-09-23 15:49:14 +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 dcdefd0e8d [IMP] website_mail: added override of mail.message search and check_access_rule to restrict messages vsible by public user to have website_published = True
bzr revid: tde@openerp.com-20130923134639-ou1hkwzetm9st95f
2013-09-23 15:46:39 +02:00
ddm 5c9bdf1dcb [IMP] SEO sitemap.xml + robots.txt
bzr revid: ddm@openerp.com-20130923134240-4qx4pyfv2rl65xyz
2013-09-23 15:42:40 +02:00
ddm d910b8c533 [FIX] improve keyword detection
bzr revid: ddm@openerp.com-20130923133703-ysil60j2t08gk0kf
2013-09-23 15:37:03 +02:00
Paramjit Singh Sahota c931f60bd3 [MERGE] MERGED trunk-website-al
bzr revid: psa@tinyerp.com-20130923133137-heq2s7r9hjlm150g
2013-09-23 19:01:37 +05:30
Paramjit Singh Sahota 7a76a45a50 done the same changes in sass as in css.
bzr revid: psa@tinyerp.com-20130923131611-eoexbw2a9dbxxyum
2013-09-23 18:46:11 +05:30
Xavier Morel 59b46346b1 [FIX] crappy snippets initialization signal
bzr revid: xmo@openerp.com-20130923130321-lpbxy7qckcu0svrp
2013-09-23 15:03:21 +02:00