Commit Graph

608 Commits

Author SHA1 Message Date
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
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
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
niv-openerp 6e6108e9b6 [FIX] Problem with exports that make them crash
lp bug: https://launchpad.net/bugs/1205238 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130726084640-lz11kdlsk27mrjec
2013-07-26 10:46:40 +02:00
niv-openerp b105770bbc [IMP] removed hack to force disable the browser's cache and use http headers instead
bzr revid: nicolas.vanhoren@openerp.com-20130724151929-8j1bo1ae64lwkxdw
2013-07-24 17:19:29 +02:00
niv-openerp 2205c3021f Some more correction to always have the db in the url
bzr revid: nicolas.vanhoren@openerp.com-20130724122328-kbnwq2uois37q74n
2013-07-24 14:23:28 +02:00
niv-openerp 3b384da858 [IMP] Removed http param 'db' handling from http.py and put it in the main controller in main.py
bzr revid: nicolas.vanhoren@openerp.com-20130724100030-yxbpntlz58kohy1n
2013-07-24 12:00:30 +02:00
niv-openerp 761ba75055 [IMP] Cleaned some more http.py, removed 'debug' handling and put it in the controller serving the home page
bzr revid: nicolas.vanhoren@openerp.com-20130724073624-uhshc0cn2m3rs7iq
2013-07-24 09:36:24 +02:00
niv-openerp 3885ee3330 [FIX] some more problems with werkzeug 0.9.1
bzr revid: nicolas.vanhoren@openerp.com-20130716131548-aa60tcfn3zwchqd0
2013-07-16 15:15:48 +02:00
niv-openerp 788071f34f [FIX] some more problems with werkzeug 0.9.1
bzr revid: nicolas.vanhoren@openerp.com-20130716131401-abj3i020a8831l98
2013-07-16 15:14:01 +02:00
niv-openerp b00689306c [FIX] problem with werkzeug 0.9.1 that makes the code crash when we generate a report
bzr revid: nicolas.vanhoren@openerp.com-20130715122835-4gtyu2xle8y7fls1
2013-07-15 14:28:35 +02:00
niv-openerp d42d50df57 [FIX] problem with werkzeug 0.9.1 that crashes when we generate a report
bzr revid: nicolas.vanhoren@openerp.com-20130715122648-a926d3tov4efbyrk
2013-07-15 14:26:48 +02:00
niv-openerp e6fc23d980 Forgot some refactoring
bzr revid: nicolas.vanhoren@openerp.com-20130711141832-8y5yj3lj7h4gb94q
2013-07-11 16:18:32 +02:00
niv-openerp 47b5a82ae8 Completely removed all ways to specify session identifiers and reduced them to 2 possibilities:
* The http argument 'session_id' (higher priority)
* The cookie 'session_id' (lower priority)

