Commit Graph
917 Commits
Author SHA1 Message Date
Xavier Morel 90a9e522f3 [ADD] placeholder support on t-field
A placeholder is looked up:

1. in the field's options ("placeholder")
2. on the t-field node itself (@placeholder)
3. on the field's column (.placeholder)

The first one found is used as the @placeholder of the resulting node
(in-HTML), and displayed when the field is empty and unfocused.

If no placeholder is found, an empty field just gets a small padding
in order to be easier to see & focus.

bzr revid: xmo@openerp.com-20131218114901-xi3ye11x5pysq2a2
2013-12-18 12:49:01 +01:00
Xavier Morel 128f1e1281 [FIX] odd behavior in cke widgets
in "block-level" widgets (divs), when hitting [return] instead of
adding a newline in the widget a new bit of widget may be added. This
is caused by an incompability between widgets and the enterKey plugin.

Remove enterKey, behavior on [Return] is slightly worse (always
inserts br) but widgets don't get broken.

See https://dev.ckeditor.com/ticket/11326 for issue in upstream.

bzr revid: xmo@openerp.com-20131217153751-7fbwp34o8kac9x94
2013-12-17 16:37:51 +01:00
Fabien Meghazi 1434a5aae9 [IMP] allow to reset broken views in the 500 error page
bzr revid: fme@openerp.com-20131217134600-v0i170n9gw7752vj
2013-12-17 14:46:00 +01:00
ddm 5d97a99b1a [IMP] removed JS function from banner tour
bzr revid: ddm@openerp.com-20131217130240-hdbgp90f47uori0h
2013-12-17 14:02:40 +01:00
Xavier Morel f6eb40fc90 [FIX] enable user-selection on editable buttons (when the button itself is editable, not just in an editable section)
bzr revid: xmo@openerp.com-20131217104702-jell0imowvzjlasl
2013-12-17 11:47:02 +01:00
Max Mumford 3aaa0c10fe [ADD] <main> tag around content for easy replacing, and CSS changes to maintain current UI
bzr revid: mmu@openerp.com-20131216160654-s75kx9xr2yutq5fg
2013-12-16 17:06:54 +01:00
Xavier Morel 98c4e6b3d4 [IMP] editability criteria for links and images
if a link or image is an editing host (has @contenteditable=true), its
body is editable *but* its attributes should not be considered
editable: if the attributes come from a t-att-*, @contenteditable will
be set on the node itself.

such elements should be ignored by the link & image dialog handling
thing, as editing their attributes has undesirable effects.

