Commit Graph
127612 Commits
Author SHA1 Message Date
uco (Open ERP) d91e074b52 [REM] profile_manufacturing: Removed module.
[ADD] sale: Added installer files for sales management modules.

bzr revid: uco@tinyerp.com-20100726094715-ky600vwg8ghg0h7u
2010-07-26 15:17:15 +05:30
sbh (Open ERP) 30924dab4d [Fix] account: Fix the date in general_ledger_landscape report
bzr revid: sbh@tinyerp.com-20100726094557-djc2k29fv5iw7rkv
2010-07-26 15:15:57 +05:30
Mustufa Rangwala 080157798a [REF]
bzr revid: mra@mra-laptop-20100726094406-xanl8joxecqddxbs
2010-07-26 15:14:06 +05:30
Jay (Open ERP) c169237260 [FIX/IMP] Project/Project_issue : Improvements
lp bug: https://launchpad.net/bugs/609023 fixed

bzr revid: jvo@tinyerp.com-20100726094114-rl6nd2u4r52je3t1
2010-07-26 15:11:14 +05:30
P. Christeas a35482142c Httpd: update copyright info
bzr revid: p_christ@hol.gr-20100726093336-1wdzs6scdepk6cqz
2010-07-26 12:33:36 +03:00
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
sbh (Open ERP) c2863a6255 [IMP] Account: IF No Fiscal year then print the blank
bzr revid: sbh@tinyerp.com-20100726093055-jaag8o8mhddnb8ov
2010-07-26 15:00:55 +05:30
rpa (Open ERP) 1d07f4092b [IMP]: base_action_rule: Improvement for field 'name' + fix for trg_state_to
bzr revid: rpa@tinyerp.com-20100726092014-0anymi9z1g3b5cte
2010-07-26 14:50:14 +05:30
Mustufa Rangwala 72e34aad20 [REF]
bzr revid: mra@mra-laptop-20100726090655-d2wrpn5s7x4d16ro
2010-07-26 14:36:55 +05:30
Mustufa Rangwala 378fdf6042 [IMP] account: journal report improved
[REF] common report print journals

bzr revid: mra@mra-laptop-20100726081658-lhreus9d2iv0ep2w
2010-07-26 13:46:58 +05:30
sbh (Open ERP) a21b24206d [IMP] account: Improve the general_ledger sxw fiel
bzr revid: sbh@tinyerp.com-20100726073331-q082pml01f2ydzcw
2010-07-26 13:03:31 +05:30
uco (Open ERP) 9f731d301f [FIX] stock: Button names corrected in Incoming Shipment.
bzr revid: uco@tinyerp.com-20100726071225-5wk6qptj0l14eki0
2010-07-26 12:42:25 +05:30
sbh (Open ERP) fc0cd75d50 [IMP] account: Improve the third_party_ledger report
bzr revid: sbh@tinyerp.com-20100726071013-3zz5t9mqs5ybie37
2010-07-26 12:40:13 +05:30
Mustufa Rangwala d2cbb8c382 [FIX] if fiscalyear not in wizard
bzr revid: mra@mra-laptop-20100726070732-a1m9g27lnwerqhba
2010-07-26 12:37:32 +05:30
Mustufa Rangwala 84cf2f8177 [MERGE] merge with main branch
bzr revid: mra@mra-laptop-20100726063015-u2vmy0pk4pnlkq2o
2010-07-26 12:00:15 +05:30
PSI (Openerp) 595fdbde61 [IMP] hr related modules improvements
bzr revid: mra@mra-laptop-20100726061527-xftwpfuimrs2bbo8
2010-07-26 11:45:27 +05:30
Vir (Open ERP) 8de935ce04 [MOD] Icon changed for Dashboard , from graph to folder icon
bzr revid: vir@tinyerp.com-20100726055623-n0xw2k033xnsis1q
2010-07-26 11:26:23 +05:30
AMP (OpenERP) 086f180c80 [MOD] usability improvement in access rights
bzr revid: amp@tinyerp.com-20100726051551-i1udiuboxtn4vfve
2010-07-26 10:45:51 +05:30
Vir (Open ERP) 8940643956 [MOD] changes in comment
bzr revid: vir@tinyerp.com-20100726051052-32fvqoszndin4m29
2010-07-26 10:40:52 +05:30
Vir (Open ERP) 1cae760656 [Merge]
bzr revid: vir@tinyerp.com-20100726050249-tfvk8aywuekl5zlf
2010-07-26 10:32:49 +05:30
uco (Open ERP) 4a6e930967 [MERGE]
bzr revid: uco@tinyerp.com-20100726045014-visykrnftlghnjmb
2010-07-26 10:20:14 +05:30
Mustufa Rangwala 5ba0963192 [MERGE]
bzr revid: mra@mra-laptop-20100726044534-w60552uyuiouo4he
2010-07-26 10:15:34 +05:30
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
Mantavya Gajjar 65f1d254ac [IMP]: improve in account module
bzr revid: mga@tinyerp.com-20100725180549-nxybk5assldul3mg
2010-07-25 23:35:49 +05:30
Raphaël Valyi 3bc25fb07e [REF] clean up before merge (clean double work diffs)
bzr revid: rvalyi@gmail.com-20100725165826-etg68lktjnt9ih5l
2010-07-25 13:58:26 -03:00
Raphaël Valyi 75308e6eb9 [merge]
bzr revid: rvalyi@gmail.com-20100725155920-v60xeb515bgxpm1m
2010-07-25 12:59:20 -03:00