Xavier Morel
674c2d7c33
[FIX] block-level link, incompatible with RTE
...
bzr revid: xmo@openerp.com-20130919121541-mj2l9o8wmxmk2l9v
2013-09-19 14:15:41 +02:00
Xavier Morel
5de155ad98
[FIX] avoid losing non-meta attributes when converting t-fields back
...
bzr revid: xmo@openerp.com-20130919092546-c7yr8e4kixh4ngta
2013-09-19 11:25:46 +02:00
Xavier Morel
e0662b11d0
[FIX] wrap the wrapper in order to allow RTE on all of the page (except the toolbar)
...
CKEditor does not work directly on body, and it's a bad idea anyway
(editing the edition toolbar won't end well).
A big wrapper around all of the page's content can be used as RTE hook
to give access to the body as well as the header and footers.
bzr revid: xmo@openerp.com-20130918145028-6ppi9sro2un0quh5
2013-09-18 16:50:28 +02:00
Xavier Morel
fe630f7f93
[ADD] type conversions for embedded fields
...
bzr revid: xmo@openerp.com-20130918115136-iot7y18vytx9hvpu
2013-09-18 13:51:36 +02:00
Xavier Morel
47e3a0604c
[FIX] change block-level link to inline
...
Although HTML5 has added a concept of "transparent content model"[0]
where elements (such as links) can be block-level or inline depending
on their context (amongst a number of other dynamic content model
properties), most RTEs based their validation on a static DTD-type
content model and haven't been updated yet.
That's the case of CKEditor (and tinymce and aloha, it seems), and the
validator breaks block-level links. So don't use them.
[0] http://www.w3.org/TR/2011/WD-html5-20110525/content-models.html#transparent-content-models
bzr revid: xmo@openerp.com-20130917135656-g58xnx7f2avcuh9d
2013-09-17 15:56:56 +02:00
Xavier Morel
d29da6144d
[IMP] make products filler uneditable to avoid confusion
...
bzr revid: xmo@openerp.com-20130917131353-sn5mhmcvkp0l2dcz
2013-09-17 15:13:53 +02:00
Xavier Morel
4934343f94
[IMP] hide drag and drop handler of ckdeditor widgets
...
bzr revid: xmo@openerp.com-20130917131317-tm7jhawdsq9nvvtp
2013-09-17 15:13:17 +02:00
Xavier Morel
19b0fa5a6a
[IMP] placeholder for inline fields is very hard to see when the field is empty, block-level fields are much better in that situation
...
bzr revid: xmo@openerp.com-20130917130126-s5lgxjv9ezefek1u
2013-09-17 15:01:26 +02:00
Xavier Morel
1679771af7
[FIX] ckeditor widgets don't work on td
...
bzr revid: xmo@openerp.com-20130917112649-c7o9746bvmnj53ti
2013-09-17 13:26:49 +02:00
Xavier Morel
e5c11a3aaa
[FIX] forgot a console call
...
bzr revid: xmo@openerp.com-20130917085923-0gsp3dfsqmocgimg
2013-09-17 10:59:23 +02:00
Xavier Morel
757a2dbc4e
[IMP] single whole-page editor, reinstate ability to save only an embedded field (not part of a view)
...
bzr revid: xmo@openerp.com-20130917085753-aa32xxezhtrfaffj
2013-09-17 10:57:53 +02:00
Xavier Morel
f3eec24a6f
[ADD] link keyboard shortcut
...
bzr revid: xmo@openerp.com-20130916090750-xs8dcrm3cp91fo8r
2013-09-16 11:07:50 +02:00
Xavier Morel
0c145b7577
[FIX] completely remove usages of link and image plugin and import missing pieces
...
CKEDITOR plugins are not loaded in dependency order (see previous
commits), and in the end the vast majority of the (used subpart of)
link and image plugins were reimplemented to handle new dialogs.
Bite the bullet, disable link and image and implement/import missing
parts (link removal, doubleclick hooks & toolbar button definition).
bzr revid: xmo@openerp.com-20130916090353-933av2nsrygxz64y
2013-09-16 11:03:53 +02:00
Xavier Morel
560f12cffc
[FIX] monkey patch CKEDITOR loading
...
Order of plugin initialization is apparently completely fucked, and
most definitely does not take dependencies in account (the
dependencies get loaded, but *when* they are...).
One of the things which drives init order is local (already loaded)
versus remote (js file to fetch): local plugins will be initialized
before remote, whatever the dependencies are.
Monkey patch resourcemanager's load method so it yields an object
initialized in order of its input (nb *still* not dependency order) to
ensure our local plugins are loaded after all builtin ones.
bzr revid: xmo@openerp.com-20130913144554-020u1367wto6ooh9
2013-09-13 16:45:54 +02:00
Xavier Morel
16492e4ca7
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20130913125230-38lb4jv8ypt6y9dh
2013-09-13 14:52:30 +02:00
ddm
33a96a4e69
[IMP] SEO: highlight suggestions when in body
...
bzr revid: ddm@openerp.com-20130913122108-mxnqz1ymui7asnfg
2013-09-13 14:21:08 +02:00
Christophe Matthieu
05040f7856
[FIX] website editor snippet: double insert
...
bzr revid: chm@openerp.com-20130913115305-xzjx8wmi7j89vs14
2013-09-13 13:53:05 +02:00
Christophe Matthieu
74678c7632
[IMP] website editor snippet: image-text, text-imge, carousel
...
bzr revid: chm@openerp.com-20130913114456-sacksn4frv2w9re1
2013-09-13 13:44:56 +02:00
ddm
dee82b1382
[IMP] SEO title and description
...
bzr revid: ddm@openerp.com-20130913114053-93vm1xn18bdc0nu2
2013-09-13 13:40:53 +02:00
Christophe Matthieu
d05c5a2783
[IMP] website editor snippet: vertical selector css z-index
...
bzr revid: chm@openerp.com-20130913102803-hhs46m43v2mbjsbf
2013-09-13 12:28:03 +02:00
Christophe Matthieu
6f68c76f99
[FIX] website editor snippet: vertical selector css to display
...
bzr revid: chm@openerp.com-20130913102653-pb6d8oyrf9xhodg8
2013-09-13 12:26:53 +02:00
Christophe Matthieu
5086f1e1e1
[IMP] website editor snippet: vertical selector (eg.: used for drag and drop column)
...
bzr revid: chm@openerp.com-20130913101911-467bx9ddykv23ae6
2013-09-13 12:19:11 +02:00
Xavier Morel
aaa0f7eaca
[ADD] 'remove link' feature to link dialog, remove icon from sidebar
...
bzr revid: xmo@openerp.com-20130913095532-s6ex6kcqzqzlm8tc
2013-09-13 11:55:32 +02:00
Xavier Morel
c52335de5a
[IMP] split new page and existing page sections in link dialog + look fixes
...
* select sections on click within section
* validation in case no value provided for selected section on save
bzr revid: xmo@openerp.com-20130913091532-i037z59odb4j52b7
2013-09-13 11:15:32 +02:00
ddm
96d0662732
[FIX] Missing CDN files
...
bzr revid: ddm@openerp.com-20130913095105-go1lz4fjh8d7rq0j
2013-09-13 11:51:05 +02:00
ddm
2b0e1291f5
[IMP] include CDN scripts for faster local development
...
bzr revid: ddm@openerp.com-20130913094538-f4crv0ndsv1e7ryj
2013-09-13 11:45:38 +02:00
Christophe Matthieu
cf7984b656
[IMP] website editor snippets: move and add label
...
bzr revid: chm@openerp.com-20130913093518-kzla5hif1o1ubii5
2013-09-13 11:35:18 +02:00
Xavier Morel
a793a8ff16
[REV] tabification of link and image dialogs
...
bzr revid: xmo@openerp.com-20130913084013-19zu9k9voxplwwhp
2013-09-13 10:40:13 +02:00
ddm
410e562893
[IMP] SEO legend
...
bzr revid: ddm@openerp.com-20130912170856-tay7vc4l7jobznjn
2013-09-12 19:08:56 +02:00
Christophe Matthieu
0ba1d96906
[IMP] website: snippet: apply editor for snippet from a selector
...
bzr revid: chm@openerp.com-20130912170652-g3jz2z1fo1bjb4t0
2013-09-12 19:06:52 +02:00
ddm
c2bd252b82
[IMP] SEO drilldown
...
bzr revid: ddm@openerp.com-20130912160855-y86ccmm1pbo50rnp
2013-09-12 18:08:55 +02:00
Xavier Morel
4513603573
[FIX] force ckeditor lang to en and replace en-gb localization file with en
...
avoids automatic locale picking selecting something different than the one locale file currently provided and blowing up, preventing edition from working
bzr revid: xmo@openerp.com-20130912154957-yod17u9xvw3r966i
2013-09-12 17:49:57 +02:00
ddm
d75c9fb154
[IMP] SEO code cleanup
...
bzr revid: ddm@openerp.com-20130912154620-lzay5zntd7ghf6p1
2013-09-12 17:46:20 +02:00
ddm
0789055011
[FIX] SEO suggestions
...
bzr revid: ddm@openerp.com-20130912153635-zrtb6gcyr4jauwd2
2013-09-12 17:36:35 +02:00
ddm
0673d95ff5
[FIX] SEO according to mockup
...
bzr revid: ddm@openerp.com-20130912153338-00oh2h3qals2h2g9
2013-09-12 17:33:38 +02:00
Christophe Matthieu
28043e7262
[IMP] website: snippet colmd: revert auto insert col
...
bzr revid: chm@openerp.com-20130912151718-qksxmb02wpa797u3
2013-09-12 17:17:18 +02:00
Christophe Matthieu
e45e3c22f6
[IMP] website: layout options
...
bzr revid: chm@openerp.com-20130912145302-39eme37759sjm3rv
2013-09-12 16:53:02 +02:00
Fabien Meghazi
a086a2eb4d
[FIX] minor fix
...
bzr revid: fme@openerp.com-20130912144707-s9p59h21u91zk4jn
2013-09-12 16:47:07 +02:00
Xavier Morel
922053531e
[MERGE] from parent
...
bzr revid: xmo@openerp.com-20130912141026-mmmyg91nwlzccr0g
2013-09-12 16:10:26 +02:00
ddm
e4aff74403
[IMP] Better SEO suggestions
...
bzr revid: ddm@openerp.com-20130912131307-qex42heomxppqoml
2013-09-12 15:13:07 +02:00
ddm
38e0449a54
[IMP] SEO: improve suggestions based on custom keywords
...
bzr revid: ddm@openerp.com-20130912124706-8f53bon9kv72baup
2013-09-12 14:47:06 +02:00
Xavier Morel
a38dc95803
[FIX] remember to convert view ids to integer when sending them back
...
some (but not all) routines apparently dislike getting type mismatches
bzr revid: xmo@openerp.com-20130912124313-ojs0cd7nnug38497
2013-09-12 14:43:13 +02:00
Christophe Matthieu
4e35e0bf4f
[FIX] snippet colmd: resizing and add col inside a row, empty content
...
bzr revid: chm@openerp.com-20130912123015-j5caj6ew77awkbzq
2013-09-12 14:30:15 +02:00
Christophe Matthieu
9b6760d1f6
[IMP] snippet colmd: resizing and add col inside a row
...
bzr revid: chm@openerp.com-20130912115130-zvqo8nez77919eno
2013-09-12 13:51:30 +02:00
Xavier Morel
6dca1c21d6
[IMP] let jquery's deferred thingie do template counterizing
...
bzr revid: xmo@openerp.com-20130912113733-mywljr0w0xnjt1ao
2013-09-12 13:37:33 +02:00
Xavier Morel
48c17faf25
[IMP] no point in using jquery just to fetch an attribute on root element
...
bzr revid: xmo@openerp.com-20130912113028-gsascr30eqw33d3p
2013-09-12 13:30:28 +02:00
Xavier Morel
75977b4e43
[ADD] selection of image style in dialog
...
bzr revid: xmo@openerp.com-20130912112905-6skmq1umsyzcvthz
2013-09-12 13:29:05 +02:00
Xavier Morel
d124389fa3
[IMP] tabified image picker dialog
...
bzr revid: xmo@openerp.com-20130912103752-sg9jmba0b061f7x9
2013-09-12 12:37:52 +02:00
Xavier Morel
62fff458c5
[IMP] tabify link dialog for simpler layout
...
bzr revid: xmo@openerp.com-20130912091536-mx8dre2qyiz00h36
2013-09-12 11:15:36 +02:00
Xavier Morel
63bf97573a
[FIX] only load edition features in edition mode
...
bzr revid: xmo@openerp.com-20130911171406-f9i5wti0qn079af2
2013-09-11 19:14:06 +02:00