Xavier Morel
90a9e522f3
[ADD] placeholder support on t-field
...
A placeholder is looked up:
1. in the field's options ("placeholder")
2. on the t-field node itself (@placeholder)
3. on the field's column (.placeholder)
The first one found is used as the @placeholder of the resulting node
(in-HTML), and displayed when the field is empty and unfocused.
If no placeholder is found, an empty field just gets a small padding
in order to be easier to see & focus.
bzr revid: xmo@openerp.com-20131218114901-xi3ye11x5pysq2a2
2013-12-18 12:49:01 +01:00
Fabien Meghazi
1434a5aae9
[IMP] allow to reset broken views in the 500 error page
...
bzr revid: fme@openerp.com-20131217134600-v0i170n9gw7752vj
2013-12-17 14:46:00 +01:00
Xavier Morel
4469b36f77
[FIX] change view section saving: only save view section *content*
...
Before, would save view section itself (including root element). But
branding distribution (and thus editability) are set on the last
programmatic root, thus the root element may well be generated
e.g. <span t-att-foo> will define the span itself as editable.
Saving this would remove the programmatic content on the node, and
thus break the view section altogether.
Fix the issue by only saving the root's content in the previous root.
bzr revid: xmo@openerp.com-20131217112034-nbxbg919cffv4w51
2013-12-17 12:20:34 +01:00
Xavier Morel
87c3b6ac72
[FIX] disabling of field escaping
...
bzr revid: xmo@openerp.com-20131216092343-0e6t7nvse3r0p2zs
2013-12-16 10:23:43 +01:00
Christophe Matthieu
1acf6d904f
[FIX] website: editable in context
...
bzr revid: chm@openerp.com-20131211152511-5bw86drta0374x6y
2013-12-11 16:25:11 +01:00
Christophe Matthieu
2257e8d431
[IMP] website: change editable and use groups
...
bzr revid: chm@openerp.com-20131211145930-r0izxh9t0efjwhxh
2013-12-11 15:59:30 +01:00
Fabien Pinckaers
59906a3af8
[IMP] allow users to change product price from CMS[FIX] small bug in reordering of PTT
...
bzr revid: fp@tinyerp.com-20131209210511-5w03vf2wt0pmgdew
2013-12-09 22:05:11 +01:00
Christophe Matthieu
d0b813a016
[IMP] fix website_hr_recruitment, website_event, and create contact qweb widget
...
bzr revid: chm@openerp.com-20131206133003-to4lbgoynvviifq5
2013-12-06 14:30:03 +01:00
Fabien Meghazi
7a3b490f46
[IMP] preload records and throw 404 if not exists for blog, event, product
...
bzr revid: fme@openerp.com-20131205155450-y6joi29l2cn9amkn
2013-12-05 16:54:50 +01:00
Fabien Meghazi
2a2f50e08f
[IMP] Better exception handling
...
bzr revid: fme@openerp.com-20131205150633-lnfvhjq42n0r26tv
2013-12-05 16:06:33 +01:00
Xavier Morel
1049e1c859
[ADD] saving and edition of oddly formatted fields in RTE
...
bzr revid: xmo@openerp.com-20131205114245-2p57t0z182r8oeyv
2013-12-05 12:42:45 +01:00
Xavier Morel
a1ecb6923b
[ADD] saving of oddly localized/formatted stuff
...
bzr revid: xmo@openerp.com-20131205113908-9tr575ejn7hanhi7
2013-12-05 12:39:08 +01:00
Fabien Meghazi
ea037cc7d5
[ADD] status_code to website#render()
...
bzr revid: fme@openerp.com-20131204145728-ztv6ur760b3nru58
2013-12-04 15:57:28 +01:00
Christophe Matthieu
704607db5a
[FIX] website: signin and logout redirect url
...
bzr revid: chm@openerp.com-20131203173146-7om0xl9b7ubb5cqc
2013-12-03 18:31:46 +01:00
Christophe Matthieu
63a9616138
[FIX] website_hr_recruitment, website_blog
...
bzr revid: chm@openerp.com-20131203171714-fym4y602l7gfylfw
2013-12-03 18:17:14 +01:00
Fabien Pinckaers
642fce4a5b
[IMP] speed improvement + small bug
...
bzr revid: fp@tinyerp.com-20131203171033-oe6pkzb9jal3ril8
2013-12-03 18:10:33 +01:00
Fabien Meghazi
c71cfef3d3
[FIX] ir.http log exceptions
...
bzr revid: fme@openerp.com-20131203114657-jnnki78qr28u9xq4
2013-12-03 12:46:57 +01:00
Xavier Morel
87b5c7990a
[FIX] unused check_groups call, preprocess_request style
...
bzr revid: xmo@openerp.com-20131203080055-wgja1zraygglo767
2013-12-03 09:00:55 +01:00
Xavier Morel
278316ef9f
[FIX] broken call to (ir.model.access).check
...
bzr revid: xmo@openerp.com-20131203075715-xsmueut0n3g9ggd6
2013-12-03 08:57:15 +01:00
Xavier Morel
0271062a80
[FIX] clear cache on method with a cache
...
bzr revid: xmo@openerp.com-20131203073429-g8vqg1dqltgtc4r6
2013-12-03 08:34:29 +01:00
Fabien Meghazi
b78f196362
[IMP] cached website's default_lang and language_ids
...
bzr revid: fme@openerp.com-20131202172110-h7s023xv4ohq31tw
2013-12-02 18:21:10 +01:00
Fabien Meghazi
a5ed3f8b42
[ADD] slug() helper to rendering context
...
bzr revid: fme@openerp.com-20131202125652-5e30xd3ym6nww44o
2013-12-02 13:56:52 +01:00
Fabien Pinckaers
b51daf482b
[IMP] 2SQL Queries less per query
...
bzr revid: fp@tinyerp.com-20131202122233-m9y37fr6nhh03a08
2013-12-02 13:22:33 +01:00
Xavier Morel
52b1ac6a3e
[FIX] alteration of image field without actually changing the image URL
...
UI allows changing corner even though corners are not saved...
bzr revid: xmo@openerp.com-20131202111720-oabkjado7n1jrt66
2013-12-02 12:17:20 +01:00
Xavier Morel
a108af5cb8
[FIX] website: endpoint_is_enumerable
...
old version of @website.route would wrap the base method within a
decorator, and endpoint_is_enumerable had to dig into the decorator to
get the original function (and be able to inspect it).
@website.route has been simplified and no longer wraps the function,
just adds a pair of attributes to it (and so does the base
@http.route), so don't dig into anymore, inspect rule.endpoint
directly.
bzr revid: xmo@openerp.com-20131202102525-8jsondrr1649c8t8
2013-12-02 11:25:25 +01:00
Fabien Meghazi
3cf9c776de
[FIX] default language
...
bzr revid: fme@openerp.com-20131202093500-xzz4q2u279uwunjo
2013-12-02 10:35:00 +01:00
Fabien Pinckaers
660b420696
[FIX] public user
...
bzr revid: fp@tinyerp.com-20131202090239-a4b1kkg5pni8ye3d
2013-12-02 10:02:39 +01:00
Fabien Pinckaers
d4fc95f1fe
[FIX] small fixes
...
bzr revid: fp@tinyerp.com-20131130205834-ilds41gcktv7vchg
2013-11-30 21:58:34 +01:00
Fabien Pinckaers
cf3ecb9ff0
[IMP] Huge speed improvements 64 SQL queries to render '/' --> 10 Queries
...
bzr revid: fp@tinyerp.com-20131130193739-095yd4p9llmj0kt1
2013-11-30 20:37:39 +01:00
Fabien Pinckaers
ed7623fc45
[IMP] Performance improvement: improved cache with context, better get_object
...
bzr revid: fp@tinyerp.com-20131130154659-uqis34x2cemmocly
2013-11-30 16:46:59 +01:00
Fabien Meghazi
07eaace3ee
[ADD] custom website ir.http#dispatch and rerouting
...
bzr revid: fme@openerp.com-20131127170432-z7d1w4ck03d7wwia
2013-11-27 18:04:32 +01:00
Xavier Morel
b45dfac7fe
[ADD] correct handling of setting local urls (pre-existing images from /thing/static) in t-fields
...
bzr revid: xmo@openerp.com-20131127104638-ooyuu8dobhzc9a7f
2013-11-27 11:46:38 +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
Xavier Morel
6fc69e33d4
[FIX] correctly rollback savepoint in new_page
...
bzr revid: xmo@openerp.com-20131126102321-35wmxcncl3pp4mhw
2013-11-26 11:23:21 +01:00
Fabien Meghazi
cc424c1a55
[IMP] http errors refactoring
...
bzr revid: fme@openerp.com-20131125165958-0k84rp9rbsxvav77
2013-11-25 17:59:58 +01:00
Xavier Morel
3542a27f9c
[FIX] force url enumeration/generation to be performed as 'public' user
...
bzr revid: xmo@openerp.com-20131125100813-fln1j714m2h85h09
2013-11-25 11:08:13 +01:00
Fabien Pinckaers
d19b85f873
[IMP] new featuers for complex events
...
bzr revid: fp@tinyerp.com-20131124223802-20rpekho195fu2l5
2013-11-24 23:38:02 +01:00
Fabien Pinckaers
5ee03592cf
[FIX] misc fixes in new event devs
...
bzr revid: fp@tinyerp.com-20131124214257-pg9bsbzzydoz6z1a
2013-11-24 22:42:57 +01:00
Fabien Pinckaers
105fc16c11
[IMP] events improvements
...
bzr revid: fp@tinyerp.com-20131124210221-hwalp7983olmrhew
2013-11-24 22:02:21 +01:00
Xavier Morel
411cd6aa21
[IMP] add img and img-responsive to image fields
...
bzr revid: xmo@openerp.com-20131122104148-dpo63pg6mpn1315c
2013-11-22 11:41:48 +01:00
Fabien Meghazi
a337d0dc2c
[FIX] kanban broken by lazyrenderer
...
bzr revid: fme@openerp.com-20131121154213-71hb70c9326gtafb
2013-11-21 16:42:13 +01:00
Xavier Morel
82b40bf84c
[FIX] urlparse.parse_qs returns a dict *of lists*, eq test on values with a string is always false
...
bzr revid: xmo@openerp.com-20131121121235-hafy7n61h3v6kb0k
2013-11-21 13:12:35 +01:00
Fabien Meghazi
7d43b226ab
[IMP] Use LazyResponse for website.render()
...
bzr revid: fme@openerp.com-20131120202842-zethge8jykzlzjjy
2013-11-20 21:28:42 +01:00
Xavier Morel
a1463c60b3
[CHG] **kw don't prevent url searching/listing anymore
...
After discussion and addition of support for the methods parameter (on
@route), it's been determined that:
* POST endpoint must set up method correctly
* **kw on GET endpoints must be completely optional, mandatory query
arguments should be added as formal parameters without a default
values
* URLs can thus be generated for methods with **kw, simply by ignoring
it entirely
bzr revid: xmo@openerp.com-20131119154254-vp0zfnzjvi451vv0
2013-11-19 16:42:54 +01:00
Fabien Meghazi
8e68c33a4b
[MOV] Moved methods filtering support from @website.route to @http.route
...
bzr revid: fme@openerp.com-20131119135428-fm3bfbp83anoxgo6
2013-11-19 14:54:28 +01:00
Xavier Morel
86a0f67a69
[ADD] note about leftover task
...
bzr revid: xmo@openerp.com-20131119122906-9meh7ubye952o67j
2013-11-19 13:29:06 +01:00
Xavier Morel
c9c4f77d72
[FIX] fix ModelConverter.regex for realsies
...
bzr revid: xmo@openerp.com-20131119113205-osz07kc5t8xmf05f
2013-11-19 12:32:05 +01:00
Xavier Morel
5419bb3b58
[FIX] ModelConverter regex part 1
...
bzr revid: xmo@openerp.com-20131119112056-ivcevk7strj9xy8v
2013-11-19 12:20:56 +01:00
Christophe Matthieu
910c2657a9
[IMP] website: add a group_website_publisher to Display Editor Bar on Website and other editable option
...
bzr revid: chm@openerp.com-20131119103042-stdyd6r00e1zgli5
2013-11-19 11:30:42 +01:00
Xavier Morel
5723b1588e
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20131119102552-f8d03meddylwseyr
2013-11-19 11:25:52 +01:00