- Update container name when file moved to another CDN.
- Updated JCloud dependencies to work with gson 2.5
- Header properties settings issue for the amazon s3 obejcts.
- Field to store the container name in UFile domain.
- Upgraded the plugin to support grails 3.3.5
- RenewTemprary URL Refactored to new service and now handles all the files at once.
- Added environment specific UFile feature. This enables deletion of remote files only when the upload operation was performed in the same environment.
- Updated gradle-code-quality plugin version from 1.0.1-RC1 to 1.0.2
- Functionality to disable URL renew job for installing application.
- Ability to avoid duplicate file upload using checksum algorithm.
- Added dateCreated and lastUpdated field in UFile and UFileMoveHistory domain.
- Upgraded
gradle-code-quality
version to1.0.0
. - Updated
maven
server url inbuild.gradle
. - Updated Gradle Wrapper version from
3.0
to3.4.1
.
-
Admin accessible endpoint
moveFilesToGoogleCDN
in FileUploderController to migrate files from AWS to Google cloud. -
####CircleCI configuration
.circleci/config.yml
for build automation usingCircleCI
.mavenCredsSetup.sh
for generatinggradle.properties
during the CircleCI build.
- EmUfile class. This should be added in the installing app.
- Mongodb dependencies.
- Upgraded
google-cloud-storage
dependency version to1.4.0
. #9 - Made changes in
GoogleCDNFileUploaderImpl
andGoogleCredentials
files as per thegoogle-cloud-storage
API. - Renamed the method
setAuthCredentialsAndAuthenticate
tosetCredentialsAndAuthenticate
in classGoogleCredentials
. It now accepts acom.google.auth.Credentials
object as an argument. Before the change it was acceptingcom.google.cloud.AuthCredentials
, which no longer exists.
- Added a renew action to be triggered in case the job fails
- Added support for configurable public URL for Amazon S3
- Adding cache header to all files being uploaded (if configured)
- One time method to update cache header for all existing files in the Amazon S3 bucket
- Added codenarc for fixing code errors
- Various code cleanup
- Added support for CDN based UFile cloning
- Rackspace credentials renamed to RackspaceUsername and RackspaceKey
- Added temporary URL feature for Amazon S3 file uploader,
- Fixed deleting cloud files when not using production environment,
- Temporary directory made configurable instead hard coded value to use. (Use grails.tempDirectory),
- Added expireOn field in UFile domain.
- type field will be now of type integer.
- Using StringBuilder for file name creation for CDN files.
- Removed file extension from file name. (#8).
- Upgraded apache jcloud jar dependency from incubating to stable version.
- Added support for uploading files to Amazon S3 provider.
- Added provider field in UFile domain
- Fixed jar dependency resolution,
- Appending environment name to the container name in other then production environment,
- Retrieving ssl url of file if app server url is ssl.
- Added type field in UFile domain. Must have default value 'LOCAL'
- One can now upload files to Cloud CDN, if configured the group. See below for details.
- Added
/fileUploader/show/$id
to render any image to hide actual directory path of the file, - Added List page for admins to see list of files,
- Deleting a UFile instance will automatically delete the physical file.
- Receiving an empty or blank file will not throw an exception, instead it simply returns null value. Useful to directly write service irrespective of nullable constraints of the field.
- You can clone a file by passing the instance of existing UFile. See
cloneFile
method in service.