bzr revid: xmo@openerp.com-20131216134424-fdqs03i9pidbmaqt
2013-12-16 14:44:24 +01:00
ddm 8f7db60fd6 [FIX] Tour should not start when testing
bzr revid: ddm@openerp.com-20131216075516-o70h4ydhgqj4i3kh
2013-12-16 08:55:16 +01:00
Fabien Pinckaers c62e8fc793 [IMP] Small improvements
bzr revid: fp@tinyerp.com-20131214192105-0ngdj4t6fz8xjd4q
2013-12-14 20:21:05 +01:00
Fabien Pinckaers bc749910f2 [IMP] Revert bad change in CSS, for height of footer
bzr revid: fp@tinyerp.com-20131213213759-fz3yjc79o09jmjw2
2013-12-13 22:37:59 +01:00
Christophe Matthieu b32dd93365 [IMP] website_sale: layout for all theme and mobile view
bzr revid: chm@openerp.com-20131213161850-le6823cp9njx8iny
2013-12-13 17:18:50 +01:00
Christophe Matthieu aca3b51bf3 [IMP] website_sale: layout for all theme and mobile view
bzr revid: chm@openerp.com-20131213161642-e1ltxlidm9apg3l4
2013-12-13 17:16:42 +01:00
ddm 2c6eb6407f [IMP] Robustify automated tour execution
bzr revid: ddm@openerp.com-20131213102106-slphhqxhkwisgd0z
2013-12-13 11:21:06 +01:00
Xavier Morel bf876739fe [REM] undo RTE button by fp demand, apparently unseen & unused by users
bzr revid: xmo@openerp.com-20131213092025-thlltl0xjxq0noyp
2013-12-13 10:20:25 +01:00
ddm 76b5bef5fb [FIX] Tour should not start 'uninvited'
bzr revid: ddm@openerp.com-20131212102807-ra4uon05udtp5twu
2013-12-12 11:28:07 +01:00
ddm 64794a8c3b [FIX] Restore tutorial on module install
bzr revid: ddm@openerp.com-20131212095950-3675vfd0tjpzlsug
2013-12-12 10:59:50 +01:00
ddm 8fe49cf3ca [IMP] Improve resume for automated tests
bzr revid: ddm@openerp.com-20131212094306-marvfv7zewlghiii
2013-12-12 10:43:06 +01:00
ddm e84d9a7f85 [FIX] Shop tour
bzr revid: ddm@openerp.com-20131211181410-rfy68dlqps8oldll
2013-12-11 19:14:10 +01:00
Christophe Matthieu 083e88167e [IMP] website: save (button) or discard (link), on left in modal
bzr revid: chm@openerp.com-20131211163305-5qwltn11k2ph179o
2013-12-11 17:33:05 +01:00
Christophe Matthieu ef7eef6197 [IMP] website snippet: remove parent snippet when user delete the last child colmd snippet
bzr revid: chm@openerp.com-20131211162305-wxzvmwsb91e4prlb
2013-12-11 17:23:05 +01:00
Fabien Meghazi b0c4ae43ac [FIX] My humble participation to the great World War Z-index
bzr revid: fme@openerp.com-20131211153646-an990cc99t08f534
2013-12-11 16:36:46 +01:00
Christophe Matthieu 2733f9b287 [FIX] website: t-field widget monetary layout
bzr revid: chm@openerp.com-20131211152514-4s0fmnqri4l4ekkt
2013-12-11 16:25:14 +01:00
ddm 6893a6ab15 [IMP] Improve automated tests
bzr revid: ddm@openerp.com-20131210163522-p23703mcu8pfdsl0
2013-12-10 17:35:22 +01:00
ddm 8c91a8831e [FIX] Modify blog tour before automation
bzr revid: ddm@openerp.com-20131210154500-4k03t4yag7qz0p0v
2013-12-10 16:45:00 +01:00
ddm cbdb6a3d81 [IMP] Automated tests: remove useless delay
bzr revid: ddm@openerp.com-20131210145540-jhzh8rkxj4ryf19a
2013-12-10 15:55:40 +01:00
ddm dd583d5a98 [IMP] Automated tour tests
bzr revid: ddm@openerp.com-20131210142114-kkjy8quirw84azuq
2013-12-10 15:21:14 +01:00
Christophe Matthieu bbecbabb74 [FIX] website: Can't duplicate a snippet of type quote
bzr revid: chm@openerp.com-20131210125415-tur8ibjjejyyb1ne
2013-12-10 13:54:15 +01:00
ddm 6b43cc4eef [FIX] Remove console.log
bzr revid: ddm@openerp.com-20131210125138-wqmdy5ap9z1qxm1l
2013-12-10 13:51:38 +01:00
Christophe Matthieu 3421edaf94 [IMP] website: clean css code for banner
bzr revid: chm@openerp.com-20131210120857-ii53g67n42sha51b
2013-12-10 13:08:57 +01:00
ddm a315678884 [IMP] Banner tour can be automated
bzr revid: ddm@openerp.com-20131210112828-s2kxs2dy64gjewt9
2013-12-10 12:28:28 +01:00
Christophe Matthieu 6e229fa852 [FIX] website: bad css (+remove a wrong js line)
bzr revid: chm@openerp.com-20131210105637-uebvqry67urydl0n
2013-12-10 11:56:37 +01:00
Christophe Matthieu bdc2caab61 [FIX] website: publish function not clear
bzr revid: chm@openerp.com-20131210103253-j1n7cqufivh7ng09
2013-12-10 11:32:53 +01:00
ddm 4715ab3705 [FIX] HTML editor bug
bzr revid: ddm@openerp.com-20131209152801-2q9grtwc7xfiengv
2013-12-09 16:28:01 +01:00
ddm 5f0fcfb9be [IMP] Tour improvements => automated tests
bzr revid: ddm@openerp.com-20131209112534-3ysihjgm20jj3d9k
2013-12-09 12:25:34 +01:00
Christophe Matthieu 3f550a2e11 [ADD] website: test.js
bzr revid: chm@openerp.com-20131206163122-zuvttkq5o0ktlt85
2013-12-06 17:31:22 +01:00
Christophe Matthieu d4c38fc501 [IMP] website snippet: change trigger of dropped and activate snippet for tour and runbot snippet tests
bzr revid: chm@openerp.com-20131206154759-7t67lat285zrc2mk
2013-12-06 16:47:59 +01:00
ddm 1071cdb1d3 [IMP] Improve event support for tour and tests
bzr revid: ddm@openerp.com-20131206150855-0jsw3i2lm2l3qant
2013-12-06 16:08:55 +01:00
ddm 9be1dbfe9e [FIX] Regression in shop tour
bzr revid: ddm@openerp.com-20131206140940-v0rerf362fuj2tqz
2013-12-06 15:09:40 +01:00
ddm 74ed3d2e5f [FIX] Make tour declarative to enable autotests
bzr revid: ddm@openerp.com-20131206133239-mrhduf2fi0sm8sh7
2013-12-06 14:32:39 +01:00
Christophe Matthieu d0b813a016 [IMP] fix website_hr_recruitment, website_event, and create contact qweb widget
bzr revid: chm@openerp.com-20131206133003-to4lbgoynvviifq5
2013-12-06 14:30:03 +01:00
Xavier Morel 1049e1c859 [ADD] saving and edition of oddly formatted fields in RTE
bzr revid: xmo@openerp.com-20131205114245-2p57t0z182r8oeyv
2013-12-05 12:42:45 +01:00
Xavier Morel a1ecb6923b [ADD] saving of oddly localized/formatted stuff
bzr revid: xmo@openerp.com-20131205113908-9tr575ejn7hanhi7
2013-12-05 12:39:08 +01:00
Christophe Matthieu d9b40743b8 [FIX] website snippet: bootstrap dropdown (prevent default of click event)
bzr revid: chm@openerp.com-20131204171612-x32bxqzrul1c3zev
2013-12-04 18:16:12 +01:00
Xavier Morel 04045c3699 [IMP] use ckeditor 4.3 final feature to disable widget draghandle entirely instead of relying on CSS
bzr revid: xmo@openerp.com-20131204162805-rikk5kbbx304tol6
2013-12-04 17:28:05 +01:00
Christophe Matthieu b1765e2834 [IMP] website: slip layout
bzr revid: chm@openerp.com-20131204161754-5dq4bt7gghnk878c
2013-12-04 17:17:54 +01:00
Christophe Matthieu 58eb518155 [FIX] website snippet: slider
bzr revid: chm@openerp.com-20131204130740-mk8jtp8p6ip16q1a
2013-12-04 14:07:40 +01:00
Christophe Matthieu 16a544fc6f [FIX] website snippet: usabillity
bzr revid: chm@openerp.com-20131204115424-p083i2nt5bbc43s6
2013-12-04 12:54:24 +01:00
Xavier Morel b79e56d1af [IMP] clarity of links edition
According to user tests, users have a hard time finding out how to
edit links. Thus, add same system as image edition (a small button
appearing when hovering the element).

Extract and unify these two to avoid redundancies between handlings as
they are broadly similar (only details such as label, positioning and
size of button relative to the element being hovered really change,
the lifecycle itself is the same).

The main setup still isn't very clean, there might be a better way to
do it.

bzr revid: xmo@openerp.com-20131204105212-u0a49nbvwilgtfst
2013-12-04 11:52:12 +01:00
Fabien Meghazi 31381c1469 [FIX] Disable form submition in editable mode
bzr revid: fme@openerp.com-20131204104225-2s3jp325731mqd92
2013-12-04 11:42:25 +01:00
Fabien Meghazi 49f357da54 [FIX] rte crashes when inserting new lines
We deal with text nodes in this case

bzr revid: fme@openerp.com-20131203161630-f34r1nrqcb4m6jge
2013-12-03 17:16:30 +01:00