Commit Graph

24468 Commits

Author SHA1 Message Date
Xavier Morel 43e9c64882 [ADD] UI blocking during long operations (backuping and restoring a db)
bzr revid: xmo@openerp.com-20110802084312-yvbryccygitvfem8
2011-08-02 10:43:12 +02:00
Xavier Morel 8bfd912af2 [FIX] fix logging-in-after-db-creation to mostly wrap the branch up
bzr revid: xmo@openerp.com-20110802082803-at77u89v51et90uj
2011-08-02 10:28:03 +02:00
Xavier Morel 82efc771fa [ADD] forgotten to commit jquery form and blockUI O_o
bzr revid: xmo@openerp.com-20110802081606-jt6s3p421f7z2fju
2011-08-02 10:16:06 +02:00
Xavier Morel 093cbdbef9 [FIX] session not sticking on page reload, fix toggle back from database management to login window as well
bzr revid: xmo@openerp.com-20110802081022-30o15ju3bj88xaty
2011-08-02 10:10:22 +02:00
Xavier Morel 338b07614a [ADD] try to log user in at the end of DB install
bzr revid: xmo@openerp.com-20110802072551-qw3ngvnj40q2nv0k
2011-08-02 09:25:51 +02:00
Xavier Morel 71862dfc35 [IMP] block UI during db creation
bzr revid: xmo@openerp.com-20110802070007-z3ameuhsr84w51cs
2011-08-02 09:00:07 +02:00
Xavier Morel e1b3207935 [FIX] implement going back to the login page by just reloading the whole bloody thing
bzr revid: xmo@openerp.com-20110801150231-wr8h550mr7ixx0ue
2011-08-01 17:02:31 +02:00
Xavier Morel 7c1ecda162 [FIX] get correct field name in chane_password method
bzr revid: xmo@openerp.com-20110801145437-x0qyfk5fsg7ivc9o
2011-08-01 16:54:37 +02:00
Xavier Morel 68cb923ec6 [FIX] backup restoration, works almost 60% of the time
bzr revid: xmo@openerp.com-20110801144728-zh1d6nqpf19i6x7p
2011-08-01 16:47:28 +02:00
Xavier Morel 0fd884d234 [FIX] fully reimplement dumping a DB so that it works correctly
* handler should be an httprequest, as we're returning a binary file (maybe we could use ajax with file API abd b64, but... not now)
* use cookie-hack to know when the file is downloading (or is finished downloading, not sure which, not that it matters) so we can add some kind of UI signal

bzr revid: xmo@openerp.com-20110801131254-ik4m8yyc526pz7rf
2011-08-01 15:12:54 +02:00
Xavier Morel 4aed9098ca [IMP] don't duplicate en_US lang in create db, remove redundant <t> elements in select templates
bzr revid: xmo@openerp.com-20110801105838-5arrf4nppsle5akt
2011-08-01 12:58:38 +02:00
Xavier Morel 5ebea36bf9 [FIX] broken markup in drop db template leading to broken rendering
bzr revid: xmo@openerp.com-20110801105231-xbxxzyx8rbr9wg7a
2011-08-01 12:52:31 +02:00
Xavier Morel c6f9cb5eb6 [FIX] improve usage of jquery validator, don't trigger RPC requests on invalid forms
* Use jquery.validate's submitHandler callback so the RPC calls are *only* performed when forms are valid
* Move rules creation to markup when possible
* Setup basic rule failure messages in validate() call, not afterwards

