Commit Graph

100 Commits

Author SHA1 Message Date
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
Xavier Morel ba2076f400 [FIX] correctly set @type of non-submit buttons to button
because of fix to $raw_editables links disabler, buttons which were
(apparently) previously cancelDefault-ed now are not, and blow up
various things when used.

bzr revid: xmo@openerp.com-20130902111551-ryldrw8kebz98u1w
2013-09-02 13:15:51 +02:00
ddm f0021c5cc5 SEO keyword bugfix
bzr revid: ddm@openerp.com-20130902102939-mkpf08al9p3tibpp
2013-09-02 12:29:39 +02:00
ddm efc408e3bf SEO keywords improvement
bzr revid: ddm@openerp.com-20130902102621-fd02b3mzkd3fm6wv
2013-09-02 12:26:21 +02:00
ddm f50b273ae1 SEO dialog (without save)
bzr revid: ddm@openerp.com-20130902093755-05wins912upe47qj
2013-09-02 11:37:55 +02:00
Frédéric van der Essen c5fa23bffa [IMP] website editor: allow click trough on snippet manipulators
bzr revid: fva@openerp.com-20130902091005-pnhb05fxk29z5q0r
2013-09-02 11:10:05 +02:00
ddm 8b0f006398 Mobile preview & SEO: more Bootstrap 3 fixes
bzr revid: ddm@openerp.com-20130830131952-fmmnhvawlrbekxay
2013-08-30 15:19:52 +02:00
ddm 3db7d635c0 Mobile preview + SEO: Bootstrap 3
bzr revid: ddm@openerp.com-20130830112124-ht5wnngxa8fwlrdh
2013-08-30 13:21:24 +02:00
Fabien Pinckaers ccc3465dec [IMP] bootstrap 3: oe_hidden -> hide
bzr revid: fp@tinyerp.com-20130830070906-f9gr24iq95oz6bp2
2013-08-30 09:09:06 +02:00
Fabien Pinckaers 10686adf14 [IMP] modal preview small improvement
bzr revid: fp@openerp.com-20130829222904-mf6uk9yx63i4ablo
2013-08-30 00:29:04 +02:00