bzr revid: nicolas.vanhoren@openerp.com-20130711122034-3nvmkw4q5z4io4tm
2013-07-11 14:20:34 +02:00
niv-openerp a7adac1189 Now OpenERPSession is a subclass of werkzeug's session
bzr revid: nicolas.vanhoren@openerp.com-20130711103422-w7y05ox7tq0hz0og
2013-07-11 12:34:22 +02:00
Christophe Matthieu e4aad29beb [FIX] web report: use get to find active_ids inside the context. Check if report_ids is defined
bzr revid: chm@openerp.com-20130708105425-p8279f00xa7925xh
2013-07-08 12:54:25 +02:00
chs f15f706313 [FIX] monodb: correct behaviour in no-db-list mode (manual forward port of 7.0 rev 3991 mat@openerp.com-20130702122014-6l79a748lb946hkq)
bzr revid: mat@openerp.com-20130702122404-sngh0g283tuvj8ll
2013-07-02 14:24:04 +02:00
niv-openerp c433395b4f Put json-rpc controller in http.py
bzr revid: nicolas.vanhoren@openerp.com-20130621145455-n933uz1dcdmsv9t7
2013-06-21 16:54:55 +02:00
niv-openerp 770751c7d7 removed some useless code
bzr revid: nicolas.vanhoren@openerp.com-20130621143648-fh7vnyt3o6a7swqj
2013-06-21 16:36:48 +02:00
niv-openerp d57bbfd2ff merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130621135207-7oq7v2ubzfdrkrbr
2013-06-21 15:52:07 +02:00
niv-openerp 52d1b26b2f Put db_monodb() method in http.py
bzr revid: nicolas.vanhoren@openerp.com-20130621124143-pe5hgwj81j2degg6
2013-06-21 14:41:43 +02:00
niv-openerp 95f9491252 Rewrite db_monodb
bzr revid: nicolas.vanhoren@openerp.com-20130621123149-ukxjzz9jyckf9a4r
2013-06-21 14:31:49 +02:00
niv-openerp 2fd53a468c multiple refactoring with authentication
bzr revid: nicolas.vanhoren@openerp.com-20130621121510-gx22b6j9pwsfe352
2013-06-21 14:15:10 +02:00
niv-openerp 4119d7ce99 Added werkzeug's arguments
bzr revid: nicolas.vanhoren@openerp.com-20130620121026-btc06m36x9jg1ok0
2013-06-20 14:10:26 +02:00
niv-openerp 5a2c7af297 Refactored main.py
bzr revid: nicolas.vanhoren@openerp.com-20130619165957-nw7eb80c7gqqcj7v
2013-06-19 18:59:57 +02:00
niv-openerp 69ae9cc0b5 Big refactoring to prepare even more refactoring
bzr revid: nicolas.vanhoren@openerp.com-20130619161627-543e0brldclvvw98
2013-06-19 18:16:27 +02:00
chs 4039900383 [FIX] monodb: correct behaviour in no-db-list mode (again)
bzr revid: mat@openerp.com-20130702122014-6l79a748lb946hkq
2013-07-02 14:20:14 +02:00
niv-openerp c44888527b Added werkzeug route building, not yet switched
bzr revid: nicolas.vanhoren@openerp.com-20130614152621-t8jv4474gt9k6yib
2013-06-14 17:26:21 +02:00
Christophe Simonis a61e7cb0c8 [MERGE] forward port of branch saas-1 up to revid 4887 chs@openerp.com-20130612153934-qyp6pb3bc4za4taf
bzr revid: chs@openerp.com-20130613172414-dln3g4j0ykcwaa02
bzr revid: chs@openerp.com-20130613173900-xl7rh321nnw2b04b
2013-06-13 19:39:00 +02:00
niv-openerp d6c89cdb7c Implemented jsonrpc method
bzr revid: nicolas.vanhoren@openerp.com-20130613140418-2i1qsb6jykhx5jaz
2013-06-13 16:04:18 +02:00
niv-openerp 20c0e6fbb7 fixed get_lang_list
bzr revid: nicolas.vanhoren@openerp.com-20130613114421-hv3rgj0rxghpwlgp
2013-06-13 13:44:21 +02:00
niv-openerp 1c0282d09d fixed lot of problem with nodb
bzr revid: nicolas.vanhoren@openerp.com-20130613112027-1fps4v7h6zx5omo0
2013-06-13 13:20:27 +02:00
niv-openerp 50a5a612da Now uses request.cr for Model
bzr revid: nicolas.vanhoren@openerp.com-20130613110005-idverfbs9xe6l32w
2013-06-13 13:00:05 +02:00
niv-openerp c6b4e77df4 Put @nodb on all methods where it is required in main.py
bzr revid: nicolas.vanhoren@openerp.com-20130611165901-l1pyzpvpniq41a29
2013-06-11 18:59:01 +02:00
Christophe Simonis 22a8e5266e [FIX] web: calls to openerp methods do not raises xmlrpc Fault anymore
bzr revid: chs@openerp.com-20130611163527-k6yzb604c36n2wha
2013-06-11 18:35:27 +02:00
Christophe Simonis 6263673720 [MERGE] forward port of branch 7.0 up to revid 3973 chs@openerp.com-20130611145028-f98x6inytlr3ijjg
bzr revid: chs@openerp.com-20130611155251-zk0qkk70z30n81vl
2013-06-11 17:52:51 +02:00
Christophe Simonis ce68573126 [FIX] web: handle monodb correctly when server started with "--no-database-list" option
bzr revid: chs@openerp.com-20130611145028-f98x6inytlr3ijjg
2013-06-11 16:50:28 +02:00
Christophe Simonis 36e113e6bd [FIX] web: handle monodb correctly when server started with "--no-database-list" option
bzr revid: chs@openerp.com-20130611110327-sipc2er6z1ch7leb
2013-06-11 13:03:27 +02:00
niv-openerp a94bbf8e5e [FIX] Merge fix in saas1 for the problem that made the server crash when install a db
bzr revid: nicolas.vanhoren@openerp.com-20130610144915-0nj8vpk7n84ocj3f
bzr revid: nicolas.vanhoren@openerp.com-20130610150657-3xddn91gm0iq0ubp
bzr revid: nicolas.vanhoren@openerp.com-20130610154514-oee6s4f9g17bx63z
2013-06-10 17:45:14 +02:00
Olivier Dony 6901c4f981 [FIX] export: allow excluding special virtual fields from exportable data
For example the virtual "Access Rights" fields on
res.users cannot be browsed and cannot currently
by exported.

