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
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
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
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
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
Fabien Meghazi
2d81712e2c
[FIX] Prevent dropdown closing when a contenteditable children is focused
...
bzr revid: fme@openerp.com-20131106115754-lyt6hd8pnrfv7vfi
2013-11-06 12:57:54 +01:00
Fabien Meghazi
937fa8ab99
[ADD] Added custom bootstrap version
...
Temporary using a custom branch of bootstrap until the feature
is merged upstream.
The pull request is pending :
https://github.com/twbs/bootstrap/pull/11373/files
bzr revid: fme@openerp.com-20131106114827-gdlb53k4l42h5vq4
2013-11-06 12:48:27 +01:00
Fabien Pinckaers
f385e3af01
[IMP] Text for translate dialog
...
bzr revid: fp@tinyerp.com-20131106110819-yflp80pdqehwp9gy
2013-11-06 12:08:19 +01:00
Xavier Morel
b754d4999c
[FIX] enable auth'd crawling of CMS
...
bzr revid: xmo@openerp.com-20131105161345-257bebtxce4wa217
2013-11-05 17:13:45 +01:00
Fabien Pinckaers
5a425dda78
[IMP] More explicit; where is the Edit button
...
[IMP] remove "Create a free website if logged", see usertesting
[IMP] Advanced view editor -> "HTML Editor"
[IMP] Footer: editable zone grouped in a <div> for efficient distribute branding
bzr revid: fp@tinyerp.com-20131106083833-cz4xc2ast5d9ao19
2013-11-06 09:38:33 +01:00
ddm
5f41d10ab5
[FIX] product links when browsing categories
...
bzr revid: ddm@openerp.com-20131105162558-4e1yua2hipvf5cly
2013-11-05 17:25:58 +01:00
Christophe Matthieu
67c437df77
[FIX] website_sale: access right for product.attribute.product; white list for filter link
...
bzr revid: chm@openerp.com-20131105161737-b1o41v17p7wsjl6v
2013-11-05 17:17:37 +01:00
Christophe Matthieu
0503a5cf5e
[FIX] website_hr: img method for hr.employee to display picture for public user
...
bzr revid: chm@openerp.com-20131105160617-wqdz3xg7bb1que8k
2013-11-05 17:06:17 +01:00
ddm
b34bb11b2d
[FIX] avoid building urls manually if possible
...
bzr revid: ddm@openerp.com-20131105155627-ahyo9av7wh1aa7jl
2013-11-05 16:56:27 +01:00
Christophe Matthieu
fb5ae3cabf
[FIX] website_sale: mycart when the user haven't sale order
...
bzr revid: chm@openerp.com-20131105155410-pel99sbzka27zl4o
2013-11-05 16:54:10 +01:00
Christophe Matthieu
bd3993ce06
[IMP] website_blog: replace duplicate link by a javascript for not to be followed by the robot
...
bzr revid: chm@openerp.com-20131105154722-l3v5chlf1osn4pdd
2013-11-05 16:47:22 +01:00
Xavier Morel
1308726046
[FIX] use config's xmlrpc_port during auth
...
bzr revid: xmo@openerp.com-20131105154414-wdfmu70m5gf2sjea
2013-11-05 16:44:14 +01:00
Xavier Morel
a9193cf2ec
[FIX] use db_name from tools.config to know where to auth
...
auth's currently disabled so it doesn't matter much really
bzr revid: xmo@openerp.com-20131105154131-35lqg2l6tdccgvp7
2013-11-05 16:41:31 +01:00
Xavier Morel
5ce1bfdddf
[FIX] more templates which aren't actually pages
...
bzr revid: xmo@openerp.com-20131105151404-olp8wvdqx9yxuxj9
2013-11-05 16:14:04 +01:00