Commit Graph

494 Commits

Author SHA1 Message Date
Fabien Meghazi 9e9ad95ce3 [MOV] redirection helpers from webclient to server
bzr revid: fme@openerp.com-20140121155432-3sd85jqnqgxrnjr5
2014-01-21 16:54:32 +01:00
Fabien Meghazi 3087646d34 [FIX] render bootstrap template checks request.debug
bzr revid: fme@openerp.com-20140121105233-h2c2nfs75qxc6w10
2014-01-21 11:52:33 +01:00
Fabien Meghazi f43f06a6b0 [IMP] use 'error' key in login template
bzr revid: fme@openerp.com-20140121093224-8auf7b00jxfq8940
2014-01-21 10:32:24 +01:00
Fabien Meghazi bb3118ac3d [IMP] Honor db query param in /web/login too
bzr revid: fme@openerp.com-20140117140746-v86qxs3msxd0u6mu
2014-01-17 15:07:46 +01:00
Fabien Meghazi c0dda700f1 [MERGE] upstream
bzr revid: fme@openerp.com-20140116181519-xtzhzm7u98u6xz18
2014-01-16 19:15:19 +01:00
Fabien Meghazi 4b663489a6 [IMP] Restore redirect_with_hash()
bzr revid: fme@openerp.com-20140116181357-kv5iq8zcr5kk948u
2014-01-16 19:13:57 +01:00
Christophe Simonis 0e870fc7a7 [MERGE] forward port of branch saas-2 up to revid 3897 dle@openerp.com-20140115121441-bskbyxxbc09ubavh
bzr revid: chs@openerp.com-20140115221349-3lw7b0kpo3f2d04l
2014-01-15 23:13:49 +01:00
Denis Ledoux 5649e0bbf2 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9770 revid:chs@openerp.com-20140116154645-sy4zhdgqc48xaqbx
bzr revid: dle@openerp.com-20131224112612-5gjit5uu1aaaqstx
bzr revid: dle@openerp.com-20140103094532-mbczi9ssr3gc90o1
bzr revid: dle@openerp.com-20140108105833-gblxqdw3if1gt35k
bzr revid: dle@openerp.com-20140115121441-bskbyxxbc09ubavh
bzr revid: dle@openerp.com-20140115165506-yuux9km39gbv7k4n
bzr revid: dle@openerp.com-20140116161415-0y9m0kgavcytzj9z
2014-01-16 17:14:15 +01:00
Fabien Meghazi 2c7dd54fec [IMP] make /web/login route return a lazy response
bzr revid: fme@openerp.com-20140115170142-szl5y22p0rciz21t
2014-01-15 18:01:42 +01:00
Fabien Meghazi 5d540d69b3 [IMP] Allow /login route to redirect after login (useful for Aline's user tests)
bzr revid: fme@openerp.com-20140114151553-fehc82gxz1nq25yu
2014-01-14 16:15:53 +01:00
Fabien Meghazi cd213eb652 [FIX] Honnor --no-database-list option
bzr revid: fme@openerp.com-20140114140153-0zt2iqt6di6h3hw2
2014-01-14 15:01:53 +01:00
Fabien Meghazi 01f3648d3a [ADD] javascript hooks for LoginForm and debug forwarding
bzr revid: fme@openerp.com-20140114111707-ts3ik25p4o2vysxb
2014-01-14 12:17:07 +01:00
Fabien Meghazi 3f34405c7c [IMP] login user at db creation
bzr revid: fme@openerp.com-20140113173643-ire4cnb2nbxhs8dh
2014-01-13 18:36:43 +01:00
Fabien Meghazi b7450672c0 [IMP] Always allow /web/session/logout even if not logged in
bzr revid: fme@openerp.com-20140113171312-sf2erlwby1kpw3a6
2014-01-13 18:13:12 +01:00
Fabien Meghazi 4c4755ffae [ADD] redirect option to /web/login
bzr revid: fme@openerp.com-20140113143702-20j30wc3wuglp3mn
2014-01-13 15:37:02 +01:00
Fabien Meghazi 0058291979 [IMP] Use qweb template for login and webclient bootstrap
The database manager should be rewritten server side

bzr revid: fme@openerp.com-20140109151140-8x3ia8zpdpw1lics
2014-01-09 16:11:40 +01:00
Denis Ledoux e00c236693 [FIX] web: redirect with hash always use html redirect
# Most IE and Safari versions decided not to preserve location.hash upon
# redirect. And even if IE10 pretends to support it, it still fails
# inexplicably in case of multiple redirects (and we do have some).
# See extensive test page at http://greenbytes.de/tech/tc/httpredirects/

bzr revid: dle@openerp.com-20140108105307-8dzzkxvtesb5d813
2014-01-08 11:53:07 +01:00
Fabien Meghazi 16be0fa33a [IMP] update TODO
bzr revid: fme@openerp.com-20140107114801-nlsi6zh1uhga805k
2014-01-07 12:48:01 +01:00
Fabien Meghazi e8a0021741 [IMP] Replace html_template by webclient_bootstrap for /web/ route
bzr revid: fme@openerp.com-20140107114535-u0kbdfeu3x9m01mv
2014-01-07 12:45:35 +01:00
Fabien Meghazi adfd2631e4 [FIX] correctly manager login query param
bzr revid: fme@openerp.com-20131219180717-s9ec0oi5a0jl21o0
2013-12-19 19:07:17 +01:00
Fabien Meghazi da780aa478 [IMP] Database selector and manager
bzr revid: fme@openerp.com-20131219143648-5jvlcet3yjsw6vq6
2013-12-19 15:36:48 +01:00
Fabien Meghazi b4918347cc [IMP] webclient entry point controller
bzr revid: fme@openerp.com-20131218111937-hp5vfutci5x7k2p5
2013-12-18 12:19:37 +01:00
Antony Lesuisse 4c45774b6d [IMP] manual exception handling for non-json controllers
bzr revid: al@openerp.com-20131203191621-xu2350cw0u3izn3s
2013-12-03 20:16:21 +01:00
Christophe Simonis 9f52ab382b [MERGE] forward port of branch saas-2 up to revid 3887 chs@openerp.com-20131122172422-tsd8wzqkbqknrw1w
bzr revid: chs@openerp.com-20131125160506-30uia4pdwzpp54gj
2013-11-25 17:05:06 +01:00
Olivier Dony 6c109ece30 [FIX] root redirect_with_hash: IE10 also behaves abnormally in case of multiple redirects
bzr revid: odo@openerp.com-20131119105326-0t1cjz1d1ebfzhwq
2013-11-19 11:53:26 +01:00
Christophe Simonis 322578383c [FIX] web: it's better if the route allowing users to log in is accessible without being logged in.
bzr revid: chs@openerp.com-20131114185202-yyhg7opc004hte02
2013-11-14 19:52:02 +01:00
niv-openerp c281862604 [FIX] Attempt to resolve the bug that makes the runbot crash
bzr revid: nicolas.vanhoren@openerp.com-20131113155340-srjkfv372jsyg5vl
2013-11-13 16:53:40 +01:00
Antony Lesuisse 14245e24fc [FIX] /web always save the provided db in session
guessed_db is only computed by the /web controller, so even if the provided db
match the guessed_db we should save it in the http session. Because all rpc
call made before the authentication wont compute the guessed_db, so the
request.db will be wrong for those calls.

bzr revid: al@openerp.com-20131110010411-s7ermjwmfbile1ix
2013-11-10 02:04:11 +01:00
niv-openerp 419c5e0c67 [FIX] Incorrect reference to / in /web/session/logout controller
bzr revid: nicolas.vanhoren@openerp.com-20131105152138-2628ehdke7rdc1ov
2013-11-05 16:21:38 +01:00
Fabien Meghazi 684c629556 [FIX] session destroy
Sorry all

bzr revid: fme@openerp.com-20131105102036-34g9mk2u694eqvhn
2013-11-05 11:20:36 +01:00
niv-openerp fd863b8501 [FIX] potential bug with the /login url, it could not possibly work due to its authorization level.
Also modified a function that is supposed to redirect to the backend and was still using '/'.

bzr revid: nicolas.vanhoren@openerp.com-20131105101548-jdsnyh2j4ak0kdbk
2013-11-05 11:15:48 +01:00
Fabien Meghazi 9a281f829b [ADD] redirect on login and logout controller
bzr revid: fme@openerp.com-20131104171530-96irkaom2vjsj9s5
2013-11-04 18:15:30 +01:00
Christophe Simonis 88292396c7 [MERGE] forward port of branch saas-2 up to revid 3865 chs@openerp.com-20131031111945-u3wi11e4rykpslme
bzr revid: chs@openerp.com-20131030183314-d75tbpxjjk3u79er
bzr revid: chs@openerp.com-20131031144026-09f3eqfwfj2bcefs
2013-10-31 15:40:26 +01:00
niv-openerp 866148efa4 [FIX] Corrected the redirect_with_hash() method that produced an incorrect url in IE and safari
bzr revid: nicolas.vanhoren@openerp.com-20131029090150-u397wkzdo9an9n0w
2013-10-29 10:01:50 +01:00
niv-openerp abe6df638d [FIX] Reverted modification of behavior in 3858 and replaced it with a fix that solves the core problem
(the fact that the function redirect_with_hash() didn't produced the expected effect in safari). To solve
that problem, the method was simply modified to use the same trick already used in IE that has the same
problem than safari.

bzr revid: nicolas.vanhoren@openerp.com-20131029085356-hb2sk4g7j3xh4zar
2013-10-29 09:53:56 +01:00
Antony Lesuisse 401099d358 [IMP] move http layer from openerp-web to openobject-server, convert controllers to the new route api
bzr revid: al@openerp.com-20131027171717-dzqx2264p152lq8y
2013-10-27 18:17:17 +01:00
Denis Ledoux 6bf5d02627 [MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 3859 rev-id: dle@openerp.com-20131023110926-tc2n3oqg0l2ga138
bzr revid: dle@openerp.com-20131023113414-mlwppd4d7vyh1tyj
2013-10-23 13:34:14 +02:00
Christophe Simonis d97bd2bce2 [FIX] web: avoid useless redirection when in mono db mode
bzr revid: chs@openerp.com-20131022104145-janmthq1r6sibm2e
2013-10-22 12:41:45 +02:00
niv-openerp e080294dc0 [MERGE] saas2
bzr revid: nicolas.vanhoren@openerp.com-20131018103631-vennug4iy21zhp3x
2013-10-18 12:36:31 +02:00
Christophe Simonis f263e02bc0 [REM] web: /web/report: remove useless check on action data
bzr revid: chs@openerp.com-20131009131658-xjbr16zx3loy45x2
2013-10-09 15:16:58 +02:00
Antony Lesuisse 097dc15ded [REM] shortcuts, deprecated by bookmarks
bzr revid: al@openerp.com-20131006132310-rrycbi10x441i2ef
2013-10-06 15:23:10 +02:00
Antony Lesuisse 36b103d83f [REM] web_shortcut
bzr revid: al@openerp.com-20131006124813-nkw1iw72os5bsk22
2013-10-06 14:48:13 +02:00
niv-openerp 5a70bc038a Changed base url
bzr revid: nicolas.vanhoren@openerp.com-20131002143740-jr8xz6j4qgs97ztp
2013-10-02 16:37:40 +02:00
Frédéric van der Essen eae9b15731 [IMP] helpful exception message
bzr revid: fva@openerp.com-20130924151913-mq8sj2a8hahylmig
2013-09-24 17:19:13 +02:00
ima-openerp 0afff9aae3 [IMP]removed unused method which is defined only for web shortcuts module.
bzr revid: ishwarmalvi13@gmail.com-20130918065854-u0aiyu5e1z7tf09g
2013-09-18 12:28:54 +05:30
niv-openerp 53b7baf1ce [FIX] fixed some problems related to magic guess of db, now only tries to perform the magic guess when the --dbfilter argument is specified
bzr revid: nicolas.vanhoren@openerp.com-20130913102444-u30boym4nklatnf1
2013-09-13 12:24:44 +02:00
niv-openerp 1bd4b62142 Perfected translations integration in the framework
bzr revid: nicolas.vanhoren@openerp.com-20130805151012-wnc7wkyiz0eay5oh
2013-08-05 17:10:12 +02:00
niv-openerp b3c4d02590 Improved translation controller to be more flexible
bzr revid: nicolas.vanhoren@openerp.com-20130805144431-ycv6gwv99c5bh1p1
2013-08-05 16:44:31 +02:00
niv-openerp d256d16e3a Fixed potential security issue + some details
bzr revid: nicolas.vanhoren@openerp.com-20130805133309-jds80qa5j5lgwslq
2013-08-05 15:33:09 +02:00
niv-openerp 22c56b1dd8 Ported some authentication methods to the Session class
bzr revid: nicolas.vanhoren@openerp.com-20130805111250-ws23n3b6os54qsp3
2013-08-05 13:12:50 +02:00