Commit Graph

121 Commits

Author SHA1 Message Date
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
Francesco Mangiacrapa b445d6e202 Added codes for running from Eclipse
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@142812 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-20 17:08:39 +00:00
Francesco Mangiacrapa b32c187dc6 Improved message in case of InsufficenPrivileges
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@142310 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-07 10:29:25 +00:00
Francesco Mangiacrapa d23603d024 Propagated error case to improve error messages client-side
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@142309 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-07 10:14:30 +00:00
Francesco Mangiacrapa 4d8a5e031f removed unused code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@141669 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-20 13:59:53 +00:00
Francesco Mangiacrapa e37f8b2dd6 Removed currUserId parameter from client-side required by external servlets
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@141665 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-20 13:26:38 +00:00
Francesco Mangiacrapa 285221c644 Fixed bug on current user
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@141374 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-22 14:03:33 +00:00
Francesco Mangiacrapa 308fb4cc73 Fixed hidden parameter for currUserId in client side
See #6275 

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@141357 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-22 09:26:36 +00:00
Francesco Mangiacrapa 7a658e4f68 Fixed bug on currUserId. Not it is passed as parameter
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@141318 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-21 13:20:48 +00:00
Francesco Mangiacrapa a3e19f3afa Fixed #6096
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@135164 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-01 13:15:12 +00:00
Massimiliano Assante c1a735694f removed injext context for request builder
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@135020 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-29 07:51:34 +00:00
Massimiliano Assante bc5c50db33 updated to be backward compatible
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@134741 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-25 00:34:18 +00:00
Massimiliano Assante 139e1094aa test passed
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@134694 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-24 16:06:28 +00:00
Massimiliano Assante 6d9f995a01 added default consturctor for backward comaptibility
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-uploader@134682 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-24 14:12:01 +00:00