Commit Graph

76530 Commits

Author SHA1 Message Date
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 Pinckaers bc62ae21b6 [IMP] Remove Bounce effet
bzr revid: fp@openerp.com-20131109142751-cj9334s8avd4rzve
2013-11-09 15:27:51 +01:00
Fabien Pinckaers 14146a7b6c [IMP] Show Sign In as an option
bzr revid: fp@openerp.com-20131109083550-pa2u3dqvynz0qrb1
2013-11-09 09:35:50 +01:00
Fabien Pinckaers b0b8c8c083 [iMP] One pixel lost in height
bzr revid: fp@openerp.com-20131109082845-py6jbtugr2rp00ay
2013-11-09 09:28:45 +01:00
Fabien Pinckaers 929197e578 [IMP] wording
bzr revid: fp@openerp.com-20131109081123-dh5h1xfsfesor4v0
2013-11-09 09:11:23 +01:00
ddm 0b16f685c1 [FIX] beware of multilang when removing **post
bzr revid: ddm@openerp.com-20131108172019-51yymatg4b1zanc1
2013-11-08 18:20:19 +01:00
ddm 4d5a8ed6ab [IMP] cleanup product controller
bzr revid: ddm@openerp.com-20131108164917-0cn91vb1yn822bvi
2013-11-08 17:49:17 +01:00
Christophe Matthieu 9d9b2ed63c [FIX] website_sale: Shopping Cart suggested products
bzr revid: chm@openerp.com-20131108155841-m4b6k02zx8h54ajf
2013-11-08 16:58:41 +01:00
Xavier Morel 8c786b7aab [IMP] move slugify to server, use slugified url as page name
bzr revid: xmo@openerp.com-20131108154842-ts1nnd40jusa92h6
2013-11-08 16:48:42 +01:00
Christophe Matthieu 870559b5cc [FIX] webiste snippet: mega super fix
bzr revid: chm@openerp.com-20131108152445-9n4oixwxwp150u9k
2013-11-08 16:24:45 +01:00
Christophe Matthieu ecce1f0f4d [FIX] website snippets parallax: remove lib and add custom code to fix editor and reduce code
bzr revid: chm@openerp.com-20131108150025-xlqoygvkz7122gru
2013-11-08 16:00:25 +01:00
Xavier Morel ff7316b89b [ADD] small comment
bzr revid: xmo@openerp.com-20131108145142-px3947qa1apy8gwd
2013-11-08 15:51:42 +01:00
Xavier Morel 3abd06ffe0 [FIX] blog controller to suck less and be more compatible with routes introspection
Routes introspection fixes:
* convert <int:x_id> to <model():x>
* remove **kw, specify explicit enable_editor parameter

Suckless:
* remove useless `/blog/tag/` route
* add pagination support in tags
* add pagination support when no category or tag (`/blog/`)
* remove handling of impossible case of category *and* tag
* make exclusive cases more exclusive, avoid repeatedly checking the
  same condition over and over

bzr revid: xmo@openerp.com-20131108142149-v2z2m6kwgf97o7b0
2013-11-08 15:21:49 +01:00
Xavier Morel 01a414fb7c [ADD] initial route introspection + fix pair of routes/controllers
* most controllers turn out to be complete cork and thus can't be
  reversed

* fixup a pair of simple controllers

TODO:
* fixup more controllers
* how can labels/page names be produced?
* grouping/categories of links?

At a high level, workings are pretty simple:
* iterate on all rules (every url pattern produces a werkzeug rule)
* check if the url can make sense as a link: GET, http, no auth or
  public auth, coming from the CMS (no web client links) and all
  converters can generate values for themselves (e.g. a url with an
  `int` converter can't be generated as there is no finite set of
  integers, let alone one small enough to make sense to show to users)
* check if the controller function bound to the URL can use the URLs
  we can generate (no **kwargs as that means arbitrary get|post
  parameter, no query param without a default value (a query param is
  a parameter which does not come from a URL/rule converter))
* use rule converter(s) to generate a matrix of values, and build urls
  from these

