Commit Graph

52 Commits

Author SHA1 Message Date
Cecile Tonglet 6069f954b2 [FIX] replace from/import stuffs of openerp stuffs by from/import openerp.stuffs (2)
bzr revid: cto@openerp.com-20121217155819-qgsa31xbzjxwji9x
2012-12-17 16:58:19 +01:00
Cecile Tonglet baeefa6952 [FIX] replace from/import stuffs of openerp stuffs by from/import openerp.stuffs
bzr revid: cto@openerp.com-20121217154628-0c0i8y3389yz4dxd
2012-12-17 16:46:28 +01:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Mayur Maheshwari (OpenERP) d21053e79b [FIX]document_ftp : remove comment
bzr revid: mma@tinyerp.com-20121031124304-awyhksp0bxxqlvx7
2012-10-31 18:13:04 +05:30
Mayur Maheshwari (OpenERP) 15035d86bb [FIX] document_ftp : when connecting using FTP client FileZilla and clicking on database named directory after logged in, it gives Invalid database path error
bzr revid: mma@tinyerp.com-20121031122304-6ss91ml1ncnmah1f
2012-10-31 17:53:04 +05:30
Antonin Bourguignon a52eeef519 [IMP] rephrase some error and warning messages in document, edi, google_base_account, mrp and mrp_repair
remove exclamation marks at the end of messages
remove unjustified capital letters

bzr revid: abo@openerp.com-20120806170841-cx9vuend1vglmsqk
2012-08-06 19:08:41 +02:00
Saurang Suthar(OpenERP) d3f30baa81 [IMP] Improved warning messages for document module
bzr revid: pso@tinyerp.com-20120725103334-rx24b2aojluvxuap
2012-07-25 16:03:34 +05:30
Hardik 770dc652af [IMP]Document (ftp,webdev) : Warning Messages are changed
bzr revid: hsa@tinyerp.com-20120713052957-iie8hdqbde1g3qz9
2012-07-13 10:59:57 +05:30
Foram Katharotiya (OpenERP) 0c374a66bc [IMP] Add logging at the top of python files
bzr revid: fka@tinyerp.com-20120622064839-llitm8szgikxznwr
2012-06-22 12:18:39 +05:30
Vo Minh Thu 28f900202b [FIX] document_ftp/document_webdav: correctly fix what was incorrectly fixed in
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-09-09 13:39:16 +02:00
Bhumika (OpenERP) d11103b2f1 [Fix] document_ftp: In pooler method is remvoe so i rename the method
bzr revid: sbh@tinyerp.com-20110624105108-w8pbhpb1mfb0kcfk
2011-06-24 16:21:08 +05:30
qdp-launchpad@tinyerp.com dc6e8e9b34 [MERGE] merged the numerigraphe branch related to common typo mistake 'childs' instead of children. Thanks for the contribution
bzr revid: qdp-launchpad@tinyerp.com-20101228170718-3r55jyvpb6m5h05u
2010-12-28 18:07:18 +01:00
sbh (Open ERP) 3389c99ee6 [Fix] caldav,document,document_ftp,document_webdav: fix buildbot warnings
bzr revid: sbh@tinyerp.com-20101112114946-u19wkxzh1vj33sol
2010-11-12 17:19:46 +05:30
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
Numerigraphe - Lionel Sausin ae6b790237 [MERGE] upgraded to v6.0.0-RC1
bzr revid: ls@numerigraphe.fr-20101025084446-w4pv2twvms9zlyxx
2010-10-25 10:44:46 +02:00
P. Christeas 305b48abe3 Document, calendar: Patch code from trunk-xrg branch
several fixes that hadn't been backported or applied correctly.

