Commit Graph
15928 Commits
Author SHA1 Message Date
P. Christeas a47be2ef0d Document ftp: improve exception handling, size may return 404
bzr revid: p_christ@hol.gr-20100713205418-8oe6svsdvw2yy4jn
2010-07-13 23:54:18 +03:00
P. Christeas 766fd336d4 Document: fix realstore with open/close, rename.
Put the path computation of realstore in a helper function, and use that
in all places where a file is opened/created/moved.

bzr revid: p_christ@hol.gr-20100713205359-jn0bo6fcw9lwdyge
2010-07-13 23:53:59 +03:00
P. Christeas d3ae0b0083 Document FTP: after nodefd.open_data(), cursor must commit
Because open_data, at the create case, updates the store_fname.

bzr revid: p_christ@hol.gr-20100713205336-jodj31v722x81grb
2010-07-13 23:53:36 +03:00
P. Christeas 31d45716ca Document storage: fix opening/closing filestore descriptors
At open, if a file is created, a new store_fname has to be generated.
At close, the size of the file has to be updated at all write modes.

bzr revid: p_christ@hol.gr-20100713205324-q6g2tvem2qem6ftg
2010-07-13 23:53:24 +03:00
P. Christeas bbbf42c6ba Document FTP: try to get meaningful length from files.
This improves response from kio_ftp, because the SIZE request will no longer
report 0 length. However, LIST etc may still report 0, which will confuse
some clients. Solution is non-trivial, because the length can only be
computed after the content is generated.

bzr revid: p_christ@hol.gr-20100713103102-v5uou8uuqvqxm6yc
2010-07-13 13:31:02 +03:00
P. Christeas 6eebca04d6 Document API: node_content.open_data(), for FTP
A crude way to get the data of a content node, using StringIO.

bzr revid: p_christ@hol.gr-20100713103053-hklth9rugddm6ajl
2010-07-13 13:30:53 +03:00
P. Christeas 8cd367f9ed Document FTP: fix open_data after 1e1118a2bd7ae
After the revert, the node exception is TypeError (so that it is clearly
distinguishable from any others).

bzr revid: p_christ@hol.gr-20100713103035-usb1dbnma2l9c4ju
2010-07-13 13:30:35 +03:00
P. Christeas a7eaf3bfc9 Document: fix the context logic of content nodes
Content nodes should have meaningful context and perhaps an active id
'act_id', which will be used in the report or other generation fn().
The dctx mechanism of nodes was built for that, use it.

bzr revid: p_christ@hol.gr-20100713103030-irueg85zizlp42ju
2010-07-13 13:30:30 +03:00
P. Christeas 990cdf4c94 Document: dynamic content file for static dirs.
A dynamic content definition *can* be attached to a static directory,
in which case the content should be generated based on the dctx
dictionary of the dir.

