P. Christeas
d131f6f42d
HTTPd, websrv_lib: implement extendable OPTIONS handler.
...
For CalDAV, we need to allow the handler to fine-tune its OPTIONS response.
So, better cleanup the API and allow request handlers to define their OPTIONS.
bzr revid: p_christ@hol.gr-20100726093336-afzp15rys9oua4a0
2010-07-26 12:33:36 +03:00
P. Christeas
e8b1da52ab
websrv_lib: fix noconnection.close(), that stub must exist.
...
bzr revid: p_christ@hol.gr-20100726093336-dom7pcu0a38bxlsb
2010-07-26 12:33:36 +03:00
P. Christeas
726a046bc3
Netsvc: try to have a name for late-start threads.
...
That may help debugging the threads.
bzr revid: p_christ@hol.gr-20100726093336-urtx99as4zliho69
2010-07-26 12:33:36 +03:00
P. Christeas
fab3f04e8b
Netsvc: allow late starting of servers
...
If some server is register after the startAll() (for example, the FTP
server of a secondary db), allow it to start(), but give it a buffer of
1sec before this is done.
Conflicts:
bin/netsvc.py
bzr revid: p_christ@hol.gr-20100726093336-10htbz41rqx2alut
2010-07-26 12:33:36 +03:00
P. Christeas
018b13240b
websrv_lib: Log junk http requests
...
If a request doesn't start with a valid HTTP request line, log that
whole line.
For some strange reason, kernel 2.6.35-rc3+ triggered xml request lines
to appear.
bzr revid: p_christ@hol.gr-20100726093336-962hxsxoij0pn2ba
2010-07-26 12:33:36 +03:00
P. Christeas
4c6baedf13
netrpc: names at client threads
...
Have a name for client threads, too.
bzr revid: p_christ@hol.gr-20100726093336-8me0gn4gvexuzk5r
2010-07-26 12:33:36 +03:00
P. Christeas
522df9e236
http server: have names at threads.
...
A minor improvement, http client threads have a name now.
Conflicts:
bin/service/http_server.py
bzr revid: p_christ@hol.gr-20100726093335-0p0v34d276u0ks87
2010-07-26 12:33:35 +03:00
P. Christeas
bea04e1fc8
Websrv_lib, http_server: have special exception logging
...
the websrv_lib must conform to the BaseHTTPServer API, that does not
define an exception logging function, nor does it encourage the use
of individual pythonic loggers. So, have a function that is optionally
called, upon exception.
This improves much over the 'log_error()' call, because it allows us
to see all those bugs that would make a http method fail.
bzr revid: p_christ@hol.gr-20100726093335-e3hxsri766o2fzxp
2010-07-26 12:33:35 +03:00
P. Christeas
40758b5222
httpd, netrpcd: do not catch any exceptions
...
always only catch Exception.
Conflicts:
bin/service/netrpc_server.py
bin/service/web_services.py
bin/service/websrv_lib.py
bzr revid: p_christ@hol.gr-20100726093335-08uzfv3cr9ffx1ue
2010-07-26 12:33:35 +03:00
P. Christeas
d0eb1d7516
websrv_lib: fix handling of method exceptions.
...
They should not consume the body (twice), pass the error to the log(..),
since it may contain '%' characters.
bzr revid: p_christ@hol.gr-20100726093335-wgh34fxda2nt64ze
2010-07-26 12:33:35 +03:00
P. Christeas
7d24059c09
Static http: support OPTIONS
...
bzr revid: p_christ@hol.gr-20100726093335-6tvao6uzp90mmcnk
2010-07-26 12:33:35 +03:00
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
AMP (OpenERP)
d410b9bfae
[MOD] usability improvement in stock access rights
...
bzr revid: amp@tinyerp.com-20100723102928-9m1v3q6v1kj2ifk8
2010-07-23 15:59:28 +05:30
AMP (OpenERP)
6eb86abda3
[MOD] usability improvement in access rights
...
bzr revid: amp@tinyerp.com-20100723072243-kpex4cdgckhga46d
2010-07-23 12:52:43 +05:30
Vir (Open ERP)
01956f763e
[Merge]
...
bzr revid: vir@tinyerp.com-20100723064805-bbzk4115vynfwutg
2010-07-23 12:18:05 +05:30
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
Mantavya Gajjar
c1d8a6434c
[IMP]: iprovement in accounting journal sequence creating process
...
bzr revid: mga@tinyerp.com-20100723052036-fgdbmf1hk7ptncdl
2010-07-23 10:50:36 +05:30
Mantavya Gajjar
153301f957
[FIX]: fix a prolem of demo data appear after loading a correct chart of account
...
bzr revid: mga@tinyerp.com-20100723044439-2311zm8udkdcpjlp
2010-07-23 10:14:39 +05:30
Launchpad Code Hosting
ab47dac347
Launchpad automatic translations update.
...
bzr revid: codehost@crowberry-20100723040805-7ra7ztvxyy7zw62j
2010-07-23 05:08:05 +01:00
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
Fabien Pinckaers
3bda1bf02e
typo
...
bzr revid: fp@tinyerp.com-20100722174822-nww02qcppb14dpkj
2010-07-22 19:48:22 +02:00
Fabien Pinckaers
b3d4824bea
erge
...
bzr revid: fp@tinyerp.com-20100722162034-igliw0bxu9y6u6t4
2010-07-22 18:20:34 +02:00
Fabien Pinckaers
b90f099c53
fix
...
bzr revid: fp@tinyerp.com-20100722161944-gcowxb2nieeqtvwd
2010-07-22 18:19:44 +02:00
sbh (Open ERP)
4054773cc7
[Fix] purchase : Fix the problem of id
...
bzr revid: sbh@tinyerp.com-20100722135727-rnsetg63hq77m9fi
2010-07-22 19:27:27 +05:30
rpa (Open ERP)
2aaa5efc7f
[IMP]: sale: Improvement in log messages, removed unuseful messages
...
bzr revid: rpa@tinyerp.com-20100722135024-w88wr85q8zqg6la1
2010-07-22 19:20:24 +05:30
Vir (Open ERP)
f5e6520012
[Fix] when stock module is installed, help of standard_price field of product does not visible.Its fixed
...
bzr revid: vir@tinyerp.com-20100722132840-sxuvli9pb1cvpodg
2010-07-22 18:58:40 +05:30
sbh (Open ERP)
cfa44ec1ca
[Fix] stock: Fix picking report
...
bzr revid: sbh@tinyerp.com-20100722131051-lnxu6etyp5r4zzpy
2010-07-22 18:40:51 +05:30
Vir (Open ERP)
55547da7d8
[MOD] procurement : removed unused reference of product
...
bzr revid: vir@tinyerp.com-20100722125518-4rnfgc5aasj03v61
2010-07-22 18:25:18 +05:30
Mantavya Gajjar
0ffd63135c
[FIX]: improvement in hr_payroll and account recurring wizard
...
bzr revid: mga@tinyerp.com-20100722121342-4kx7jv06zonmv5g2
2010-07-22 17:43:42 +05:30
Vir (Open ERP)
9d60232764
[Merge] point_of_sale : Improvements in POS module
...
bzr revid: vir@tinyerp.com-20100722110905-gyoskyg6fx000y5k
2010-07-22 16:39:05 +05:30
rpa (Open ERP)
6e93201b13
[IMP]: crm, crm_claim, crm_fundraising, crm_helpdesk: Improvement for log messages
...
bzr revid: rpa@tinyerp.com-20100722110056-udb2qy6gtwbr5whe
2010-07-22 16:30:56 +05:30
Vir (Open ERP)
a424fafcc0
[ADD] mrp : help added on menu items
...
bzr revid: vir@tinyerp.com-20100722101806-fz3nmj6ctcpf1igq
2010-07-22 15:48:06 +05:30
Vir (Open ERP)
2b7e8d8e1b
[MOD] point_of_sale : small changes
...
bzr revid: vir@tinyerp.com-20100722095417-vqxon8qjyv6in94m
2010-07-22 15:24:17 +05:30
Vir (Open ERP)
f941072748
[Merge]
...
bzr revid: vir@tinyerp.com-20100722093952-0qq4gm4yvnlgxf79
2010-07-22 15:09:52 +05:30
rpa (Open ERP)
63e7e054f1
[FIX]: account_voucher: Fixed log message and import
...
bzr revid: rpa@tinyerp.com-20100722084354-zeefn896rvrerwnu
2010-07-22 14:13:54 +05:30
nel@tinyerp.com
64e4a02ce7
[ADD] coda import
...
bzr revid: nel@tinyerp.com-20100722082906-ievzhjf3p50v6i6o
2010-07-22 10:29:06 +02:00