summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/utils.js
AgeCommit message (Collapse)Author
2016-06-17[REF] web: move async_when to utilsGéry Debongnie
2016-06-17[REF] web, web_calendar: move toBoolElse to web.utilsGéry Debongnie
2016-05-27[REF] web: move dom_utils to its own fileGéry Debongnie
2016-05-04[ADD] web: some deferred utilsAaron Bohy
2016-04-21[REF] web: stop duplicating webAaron Bohy
Avoid duplicating web addon in enterprise by extracting a common basis. Enterprise features stay in enterprise, but use that common basis. Mainly: - JS refactoring and linting - Conversion of .sass into .less split into multiple files - Templates cleaning and DOM simplification - Re-generation of web.pot, and update of .po files
2016-02-17[MERGE] forward port of branch saas-9 up to 87a01c7Christophe Simonis
2016-02-17[FIX] web: prevent focus issue with autoresizeGéry Debongnie
The copied textarea used in autoresize was a valid target for focus when using the tab key. This is a major issue in editable list views, because when the user leaves a textarea, the list view jumps up, with no visible focused field.
2016-02-17[IMP] web_kanban_gauge: remove justgage lib and use d3Christophe Matthieu
2016-01-18[FIX] web: fix autosize small bugsGéry Debongnie
- better width handling - disable css vertical resize - correctly copy css classes to the 'shadow' textarea
2016-01-14[FIX] web: utils: backport of swap() for enterprise compatibilityAaron Bohy
2016-01-11[FIX] web: reimplement autosize for fun (and some bugfixing)Géry Debongnie
autosize does not work correctly (it moves the screen in all directions sometimes when the user press enter in the bottom of the screen in some browser), So, we decided to have our own version, because of course, we can do it better. A few horrible hacks later, I proudly present you "autoresize" (it was almost named "odooresize" but common sense prevailed). As added benefits, it plays better with our web client, so when you open a dialog in a modal for example, the autosize fields should have the correct height automagically (or should I say 'odoomagically')
2015-11-25[MERGE] forward port of branch saas-6 up to dade7e3Christophe Simonis
2015-06-18[IMP] web: pager: editable feature + documentationAaron Bohy
Pager's state can now be edited (mainly to change the limit, but the range of values as well).
2015-05-13[IMP] web: New generic progressbar widget + FieldProgressBar adaptationqsm-odoo
2015-05-12[ADD] web : progress bar widget + method for human readable big numbersMartin Geubelle
2015-04-30[ADD] web utils: xor functionArthur Maniet
2015-04-17[FIX] *: correct previous forward portChristophe Simonis
Due to files renaming, some patched should be applied manually to the correct files. Forgot to `git add` these files when committing the forward port...
2015-03-24[IMP] web : add set_cookie in utils.js (framework) since the get_cookie ↵Jérome Maes
method already exists. The set_cookie of session.js is now using the one from utils.js
2015-03-18[IMP] web+addons: improvement to module systemGéry Debongnie
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.
2015-03-18[REF] web: add module system to the web clientGéry Debongnie
This commit introduces a new module system for the javascript code. Instead of using global (namespaced) variables everywhere (like openerp.web.whatever, ...), each file declare one (or more) module with its dependencies. Each module will be loaded after its dependencies, and will be given a reference to the return values. This change is a massive departure from the way the client worked previously. It will sadly break some/most history, but I am sure that the future git ecosystem will allow you to easily browse the history past this revision (one can dream). This commit feature: * main namespace is now odoo instead of openerp * a way to define modules and dependencies (inspired by requirejs) * many files have been splitted in simpler subfiles * basic support for debugging in odoo.__DEBUG__ * no global variable (i.e. nothing in window.openerp) * many bug fixes, many new bugs Future vision: this modularization should simplify future code development, simplify debugging and will allow a serious testing effort