Commit Graph
74548 Commits
Author SHA1 Message Date
Xavier Morel 688cd146ef [FIX] disable removal of empty elements in ckeditor
we use empty elements for fontawesome icons, ckeditor removing them is
unexpected and bad nogood.

bzr revid: xmo@openerp.com-20130910090232-p6t5qaveo2q2nyth
2013-09-10 11:02:32 +02:00
Xavier Morel 8356560144 [IMP] move global CKEDITOR configuration to JS code
bzr revid: xmo@openerp.com-20130910085604-pye2vm3wo8qev11d
2013-09-10 10:56:04 +02:00
Xavier Morel 44e75d37b1 [FIX] markup cleanup: don't forget to remove oe_dirty flag class
bzr revid: xmo@openerp.com-20130910073112-nibl2n2qo3adkppe
2013-09-10 09:31:12 +02:00
Xavier Morel 35a0a0b5ea [FIX] default plugins changes? Explicitly configure CKEDITOR plugins from now on
bzr revid: xmo@openerp.com-20130910065756-99kz2z4kddt4f7bo
2013-09-10 08:57:56 +02:00
Xavier Morel ca40afd144 [FIX] necessary widget implementation
``inline`` is now automatically inferred on a per-widget basis if not
specified.

``inline`` true|false tells the widget whether it should work on
inlines (e.g. span) or blocks (e.g. p). Specifying the wrong one blows
up because the wrapper is incorrect (inline==false on an inline
element will wrap it in a div and add linefeeds, inline==true on a
block element will wrap it in a span which will automatically split up
in multiple elements leading to downcast blowing up because the wrong
wrapper will be selected).

Since last time, inline inference was added: if *unspecified* widget
will check what type of object it's called on (using
``CKEDITOR.dtd.$inline``) and generate the correct wrapper for that
type.

=> fix misbehavior by removing explicit inline spec.

Also remove unused init and data methods.

bzr revid: xmo@openerp.com-20130909152312-1m5kwvgw04gcrfkv
2013-09-09 17:23:12 +02:00
Xavier Morel 2cbfb88437 [FIX] order parameter in view.save call
bzr revid: xmo@openerp.com-20130909111040-ijffmxt8i81h5ynq
2013-09-09 13:10:40 +02:00
Xavier Morel c29c3290c0 [FIX] use HTML parser for view sections coming back from JS
bzr revid: xmo@openerp.com-20130909111010-a0v9m7i02a2mo17v
2013-09-09 13:10:10 +02:00
Xavier Morel 55a84256a3 [FIX] make RTE activate again
bzr revid: xmo@openerp.com-20130909104238-6deglc3axbu8zsez
2013-09-09 12:42:38 +02:00
Xavier Morel 19c8912cb3 [FIX] updated save, save RPC call
bzr revid: xmo@openerp.com-20130909095112-yihzl1oyop9641uj
2013-09-09 11:51:12 +02:00
Xavier Morel f6762f79e6 [MERGE] from trunk likely completely broken
bzr revid: xmo@openerp.com-20130909094437-kyxvgoz7zxt3fes0
2013-09-09 11:44:37 +02:00
Fabien Meghazi e980e1c715 [FIX] context merge
bzr revid: fme@openerp.com-20130909075031-rvwxjdc07zhq0m8u
2013-09-09 09:50:31 +02:00
Xavier Morel 81118812a8 [ADD] moved view.save method from server
bzr revid: xmo@openerp.com-20130906130916-txj4mwhulb89kpov
2013-09-06 15:09:16 +02:00
Xavier Morel 76409db724 [FIX] bootstrap makes buttons unselectable, which breaks RTE. Revert behavior when button in section being edited
bzr revid: xmo@openerp.com-20130906101658-m35uqghtvi3kd7bc
2013-09-06 12:16:58 +02:00
Xavier Morel f4c27f6332 [FIX] move view's page attribute to module
bzr revid: xmo@openerp.com-20130906091351-37cr1g2scvpiyc7u
2013-09-06 11:13:51 +02:00
Xavier Morel e56953d94e [ADD] new table-creation button
bzr revid: xmo@openerp.com-20130906085045-zpemzy2akh3bz7q3
2013-09-06 10:50:45 +02:00
Fabien Meghazi d2e90f0621 [BREAK] request.context everywhere
some stuff broken will be repaired by chm

