Antony Lesuisse
2d296cb779
[MERGE] ir-ui-view split active and show_customize
...
Split the ternary field application in active and show_customize, all four
possible value are now needed for the customize theme popup.
2014-08-31 16:56:44 +02:00
Fabien Meghazi
5e6e1303e3
[IMP] pretty urls for /website/image
2014-08-28 16:37:38 +02:00
Fabien Meghazi
f2583323a9
[FIX] language and model converter redirections should use code=301
2014-08-27 14:05:09 +02:00
Jeremy Kersten
20d366595c
[IMP] website: Redirect user in the language of the browser
2014-08-26 11:54:07 +02:00
Fabien Meghazi
709dc659b2
[IMP] Allow to specify http code for request.redirect()
2014-08-26 11:50:13 +02:00
Fabien Meghazi
18068a5e79
[FIX] website.layout hreflangs
...
- First line is not correct due to url_for() refactoring's leftover
- href's should be full urls with domain name
- Use short language for hreflang if possible
2014-08-25 17:43:39 +02:00
Christophe Matthieu
c3d2540477
[FIX] website.editor: must display link information in linkdialox box. Remove /page/ and /page/website. from the needle to search page and apply real url as filter after the search
2014-08-20 17:54:10 +02:00
Christophe Simonis
b3ddbee543
[FIX] website: correct unslugify of routes
2014-08-19 16:43:23 +02:00
Denis Ledoux
ae65be2b2a
[MERGE] forward port of branch saas-5 up to 0739bc4
2014-08-11 15:58:02 +02:00
Denis Ledoux
7c647ec876
[MERGE] forward port of branch saas-4 up to 0a1e4a0
2014-08-08 17:27:29 +02:00
Thibault Delavallée
ac212e2758
[FIX] ir_actions in website: allow to compute website_path even when creating a new server action (avoid crash then)
2014-08-08 11:43:28 +02:00
Christophe Simonis
f2cb8702b2
[FIX] website: correct image resizing
2014-08-06 16:20:22 +02:00
Jeremy Kersten
05f9b45ef1
[FIX] slug: fallback to positive ID when slug appears to contain a missing negative ID
...
Cherry-pick from dcac4cc0df
2014-08-05 10:26:03 +02:00
Denis Ledoux
52eadd5199
[FIX] website: use SUPERUSER_ID to browse company for res_company
...
In a multi-company environment,
if the user signed in was not working in the company displayed by the website,
he couldn't browse the website
2014-08-04 21:08:18 +02:00
Olivier Dony
dcac4cc0df
[FIX] website: slug: fallback to positive ID when slug appears to contain a missing negative ID
...
In some rare cases database records have negative IDs,
so the slug URL could look like /foo--20. This could
be mistaken for a slug ending with a `-` and a positive ID.
The latter is not supposed to happned as final hyphens
are stripped by slugify, but has been used in the past
and may be used in old links.
2014-08-01 15:08:33 +02:00
Christophe Simonis
fd4fd35e32
[MERGE] forward port of branch saas-5 up to e4cb520
2014-07-30 20:52:14 +02:00
Christophe Simonis
e4cb5202a0
[MERGE] forward port of branch saas-4 up to fa07bc8
2014-07-30 20:30:14 +02:00
Christophe Simonis
fa07bc8532
[MERGE] forward port of branch saas-3 up to 310d3fe
2014-07-30 19:09:33 +02:00
Christophe Simonis
c6f91facbb
[FIX] website: do not restore page views
2014-07-30 15:10:22 +02:00
Olivier Dony
5d72326fac
[IMP] website: unused imports
2014-07-30 13:24:39 +02:00
Olivier Dony
7739d9ed84
[FIX] website.menu: url field should not be translated
...
Pages are made translatable using a dedicated mechanism,
and there is no UI to translate menu URLs anyway.
2014-07-30 13:24:39 +02:00
Olivier Dony
d041bd97d6
[IMP] website: disable translation exports for test models
...
Avoids noise in POT files
2014-07-30 13:24:39 +02:00
Xavier Morel
3f8fd0dad6
[IMP] website_hr_recruitment: new API
2014-07-15 13:56:19 +02:00
Christophe Matthieu
0effbe3ca6
[FIX] website: enumarate page raise an exception if query_string is not null; Can't create a page with the modal link editor
2014-07-10 14:30:15 +02:00
Jeremy Kersten
faba7cd5aa
[IMP] Crm: Add tracking mixin to manage utm campaign and add this mixin to mass_mailing, crm_lead and sale_order
2014-07-08 17:33:00 +02:00
Raphael Collet
cbe2dbb672
[MERGE] new v8 api by rco
...
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.
- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Olivier Dony
34bfa1b44f
[MERGE] Forward-port saas-5 up to d9cda97
2014-07-05 01:45:45 +02:00
Olivier Dony
d9cda97cf4
[MERGE] Forward-port saas-4 up to 5ceded9
2014-07-05 01:28:19 +02:00
Fabien Pinckaers
0c702bdfa7
Merge pull request #885 from odoo-dev/master-shop-fp
...
Fixes for perf issues /shop + cleaning pricelists & currencies
2014-07-02 20:34:21 +02:00
Fabien Pinckaers
1ce0b70a02
Speed Improvements
2014-07-02 19:03:10 +02:00
Fabien Pinckaers
470503dc8b
Speed Improvement: caching security
2014-07-02 18:35:09 +02:00
Xavier Morel
b18d83c0e0
[IMP] convert qweb to use lxml instead of minidom
...
should be >20x faster at parsing document strings and gain close to 40s on crawling
2014-07-02 16:01:36 +02:00
Simon Lejeune
2870af3b49
[FIX] navbar cache: do not use ormcache as it does not handle kwargs. instead, only get the root menu_ids in rendering context
2014-06-30 19:45:12 +02:00
Jeremy Kersten
e77594c3c3
[IMP] website: backport 5112421a
(unslug)
...
Update the regexp to be not case sensitive
2014-06-30 18:29:20 +02:00
Jeremy Kersten
f4733aa895
[FIX] website - force to test isdigit on a string else a tb "'int' object has no attribute 'isdigit'" can exist if the page var was right and so already and int
2014-06-30 12:27:49 +02:00
Jeremy Kersten
7ba41e75e2
[FIX] Website pager - Be sure that page in get param is a digit else use page 1.
...
Need to find which controller add ?page= instead of &page= because google find some url with '?page=1?page=2' --> page = '1?page=2'. According to google, the referrer is the old website.
2014-06-30 12:10:49 +02:00
Simon Lejeune
20f4da67b3
Merge remote-tracking branch 'odoo/master' into master-report-translation-fix-sle
2014-06-27 18:17:15 +02:00
Christophe Simonis
1f57528bc6
[MERGE] forward port of branch saas-5 up to 8dfd5ea
2014-06-27 16:14:40 +02:00
Christophe Simonis
8dfd5eab01
[MERGE] forward port of branch saas-4 up to a4bc65c
2014-06-27 16:08:09 +02:00
Christophe Simonis
a4bc65cdba
[MERGE] forward port of branch saas-3 up to bdc4dd4
2014-06-27 16:06:37 +02:00
Simon Lejeune
95c1769d55
[FIX] typo
2014-06-27 13:46:46 +02:00
Olivier Dony
a7aa853737
[FIX] website: exception handling: let redirects pass untouched
...
The website module normally tries to render user-friendly
error pages for any error occurring during the processing
of a website-enabled request.
This happens even for werkzeug's HTTPExceptions that have
their own response, because we want the website layout to
be applied on top of the error page.
One special sort of HTTPException should be preserved
without rewriting: the manually-crafted ones generated
with abort(), and usually wrapping a redirect response,
which bears no alteration.
2014-06-27 13:04:31 +02:00
Christophe Simonis
3db44722d4
[FIX] website: correct geoip resolver
...
- "`record_by_addr()` method require the city database.
- The loaded geoip database can be specified via config file
2014-06-27 12:46:56 +02:00
Simon Lejeune
195fa93168
[MERGE] backend front end integration
...
Render the top-menu (backend menu or frontend editbar) server-side.
Use Fontawesome icons (mail, timezone, chat).
Refactor website widgets, split Website.editorBarin editorbar, ace, editorbar- content, editorbarCustomize.
2014-06-27 11:03:34 +02:00
Antony Lesuisse
893aace122
[MERGE] website_sale optional-products
2014-06-26 12:31:15 +02:00
Olivier Dony
668b8c2b2d
[FIX] Forward-port of saas-5 up to 0d330ca
2014-06-25 18:58:19 +02:00
Olivier Dony
0d330ca25c
[MERGE] Forward-port of saas-4 up to fa739ac
2014-06-25 18:44:51 +02:00
Olivier Dony
fa739ac8de
[FIX] website: default mimetype for web-published attachments, avoids crash
2014-06-25 18:37:03 +02:00
Olivier Dony
4d488408b2
[MERGE] Forward-port of saas-3 up to 141e1b2
2014-06-25 18:34:03 +02:00
Jaydeep Barot
026e38b48f
[REM] Unnecessary `size` parameters on char fields
2014-06-25 17:13:43 +02:00