roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Johnson (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (ROL-1899) Media Files system does not work well for Java applets
Date Wed, 29 Dec 2010 22:01:46 GMT

     [ https://issues.apache.org/jira/browse/ROL-1899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Johnson resolved ROL-1899.
--------------------------------

    Resolution: Fixed

Author: snoopdave
Date: Wed Dec 29 21:59:02 2010
New Revision: 1053756

URL: http://svn.apache.org/viewvc?rev=1053756&view=rev
Log:
Fix for https://issues.apache.org/jira/browse/ROL-1899
"Media Files system does not work well for Java applets"

Roller's media file system was designed for images, videos and not for arbitrary uploads.
File URLs are opaque, do not include directory path information or file extensions. There
is a directory hierarchy that you can use to organize your files, but moving files around
will not break links. That is all "by design".

If you really need to have file paths and extensions, you can enable a setting that allows
you to edit the "originalPath" of a file. It's called original path because it is intended
to support old Roller 4 style file URLs for a blog's old migrated uploads. It was not intended
for general purpose use and therefore it is not editable by default.

This fix adds a configuration option that allows you to enable editing of the "original path"
setting of a media file. This allows you to set an alternative full path, e.g. 'photos/picture1.jpg'
for media files. All file URLs will use the old file upload base path of /resources/

Modified:
   roller/trunk/weblogger-business/src/main/java/org/apache/roller/weblogger/business/jpa/JPAMediaFileManagerImpl.java
   roller/trunk/weblogger-business/src/main/resources/org/apache/roller/weblogger/config/roller.properties
   roller/trunk/weblogger-business/src/main/resources/org/apache/roller/weblogger/pojos/MediaFile.orm.xml
   roller/trunk/weblogger-web/src/main/java/org/apache/roller/weblogger/ui/struts2/editor/MediaFileBean.java
   roller/trunk/weblogger-webapp/src/main/webapp/WEB-INF/jsps/core/Profile.jsp
   roller/trunk/weblogger-webapp/src/main/webapp/WEB-INF/jsps/editor/MediaFileEdit.jsp

> Media Files system does not work well for Java applets
> ------------------------------------------------------
>
>                 Key: ROL-1899
>                 URL: https://issues.apache.org/jira/browse/ROL-1899
>             Project: Roller
>          Issue Type: Improvement
>          Components: Media files / uploads
>    Affects Versions: 5.0
>            Reporter: Dave Johnson
>            Assignee: Dave Johnson
>            Priority: Minor
>             Fix For: 5.0
>
>
> Consider enabling aliases for all files, not just those migrated from earlier versions
of Roller.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message