bzr revid: fme@openerp.com-20130905151803-7d17us7rn9yubnb2
2013-09-05 17:18:03 +02:00
Christophe Matthieu c80cf7d064 [IMP] website_event: add subscribe option and comments
bzr revid: chm@openerp.com-20130905104212-m6cybnbif4tsn9t3
2013-09-05 12:42:12 +02:00
Christophe Matthieu 5943962ec1 [FIX] website_sale: display error with bootstrap 3
bzr revid: chm@openerp.com-20130905095933-1f6qabic7zeafn7a
2013-09-05 11:59:33 +02:00
Christophe Matthieu 7fee8f5609 [IMP] website: change footer xml
bzr revid: chm@openerp.com-20130905092927-2aixeyk1z5ot4oku
2013-09-05 11:29:27 +02:00
ddm 98a0b8c2f8 SEO move templates to website.seo.xml
bzr revid: ddm@openerp.com-20130905092038-a0ao4dxhjz902lqg
2013-09-05 11:20:38 +02:00
Christophe Matthieu c68f584988 [FIX] website: sass & css
bzr revid: chm@openerp.com-20130905082042-6n359n6ot5wntk0k
2013-09-05 10:20:42 +02:00
Christophe Matthieu a837eb1ba8 [FIX] website_sale: add product; update product number in cart
bzr revid: chm@openerp.com-20130905080407-4pwjvo1hxabf1a2r
2013-09-05 10:04:07 +02:00
Fabien Meghazi 6621c1275b [IMP] Refactoring using webcontext
bzr revid: fme@openerp.com-20130904153236-gc78bs8pxeprktkr
2013-09-04 17:32:36 +02:00
Xavier Morel 43ca2585c5 [FIX] don't try to be brokenly clever about preventing click on links during edition
bzr revid: xmo@openerp.com-20130904151021-otzw635in9lhh1e1
2013-09-04 17:10:21 +02:00
Xavier Morel 35fb66e8cf [IMP] use mutation observers on non-RTE editions
bzr revid: xmo@openerp.com-20130904141247-0bjm69ooy310egoj
2013-09-04 16:12:47 +02:00
Xavier Morel cdffb9943f [IMP] mutations filtering, only ignore cke_focus being removed, not all editor root changes
bzr revid: xmo@openerp.com-20130904140744-5ytn6bwfxrv52g9f
2013-09-04 16:07:44 +02:00
Christophe Matthieu 20e0db456f [IMP] wwebsite: add option background and style in snippets carousel
bzr revid: chm@openerp.com-20130904140138-tvt640suoiln13fx
2013-09-04 16:01:38 +02:00
Christophe Matthieu e32c3c08f8 [IMP] website_sale: demo data publish
bzr revid: chm@openerp.com-20130904140051-c2j3huf7pbq76063
2013-09-04 16:00:51 +02:00
Xavier Morel b56cd5e2be [IMP] merge Format and Styles dropdowns
bzr revid: xmo@openerp.com-20130904131745-ro5c0c7myvyv98xw
2013-09-04 15:17:45 +02:00
Xavier Morel 4932521377 [ADD] selection of existing image in image dialog
bzr revid: xmo@openerp.com-20130904113222-xync5o48nwngvtj4
2013-09-04 13:32:22 +02:00
Christophe Matthieu 3e1302ee73 [IMP] website_sale: inherit product view to display more informations about website published products
bzr revid: chm@openerp.com-20130904095405-rrbt0ckedpg7ul90
2013-09-04 11:54:05 +02:00
Christophe Matthieu 7704ce7e03 [IMP] website_sale: add product in website
bzr revid: chm@openerp.com-20130904084958-6rq5xu0xjwzcv399
2013-09-04 10:49:58 +02:00
Fabien Meghazi 5373e450f4 [FIX] lang error
bzr revid: fme@openerp.com-20130904084745-hkg0w5qsy6920y59
2013-09-04 10:47:45 +02:00
Fabien Meghazi dce9cd6583 [FIX] language selection
bzr revid: fme@openerp.com-20130904081659-f2vyt3iy9pr6d3yq
2013-09-04 10:16:59 +02:00
Christophe Matthieu 16995938b2 [FIX] website_sale: display product number for cart
bzr revid: chm@openerp.com-20130904064217-xrs3pqetmg67zlrj
2013-09-04 08:42:17 +02:00
ddm 61f1b52f5a SEO proper page parsing (header suggestion error)
bzr revid: ddm@openerp.com-20130904045429-gep4a2cwk7fcv0b0
2013-09-04 06:54:29 +02:00
ddm f09f8fcbf8 SEO no empty keywords
bzr revid: ddm@openerp.com-20130904041951-74uvloiz4uoj5egp
2013-09-04 06:19:51 +02:00
ddm d8168e7c8d SEO WS
bzr revid: ddm@openerp.com-20130904041445-37eo0ysxue6gijbd
2013-09-04 06:14:45 +02:00
ddm 4ed648c0c0 SEO code cleanup
bzr revid: ddm@openerp.com-20130904040700-3fctlb1u5k3k1lhy
2013-09-04 06:07:00 +02:00
ddm a2c9bdaaed SEO rerefactor
bzr revid: ddm@openerp.com-20130903154144-8li4zo4q3z6isyoq
2013-09-03 17:41:44 +02:00
Fabien Meghazi d1e00382bd [ADD] WebContext object and language selector
bzr revid: fme@openerp.com-20130903153520-14o3vk29l3ft7z0a
2013-09-03 17:35:20 +02:00
ddm 653ad4de24 SEO refactoring
bzr revid: ddm@openerp.com-20130903145132-5uppe457x0x19a42
2013-09-03 16:51:32 +02:00
Xavier Morel aa042e6207 [FIX] garbage
WTF is the point of using dict.get when you're going to blow up the
next freaking line because you don't handle it returning None?

