Commit Graph

134 Commits

Author SHA1 Message Date
Francesco Mangiacrapa 9439ffa8c8 uncommented submit from for D&D 2024-08-02 17:13:37 +02:00
Francesco Mangiacrapa 4a3f31a0d7 Added UploadItemProperties class 2024-08-02 16:45:16 +02:00
Francesco Mangiacrapa 106dfc3a2b in progress #27934 2024-08-01 12:46:24 +02:00
Francesco Mangiacrapa 284f2e5dca added getHeaders iterator 2024-07-30 15:41:03 +02:00
Francesco Mangiacrapa 19ae7f2f66 - [#27898] Updated `uploadFile` and `uploadArchive` methods. They
include the `fileSize` parameter
2024-07-29 16:02:57 +02:00
Francesco Mangiacrapa bea9e9e566 Implemented enhancement #23225 2022-05-02 14:56:20 +02:00
Francesco Mangiacrapa d5c979fe26 only changed a log level from INFO to DEBUG 2020-05-26 19:16:06 +02:00
Francesco Mangiacrapa d9c3c710f2 bug fixing #19232 2020-05-15 14:37:35 +02:00
Francesco Mangiacrapa 5fbe3ab289 bug #19243 added 'application/x-zip-compressed' in the allowed list of
mime types
2020-05-14 17:07:45 +02:00
Francesco Mangiacrapa d7366068c9 Removed the HL dependencies
Added a patch to convert FolderItem to SocialItemFolder

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@181955 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-10-09 15:06:07 +00:00
Francesco Mangiacrapa 4322d3c2c6 only performed a quick fix on canWrite facility
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@181706 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-09-16 15:14:30 +00:00
Francesco Mangiacrapa ef5ab6adf4 [Feature #13327] Checking upload permission before the upload starting
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@181702 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-09-16 14:22:59 +00:00
Francesco Mangiacrapa dce66bf75c [Feature #13327] Checking upload permission before the upload starting
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@181697 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-09-16 13:01:45 +00:00
Francesco Mangiacrapa c1e9f1f89e [Feature #13327] Checking upload permission before the upload starting
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@181695 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-09-16 10:19:31 +00:00
Francesco Mangiacrapa adfd7f4839 Task #17152 Workspace uploader: avoid . (dot) char added as suffix when the filename does not contain an extension
Updated pom version at 2.0.3

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@181177 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-07-09 09:06:48 +00:00
Francesco Mangiacrapa b9379a457c Catched the UserNotAuthorizedException in case of upload file and archive
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@179250 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-05-03 12:55:37 +00:00
Francesco Mangiacrapa 21e013bb90 just a simple revert
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@178630 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-03-19 16:10:16 +00:00
Francesco Mangiacrapa 9c56428d32 removed blank lines
bug fixing Incident #16285
updated pom version at 2.0.1

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@178628 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-03-19 15:12:48 +00:00
Francesco Mangiacrapa 2405186d97 bug fixing uploading on VRE Folder
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@176837 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-01-29 09:45:36 +00:00
Francesco Mangiacrapa d4d4a544db removed comment to addSubmitCompleteHandler
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@174112 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-12 16:23:04 +00:00
Francesco Mangiacrapa 7eb9a33572 commented addSubmitCompleteHandler
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@174107 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-12 14:58:31 +00:00
Francesco Mangiacrapa d05a3f1485 commented case of OK in the form.submitCompleted
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@174106 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-12 14:10:39 +00:00
Francesco Mangiacrapa 6b2a735a47 commented response for fixing the Incident #10095.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@174105 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-12 14:00:33 +00:00
Francesco Mangiacrapa 39a32724c1 Incident #10095 Trying to fix this incident
https://support.d4science.org/issues/10095

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@174051 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-08 11:44:38 +00:00
Francesco Mangiacrapa cd13b3973a added exception
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@173563 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-17 10:50:41 +00:00
Francesco Mangiacrapa 48ee0a7211 removed commented code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@171889 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-03 15:54:27 +00:00
Francesco Mangiacrapa a7f03e20a7 USING the baseName instead of itemName in oder to avoid adding extension as suffix
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@171887 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-03 15:26:47 +00:00
Francesco Mangiacrapa b4adb4d065 Removing commented code regarding Overwrite facility
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@171879 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-03 14:45:19 +00:00
Francesco Mangiacrapa 9fc9888335 fixing issue on file extension
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@171874 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-03 14:28:52 +00:00
Francesco Mangiacrapa e47d5b4165 fixing issue regarding filename https://support.d4science.org/issues/12470#change-74271
added a shuffle message on 100%

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@171523 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-09-19 16:09:52 +00:00
Francesco Mangiacrapa 168cc2dc2d completed upload archive integration
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@171516 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-09-19 13:15:28 +00:00
Francesco Mangiacrapa 471cb428a9 fix on upload archive
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@171509 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-09-18 15:42:00 +00:00
Francesco Mangiacrapa 19a6deac59 Added uploadArchive
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@171508 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-09-18 15:01:31 +00:00
Francesco Mangiacrapa 2a64c70052 added a comment
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@171468 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-09-14 13:44:56 +00:00
Francesco Mangiacrapa c89764851c In case of 100% added the message "Finalising the upload of [filename]"
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@171436 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-09-13 15:28:04 +00:00
Francesco Mangiacrapa 92a814672d Added readBytes and totalBytes to Bean
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@169896 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-07-23 13:00:20 +00:00
Francesco Mangiacrapa 0a9194ae1a added L to long primitive variable
added int instead of Integer


git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@169895 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-07-23 12:42:31 +00:00
Francesco Mangiacrapa a571b0bca9 Added a DELAY BEFOR UPLOAD RESULT NOTIFICATION IN ORDER TO WAIT REPOSITORY SYNCHRONIZATION
Fixed isOverwrite

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@169695 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-07-06 09:47:26 +00:00
Francesco Mangiacrapa 77322c453e Added delay of 2sec on NOtifyUpload completed
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@169684 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-07-05 14:59:36 +00:00
Francesco Mangiacrapa f10f57d1db fixing bug to notification
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@169639 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-07-03 12:47:02 +00:00
Francesco Mangiacrapa 77185ed0e0 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@169593 82a268e6-3cf1-43bd-a215-b396298e98cf 2018-07-02 10:14:30 +00:00
Francesco Mangiacrapa 5a49174e61 Integrated with notification
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@169591 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-07-02 10:09:28 +00:00
Francesco Mangiacrapa da2cee84f3 added TODO to fix notifications
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@169490 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-27 13:33:07 +00:00
Francesco Mangiacrapa d7c5b696d4 migrate to storagehub-wrapper first release
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@169472 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-26 16:37:52 +00:00
Francesco Mangiacrapa 7f6d0f35d8 fixed itemExistsInWorkpaceFolder
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@169460 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-26 15:17:10 +00:00
Francesco Mangiacrapa 907f69c5da Feature #11722 - Porting to StorageHub
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@169418 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-06-25 10:42:41 +00:00
Francesco Mangiacrapa 9fe9fa86db Updated message displaying also version of file after upload completed
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@146739 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-11 09:45:19 +00:00
Francesco Mangiacrapa dbf5163ca1 [Task #7820] D&D and Browse: create new version of existing items
Updated pom version at 1.8.0

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@146379 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-28 10:36:11 +00:00
Francesco Mangiacrapa ba516fd3de removed unused comments
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@144215 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-23 16:25:27 +00:00
Francesco Mangiacrapa b2c55f8972 Updated Overwrite message.. due to File Versioning
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@144065 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-22 10:38:12 +00:00