Commit Graph

130 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 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 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 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
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) 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) 749cf7443d [FIX] Updated with lated branch changes.
bzr revid: noz@tinyerp.com-20110726071107-r6zwvyiolb7emlq7
2011-07-26 12:41:07 +05:30
Xavier Morel f8b552e5b5 [FIX] session initialization
bzr revid: xmo@openerp.com-20110725140656-ow3mr78psuianqyc
2011-07-25 16:06:56 +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
Antony Lesuisse 8737e4af14 [IMP] remove base from listed modules
bzr revid: al@openerp.com-20110723135344-xryjmq2hc259sm7g
2011-07-23 15:53:44 +02:00
Antony Lesuisse c93f5010d1 [IMP] get rid of labjs
bzr revid: al@openerp.com-20110723133543-7gz642jvimiilx7l
2011-07-23 15:35:43 +02:00
Antony Lesuisse 1866e1c953 [FIX] temporarly disable date, datetime
bzr revid: al@openerp.com-20110722165056-1u6d2zqfuqmhq042
2011-07-22 18:50:56 +02:00
niv-openerp 7d0a18e84c [fix] lot of bugs with contollers due to merge
bzr revid: nicolas.vanhoren@openerp.com-20110722162701-me9jag18dp5m05wz
2011-07-22 18:27:01 +02:00
Antony Lesuisse 66a054ab7d [IMP] get rid of base.html
bzr revid: al@openerp.com-20110722142824-u7j7gu3o00skliwi
2011-07-22 16:28:24 +02:00
Antony Lesuisse 519b0350d2 [IMP] more controller cleanups
bzr revid: al@openerp.com-20110722112108-2p57tmro0l05floq
2011-07-22 13:21:08 +02:00
noz (OpenERP) 700cdb0d91 [FIX] Some mnor changes.
bzr revid: noz@tinyerp.com-20110719120502-zu2zo20tlkbiylnf
2011-07-19 17:35:02 +05:30
noz (OpenERP) 3409288eae [Merge] Merged with main branch.
bzr revid: noz@tinyerp.com-20110719115409-pdha2nr3o7eyss22
2011-07-19 17:24:09 +05:30
Antony Lesuisse 906a94c3c7 [IMP] do_action on controller
bzr revid: al@openerp.com-20110719102707-qfy1lz5mjj006ok1
2011-07-19 12:27:07 +02:00
Antony Lesuisse 8f9bea5393 controllers is family form fixes 2
bzr revid: al@openerp.com-20110718135930-a23vdzjy4ch8ozeh
2011-07-18 15:59:30 +02:00
Antony Lesuisse 31a725f75c Controller is now a family
bzr revid: al@openerp.com-20110718125422-x20k89dogbklgr4c
2011-07-18 14:54:22 +02:00
noz (OpenERP) 8484c9577c [Merge] Merged with latest branch.
bzr revid: noz@tinyerp.com-20110718053005-40qxjjeybb9xv294
2011-07-18 11:00:05 +05:30
Antony Lesuisse 8a6af30013 cleanup of base.Controller base.BaseWidget
bzr revid: al@openerp.com-20110715142957-bdop2z6qv9v8ahpn
2011-07-15 16:29:57 +02:00
Antony Lesuisse f0defe0af7 controller move callback and basiccontroller to controller
bzr revid: al@openerp.com-20110715142112-vginop8ms0bgxje5
2011-07-15 16:21:12 +02:00
Antony Lesuisse 2decff7b21 controller move Class from base to controller
bzr revid: al@openerp.com-20110715141600-4tr536v7vfrv9tkk
2011-07-15 16:16:00 +02:00
Xavier Morel 7578658e69 [FIX] indentation in Session.rpc and Session.rpc_ajax, use early bailout to make code flow simpler and reduce indentation significantly
bzr revid: xmo@openerp.com-20110714095731-2kuqyl0p289ouut7
2011-07-14 11:57:31 +02:00
noz (OpenERP) 18f7e351c8 [FIX] Merged with main branch and created separate class for database operations.
bzr revid: noz@tinyerp.com-20110713105058-ptb2ejnlml8ccugj
2011-07-13 16:20:58 +05:30
Antony Lesuisse 3acbdf8153 add --db-filter option
bzr revid: al@openerp.com-20110713102612-0lu8s1ausql3j07s
2011-07-13 12:26:12 +02:00
noz (OpenERP) e370808a84 [FIX] Validation for bad database name.
bzr revid: noz@tinyerp.com-20110713094339-1612ynj0dc40roo7
2011-07-13 15:13:39 +05:30
noz (OpenERP) bcccef82d0 [Merge] Merged with main branch.
bzr revid: noz@tinyerp.com-20110713093209-3f2njjjhp0cgd5rj
2011-07-13 15:02:09 +05:30
noz (OpenERP) 59bb0fd4e6 [FIX] Better error popup messages.
bzr revid: noz@tinyerp.com-20110713092242-0q5ii7haqfhldgtl
2011-07-13 14:52:42 +05:30
noz (OpenERP) 673762cbee [FIX] Logout will not maintain last visited database option.
bzr revid: noz@tinyerp.com-20110713071938-wf84d6krykkxxg14
2011-07-13 12:49:38 +05:30
noz (OpenERP) 4e76fff248 [FIX] Created separate functions for create, drop, backup, etc...
bzr revid: noz@tinyerp.com-20110713070712-0b2uip0o0z7w4zc0
2011-07-13 12:37:12 +05:30
Fabien Meghazi 24e3ab4f07 [IMP] Improved & fixed some action dialogs problems. Added openerp.base.ActionDialog
bzr revid: fme@openerp.com-20110712124714-9jj58xrzi97negug
2011-07-12 14:47:14 +02:00