bzr revid: odo@openerp.com-20130607093044-y3bct44ralu8yf0o
2013-06-07 11:30:44 +02:00
niv-openerp 956a05e0f2 Replaced main
bzr revid: nicolas.vanhoren@openerp.com-20130607091856-mnjnllza9oafqxb7
2013-06-07 11:18:56 +02:00
niv-openerp 6afbca24f9 [REV] revert of previous improvement
bzr revid: nicolas.vanhoren@openerp.com-20130605092926-dhoumh76dwtl211t
2013-06-05 11:29:26 +02:00
niv-openerp 97b22323aa Refactored main.py
bzr revid: nicolas.vanhoren@openerp.com-20130604153037-h4kzan18r2wlkb62
2013-06-04 17:30:37 +02:00
Thibault Delavallée c4c17fc3d2 [FIX] image controller: all reads (event __last_update) should be encapsulated into a try/catch to avoid having sometimes a placeholder, sometimes a broken image + traceback.
bzr revid: tde@openerp.com-20130528130526-iwzw5jjttr4nevc4
2013-05-28 15:05:26 +02:00
niv-openerp 97110c0a48 [FIX] problem in database manager when db list is desactivated
lp bug: https://launchpad.net/bugs/1166856 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130527122415-pk8i2uqfrgyiac83
2013-05-27 14:24:15 +02:00
Christophe Simonis d086a71131 [IMP] web: allow manifest files to contain remote js/css/qweb files
bzr revid: chs@openerp.com-20130528104352-b1qf79d6bdm8x2ec
2013-05-28 12:43:52 +02:00
Vidhin Mehta d6024fa36b [FIX]add callback function to fetch_lang and in *drop db* which is not created,after drop it shows 'db succesfully droped'.
bzr revid: vme@tinyerp.com-20130516170403-7oil1k6em99a1hmp
2013-05-16 22:34:03 +05:30
Xavier Morel ae1ea1ac58 [FIX] incorrect company logo on databases with uppercase letters
bzr revid: xmo@openerp.com-20130516132200-t4h6gtoplkqzuh1w
2013-05-16 15:22:00 +02:00
niv-openerp f77cf1b603 wip
bzr revid: nicolas.vanhoren@openerp.com-20130515090231-pj7q042poo2183sp
2013-05-15 11:02:31 +02:00
niv-openerp b1338a1c8f fix
bzr revid: nicolas.vanhoren@openerp.com-20130515085618-m72mahjie4iguwhy
2013-05-15 10:56:18 +02:00
Ravi Gohil (OpenERP) 408f17a884 [FIX] Company Logo not shown if database name contains capitals(Courtesy: Karel Marissens). (Maintenance Case: 592257)
lp bug: https://launchpad.net/bugs/1172679 fixed

bzr revid: rgo@tinyerp.com-20130506092751-9zutbjsc5e5mnnvh
2013-05-06 14:57:51 +05:30
Olivier Dony ba5710962e [MERGE] Forward-port of 7.0 bugfixes, up to rev. 3912
revision-id: nicolas.vanhoren@openerp.com-20130430094843-9m1629m517vjtm1o

bzr revid: xmo@openerp.com-20130424102025-w33zyopm96r7q09p
bzr revid: odo@openerp.com-20130430103337-i9wuj8zf3h41h1ay
2013-04-30 12:33:37 +02:00
Antony Lesuisse 44569c06a2 [FIX] http controllers inheritance
minimalist and backward compatible implementation

