Fabien Pinckaers
18d8f69689
[IMP] Customer Reference Page, better layout
...
bzr revid: fp@tinyerp.com-20131113183825-zslkr1uru109tj3k
2013-11-13 19:38:25 +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
Fabien Meghazi
70d9e5a8aa
[FIX] race condition with template loading
...
bzr revid: fme@openerp.com-20131113143058-vv020xuolpbu8gbn
2013-11-13 15:30:58 +01:00
Fabien Meghazi
9ca2b8e8e0
[ADD] methods arg to @website.route() until the feature hit the server
...
bzr revid: fme@openerp.com-20131113101319-tvamyl0ikqmsqh18
2013-11-13 11:13:19 +01:00
Fabien Pinckaers
25fa9a9ba5
[IMP] You do not need to recruit at least 1 person to launch recruitment offers
...
bzr revid: fp@tinyerp.com-20131113082322-gk4ix80wr6is1wpw
2013-11-13 09:23:22 +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
Christophe Matthieu
d96222ac4f
[FIX] website_sale: 'Product Description' overlaps with price
...
bzr revid: chm@openerp.com-20131112173502-gddstacuq8n32gdc
2013-11-12 18:35:02 +01:00
Christophe Matthieu
8a48f25446
[FIX] website_sale: list_view
...
bzr revid: chm@openerp.com-20131112172811-yc0tn0gfz2pvwpb0
2013-11-12 18:28:11 +01:00
Christophe Matthieu
1fc7a6d0de
[FIX] website_event, website_hr_recruitment: depends website_partner
...
bzr revid: chm@openerp.com-20131112172209-rrn9a2xvvrjjkh95
2013-11-12 18:22:09 +01:00
Christophe Matthieu
514a6484bf
[FIX] website_event: access right for product
...
bzr revid: chm@openerp.com-20131112171014-s95rpymdqq8v8upr
2013-11-12 18:10:14 +01:00
Christophe Matthieu
34600660bf
[FIX] website_sale: access right for website.product.style
...
bzr revid: chm@openerp.com-20131112165415-c6o3c26djdtuaa2k
2013-11-12 17:54:15 +01:00
Christophe Matthieu
4dad2bb177
[FIX] website snippet: fix parallax; website.hr.recruitment; split snippet js
...
bzr revid: chm@openerp.com-20131112162036-neoyem1sus473tqr
2013-11-12 17:20:36 +01:00
Fabien Meghazi
b562406387
[FIX] missing multilang
...
bzr revid: fme@openerp.com-20131112153749-sogawt2lc3mevqt1
2013-11-12 16:37:49 +01:00
Fabien Meghazi
557d887496
[IMP] preprocess static @href|src|action, static url doesn't need t-href anymore
...
you need to pull server branch
bzr revid: fme@openerp.com-20131112144442-y9bw5q6kkoym8o1i
2013-11-12 15:44:42 +01:00
Xavier Morel
b1b29acd4b
[ADD] pages to pages listing
...
I don't see a good way to reverse `/page/<path:path>` for Website.page
during pages listing, so reintoduce explicit handling of that crap.
Ideally it would be possible to plug in new converters per db and
create some sort of PageConverte, *or* add a reverse operation to
controllers on top of converters (-> controller-specific url
generation even with un-generable converters).
bzr revid: xmo@openerp.com-20131112120814-ekt1rzlzj06pzypw
2013-11-12 13:08:14 +01:00
Fabien Meghazi
91ac20c28c
[FIX] Remove lang_code from kwargs
...
bzr revid: fme@openerp.com-20131112112150-ka9ner1bkqx6ioeg
2013-11-12 12:21:50 +01:00
Christophe Matthieu
3275dcf32a
[FIX] website.hr.recruitment, website res.company: access right, add a constraint with address_id (must be published) on hr.recruitment and add a related field website_published on res.company
...
bzr revid: chm@openerp.com-20131112104509-0n266eias5oc55gb
2013-11-12 11:45:09 +01:00
Xavier Morel
5b0e0a343b
[IMP] use pair unpacking rather than indexing + comment
...
bzr revid: xmo@openerp.com-20131112101559-s280ffmmc06vq23a
2013-11-12 11:15:59 +01:00
Xavier Morel
92b0539d1d
[IMP] remove unused local variable in list_pages
...
bzr revid: xmo@openerp.com-20131112100411-r4va4xpcovnawuzr
2013-11-12 11:04:11 +01:00
Fabien Meghazi
7390b48a89
[IMP] Moved Add menu item to the dialog's body
...
bzr revid: fme@openerp.com-20131112101332-k8md3tiysoydn224
2013-11-12 11:13:32 +01:00
Fabien Pinckaers
46072d92ef
[REVERT] partially reverted wrong change
...
bzr revid: fp@openerp.com-20131111224509-xxpw3qltvib53rhj
2013-11-11 23:45:09 +01:00
Fabien Pinckaers
e402105d91
[IMP] empty screen for events
...
bzr revid: fp@openerp.com-20131111212433-xyvl14vhewsp2g14
2013-11-11 22:24:33 +01:00
Fabien Pinckaers
7164a12eb8
[iMP] website event: old events and order by
...
bzr revid: fp@openerp.com-20131111210759-g3qlzpgj7qckfywi
2013-11-11 22:07:59 +01:00
Fabien Pinckaers
0c4ed1d5d5
[IMP] mini change in text
...
bzr revid: fp@openerp.com-20131111204221-5oc7797k7ke34fi2
2013-11-11 21:42:21 +01:00
Fabien Pinckaers
43af25742e
[IMP] some fixes in HR: #employees -> integer not float, forecasted employees is fixed and 'in recruitment' is computed so that it is still correct after doing a new recruitment
...
bzr revid: fp@openerp.com-20131111203209-cpoqpwsvepkl1elx
2013-11-11 21:32:09 +01:00
Fabien Pinckaers
eb3cc55347
[IMP] Job Positions update: filter by office and dept
...
bzr revid: fp@openerp.com-20131111200621-mlkryuems0d8qx6r
2013-11-11 21:06:21 +01:00
Fabien Pinckaers
c8fb0335a5
[IMP] Cleaning Jobs + Small Imp Event layout
...
bzr revid: fp@openerp.com-20131111183638-w7o1tsbo1shxzptk
2013-11-11 19:36:38 +01:00
Fabien Pinckaers
70338369a9
[IMP] better margin events
...
bzr revid: fp@openerp.com-20131111161537-et1ts7ohat7mvo59
2013-11-11 17:15:37 +01:00
Fabien Pinckaers
221c6b7dbd
[IMP] Event improvement in views
...
bzr revid: fp@openerp.com-20131110124244-n85z3usyj7laak33
2013-11-10 13:42:44 +01:00
Fabien Pinckaers
d5c4111aa2
[IMP] default photo for parallax
...
bzr revid: fp@openerp.com-20131109195346-0a5dyg2gmv54tj92
2013-11-09 20:53:46 +01:00
Fabien Pinckaers
107aa205fe
[IMP] about us page
...
bzr revid: fp@openerp.com-20131109194824-mf2v3o1myzwmj48t
2013-11-09 20:48:24 +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 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