bzr revid: xmo@openerp.com-20110801104453-a3iuyn033en57495
2011-08-01 12:44:53 +02:00
Xavier Morel 292ff1e17a [FIX] synchronized operations aware of the dblist, so the backup tab does not suggest dumping a DB which was just dropped moments before
bzr revid: xmo@openerp.com-20110801095649-kryicm6lds41m3e1
2011-08-01 11:56:49 +02:00
Xavier Morel 9103c34ef9 [FIX] very unlikely race condition in case fetching db list hangs and user switches to dropping db before it's come back
bzr revid: xmo@openerp.com-20110801093130-fxp2sjx4aabta826
2011-08-01 11:31:30 +02:00
Xavier Morel 79d5db4bfc [REM] missed a uniqueid generation in fetching db langs
bzr revid: xmo@openerp.com-20110801092829-boojzjfdi4achv1o
2011-08-01 11:28:29 +02:00
Xavier Morel 5415856081 [REM] unused openerp.base.Database.option_id
bzr revid: xmo@openerp.com-20110801092748-nt4oqyoetxojfc4o
2011-08-01 11:27:48 +02:00
Xavier Morel ba16957d33 [IMP] db RPC calls: don't generate unused unique IDs when displaying errors, remove references to removed variables, var an implicit global
bzr revid: xmo@openerp.com-20110801091733-lz7otl6e5nzjr51q
2011-08-01 11:17:33 +02:00
Xavier Morel 74756c3e24 [IMP] remove useless conditional in db controller init, don't go select the exact same element twice in a row
bzr revid: xmo@openerp.com-20110801091636-8yijuv1rf71zyq0e
2011-08-01 11:16:36 +02:00
Xavier Morel b159aab446 [IMP] simplify unpacking of parameters in db operations, cleanup error handling as well
bzr revid: xmo@openerp.com-20110801091107-cw5rx59s2kgbgo51
2011-08-01 11:11:07 +02:00
noz (OpenERP) fca67e2ab4 [Merge] Merged with main branch.
bzr revid: noz@tinyerp.com-20110727053822-olbfv0ljww17cz9c
2011-07-27 11:08:22 +05:30
noz (OpenERP) c918d3d9fc [FIX] Removed import line validate.js
bzr revid: noz@tinyerp.com-20110727053200-2go93hie4ad4p7yq
2011-07-27 11:02:00 +05:30
Fabien Meghazi d0234fa5dd [IMP] new Sidebar controller
Now, the views are responsible of the management of their own sidebar.
There is one sidebar per view.
The viewmanager creates the divs for each sidebar (as it does for each view).
The new Sidebar controller allows custom section with their own controller.

bzr revid: fme@openerp.com-20110726210005-xyalvw764y2xhvte
2011-07-26 23:00:05 +02:00
noz (OpenERP) 2d73d6241b [FIX] Removed html tags from error popup.
bzr revid: noz@tinyerp.com-20110726125508-gwdsshv0xmsrmxac
2011-07-26 18:25:08 +05:30
noz (OpenERP) 42a1093225 [FIX] Used jQuery's serializeArray to get the form values.
bzr revid: noz@tinyerp.com-20110726124523-8unw7svihn7r159q
2011-07-26 18:15:23 +05:30
noz (OpenERP) 8c615cd17e [FIX] Removed clearing the operation area part.
bzr revid: noz@tinyerp.com-20110726102904-pd4aq5olbpf9ivs3
2011-07-26 15:59:04 +05:30
Xavier Morel 5070784ba2 [FIX] correctly call on_close callback when clicking on a dialog's close button
bzr revid: xmo@openerp.com-20110726100136-1i858bxyipiboz0o
2011-07-26 12:01:36 +02:00
noz (OpenERP) 9f31d81739 [FIX] Removed tabs and added spaces and header string for operation.
bzr revid: noz@tinyerp.com-20110726084714-p4u13eevuf5nw4oc
2011-07-26 14:17:14 +05:30
noz (OpenERP) a5476e9749 [FIX] Update code for exception handling.
bzr revid: noz@tinyerp.com-20110726082002-r5j6cbzzz4lyitzj
2011-07-26 13:50:02 +05:30
noz (OpenERP) 01ae186bec [FIX] Fixed spaces instead of tabs.
bzr revid: noz@tinyerp.com-20110726080318-gu5xvwlepj8o7nmi
2011-07-26 13:33:18 +05:30
noz (OpenERP) c2bbedd32b [FIX] Removed tabs instead of spaces from css.
bzr revid: noz@tinyerp.com-20110726072010-9cfabvfpkvt2cg39
2011-07-26 12:50:10 +05:30
noz (OpenERP) 749cf7443d [FIX] Updated with lated branch changes.
bzr revid: noz@tinyerp.com-20110726071107-r6zwvyiolb7emlq7
2011-07-26 12:41:07 +05:30
Fabien Meghazi 8784297248 [FIX] in do_action(), on_closed() callback not honored for new tabs
bzr revid: fme@openerp.com-20110725142805-bsvio3q4tsgkc77b
2011-07-25 16:28:05 +02:00
Xavier Morel 9c8a2c33ab [FIX] check that a value is a number before checking for isNaN: strings are NaN and so are objects
also alias 'record.value', so we don't have to go through the indirection 11 times

