Commit Graph

175 Commits

Author SHA1 Message Date
vishmita f2325382ca [IMP]Improve code in change password.
bzr revid: vja@vja-desktop-20110823125802-c4jhe4qqjn2ra7n4
2011-08-23 18:28:02 +05:30
vishmita 9d93821bae [IMP]remove RPC method in Preferences.
bzr revid: vja@vja-desktop-20110823091721-83v50nq5fhojkf7v
2011-08-23 14:47:21 +05:30
vishmita 9c465bb106 [IMP]Implement preferences functionality.
bzr revid: vja@vja-desktop-20110819131007-0o2pxuvrvh9q5cc3
2011-08-19 18:40:07 +05:30
Antony Lesuisse 7b79fd47d5 [IMP] database creation cleanups
bzr revid: al@openerp.com-20110819020156-yo41xcjnxiwqtkwr
2011-08-19 04:01:56 +02:00
Xavier Morel ffae7cb4b3 [MERGE] from trunk
bzr revid: xmo@openerp.com-20110816142515-ohq33zvua5uq8cd3
2011-08-16 16:25:15 +02:00
Xavier Morel a2b0a44354 [IMP] use shortcuts list shoved directly into session as the communication channel between stuff adding and removing shortcuts in the viewmanager and the shortcuts list display in the header
no standard cross-elements communication method yet, so...

if there's one one day, it should replace this hodge-podge system. Also need better error handling

