Tryton - Issues

 

Issue5686

Title Allow to reuse the attachment file storage outside of attachment
Priority feature Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type feature request Components trytond
Assigned To ced Keywords review
Reviews 22141003
View: 22141003

Created on 2016-07-05.19:08:42 by ced, last changed by roundup-bot.

Messages
New changeset 06e955c4465e by C?dric Krier in branch 'default':
Add filestore module
http://hg.tryton.org/trytond/rev/06e955c4465e
review22141003 updated at https://codereview.tryton.org/22141003/#ps40001
review22141003 updated at https://codereview.tryton.org/22141003/#ps20001
review22141003 updated at https://codereview.tryton.org/22141003/#ps10010
New review22141003 at https://codereview.tryton.org/22141003/#ps1
msg26828 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2016-07-05.19:17:48
For the record, the review22141003 allows to replace the default FileStore class. For example, someone could want to store file on a distributed storage system.
Also it allows to use prefixes to separate different kind of files. But it keep the database name as prefix for attachments.
msg26827 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2016-07-05.19:10:11
Here is review22141003
msg26826 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2016-07-05.19:08:40
The way the attachment are stored could be useful to others.
So the idea is to extract a generic module with simple get/set methods.
History
Date User Action Args
2016-07-29 11:05:08roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg27449
2016-07-07 15:17:21cedlinkissue5692 superseder
2016-07-07 12:00:23reviewbotsetmessages: + msg26893
2016-07-05 22:00:23reviewbotsetmessages: + msg26835
2016-07-05 21:42:56cedsettitle: Allow to reuse the attchament file storage outside of attachment -> Allow to reuse the attachment file storage outside of attachment
2016-07-05 20:00:21reviewbotsetmessages: + msg26832
2016-07-05 19:30:18reviewbotsetnosy: + reviewbot
messages: + msg26830
2016-07-05 19:30:13reviewbotsetreviews: 22141003
keyword: + review
2016-07-05 19:17:49cedsetmessages: + msg26828
2016-07-05 19:10:11cedsetstatus: in-progress -> testing
messages: + msg26827
2016-07-05 19:08:42cedcreate