Commit Graph
4040 Commits
Author SHA1 Message Date
P. Christeas 4e36352f5e Http server: support the OPTIONS at the multi-handler.
Now, fixes nautilus trying to browse the server for WebDAV, conforms to
the http standard.
Handlers should better inherit the HttpOptions class and define their
supported options.

bzr revid: p_christ@hol.gr-20100726093335-xzkqw60uyy87mcnq
2010-07-26 12:33:35 +03:00
P. Christeas 59efa51612 static http: use FixSendError.
bzr revid: p_christ@hol.gr-20100726093335-lfq6x0df09vbubv8
2010-07-26 12:33:35 +03:00
P. Christeas 60d11da63e websrv_lib: workaround the send-error of bad handlers
If a handler doesn't inherit FixSendError, it will leave the connection
hanging on a 501 response. Don't trust the handlers.

bzr revid: p_christ@hol.gr-20100726093335-xa0p85vxje63w03k
2010-07-26 12:33:35 +03:00
P. Christeas 754c834d42 websrv_lib: improve sending of internal error
bzr revid: p_christ@hol.gr-20100726093335-n8s6cpjmi2252myf
2010-07-26 12:33:35 +03:00
P. Christeas a405f9a4ef websrv_lib: handle general failures with http 500 status
If some http request fails with an unhandled exception, it is better
to send back the 500 error and close the connection, not leave the client
waiting for a response.

bzr revid: p_christ@hol.gr-20100726093335-o0p4ibon2uvfjxxn
2010-07-26 12:33:35 +03:00
P. Christeas 132ffb246e http: implement stats for http servers.
bzr revid: p_christ@hol.gr-20100726093335-syhvyodg1ec0467f
2010-07-26 12:33:35 +03:00
P. Christeas 9613c0c864 Static httpd: by default, disable. Sample config.
bzr revid: p_christ@hol.gr-20100726093335-m6kfvk8xn2c6ddrh
2010-07-26 12:33:35 +03:00
P. Christeas 0ee47f021c httpd: reduce request logging to debug_rpc level.
This brings back the behaviour of 2 commits ago.

bzr revid: p_christ@hol.gr-20100726093335-d1rdfwsjhdymv8v3
2010-07-26 12:33:35 +03:00
P. Christeas e6ca1be7c3 Http server: better logging
Have a symmetric helper class, that defines logging functions for all
http handlers.

Conflicts:

	bin/service/http_server.py

bzr revid: p_christ@hol.gr-20100726093334-vko7md6hk2004niw
2010-07-26 12:33:34 +03:00
P. Christeas 041f949bcc websrv_lib: one case of cleaner exit.
One rare case, where a module is destructed upon python interpreter exit,
and we need to check.

bzr revid: p_christ@hol.gr-20100726093334-cgirmmldh2mgvovm
2010-07-26 12:33:34 +03:00
P. Christeas ea4bb98140 Feature: serve static http, from a dir
Now, it is possible to serve static http from the files
of one dir. Just configure like:

[static-http]
enable = True
dir_path = /home/panos/build/openerp/doc/build/html

and the contents of that directory will be served as a
default at our http port ;)

Conflicts:

	bin/service/http_server.py

bzr revid: p_christ@hol.gr-20100726093334-2xr5mg0c9xvm68ej
2010-07-26 12:33:34 +03:00
P. Christeas 7d1f26cdd2 Export command to list the http services.
For debugging reasons, we should know what services we have registered
in our multi-dir http server.

Conflicts:

	bin/service/web_services.py

bzr revid: p_christ@hol.gr-20100726093334-7074r91i63e4g7jg
2010-07-26 12:33:34 +03:00
P. Christeas 3e8a845903 Http services: ensure the order in the MultiHandler
If we happen to register the '/' service, and then try to register the
'/webdav/' one, the latter must be inserted before the more generic path.

bzr revid: p_christ@hol.gr-20100726093334-3w7hyaukhzw9xpup
2010-07-26 12:33:34 +03:00
P. Christeas c06b42ad3c HTTP lib: When authentication cannot proceed, issue 403
The http protocol states that 401 should only be used when further
authentication would be possible

