Commit Graph

52 Commits

Author SHA1 Message Date
Fabien Meghazi db2c85635b [IMP] Upgraded unserscore version from 1.1.7 to 1.2.2 and underscore.string 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-15 13:30:59 +01:00
Xavier Morel 42c7cb86d9 [FIX] support 'thousands' separator for integers
lp bug: https://launchpad.net/bugs/886471 fixed

bzr revid: xmo@openerp.com-20111114154510-r6bdi22cyygh72ak
2011-11-14 16:45:10 +01:00
niv-openerp 390b83c7fc [fix] problem in form open popup a form select create popup
lp bug: https://launchpad.net/bugs/888395 fixed

bzr revid: nicolas.vanhoren@openerp.com-20111110093221-u1ry76juajt6c1lz
2011-11-10 10:32:21 +01:00
niv-openerp 6b38206141 [fix] small architecture inconsistency
bzr revid: nicolas.vanhoren@openerp.com-20111109142641-j1yu7ixw2yhhg1q2
2011-11-09 15:26:41 +01:00
niv-openerp 13e361920f [imp] some more architecture improvements
bzr revid: nicolas.vanhoren@openerp.com-20111109110216-p7e2xnckhbs8ojqk
2011-11-09 12:02:16 +01:00
niv-openerp d07f77f62b [imp] small improvement to ease widgetification of the pos
bzr revid: nicolas.vanhoren@openerp.com-20111109104312-tn9vyykt27hyjpej
2011-11-09 11:43:12 +01:00
Antony Lesuisse 61823d98e9 [MERGE] qweb xml loading (chs)
bzr revid: al@openerp.com-20111108160942-lawx5l2brjq2hut8
2011-11-08 17:09:42 +01:00
Christophe Simonis 6e735ccbbe merge upstream
bzr revid: chs@openerp.com-20111103111333-93bu8xdgs30ry5ig
bzr revid: chs@openerp.com-20111108154541-dsz5sjnf7xwihg06
2011-11-08 16:45:41 +01:00
Antony Lesuisse 91f050054f [MERGE] rename Session into connection define a Connection singleton (chs)
bzr revid: al@openerp.com-20111108152723-2w6zpksjw4e1yx7q
2011-11-08 16:27:23 +01:00
Christophe Simonis ae0bf044ef [IMP] qweb templates are stored in addon manifest and given by the server
bzr revid: chs@openerp.com-20111102111105-ibyupno1e47sv9ho
2011-11-02 12:11:05 +01:00
Christophe Simonis 6f899d86c0 [IMP] rename Session to Connection and create one at initialisation
bzr revid: chs@openerp.com-20111027153132-qoj0fiwoj813gsda
2011-10-27 17:31:32 +02:00
Xavier Morel ab1bf880f1 [IMP] blockUI defaults configuration
* Set throbber image as the default message
* Ensure blockUI is on top of dialogs

bzr revid: xmo@openerp.com-20111027124503-i4u0fmqij3o80sy3
2011-10-27 14:45:03 +02:00
Fabien Meghazi 692293d31b [IMP] Add underscore ( '_' ) lib in default rendering context of the qweb instance used in the webclient
bzr revid: fme@openerp.com-20111026082543-xsnfh298e0wb0ccw
2011-10-26 10:25:43 +02:00
Fabien Meghazi 62c52bf0c2 [FIX] Do not use node.parentElement (sorry all)
lp bug: https://launchpad.net/bugs/879797 fixed

bzr revid: fme@openerp.com-20111024092140-zvrtzmy9cppjyaj2
2011-10-24 11:21:40 +02:00
Xavier Morel e1e7cadede [FIX] cookies handling in openerp Session, js-side
bzr revid: xmo@openerp.com-20111020150540-ms0sdzd5qi6pz38o
2011-10-20 17:05:40 +02:00
Fabien Meghazi 278955b207 [ADD] Web client now support template translations
bzr revid: fme@openerp.com-20111020091619-1i2nhopdgszsy48q
2011-10-20 11:16:19 +02:00
Fabien Meghazi b06923f0f5 [FIX] document.head not supported in Firefox 3.6
bzr revid: fme@openerp.com-20111018122607-4z6duz862hb8y3pn
2011-10-18 14:26:07 +02:00
Antony Lesuisse b945c0be65 [MERGE] js and css enumeration and loading by chs
bzr revid: al@openerp.com-20111017145430-a7i3d3yo8fhjhg39
2011-10-17 16:54:30 +02:00
Christophe Simonis 6e93a38f88 [FIX] web: correctly concat_file when no debug
bzr revid: chs@openerp.com-20111014152946-r307ol34kdlq5qrs
2011-10-14 17:29:46 +02:00
Xavier Morel 2eab13708f [IMP] make Registry.get_any faster
throwing exceptions seems quite slow in Safari, and generates a significant performance hit in dashboards

