Commit Graph

17 Commits

Author SHA1 Message Date
Stephane Wirtel 5e8b079586 [TYPO] replace tinyerp per openerp
bzr revid: stw@openerp.com-20120801141433-ooitydx4gcfh164m
2012-08-01 16:14:33 +02:00
P. Christeas 9e44cd5bfe all: Fix execute permission and shebang at files
Non-standalone python scripts shall not have a shebang. Others will need
to be executable.
(cherry picked from commit 6ec513d17cafcdd235b4805363d3cd6daa494f2f)

bzr revid: p_christ@hol.gr-20110408112324-nc781po7efhjye21
2011-04-08 14:23:24 +03:00
P. Christeas bc7871e2f9 doc ftp: some assertions, close ftp sessions at YML tests
bzr revid: p_christ@hol.gr-20101103112605-dq8jthkma78ccmcj
2010-11-03 13:26:05 +02:00
RHA (Open ERP) d5ad0b8ff1 [CLEAN]: Removed commented codes, unnecessary spaces.
bzr revid: uco@tinyerp.com-20100819115157-sfsmbnjdgpp4wl12
2010-08-19 17:21:57 +05:30
P. Christeas 97f6f059e1 Document_ftp: second round of lint checks
These are the functional ones. Don't mess with the real os, because
we're just an abstraction layer of nodes, drop support for
Python < 2.4, because the server wouldn't work anyway.

bzr revid: p_christ@hol.gr-20100810122957-41n7lq0o287j62vw
2010-08-10 15:29:57 +03:00
P. Christeas 559df13770 Document_ftp: cleanup code for lint
bzr revid: p_christ@hol.gr-20100810122957-y0wqscm0xcfppbqd
2010-08-10 15:29:57 +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 5a5608d71b Document FTP: restructure the function calling, more consistent exceptions.
Hopefully, FTP now will behave better to clients like Firefox. It is better
to pass the node-API messages to the FTP layer, than always return 550.

Conflicts:

	document_ftp/ftpserver/ftpserver.py

bzr revid: p_christ@hol.gr-20100714125228-7xs3zbi72may4198
2010-07-14 15:52:28 +03:00
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 173be44150 Document ftp: fix unicode in NLST
At the nlst command, the paths from the API could have been unicode, in
which case the '\r\n' separator would be sent as '\00\r\00\n' over the
wire (that's utf-16 encoding).
For that, bring the utf-8 conversion functions inside ftpserver.

bzr revid: p_christ@hol.gr-20100708225433-fqpl911kqfsrm1ff
2010-07-09 01:54:33 +03:00
P. Christeas e7d01ae1e3 Document FTP: fix walking utf8 paths.
Also fix the error message when rename fails for utf8 filenames.

bzr revid: p_christ@hol.gr-20100708225213-fcq2nbgectztjycq
2010-07-09 01:52:13 +03:00
P. Christeas 61b09c7fc9 Document ftp: fix NLST, path resolution.
bzr revid: p_christ@hol.gr-20100706121050-5u0i2hsm2phz0i30
2010-07-06 15:10:50 +03:00
P. Christeas e29f5bef65 Document FTP: rewrite the code, resolve nodes only once.
A big patch: nodes should not be calculated multiple times from the path
string, within an operation. Instead, they are resolved only once in a
node object (may reuse the cwd_node, if possible) and then op relative
to that node.

bzr revid: p_christ@hol.gr-20100702215249-kzucr3i1p5f6vvnt
2010-07-03 00:52:49 +03:00
P. Christeas b2a10c1b20 Document FTP: adapt to node_descriptors API
bzr revid: p_christ@hol.gr-20100629140532-xgpjex7h0q1g0cff
2010-06-29 17:05:32 +03:00
Stephane Wirtel 6c44f59c55 [FIX] Typo
bzr revid: stephane@openerp.com-20100602071339-hwrtzy4w3e5wg7xw
2010-06-02 09:13:39 +02:00
Guillem Barba 9924d22236 [FIX]: document: Fixed non-closed Cursor problem
lp bug: https://launchpad.net/bugs/522862 fixed

bzr revid: rpa@openerp.co.in-20100217083629-l4ju8rtudusf6woq
2010-02-17 14:06:29 +05:30
Harry (Open ERP) ad5882ec42 [IMP] document: remove ftp Integration from document and make seperate module for FTP Integration
bzr revid: hmo@tinyerp.com-20091217084214-6mve0dt68u8jdded
2009-12-17 14:12:14 +05:30