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
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
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
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
P. Christeas
03865bc917
Document: Less dir, storage options, cleanup views.
...
The 'virtual' storage is now hidden. An extra 'db64' type, hidden, is
supported in the code, for v5-compatible databases (until we migrate
the db_datas column of them). The 'at_record' directory type is gone.
A module in extra-addons will permit the compatible behaviour, for those
experts.
bzr revid: p_christ@hol.gr-20100708225042-fp3zcwmw4zp3ee04
2010-07-09 01:50:42 +03:00
P. Christeas
1927431e0b
Document: remove debug calls from trunk code.
...
That code would only work in trunk-xrg.
bzr revid: p_christ@hol.gr-20100706232700-x56f57gqhzupfphq
2010-07-07 02:27:00 +03:00
P. Christeas
49bf479c18
Document storage: implementation of simple rename
...
Conflicts:
document/document_storage.py
bzr revid: p_christ@hol.gr-20100701175133-ti0itn58w9az88w6
2010-07-01 20:51:33 +03:00
P. Christeas
7c26eb67fb
Document storage: the default db encoding is base64 in bytea
...
The storage class has to consider that. Also, prepare a class for raw bytea
storage.
bzr revid: p_christ@hol.gr-20100701175133-xxgu3cdlff0u7086
2010-07-01 20:51:33 +03:00
P. Christeas
0153d03c82
Document storage: support more file open modes.
...
We may be called with 'w+', 'r+' modes, support them. However, we still
don't support the 'a+' mode.
bzr revid: p_christ@hol.gr-20100701175132-v21yzk2h335emum1
2010-07-01 20:51:32 +03:00
P. Christeas
4913a2f0db
Document: fix nodefd_db.close()
...
Some vars were missing/inaccessible, put the queries in a try block.
bzr revid: p_christ@hol.gr-20100701175132-389l8frlqqg7hgr3
2010-07-01 20:51:32 +03:00
P. Christeas
8307ff0139
Document: workaround case when text file consists of non-unicode.
...
The content indexer would be trying to process the garbage of the
file and fail.
bzr revid: p_christ@hol.gr-20100701175131-b83jg498xjuosmd9
2010-07-01 20:51:31 +03:00
P. Christeas
f3cb7cd415
Document storage: implement node_descriptors.
...
bzr revid: p_christ@hol.gr-20100629140530-btusqmlz2lyadfbx
2010-06-29 17:05:30 +03:00
P. Christeas
c759d43405
Doc storage: port logging to pythonic one.
...
A cleanup to get rid of netsvc.Logger()
Conflicts:
document/document_storage.py
bzr revid: p_christ@hol.gr-20100625102933-pdymhisr2c7xzemr
2010-06-25 13:29:33 +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
Fabien Pinckaers
a3dd9f05dc
[FIX] 3 security rules, [IMP] object names for logs
...
bzr revid: fp@tinyerp.com-20100519183232-9zieyfnah526r312
2010-05-19 20:32:32 +02:00
rpa (Open ERP)
62115d03dc
[FIX]: document: Corrected relation table with group
...
bzr revid: rpa@tinyerp.com-20100407131854-wa3avfr60zxh52te
2010-04-07 18:48:54 +05:30
Ysa (Open ERP)
0067a88c5c
[IMP] document :- support indexation of docx to TXT and PPTX to TXT.
...
bzr revid: ysa@tinyerp.co.in-20100319084130-uoh0twqfq12230ff
2010-03-19 14:11:30 +05:30
Ysa (Open ERP)
f530cd9f35
[IMP] document :- add 'realstore' storage type
...
bzr revid: ysa@tinyerp.co.in-20100316085340-uggcnnlhpsterwko
2010-03-16 14:23:40 +05:30
Xavier Morel
3458b06eba
[merge] ftp deactivation branch, thanks greg-apieum
...
bzr revid: xmo@tinyerp.com-20100224105529-4fs9rhk6x2mm28c4
2010-02-24 11:55:29 +01:00
greg-apieum
0adc588146
ADD to config 'document_path' to set ftp root path
...
bzr revid: greg-apieum-20100224093210-mpitlp5ckckxjvm5
2010-02-24 10:32:10 +01:00
greg-apieum
f15d0a6895
[CLEAN] Set Withespaces to PEP8 format
...
bzr revid: greg-apieum-20100224085404-j1onx0jxchv3m51a
2010-02-24 09:54:04 +01:00
Jay (Open ERP)
fdbe67292c
[FIX] Added Missing import statements of translations( from tools.translate import _)
...
lp bug: https://launchpad.net/bugs/510217 fixed
bzr revid: jvo@tinyerp.com-20100121120123-k9hvy4nvegqf1vav
2010-01-21 17:31:23 +05:30
Harry (Open ERP)
307898c2a8
[FIX] document: fixed problem on mkdir, remove, create file, rename
...
bzr revid: hmo@tinyerp.com-20091208133041-ikpo3by8r8xbrthb
2009-12-08 19:00:41 +05:30
Harry (Open ERP)
8489832803
[IMP] document: remove <TAB> with four <white space>
...
bzr revid: hmo@tinyerp.com-20091207131111-x11rq6p0ixsgenq4
2009-12-07 18:41:11 +05:30
p_christeas
d5a68a7b69
[IMP]document : get improvement of document from xrg-addons branch who made nice improvement in document
...
bzr revid: hmo@tinyerp.com-20091202053657-4oflezyhbolu3xvo
2009-12-02 11:06:57 +05:30