Commit Graph
896 Commits
Author SHA1 Message Date
Launchpad Code Hosting 8eedc3d226 Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100803034606-14i32c65n27lpyvk
2010-08-03 04:46:06 +01:00
Vir (Open ERP) df1548eb54 [Merge]
bzr revid: vir@tinyerp.com-20100802053842-nbs7j7jz2yvm52g2
2010-08-02 11:08:42 +05:30
P. Christeas 2289282c8b Doc, webdav: new API for the DAV:resourcetype property.
This property is used in DAV folders, CalDAV, GroupDAV and CardDAV, with
different extensions at each one. So, it needs an extensible API for the
value it may return.

Typical response in a calendar dir:
	<D:resourcetype>
	    <D:collection>
	    <ns0:vevent-collection xmlns:ns0="http://groupdav.org"/>
	    <ns1:calendar xmlns:ns1="urn:ietf:params:xml:ns:caldav" />
	</D:resourcetype>

The last two elements have to be added by subclassing the node in the
caldav module.

Conflicts:

	document_webdav/dav_fs.py

bzr revid: p_christ@hol.gr-20100801083722-nh4ty58fy0hobrgk
2010-08-01 11:37:22 +03:00
rpa (Open ERP) 8f82ddf308 [Merge]: Merge with lp:openobject-addons
bzr revid: rpa@tinyerp.com-20100730095120-ivsp30dbe79x77y5
bzr revid: rpa@tinyerp.com-20100730104910-vt3payt7357vhysl
2010-07-30 16:19:10 +05:30
rpa (Open ERP) bacbdf8163 [FIX]: document: Fixed problem of delete tag in yml test + Binary data in yml is needed to be passed encoded, in order to display correctly
bzr revid: rpa@tinyerp.com-20100730091240-31ty2auvni191okv
2010-07-30 14:42:40 +05:30
P. Christeas 780258d567 Document API: fix DAV handlers that contain "-"
Many DAV properties are like "calendar-data", which has to be translated
to _prefix_"calendar_data" for a pythonic function.

bzr revid: p_christ@hol.gr-20100729133938-hqshcsqtdrm6n2yc
2010-07-29 16:39:38 +03:00
P. Christeas 99087be2b5 Doc API, caldav: move the get_wtag code into document module.
It is the same case, that we want node.write_date to be used in the wtag
all over.

bzr revid: p_christ@hol.gr-20100729133937-4sgseg4keexeamd4
2010-07-29 16:39:37 +03:00
P. Christeas 8c4fccfca4 Document: shorten debug message.
It /will/ appear all the time in multi-location requests.

bzr revid: p_christ@hol.gr-20100729133937-e2tiez9z40iwtiby
2010-07-29 16:39:37 +03:00
P. Christeas e78571ac67 Document, DAV: fix propfind/propname code
Several small fixes for the DAV responses, so that we are more conforming
to the protocol. Also fix multiple namespaces, getctag and (as always)
whitespace

bzr revid: p_christ@hol.gr-20100729133937-z6ctpn92w6mz7r9k
2010-07-29 16:39:37 +03:00
P. Christeas 7fdf26ed50 Document API: more code for DAV properties.
Support those properties in the node_class itself, not need for specific
implementations at each node subclass.