bzr revid: p_christ@hol.gr-20100713103024-l3nylpvx4ib6s4ii
2010-07-13 13:30:24 +03:00
P. Christeas 0e8b07f490 Document ftp: have timeout at tests, skip if server is not available.
At trunk-xrg, the FTP daemon is only started *after* the db is loaded,
which means that it will not be available for tests on a server upgrade.
(still, tests can be performed through the base_module_record's importer)

Anyway, it is not wise to block the server startup if FTP doesn't
respond.

bzr revid: p_christ@hol.gr-20100713103016-33gu4o7yvkn7hmnd
2010-07-13 13:30:16 +03:00
P. Christeas d9553df1a2 Document: node context shall not be the context of orm methods.
The orm methods are called with some rich context, which need not be used
as the context of node structure. In the future, we might want to selectively
pass context values from orm to node.

bzr revid: p_christ@hol.gr-20100713103005-p0y6ptjoshomu0tv
2010-07-13 13:30:05 +03:00
P. Christeas 2d3d861a3e Document directory: "find_all" field for resource dirs.
A (mis-)feature of the previous code was that in resource directories, it
would only list attachments that would have those dirs as parents. This
means that we couldn't have another categorisation, that would yield some
of the same attachments.

bzr revid: p_christ@hol.gr-20100713102958-nk40nckc41uxyzri
2010-07-13 13:29:58 +03:00
P. Christeas 403a71fbaa Document webdav: fix errors for get_data, mkcol
bzr revid: p_christ@hol.gr-20100713102946-peksq27q3bxzgtnx
2010-07-13 13:29:46 +03:00
P. Christeas 6586f41062 Document nodes: import the errno, as in 9e6e98fbf132f1
bzr revid: p_christ@hol.gr-20100713102800-kfdmkfnvj0uxduo0
2010-07-13 13:28:00 +03:00
P. Christeas e6cb0e4cf5 Revert "Document API: meaningful error, when asking for directory data content."
This reverts commit 9e6e98fbf132f1c7ef795dee9d0eb3193332a5ee.

bzr revid: p_christ@hol.gr-20100713102744-rnu3vq3a2wjqmbyf
2010-07-13 13:27:44 +03:00
P. Christeas 83ff0d6757 Document webdav: fix mkcol, rename, get_data (temp)
Conflicts:

	document_webdav/dav_fs.py
	document_webdav/webdav_server.py

bzr revid: p_christ@hol.gr-20100712193236-8xde2tpmmxfp004n
2010-07-12 22:32:36 +03:00
P. Christeas 8dc0cc8a32 Document API: a little better messages, allow create_child() w/o data.
bzr revid: p_christ@hol.gr-20100712192949-nre9wzvx6utz3b3l
2010-07-12 22:29:49 +03:00
P. Christeas 3fe8bf10a8 Doc WebDAV: More consistent exceptions
The NotFound one should properly parse the list uri2. Define a helper
function that will wrap around usual calls and handle their exceptions.

bzr revid: p_christ@hol.gr-20100712192930-necdd0z9d2j6w4ut
2010-07-12 22:29:30 +03:00
P. Christeas 136398f175 Doc Webdav: One more workaround for python-webdav.
bzr revid: p_christ@hol.gr-20100712192819-7lr9zfogs6jjqq74
2010-07-12 22:28:19 +03:00
P. Christeas 385aaa2467 Document API: define node_class.create_child() and collection
Allow clients to call those fn()s for the wrong nodes, just to get an
NotImplementedError.

bzr revid: p_christ@hol.gr-20100712192808-d0x2qud1p5q26fb8
2010-07-12 22:28:08 +03:00
Harry (OpenERP) 831a292458 [MERGE]
bzr revid: hmo@tinyerp.com-20100712074657-wiqjddnycxzq2qz5
2010-07-12 13:16:57 +05:30
P. Christeas 19e5b1e3d0 Document: index the content, when a descriptor closes (eg. FTP)
bzr revid: p_christ@hol.gr-20100711142617-ib7nj3sg7nr5jp4a
2010-07-11 17:26:17 +03:00
P. Christeas a6010e22a2 Document: implement permission checks based on group_ids.
Conflicts:

	document/nodes.py

bzr revid: p_christ@hol.gr-20100711142612-2erl7ia2j9fke1e0
2010-07-11 17:26:12 +03:00
P. Christeas 0dedf035f9 Document ftp: allow non-latin user, group.
bzr revid: p_christ@hol.gr-20100711142548-6uzoxs4224u8n2cf
2010-07-11 17:25:48 +03:00
P. Christeas 661a6818d8 Document API: framework for permisssion bits.
The nodes may have extra permission attributes, rather than the ir.rule
system. Store those bits in a 'uidperms' attribute of each node.

bzr revid: p_christ@hol.gr-20100711142527-5o4v68yeuhgqvog4
2010-07-11 17:25:27 +03:00
Harry (OpenERP) fad9edc19e [MERGE]
bzr revid: hmo@tinyerp.com-20100711060646-gwp6039vsln1x30a
2010-07-11 11:36:46 +05:30
Harry (OpenERP) 6ccff1aab8 [MERGE]
bzr revid: hmo@tinyerp.com-20100711055312-8i1y04i0lps69k68
2010-07-11 11:23:12 +05:30
Launchpad Code Hosting 7c8eebb32a Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100711034146-05mnmjkl9gi4fguy
bzr revid: codehost@crowberry-20100712034712-8r8i01dbwwdfflds
2010-07-12 04:47:12 +01:00
sbh (Open ERP) 7b0fac508f [IMP] project_mrp: Rename the file
bzr revid: sbh@tinyerp.com-20100710134200-ziqqzyzx7fcax186
2010-07-10 19:12:00 +05:30
ATP(OpenERP) bf94775ee7 [IMP] project_retro_planning: Fix the yml
bzr revid: sbh@tinyerp.com-20100710133717-j4gnb4xqjmbclgjq
2010-07-10 19:07:17 +05:30
rpa (Open ERP) 124db51e59 [FIX]: crm, crm_claim, crm_helpdesk: Fixed warnings in yaml test
bzr revid: rpa@tinyerp.com-20100710133042-ltnj91iclrkj3jy0
2010-07-10 19:00:42 +05:30
sbh (Open ERP) 26be4acb30 [IMP]product: Add the tooltips in product_manager
bzr revid: sbh@tinyerp.com-20100710122707-j77owgiau0908bvi
2010-07-10 17:57:07 +05:30
sbh (Open ERP) 3271125854 [IMP] project_mrp: Remove the user_id and if linked the proejct with product then it set as parent
bzr revid: sbh@tinyerp.com-20100710122316-4qkb1vtc8ua85gii
2010-07-10 17:53:16 +05:30
rpa (Open ERP) 4b2fd4d791 [IMP]: crm: Added access rules for crm custom cases + fix
bzr revid: rpa@tinyerp.com-20100710113404-bzchu8aq73byzkl4
2010-07-10 17:04:04 +05:30
rpa (Open ERP) 4f3a973bfa [IMP]: base_action_rule: Improvement for filter_id, removed domain and max level
bzr revid: rpa@tinyerp.com-20100710105548-wctwrr6dkg6w4sul
2010-07-10 16:25:48 +05:30
rpa (Open ERP) 64040825e3 [FIX]: crm: Minor fixes
bzr revid: rpa@tinyerp.com-20100710102248-cwu8khzyylh0txzs
2010-07-10 15:52:48 +05:30
noz def1b522f5 [IMP] Added Web Addons dependency.
bzr revid: noz@tinyerp.com-20100710101923-pi3zkcg436o5icrw
2010-07-10 15:49:23 +05:30
rpa (Open ERP) dc0b929b09 [ADD]: crm: * Added new objects for custom crm case and sections
* Added a wizard to create Menus for custom cases

bzr revid: rpa@tinyerp.com-20100710100016-n1tjsrvfnjgmifig
2010-07-10 15:30:16 +05:30
Vir (Open ERP) 2128bb753a [Fix] Event : problem badge and product are fixed
bzr revid: vir@tinyerp.com-20100710091649-qxgphaf6v4dwy029
2010-07-10 14:46:49 +05:30
sbh (Open ERP) 6102a64b4f [ADD] purchase: Add the yml of procument
bzr revid: sbh@tinyerp.com-20100710082803-jsyzlbttjqdmfo7x
2010-07-10 13:58:03 +05:30
ATP (OpenERP) 60de30c62f [Fix]: project_retro_planning: Fix the problem of dateformat in yml
bzr revid: sbh@tinyerp.com-20100710082532-suz4vr7ir9xate1e
2010-07-10 13:55:32 +05:30
sbh (Open ERP) 1e839d8797 [Fix] sale: fix the argument name of product_id_change
bzr revid: sbh@tinyerp.com-20100710063054-cezdzk6yj8lo2ktz
2010-07-10 12:00:54 +05:30
rpa (Open ERP) 71fc32abc7 [IMP]: crm: Improvement in statistics report and crm board
bzr revid: rpa@tinyerp.com-20100710060754-u9wqiqkta9lloala
2010-07-10 11:37:54 +05:30
sbh (Open ERP) 80118df2c5 [IMP] procurement : If product type service and project_mrp not installed then set procurement state exception
bzr revid: sbh@tinyerp.com-20100710051619-g42mmwlq3cyc4tbu
2010-07-10 10:46:19 +05:30
Mustufa Rangwala b051735eec [MERGE] Merge Team3 branch for project related modules improvement and bug fixes
bzr revid: mra@mra-laptop-20100710044418-54gi38a7nyds7zw7
2010-07-10 10:14:18 +05:30
Mustufa Rangwala dd538fb1cd [MERGE] merge with trunk
bzr revid: mra@mra-laptop-20100710043515-x3wzswmpbsrzc11t
2010-07-10 10:05:15 +05:30
Launchpad Code Hosting a72027f8c9 Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100710040250-arzsukzfm03fmyo2
2010-07-10 05:02:50 +01:00
Stephane Wirtel bf7ea7c249 [FIX] puchase: We force the move lines to be empty for the new stock picking objects created by the system
bzr revid: stephane@openerp.com-20100709143107-84gv5aeerxzg8mxu
2010-07-09 16:31:07 +02:00
qdp-launchpad@tinyerp.com 69b2e854f5 [IMP] product: label of data fixed ('Hour' instead of 'hour')
bzr revid: qdp-launchpad@tinyerp.com-20100709141941-eeluruexhhk4tz98
2010-07-09 19:49:41 +05:30
qdp-launchpad@tinyerp.com 80bebb6981 [IMP] scrum: improve label
bzr revid: qdp-launchpad@tinyerp.com-20100709141847-eavjuhglrxc50a3c
2010-07-09 19:48:47 +05:30