bzr revid: al@openerp.com-20130423210644-hmvglhh10zlrwp9q
2013-04-23 23:06:44 +02:00
Christophe Simonis e5736828f9 [REVERT] revert commit fme@openerp.com-20130418171750-7oldgiewo1eewxk7: do not break stable API !!!
bzr revid: chs@openerp.com-20130423124151-h025b891xp77flg3
2013-04-23 14:41:51 +02:00
Vidhin Mehta 2d07136d6f [FIX]Remove extra duplicate method,show valid error msg when invalid db to drop, do_render method call after resolving fetch_langs and call always after fetch_db.
lp bug: https://launchpad.net/bugs/1166856 fixed

bzr revid: vme@tinyerp.com-20130423104647-8xvrthahdzk42r08
2013-04-23 16:16:47 +05:30
Fabien Meghazi d94936132a [MERGE] Fixed http controllers inheritance
bzr revid: fme@openerp.com-20130418171750-7oldgiewo1eewxk7
2013-04-18 19:17:50 +02:00
Christophe Simonis ecdc3b1873 [FIX] web: company_logo does not try to load the pool + failback correctly if the database does not exists or is not an openerp database
bzr revid: chs@openerp.com-20130405134747-7rkmz5d4r0buhhxj
2013-04-05 15:47:47 +02:00
Olivier Dony f0320d4258 [FIX] web: company_logo route may be accessed with uid = False in some cases, it should still work
bzr revid: odo@openerp.com-20130404143144-3o2j0xbwh4m84tu8
2013-04-04 16:31:44 +02:00
Xavier Morel bc07cab28c [IMP] export formats have no need to inherit from the export controller
bzr revid: xmo@openerp.com-20130403091025-wjb23mzbmdyjnahm
2013-04-03 11:10:25 +02:00
Xavier Morel 41784d0aec [FIX] Export and Reports controllers have no need to extend View
bzr revid: xmo@openerp.com-20130403082635-9dmdi4cco3kawiib
2013-04-03 10:26:35 +02:00
Xavier Morel 94c2c42be6 [MERGE] from 7.0
bzr revid: xmo@openerp.com-20130313094909-u21ee88l2lak9p2x
2013-03-13 10:49:09 +01:00
Antony Lesuisse cb9106d99f [FIX] IE9 db creation, better monodb
bzr revid: al@openerp.com-20130312230344-uasy5dx2e8n5ytlr
2013-03-13 00:03:44 +01:00
Fabien Meghazi 9223cd6e33 [FIX] Add redirect helper for IE<10 (looses hash on redirects)
bzr revid: fme@openerp.com-20130307095923-nh1s5uvzl68455cg
2013-03-07 10:59:23 +01:00
Fabien Meghazi c41aa09d92 [FIX] Restore cookie_db check
bzr revid: fme@openerp.com-20130306152129-945co8a1gljz95eu
2013-03-06 16:21:29 +01:00
Fabien Meghazi 182eb325fe [MERGE] Remove url timestamps in debug mode
bzr revid: fme@openerp.com-20130306100701-bwli4fkwv7xlfpf8
2013-03-06 11:07:01 +01:00
Fabien Meghazi 28aa304d44 [FIX] db_monodb: cookie not used. keep same behavior as previous
bzr revid: fme@openerp.com-20130306085936-3mcyorwtgbb0uk0u
2013-03-06 09:59:36 +01:00
Antony Lesuisse 88e0e2933c db_monodb better version and naming
bzr revid: al@openerp.com-20130306005755-bgyl65f03st6mn6x
2013-03-06 01:57:55 +01:00
Antony Lesuisse b5b625932a db_monodb use the new implementation
bzr revid: al@openerp.com-20130305211433-cz7jopkmehxbbbsh
2013-03-05 22:14:33 +01:00
Fabien Meghazi 7b154aa8e0 [REM] Removed database check, this is not the role of the controller to reject a bad database name
bzr revid: fme@openerp.com-20130305165144-1nzgf3urk4ke20ty
2013-03-05 17:51:44 +01:00
Fabien Meghazi 0f03ed38f0 [IMP] forgot a change in previous commit
bzr revid: fme@openerp.com-20130305111932-lytw8pax3bjihg9d
2013-03-05 12:19:32 +01:00
Fabien Meghazi 1a00c29538 [FIX] unbreak api
bzr revid: fme@openerp.com-20130305111703-5l6iw2s970j76f43
2013-03-05 12:17:03 +01:00
Fabien Meghazi fc74aaf760 [FIX] Fixed for --no-database-list option
bzr revid: fme@openerp.com-20130305092426-48h757qc62taugpl
2013-03-05 10:24:26 +01:00
Fabien Meghazi 02d4ab6597 [FIX] Make credential autocomplete per database
bzr revid: fme@openerp.com-20130228173444-th4grlsz70lewf9h
2013-02-28 18:34:44 +01:00
Fabien Meghazi d6e460d9e7 [FIX] Correctly handles db param in url. Home controller redirects on db if more than one db
bzr revid: fme@openerp.com-20130228161537-cen2lyknfifqtyu0
2013-02-28 17:15:37 +01:00
Fabien Meghazi 301d63b8c9 [WIP] wip , lots of troubles !
bzr revid: fme@openerp.com-20130228101614-zn4prwhi6zk0h13d
2013-02-28 11:16:14 +01:00
Christophe Simonis dd6a60e2bc [FIX] web: saved_action must start at index 1
bzr revid: chs@openerp.com-20130227172829-zxksmvky3hwltt7l
2013-02-27 18:28:29 +01:00
Fabien Meghazi d6975ff37f [FIX] Remove url timestamps in debug mode
The chrome cache bug seems to be gone with newer versions.
Moreover, the cutting edge features of the webkit developper tools
won't work if url changes upon reload.

