summaryrefslogtreecommitdiff
path: root/addons/web/controllers/main.py
AgeCommit message (Collapse)Author
2012-02-20[imp] made the body css properties be included only in full web-client modeniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120220095238-lxwtctbpo46ekpul
2012-02-17[imp] put openerp into bodyniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120217110152-x66rfhyfkqao04k0
2012-02-17[imp] repaired illogic al's codeniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120217105636-61tk67zbx9calc1b
2012-02-13[FIX] Fix one million bugs in IE8Fabien Meghazi
bzr revid: fme@openerp.com-20120213135611-ndrboz8urcg6kclu
2012-02-13[FIX] get_last_modified in case no file is providedXavier Morel
lp bug: https://launchpad.net/bugs/931293 fixed bzr revid: xmo@openerp.com-20120213091049-thhwo5fzadsy4671
2012-02-10[FIX] completely destroy the current openerp session on logout (but leave ↵Xavier Morel
the webclient session), so other tabs using the same session get unlogged lp bug: https://launchpad.net/bugs/925386 fixed bzr revid: xmo@openerp.com-20120210164309-lyslwm4t94a4jd7g
2012-02-10[IMP] move all the making-stuff-conditional-based-on-other-stuff code to a ↵Xavier Morel
dedicated method of the WebClient controller provides a single point of configuration if/when we decide to change the cache-control stuff, mostly bzr revid: xmo@openerp.com-20120210141338-3aib9ls3b72gr4ez
2012-02-10[IMP] conditional GET for concatenated JS and CSS filesXavier Morel
bzr revid: xmo@openerp.com-20120210140021-uh5t5egr00dxdwr8
2012-02-09[CNG] make forms worse but pagination not break in case of manyrecordsXavier Morel
bzr revid: xmo@openerp.com-20120209170748-l70q7grxgsumha2i
2012-02-09[FIX] don't blow up filters management if a filter uses an invalid syntax ↵Xavier Morel
(or an unknown variable) and can't be evaluated bzr revid: xmo@openerp.com-20120209161542-whs5ye637lijas26
2012-02-09[FIX] Application Tiles now heed the custom menu domain, just like the nain menuOlivier Dony
This makes both behaviors consistent and allows the portal module to work properly. bzr revid: odo@openerp.com-20120209141339-c2vs0lrx7ws6plzs
2012-02-09[CNG] don't filter out function fields from import or export, only readonly ↵Xavier Morel
fields bzr revid: xmo@openerp.com-20120209090214-84d6jjr1jnf32kpi
2012-02-09[FIX] menus handling in case user has no menu_idXavier Morel
also add comments to explain some strange-looking code's behavior bzr revid: xmo@openerp.com-20120209083554-2b8d8qlzz8y9fhan
2012-02-08[FIX] better fix for portal menu using res.users._menu_id reverting 2107 ↵Antony Lesuisse
revid:al@openerp.com-20120203132249-pbkdci0q5fxz1k33 bzr revid: al@openerp.com-20120208001305-ef3c2w7a222ph7v0
2012-02-08[FIX] Binary#save_as does not send context. Breaks some accounting ↵Fabien Meghazi
downloadable reports. Example of broken report was : Accounting > Reporting > Legal Reports > Belgium Statements > Periodical VAT Declaration bzr revid: fme@openerp.com-20120208103935-cv9nn9kg1vssosgm
2012-02-06[MERGE] sync with latest trunkOlivier Dony
bzr revid: odo@openerp.com-20120206153300-ql0qo3mf0j4x05n9
2012-02-04[FIX] typo in menu loading code changed in previous revisionOlivier Dony
lp bug: https://launchpad.net/bugs/926408 fixed bzr revid: odo@openerp.com-20120204001404-82kaxklke0olehko
2012-02-03[FIX] use regular recursive menu loading because it breaks portalAntony Lesuisse
bzr revid: al@openerp.com-20120203132249-pbkdci0q5fxz1k33
2012-02-02[IMP] refactored translation system to merge web translations with addons ↵Olivier Dony
translations - Moved the web *.po files to /i18n to be consistent with the addons convention. Using /po was considered for a while because it played better with LP's auto- detection of PO Templates, but that is not necessary anymore, we now have full control on LP templates. - In order to support addons that contain translations for both the web addon and the regular addon part, both kinds of translations are now merged in a single addon/i18n/addon.pot file. Terms that are used by the web part are now marked with a PO annotation: #. openerp-web so the web client can recognize them and only load the relevant translations in the browser memory. This is important because a complete PO file can be rather large, e.g. account/i18n/de.po = 400KB. - The web translation export scripts were updated to behave properly for addons that have a non-web part, and will merge the web translation in the original POT file, annotating the web translations as needed. These scripts are Unix-only and meant to be used by OpenERP packagers when needed. - The GetText spec says that PO auto-comments indicating the source location have this form: #: /path/to/file:lineno However OpenERP's POT export system defaults to a modified version of this format with an extra 'type' field: #: type:/path/to/file:lineno The babel extractors we use have the GetText format hardcoded so a small patch is needed on the server to make it more lenient and accept the standard source annotation, defaulting to 'code' type. This does not matter for openerp-web, but makes sure the server will not fail to load the new PO files that contain openerp-web translations with standard annotations. The patch for making the server more lenient was checked in trunk at revision 4002 rev-id odo@openerp.com-20120202143210-05p1w24t6u77cyv8 - The existing translation sync and export wizards for regular addons have not been updated to consider web addons, so for the time being we will have to export regular addons terms first, and run the web export script (gen_translations.sh) on the addons directory afterwards. This could be improved later. As soon as this change is merged we will have to perform a full update of addons translation templates in order to include the web terms as well. bzr revid: odo@openerp.com-20120202145603-ffo0il0qnfp3r6gt
2012-01-31[IMP] docstring for fix_view_modesXavier Morel
bzr revid: xmo@openerp.com-20120131095651-a249eben5d8xjkvd
2012-01-27[FIX] CSS paths adaptation when running openerp-web (python side) in WindowsXavier Morel
lp bug: https://launchpad.net/bugs/920938 fixed bzr revid: xmo@openerp.com-20120127113033-5jb9bcfothcd30ly
2012-01-25[FIX] handling of encoding of field names when serializing to export data filesXavier Morel
lp bug: https://launchpad.net/bugs/921470 fixed bzr revid: xmo@openerp.com-20120125162558-1lfs3xb5xi35xjym
2012-01-25[IMP] id special case, keep original @typeFabien Meghazi
bzr revid: fme@openerp.com-20120125112325-xup3ol7ns99l02rp
2012-01-25[FIX] Special case id fieldsFabien Meghazi
lp bug: https://launchpad.net/bugs/919184 fixed bzr revid: fme@openerp.com-20120125111628-vsz6mwptd7bm8hlm
2012-01-23[FIX] onchange: handlers can return 'False' instead of en empty dict when ↵Xavier Morel
they don't want to return anything, don't blow up lp bug: https://launchpad.net/bugs/920443 fixed bzr revid: xmo@openerp.com-20120123144605-j2jqvaelro0dv28f
2012-01-23[IMP] add ~ISO timestamps to db dump filenamesXavier Morel
bzr revid: xmo@openerp.com-20120123100744-k8qatd18p18hd8y5
2012-01-23[FIX] revert html_template is used by other modules. commit 2012 ↵Antony Lesuisse
revid:nicolas.vanhoren@openerp.com-20120118161735-2yuxisndfq92ctoi bzr revid: al@openerp.com-20120122233202-moq81q35qddjtlw8
2012-01-20[ADD] support for 'domain' key in result of onchange handlersXavier Morel
bzr revid: xmo@openerp.com-20120120110543-29ebq5u0ghp32hkv
2012-01-20[ADD] dynamic view: handle setting domains via onchangeXavier Morel
lp bug: https://launchpad.net/bugs/911676 fixed bzr revid: xmo@openerp.com-20120120105608-zjbam8ki4uoqer5v
2012-01-19[REM] unused imports mistakenly added in revision ↵Xavier Morel
xmo@openerp.com-20120119144837-dp6r7vqx581b4mrt bzr revid: xmo@openerp.com-20120119155425-kud19lwt56du1ym9
2012-01-19[FIX] correctly display crash manager in case of report errorXavier Morel
lp bug: https://launchpad.net/bugs/917227 fixed bzr revid: xmo@openerp.com-20120119144837-dp6r7vqx581b4mrt
2012-01-19[FIX] avoid blank page when the database assigned to the session has been ↵Christophe Simonis
removed bzr revid: chs@openerp.com-20120119143057-pbqdh15jptyc7y0a
2012-01-19[MERGE] various style and code improvements, and overly broad exception ↵Xavier Morel
handlers fixes bzr revid: xmo@openerp.com-20120119095236-0ge089y2yhpcz8h3
2012-01-19[REF] code review.Florent Xicluna
bzr revid: florent.xicluna@gmail.com-20120119085213-94b2p3268q25bni2
2012-01-18[imp] cleared main htmlniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120118161735-2yuxisndfq92ctoi
2012-01-18[MERGE] merged trunk.Vo Minh Thu
bzr revid: vmt@openerp.com-20120118101252-e81nlyzym2nkebf4
2012-01-17[FIX] un-nivity call of WebClient, IE8 does not like nobody to mess with its ↵Xavier Morel
body: bzr revid: xmo@openerp.com-20120117140213-u2n1l4cg1nz1xrea
2012-01-17[IMP] Xml2JSON: remove useless class indirection and unused methodsXavier Morel
bzr revid: xmo@openerp.com-20120117094748-g9470elsdpx78im8
2012-01-16[MERGE] merged trunk.Vo Minh Thu
bzr revid: vmt@openerp.com-20120116110631-lrzp6uxsjki7by22
2012-01-16[IMP] Removed the openerp.addons prefix when loading modulesVo Minh Thu
in stand-alone mode. Changed the import web.common to relative import (because the the import-hook in the server is not able to load modules with self-referential import). bzr revid: vmt@openerp.com-20120116104329-k68li2vul4b3j7ry
2012-01-13[FIX] avoid having the XML concatenator blow up when passed an empty list of ↵Xavier Morel
files ~/projects/tiny/web/current turns out ElementTree has a hard time XML-serializing ``None`` (who'd have guessed...), which is what it gets told to do when concat_xml is called with an empty list of files. Return an empty string and no timestamp (should probably be one there at some point, but...) and fix the QWeb loader to not do anything when it gets an empty template file. bzr revid: xmo@openerp.com-20120113150641-6i3ot1jg7r3kpw3d
2012-01-13[FIX] concatenated JS files blowing up when not terminated with a semicolonXavier Morel
If the final semicolon of an openerp module is forgotten and the next file starts with an expression (such as a parens, because it's a third-party module using the module pattern, see Backbone.js or jQuery for examples), the JS parser will not perform semicolon insertion and will instead try to execute the module's wrapper/initializer function by passing it whatever follows it (generally an other function). This usually results in an error and stuff blowing out everywhere for no obvious reason. Concatenation of JS files now adds an explicit semicolon between files (ideally it should only add one if it's missing, but that would require backtracking in the file while skipping comments &etc, can't be arsed and double-semicolons don't hurt much) to avoid this issue. bzr revid: xmo@openerp.com-20120113150110-47j90oishtjrib7s
2012-01-13[IMP] display a warning and disable excel export option when XLWT is not ↵Xavier Morel
installed lp bug: https://launchpad.net/bugs/915347 fixed bzr revid: xmo@openerp.com-20120113090611-lmiu5y7y7b9td8hg
2012-01-11[FIX]attachment without fname_attachment.vishmita
lp bug: https://launchpad.net/bugs/909069 fixed bzr revid: vja@vja-desktop-20120111125501-3jh2u9oyvt92ble9
2012-01-10[IMP] correctly handle filenames in list view binariesXavier Morel
bzr revid: xmo@openerp.com-20120110155020-ab02qb0ktlfxnwvb
2012-01-10[ADD] handling of binary fields to the listviewXavier Morel
bzr revid: xmo@openerp.com-20120110153905-zxqkze9c4zrkmv2a
2012-01-10[IMP] add doc to Binary.saveas, and rename a field for clarityXavier Morel
bzr revid: xmo@openerp.com-20120110143518-ircd8x1feyf5rquf
2012-01-06[imp] added method to call a model method with kwargsniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120106103219-4t633kov3hsz50tj
2012-01-04[fix] rollback 1873 & 1871 to correct bugs related to login page & dialogsniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120104155329-tfk6gt4mjhme82od
2012-01-04[imp] changed declaration of bodyniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20120104130952-61ti896e6pxgorps