Status
| Feature
| Comments
|
| Basis of Work
|
|
| Matt Painter's work has been added to Fez trunk classes.
| Rev 1897
|
| Extensions & Modifications
|
|
| Configuration
|
|
|
define("APP_VERSION_UPLOADS_AND_LINKS","false");
| Rev 1897
|
|
define('APP_VIEW_VERSIONS_ROLES', "");
// define('APP_REVERT_VERSIONS_ROLES', "");
define('APP_VIEW_VERSIONS_ROLE_IDS', "");
// define('APP_REVERT_VERSIONS_ROLE_IDS', "");
| Rev 1897 Added. Revert roles and ids commented out awaiting revert implementation.
|
|
canViewVersions() { ... }
// canRevertVersions() { ... }
| Rev 1897 Added in class.record.php. Revert function commented out awaiting revert implementation.
|
| Version Uploads/Links
|
|
| New Method: Misc::processLinkVersioning()
| Rev 1897
|
| Modify Method: Record::insertXML()
| Rev 1897
- call Misc::UpdateMetadataDatastreamsVersionable()
- change purge code
- pass versionable
|
| Modify Method: Fedora_API::callModifyDatastreamByReference()
| Rev 1897
- new versionable param (default=false)
- changes made to fedora_api_2_1_1 and fedora_api_2_2
- modify callers of this method (multiple files)
|
| Modify Method: Fedora_API::callModifyDatastreamByValue()
| Rev 1897
- new versionable param (default=false)
- changes made to fedora_api_2_1_1 and fedora_api_2_2
- modify callers of this method (multiple files)
|
| Modify Method: Fedora_API::getUploadLocationByLocalRef()
| Rev 1897
- new versionable param (default=false)
- change purge code
- changes made to fedora_api_2_1_1 and fedora_api_2_2
- modify callers of this method (multiple files)
|
| Modify Method: Fedora_API::getUploadLocation()
| Rev 1897
- new versionable param (default=false)
- change purge code
- changes made to fedora_api_2_1_1 and fedora_api_2_2
- modify callers of this method (multiple files)
|
| Modify Method: Fedora_API::callAddDatastream()
| Rev 1897
- new versionable param (default=false)
|
| Modify Method: Fedora_API::callCreateDatastream()
| Rev 1897
- new versionable param (default=false)
|
| Modify Method: Record::copyToNewPID()
|
- copy VERSIONABLE from source datastreams to new record's datastreams
|
| Reason for Change log message for Publish
|
|
| Modify popup.php to prompt for reason for change and send it to addHistory() as $historyDetailExtra.
|
|
| Add reason for change to fez_premis_event.pre_detail.
| Done in class.history.php::addHistory(). Use $historyDetailExtra parameter to append a reason to pre_detail. Reason will be prefixed with "-- Reason: "
|
| The drop menu will include the Reason for Change log message for each version if available.
|
|
| Show reason in info box.
| Remaining work:
- Add reason after date on Viewing Versions: info line.
|
| View Record
|
|
| When viewing any version but the current version, change the background color of the info box area.
| Rev 1897 Added styles viewInfoBox and viewInfoBoxNoEdit to use with div preceding containing the info box. Uses APP_SELECTED_COLOR when viewing older versions.
|
| Don't allow editing when viewing older versions.
| Remaining work:
- (done) Not showing Workflows: line in info box when viewing older versions.
- Probably should show the Workflows: line in the info box even if there are no workflows.
- Probably should move "Cannot Modify" from Viewing Version: to Workflows: or maybe top line of info box
- Need to show a revert workflow in Workflows: if the user can revert to older versions (see Revert to a Version section below).
|
| Show version date when viewing older versions in info box area.
| Remaining work:
- (done) Showing date in last line of info box. Viewing Versions:
- Probably should move "Cannot Modify" from Viewing Version: to Workflows: or maybe top line of info box
- Date in drop list displays in BST, but date in info box displays in EDT. Both use same code to format the date, so not sure why this is happening.
- NOTE: See Reason for Change section for other changes to Viewing Versions: line
|
| List of Versions
|
|
| Base implementation using APP_PHANTOM_VERSION_TIME_INTERVAL.
| Rev 1897
|
| Only show the list of versions if the user has permissions.
| Rev 1897
|
| Create list based on Published date
| Will need to update pub date to include milliseconds because Fedora retrieves datastreams using milliseconds.
|
| Extend filter list to include Published (make this the default)
|
|
| Revert to a Version
|
|
| Write workflow to perform the revert.
|
|
| Show revert workflow in Workflows: if the user has permissions to revert.
|
|
| Uncomment configuration properties.
|
|
| Uncomment class.record.php::canRevertVersions().
|
|