file: Allow different names for duplicated content
This patch (which needs further development), introduces an extra field to the %attachment table to store a file's name, in the event that two files with the same content are stored in the database with differing names. In such a case, the name is stored in the %attachment table. This allows the attachment to specify a different name each time the same file is attached to something in the system.
Showing
- include/class.attachment.php 17 additions, 1 deletioninclude/class.attachment.php
- include/class.forms.php 10 additions, 2 deletionsinclude/class.forms.php
- include/class.mailer.php 14 additions, 3 deletionsinclude/class.mailer.php
- include/class.thread.php 20 additions, 4 deletionsinclude/class.thread.php
- include/client/templates/thread-entry.tmpl.php 2 additions, 2 deletionsinclude/client/templates/thread-entry.tmpl.php
- include/staff/templates/thread-entry.tmpl.php 2 additions, 2 deletionsinclude/staff/templates/thread-entry.tmpl.php
- include/upgrader/streams/core/9143a511-00000000.patch.sql 5 additions, 1 deletioninclude/upgrader/streams/core/9143a511-00000000.patch.sql
- js/filedrop.field.js 1 addition, 1 deletionjs/filedrop.field.js
- setup/inc/streams/core/install-mysql.sql 1 addition, 0 deletionssetup/inc/streams/core/install-mysql.sql
Loading
Please register or sign in to comment