bzr revid: xmo@openerp.com-20110816140425-q2a71idlxnhuortb
2011-08-16 16:04:25 +02:00
Xavier Morel e74e307080 [IMP] numerical id => move to data-id, from @id. Also fixes active_id as string which failed to match the numerical id stored, and did not mark the toggler as 'to remove' when opening an action from the corresponding shortcut
bzr revid: xmo@openerp.com-20110816123724-2ti43xqeue3esx3x
2011-08-16 14:37:24 +02:00
Xavier Morel 840f25e143 [FIX] remove events during re-render, so they're not registered multiple times
bzr revid: xmo@openerp.com-20110816111746-hiv9699dfjss6njv
2011-08-16 13:17:46 +02:00
Xavier Morel b1e8671583 [IMP] remove some dead code, simplify shortcuts template, replace shortcut id by class
bzr revid: xmo@openerp.com-20110816102620-b7zodiqoi91rz0m1
2011-08-16 12:26:20 +02:00
Vidhin Mehta (OpenERP) 5f0eb9e11b [IMP] imporve code and re implement shortcut check functionality
bzr revid: vme@tinyerp.com-20110812123559-va1fumifmld75tdc
2011-08-12 18:05:59 +05:30
niv-openerp 64571fa4ab [imp] refactoring of Session to not inherit Widget anymore
bzr revid: nicolas.vanhoren@openerp.com-20110812101952-qw12p8xhdfa3kmzu
2011-08-12 12:19:52 +02:00
Vidhin Mehta (OpenERP) f17f4bbd48 [IMP]checked that shortcut are from either ir.ui.menu or it is tree view
bzr revid: vme@tinyerp.com-20110812071248-y9oqa8t1wx61xciu
2011-08-12 12:42:48 +05:30
Antony Lesuisse af721b53d1 [IMP] misc comments
bzr revid: al@openerp.com-20110811031000-z0nkvickg6dkfe0d
2011-08-11 05:10:00 +02:00
Antony Lesuisse f31d25f556 [IMP] cleanups, session in core, keep a ref to webclient in window.openerp.sessions for debugging
bzr revid: al@openerp.com-20110811024246-g3it6dtrqidzv0rx
2011-08-11 04:42:46 +02:00
Antony Lesuisse ea999bd1cd [FIX] dialog restore close hook fme
bzr revid: al@openerp.com-20110810222354-glykgj1cvvt57upa
2011-08-11 00:23:54 +02:00
Antony Lesuisse 0b9610e435 [IMP] remove actiondialog
bzr revid: al@openerp.com-20110810192509-isdf1h8vb758r07j
2011-08-10 21:25:09 +02:00
Fabien Meghazi 52ba9d992d [REM] Removed auto open argument from Dialog#start()
bzr revid: fme@openerp.com-20110810120548-697agu5xajf11tvx
2011-08-10 14:05:48 +02:00
Antony Lesuisse 85b1852aa6 [FIX] double action manager
bzr revid: al@openerp.com-20110810114914-rnokf7v1mp8kmtu1
2011-08-10 13:49:14 +02:00
Antony Lesuisse bed92070d0 new actwindow logic, widget nivification of viewmanager and actionmanager
bzr revid: al@openerp.com-20110810003857-eqhdu3zz74pkpt5q
2011-08-10 02:38:57 +02:00
Antony Lesuisse dd91baaba4 [FIX] remove importexport from chrome
bzr revid: al@openerp.com-20110809222827-ejc4y2r6wnaxmbmm
2011-08-10 00:28:27 +02:00
Xavier Morel f951ca003d [FIX] revision fme@openerp.com-20110808171407-mfclmemaljegwsgg missed some references to openerp.base.Dialog.options which should have been renamed to dialog_options
bzr revid: xmo@openerp.com-20110809074712-dyf3hkdrisj561x4
2011-08-09 09:47:12 +02:00
Fabien Meghazi 16c38f64c7 [IMP] Dialog: renamed @options to @dialog_options in order to allow mixin without property collision
bzr revid: fme@openerp.com-20110808171407-mfclmemaljegwsgg
2011-08-08 19:14:07 +02:00
Vidhin Mehta (OpenERP) 9ad05c699b [IMP]Implement shortcut functionality.
bzr revid: vme@tinyerp.com-20110808111616-2qi3d6hfebix0uho
2011-08-08 16:46:16 +05:30
Xavier Morel a66bbb20fc [MERGE] from trunk
bzr revid: xmo@openerp.com-20110804085516-nz1nelcutywq7gn4
2011-08-04 10:55:16 +02:00
Xavier Morel a302a6de7b [MERGE] database management
bzr revid: xmo@openerp.com-20110802095331-74u9e7ubuc5vhqmz
2011-08-02 11:53:31 +02:00
Xavier Morel 620e3ad55b [MERGE] updates from trunk
bzr revid: xmo@openerp.com-20110802094717-yxmi281j1l139tws
2011-08-02 11:47:17 +02:00
Xavier Morel c605283990 [FIX] error handling in db backup operation
bzr revid: xmo@openerp.com-20110802092845-anf3pndd7nfidsos
2011-08-02 11:28:45 +02:00
Xavier Morel 77dce51e75 [FIX] missed db error dialog redundancy
bzr revid: xmo@openerp.com-20110802092016-ae6qs5uo3x85q8vf
2011-08-02 11:20:16 +02:00
Xavier Morel 808a015933 [IMP] remove redundant 'db' qualifiers in Database methods and JSON-RPC methods
bzr revid: xmo@openerp.com-20110802091849-6jobmumdqw4o6j68
2011-08-02 11:18:49 +02:00
Xavier Morel 21aab96e41 [IMP] deduplicate display of error dialog, add some error handling improvements to restore db
bzr revid: xmo@openerp.com-20110802091344-3lk1wk7ctjhs0j3p
2011-08-02 11:13:44 +02:00
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
Antony Lesuisse 0111cf3fd5 [IMP] rename controller.js to core.js
bzr revid: al@openerp.com-20110729124016-gvtayplemywiyh0a
2011-07-29 14:40:16 +02:00
niv-openerp 8e8ca695cb [imp] changed Controller to Widget and BaseWidget to OldWidget
bzr revid: nicolas.vanhoren@openerp.com-20110728144912-t3kml1yo8gt261ga
2011-07-28 16:49:12 +02:00
Xavier Morel d9f7e3c488 [FIX] store db and login in cookie as well as sid and uid
bzr revid: xmo@openerp.com-20110728110834-9qd4dftahm4naszh
2011-07-28 13:08:34 +02:00
Antony Lesuisse 556d06c65b [ADD] niv-style controller/widget skeleton
bzr revid: al@openerp.com-20110727195221-gy6u9e4xw0sflh4c
2011-07-27 21:52:21 +02:00
Fabien Meghazi 25af6f34c0 [FIX] Fix dialog close problems
bzr revid: fme@openerp.com-20110727150542-ta6ewb3kji993oh1
2011-07-27 17:05:42 +02:00