Martin Trigaux
6c0d8142ba
[FIX] document_ftp: allow to use '..' command when traveling in ftp directories
...
lp bug: https://launchpad.net/bugs/734892 fixed
bzr revid: mat@openerp.com-20140121103021-mv9gcv4iprary0ac
2014-01-21 11:30:21 +01:00
Antony Lesuisse
2965e955a6
[FIX] document_ftp disabled in multiprocess
...
bzr revid: al@openerp.com-20121227051245-twyyhlb52kg2dxv8
2012-12-27 06:12:45 +01:00
Antony Lesuisse
2a10c7b76b
[MERGE] trunk
...
bzr revid: al@openerp.com-20121218140311-1rw9bqc1nwztfobb
2012-12-18 15:03:11 +01:00
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
Antony Lesuisse
76ce1a2972
document partial refactoring and cleanups
...
bzr revid: al@openerp.com-20121217011958-70esu8d6q54fu0zd
2012-12-17 02:19:58 +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
Antonin Bourguignon
b12e606e18
[MERGE] latest trunk
...
bzr revid: abo@openerp.com-20120803160951-4n7ckom9hyhgeio2
2012-08-03 18:09:51 +02:00
Stephane Wirtel
5e8b079586
[TYPO] replace tinyerp per openerp
...
bzr revid: stw@openerp.com-20120801141433-ooitydx4gcfh164m
2012-08-01 16:14:33 +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
Antony Lesuisse
c180a7f941
[FIX] revert ir_values on document
...
bzr revid: al@openerp.com-20120626201946-44c5odspvbttqyv1
2012-06-26 22:19:46 +02:00
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
Kuldeep Joshi (OpenERP)
3611f431b9
[IMP]document: remove warning
...
bzr revid: kjo@tinyerp.com-20120614060450-w8771020su128gmg
2012-06-14 11:34:50 +05:30
Vo Minh Thu
b1adb56fe0
[IMP] document_ftp: use the new post_load hook.
...
bzr revid: vmt@openerp.com-20110926122814-avszd62679hb6u6i
2011-09-26 14:28:14 +02:00
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
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
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
Christophe Simonis
b68dda729b
[FIX] document_ftp: fix server shutdown
...
bzr revid: chs@openerp.com-20101026134449-mfan2d5pfj9m0pqx
2010-10-26 15:44:49 +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
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
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