Skip to content

Commit 2a0c535

Browse files
committed
Merge branch 'release/2023.2'
2 parents 86afd2d + fa97d12 commit 2a0c535

File tree

1,106 files changed

+42441
-76222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,106 files changed

+42441
-76222
lines changed

.github/stale.yml

-23
This file was deleted.

.github/workflows/ci.yaml

+14-14
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
build_and_check:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626

2727
- name: NPM Cache
2828
uses: actions/cache@v3
@@ -123,7 +123,7 @@ jobs:
123123
target/*.zip
124124
125125
- name: Save primary artefacts
126-
uses: actions/[email protected].2
126+
uses: actions/[email protected].3
127127
with:
128128
name: Artefacts
129129
path: artefacts.tar
@@ -133,7 +133,7 @@ jobs:
133133
steps:
134134
# Using v1 (rather than v2) through-out this workflow due to issue:
135135
# https://github.com/actions/checkout/issues/237
136-
- uses: actions/checkout@v3
136+
- uses: actions/checkout@v4
137137

138138
- name: NPM Cache
139139
uses: actions/cache@v3
@@ -174,15 +174,15 @@ jobs:
174174
tar cvf storybook.tar storybook-static
175175
176176
- name: Save Static Storybook instance
177-
uses: actions/[email protected].2
177+
uses: actions/[email protected].3
178178
with:
179179
name: Storybook
180180
path: react-front-end/storybook.tar
181181

182182
build_import_export_tool:
183183
runs-on: ubuntu-latest
184184
steps:
185-
- uses: actions/checkout@v3
185+
- uses: actions/checkout@v4
186186

187187
- name: Set up JDK 11
188188
uses: actions/setup-java@v3
@@ -196,7 +196,7 @@ jobs:
196196
./gradlew build
197197
198198
- name: Save primary artefacts
199-
uses: actions/[email protected].2
199+
uses: actions/[email protected].3
200200
with:
201201
name: ImportExportTools
202202
path: import-export-tool/build/libs/
@@ -250,7 +250,7 @@ jobs:
250250
distribution: adopt
251251
java-version: 11
252252

253-
- uses: actions/checkout@v3
253+
- uses: actions/checkout@v4
254254

255255
- name: Setup node
256256
uses: actions/setup-node@v3
@@ -286,7 +286,7 @@ jobs:
286286
287287
- name: Save Scalacheck results
288288
if: matrix.newui && failure()
289-
uses: actions/[email protected].2
289+
uses: actions/[email protected].3
290290
with:
291291
name: ScalacheckReports
292292
path: autotest/Tests/target/test-reports
@@ -298,21 +298,21 @@ jobs:
298298
299299
- name: Save TestNG Reports
300300
if: failure()
301-
uses: actions/[email protected].2
301+
uses: actions/[email protected].3
302302
with:
303303
name: TestNGReports-new-${{ matrix.newui }}
304304
path: autotest/OldTests/target/testng
305305

306306
- name: Save oEQ Logs
307307
if: failure()
308-
uses: actions/[email protected].2
308+
uses: actions/[email protected].3
309309
with:
310310
name: oEQLogs-new-${{ matrix.newui }}
311311
path: autotest/equella-install/logs
312312

313313
- name: Save Screenshots
314314
if: failure()
315-
uses: actions/[email protected].2
315+
uses: actions/[email protected].3
316316
with:
317317
name: Screenshots-new-${{ matrix.newui }}
318318
path: autotest/Tests/target/test-reports/screenshots
@@ -330,7 +330,7 @@ jobs:
330330
tar cvf coverage_report.tar autotest/target/coverage-report/
331331
332332
- name: Save Coverage Report
333-
uses: actions/[email protected].2
333+
uses: actions/[email protected].3
334334
with:
335335
name: CoverageReport-newui-${{ matrix.newui }}
336336
path: coverage_report.tar
@@ -360,7 +360,7 @@ jobs:
360360
AUTOTEST_CONFIG: autotest/github-actions.conf
361361

362362
steps:
363-
- uses: actions/checkout@v3
363+
- uses: actions/checkout@v4
364364

365365
- name: Install OS dependencies
366366
run: |
@@ -413,7 +413,7 @@ jobs:
413413
414414
- name: Save oEQ logs for REST Module
415415
if: failure()
416-
uses: actions/[email protected].2
416+
uses: actions/[email protected].3
417417
with:
418418
name: oEQ-logs-rest-module
419419
path: autotest/equella-install/logs

.github/workflows/stale.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: 'Close stale issues and PRs'
2+
on:
3+
schedule:
4+
- cron: '0 0 * * *'
5+
6+
jobs:
7+
stale:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/stale@v8
11+
with:
12+
stale-issue-label: 'stale'
13+
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
14+
days-before-stale: 90
15+
days-before-close: 14
16+
exempt-issue-labels: 'Edalex, Edalex RDA, Ready for Testing, Tech debt, Unicon SE, pinned, roadmap, security'

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
*.pyc
22
*.pmd
33
*.iml
4-
.cache/
4+
.parcel-cache/
55
.idea/.name
66

77
target/

.gitlab-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
include:
22
project: edalex-group/development/oeq/openequella-ci
33
file: build/main.yml
4-
ref: 16db45894f11b9ba9780d720486f37d485e13239
4+
ref: 6ef017a59f7eda0c6bf74cceba7020cf72fb37bf

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.20.1
1+
16.20.2

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ is PostgreSQL. The two main ways to do this are:
149149
Once you have an instance running, make sure you create a database with a user for access:
150150

151151
CREATE DATABASE equella;
152-
CREATE USER euqellauser WITH PASSWORD 'password';
153-
GRANT ALL PRIVILEGES ON DATABASE "equella" to euqellauser;
152+
CREATE USER equellauser WITH PASSWORD 'password';
153+
GRANT ALL PRIVILEGES ON DATABASE "equella" to equellauser;
154154

155155
### Install build-essential
156156

Installer/build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Path.relativeTo
22

33
libraryDependencies ++= Seq(
4-
"com.google.guava" % "guava" % "31.1-jre",
4+
"com.google.guava" % "guava" % "32.1.3-jre",
55
"commons-codec" % "commons-codec" % "1.16.0",
66
postgresDep,
77
sqlServerDep

Installer/resources/script/app-script.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
</control>
4141
<control class="directoryselector">
4242
<title>Select JDK directory</title>
43-
<description>It is required that you have installed the Java Development Kit version 8. If this is not installed, please do so now.</description>
43+
<description>It is required that you have installed the Java Development Kit version 11. If this is not installed, please do so now.</description>
4444
<target>java/jdk</target>
4545
<items>
4646
<item name="" value=""/>

Installer/src/com/dytech/edge/installer/DatabaseCommand.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818

1919
package com.dytech.edge.installer;
2020

21-
import com.tle.common.Check;
2221
import java.sql.Connection;
2322
import java.sql.ResultSet;
2423
import java.sql.SQLException;
2524
import java.sql.Statement;
25+
import java.util.Objects;
2626

2727
public abstract class DatabaseCommand {
2828
public static int getDefaultPort(String dbtype) {
@@ -87,7 +87,7 @@ private static <T> void checkValueOfFirstColumn(
8787
throws SQLException, NonUnicodeEncodingException {
8888
T encoding = klass.cast(getValueOfFirstColumn(conn, sql));
8989
for (T expectedValue : expectedValues) {
90-
if (Check.bothNullOrEqual(encoding, expectedValue)) {
90+
if (Objects.equals(encoding, expectedValue)) {
9191
return;
9292
}
9393
}

Installer/src/com/dytech/installer/controls/GPassword.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public void saveToTargets(PropBagEx outputBag) {
9393
}
9494
}
9595

96-
private static class ConfirmPassword {
96+
private static final class ConfirmPassword {
9797
private boolean confirmed = false;
9898

9999
private ConfirmPassword(final JPasswordField fieldToConfirm) {

Interface/.gitignore

-18
This file was deleted.

Interface/Build/.gitignore

-1
This file was deleted.

Interface/Dependencies/.gitignore

-4
This file was deleted.

Interface/Tests/.gitignore

-15
This file was deleted.

Interface/Tests/config/localserver.properties.example

-29
This file was deleted.

0 commit comments

Comments
 (0)