Commit Graph

97 Commits

Author SHA1 Message Date
Costantino Perciante aa347fe109 added dataset url into the email for the group administrators
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134320 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 13:39:00 +00:00
Costantino Perciante 9e1c853f33 added check to retrieve groups already stored by the portlet
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134318 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 13:29:58 +00:00
Costantino Perciante cf300cf7e3 a message is now sent to group administrators when a product is added to their groups
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134315 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 13:08:22 +00:00
Costantino Perciante cb02953847 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134215 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-16 09:25:35 +00:00
Costantino Perciante 1cfb02adb8 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134161 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-15 09:40:13 +00:00
Costantino Perciante a40e25a3c4 groups association is now supported by the widget
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134148 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-14 17:37:45 +00:00
Costantino Perciante 483dd77608 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134125 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-14 16:07:03 +00:00
Costantino Perciante d23ad12b9e dev user fixed
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134112 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-13 21:39:23 +00:00
Costantino Perciante f71602cbdd resource manager finished
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134111 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-13 21:38:27 +00:00
Costantino Perciante ac8fed34bc message on publication changed
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134108 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-11 21:57:53 +00:00
Costantino Perciante 1cf1c8a366 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134106 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-11 18:31:05 +00:00
Costantino Perciante 78c831b980 The widget with the new file picker is almost finished. Tests will follow
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134000 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-09 18:13:39 +00:00
Costantino Perciante 66ddef8d06 minor fix to get highestRole function
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@133973 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-08 22:12:37 +00:00
Costantino Perciante 41915d6745 Resource picker widget is almost finished
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@133955 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-08 14:17:41 +00:00
Costantino Perciante f00a350156 url encoded at server side
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@133832 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-02 22:10:44 +00:00
Costantino Perciante 1fef1620da minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@133797 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-02 10:47:20 +00:00
Costantino Perciante c84d5c8d2f fixed product catalogue appid
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@133786 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-02 09:46:10 +00:00
Costantino Perciante 6c2cae5e1a notifications activated for product catalogue user
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@133784 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-02 09:20:56 +00:00
Costantino Perciante ee31bfa48a comment fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@133747 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-29 07:23:11 +00:00
Costantino Perciante efaa3669fe Added code to create a post when a new product is added to the catalogue. Searchable field is set to true when the created dataset is private
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@133744 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-28 16:47:40 +00:00
Costantino Perciante f2c69764d0 When assigning a role to a user in a group, if he is Admin of the org he will be also an admin of the group, otherwise he will be a member
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@133217 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-14 16:24:36 +00:00
Costantino Perciante 75046a3920 handled more errors while retreving folder's files
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@132923 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-07 10:49:37 +00:00
Costantino Perciante cb6df188bf reorganized workspace and user utils
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@132915 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-07 10:21:04 +00:00
Costantino Perciante a9d2a076a5 removed cleaner thread for .catalogue folder after failed publication. The folder and its content are now renamed and the timestamp is append to these names to avoid conflicts
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@132887 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-07 08:44:31 +00:00
Costantino Perciante c3267a79ec added code to remove the folder in the .catalogue area if an error arises and the product is not published
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@132883 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-06 19:22:39 +00:00
Costantino Perciante a7c24dc919 added hashmap which stores couple <organization name, scope>
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@132811 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-06 12:24:05 +00:00
Costantino Perciante 78a3b1c82c minor fix to associationtogroup thread
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@132313 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-03 08:34:21 +00:00
Costantino Perciante 08c494f2d6 minor fix: wrong toUpperCase invocation
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@132005 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-28 16:15:35 +00:00
Costantino Perciante 6017ee35af minor fix: the role the user will have into a group is the one he/she has into the organization in which the product is going to be published
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@132003 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-28 16:14:39 +00:00
Costantino Perciante c8df6dea6a Group creation and management are now supported. Moved resources classes onto another package.
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131994 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-28 14:41:55 +00:00
Costantino Perciante baddb2e8cb minor fixes due to change into ckan library
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131819 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-26 16:49:16 +00:00
Costantino Perciante 175d431b33 added check for title and dataset id
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131778 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-26 10:15:05 +00:00
Costantino Perciante 52d3efce0c minor fix when checking roles. Support for copying files in catalogue area almost finished
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131766 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-23 16:50:16 +00:00
Costantino Perciante 742710c041 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131465 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-16 16:57:12 +00:00
Costantino Perciante 2f791c50a6 errors are now highlighted to help the user to understand which is the mistake he is making
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131460 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-16 15:40:32 +00:00
Costantino Perciante 780eac0d9b Fixed metadata parsing
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131428 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-15 16:44:52 +00:00
Costantino Perciante 7231aa455b minor fix due to http session attributes moved into the ckan library
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131394 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-15 14:29:27 +00:00
Costantino Perciante 5ed0eeb3b0 fix due to update ckan library
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131388 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-15 13:47:39 +00:00
Costantino Perciante 9ba562818a Minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131381 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-15 12:56:35 +00:00
Costantino Perciante a1840cb2f7 removed embedded mapping for production root
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131364 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-14 16:01:55 +00:00
Costantino Perciante c393e798b2 Added support for new metadata (https://wiki.gcube-system.org/gcube/GCube_Data_Catalogue#Metadata_Profile_v.2_.28coming_soon.29)
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131355 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-14 14:29:52 +00:00
Costantino Perciante 515983936b minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131304 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-12 16:00:00 +00:00
Costantino Perciante 73c34f634c Resources selected from workspace are now copied just before dataset creation. Added support for new metadata reader library and types. When the act of publishing starts from ws, the resource table is always shown.
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131303 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-12 15:58:50 +00:00
Costantino Perciante 43bd1566c8 Several fixes due to changed ckan utils library
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131119 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-05 16:19:18 +00:00
Costantino Perciante 74cb08dcd5 moved to factory ckan utils
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@130933 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-02 07:46:58 +00:00
Costantino Perciante 802fc83dfa resolved to get profiles on organization name change
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@130700 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-22 10:51:19 +00:00
Costantino Perciante 7e21e3407b fix for the root organization
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@130668 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-21 20:29:13 +00:00
Costantino Perciante 3b3bc51224 fix for empty list of profiles
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@130662 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-21 17:31:05 +00:00
Costantino Perciante eabefd3db0 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@130616 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-21 09:26:18 +00:00
Costantino Perciante c4c95620a3 minor improvement
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@130611 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-20 21:41:45 +00:00