Commit Graph
109 Commits
Author SHA1 Message Date
qsm-odoo 6610d05549 [REF] web_editor,website,mass_mailing: JS/XML update
* Adapt DOM selectors
* Refactore dialog XMLs to have odoo styling
* New editor options (background-position, ...)
* Various improvements
2016-02-24 13:47:36 +01:00
stefanorigano c4a896a8a0 [REF] website,web_editor: complete restyling 2016-02-24 11:15:55 +01:00
Denis Ledoux a3648fd23a [MERGE] forward port of branch 8.0 up to aabbdc7 2015-09-21 16:01:58 +02:00
Nicolas Lempereur e03d64cfaa [FIX] website: remove cancelled request for mobile preview
In 7d40a7d, f820c07, 3ed0628 the way the mobile preview iframe is set
was altered several times. This left an inconsistent needless page load.

This page load was cancelled, but as a side effect in a given set of
conditions:

- an ajax request is done early in current (and so iframe) page,
- phantomjs is used for the test,
- server response time

this could lead to a false positive caused by a cancelled xhr request
throwing the error: "Can't load template, http status 0".
2015-09-14 10:13:25 +02:00
Jeremy Kersten 4aa2e52b3d [FIX] website: allow to rename a website page.
Code from delete_page has been spliited (functions, templates, ...)
to be re-usable by rename_page

Change default input type from website.prompt.
Old default value 'text' had no sense, there are no tag <text>.
2015-04-08 13:40:11 +02:00
Jeremy Kersten 165c67e879 [FIX] website: improve delete page
Clear cache after delete view
    Move menu to keep all 'New page', 'New blog', 'New forum', ... together
    Disable continue button from popup while user don't confirm with checkbox
    English typo
2015-02-12 18:19:19 +01:00
Jeremy Kersten 905dd42b87 [IMP] website: allow to delete page - fix 440 - forum Q47292 2015-01-29 11:03:31 +01:00
Richard Mathot 7b763176ba [REM] modelines: Gotta catch 'em all 2015-01-08 11:38:58 +01:00
rlu-odoo 8b67a7202d [REF] OpenERP --> Odoo in various UI texts
Rebranding has been done in:
- data/demo files
- html templates
- help notices
- comments
- logger messages
- and other various messages

(Commit taken from odoo-dev:8.0-improve-openerp-odoo-rlu at rev 7deaa08)

Closes #1260
2014-07-18 13:45:41 +02:00
Simon Lejeune 195fa93168 [MERGE] backend front end integration
Render the top-menu (backend menu or frontend editbar) server-side.
Use Fontawesome icons (mail, timezone, chat).
Refactor website widgets, split Website.editorBarin editorbar, ace, editorbar- content, editorbarCustomize.
2014-06-27 11:03:34 +02:00
Xavier Morel 79e10200d5 [IMP] prevent edition of page if groups which current user doesn't have
If the current view uses @groups attributes (possibly in called templates),
the corresponding elements are rendered to a void (empty string in qweb). If
said user can edit the page, does so and saves a view section in which there's
a @groups to which he has no access, the element[@groups] is completely
removed from the template once saved, losing it.

If QWeb encounters an @groups to which the current user has no right during
rendering, have it request a no-RTE page, so the user can not RTE-edit the
page (or drop snippets in it).
2014-06-17 12:01:52 +02: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
Christophe Matthieu 14b4efcd28 [FIX] tour and translate title
bzr revid: chm@openerp.com-20140206145236-vwdq74yyz21qvyzu
2014-02-06 15:52:36 +01:00
Antony Lesuisse d4bbe13963 [REM] t-href is now t-attf-href
bzr revid: al@openerp.com-20140128205017-47rxm2xbb84dmjas
2014-01-28 21:50:17 +01:00
Fabien Meghazi 40c7ce4b1c [REV] Revert t-href and t-action removal
bzr revid: fme@openerp.com-20140128161531-t0m0hqpk5u871rwg
2014-01-28 17:15:31 +01:00
Fabien Meghazi 4a9d1489b3 [CHG] Make templates less readable by removing t-href and t-action
bzr revid: fme@openerp.com-20140128154909-oau6aq702rw062gy
2014-01-28 16:49:09 +01:00
Christophe Matthieu 4ff74cbf99 [IMP] website: editor menus is displayed in function of users groups (event, blog...)
bzr revid: chm@openerp.com-20140116180535-c736cuxn12qghiea
2014-01-16 19:05:35 +01:00
ddm 771394ef9a [FIX] Restore mobile preview icon
bzr revid: ddm@openerp.com-20131203100851-rjdhmgfrq3i4o1nx
2013-12-03 11:08:51 +01:00
ddm 94fbe76be8 [IMP] Hide tour in secondary languages (multilang)
bzr revid: ddm@openerp.com-20131129143058-oi6swnul3idr7ngp
2013-11-29 15:30:58 +01:00
Christophe Matthieu b37be42fd6 [FIX] website: in all popups, always order buttons in the same order
bzr revid: chm@openerp.com-20131127161627-fwokmahwvp8jxhgl
2013-11-27 17:16:27 +01:00
Xavier Morel 44af6d1e09 [IMP] significantly improve handling of trying to create a new page which 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 17:01:48 +01:00
Christophe Matthieu 2ac9955ac6 [IMP] website mobile preview: display scrollbar
bzr revid: chm@openerp.com-20131126094255-eawnxkj1cbso0x8m
2013-11-26 10:42:55 +01:00
Fabien Pinckaers 85265aefb9 [IMP] layout of website.prompt
bzr revid: fp@openerp.com-20131114212856-ff42xtka5dlv8c8c
2013-11-14 22:28:56 +01:00
ddm bf5fcc7b13 [IMP] Website builder tour (first steps)
bzr revid: ddm@openerp.com-20131114161740-ymggmzdwwyacz60f
2013-11-14 17:17:40 +01:00
Fabien Meghazi 95f63af992 [IMP] Improved openerp.website.prompt() and write documentation
Yeah ! You read me ! I (fme) wrote documentation !