bzr revid: p_christ@hol.gr-20100726093334-qe5midzceivezbxu
2010-07-26 12:33:34 +03:00
Launchpad Code Hosting 89a5176ed4 Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100724035814-po8d090i3tnoldvn
bzr revid: codehost@crowberry-20100725040728-j9d99ow8x6h4vnxx
bzr revid: codehost@crowberry-20100726040609-j64yjrg7xp6z22as
2010-07-26 05:06:09 +01:00
nch@tinyerp.com c72b7ece20 [FIX]:changed char to text :In Manage filters, the field Domain Value and context is limited to 250 characters making it impossible to use a saved filter of more than 250 characters
bzr revid: nch@tinyerp.com-20100723061704-x9n3dt0qghuno1oo
2010-07-23 11:47:04 +05:30
Launchpad Code Hosting 9a5e22e38b Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100722035544-mpe2xhv7ktcmukhr
bzr revid: codehost@crowberry-20100723040724-16of0696ope0s0vt
2010-07-23 05:07:24 +01:00
nch@tinyerp.com 5023186293 [FIX]:*_view_ref should execute only if there is no view_id provided
bzr revid: nch@tinyerp.com-20100721133727-6kmwn65grzjrc4ig
2010-07-21 19:07:27 +05:30
Antony Lesuisse 6fddac7e4a action_report typo missing comma
bzr revid: al@openerp.com-20100721072252-dazg1b1mu5cqkz45
2010-07-21 12:52:52 +05:30
Antony Lesuisse f645a0aa9f ir_action_report rename fields
bzr revid: al@openerp.com-20100721071332-sgkfabae9nrizmy4
2010-07-21 12:43:32 +05:30
Mantavya Gajjar c69390c163 [FIX]: fix a report view
bzr revid: mga@tinyerp.com-20100721071053-z2mc0rx85dsl30sb
2010-07-21 12:40:53 +05:30
Launchpad Code Hosting e577e2e120 Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100721034220-fb25ry2r9asov212
2010-07-21 04:42:20 +01:00
Mantavya Gajjar 37d200a06d [IMP]: improve object view
bzr revid: mga@tinyerp.com-20100720140935-0idib3q47ekcl3zm
2010-07-20 19:39:35 +05:30
Mantavya Gajjar 995626889c [IMP]: improve the report configuration view
bzr revid: mga@tinyerp.com-20100720134622-hyczl1pyqfpzzhr3
2010-07-20 19:16:22 +05:30
Launchpad Code Hosting ac2dc5af78 Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100720034720-5qv9dto47py1jf1r
2010-07-20 04:47:20 +01:00
rpa (Open ERP) 3aadb0ad29 [IMP]: base: changed name get for partner address to display in order: name, country, city, street (no zip)
bzr revid: rpa@tinyerp.com-20100719132948-v7c78zh2e440vct3
2010-07-19 18:59:48 +05:30
rpa (Open ERP) afa0a6dc06 [FIX]: base: Put proper default value for getting user's email address (onchange user crashes on client side, when user don't have email address
bzr revid: rpa@tinyerp.com-20100719132754-u3rtifwypt8s3bmk
2010-07-19 18:57:54 +05:30
nch@tinyerp.com db1596fa43 [IMP]:enforce recrusivity constraint on menu
bzr revid: nch@tinyerp.com-20100719113429-xv1u3a6xhem0w9nj
2010-07-19 17:04:29 +05:30
nch@tinyerp.com 5fb869b599 [IMP]:ir.ui.menu view
bzr revid: nch@tinyerp.com-20100719112240-mj3kh3a8uafn553w
2010-07-19 16:52:40 +05:30
Vir (Open ERP) 9db991b10c [MOD] Configuration wizard :image size changed
bzr revid: vir@tinyerp.com-20100719110107-fam2sun0auywgo8v
2010-07-19 16:31:07 +05:30
Vir (Open ERP) d41d70e2b9 [REM/ADD] For configuration wizard, old images removed.New images are added with good resolution and better clarity
bzr revid: vir@tinyerp.com-20100719101249-uie36r494frimni7
2010-07-19 15:42:49 +05:30
Launchpad Code Hosting 83f0cc10ff Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100717035249-k95rhxu0mstupb59
bzr revid: codehost@crowberry-20100718033824-s08vpqmlkkiilog1
bzr revid: codehost@crowberry-20100719034035-lkxd5s4yjq4v0az6
2010-07-19 04:40:35 +01:00
nel@tinyerp.com 97a537d02a [IMP]
bzr revid: nel@tinyerp.com-20100716073453-s4qku8q1cpc5u0t9
2010-07-16 09:34:53 +02:00
nel@tinyerp.com 50ea35380a [FIX] report header
bzr revid: nel@tinyerp.com-20100716073328-2t85cn32107epjxe
2010-07-16 09:33:28 +02:00
Mantavya Gajjar 89bc03b2c9 [IMP]: improve action view
bzr revid: mga@tinyerp.com-20100716060300-v4j3c6n2u9qh8xdt
2010-07-16 11:33:00 +05:30
Launchpad Code Hosting 671adb997b Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100716033841-l0vctrifrl00xezg
2010-07-16 04:38:41 +01:00
Olivier Dony 314e1d8f46 [IMP] res_user: security check to prevent users from switching to a company they do not belong to (thanks to xrg for reporting)
bzr revid: odo@openerp.com-20100715165935-nlejai33n4m4o7ox
2010-07-15 18:59:35 +02:00
rpa (Open ERP) 9b5f933b13 [IMP]: base: Improvement in name get of partner address to display address details in the order: Name, zip city country street
bzr revid: rpa@tinyerp.com-20100715120234-azoxxxii4pcpk8cr
2010-07-15 17:32:34 +05:30
Launchpad Code Hosting 6fc16dcb39 Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100715033621-j32d53v5k3m5r104
2010-07-15 04:36:21 +01:00
Jay (Open ERP) 51ebb43210 [FIX] ORM.read() : property of type binary should not crash due to quotes
bzr revid: jvo@tinyerp.com-20100714192056-q1ygezb8c7gna2dh
2010-07-15 00:50:56 +05:30
Mustufa Rangwala 7678e0bafc [FIX] Missing import in convert for yaml
bzr revid: mra@mra-laptop-20100714053557-b3s6jz1teb7lni70
2010-07-14 11:05:57 +05:30
Launchpad Code Hosting c61d98b849 Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100714033632-pg33cft1bd5der5t
2010-07-14 04:36:32 +01:00
Olivier Dony ab5215a574 [IMP] rng grammar: allow filter_domain attribute for field elements in views
bzr revid: odo@openerp.com-20100713161551-bxzfcidcw5106zvf
2010-07-13 18:15:51 +02:00
Olivier Dony 5d16cc715b [IMP] netsvc/netrpc/http_server: introduce timeout for blocking server calls, sort of a busy wait
bzr revid: odo@openerp.com-20100713152244-9jdrem6b2xn50ltt
2010-07-13 17:22:44 +02:00
Olivier Dony 472693f703 [IMP] orm.read(): properly support ir.rules using fields inherited from _inherits + cleanup
bzr revid: odo@openerp.com-20100713131631-w1dvsbcm8a78d5dc
2010-07-13 15:16:31 +02:00
Olivier Dony f61cf6facf [IMP] tools/convert: cleanup: removed some unused variables, moved imports at top
bzr revid: odo@openerp.com-20100713095605-0sp0agl5tl3678u7
2010-07-13 11:56:05 +02:00
Mantavya Gajjar 8b2d9af044 [IMP]: improve view
bzr revid: mga@tinyerp.com-20100713092410-86efczgugojsnj8k
2010-07-13 14:54:10 +05:30
pap (OpenERP) 6b2e5e14ac [IMP] data serialization/loading: support timedelta expressions in eval
bzr revid: odo@openerp.com-20100713084057-7rw6k62k49nrhlug
2010-07-13 10:40:57 +02:00
Launchpad Code Hosting cbcaf17f7c Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100713034922-5x5akz8afaafma6c
2010-07-13 04:49:22 +01:00
Stephane Wirtel 8618ee13c6 [REF] Rewrite a chunk of code in the res.company with the default value for a multicompany context
bzr revid: stephane@openerp.com-20100712150434-8ummpcj142t0u2rx
2010-07-12 17:04:34 +02:00