summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/website.editor.js
AgeCommit message (Collapse)Author
2014-01-30[IMP] website tour: refactoring: Check dom insead of triggerChristophe Matthieu
bzr revid: chm@openerp.com-20140130210001-kiecx5nde2um3ni1
2014-01-28[FIX] website page creationAntony Lesuisse
bzr revid: al@openerp.com-20140128140017-r8yy8tzsvo4y0e92
2014-01-27[IMP] website: res_configChristophe Matthieu
bzr revid: chm@openerp.com-20140127180059-sfwyqf57eixr8dxq
2014-01-27[IMP] website: res_config with wizardChristophe Matthieu
bzr revid: chm@openerp.com-20140127173816-uldoee71h7ntpyhl
2014-01-23[FIX] indentationddm@openerp.com
bzr revid: ddm@openerp.com-20140123172714-0fumk1t7hjoz1506
2014-01-23[IMP] add 'Website Settings' to customize menuddm@openerp.com
bzr revid: ddm@openerp.com-20140123172543-3k7w0221ssjsserr
2014-01-22[FIX] website snippet vs widget on dropChristophe Matthieu
bzr revid: chm@openerp.com-20140122132159-efse87uk30t0tehv
2014-01-21[IMP] don't lose link label/text if crap element with no hrefXavier Morel
bzr revid: xmo@openerp.com-20140121151310-va8e20avgvzy0anz
2014-01-21[ADD] hover edit button on FA glyphs, rename 'Edit x' to 'Change'Xavier Morel
bzr revid: xmo@openerp.com-20140121150843-fm2uqxctlejlwe5c
2014-01-21[ADD] attempt to correctly initialize ckeditor widgets (fontawesome icon ↵Xavier Morel
things at the moment) within a dropped snippet bzr revid: xmo@openerp.com-20140121131841-u0qzlk1ytng3af2h
2014-01-21[FIX] website: display or not editor edit button; website_sale: test tour; ↵Christophe Matthieu
website: contact qweb widget bzr revid: chm@openerp.com-20140121123912-0ya4ziusj09efti3
2014-01-21[IMP] icons selection dialogXavier Morel
remove fixed size checkbox add fayt for icons (by name) bzr revid: xmo@openerp.com-20140121100408-64e32iio9r77yx9m
2014-01-20[IMP] replace icon size select by selectable multi-size previewXavier Morel
bzr revid: xmo@openerp.com-20140120162604-yoyg21bf1z306hwg
2014-01-20[IMP] replace select2 by grid for icons selectionXavier Morel
bzr revid: xmo@openerp.com-20140120153610-xktkxjfbpl59xnpz
2014-01-20[FIX] excessive horizontal and vertical offsetting of edition button on ↵Xavier Morel
images in webkit browsers Manually adding margins to offsets was necessary due to http://bugs.jquery.com/ticket/5445#comment:6 and the original code using $.fn.position(). When edition buttons were moved to being children of the body (rather than siblings of the image), $.fn.position() was replaced by $.fn.offset() (to get the position of the image/link relative to the body/page toplevel), the adjustment (addition of marginLeft/marginTop) was left in, even though #5445 does not apply to $.fn.offset(). bzr revid: xmo@openerp.com-20140120144610-nu8q2naemzzhekv2
2014-01-16[IMP] website: editor menus is displayed in function of users groups (event, ↵Christophe Matthieu
blog...) bzr revid: chm@openerp.com-20140116180535-c736cuxn12qghiea
2014-01-16[ADD] dialog for fontawesome glyph manipulationXavier Morel
bzr revid: xmo@openerp.com-20140116094747-w1uey27l39fy66zc
2014-01-15[FIX] website editor: add attributeEditable attribute to edit an editing hostChristophe Matthieu
bzr revid: chm@openerp.com-20140115141756-4ixq240p5z1snt9h
2013-12-18[IMP] Better events naming for EditorBar height related stuffFabien Meghazi
bzr revid: fme@openerp.com-20131218201619-vja6dv0sctokep3b
2013-12-18[IMP] Set EditorBar height programmaticallyFabien Meghazi
bzr revid: fme@openerp.com-20131218173915-ds5jeyfypbaefrqf
2013-12-17[FIX] odd behavior in cke widgetsXavier Morel
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-16[IMP] editability criteria for links and imagesXavier Morel
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-13[REM] undo RTE button by fp demand, apparently unseen & unused by usersXavier Morel
bzr revid: xmo@openerp.com-20131213092025-thlltl0xjxq0noyp
2013-12-11[IMP] website: save (button) or discard (link), on left in modalChristophe Matthieu
bzr revid: chm@openerp.com-20131211163305-5qwltn11k2ph179o
2013-12-05[ADD] saving and edition of oddly formatted fields in RTEXavier Morel
bzr revid: xmo@openerp.com-20131205114245-2p57t0z182r8oeyv
2013-12-05[ADD] saving of oddly localized/formatted stuffXavier Morel
bzr revid: xmo@openerp.com-20131205113908-9tr575ejn7hanhi7
2013-12-04[IMP] use ckeditor 4.3 final feature to disable widget draghandle entirely ↵Xavier Morel
instead of relying on CSS bzr revid: xmo@openerp.com-20131204162805-rikk5kbbx304tol6
2013-12-04[IMP] website: slip layoutChristophe Matthieu
bzr revid: chm@openerp.com-20131204161754-5dq4bt7gghnk878c
2013-12-04[IMP] clarity of links editionXavier Morel
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[FIX] Disable form submition in editable modeFabien Meghazi
bzr revid: fme@openerp.com-20131204104225-2s3jp325731mqd92
2013-12-03[FIX] rte crashes when inserting new linesFabien Meghazi
We deal with text nodes in this case bzr revid: fme@openerp.com-20131203161630-f34r1nrqcb4m6jge
2013-12-03[FIX] website: customize: apply fontawesome to iconsChristophe Matthieu
bzr revid: chm@openerp.com-20131203155536-de2htsq0rwv6oepz
2013-12-03[IMP] cancellation of RTEXavier Morel
* rename Cancel to Discard for clarity (user test) * add intermediate dialog in case of mis-click, use 'danger' button style to clearly indicate this is a destructive operation bzr revid: xmo@openerp.com-20131203111323-9mx7aazfpsybe718
2013-12-02[REM] leftover thingXavier Morel
bzr revid: xmo@openerp.com-20131202113825-c5jbqs17nihip81t
2013-12-02[FIX] image fields getting overly dirtyXavier Morel
the addition and removal of the [edit] button on hover would be caught by the mutation observer and mark the image field as dirty, even when it had not actually been altered, leaving to spurious save events for said field. bzr revid: xmo@openerp.com-20131202113304-xpgu43se5er1ho7y
2013-11-29[FIX] website snippets: quote, quotes slider, parallaxChristophe Matthieu
bzr revid: chm@openerp.com-20131129160045-527o2i6unyyymr6e
2013-11-26[IMP] significantly improve handling of trying to create a new page which ↵Xavier Morel
already exists # Through the menu Rather than output a generic error (500 due to an IntegrityError), return a templated 409 letting the user either visit the page-which-already-exists-with-the-name-he'd-picked or open the page creation dialog again for a second round. An alternative would be to promote the website.prompt use to full-blown dialog as a result of selecting "New Page" and handle the "page already exists" case without even closing the dialog. # Through the link dialog Added an RPC call to check if a page already exists (essentially a cheaper version of opening /page/whatever and checking whether it's a 200 over JSON-RPC), if the page matching the completion term already exists, do *not* add the choice of creating the page, only provide completions from existing pages. bzr revid: xmo@openerp.com-20131126160148-wrk4zvz9istscwa0
2013-11-26[FIX] don't perform page creation when no name was providedXavier Morel
bzr revid: xmo@openerp.com-20131126124739-djk6nbifyo087bmz
2013-11-26[CHG] remove opacity changes on image hoverXavier Morel
bzr revid: xmo@openerp.com-20131126092339-7wqx54t8iuvy8e9a
2013-11-25[IMP] in crawler testing, indicate at which page the failed url was foundXavier Morel
bzr revid: xmo@openerp.com-20131125120548-0s7xnhszd48e1u9v
2013-11-25[IMP] lower completion trigger threshold to 1Xavier Morel
could be removed entirely, but not sure users would realize there are plenty more urls to look for... bzr revid: xmo@openerp.com-20131125102228-igkzfsh50y1ytwef
2013-11-25[FIX] on completion error, tell user there are no resultsXavier Morel
not sure whether and how an error could/should be reported to the user. For now, it's automatically logged into the console. bzr revid: xmo@openerp.com-20131125101819-u2akhr16bd5kcsmf
2013-11-22[ADD] dropdown for link styleXavier Morel
bzr revid: xmo@openerp.com-20131122151124-1n7cnwldm3ej6wz7
2013-11-22[ADD] small transparency when hovering editable images, so [Edit] button ↵Xavier Morel
stands out more bzr revid: xmo@openerp.com-20131122102322-s776o3f80bku3f4a
2013-11-22[FIX] horizontal centering of edition button on images centered with margin: ↵Xavier Morel
0 auto in webkit-based browsers bzr revid: xmo@openerp.com-20131122101154-fsae9uz33smy2ja9
2013-11-21[FIX] forgot to tell ckeditor not to load removed bootstrap combo pluginXavier Morel
bzr revid: xmo@openerp.com-20131121160516-a29x498ode34p1ml
2013-11-21[REM] bootstrap link configuration combo, it has served its testing purposesXavier Morel
bzr revid: xmo@openerp.com-20131121154501-vrs26caromm6ebgb
2013-11-21[FIX] reimplement [Edit] button on imagesXavier Morel
Button implementation turned out to be crap: * Didn't work at all in Firefox (!) * Unreliable in webkit, some types of image selection wouldn't correctly activate the button -> * changed RTEImageDialog to take an (optional) image element, used as the "source element" if provided. This allows greater reliability for events which may leave selection in debatable or variable (across browsers) state * setup and teardown button on hover, using selection triggered issues with oe_overlay thing where e.g. the first click on the button would work but the second one would not (it'd be intercepted by the overlay as far as I can tell). This also saves a click for user, they will see the [Edit] button immediately when putting the cursor over the image. bzr revid: xmo@openerp.com-20131121110748-s5e2ne3etpzwi2a6
2013-11-20[IMP] website snippet: add group for styles snippets, add custom picture ↵Christophe Matthieu
with style snippet, mouseover and mouseout preview, fix dark css class in demo data bzr revid: chm@openerp.com-20131120115250-etqv5ofqguze0zsj
2013-11-20[REM] apparently unnecessary iconsXavier Morel
bzr revid: xmo@openerp.com-20131120091147-4vshzojq6mwhvice