bzr revid: xmo@openerp.com-20131108132615-2n7t1vj8hz9v9eis
2013-11-08 14:26:15 +01:00
ddm 1e9df02682 [FIX] tour has been fixed
bzr revid: ddm@openerp.com-20131108143848-eg0xulyeggjs4tts
2013-11-08 15:38:48 +01:00
Christophe Matthieu 665e9f8d5b [FIX] website snippet: image resizing with img-responsive and rte editor
bzr revid: chm@openerp.com-20131108091404-uz42809mycr9cqy3
2013-11-08 10:14:04 +01:00
Christophe Matthieu ec2a9776ab [IMP] website_sale: move attributes under add to cart button in product view
bzr revid: chm@openerp.com-20131107164522-uauyelduq7o4sfj3
2013-11-07 17:45:22 +01:00
Christophe Matthieu dd497b0ef2 [IMP] website_sale: change name of suggested product template
bzr revid: chm@openerp.com-20131107162916-ocm5q101psem5j2v
2013-11-07 17:29:16 +01:00
Christophe Matthieu 4ff0a207f6 [IMP] website_sale: some change for attributes
bzr revid: chm@openerp.com-20131107162101-82tl3ibbhxkbgjro
2013-11-07 17:21:01 +01:00
Fabien Meghazi 777a4ba2c2 [FIX] Editing menu t-fields fails
Problem lays in ir.ui.view#save()
meanwhile used t-ignore as a workaround

bzr revid: fme@openerp.com-20131107160656-sf728j65kcyg82cc
2013-11-07 17:06:56 +01:00
Fabien Meghazi 01a28b6e03 [FIX] Can't translate menus
context was not passed while setting request.website
forced to refactor a bit in order to make true model methods but stopped
because it will be duplicated work when migrating to the new api

bzr revid: fme@openerp.com-20131107151400-9dmtgz7xs34qmbmq
2013-11-07 16:14:00 +01:00
Christophe Matthieu 28b932a40d [FIX] website_sale: highlight category
bzr revid: chm@openerp.com-20131107144828-0wa4vexo5nj41uh5
2013-11-07 15:48:28 +01:00
Christophe Matthieu a4cea5c7eb [IMP] website_sale: user can display filters without categories
bzr revid: chm@openerp.com-20131107143959-551ti1ces04toes0
2013-11-07 15:39:59 +01:00
Stephane Wirtel c9a7e69a75 [FIX] test_mail: Rewrite the XSS test
bzr revid: stw@openerp.com-20131107141019-jjhvism55j8x207g
2013-11-07 15:10:19 +01:00
ddm 821f703125 [IMP] use single template for search box in eCommerce
bzr revid: ddm@openerp.com-20131107135528-0hovrmuxk51xl8wo
2013-11-07 14:55:28 +01:00
Christophe Matthieu 25f6d1c83f [IMP] website_sale: header change for user customization
bzr revid: chm@openerp.com-20131107135306-8jpe0gl4iqmgl51k
2013-11-07 14:53:06 +01:00
Christophe Matthieu 5ec0f27cde [IMP] website: real custom footer (no dynamic datas)
bzr revid: chm@openerp.com-20131107131949-3uotg47a79r4vml6
2013-11-07 14:19:49 +01:00
Christophe Matthieu eae3d77a24 [IMP] website: change name of cutom footer pages
bzr revid: chm@openerp.com-20131107125434-c54n3bv54gon3m43
2013-11-07 13:54:34 +01:00
Xavier Morel 32b20f5ed6 [IMP] add separators between all completion sections
Depending on the way the search view is setup, a single item
(e.g. "Search foo for bar") can follow a list of a bunch of
completions. In that case, it is hard to notice that it's not just one
more item of said list.

Add a marker on the first of every completion list in order to catch
1-item lists (or lists without titles/categories) and prepend a small
border every time, so that single-element completions following
lists-with-titles can be noticed.

