| Age | Commit message (Collapse) | Author |
|
|
|
Code managing language in URLs and redirection is moved from website
to http_routing. Override of _dispatch in website now consists in adding
website to the request.
url_for and is_multilang_url tools methods are also moved from website
to http_routing.ir_http as those are required for the moved code.
Some renaming is performed on request attributes previously added in
website. Indeed as website keyword may be misleading now a renaming
has been performed to better understand them :
* request.website_enabled -> request.is_frontend
* request.website_multilang -> request.is_frontend_multilang
* request.httprequest.cookies.get('website_lang') -> ('frontend_lang')
* first_pass variable in _dispatch is replaced by a new attribute of
request, routing_iteration, that is the number of routing iterations
currently done
|
|
Before this commit, impossible to edit the master if no language switcher
was displayed on the web page.
|
|
to prevent errors when the localStorage capacity is 0, which is the case e.g.
on private browsing with Safari.
|
|
* Adapt DOM selectors
* Refactore dialog XMLs to have odoo styling
* New editor options (background-position, ...)
* Various improvements
|
|
|
|
When no update has been done on website, we don't have this default-lang
data/attribute. So we use an hack to find the default lang which one is
the shortest because no lang is present in the url.
|
|
|
|
for html field) and website
|
|
|
|
|
|
* Complements commits a696913364ffc4d5f1ce0675bc9be82f84f3ff93 and
21d4b3fda9dd1ba480ee407f62c83375cfe1d8ef by adding the missing `data-lang`
attribute also in the report layout (in saas-6 a single QWeb
template is used for language links in both reports and website
layouts).
* Fix the "Edit Master" link to work also for outdated templates
where the data-lang attribute is dynamically set to 'default',
and thus cannot be used as URL prefix -> use /website/lang
controller to switch lang instead.
|
|
|
|
Thanks @sle-odoo
|
|
Since user is redirected automatically in his preferred language, the button edit_master redirect always to
the current lang and so not the master.
|
|
Since user is redirected automatically in his preferred language, the button edit_master redirect always to
the current lang and so not the master.
|
|
|
|
|
|
|
|
The translations of a page A in a version are applied to all the pages
with the same key of page A.
|
|
The module system needs to know the dependencies of a given module
before executing the function. This is why the dependencies were
defined once in an array, and then were described one more times in the
call to require.
But a trick can simplify this: the boot function can parse the string
representation of the module and extract the calls to require from it.
It is more work for the processor, but it leads to simpler module
definitions.
|
|
|
|
|
|
-Website.tours must be loaded after the translation data:
"website.ready" before the tour ensure that the translations are loaded.
-Translations for qweb templates not applied:
Translate all text nodes in qweb templates when translation data
are loaded.
-Add some translations in website tours.
opw:619786
|
|
|
|
I think we could get rid of the .trim() calls (for performance sake)
but I don't want to break anything so I'll leave them.
|
|
|
|
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.
|
|
|
|
Works with order and not job, because when you send a batch to translate, you don't know all the job but only the order.
|
|
specifics
Bundlification (and later merge of editor and web client) can't work with conditional
script inclusion
bzr revid: fme@openerp.com-20140425124913-9jsfhbfhoq6j6xxl
|
|
count words dialog
bzr revid: pga@tinyerp.com-20140331070625-qtr7l45lnca5rfze
|
|
bzr revid: pga@tinyerp.com-20140326112709-m1iqkkmjt1xtmio1
|
|
from wizard,removed constraint from base_gengo
bzr revid: pga@tinyerp.com-20140324103631-j4cswrlk5huuibt5
|
|
bzr revid: pga@tinyerp.com-20140320120758-ojgqpqb8sakdhkbb
|
|
bzr revid: pga@tinyerp.com-20140320094434-4zp7x6dmd27wfza2
|
|
bzr revid: pga@tinyerp.com-20140320092643-1pw62dmbj9h6sjh4
|
|
bzr revid: pga@tinyerp.com-20140320071028-adyh8d89o7dij81o
|
|
bzr revid: pga@tinyerp.com-20140319133121-31umju0ea84sm93y
|
|
bzr revid: pga@tinyerp.com-20140318133036-j1hcrz7bybolw44u
|
|
bzr revid: fme@openerp.com-20140317132416-nu10ltrskc8d0orf
|
|
website: contact qweb widget
bzr revid: chm@openerp.com-20140121123912-0ya4ziusj09efti3
|
|
Not working quite well
Working it out
bzr revid: fme@openerp.com-20131105151651-8jn1po2fhyojum2c
|
|
bzr revid: fme@openerp.com-20131105091547-b5k014x090m91qed
|
|
bzr revid: fme@openerp.com-20131029161128-ko0ocpa0h6kziooh
|
|
bzr revid: fme@openerp.com-20131023091152-h0hxw47hzfor2al8
|
|
bzr revid: fme@openerp.com-20131023081501-f9owb501j16757bk
|
|
bzr revid: xmo@openerp.com-20131022151144-tblwba9rf77iuidl
|
|
http://www.w3.org/TR/css3-selectors/#attribute-selectors
http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
> identifiers (including element names, classes, and IDs in selectors)
> can contain only the characters [a-zA-Z0-9] and ISO 10646 characters
> U+00A0 and higher, plus the hyphen (-) and the underscore (_); they
> cannot start with a digit, two hyphens, or a hyphen followed by a
> digit.
so "0" or "1" is not a valid identifier, must be a string and must
thus be quoted.
bzr revid: xmo@openerp.com-20131022142049-6fq70sielv95kmu0
|
|
bzr revid: fme@openerp.com-20130926233158-cj2ldz323emynivg
|