Antony Lesuisse
7e25b9ae55
[MERGE] saas-4 report_webkit missing dependency on report
...
bzr revid: al@openerp.com-20140501152604-4cobh5ui47dt4pem
bzr revid: al@openerp.com-20140501155633-gefnc3zqcsr2rhaz
bzr revid: al@openerp.com-20140501161156-4wbsvhh8gz4r22h3
2014-05-01 18:11:56 +02:00
Fabien Meghazi
a1b46eb0d2
[FIX] Disable inherit_branding for t-call-assets
...
bzr revid: fme@openerp.com-20140430081042-f77suergc85qemnn
2014-04-30 10:10:42 +02:00
Fabien Meghazi
677de74fef
[REM] @filename from WebAsset constructor
...
bzr revid: fme@openerp.com-20140430073537-lk4i126urhfkjdtz
2014-04-30 09:35:37 +02:00
Fabien Meghazi
5d13ad7ee8
[REM] query additional params for bundles
...
`translatable` has been removed from assets templates, no need for this anymore
bzr revid: fme@openerp.com-20140428124431-3b5rvyejjosftpq3
2014-04-28 14:44:31 +02:00
Fabien Meghazi
4b3212c076
[IMP] better exception handling in case of missing asset
...
bzr revid: fme@openerp.com-20140425132804-e0dbsl5t2sod7kv5
2014-04-25 15:28:04 +02:00
Simon Lejeune
cebd89c148
[FIX] QWeb contact widget: fixed double escaping: only the address part needs to be escaped as it is shown in a t-raw (other parts are shown in t-esc).
...
bzr revid: sle@openerp.com-20140424144329-vj51bt0y269f1pwo
2014-04-24 16:43:29 +02:00
Fabien Meghazi
8370d3f60e
[MERGE] upstream
...
bzr revid: fme@openerp.com-20140423123808-q58dtl8a0bb2ymlf
2014-04-23 14:38:08 +02:00
Fabien Meghazi
f4a37244ca
[ADD] query to assets bundle html
...
bzr revid: fme@openerp.com-20140422134613-8652pfbrdso1qoqd
2014-04-22 15:46:13 +02:00
Fabien Meghazi
d2f51a75d5
[FIX] asset debug shall bypass cache
...
bzr revid: fme@openerp.com-20140422112732-1p94f77ymusmsan2
2014-04-22 13:27:32 +02:00
Fabien Meghazi
1cde3cb02b
[ADD] debug mode in asset bundle
...
bzr revid: fme@openerp.com-20140422111548-5htr1gfj7x3ioval
2014-04-22 13:15:48 +02:00
Xavier Morel
4c5b1d9484
[FIX] comment: we've already removed @charset movements entirely
...
bzr revid: xmo@openerp.com-20140418133017-1cyq5wkxj4opygww
2014-04-18 15:30:17 +02:00
Xavier Morel
59b8b7ede0
[IMP] preclude unbounded growth by using an LRU cache for asset bundle compressed content
...
bzr revid: xmo@openerp.com-20140418132929-qnyh3zoarjuo9q6a
2014-04-18 15:29:29 +02:00
Xavier Morel
24512edac9
[IMP] don't reimplement lazy_property by hand when we already have one
...
bzr revid: xmo@openerp.com-20140418130603-ekgsfsi1c07y7wuo
2014-04-18 15:06:03 +02:00
Xavier Morel
424f03c172
[REV] datetime for source-only WebAsset
...
thinking about it, this is the *inline* data taken directly from the template,
probably makes more sense if it does not change the coalesced asset's
last_modified
bzr revid: xmo@openerp.com-20140417143656-upgj5b0syi10c9ve
2014-04-17 16:36:56 +02:00
Xavier Morel
d9f26840af
[IMP] don't alter call-assets's template_attributes in-place, create fake one for sub-call
...
bzr revid: xmo@openerp.com-20140417143525-0qyqddd1niwsg7ad
2014-04-17 16:35:25 +02:00
Xavier Morel
5b081731cc
[FIX] remove existing sourcemaps in CSS files
...
bzr revid: xmo@openerp.com-20140417142012-mhi8saeofkon5pe5
2014-04-17 16:20:12 +02:00
Xavier Morel
f8964db435
[IMP] @import regex
...
bzr revid: xmo@openerp.com-20140417131249-gbvnq2zb09kzdifv
2014-04-17 15:12:49 +02:00
Xavier Morel
a2889a1cf8
[FIX] @charset in CSS files
...
* there should be *at most* one per file, not 12
* use existing @charset to know file encoding when reading files (before
concatenation)
* remove existing @charset while reading, if any
* werkzeug's default output charset is UTF-8 and CSS algo uses content-type
encoding or assumes UTF-8, so don't put any @charset back in
bzr revid: xmo@openerp.com-20140417125213-8c9z2d7eu900kkyw
2014-04-17 14:52:13 +02:00
Xavier Morel
23eb006772
[IMP] style, default last_modified
...
* replaced type is other by isinstance
* used generators instead of list when applicable
* removed unused methods, useless parameters
* not sure why explicit call to dict() instead of literal, fixed it
bzr revid: xmo@openerp.com-20140416153536-84s01gbnjfu6hysl
2014-04-16 17:35:36 +02:00
Kersten Jeremy
73bbf079c7
[MERGE] qweb-m2o-view - Allow to use many2one for qweb template (work also with view_id)
...
bzr revid: jke@openerp.com-20140416085407-krltmt3jhw802a5c
2014-04-16 10:54:07 +02:00
Fabien Meghazi
93073dff94
[FIX] exclude /web/[css|js] in parsing
...
bzr revid: fme@openerp.com-20140410174025-74hmzzalkxux3tvb
2014-04-10 19:40:25 +02:00
Fabien Meghazi
4cc3ed6fab
[MERGE] trunk
...
bzr revid: fme@openerp.com-20140410173630-eq1uh58nba7yptf8
2014-04-10 19:36:30 +02:00
Fabien Meghazi
cc722b62a2
[ADD] cache
...
bzr revid: fme@openerp.com-20140410164744-i7fr4bqax88430ao
2014-04-10 18:47:44 +02:00
Fabien Meghazi
71d1a7f6e3
[ADD] checksum
...
bzr revid: fme@openerp.com-20140410155412-64h843qo6k9vcwbz
2014-04-10 17:54:12 +02:00
Thibault Delavallée
24e5270347
[IMP] ir_qweb: added country flag management in contact widget
...
bzr revid: tde@openerp.com-20140411091621-q0c2ndzv9xpptzqo
2014-04-11 11:16:21 +02:00
Fabien Meghazi
b8e9e0e8f4
[ADD] last modified date
...
bzr revid: fme@openerp.com-20140410143224-rb8892vn0yqmr56g
2014-04-10 16:32:24 +02:00
Fabien Meghazi
8e878a8e01
[WIP] bundle minify
...
bzr revid: fme@openerp.com-20140410101847-srs54wvf39rjjf2j
2014-04-10 12:18:47 +02:00
chm@openerp.com
9d187f9915
[IMP] ir_qweb: first tag 't' template of a view is added to qwebcontext.templates with id of ir_ui_view
...
bzr revid: chm@openerp.com-20140410080058-tx59gwh8nsefria3
2014-04-10 10:00:58 +02:00
Fabien Meghazi
c1dc467701
[WIP] AssetsBundle
...
bzr revid: fme@openerp.com-20140409161758-3hye6u21rjmoiio9
2014-04-09 18:17:58 +02:00
chm@openerp.com
64462173c1
[IMP] ir_qweb, ir_ui_view: can use id insead of xml_id; can render ir.ui.view many2one with widget='qweb' in template
...
bzr revid: chm@openerp.com-20140409124626-ccxnfef7bb7h1gm6
2014-04-09 14:46:26 +02:00
Fabien Meghazi
cbb5488f97
[ADD] t-call-assets
...
bzr revid: fme@openerp.com-20140408075205-9v8fxg786jj0fj77
2014-04-08 09:52:05 +02:00
Christophe Simonis
0161666e8b
[MERGE] forward port of branch saas-3 up to revid 5112 chs@openerp.com-20140407144238-3s38zadkh7yxpdy7
...
bzr revid: chs@openerp.com-20140407160548-ttuc877kknuycoqw
2014-04-07 18:05:48 +02:00
Simon Lejeune
2599ff5590
[MERGE] trunk
...
bzr revid: sle@openerp.com-20140407133627-36iijkx89552bwa0
bzr revid: sle@openerp.com-20140407174628-24wysrr3g8x0fijd
bzr revid: sle@openerp.com-20140408135137-0ficpzark3mjys9r
2014-04-08 15:51:37 +02:00
Simon Lejeune
9e1f395c23
[IMP] ir_qweb: added t-esc-options to allow customization of a t-esc; added an ir.qweb.widget model to format the t-esc value depending on the 'widget' key of t-esc-options; added ir.qweb.widget.monetary
...
bzr revid: sle@openerp.com-20140407131145-a6357u6tdbu6v2ix
2014-04-07 15:11:45 +02:00
Olivier Dony
e98131e0cd
[FIX] ir.qweb: avoid errors with function fields of type datetime
...
bzr revid: odo@openerp.com-20140403162005-i6lbbj6uco6dnrkq
2014-04-03 18:20:05 +02:00
Simon Lejeune
43beb0e752
[FIX] ir_qweb groups: in order to compute the groups of a user, we are using cr and uid from request. In case we are rendering the template in a non-request context (for instance, automated tests), we have no cr and uid ; do not compute the user groups in this case.
...
bzr revid: sle@openerp.com-20140401153114-blxgbyp8zgx120r3
2014-04-01 17:31:14 +02:00
Simon Lejeune
48f785d786
[REF] Moved qweb contact from website to base and removed the from_html method (it never worked)
...
bzr revid: sle@openerp.com-20140324135723-2f8owtcotk3n9jt8
2014-03-24 14:57:23 +01:00
Xavier Morel
a2ef044c47
[IMP] skip injection of data-oe-* attributes outside of editable mode
...
bzr revid: xmo@openerp.com-20140317110904-k8bptgv7y2yhhh8s
2014-03-17 12:09:04 +01:00
Denis Ledoux
80ba313bbe
[FIX] base: qweb display correct traceback on exception
...
bzr revid: dle@openerp.com-20140305110435-ekhperp8jwusrzu0
2014-03-05 12:04:35 +01:00
Kersten Jeremy
7917c495e9
[IMP] Add options hide_seconds in widget datetime. If this option is set with another value that False, seconds are removed from pattern to display only hours and minuts
...
bzr revid: jke@openerp.com-20140227164611-0tolnpzmaywhs15l
2014-02-27 17:46:11 +01:00
Fabien Meghazi
fa61a1e5a7
[REV] Bring back QWebException, rename QWebException#inner to 'cause'
...
bzr revid: fme@openerp.com-20140131113515-ahcix3h6uzzdz8ix
2014-01-31 12:35:15 +01:00
Antony Lesuisse
f119c818c7
[REV] never change exceptions types
...
bzr revid: al@openerp.com-20140131010802-5zh9m5jc1ajnp5wj
2014-01-31 02:08:02 +01:00
Fabien Pinckaers
849125efd2
[FIX] removing test that commits and small fix
...
bzr revid: fp@tinyerp.com-20140131002701-4eaggu8tszph4vl5
2014-01-31 01:27:01 +01:00
Fabien Meghazi
6be5db45b0
[IMP] QWeb exceptions shall not shadow original exceptions
...
bzr revid: fme@openerp.com-20140130211708-5i9lpi4ddn7a2xbe
2014-01-30 22:17:08 +01:00
Olivier Dony
3d1b879049
[IMP] qweb.render: t-esc/t-raw rendered as `False` or `None` replaced by empty strings
...
bzr revid: odo@openerp.com-20140129180600-0c155g520gpvnqqf
2014-01-29 19:06:00 +01:00
Christophe Matthieu
d546e0db2f
[fIX] ir_qweb: fix groups inside t-call (use request.cr and request.uid and don't use None, None)
...
bzr revid: chm@openerp.com-20140129171138-zwuj2vyzu7l853np
2014-01-29 18:11:38 +01:00
Fabien Meghazi
38e651cbd2
[REM] Removed t-href|t-action|t-src from server's ir.qweb. Restor add_template for template preprocessing
...
bzr revid: fme@openerp.com-20140128201235-iv2gwjt1jn00bwoo
2014-01-28 21:12:35 +01:00
Fabien Meghazi
0ffa561bbf
[FIX] QWebException
...
bzr revid: fme@openerp.com-20140127145728-o3cxjoifut31s011
2014-01-27 15:57:28 +01:00
Fabien Meghazi
4138c1211c
[IMP] Reworked qweb exceptions
...
bzr revid: fme@openerp.com-20140127113921-7u3gfzm7ykb3ruud
2014-01-27 12:39:21 +01:00
Fabien Meghazi
76144806af
[IMP] If t-field can't get/use the resource, set it's content to None
...
bzr revid: fme@openerp.com-20140124132137-7m8840py82nlib40
2014-01-24 14:21:37 +01:00