Opened 18 years ago
Last modified 10 years ago
#5382 new enhancement
improve storage of binary content in the database
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | next-major-releases |
Component: | database backend | Version: | devel |
Severity: | normal | Keywords: | binary content |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Attachments (1)
Change History (21)
by , 18 years ago
Attachment: | trac-spamfilter-b64decode.diff added |
---|
comment:1 by , 17 years ago
Keywords: | binary content added |
---|---|
Milestone: | → not applicable |
Owner: | changed from | to
Severity: | blocker → major |
Thanks for the patch.
This code really starts to become scary ;-) We should really think about a better way to store binary content.
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
follow-up: 4 comment:3 by , 17 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This ticket should probably not be closed. Especially by anonymous without any explanation.
comment:4 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | reopened → new |
Replying to ecarter:
This ticket should probably not be closed. Especially by anonymous without any explanation.
comment:5 by , 17 years ago
Owner: | changed from | to
---|
comment:6 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:7 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Please don't close as anonymous without explanation.
comment:9 by , 16 years ago
Type: | defect → enhancement |
---|
comment:10 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | reopened → new |
comment:11 by , 16 years ago
Severity: | major → normal |
---|
comment:12 by , 16 years ago
Status: | new → assigned |
---|
comment:13 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:14 by , 16 years ago
Owner: | changed from | to
---|
Edgwall.org really needs a custom workflow to prevent anonymous from randomly changing ticket status…
comment:15 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:16 by , 15 years ago
Summary: | base64 encoding/decoding breaks compatiblity with python2.3 → [PATCH] base64 encoding/decoding breaks compatiblity with python2.3 |
---|
comment:17 by , 15 years ago
Component: | plugin/spamfilter → database backend |
---|---|
Milestone: | not applicable → next-major-0.1X |
Summary: | [PATCH] base64 encoding/decoding breaks compatiblity with python2.3 → improve storage of binary content in the database |
Now it's a bit late to worry about Python 2.3 compatibility.
However, finding a better and backend neutral way to store binary content is still a goal.
comment:18 by , 15 years ago
I wonder why one would want to improve on storing binary content in the database when there is actually no binary content is being stored in the backend?
I mean, all binary/text attachments to for example wiki pages and tickets are being stored in the filesystem?
And, if that is going to be changed, then I would propose that for both storing of and retrieval of binary content (aka blobs) to and fro the backend, a streaming interface should be used. See for example http://www.blobstreaming.org/, see also the referenced links to the right.
Besides that, str is now a replacement for the former unicode api, so there is actually no need to decode or encode it as unicode…
comment:19 by , 15 years ago
It seems that the SpamFilter plugin stores binary data in the database.
comment:21 by , 10 years ago
Owner: | removed |
---|---|
Status: | reopened → new |
proposed patch, v1