summaryrefslogtreecommitdiff
path: root/addons/document_ftp/ftpserver
AgeCommit message (Collapse)Author
2011-09-26[IMP] document_ftp: use the new post_load hook.Vo Minh Thu
bzr revid: vmt@openerp.com-20110926122814-avszd62679hb6u6i
2011-09-09[FIX] document_ftp/document_webdav: correctly fix what was incorrectly fixed inVo Minh Thu
revno 4821, revision-id tfr@openerp.com-20110628141309-oag99snygj3vuqwn : pooler.get_db_only was removed from the server but not from the addons. It seems the commit 4821 tried to solved the situation by using get_db instead, which is wrong and it will load the db instead of just trying to get a cursor. This commit solves correctly the removel of get_db_only: by using sql_db.db_connect (for which get_db_only was an alias). bzr revid: vmt@openerp.com-20110909113916-td9o8yct0u5bitb6
2011-06-24[Fix] document_ftp: In pooler method is remvoe so i rename the methodBhumika (OpenERP)
bzr revid: sbh@tinyerp.com-20110624105108-w8pbhpb1mfb0kcfk
2011-04-08all: Fix execute permission and shebang at filesP. Christeas
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
2010-12-28[MERGE] merged the numerigraphe branch related to common typo mistake ↵qdp-launchpad@tinyerp.com
'childs' instead of children. Thanks for the contribution bzr revid: qdp-launchpad@tinyerp.com-20101228170718-3r55jyvpb6m5h05u
2010-11-12[Fix] caldav,document,document_ftp,document_webdav: fix buildbot warningssbh (Open ERP)
bzr revid: sbh@tinyerp.com-20101112114946-u19wkxzh1vj33sol
2010-11-03doc ftp: some assertions, close ftp sessions at YML testsP. Christeas
bzr revid: p_christ@hol.gr-20101103112605-dq8jthkma78ccmcj
2010-10-26[FIX] document_ftp: fix server shutdownChristophe Simonis
bzr revid: chs@openerp.com-20101026134449-mfan2d5pfj9m0pqx
2010-10-25[MERGE] upgraded to v6.0.0-RC1Numerigraphe - Lionel Sausin
bzr revid: ls@numerigraphe.fr-20101025084446-w4pv2twvms9zlyxx
2010-10-12Document, calendar: Patch code from trunk-xrg branchP. Christeas
several fixes that hadn't been backported or applied correctly. bzr revid: p_christ@hol.gr-20101012112030-snnb4fjkya4ndqkm
2010-08-27doc ftp: Fix bdf1f16b77c60, typo at keyword string.P. Christeas
bzr revid: p_christ@hol.gr-20100827073950-j95wl8ojuav8s1ej
2010-08-27doc ftp: enable ftp even before the module is fully installed.P. Christeas
This is marginally correct, but the document_ftp module would cause its own tests to fail (because it's not installed yet) and thus won't allow access to the db. Then, a 'tests.fatal' setting means that the module will never install successfully! Ideally, the tests should be performed *after* the db is inited and module is fully loaded. But the yaml mechanism performs them too early for us. bzr revid: p_christ@hol.gr-20100827073917-g6jwwskgpnnwl855
2010-08-19[CLEAN]: Removed commented codes, unnecessary spaces.RHA (Open ERP)
bzr revid: uco@tinyerp.com-20100819115157-sfsmbnjdgpp4wl12
2010-08-10Document_ftp: second round of lint checksP. Christeas
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-10Document_ftp: cleanup code for lintP. Christeas
bzr revid: p_christ@hol.gr-20100810122957-y0wqscm0xcfppbqd
2010-07-14Document, FTP: handle case of move into existing name.P. Christeas
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-14Document FTP: restructure the function calling, more consistent exceptions.P. Christeas
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-14Document FTP: avoid operations at "/"P. Christeas
bzr revid: p_christ@hol.gr-20100714090243-1ob78zjmfbtjsg2a
2010-07-13Document ftp: improve exception handling, size may return 404P. Christeas
bzr revid: p_christ@hol.gr-20100713205418-8oe6svsdvw2yy4jn
2010-07-13Document FTP: after nodefd.open_data(), cursor must commitP. Christeas
Because open_data, at the create case, updates the store_fname. bzr revid: p_christ@hol.gr-20100713205336-jodj31v722x81grb
2010-07-13Document FTP: try to get meaningful length from files.P. Christeas
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-13Document FTP: fix open_data after 1e1118a2bd7aeP. Christeas
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-11Document ftp: allow non-latin user, group.P. Christeas
bzr revid: p_christ@hol.gr-20100711142548-6uzoxs4224u8n2cf
2010-07-09Document ftp: fix unicode in NLSTP. Christeas
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-09Document FTP: fix typo inside error message.P. Christeas
bzr revid: p_christ@hol.gr-20100708225217-ui4z1rc8gkuyynnl
2010-07-09Document FTP: fix walking utf8 paths.P. Christeas
Also fix the error message when rename fails for utf8 filenames. bzr revid: p_christ@hol.gr-20100708225213-fcq2nbgectztjycq
2010-07-07Document ftp: solve the tests paradoxP. Christeas
the FTP server has been limited to only serve databases that have the document_ftp module "installed". However, this would break running the tests, because the module would be marked as "to upgrade". bzr revid: p_christ@hol.gr-20100706232928-5ckj97p61nfrq3rn
2010-07-06Document ftp: fix NLST, path resolution.P. Christeas
bzr revid: p_christ@hol.gr-20100706121050-5u0i2hsm2phz0i30
2010-07-06Document ftp: better handling of wrong paths.P. Christeas
bzr revid: p_christ@hol.gr-20100706060155-nyljhua59ahax7sx
2010-07-03Document ftp: don't close the cursor at the abstract_fsP. Christeas
Since the get_crdata() has created cursors outside the scope of this function, it is not wise to close them inside. bzr revid: p_christ@hol.gr-20100702215302-y6fsu4kz05g1a9v7
2010-07-03Document FTP: rewrite the code, resolve nodes only once.P. Christeas
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-02Document ftp: stop early if not in a node.P. Christeas
This will rather help debug some cases, where we try operations on the "/" path. bzr revid: p_christ@hol.gr-20100702103858-8jrqfzkd8g65vrzr
2010-07-02Document ftp: do commit the cursors, at mkdir and renameP. Christeas
cr.close() is not enough for data to go to db. bzr revid: p_christ@hol.gr-20100701224311-ef8q4qbmb8b9j6p1
2010-07-02Document FTP: fix syntax error in mkdir.P. Christeas
bzr revid: p_christ@hol.gr-20100701224308-g95nx5ckh8mgjgsb
2010-07-01Document ftp: use create, coll_create, rename from node APIP. Christeas
bzr revid: p_christ@hol.gr-20100701175134-g5wkaweznslhajgm
2010-07-01Document_ftp: *only* serve databases that have the module installed.P. Christeas
The document_ftp is not really a database-specific server, but a server-wide implementation. So, it could normally serve all the databases of the server, once one of them has it installed. Limit that and instead only serve the dbs that have the module marked as installed. bzr revid: p_christ@hol.gr-20100701175132-dydehiw5m6nnvcwy
2010-06-29Document FTP: adapt to node_descriptors APIP. Christeas
bzr revid: p_christ@hol.gr-20100629140532-xgpjex7h0q1g0cff
2010-06-29Document FTP: use pythonic logging in abstract_fsP. Christeas
bzr revid: p_christ@hol.gr-20100629140515-u73gs9ks4tiylhuo
2010-06-29Document FTP: don't touch the databases, on db_listP. Christeas
Trying a login on each db listed would result in the database loaded by the pooler. This behaviour is not really welcome. However, some clients (like kio_ftp) may still want to descend into the databases listed, in which case we cannot avoid to load the db(s). bzr revid: p_christ@hol.gr-20100629140328-2kqlfpo3oyhu0ufi
2010-06-29Document_ftp: Don't use the open() method, but the get_data()P. Christeas
bzr revid: p_christ@hol.gr-20100629140311-7bvmbrc2t7gjyn1g
2010-06-22Don't bind ftpserver on detected ip address, bind it to 127.0.0.1 or the ↵Antony Lesuisse
provided config value. bzr revid: al@openerp.com-20100622122030-56azfsum3gjjgvp8
2010-06-16[IMP][REF] Sql-injection changes, remove print statement, some space ↵vra
improvement. bzr revid: vra@tinyerp.com-20100616115139-cql5oiqf622spa6p
2010-06-02[FIX] TypoStephane Wirtel
bzr revid: stephane@openerp.com-20100602071339-hwrtzy4w3e5wg7xw
2010-05-27[MERGE] work of document moduleHarry (Open ERP)
bzr revid: hmo@tinyerp.com-20100527124458-02xxdfbi8kp0x94k
2010-05-14[MERGE] merged from trunk main addons branchvra
bzr revid: vra@tinyerp.com-20100514044836-q9iucv080zovjqkd
2010-05-11[FIX] Document : It should be allowed to browse through FTP,disregard to ↵gpa
--no-databse-list option bzr revid: gpa@tinyerp.com-20100511070138-xy7s91dyvamlx0m0
2010-03-24[IMP] wording: "children" intead of "childs"Numerigraphe - Lionel Sausin
lp bug: https://launchpad.net/bugs/327259 fixed bzr revid: ls@numerigraphe.fr-20100324163724-q1xe1ozomk23k17j
2010-02-24[merge] ftp deactivation branch, thanks greg-apieumXavier Morel
bzr revid: xmo@tinyerp.com-20100224105529-4fs9rhk6x2mm28c4
2010-02-24[FIX]lp:515507greg-apieum
lp bug: https://launchpad.net/bugs/515507 fixed bzr revid: greg-apieum-20100224093035-str2dr0e8vrqpfww
2010-02-24[CLEAN] Set Withespaces to PEP8 formatgreg-apieum
bzr revid: greg-apieum-20100224085404-j1onx0jxchv3m51a