bzr revid: xmo@openerp.com-20110725141103-2ix5mhec6lk47en6
2011-07-25 16:11:03 +02:00
Xavier Morel f8b552e5b5 [FIX] session initialization
bzr revid: xmo@openerp.com-20110725140656-ow3mr78psuianqyc
2011-07-25 16:06:56 +02:00
Xavier Morel e29a5204f7 [FIX] NaN values being displayed in list footers (aggregated values)
bzr revid: xmo@openerp.com-20110725133553-bs4x2f747vdj1a02
2011-07-25 15:35:53 +02:00
niv-openerp d01521166d [merge] improvements related to managed filters
bzr revid: nicolas.vanhoren@openerp.com-20110725122250-ma4ujs8uh190gwoh
2011-07-25 14:22:50 +02:00
niv-openerp bf0f008f60 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110725122231-oe0glu5cxqm7n0bw
2011-07-25 14:22:31 +02:00
niv-openerp a30bef7be6 [fix] made the managed filters auto_search
bzr revid: nicolas.vanhoren@openerp.com-20110725121823-gekerf0s3pn78kqo
2011-07-25 14:18:23 +02:00
niv-openerp f7c6662d83 [imp] added manage filters link
bzr revid: nicolas.vanhoren@openerp.com-20110725121001-95af30c1incqg4kl
2011-07-25 14:10:01 +02:00
niv-openerp 6a22efdef0 [fix] wrong storage of session cookie
bzr revid: nicolas.vanhoren@openerp.com-20110725120940-f6vfi6wu6xy9js8x
2011-07-25 14:09:40 +02:00
niv-openerp fb0c16e24e [imp] added possibility to save filters
bzr revid: nicolas.vanhoren@openerp.com-20110725113740-8q9vo1rlvexertc1
2011-07-25 13:37:40 +02:00
Xavier Morel 4110cb0828 [IMP] re-enable min and max aggregation functions because why not
bzr revid: xmo@openerp.com-20110725104630-vs4wi5740340dtyj
2011-07-25 12:46:30 +02:00
Xavier Morel 05b9d6217f [FIX] formatting of aggregated fields, formatting of floats in list view (use digits if available, otherwise default to 2)
bzr revid: xmo@openerp.com-20110725102949-z7nkuwyybuczazxy
2011-07-25 12:29:49 +02:00
niv-openerp 5bc4c09c3a [imp] remember db on login screen
bzr revid: nicolas.vanhoren@openerp.com-20110725095232-fzy7rs43y1udha4b
2011-07-25 11:52:32 +02:00
niv-openerp 431bfe56de [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110725092701-bnadp8szz2vp1dve
2011-07-25 11:27:01 +02:00
Xavier Morel 6b9ba5d46e [IMP] update list aggregates after button action called, in case action updated value in row
bzr revid: xmo@openerp.com-20110725091907-j0sucdkv0dq83nsf
2011-07-25 11:19:07 +02:00
Xavier Morel 2e9f2f138b [IMP] update aggregates when deleting a record
bzr revid: xmo@openerp.com-20110725091506-h4u4kp3ut8h0a6vc
2011-07-25 11:15:06 +02:00
Fabien Meghazi 2a2d924688 [FIX] Fixed calendar view to match new controller family
bzr revid: fme@openerp.com-20110725103254-y66uxxfm3m104vm7
2011-07-25 12:32:54 +02:00
Xavier Morel e1f9b0c600 [FIX] race condition introduced in nicolas.vanhoren@openerp.com-20110722154419-9g31mwfsuv67rjz3
if search view contains only synchronously-initialized widgets, 'self.ready.resolve()' is called before 'self' is set since 'self' is set *after* the $.when call

move 'self'-setting to the top of the function, just in case

bzr revid: xmo@openerp.com-20110725091049-q5lt2sgbfawphiuh
2011-07-25 11:10:49 +02:00