bzr revid: xmo@openerp.com-20131107112858-1xyvcesize0doblz
2013-11-07 12:28:58 +01:00
Christophe Matthieu 9ae2008115 [IMP] website: phone view, hide options and editor buttons
bzr revid: chm@openerp.com-20131107112533-o33ok38tbayrdbke
2013-11-07 12:25:33 +01:00
Xavier Morel fb911b1d43 [FIX] don't provide autocompletion to m2o fields when a custom operator or filter_domain is provided
bzr revid: xmo@openerp.com-20131107111231-nkrllqv0afqdmix6
2013-11-07 12:12:31 +01:00
niv-openerp d0079fbada [FIX] Changed the url of the openerp logo to tarket /web instead of /.
bzr revid: nicolas.vanhoren@openerp.com-20131107104443-qx6is5y8yovyiz6c
2013-11-07 11:44:43 +01:00
Christophe Matthieu 2ae05fb8de [IMP] website_sale: display message when search returns no result
bzr revid: chm@openerp.com-20131107102935-r9212sq6avbhy2o2
2013-11-07 11:29:35 +01:00
Xavier Morel ea65573b48 [ADD] image edition button v0
bzr revid: xmo@openerp.com-20131107092018-66tae9nu1kcft21g
2013-11-07 10:20:18 +01:00
Christophe Matthieu 11c54b7d75 [IMP] website_event: move the option publish/unpublish
bzr revid: chm@openerp.com-20131107101206-dwueji94ailuo5zs
2013-11-07 11:12:06 +01:00
Christophe Matthieu 1052081b50 [IMP] website_project: t-field for bottom project link
bzr revid: chm@openerp.com-20131107094919-ip04lruh68lerfbh
2013-11-07 10:49:19 +01:00
Christophe Matthieu ef86f6d12a [FIX] website snippet: the 'insert block' button is loaded before the editor widget -> confusing in slow connectivity
bzr revid: chm@openerp.com-20131107094256-nqp5coey0fy732pl
2013-11-07 10:42:56 +01:00
ddm b7a4c6d3f0 [FIX] eCommerve search + categories & filters
Hopefully this completely solves it. More testing required...

bzr revid: ddm@openerp.com-20131106175743-xxxswsc0vs5fh3x5
2013-11-06 18:57:43 +01:00
Christophe Matthieu d98f7b0918 [FIX] website snippet: cta dark background
bzr revid: chm@openerp.com-20131106173404-ma3sqc3tw9pmwbw6
2013-11-06 18:34:04 +01:00
Christophe Matthieu 418ea510f4 [FIX] website_crm_partner_assign: Selecting 'All Grades' => exception
bzr revid: chm@openerp.com-20131106172251-aejb1b9lcwwv9o3h
2013-11-06 18:22:51 +01:00
Christophe Matthieu bc5772ab7e [FIX] website snippet: editor overlay (bounce, display after click on insert block)
bzr revid: chm@openerp.com-20131106163927-vdqxfamnkspnb193
2013-11-06 17:39:27 +01:00
Fabien Meghazi 5ce5a2d877 [ADD] Added sequence field to website.menu data
bzr revid: fme@openerp.com-20131106154207-dd6g5jgpjt35ee9h
2013-11-06 16:42:07 +01:00
Xavier Morel 20899155c5 [IMP] during image upload, disable save button
hide it and replace it with a button telling the user what we're
currently doing (uploading the image).

Leave the possibility of discarding the whole thing and going away
though.

bzr revid: xmo@openerp.com-20131106152412-eb283vghb18aafyr
2013-11-06 16:24:12 +01:00
Christophe Matthieu 21ffca33c5 [FIX] website snippet carousel: new slide editable
bzr revid: chm@openerp.com-20131106152126-lzop8daui959k0gc
2013-11-06 16:21:26 +01:00
Fabien Meghazi 1aaf0eaa4c [FIX] Multiple fixes to url_for
url_for now accepts a path or an uri
correctly handling shemeless uri's
url params are shadowed by keep_query

bzr revid: fme@openerp.com-20131106151752-sdov6zynz2g80uro
2013-11-06 16:17:52 +01:00
niv-openerp 1feb385700 [FIX] Changed the url redirect from / to /web in the db selector. It was not working correctly if the / url redirects on something else than the web admin.
bzr revid: nicolas.vanhoren@openerp.com-20131106143602-gwyn4jjvn5zwztif
2013-11-06 15:36:02 +01:00
Christophe Matthieu cdd7f70308 [FIX] website snippet: banner editor
bzr revid: chm@openerp.com-20131106133917-ira7oirkv8gfrlgq
2013-11-06 14:39:17 +01:00
Xavier Morel 841a5e7c2d [FIX] db handling being a pain in the ass
On runbot the base url dispatches into a unknown void of no db being
selected and the CMS thus 404s. For human beings there are additional
links to special subdomains setting the right db in the right place
(or maybe the right dbfilter, whatever) but that doesn't work right
for the crawler test suite.

Instead go through /web/ with a forced db selection, this *should* set
the db correctly in the user's session even if he's anonymous and thus
allows us to browse said db.

No idea if this fevered idea is actually going to work.

bzr revid: xmo@openerp.com-20131106115547-0ozlex09svkecrhb
2013-11-06 12:55:47 +01:00