diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c8845b293..ea91e096e1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ on: [ push, pull_request, workflow_dispatch ] jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 diff --git a/.wvr/build-config.js b/.wvr/build-config.js index 2c3b7708d5..5d680227af 100644 --- a/.wvr/build-config.js +++ b/.wvr/build-config.js @@ -41,7 +41,8 @@ const config = { return content .toString() .replace('${AUTH_SERVICE_URL}', 'window.location.protocol + \'//\' + window.location.host + window.location.base + \'/mock/auth\'') - .replace('${STOMP_DEBUG}', 'false'); + .replace('${STOMP_DEBUG}', 'false') + .replace('${LOCAL_AUTHENTICATION}', 'true'); }, }, ], diff --git a/README.md b/README.md index a381bebeac..c7551f6ef9 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ $ mvn clean spring-boot:run -Dproduction $ mvn clean package -DskipTests -Dproduction -Dassets.uri=file:/opt/vireo/ -Dconfig.uri=file:/opt/vireo/config/ ``` -If build succeeds, you should have both a `vireo-4.2.11.war` and a `vireo-4.2.11-install.zip` in the `target/` directory. When building for production required static assets are copied into the packaged war file and the index.html template is optimized for production. For development a symlink is used to allow the application to access required static assets. +If build succeeds, you should have both a `vireo-4.3.0.war` and a `vireo-4.3.0-install.zip` in the `target/` directory. When building for production required static assets are copied into the packaged war file and the index.html template is optimized for production. For development a symlink is used to allow the application to access required static assets. #### Apache Reverse Proxy Config @@ -117,7 +117,7 @@ Unzip package into preferred directory (or any directory you choose): ```bash $ cd /opt/vireo -$ unzip vireo-4.2.11-install.zip +$ unzip vireo-4.3.0-install.zip ``` ### Directory Structure of installed package @@ -190,13 +190,13 @@ ln -s /opt/vireo/webapp /opt/tomcat/webapps/ROOT Copy war file into Tomcat webapps directory (your location may vary -- this is an example): ```bash -$ cp ~/vireo-4.2.11.war /usr/local/tomcat/webapps/vireo.war +$ cp ~/vireo-4.3.0.war /usr/local/tomcat/webapps/vireo.war ``` or as root: ```bash -$ cp ~/vireo-4.2.11.war /usr/local/tomcat/webapps/ROOT.war +$ cp ~/vireo-4.3.0.war /usr/local/tomcat/webapps/ROOT.war ``` **if not specifying assets.uri during build the assets will be stored under the vireo webapp's classpath, /opt/tomcat/webapps/vireo/WEB-INF/classes** @@ -209,7 +209,7 @@ $ cp ~/vireo-4.2.11.war /usr/local/tomcat/webapps/ROOT.war ## Running WAR as a stand-alone Spring Boot application ```bash -java -jar target/vireo-4.2.11.war +java -jar target/vireo-4.3.0.war ```
diff --git a/build/appConfig.js.template b/build/appConfig.js.template index 1e990074fb..e3786fe5cb 100644 --- a/build/appConfig.js.template +++ b/build/appConfig.js.template @@ -1,6 +1,6 @@ var appConfig = { - 'version': '4.2.11', + 'version': '4.3.0', 'allowAnonymous': true, 'anonymousRole': 'ROLE_ANONYMOUS', @@ -40,7 +40,7 @@ var appConfig = { When set to the boolean false, a modal is not used and Shibboleth login is automatically attempted and no registration link is shown. When set to the string 'alternate' to hide the local login (and registration) as if localAuthentication is false and provide an alterate (hidden) login page for local authentication. */ - 'localAuthentication': true, + 'localAuthentication': ${LOCAL_AUTHENTICATION}, /* Designate predicates that require date/times value filtering on save. diff --git a/example.env b/example.env index 9614af7d35..2b71d531ab 100644 --- a/example.env +++ b/example.env @@ -4,7 +4,7 @@ ############################## IMAGE_HOST=127.0.0.1 -IMAGE_VERSION=4.2.11 +IMAGE_VERSION=4.3.0 SERVICE_PROJECT=tdl SERVICE_PATH=vireo @@ -12,6 +12,8 @@ NODE_ENV=production STOMP_DEBUG=false +LOCAL_AUTHENTICATION=true + AUTH_STRATEGY=weaverAuth AUTH_SERVICE_URL="window.location.protocol + '//' + window.location.host + window.location.base + '/mock/auth'" diff --git a/package.json b/package.json index 9ebdacf493..414d152b2f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vireo", "private": false, - "version": "4.2.11", + "version": "4.3.0", "description": "Vireo 4", "homepage": "https://github.com/TexasDigitalLibrary/Vireo", "repository": { @@ -22,7 +22,7 @@ "build": "wvr build --clean" }, "dependencies": { - "@wvr/core": "2.3.0-rc3", + "@wvr/core": "2.3.0-rc5", "angular-ui-tinymce": "0.0.19", "file-saver": "2.0.5", "ng-csv": "0.3.6", diff --git a/pom.xml b/pom.xml index 5b17269277..4670972292 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@- Left Logo + Header Logo
-- Right Logo - - -
-| @@ -46,7 +49,7 @@ |
| {{row.organization.name}} | {{row.submissionStatus.name}} | {{getDocumentTitle(row) || "No Title"}} | {{getManuscriptFileName(row, "No Primary Document")}} | -{{row.submissionDate || "Not Submitted" | date: M/d/yyyy}} | +{{row.submissionDate || "Not Submitted" | date: M/d/yyyy : 'UTC'}} | {{row.assignee.settings.displayName || "Not Assigned"}} |
Submission History |