bzr revid: xmo@openerp.com-20111012131255-2cayqxedjpdtj432
2011-10-12 15:12:55 +02:00
Xavier Morel 2e9c6392ea [FIX] remove default_home entirely
bzr revid: xmo@openerp.com-20111012085713-upc0xto0dqf9k4fb
2011-10-12 10:57:13 +02:00
Antony Lesuisse 511e9a0ea4 [IMP] merged application tile with default home
bzr revid: al@openerp.com-20111011233627-6nxfbs64lwzszh7t
2011-10-12 01:36:27 +02:00
niv-openerp 15a6b81dbe [fix] just return a promise where necessary
bzr revid: nicolas.vanhoren@openerp.com-20111004161116-6pylm16ty6v69szu
2011-10-04 18:11:16 +02:00
Xavier Morel 03e842f672 [FIX] double-load on successful login
Session#session_restore is automatically called when the client
session is started, and it performs an RPC call. This RPC call is
checked and leads to the opening of the login form iif the user is not
currently logged in (does not have a valid session).

Due to the behavior of Session#rpc_ajax, this failure on grounds of
invalid session leads to the restore continuation being stored for
deferred execution once the user logs in.

Issue is that both Session#session_login and Session#session_restore
call Session#on_session_valid which tries to load all modules. As a
result and because the '_modules_loaded' flag is only set five billion
years after 'load_modules' is called both calls will try to load all
modules in parallel, leading to double downloading and execution of
all JS and CSS files coming from module data (including translation
files).

