Commit Graph
1114 Commits
Author SHA1 Message Date
Xavier Morel 8ad325614d [FIX] sprurious widgetification and editability of icon elements
* tighten widget match: don't match elements with .fa which are also "view
  section" roots (~ editing hosts) as the classes themselves out not be
  editable and the result will thus be odd
* correspondingly, only associate the icon "change" button to instances of the
  ``icons`` widget, other elements bearing ``.fa`` are not editable and should
  be excluded.

bzr revid: xmo@openerp.com-20140312141910-a2apy22qj4wwxsne
2014-03-12 15:19:10 +01:00
Christophe Simonis d504764eff [MERGE] forward port of branch saas-3 up to revid 9298 chm@openerp.com-20140311130852-3ft0v1mc9ht1any6
bzr revid: chs@openerp.com-20140311145205-s56fj113fsrnisc3
2014-03-11 15:52:05 +01:00
chm@openerp.com 3ceefde489 [FIX] website editor: check if link and fa is editable and display change button
bzr revid: chm@openerp.com-20140311130852-3ft0v1mc9ht1any6
2014-03-11 14:08:52 +01:00
chm@openerp.com e5f1cb5a4e [FIX] website: allow fixed size of a slider with 3 slides of distinct size => add resize option on slider
bzr revid: chm@openerp.com-20140307132213-tg3jl2mybbpd0kg3
2014-03-07 14:22:13 +01:00
chm@openerp.com 0a85dc580b [FIX] website tour: change tour to use the features widget instead of the 3 columns one; fix 'Customize banner's text' step.
bzr revid: chm@openerp.com-20140307111314-3lklte4vzz8smgc4
2014-03-07 12:13:14 +01:00
chm@openerp.com 8df09c6c6a [FIX] website: snippet: display image editor button in snippet. Don't remove overlay (editor is used to clean snippets for save view)
bzr revid: chm@openerp.com-20140305132422-sfmlq8giol53rqjm
2014-03-05 14:24:22 +01:00
Xavier Morel e78a3b18cc [ADD] tentative removal of attachments
Attachments ought be removed only if they are not used in an existing page/web
view.

Theoretically this could be set directly in unlink(), but:
* that would make a nice error message significantly harder
* the expenses of performing a text search in all view archs would be a bit expensive

Notes:
* the views set could be reduced to only "web" views
* the search is likely sensible to false negatives e.g. different order of
  query parameters. It *will* remove images still being used.

bzr revid: xmo@openerp.com-20140304110716-u14w6uo8fbkfa42i
2014-03-04 12:07:16 +01:00
Xavier Morel 9d00835b2c [FIX] order of attachments in 'existing images' sub-dialog: put last uploaded first
bzr revid: xmo@openerp.com-20140303135426-evouhwgjtwku3v2b
2014-03-03 14:54:26 +01:00
Denis Ledoux 2d903bcbb8 [FIX]website: stop animation on focus (clean fix)
bzr revid: dle@openerp.com-20140228163112-hru06zno1sl919uq
2014-02-28 17:31:12 +01:00
Christophe Matthieu abcd7e4926 [FIX] website snippet: When duplicating a column, the column becomes a col-md-1 instead of keeping existing width
bzr revid: chm@openerp.com-20140228132507-0s6y5k3vkbmusvf1
2014-02-28 14:25:07 +01:00
Christophe Matthieu ce1ff0a854 [FIX] website snippet: Fix parallax with retro-compatibility; Crappy fix for carousel because bootstrap active cycling when user click on a bullet and don't stop when user edit a snippet inside a slider.
bzr revid: chm@openerp.com-20140228131738-il41640r8x9zesll
2014-02-28 14:17:38 +01:00
Christophe Matthieu c11f4f9352 [FIX] website: snippet: continue slide cycling when the user edit the content
bzr revid: chm@openerp.com-20140228095531-8c735qyacmffryno
2014-02-28 10:55:31 +01:00
Christophe Matthieu d96cf8c54c [FIX] website: editor: can not edit a label in edit mode, must prevent the default click
bzr revid: chm@openerp.com-20140227140043-8iko13704pci9823
2014-02-27 15:00:43 +01:00
Christophe Matthieu 6a777b9e62 [FIX] website editor: Editor bar is showing border in ie.
bzr revid: chm@openerp.com-20140227111726-s1545ii3exjqjkxz
2014-02-27 12:17:26 +01:00
Christophe Matthieu 5f70ca61b6 [FIX] website: editor: pointer-events:none for ie doesn't work (because ie). Change snippet overlay to fix this ie bug
bzr revid: chm@openerp.com-20140227111038-0hodseqys6pnz841
2014-02-27 12:10:38 +01:00
Christophe Matthieu 01a898ab8b [FIX] website snippet: pointer-ie
bzr revid: chm@openerp.com-20140227100917-wq54xrkgii7uhacl
2014-02-27 11:09:17 +01:00
Christophe Matthieu cfeac71d6a [FIX] website: editor: pointer-events:none for ie doesn't work (because ie). Change snippet overlay to fix this ie bug
bzr revid: chm@openerp.com-20140226175558-2gyix2zgdawf87yz
2014-02-26 18:55:58 +01:00
Xavier Morel 30a99471e2 [FIX] Webkit created spurious spans with inline style when joining lines
Post process to manually unwrap node if it only has purely looks-oriented CSS
properties set inline.

