Christophe Simonis
36f2ff879a
[FIX] web: use jinja2.FileSystemLoader instead of PackageLoader on windows
...
bzr revid: chs@openerp.com-20140307151431-5k24u6lnlypv1s64
2014-03-07 16:14:31 +01:00
Fabien Meghazi
e76c36d704
[FIX] Database selector issue
...
ensure_db() If the request.session.db is different than
the computed db abort and redirect in order to properly
dispatch on computed db
bzr revid: fme@openerp.com-20140227164018-iukowle122spr2c5
2014-02-27 17:40:18 +01:00
Fabien Meghazi
c1d9449a57
[MERGE] upstream
...
bzr revid: fme@openerp.com-20140227101745-k6iseaz765qnflnm
2014-02-27 11:17:45 +01:00
Fabien Meghazi
434f100fb8
[MERGE] upstream
...
bzr revid: fme@openerp.com-20140225094914-419sm2gji3kiq2e2
2014-02-25 10:49:14 +01:00
Fabien Meghazi
f8ddf1dcb7
[FIX] /web/login renders with the wrong user id
...
bzr revid: fme@openerp.com-20140220144106-ge85vlbjeawa9982
2014-02-20 15:41:06 +01:00
Fabien Meghazi
6cce7e6dba
[REM] Removed LazyResponse from webclient, use request.render() instead
...
bzr revid: fme@openerp.com-20140218161806-j7qn4dutjtlfqjc1
2014-02-18 17:18:06 +01:00
Fabien Meghazi
2bb8b4ebfb
[FIX] forward port ensure_db fix from saas-3
...
bzr revid: fme@openerp.com-20140213134219-pn5xmo5alxn1d57u
2014-02-13 14:42:19 +01:00
Fabien Meghazi
92b8aafe97
[FIX] /web/login: Set request.uid on auth=none so it's correct if overloaded with auth="public"
...
bzr revid: fme@openerp.com-20140211113916-2to1g41pccimbsgq
2014-02-11 12:39:16 +01:00
Fabien Meghazi
af668b891c
[FIX] pass request.context in /web/login
...
bzr revid: fme@openerp.com-20140211113603-0wsr288gejz416dw
2014-02-11 12:36:03 +01:00
Christophe Simonis
0b9bf8e2bf
[FIX] ensure_db():
...
When user ask a specific database on a new session, the nodb router
has been used to find the route.
Depending on installed module in the database, the rendering of the page
may depend on data injected by the database route dispatcher.
Thus, we redirect the user to the same page but with the session cookie set.
This will force using the database route dispatcher...
bzr revid: chs@openerp.com-20140207154703-o0gl58i2b56eridx
2014-02-07 16:47:03 +01:00
Christophe Simonis
79caa8e186
[IMP] extract save/get session actions as methods on session object
...
bzr revid: chs@openerp.com-20140206115253-ed7ahi6j83mgpw4y
2014-02-06 12:52:53 +01:00
Fabien Meghazi
42952bb7cf
[REM] Remove LoginForm javascript
...
bzr revid: fme@openerp.com-20140205091749-39333kr3hz0dt4wg
2014-02-05 10:17:49 +01:00
Denis Ledoux
54dff0857d
[ADD]web: controller to redirect /apps/{appname} to install module form (not yet perfect, the menu is not displayed, but meanwhile this is something)
...
bzr revid: dle@openerp.com-20140131113347-twndgtaq6d16eycc
2014-01-31 12:33:47 +01:00
Fabien Meghazi
526c5fb6cb
[FIX] Login redirection problem
...
bzr revid: fme@openerp.com-20140131095606-xlyzzhm2tc0myq0s
2014-01-31 10:56:06 +01:00
Antony Lesuisse
f051043a26
[MERGE] trunk-website-al
...
bzr revid: al@openerp.com-20140131005202-sjsfy3tc8ys1a325
2014-01-31 01:52:02 +01:00
Christophe Simonis
ca844edcf8
[IMP] web: alternative routes for company logo
...
bzr revid: chs@openerp.com-20140130180827-xior7wc6shtamcgu
2014-01-30 19:08:27 +01:00
Denis Ledoux
9c8a59b60b
[FIX] web: use werkzeug instead of urllib, as werkzeug handle utf-8 while urllib doesnt
...
bzr revid: dle@openerp.com-20140130112741-mxonv6j1gt89f1uj
2014-01-30 12:27:41 +01:00
Fabien Meghazi
ef019949f4
[FIX] ensure db param is legit in order to avoid xss
...
bzr revid: fme@openerp.com-20140130103045-up2bcqmqu8wm3sl9
2014-01-30 11:30:45 +01:00
Fabien Meghazi
469c5d3f1c
[MOV] Move ensure_db() helper from
...
Since we removed auth="admin" in favor of auth="none" with explicit superuser id usage,
the disable_db clause in ir_http#...auth_none() has only sense for /web and /web/login routes.
The web module is an exception because it's routes are registered for the nodb dispatching.
This is why the ensure_db() helper is moved to web client and will take care of the
web's auth="none" routes that needs a db to work with
bzr revid: fme@openerp.com-20140130091820-xezgqezsv2vnmlq1
2014-01-30 10:18:20 +01:00
Fabien Meghazi
07235017aa
[REM] Remove single auth="admin" left
...
bzr revid: fme@openerp.com-20140129144623-a8fy4xx3hmvcww0j
2014-01-29 15:46:23 +01:00
Christophe Simonis
83345e4414
[MERGE] forward port of branch saas-2 up to revid 3899 chs@openerp.com-20140129095637-mbfz82r5pyz4dctc
...
bzr revid: chs@openerp.com-20140129101004-44ft0oaeo201guhd
2014-01-29 11:10:04 +01:00
Christophe Simonis
acb010a985
[MERGE] forward port of branch 7.0 up to revid 4162 launchpad_translations_on_behalf_of_openerp-20140318062141-rdiqz2ptnz3qmxd0
...
bzr revid: chs@openerp.com-20140129095637-mbfz82r5pyz4dctc
bzr revid: dle@openerp.com-20140210140818-5mtk1qhheo219bm1
bzr revid: dle@openerp.com-20140214114445-krexrwm9o2nrxepk
bzr revid: mat@openerp.com-20140219111353-cxo860z7ctz7om30
bzr revid: dle@openerp.com-20140221120519-1pj3wc8kqgkr5uda
bzr revid: chs@openerp.com-20140318112743-tqv492026y2pnbff
2014-03-18 12:27:43 +01:00
Denis Ledoux
ec0f9de9dc
[FIX] web: preserve order of saved export fields list
...
bzr revid: dle@openerp.com-20140221115855-ycny8ai1vyb23cdd
2014-02-21 12:58:55 +01:00
Fabien Meghazi
b91b265cb8
[IMP] Use ensure_db() for /web and /web/login. Logout controller does not clear the db anymore
...
bzr revid: fme@openerp.com-20140128211802-9y77th2zojfhp35q
2014-01-28 22:18:02 +01:00
Fabien Meghazi
f4e33da924
[ADD] Database selector to login screen
...
bzr revid: fme@openerp.com-20140124151656-swy3jknclfnxkwzx
2014-01-24 16:16:56 +01:00
Christophe Simonis
457d661ae0
[FIX] test: correct Mock of search_read
...
[IMP] search_read: build order index using dict comprehension
bzr revid: chs@openerp.com-20140123170836-4qu0ei6zucaprwxs
2014-01-23 18:08:36 +01:00
Frédéric van der Essen
2f2c1057b3
[FIX] read: fix performance issue due to O(n)^2 sorting
...
bzr revid: fva@openerp.com-20140123161523-xvc8so45uwj3uivs
2014-01-23 17:15:23 +01:00
Fabien Meghazi
fff9749edd
[ADD] TODO for database manager
...
bzr revid: fme@openerp.com-20140122105712-cawi7lp0mnm9k9hv
2014-01-22 11:57:12 +01:00
Fabien Meghazi
9981100807
[FIX] keep backward compatibility for saas
...
bzr revid: fme@openerp.com-20140121160140-wgm0av3kaw0nvc61
2014-01-21 17:01:40 +01:00
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
Martin Trigaux
4b7799c0c7
[IMP] search_read: use search_read from the orm instead of rewritting it
...
skip search_count when getting no result from search_read
remove useless test based on implementation details
bzr revid: mat@openerp.com-20140117120047-9b5emsrbtjauvegl
2014-01-17 13:00:47 +01:00
Martin Trigaux
bd2bd8dbbc
[FIX] export: ignore unexistant field when retrieving field labels in saved field list
...
This avoids getting an error if a list contains a field no longer present in the model (eg: removed custom field)
bzr revid: mat@openerp.com-20140117101655-gz05oxkebn0bue8w
2014-01-17 11:16:55 +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
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
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
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