#5024: allow to attach external files to records
authorPhilipp Schüle <p.schuele@metaways.de>
Thu, 4 Jul 2013 07:44:33 +0000 (09:44 +0200)
committerPhilipp Schüle <p.schuele@metaways.de>
Thu, 4 Jul 2013 08:12:00 +0000 (10:12 +0200)
commita6a7f866ef84afa0b9debe8c5eca97e939617f46
tree3cbb8c7df23b759aa18c6fa3175ee65d735b59f7
parent03168336b58bc46eb5c8e2b9f1823e4698e81d02
#5024: allow to attach external files to records

- add first version of attachment grid to generic edit dialog
- allow to attach new tempfiles to record
- allow to remove attachments from record
- allow to download file attachments
- return all record attachments when fetching full record
- delete attachments when record is deleted
- supported models: contact, task, lead, event
- improved generic foreign records resolving

https://forge.tine20.org/mantisbt/view.php?id=5024

Change-Id: I04f36a657a922e5f87124ec634510476f59ec321
Reviewed-on: https://gerrit.tine20.org/tine20/2155
Tested-by: jenkins user
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
39 files changed:
tests/tine20/Calendar/Convert/Event/VCalendar/GenericTest.php
tests/tine20/Calendar/JsonTests.php
tests/tine20/Crm/Export/CsvTest.php
tests/tine20/Crm/JsonTest.php
tests/tine20/Filemanager/Frontend/JsonTests.php
tests/tine20/Tasks/JsonTest.php
tine20/Addressbook/Model/Contact.php
tine20/Addressbook/js/Model.js
tine20/Calendar/Controller/Event.php
tine20/Calendar/Controller/MSEventFacade.php
tine20/Calendar/Convert/Event/Json.php
tine20/Calendar/Model/Event.php
tine20/Calendar/js/Model.js
tine20/Courses/Model/Course.php
tine20/Crm/Model/Lead.php
tine20/Crm/js/LeadEditDialog.js
tine20/Crm/js/Model.js
tine20/Felamimail/js/MessageEditDialog.js
tine20/Filemanager/Controller/Node.php
tine20/Filemanager/Frontend/Http.php
tine20/Tasks/Frontend/Json.php
tine20/Tasks/Model/Task.php
tine20/Tasks/js/Models.js
tine20/Tinebase/Controller/Record/Abstract.php
tine20/Tinebase/Convert/Json.php
tine20/Tinebase/FileSystem.php
tine20/Tinebase/FileSystem/RecordAttachments.php [new file with mode: 0644]
tine20/Tinebase/Frontend/Http.php
tine20/Tinebase/Frontend/Http/Abstract.php
tine20/Tinebase/Frontend/Json/Abstract.php
tine20/Tinebase/Model/Tree/Node.php
tine20/Tinebase/Record/RecordSet.php
tine20/Tinebase/Tinebase.jsb2
tine20/Tinebase/User/Sql.php
tine20/Tinebase/css/Tinebase.css
tine20/Tinebase/js/Models.js
tine20/Tinebase/js/widgets/dialog/AttachmentsGridPanel.js [new file with mode: 0644]
tine20/Tinebase/js/widgets/dialog/EditDialog.js
tine20/Tinebase/js/widgets/grid/FileUploadGrid.js