bzr revid: xmo@openerp.com-20130903144738-jygw2aepjn6sd2tb
2013-09-03 16:47:38 +02:00
Xavier Morel c89d31ca95 [ADD] creation of new page from link dialog
* Replace select by input with dropdown

* Add random crap to /pagenew so it does not blow up when a butterfly
  flaps its wings, also so it's possible to call it through xhr and
  get something out of it

* Fix duplicated save() call in link dialog widget thing

bzr revid: xmo@openerp.com-20130903143237-6pwsbqzc02bv3mri
2013-09-03 16:32:37 +02:00
Christophe Matthieu 2dfe9f2bed [IMP] website_sale: add javascript for add/remove to basket for usability
bzr revid: chm@openerp.com-20130903123438-h0lg0ufouovc09f3
2013-09-03 14:34:38 +02:00
Christophe Matthieu cabe9fe9f7 [FIX] website_sale: ellipsis
bzr revid: chm@openerp.com-20130903114201-an4018t32ym3l02m
2013-09-03 13:42:01 +02:00
Christophe Matthieu 016f782c8b [FIX] website_sale: product pricelist
bzr revid: chm@openerp.com-20130903113658-dmwflky4f1ft6poe
2013-09-03 13:36:58 +02:00
Christophe Matthieu 91052e02c9 [IMP] website: apply publisher css to all website modules
bzr revid: chm@openerp.com-20130903110410-cxigps11scpr9dpr
2013-09-03 13:04:10 +02:00
Christophe Matthieu 1fbf4c6349 [IMP] website: publisher with css for activated and disabled
bzr revid: chm@openerp.com-20130903104115-9yukaqh0teh45ipf
2013-09-03 12:41:15 +02:00
Christophe Matthieu 2cccfcb556 [IMP] website_sale: Add to Basket and fix suggested
bzr revid: chm@openerp.com-20130903083639-ftnd8lxhbotq7czo
2013-09-03 10:36:39 +02:00