ref:
https://code.google.com/p/chromium/issues/detail?id=226941
https://bugs.webkit.org/show_bug.cgi?id=114791
http://dev.ckeditor.com/ticket/9998
http://www.neotericdesign.com/blog/2013/3/working-around-chrome-s-contenteditable-span-bug

bzr revid: xmo@openerp.com-20140226152004-9ybbki1op80lpxin
2014-02-26 16:20:04 +01:00
Christophe Matthieu a22379520c [FIX] website: error managment in ace editor for ie9
bzr revid: chm@openerp.com-20140225165720-c451gumsd5mce5ya
2014-02-25 17:57:20 +01:00
Christophe Matthieu 1e2a5ddfa6 [FIX] website: fix for ie: add bootstrap class in website_sale and bind click for editor
bzr revid: chm@openerp.com-20140225162136-5xdt7n498qxf9myw
2014-02-25 17:21:36 +01:00
Xavier Morel 750b9f405c [FIX] tags edition breakage in website_event_track
* remove some nodes from the $editables set, ``li`` really does not like being
  widgetified. Remove a few others just in case

* split fa outside of li to make it safely (ish) editable

* simplify upcast function for icons cke widget

bzr revid: xmo@openerp.com-20140225131228-2m75itgi4zbj5xfh
2014-02-25 14:12:28 +01:00
Christophe Matthieu 055f73322d [FIX] website: 'window.location.origin' is not found in IE browser thats why generated manually.
bzr revid: chm@openerp.com-20140224143828-wq1k4931lmmm8leh
2014-02-24 15:38:28 +01:00
Christophe Matthieu 60c75d38bf [FIX] website placeholder; website_hr_recruitment required for ie
bzr revid: chm@openerp.com-20140224142751-7bolxomy2nc717w0
2014-02-24 15:27:51 +01:00
Fabien Pinckaers 2d0db5a8bf [IMP] 3 cols to respect icon and make it easier for new users to start with
bzr revid: fp@tinyerp.com-20140224110148-12lndtuaztxypgmw
2014-02-24 12:01:48 +01:00
Christophe Matthieu 85d3f2ebf5 [FIX][ADD] Added jquery.placeholder lib. because IE9 is not supporting the placeholders.
bzr revid: chm@openerp.com-20140224105958-1dji1sepr6z8dzb2
2014-02-24 11:59:58 +01:00
Pariket Trivedi 467ec6a919 [FIX] Fixed a small problem which falls to load the template in mobile
bzr revid: psa@tinyerp.com-20140221131215-nf1y2t3qbeiosujb
2014-02-21 18:42:15 +05:30
Christophe Matthieu 960ac4bca8 [FIX] website: ace: client side add a try catch to DOMParser for IE
bzr revid: chm@openerp.com-20140221100853-50smr3ii8jrcq178
2014-02-21 11:08:53 +01:00
Paramjit Singh Sahota 777506617a [FIX] 'window.location.origin' is not found in IE browser thats why generated manually.
bzr revid: psa@tinyerp.com-20140221071512-4uky4k2wiu6miysi
2014-02-21 12:45:12 +05:30
Christophe Simonis 4b72678bc7 [MERGE] forward port of branch saas-2 up to revid 9195 chs@openerp.com-20140220154517-6y531n1mqtnfnsmr
bzr revid: chs@openerp.com-20140220163815-69sza1kclnh5mavs
2014-02-20 17:38:15 +01:00
Christophe Simonis 09d7364739 [FIX] website: on DOM elements we must set attribute via setAttribute
bzr revid: chs@openerp.com-20140220142110-zwtvvt2bkvbki7oo
2014-02-20 15:21:10 +01:00
Christophe Matthieu a1bfa32389 [IMP] website ace editor: display more informations about errors when the user save views
bzr revid: chm@openerp.com-20140220103355-0us8k76yrrodqs0u
2014-02-20 11:33:55 +01:00
Paramjit Singh Sahota 2e3e44255e [FIX] Editor bar is showing border.
bzr revid: psa@tinyerp.com-20140220102200-2r2urlrrkngv20at
2014-02-20 15:52:00 +05:30
Paramjit Singh Sahota e776245b8b [ADD] Added jquery.placeholder lib. because IE9 is not supporting the placeholders.
bzr revid: psa@tinyerp.com-20140220100716-01mjib3w692qdgi1
2014-02-20 15:37:16 +05:30
Christophe Matthieu a09b0db51d [FIX] website: Select some text > Click on the link button > Select Page textfield and start typing (e.g. comm) > There is a lot of noise here; Dsiplaying create page for existing page
bzr revid: odo@openerp.com-20140219105502-jg8f2i1gpz5vdarf
2014-02-19 11:55:02 +01:00
Christophe Matthieu 42634d2a0d [FIX] website rte: Select some text > Click on the link button > Start typing > The focus is still on your text, you loose what you selected
bzr revid: odo@openerp.com-20140219092402-bf8vkin5q07rv9bf
2014-02-19 10:24:02 +01:00
Christophe Matthieu 517ace3e41 [FIX] website: snippet: click on bullet don't change the slide of carousel. Fix unique id for each carousel.
bzr revid: odo@openerp.com-20140219090731-c77q63xc77osyw6w
2014-02-19 10:07:31 +01:00
Christophe Matthieu 3226a16b99 [FIX] website: snippet: the slide move he is typing (quote slider)
bzr revid: chm@openerp.com-20140218163759-ojyto7j8r34nh2we
2014-02-18 17:37:59 +01:00
Christophe Matthieu 16953b43bb [FIX] website: snippet editor can be loaded before snippet animation
bzr revid: chm@openerp.com-20140218162452-cf3jqkbstlyw7l5x
2014-02-18 17:24:52 +01:00
Christophe Matthieu 1c4f859f1f [FIX] website: jQuery (sizcache) trigger a change id in the page, the observer set as dirty all template. All template are saved when the user click on save button.
bzr revid: chm@openerp.com-20140218160144-5drlsnz4plyb9tqx
2014-02-18 17:01:44 +01:00
Christophe Matthieu c930e2489f [FIX] website_blog: At one step, it says 'delete the title', but it deletes the whole block
bzr revid: chm@openerp.com-20140218151127-a6471u9l0jpot6gq
2014-02-18 16:11:27 +01:00
Christophe Matthieu 00c810ab14 [FIX] website: Don't allow to edit the menu inline. Users try to change the link, but it does not work. We can put a tooltip explaning they should use the content top menu to edit the menu; bootstrap tooltip don't available in edit mode.
bzr revid: chm@openerp.com-20140218145619-fboofhu111s3g45p
2014-02-18 15:56:19 +01:00
Christophe Matthieu e473e795f6 [FIX] website: Page is added to menu even if the checkbox is unchecked at adding time
bzr revid: chm@openerp.com-20140218144215-vmlah8giy28oq3cd
2014-02-18 15:42:15 +01:00
Christophe Matthieu 28958a4088 [FIX] website tour: At the end of the "Insert a banner" tour the help is "Close Mobile Preview" Change into "Check Mobile Preview" -> i would close with a "Continue" bouton to keep running the help on content -> really needed. With the tour they stay in editable mode and search for adding a new menu
bzr revid: chm@openerp.com-20140218111008-rp1kg7r8pv53wfoh
2014-02-18 12:10:08 +01:00
Christophe Matthieu 934f57c0c7 [FIX]website snippet: banner content editable
bzr revid: chm@openerp.com-20140218101737-o19ht6n6f2o26pfe
2014-02-18 11:17:37 +01:00
Christophe Matthieu c11e6f6249 [FIX] website: snippet resizing: display top and bottom arrow in function of margin size
bzr revid: chm@openerp.com-20140218101017-f827kued494rfu9g
2014-02-18 11:10:17 +01:00
Christophe Matthieu 7d6dd7070d [FIX] website: snippet resizing; Users don't understand when they can drag arrows to resize col-md-XX. They try, it does not work, so they think the feature does not work. So, horizontal arrow on col-md-XX snippets should use an icon according to what you can do
bzr revid: chm@openerp.com-20140217100418-iwdrv36a4u2inasn
2014-02-17 11:04:18 +01:00
Antony Lesuisse e54758988a [FIX] website tests
bzr revid: al@openerp.com-20140217001148-2ub37hxyz8tbxrwe
2014-02-17 01:11:48 +01:00
Christophe Matthieu 329d2b7b1a [Fix] The new page is confusing: one user created a new page and then she don't figure out how to find it.
[IMP] website: add a checkbox on new page dialog to add page in menu.
[IMP] website: add page: change default sequence and layout

bzr revid: chm@openerp.com-20140214132602-ts8wcgdkospofg5f
2014-02-14 14:26:02 +01:00
Christophe Matthieu 386b2fe70f [IMP] website: add page: change default sequence and layout
bzr revid: chm@openerp.com-20140214103744-dptrytkfbcwti6t8
2014-02-14 11:37:44 +01:00
Christophe Matthieu d4244bec3e [IMP] website: add a checkbox on new page dialog to add page in menu. Fix: The new page is confusing: one user created a new page and then she don't figure out how to find it
bzr revid: chm@openerp.com-20140213152728-jj6j1hxae8ia5w4k
2014-02-13 16:27:28 +01:00