diff --git a/dist/app/re3gistry2/WEB-INF/classes/META-INF/persistence.xml b/dist/app/re3gistry2/WEB-INF/classes/META-INF/persistence.xml
index 849baaab..5135ee6e 100644
--- a/dist/app/re3gistry2/WEB-INF/classes/META-INF/persistence.xml
+++ b/dist/app/re3gistry2/WEB-INF/classes/META-INF/persistence.xml
@@ -34,7 +34,7 @@
false
-
+
diff --git a/dist/app/re3gistry2/WEB-INF/classes/META-INF/persistence.xml.orig b/dist/app/re3gistry2/WEB-INF/classes/META-INF/persistence.xml.orig
index 383bf590..44097756 100644
--- a/dist/app/re3gistry2/WEB-INF/classes/META-INF/persistence.xml.orig
+++ b/dist/app/re3gistry2/WEB-INF/classes/META-INF/persistence.xml.orig
@@ -39,10 +39,6 @@
-
-
-
-
diff --git a/dist/app/re3gistry2/WEB-INF/classes/configurations_files/configuration.properties b/dist/app/re3gistry2/WEB-INF/classes/configurations_files/configuration.properties
index 49363547..5022a5d5 100644
--- a/dist/app/re3gistry2/WEB-INF/classes/configurations_files/configuration.properties
+++ b/dist/app/re3gistry2/WEB-INF/classes/configurations_files/configuration.properties
@@ -33,7 +33,7 @@
application.persistenceunitname=Re3gistry2
# Application version
-application.version=Version: 2.0.0
+application.version=Version: 2.4.0-rc.1
# Localization
application.language.available=en
@@ -45,6 +45,9 @@ application.language.defaultLocale=en
# ECAS base URL (authetication method)
application.ecas.baseurl = https://webgate.ec.europa.eu
+# Cache
+application.cache.disk.path=/path/to/cache
+
# Login type - ECAS | SHIRO
application.login.type=SHIRO
@@ -75,14 +78,14 @@ application.dateformat=yyyy-MM-dd
application.releasenote.rss.path=/path/to/rss
# Optional heading message
-application.headingmessage.class=
-application.headingmessage.text=
+application.headingmessage.class=alert-warning
+application.headingmessage.text=This is the production environment of the Re3gistry 2 software
Link to the Re3gistry - localhost Instance - frontend view
# Application root taken from pom
-application.rooturl=https://localhost/re3gistry2
+application.rooturl=https://registry-test.eu/re3gistry2
# Solr configurations
-application.solr.isactive=true
+application.solr.isactive=false
application.solr.url=http://localhost:8983/solr/
application.solr.core=re3gistry2
application.solr.connectiontimeout=10000
@@ -102,7 +105,7 @@ application.solr.fieldtoindex.localid=label,description,definition
# * propose to add RegItem Register and RegItem Registry
#
# - |ManageFieldMapping| with this permission a RegUser can:
-# * add field mpping (between field and item)
+# * add field mapping (between field and item)
# * eidt firld mapping (e.g. change properties such mandatory, multivalued, ecc.)
#
# - |ManageField| with this permission a RegUser can:
@@ -166,7 +169,7 @@ mail.text.body.bulkimport.success=Dear {name},
The bulk import has be
mail.text.body.bulkimport.error=Dear {name},
The bulk import has been completed with some error(s) when importing the file.
{errors} Than retry to load the file.
### Webapp properties ####
-web.application_root_url=https://localhost/re3gistry2
+web.application_root_url=https://registry-test.eu/re3gistry2
web.cdn_url=https://inspire.ec.europa.eu/cdn/1.0/
web.default_locale=en
web.default_title=Re3gistry 2 - Reference codes management system
diff --git a/dist/app/re3gistry2/WEB-INF/classes/configurations_files/configuration.properties.orig b/dist/app/re3gistry2/WEB-INF/classes/configurations_files/configuration.properties.orig
index 1dbd8b16..578e423e 100644
--- a/dist/app/re3gistry2/WEB-INF/classes/configurations_files/configuration.properties.orig
+++ b/dist/app/re3gistry2/WEB-INF/classes/configurations_files/configuration.properties.orig
@@ -45,6 +45,9 @@ application.language.defaultLocale=en
# ECAS base URL (authetication method)
application.ecas.baseurl = https://webgate.ec.europa.eu
+# Cache
+application.cache.disk.path=/path/to/cache
+
# Login type - ECAS | SHIRO
application.login.type=SHIRO
@@ -103,7 +106,7 @@ application.solr.fieldtoindex.localid=label,description,definition
# * propose to add RegItem Register and RegItem Registry
#
# - |ManageFieldMapping| with this permission a RegUser can:
-# * add field mpping (between field and item)
+# * add field mapping (between field and item)
# * eidt firld mapping (e.g. change properties such mandatory, multivalued, ecc.)
#
# - |ManageField| with this permission a RegUser can:
@@ -149,8 +152,8 @@ mail.smtp.host=smtphost
mail.smtp.port=25
mail.smtp.auth=false
mail.smtp.starttls.enable=true
-mail.user=
-mail.password=
+mail.user=name
+mail.password=password
mail.sender=jrc-inspire-support@ec.europa.eu
mail.template=
%subject%%subject% |
%mailbody%
This email has been automatically generated, please do not reply to it. For more details please access the management interface. |
Best regards, INSPIRE Re3gistry Team |
diff --git a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/AddRegister.class b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/AddRegister.class
index f7afaee1..677d19d8 100644
Binary files a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/AddRegister.class and b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/AddRegister.class differ
diff --git a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/ControlBody.class b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/ControlBody.class
index 20c609c5..35e33b7b 100644
Binary files a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/ControlBody.class and b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/ControlBody.class differ
diff --git a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/Install.class b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/Install.class
index 17f11599..17b68644 100644
Binary files a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/Install.class and b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/Install.class differ
diff --git a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/RegisterManager.class b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/RegisterManager.class
index 6bb6ae2c..cde77ae3 100644
Binary files a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/RegisterManager.class and b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/RegisterManager.class differ
diff --git a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/RegistryManager.class b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/RegistryManager.class
index 244dc901..f5aac9d5 100644
Binary files a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/RegistryManager.class and b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/RegistryManager.class differ
diff --git a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/RegistryManagerDataExport.class b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/RegistryManagerDataExport.class
index e1fb7a18..2706460e 100644
Binary files a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/RegistryManagerDataExport.class and b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/RegistryManagerDataExport.class differ
diff --git a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/CharacterEncodingFilter.class b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/utility/CharacterEncodingFilter.class
similarity index 58%
rename from dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/CharacterEncodingFilter.class
rename to dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/utility/CharacterEncodingFilter.class
index 1767687d..9f13ac85 100644
Binary files a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/CharacterEncodingFilter.class and b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/utility/CharacterEncodingFilter.class differ
diff --git a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/LoadSalt.class b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/utility/LoadSalt.class
similarity index 57%
rename from dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/LoadSalt.class
rename to dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/utility/LoadSalt.class
index 1c673140..40217799 100644
Binary files a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/LoadSalt.class and b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/utility/LoadSalt.class differ
diff --git a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/utility/SendEmailFromAction.class b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/utility/SendEmailFromAction.class
new file mode 100644
index 00000000..1d3aab30
Binary files /dev/null and b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/utility/SendEmailFromAction.class differ
diff --git a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/UpdateRSS.class b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/utility/UpdateRSS.class
similarity index 60%
rename from dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/UpdateRSS.class
rename to dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/utility/UpdateRSS.class
index f4a1706f..4ce3a02f 100644
Binary files a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/UpdateRSS.class and b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/utility/UpdateRSS.class differ
diff --git a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/ValidateSalt.class b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/utility/ValidateSalt.class
similarity index 58%
rename from dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/ValidateSalt.class
rename to dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/utility/ValidateSalt.class
index ff31aaba..3ef5df60 100644
Binary files a/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/controller/ValidateSalt.class and b/dist/app/re3gistry2/WEB-INF/classes/eu/europa/ec/re3gistry2/web/utility/ValidateSalt.class differ
diff --git a/dist/app/re3gistry2/WEB-INF/classes/localizations/LocalizationBundle_en.properties b/dist/app/re3gistry2/WEB-INF/classes/localizations/LocalizationBundle_en.properties
index d9f0f598..2df722c3 100644
--- a/dist/app/re3gistry2/WEB-INF/classes/localizations/LocalizationBundle_en.properties
+++ b/dist/app/re3gistry2/WEB-INF/classes/localizations/LocalizationBundle_en.properties
@@ -533,6 +533,13 @@ installation.clean.registry.label.description=The label of the registry will be
installation.clean.registry.content.summary=Content summary
installation.clean.registry.content.summary.description=This text should describe shortly what would be available under your Re3gistry instance. It will be shown in the registry\u2019s landing page.
+installation.workflow.title=Type of workflow
+installation.workflow.description=Select the governance model you would like the registry to apply.
+installation.workflow.iso19135.title=Following ISO 19135
+installation.workflow.iso19135.description=Recommended if you plan to receive contributions from different organisations and manage them following a formal and standardised governance process.
+installation.workflow.simplified.title=Simplified workflow
+installation.workflow.simplified.description=Recommended if the data management will be handled entirely internally in the same organisation, or within a small group of contributors, not requiring such formal process.
+
installation.finalstep.title=Installation progress
installation.finalstep.description.1=The Re3gistry is in process of installation.
installation.finalstep.description.2=You can close this tab if you wish.
@@ -594,7 +601,8 @@ mail.text.subject.cache.success=Re3gistry - complete CACHE success
mail.text.body.cache.success=The Re3gistry software has has complete the CACHE all items with success. You can start managing your registry content by signing in.
mail.text.subject.cache.error=Re3gistry - complete CACHE error
mail.text.body.cache.error=An error has occurred during the Re3gistry CACHE all items, please review your settings.
-
+mail.text.subject.item.publised={label} had been published
+mail.text.body.item.publised= {label} had been published successfully. The changelog associated with this action is: {changelog}
mail.text.subject.bulkimport.success=Re3gistry - bulk import {itemclass} success
mail.text.subject.bulkimport.error=Re3gistry - bulk import {itemclass} error
diff --git a/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2Base-1.0.jar b/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2Base-1.0.jar
index 3d812cf5..cd9c418e 100644
Binary files a/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2Base-1.0.jar and b/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2Base-1.0.jar differ
diff --git a/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2CRUDInterface-1.0.jar b/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2CRUDInterface-1.0.jar
index 869593f4..2a7b0e31 100644
Binary files a/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2CRUDInterface-1.0.jar and b/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2CRUDInterface-1.0.jar differ
diff --git a/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2CRUDrdb-1.0.jar b/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2CRUDrdb-1.0.jar
index 444229a6..2f6300a0 100644
Binary files a/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2CRUDrdb-1.0.jar and b/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2CRUDrdb-1.0.jar differ
diff --git a/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2JavaAPI-1.0.jar b/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2JavaAPI-1.0.jar
index 4c7e56b0..948e50f9 100644
Binary files a/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2JavaAPI-1.0.jar and b/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2JavaAPI-1.0.jar differ
diff --git a/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2Migration-1.0.jar b/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2Migration-1.0.jar
index 8f807d23..2927ed89 100644
Binary files a/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2Migration-1.0.jar and b/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2Migration-1.0.jar differ
diff --git a/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2Model-1.0.jar b/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2Model-1.0.jar
index 8bae4bbf..94583a9f 100644
Binary files a/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2Model-1.0.jar and b/dist/app/re3gistry2/WEB-INF/lib/Re3gistry2Model-1.0.jar differ
diff --git a/dist/app/re3gistry2/WEB-INF/lib/postgresql-42.2.18.jar b/dist/app/re3gistry2/WEB-INF/lib/postgresql-42.2.18.jar
new file mode 100644
index 00000000..7a851472
Binary files /dev/null and b/dist/app/re3gistry2/WEB-INF/lib/postgresql-42.2.18.jar differ
diff --git a/dist/app/re3gistry2/WEB-INF/lib/postgresql-9.4.1212.jar b/dist/app/re3gistry2/WEB-INF/lib/postgresql-9.4.1212.jar
deleted file mode 100644
index b0de752d..00000000
Binary files a/dist/app/re3gistry2/WEB-INF/lib/postgresql-9.4.1212.jar and /dev/null differ
diff --git a/dist/app/re3gistry2/WEB-INF/shiro.ini b/dist/app/re3gistry2/WEB-INF/shiro.ini
index 10bb8768..8fc8f655 100644
--- a/dist/app/re3gistry2/WEB-INF/shiro.ini
+++ b/dist/app/re3gistry2/WEB-INF/shiro.ini
@@ -54,7 +54,7 @@ jdbcRealm.authenticationQuery = SELECT shiropassword, shirosalt FROM RegUser WHE
# Connection
ds = org.postgresql.jdbc2.optional.SimpleDataSource
ds.serverName = DB_ADDRESS
-ds.databaseName = re3gistry2_dev
+ds.databaseName = re3gistry2_srv
ds.user = DB_USERNAME
ds.password = DB_PASSWORD
jdbcRealm.dataSource=$ds
diff --git a/dist/app/re3gistry2/WEB-INF/web.xml b/dist/app/re3gistry2/WEB-INF/web.xml
index 60846299..96d904a0 100644
--- a/dist/app/re3gistry2/WEB-INF/web.xml
+++ b/dist/app/re3gistry2/WEB-INF/web.xml
@@ -35,18 +35,17 @@
-
+
loadSalt
- eu.europa.ec.re3gistry2.web.controller.LoadSalt
+ eu.europa.ec.re3gistry2.web.utility.LoadSalt
loadSalt
*
-
validateSalt
- eu.europa.ec.re3gistry2.web.controller.ValidateSalt
+ eu.europa.ec.re3gistry2.web.utility.ValidateSalt
validateSalt
diff --git a/dist/app/re3gistry2/jsp/addRegister.jsp b/dist/app/re3gistry2/jsp/addRegister.jsp
index 9588eb57..5125dffc 100644
--- a/dist/app/re3gistry2/jsp/addRegister.jsp
+++ b/dist/app/re3gistry2/jsp/addRegister.jsp
@@ -62,7 +62,7 @@
<% // Setting system localization
ResourceBundle localization = (ResourceBundle) request.getAttribute(BaseConstants.KEY_REQUEST_LOCALIZATION);
-
+ boolean checWorkflowSimplifiedAdd = configuration.checkWorkflowSimplified();
// Initializing managers
RegFieldManager regFieldManager = new RegFieldManager(entityManager);
RegLocalizationManager regLocalizationManager = new RegLocalizationManager(entityManager);
@@ -191,7 +191,7 @@
-
+ <% if (checWorkflowSimplifiedAdd==false) { %>
<%-- Showing the register ownerr field and selector --%>
<%
@@ -292,6 +292,7 @@
+ <% } %>
<%-- If the user has the rights to insert a new RegItemclass, showing
diff --git a/dist/app/re3gistry2/jsp/field.jsp b/dist/app/re3gistry2/jsp/field.jsp
index 7b6748f1..6f08dc68 100644
--- a/dist/app/re3gistry2/jsp/field.jsp
+++ b/dist/app/re3gistry2/jsp/field.jsp
@@ -108,9 +108,9 @@
<%
}
%>
- <%
+ <%
String buttonCacheDisabled = (CacheHelper.checkCacheCompleteRunning()) ? " disabled" : "";
- %>
+ %>
${regItemclass.localid}
@@ -128,62 +128,60 @@
<%if (childItemClassSize != 0) {%>
-
+
-
-
- ${localization.getString("label.cache.class")}
-
+
-
+
<%} else {%>
-
+
-
+
-
-
- ${localization.getString("label.cache.class")}
-
+
-
+
<%}%>
-
-
-
+
-
-
${localization.getString("label.remove")}
+
-
-
- ${localization.getString("label.cache.class")}
-
+
@@ -368,18 +366,18 @@
columnDefs: [{orderable: true, className: 'reorder', targets: 0, type: 'num-fmt' }],
<% } %>
"columns": [null, { "width": "16%" }, null, null, null, null, null, null, null],
- 'drawCallback': function () {
+ 'drawCallback': function () {
<%-- Init the update on checkbox (if the user has the right) --%>
<% if (permissionManageFieldMapping) {%>
- $(".cbUpdate").on('change', function(){
- var itemclassUuid = $(this).parent().parent().data("<%=WebConstants.DATA_PARAMETER_ITEMCLASSUUID%>");
- var fieldUuid = $(this).parent().parent().data("<%=WebConstants.DATA_PARAMETER_FIELDUUID%>");
- var checkboxType = $(this).data("type");
- var checked = $(this).is(":checked");
- $.get(".<%=WebConstants.PAGE_URINAME_FIELD%>?<%=BaseConstants.KEY_REQUEST_FIELDUUID%>=" + fieldUuid + "&<%=BaseConstants.KEY_REQUEST_ITEMCLASSUUID%>=" + itemclassUuid + "&<%=BaseConstants.KEY_REQUEST_CHECKBOXTYPE%>=" + checkboxType + "&<%=BaseConstants.KEY_REQUEST_CHECKED%>=" + checked, function(data) {});
- });
+ $(".cbUpdate").on('change', function(){
+ var itemclassUuid = $(this).parent().parent().data("<%=WebConstants.DATA_PARAMETER_ITEMCLASSUUID%>");
+ var fieldUuid = $(this).parent().parent().data("<%=WebConstants.DATA_PARAMETER_FIELDUUID%>");
+ var checkboxType = $(this).data("type");
+ var checked = $(this).is(":checked");
+ $.get(".<%=WebConstants.PAGE_URINAME_FIELD%>?<%=BaseConstants.KEY_REQUEST_FIELDUUID%>=" + fieldUuid + "&<%=BaseConstants.KEY_REQUEST_ITEMCLASSUUID%>=" + itemclassUuid + "&<%=BaseConstants.KEY_REQUEST_CHECKBOXTYPE%>=" + checkboxType + "&<%=BaseConstants.KEY_REQUEST_CHECKED%>=" + checked, function(data) {});
+ });
<% } %>
- }
+ }
});
<%-- If the user has the rights, activating the update of the
list order on drag & drop --%>
@@ -458,12 +456,12 @@
<%@include file="includes/footer.inc.jsp" %>
@@ -479,31 +477,31 @@
<% }%>