summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/formats.js
AgeCommit message (Collapse)Author
2012-02-15[FIX] handling of date and time formats with bare/literal charactersXavier Morel
lp bug: https://launchpad.net/bugs/932448 fixed bzr revid: xmo@openerp.com-20120215153237-4q1y6snebxk6sheh
2012-02-08[FIX] sign handling when parsing float_time valuesXavier Morel
bzr revid: xmo@openerp.com-20120208140445-xfgz3vm18r4t9ijb
2012-02-08[FIX] formatting of float_time fieldsXavier Morel
lp bug: https://launchpad.net/bugs/928220 fixed bzr revid: xmo@openerp.com-20120208135655-79qnr5tl6admxr1e
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-11[FIX] correctly htmlescape data in format_cellXavier Morel
* htmlescape everything coming from format_value * use _.template instead of _.str.sprintf to more easily escape data in binary rendering * move progressbar rendering to format_cell since it produces HTML nodes, render it via _.template bzr revid: xmo@openerp.com-20120111095853-voaoxkvdls294q5s
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-09[IMP] Improved list view boolean formattingFabien Meghazi
lp bug: https://launchpad.net/bugs/910767 fixed bzr revid: fme@openerp.com-20120109134757-wbuy45h1pca9lpgo
2012-01-03[FIX]fix bug issue.Vidhin Mehta (OpenERP)
lp bug: https://launchpad.net/bugs/910767 fixed bzr revid: vme@tinyerp.com-20120103084351-wwct754cke2b1n50
2011-12-30[FIX] support many2one widget selection in treeAntony Lesuisse
bzr revid: al@openerp.com-20111230164655-sfiha4rkbrqni4y0
2011-12-22[fix] problem with list view in o2m and buttons that should be disabled in ↵niv-openerp
some cases lp bug: https://launchpad.net/bugs/884207 fixed bzr revid: nicolas.vanhoren@openerp.com-20111222124913-fezv69rxh7xoulkm
2011-12-20[fix]fix bug 884207.Vidhin Mehta (OpenERP)
lp bug: https://launchpad.net/bugs/884207 fixed bzr revid: vme@tinyerp.com-20111220121135-k0pwb4j3jzwrr1we
2011-12-15connection jsonp wipAntony Lesuisse
bzr revid: al@openerp.com-20111215183259-vam7tsjlkqhjam69
2011-12-08[MERGE] trunkAntony Lesuisse
bzr revid: al@openerp.com-20111208133952-183wp4ozrr0gvea8
2011-11-29[IMP] make float-parsing code more readable by fixing some variable namingXavier Morel
bzr revid: xmo@openerp.com-20111129101334-4uu8v21arkn5h0tu
2011-11-29[FIX] Add tests for parsing integers and floats, fix parsing of floats in ↵Xavier Morel
case user locale defines thousand separator as the dot lp bug: https://launchpad.net/bugs/893575 fixed bzr revid: xmo@openerp.com-20111129095958-966ikmsgf6zwamdh
2011-11-23[FIX] generate absolute urls for imagesChristophe Simonis
bzr revid: chs@openerp.com-20111123092055-iqwm3uy1sxw4iq5o
2011-11-16[FIX] some badly implemented function fields return empty strings (for e.g. ↵Xavier Morel
dates, instead of False) treat empty strings as 'false' except for char fields bzr revid: xmo@openerp.com-20111116100416-0713i9va49ffbzlh
2011-11-15[IMP] Upgraded unserscore version from 1.1.7 to 1.2.2 and underscore.string ↵Fabien Meghazi
from 1.1.6 to 1.2.0 WARNING: underscore string does not mixin to underscore by default. Use _.str.* bzr revid: fme@openerp.com-20111115123059-k31lhp0db2d8h22k
2011-11-14[FIX] support 'thousands' separator for floatsXavier Morel
lp bug: https://launchpad.net/bugs/886471 fixed bzr revid: xmo@openerp.com-20111114155332-3on98ot7o808z0gi
2011-11-14[FIX] support 'thousands' separator for integersXavier Morel
lp bug: https://launchpad.net/bugs/886471 fixed bzr revid: xmo@openerp.com-20111114154510-r6bdi22cyygh72ak
2011-11-14[ADD] function to insert 'thousands' separatorsXavier Morel
bzr revid: xmo@openerp.com-20111114153436-pj6vq6lamfrjpg7f
2011-11-14[FIX] correctly apply user's date and time formatting settingsXavier Morel
lp bug: https://launchpad.net/bugs/886471 fixed bzr revid: xmo@openerp.com-20111114140007-7nz0pz9zkhqkt3ga
2011-11-10[IMP] throw actual errors in formatting functions, in order for browser ↵Xavier Morel
devtools to be useful throwing strings prevents browser devtools/consoles from using traceback information (because there isn't any on strings) bzr revid: xmo@openerp.com-20111110152313-phgtr24gyu2ltjn7
2011-11-10[ADD] fallback float_time parsing on float parsing if the value does not ↵Xavier Morel
match float_time's format bzr revid: xmo@openerp.com-20111110133100-sp4ttbfy90cz9kjq
2011-11-10[IMP] some naming in openerp.web.parse_value, throw actual errorsXavier Morel
bzr revid: xmo@openerp.com-20111110132940-0jt103hhlhh5jzej
2011-10-27[FIX] unfuck formatting of negative floatsXavier Morel
bzr revid: xmo@openerp.com-20111027125448-3wkk61xpt8uwjgt1
2011-10-21[FIX] completely broken float formatting when leading 0Xavier Morel
Formatting converted the decimal part into an integer, dropping all leading 0s and failing to reinsert them. The conversion also lead to compounded errors, casting 0.1100 into 0.10999 (something like that). Replace this by a straight float formatting via _.sprintf and the slicing of the decimal part from the resulting string (Math.abs and %1 clamp the value to format to the [0, 1[ range, ensuring we just need to slice off the first two characters). Also add some tests. lp bug: https://launchpad.net/bugs/879355 fixed bzr revid: xmo@openerp.com-20111021120741-813im5bzup7vho1f
2011-10-12[ADD] display of selection fields in format_valueXavier Morel
bzr revid: xmo@openerp.com-20111012120938-9lpxm6mf8jbde6oj
2011-10-05[FIX] Do not compute modifiers for aggregates in list view.Fabien Meghazi
lp bug: https://launchpad.net/bugs/865188 fixed bzr revid: fme@openerp.com-20111005153202-4ao575zh3885ukuy
2011-09-21[imp] simplified formatting functions for datesniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20110921123139-f57zgqwdghl2qbf7
2011-09-19[imp] corrected integer handling in search viewniv-openerp
bzr revid: nicolas.vanhoren@openerp.com-20110919134615-9ef47xeuw3gxdmwr
2011-09-05rename base into web part1Antony Lesuisse
bzr revid: al@openerp.com-20110905110309-egx167t1ni1fzho1