bzr revid: p_christ@hol.gr-20100729133936-ab1jglsr1rrp5lww
2010-07-29 16:39:36 +03:00
AMP (OpenERP) 7e0180c254 [MOD] usability improvement in access rights
bzr revid: amp@tinyerp.com-20100729133057-gdhqqohzpkdnq8vl
2010-07-29 19:00:57 +05:30
dbr(Open ERP) c860708a9c [RENAME] Tiny ERP to OpenERP SA in all places
bzr revid: vir@tinyerp.com-20100728114344-u2cm97mk6gnfpp13
2010-07-28 17:13:44 +05:30
Vir (Open ERP) 76947ce41f [Merge]
bzr revid: vir@tinyerp.com-20100729044158-5k0x210ies7eyfxu
2010-07-29 10:11:58 +05:30
Vir (Open ERP) 7f5e2db051 [Merge]
bzr revid: vir@tinyerp.com-20100728050806-y8xzhi2gipff8jo6
2010-07-28 10:38:06 +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) 6eb86abda3 [MOD] usability improvement in access rights
bzr revid: amp@tinyerp.com-20100723072243-kpex4cdgckhga46d
2010-07-23 12:52:43 +05:30
Launchpad Code Hosting 1749ce6668 Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100722035645-v1m332trmm12j9ie
2010-07-22 04:56:45 +01:00
Vir (Open ERP) 5a05775b2b [ADD] Document : Reset button icon again
bzr revid: vir@tinyerp.com-20100721065451-sq4o2fbobeomiahk
2010-07-21 12:24:51 +05:30
Launchpad Code Hosting f392439b3f Launchpad automatic translations update.
bzr revid: codehost@crowberry-20100721034349-ogknguq2vuh856fa
2010-07-21 04:43:49 +01:00
Harry (OpenERP) 77f62a88a3 [MERGE] merged new api of document module
bzr revid: hmo@tinyerp.com-20100720130513-3t2cbyvns3hlj6qn
2010-07-20 18:35:13 +05:30
Vir (Open ERP) 0d823c054a [ADD] sales manus : Help added on Sales menu items.when user click first time, he can see help, what is the purpose of that menu
bzr revid: vir@tinyerp.com-20100719094906-1m4n1g7hqkvbzil3
2010-07-19 15:19:06 +05:30
P. Christeas 22257372f0 Document: Fix typo for creating attachments on dirs with res_model
bzr revid: p_christ@hol.gr-20100716221834-gn1l8tztmx18jyw9
2010-07-17 01:18:34 +03:00
P. Christeas 6cb5fa01ed Document, FTP: handle case of move into existing name.
Unlike unix 'mv', we do not allow move to point to an existing 'new_name'.

bzr revid: p_christ@hol.gr-20100714125232-fmm9sm1nc30nz92k
2010-07-14 15:52:32 +03:00
P. Christeas 26935b22e6 Document storage: fix errors for offline/readonly media.
bzr revid: p_christ@hol.gr-20100714090246-6510pdj41hr5hlxo
2010-07-14 12:02:46 +03:00
P. Christeas 45086f9c4a Merge remote branch 'origin/trunk-dev-addons2' into trunk-doc2-dav2
bzr revid: p_christ@hol.gr-20100714065004-w1xm8csvg9wgybdu
2010-07-14 09:50:04 +03:00
P. Christeas 10eea23109 Document tests: remove last, empty block
This just suppresses a warning.

bzr revid: p_christ@hol.gr-20100713205421-th0c0vuohsum3vj8
2010-07-13 23:54:21 +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 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
Harry (OpenERP) 72c068a75e [MERGE]
bzr revid: hmo@tinyerp.com-20100713143141-wozs7fnurj8ckblw
2010-07-13 20:01:41 +05:30
Vir (Open ERP) df96cbcad6 [MOD] Configuration wizard : Usability Improvements
bzr revid: vir@tinyerp.com-20100713134316-8v7jg1hcckkeer3x
2010-07-13 19:13:16 +05:30
Harry (OpenERP) 506b249a0f [MERGE] merged from trunk-addons branch
bzr revid: hmo@tinyerp.com-20100713115800-yhnlwf0rachbddat
2010-07-13 17:28:00 +05:30
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 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 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 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
rpa (Open ERP) 723c5df587 [FIX]: document: Fixed error in document yaml
bzr revid: rpa@tinyerp.com-20100713095006-6wii7got8r4jszf1
2010-07-13 15:20:06 +05:30
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 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 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) 230340bbbf [FIx] calendar: clean
bzr revid: hmo@tinyerp.com-20100709101952-l7twepqlkbkqp2dn
2010-07-09 15:49:52 +05:30
P. Christeas d6f1e1f29f Document API: fix typo from last commit.
bzr revid: p_christ@hol.gr-20100709082645-nlkq6j9tadhnj1xy
2010-07-09 11:26:45 +03:00
P. Christeas 60727b0cb0 Document: fix db storage (the new, raw engine)
The correct way to pass the raw file data into the db is through the
psycopg2.Binary() pseydo-type.

bzr revid: p_christ@hol.gr-20100709082351-rg1vle2d4mpzh056
2010-07-09 11:23:51 +03:00
P. Christeas e2c068b7ba Document storage: support move of files (for filestore, db)
bzr revid: p_christ@hol.gr-20100709082341-x7bedn540ev34lzs
2010-07-09 11:23:41 +03:00