bzr revid: p_christ@hol.gr-20101012112030-snnb4fjkya4ndqkm
2010-10-12 14:20:30 +03:00
P. Christeas 7098bbcae1 doc ftp: Fix bdf1f16b77c60, typo at keyword string.
bzr revid: p_christ@hol.gr-20100827073950-j95wl8ojuav8s1ej
2010-08-27 10:39:50 +03:00
P. Christeas 283ea41e47 doc ftp: enable ftp even before the module is fully installed.
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-27 10:39:17 +03: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 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 9e390e4d17 Document FTP: avoid operations at "/"
bzr revid: p_christ@hol.gr-20100714090243-1ob78zjmfbtjsg2a
2010-07-14 12:02:43 +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 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 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 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 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 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 796ed8e598 Document FTP: fix typo inside error message.
bzr revid: p_christ@hol.gr-20100708225217-ui4z1rc8gkuyynnl
2010-07-09 01:52:17 +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 eb96e0f256 Document ftp: solve the tests paradox
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-07 02:29:28 +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 606df7368c Document ftp: better handling of wrong paths.
bzr revid: p_christ@hol.gr-20100706060155-nyljhua59ahax7sx
2010-07-06 09:01:55 +03:00
P. Christeas 0828a06de4 Document ftp: don't close the cursor at the abstract_fs
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-03 00:53:02 +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 dce6c87084 Document ftp: stop early if not in a node.
This will rather help debug some cases, where we try operations on the
"/" path.

bzr revid: p_christ@hol.gr-20100702103858-8jrqfzkd8g65vrzr
2010-07-02 13:38:58 +03:00
P. Christeas 88b0420b3e Document ftp: do commit the cursors, at mkdir and rename
cr.close() is not enough for data to go to db.

bzr revid: p_christ@hol.gr-20100701224311-ef8q4qbmb8b9j6p1
2010-07-02 01:43:11 +03:00
P. Christeas 5da9c26605 Document FTP: fix syntax error in mkdir.
bzr revid: p_christ@hol.gr-20100701224308-g95nx5ckh8mgjgsb
2010-07-02 01:43:08 +03:00
P. Christeas fb3f520268 Document ftp: use create, coll_create, rename from node API
bzr revid: p_christ@hol.gr-20100701175134-g5wkaweznslhajgm
2010-07-01 20:51:34 +03:00
P. Christeas abebb5c311 Document_ftp: *only* serve databases that have the module installed.
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-07-01 20:51:32 +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
P. Christeas d130db349e Document FTP: use pythonic logging in abstract_fs
bzr revid: p_christ@hol.gr-20100629140515-u73gs9ks4tiylhuo
2010-06-29 17:05:15 +03:00
P. Christeas d835a1419b Document FTP: don't touch the databases, on db_list
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-29 17:03:28 +03:00
P. Christeas ad31f812bc Document_ftp: Don't use the open() method, but the get_data()
bzr revid: p_christ@hol.gr-20100629140311-7bvmbrc2t7gjyn1g
2010-06-29 17:03:11 +03:00
vra bf8d2a73c0 [IMP][REF] Sql-injection changes, remove print statement, some space improvement.
bzr revid: vra@tinyerp.com-20100616115139-cql5oiqf622spa6p
2010-06-16 17:21:39 +05:30
Harry (Open ERP) a855625916 [MERGE] work of document module
bzr revid: hmo@tinyerp.com-20100527124458-02xxdfbi8kp0x94k
2010-05-27 18:14:58 +05:30
vra f2638bb616 [MERGE] merged from trunk main addons branch
bzr revid: vra@tinyerp.com-20100514044836-q9iucv080zovjqkd
2010-05-14 10:18:36 +05:30
gpa 68737dfd09 [FIX] Document : It should be allowed to browse through FTP,disregard to --no-databse-list option
bzr revid: gpa@tinyerp.com-20100511070138-xy7s91dyvamlx0m0
2010-05-11 12:31:38 +05:30
Numerigraphe - Lionel Sausin 744bfb8cc1 [IMP] wording: "children" intead of "childs"
lp bug: https://launchpad.net/bugs/327259 fixed

bzr revid: ls@numerigraphe.fr-20100324163724-q1xe1ozomk23k17j
2010-03-24 17:37:24 +01:00
rpa (Open ERP) bfbe18b5f1 [FIX] document_ftp: fixed problem of directory listing in filezilla(on Windows)
bzr revid: rpa@openerp.co.in-20100218124241-edqfocpn66z6u519
2010-02-18 18:12:41 +05:30