bzr revid: xmo@openerp.com-20111003090709-1izso4hrbzk91sf3
2011-10-03 11:07:09 +02:00
niv-openerp 54014f0473 [fix] problem when user does not enter correct password
bzr revid: nicolas.vanhoren@openerp.com-20110921130549-pbdjgtufjjo5pens
2011-09-21 15:05:49 +02:00
niv-openerp 1d68e2903e [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110921120434-ds3i74ey8ihc72ml
2011-09-21 14:04:34 +02:00
niv-openerp 8df96caa72 [imp] refactored datetime components to allow usage in the search view
bzr revid: nicolas.vanhoren@openerp.com-20110921104136-pu8yvny228jyi5so
2011-09-21 12:41:36 +02:00
Xavier Morel 7b80bd155c [FIX] issues with missing window.console object in Firefox 3.6 when Firebug is not active
bzr revid: xmo@openerp.com-20110921081651-a4usbx7flv91xko5
2011-09-21 10:16:51 +02:00
niv-openerp 3db8df9e85 [imp] put back widget documentation, parce que je le vaux bien
bzr revid: nicolas.vanhoren@openerp.com-20110916120053-wbxyl4rjvai9one7
2011-09-16 14:00:53 +02:00
niv-openerp 08143aaab5 [fix] partially solve problem when restituting session and problem with server (disconnected, database dropped, etc...)
bzr revid: nicolas.vanhoren@openerp.com-20110916102555-myvdxf30fl7jpb3a
2011-09-16 12:25:55 +02:00
Xavier Morel 74d0339fb0 [ADD] base res_log display
bzr revid: xmo@openerp.com-20110914121305-mcey8e3t36omkr2k
2011-09-14 14:13:05 +02:00
niv-openerp c7c2b5846d [imp] added reload page on logout
bzr revid: nicolas.vanhoren@openerp.com-20110913151911-6tee272eo2u0fgqv
2011-09-13 17:19:11 +02:00
niv-openerp 891c215272 [imp] removed completely this.log
bzr revid: nicolas.vanhoren@openerp.com-20110913121728-ehqqsimfqyqzj1m1
2011-09-13 14:17:28 +02:00
niv-openerp 22b3a15746 [imp] simplified logging api + fix problem with ie8 and logging
bzr revid: nicolas.vanhoren@openerp.com-20110913120800-m8tfmqoakruq78la
2011-09-13 14:08:00 +02:00
niv-openerp 754924a122 [fix] some problems with preceding improvement related to login
bzr revid: nicolas.vanhoren@openerp.com-20110913102936-8xjjba5q1gmi8xts
2011-09-13 12:29:36 +02:00
niv-openerp 71e7470847 [imp] modified login to only depend on the session_id to restore a session, this will make some bugs to user_context and password disapear
bzr revid: nicolas.vanhoren@openerp.com-20110913102320-dhw4p91ohyk438d1
2011-09-13 12:23:20 +02:00
niv-openerp d1be801b91 [imp] removed a lot of useless notifications
bzr revid: nicolas.vanhoren@openerp.com-20110912135603-fai75jzwgbyalnwz
2011-09-12 15:56:03 +02:00
Xavier Morel bd5ee5973f [FIX] jsdoc v3 fixes: @constructs needs an explicit name, @lends is mandatory to not make free-floating methods (interpreted as globals)
bzr revid: xmo@openerp.com-20110912103503-0gpou4t50i2stycp
2011-09-12 12:35:03 +02:00
Fabien Meghazi ba4779e87d [FIX] Corrected url debug for dynamically loaded stylesheets
bzr revid: fme@openerp.com-20110912100819-w62t21ktvb9lwycb
2011-09-12 12:08:19 +02:00
Fabien Meghazi 555f654d83 [ADD] Added openerp.web.Widget#on_inserted
bzr revid: fme@openerp.com-20110912095937-iabmo7213rsqt8b8
2011-09-12 11:59:37 +02:00
Fabien Meghazi 6c7c08a62f [ADD] Add debug url hack for qweb xhr templates
bzr revid: fme@openerp.com-20110912090727-hv3bslofmcpj06ld
2011-09-12 11:07:27 +02:00
Fabien Meghazi f312876e94 [IMP] Avoid browsers cache problem with autoloaded addons in debug mode (part 2)
bzr revid: fme@openerp.com-20110908140554-h1ya4l9lctwk2hvm
2011-09-08 16:05:54 +02:00
Xavier Morel c4735c6770 [ADD] autogenerated json-rpc2 ID, in a multithreaded server many requests may reach the server simultanously leading to logs which are a pain to decipher
bzr revid: xmo@openerp.com-20110907143110-ujmkir821alxjxoo
2011-09-07 16:31:10 +02:00
Fabien Meghazi e0eec18342 [IMP] Removed global QWeb. Now instanciate a QWeb2.Engine for each session: instance.web.qweb
bzr revid: fme@openerp.com-20110907093743-k0224c5qjb74hxvb
2011-09-07 11:37:43 +02:00
niv-openerp f7544bb989 [imp] lot of improvements to header & about page
bzr revid: nicolas.vanhoren@openerp.com-20110906095054-qjlpmyd83spjm79b
2011-09-06 11:50:54 +02:00
Xavier Morel 7bbd822d30 [FIX] terminating comma, MSIE does not liek
bzr revid: xmo@openerp.com-20110906093206-1630d14h5hgo79sw
2011-09-06 11:32:06 +02:00
Xavier Morel 067e0b8827 [FIX] implicit globals: missing 'var' declarations
did not touch gantt.js, this thing's a swap, there are implicit globals which are actually used globally

bzr revid: xmo@openerp.com-20110906093139-uermn7a9vo38l3kf
2011-09-06 11:31:39 +02:00
Xavier Morel 4f8b43561f [IMP] terminate a bunch of unterminated statements
bzr revid: xmo@openerp.com-20110906085853-2a5tqi92jdnglejd
2011-09-06 10:58:53 +02:00
Xavier Morel 748086e678 [MERGE] bunch of speed and code improvements to import, also make import more flexible (pluggable)
bzr revid: xmo@openerp.com-20110905142455-1nt310pqzyzk69cp
2011-09-05 16:24:55 +02:00
Antony Lesuisse bedfc48dcf rename base into web part1
bzr revid: al@openerp.com-20110905110309-egx167t1ni1fzho1
2011-09-05 13:03:09 +02:00