bzr revid: fme@openerp.com-20130227114134-nlv7g5jjvvd037p2
2013-02-27 12:41:34 +01:00
niv-openerp 9f6451c2ac [FIX] typo in attachment server-side methods
lp bug: https://launchpad.net/bugs/1132770 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130225172446-gfuhhg0dqetiz51m
2013-02-25 18:24:46 +01:00
Thibault Delavallée 5e09c5c361 [FWD] [MERGE] Foward port of web-7.0 until rev 3771.
bzr revid: tde@openerp.com-20130221110355-p00935eqn4tstkx9
2013-02-21 12:03:55 +01:00
Raphael Collet 11051d4a08 [FIX] web: rewrite reference to removed module openerp.service.web_services
bzr revid: rco@openerp.com-20130213082035-9ajx7jlzim1qunv4
2013-02-13 09:20:35 +01:00
Olivier Dony d0c4cca10e [FIX] web: properly encode db and addons URL parameters
Passing the values unescaped could be a source of errors
and a XSS vector.

lp bug: https://launchpad.net/bugs/1118365 fixed

bzr revid: odo@openerp.com-20130207173439-ud5fos61d4pcoe2d
2013-02-07 18:34:39 +01:00
niv-openerp 79f7eaf08c Changed exception handling in jsonrpc
bzr revid: nicolas.vanhoren@openerp.com-20130130143049-hofmnixydlf42dds
2013-01-30 15:30:49 +01:00
Olivier Dony 02a6c638a9 [MERGE] Latest bugfixes from 7.0, up to rev 3731
rev 3731 = revision-id: fme@openerp.com-20130129142638-81uffjq3aiopr8ta

bzr revid: odo@openerp.com-20130129163725-feesf1n2xf0wbpro
2013-01-29 17:37:25 +01:00
Fabien Meghazi 337faa6829 [FIX] Use relative protocol in scripts url in order to avoid mixed content warnings in IE
bzr revid: fme@openerp.com-20130129142638-81uffjq3aiopr8ta
2013-01-29 15:26:38 +01:00
niv-openerp 454c3cd23a [IMP] Added method to make the client lib work with jsonrpc.
bzr revid: nicolas.vanhoren@openerp.com-20130115104423-mb8f2ec3o1jhz8ut
2013-01-15 11:44:23 +01:00
vta vta@openerp.com 39e5509e6c [FIX] Fix not working code, and some cleaning proposed by AL
bzr revid: vta@openerp.com-20121226181833-kih09glellxisl9p
2012-12-26 19:18:33 +01:00
vta vta@openerp.com 78f36a2fce [IMP] Browser's language as default language for anonymous user
bzr revid: vta@openerp.com-20121226074539-i5d2bqmmnqm3i8d6
2012-12-26 08:45:39 +01:00
Christophe Simonis 43f2dff179 [FIX] web: correct the concatenation of css files: @charset and @import rules must be before any other rules
bzr revid: chs@openerp.com-20130319154433-zizwv4irfvh93swe
2013-03-19 16:44:33 +01:00
Antony Lesuisse f14a8b9aac [IMP] version_info more info
bzr revid: al@openerp.com-20121219154505-lcartslny586t07n
2012-12-19 16:45:05 +01:00