Yeaaaaaaaaaaaaah !!!

bzr revid: fme@openerp.com-20131114093214-isjmwwbzsj3ahr61
2013-11-14 10:32:14 +01:00
Fabien Meghazi 7598bcdb98 [ADD] Content menu links splitted per modules
TODO: website.prompt() should be finished for Add a blog post link

Added @id=editable_scripts_hook in layout template so modules can easly add *.editor.js files

bzr revid: fme@openerp.com-20131113171438-3l0wo08ta5vsulq3
2013-11-13 18:14:38 +01:00
Christophe Matthieu 465aaf6bbc [IMP] website view modile: sweeter
bzr revid: chm@openerp.com-20131112180007-d9qqxcrrguo3y8ts
2013-11-12 19:00:07 +01:00
Fabien Pinckaers 1f691bbbd9 [IMP] better about us page
bzr revid: fp@openerp.com-20131109194306-h3d25wgbuvsk2fm2
2013-11-09 20:43:06 +01:00
Fabien Pinckaers c960a04a65 [IMP] order of menu
bzr revid: fp@openerp.com-20131109185847-rrejtk6e0i77yln2
2013-11-09 19:58:47 +01:00
Fabien Pinckaers 854916ce54 [IMP] Reorder menu
bzr revid: fp@openerp.com-20131109150613-scepw4gdw7my4s76
2013-11-09 16:06:13 +01:00
Fabien Pinckaers d58b41a160 [IMP] menus
bzr revid: fp@openerp.com-20131109144350-34tyjox2q5r9lc35
2013-11-09 15:43:50 +01:00
Fabien Meghazi 6ba57343da [WIP] Trying to use t-fields for menus
Not working quite well
Working it out

bzr revid: fme@openerp.com-20131105151651-8jn1po2fhyojum2c
2013-11-05 16:16:51 +01:00
Fabien Meghazi 3f7252e444 [ADD] Structure topmenu button
bzr revid: fme@openerp.com-20131105091117-hgzbnrxju3ftzmyx
2013-11-05 10:11:17 +01:00
Christophe Matthieu bfc8f61984 [FIX] website: can choose an other controller to publish data. Website sale: add a contraint for address and organizer for publish an event. Auto publish address and organizer in front end. Clean website_hr_recruitment publisher
bzr revid: chm@openerp.com-20131104155230-j36l2e1fez0vnkwi
2013-11-04 16:52:30 +01:00
Fabien Meghazi 1cec2a5b6f [REM] Obsolete route /admin
bzr revid: fme@openerp.com-20131016093248-2q2c8ppkxxhfx1su
2013-10-16 11:32:48 +02:00
ddm e76ce7da82 [IMP] Minor tutorial improvements
bzr revid: ddm@openerp.com-20131004100315-hshfanxesnm478n3
2013-10-04 12:03:15 +02:00
ddm b1c4741154 [IMP] Support for multiple tutorials
bzr revid: ddm@openerp.com-20131004093740-3dxcktks5x2xb4t2
2013-10-04 11:37:40 +02:00
Fabien Meghazi 4c3afa6078 [IMP] Activate translation when language is not the default one
bzr revid: fme@openerp.com-20130923131301-mjr0tmth2z1qamfa
2013-09-23 15:13:01 +02:00
Christophe Matthieu 24a63ccea7 [IMP] website snippet: add button 'insert block' on top bar
bzr revid: chm@openerp.com-20130916144235-mxm63fikqlf0jv8s
2013-09-16 16:42:35 +02:00
Christophe Matthieu 00a4fe9229 [IMP] website: snippet: css auto hide
bzr revid: chm@openerp.com-20130916115148-wx6a1ux1iq0dupyg
2013-09-16 13:51:48 +02:00
Christophe Matthieu 0b199c50e5 [WIP] website: snippets: box snippet widget with resize options on click
bzr revid: chm@openerp.com-20130909132800-au0lgkf8thirsv8r
2013-09-09 15:28:00 +02:00
Christophe Matthieu 8a3f1742e0 [MERGE] from website-al
bzr revid: chm@openerp.com-20130906083500-4n5knaxiqt4cg2ht
2013-09-06 10:35:00 +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 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
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
ddm fec90fd789 SEO bugfix
bzr revid: ddm@openerp.com-20130902151749-o9wxc67sdgql8zh8
2013-09-02 17:17:49 +02:00
ddm f77b9c7bd6 SEO image thumbnails
bzr revid: ddm@openerp.com-20130902150629-g3x9o9bi6ptsx7zf
2013-09-02 17:06:29 +02:00
ddm e44332e5f7 SEO bugfixes
bzr revid: ddm@openerp.com-20130902133923-hhzfe0gv4t6usd22
2013-09-02 15:39:23 +02:00
Xavier Morel 95c133b9d5 [ADD] custom bootstrap dialogs for image manipulation
bzr revid: xmo@openerp.com-20130902113817-hl1s8ibupbnryho1
2013-09-02 13:38:17 +02:00