Andrew O'Neil
5150e66de3
ENHANCEMENT: Extensions are now the main method of providing custom functionality, replacing subclassing DMSDocument
2012-08-21 11:31:53 +12:00
Ryan O'Hara
b5c16cafe6
ENHANCEMENT: Add styling to Embargo and expiry fields. Change date format to dd-mm-yyyy
2012-08-16 16:18:41 +12:00
Julian Seidenberg
55e530f918
BUGFIX: removing unnecessary extra function to embargo (to show document about to be published when in draft mode)
2012-08-15 13:18:29 +12:00
Julian Seidenberg
dee4cb44f3
ENHANCEMENT: displaying the document in draft mode if it has been set to "hide until underlying page is published"
2012-08-14 18:36:52 +12:00
Julian Seidenberg
1a4ba2b5dd
MINOR: renaming forever to indefinitely (embargo)
2012-08-14 17:26:26 +12:00
Julian Seidenberg
9d0f8ade7e
BUGFIX: changing from "magic" number labels for drop down states to word labels
2012-08-14 15:05:23 +12:00
Andrew O'Neil
6280bed9ab
ENHANCMENT: Add document to page when it is clicked
2012-08-14 14:13:12 +12:00
Andrew O'Neil
be809ac2c9
ENHANCEMENT: Show list of documents when page is selected in dropdown
2012-08-14 14:13:12 +12:00
Andrew O'Neil
a6f8b83e1a
ENHANCEMENT: Show number of documents on a page in dropdown
2012-08-14 14:13:11 +12:00
Andrew O'Neil
3af703fa9a
ENHANCEMENT: Add treedropdown to select page when adding a document
2012-08-14 14:13:11 +12:00
Julian Seidenberg
b6a728dc0e
ENHANCEMENT: adding grid field row highlighting when Document is hidden
2012-08-14 13:03:35 +12:00
Julian Seidenberg
2f2019a42d
MINOR: changing button label to indicate that multiple documents can be added at once
2012-08-14 13:02:53 +12:00
Julian Seidenberg
7debe98641
BUGFIX: fixing small problem with not setting the expiry off again
2012-08-14 11:44:12 +12:00
Julian Seidenberg
2dbd0d89c1
BUGFIX: fixing expire/embargo on date functionality
2012-08-14 11:35:41 +12:00
Ingo Schommer
a858c1f66c
BUG Using calendar in embargo/expiry date selection
2012-08-14 00:03:31 +02:00
Julian Seidenberg
429253591c
ENHANCEMENT: adding basic UI for embargo/expiry
2012-08-13 18:28:24 +12:00
Julian Seidenberg
ba51c38262
ENHANCEMENT: javascript to hide/show the DMS detail form buttons
2012-08-13 16:41:43 +12:00
Julian Seidenberg
ca18b3fac0
API-CHANGE: working embargo API (with lots and lots of unit tests)
2012-08-13 14:14:31 +12:00
Julian Seidenberg
043eb540c1
ENHANCEMENT: Tidy-up of DMS link existing document feature
2012-08-10 12:05:34 +12:00
Julian Seidenberg
607d3e8266
ENHANCEMENT: Editing document defaults after adding
2012-08-09 18:10:50 +12:00
Andrew O'Neil
7de79e20be
WIP Edit frame
2012-08-08 17:58:08 +12:00
Ryan O'Hara
a629f4b66e
ENHANCEMENT: Move Actions into a FieldGroup and style these. TODO - Toggle each individual action detail when clicking the respective button. Currently when clicking a button this hides the whole panel
2012-08-08 12:17:20 +12:00
Julian Seidenberg
4854be9eea
ENHANCEMENT: adding the ability to extend a DMSDocument's file querying mechanism.
2012-08-07 18:19:58 +12:00
Julian Seidenberg
66422c0a31
ENHANCEMENT: re-adding modified downloadtemplate, but only in specific case when access it through a grid field
2012-08-07 17:28:11 +12:00
Julian Seidenberg
7cfefdb953
ENHANCEMENT: only using special download template when displaying DMSUploadField in getCMSFields of GridField
2012-08-07 17:28:10 +12:00
Julian Seidenberg
e682125a03
BUGFIX: removing restriction that the uploaded file needs to have the same name as the previous file. The client specifically needs to be able to upload a new file with a different name.
2012-08-07 17:28:10 +12:00
Ryan O'Hara
8da51ff5e9
ENHANCEMENT: Add tab styling to add document dialog
2012-08-07 16:51:39 +12:00
Andrew O'Neil
0e65cb2f1e
FEATURE: Adding existing documents now works
2012-08-07 14:42:28 +12:00
Julian Seidenberg
9e9cc995b3
ENHANCEMENT: warning when deleting a page with documents that exist only on this page. Also, when actually deleting the page, delete the associated documents that only exist on that page
2012-08-07 14:39:07 +12:00
Andrew O'Neil
e30a34eedb
FEATURE: Autocomplete for add document
2012-08-07 13:45:01 +12:00
Ryan O'Hara
6c90c89276
ENHANCEMENT: Add styling to main document tab in CMS. Add unlink icon
2012-08-07 11:55:11 +12:00
Julian Seidenberg
043bfb98f6
API-CHANGE: refactoring static methods to adhere to coding conventions.
2012-08-07 11:19:54 +12:00
Julian Seidenberg
6fa0cc5a32
API-CHANGE: refactoring getDMSinstance() to inst()
2012-08-07 11:19:54 +12:00
Julian Seidenberg
c571d5bc8d
ENHANCEMENT: protecting the "dms-assets" folder from web access
2012-08-07 11:16:10 +12:00
Ingo Schommer
c44434d498
FEATURE Replace file (incl. name validation)
2012-08-06 20:53:34 +02:00
Ingo Schommer
2d66b0e453
Linking to page in DMSDoc detail view, adding header
2012-08-06 15:46:05 +02:00
Julian Seidenberg
02fad50ab3
ENHANCEMENT: delete button warning
2012-08-06 18:17:01 +12:00
Ryan O'Hara
782b07ec80
MINOR: Adjust styling for gridfield showing where-else document is linked
2012-08-06 17:55:18 +12:00
Andrew O'Neil
8be5a754bc
FEATURE: WIP add existing document to page
2012-08-06 17:52:41 +12:00
Andrew O'Neil
c3437d8646
BUGFIX: Fix edit links on document upload
2012-08-06 13:23:16 +12:00
Normann Lou
505bbc96a3
MINOR: missing images that should be used after you upload files to show the file type.
...
MINOR: add a TODO comments for other dev to check later.
2012-08-03 18:26:32 +12:00
Normann Lou
472183df09
ENHANCEMENT: add "Back" and "Done" button to the DocumentAddController.
2012-08-03 18:26:32 +12:00
Ryan O'Hara
228e9a25c7
ENHANCEMENT: add styling to meta-data. MINOR: Add initial styling for document type and action buttons with JS to hide panels - this needs a lot of work
2012-08-03 12:18:55 +12:00
Julian Seidenberg
44317bfbe6
API-CHANGE: overriding DMS delete button (not quite working yet)
2012-08-01 18:38:06 +12:00
Andrew O'Neil
66a7a0a738
Edit form for upload
2012-08-01 17:59:41 +12:00
Julian Seidenberg
d6740d8482
ENHANCEMENT: adding scss stlying
2012-08-01 16:12:11 +12:00
Julian Seidenberg
236857bc80
API-CHANGE: deleting a DMSDocument from the GridField working
2012-08-01 15:00:53 +12:00
Normann Lou
f933e1a335
APICHANGE: add getFileSize() function to DMSDocument
2012-08-01 14:42:51 +12:00
Normann Lou
5e448c8d7b
APICHANGE: add DMSDocument->getFileExt(), remove DMSDocument_Controller::get_file_extension(), use the instance function where ever applicable.
2012-08-01 14:13:07 +12:00
Normann Lou
40631b12b1
MINOR: type 'an' should be "and' in inline documentation
2012-08-01 13:43:46 +12:00
Normann Lou
99435e39b7
BUGFIX: use the new API method getFilenameWithoutID()
2012-08-01 13:23:20 +12:00
Normann Lou
09a8229ec0
APICHANGE: change DMSDocumentInterface::downloadLink() to DMSDocumentInterface::getDownloadLink() so that a $DownloadLink could be used as a field to make GridField for DMSDocument to have a formatted linkable column
...
ENHANCEMENT: make "Filename" column of a GridField clickable hence make the document downlaodable.
ENHANCEMENT: make "Last Changed" column show as a "Ago" format, ie. 'A day ago' or 'there months ago'.
2012-08-01 12:35:44 +12:00
Normann Lou
f361cab459
APICHANGE: rename filenameWithoutID() to getFilenameWithoutID() so that FilenameWithoutID could be used as a data object 'field' and could be used in a grid field of DMSDocument
2012-08-01 10:51:52 +12:00
Andrew O'Neil
66dd7e9394
Fix breadcrumbs for add document
2012-08-01 10:49:58 +12:00
Andrew O'Neil
adf25185f1
ENHANCEMENT: Adding documents to a page works! (poorly)
2012-08-01 10:49:57 +12:00
Julian Seidenberg
2819a5fd60
BUGFIX: removing debug statements and adding the correct filename when downloading documents
2012-08-01 10:43:53 +12:00
Julian Seidenberg
fcd29dbf31
ENHANCEMENT: working replace file and usage listing
2012-07-31 18:17:08 +12:00
Julian Seidenberg
449b1d3ba4
ENHANCEMENT: using DMSUploadField in DMSDocument
2012-07-31 18:17:07 +12:00
Andrew O'Neil
a161dca65a
MINOR: Move DMSUploadField into cms folder
2012-07-31 14:42:25 +12:00
Andrew O'Neil
5cd6e96189
MINOR: Move cms code into its own folder
2012-07-31 14:26:53 +12:00
Julian Seidenberg
e41d6691f0
API-CHANGE: adding stub method
2012-07-31 14:26:29 +12:00
Julian Seidenberg
f7e0bb918a
API-CHANGE: overriding upload field for DMS
2012-07-31 14:24:50 +12:00
Andrew O'Neil
c0b52b939d
FEATURE: Upload button for documents (WIP)
2012-07-31 14:12:20 +12:00
Julian Seidenberg
5a13ff221e
API-CHANGE: cmsFields for DMSdocument
2012-07-30 18:31:23 +12:00
Julian Seidenberg
e0c028f87f
BUGFIX: renaming method to prevent conflicts
2012-07-30 12:33:01 +12:00
Julian Seidenberg
17ea520f98
ENHANCEMENT: download link functionality
2012-07-27 17:40:17 +12:00
Normann Lou
ed6a697b57
APICHANGE: use static $modelClass for DMS, instead of pass through a classname when getting a DMS instance.
...
FEATURE: add the "Documents" tab to page CMS fields, make the displayed fields customisable by DMSDocument subclass
2012-07-27 15:42:08 +12:00
Julian Seidenberg
0f6e7be3b9
API-CHANGE: enabling replace document
2012-07-27 14:21:24 +12:00
Julian Seidenberg
6a40448609
API-CHANGE: refactoring to support replace document functionality
2012-07-27 14:02:46 +12:00
Julian Seidenberg
cb2f61c260
BUGFIX: fixing DMS unit tests
2012-07-27 13:11:28 +12:00
Julian Seidenberg
e3c49aa775
Revert "MINOR: removing comments"
...
This reverts commit de09822ce0
.
2012-07-27 12:54:38 +12:00
Julian Seidenberg
9ba84e6211
Merge branch 'master' of ssh://gitorious.silverstripe.com:2222/electricityauth/dms
2012-07-27 12:45:36 +12:00
Julian Seidenberg
de09822ce0
MINOR: removing comments
2012-07-27 12:37:39 +12:00
Julian Seidenberg
7b18e3ba7e
BUGFIX: working DMS tags
2012-07-27 12:37:39 +12:00
Julian Seidenberg
08ec5a7cac
BUGFIX: using correct datetime data type
2012-07-27 12:37:39 +12:00
Julian Seidenberg
03da4c3ff5
API-CHANGE: improved DMS tagging functionality
2012-07-27 12:37:39 +12:00
Normann Lou
72b4c51b91
BUGFIX: when copy the physical file into the dms-assets folder, use the file absolute path for both from path and to path.
...
FEATURE: hook a DMS instance to manage an model class definable by the caller, instead of hard coded DMSDocument, treat DMSDocument as default managed model class.
2012-07-27 12:28:56 +12:00
Normann Lou
399754c551
APICHANGE: add one more handy interface method addPages($pageIDs).
...
MINOR: correct inline document to reflect the evolved data model.
2012-07-27 12:22:27 +12:00
Normann Lou
de93686a68
MINOR: we intial a DMSDocuemnt with Title valued as the file name and remove some inline document that is not correct.
2012-07-26 12:50:52 +12:00
Normann Lou
4cdda77524
MINOR: add some example of valuse for $db static variable for better understanding
2012-07-26 12:46:03 +12:00
Julian Seidenberg
8e03989022
MINOR: moving EA specific code out of the dms module into the project's my site
2012-07-26 10:20:25 +12:00
Julian Seidenberg
e50f776a0d
ENHANCEMENT: implementing adding tags
2012-07-25 18:56:43 +12:00
Julian Seidenberg
51f477a88c
ENHANCEMENT: adding document type one to many relation to specific EA extension of the DMS
2012-07-25 18:08:49 +12:00
Julian Seidenberg
ac826784f1
BUGFIX: fixing DMS Document unit test
2012-07-25 18:08:15 +12:00
Julian Seidenberg
b20704569f
ENHANCEMENT: refactoring DMSTag to have a many_many relation to DMSDocument
2012-07-25 15:11:06 +12:00
Julian Seidenberg
5e4c295853
API-CHANGE: additional DMS implementation code
2012-07-17 17:58:33 +12:00
Julian Seidenberg
27d666a08d
API-CHANGE: fixing up the DMS and tests
2012-07-17 13:52:58 +12:00
Ingo Schommer
5bf381c87b
Disabling DMSDocumentInterface->delete()
...
Causes PHP fatal errors when using in combination with DataObject
(at least on our PHP 5.3.3 buildslave, not on Ingo's
PHP 5.3.12 development machine)
2012-07-16 21:55:05 +02:00
Ingo Schommer
e28fb439a6
Added DMSDocument->delete() implemenetation to adhere to interface
...
Teamcity's PHP complained about it being inherited from DataObject
and declared abstract through the interface
2012-07-16 21:34:52 +02:00
Julian Seidenberg
2068a6d590
API-CHANGE: DMS interface and mock implementation
2012-07-16 18:21:48 +12:00
Julian Seidenberg
139bc7acea
ENHANCEMENT: completing the DMS interface
2012-07-16 15:32:28 +12:00
Julian Seidenberg
97be98315c
API-CHANGE: initial commit for dms
2012-07-16 13:06:35 +12:00