Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ branches:
skip_tags: true
max_jobs: 1
image: Previous Ubuntu1604
stack: jdk 8, python 3.9, node 14
stack: jdk 21, python 3.9, node 14

build_script:
- python3 -m pip install mkdocs mkdocs-material
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ NGB binaries can be retrieved from the following locations:

## Requirements

* **[Oracle JDK 8](https://docs.oracle.com/javase/8/docs/technotes/guides/install/install_overview.html)** or **[Open JDK 8](http://openjdk.java.net/install/)**
* **[Oracle JDK 21](https://docs.oracle.com/javase/21/docs/technotes/guides/install/install_overview.html)** or *
*[Open JDK 21](http://openjdk.java.net/install/)**
* **[Node.js = 6.9.5](https://nodejs.org/en/download/package-manager/)**
* **[Docker engine](https://docs.docker.com/engine/installation/)** *used to build docker images, if it is not a case - then could not be installed*
* **[MkDocs >= 0.16.0](http://www.mkdocs.org/#installation)** and **[mkdocs-material](http://squidfunk.github.io/mkdocs-material/getting-started/#installing-mkdocs)** *used to build documentation, if it is not a case - then could not be installed*
Expand Down
18 changes: 7 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ class Version {
}
}

task wrapper(type: Wrapper) {
gradleVersion = '3.3'
}

task ui(type: Copy) {
dependsOn ':client:buildUI'
doFirst {
Expand Down Expand Up @@ -79,9 +75,9 @@ task buildDoc(type: Tar) {
dependsOn runMkdocs
from("$rootDir/docs/site") {
}
archiveName = "ngb-docs.tar.gz"
destinationDir file(distDir)
extension = 'tar.gz'
archiveBaseName = "ngb-docs"
getDestinationDirectory().set(file(distDir))
archiveExtension = 'tar.gz'
compression = Compression.GZIP
}

Expand Down Expand Up @@ -121,11 +117,11 @@ task buildWar(type: GradleBuild) {
}

task buildJar(type: GradleBuild) {
dependsOn ui, templates, buildDocs
dependsOn ui, templates
if (runTests) {
tasks = ['clean', 'build']
} else {
tasks = ['clean', 'bootRepackage']
tasks = ['clean', 'bootJar']
}
startParameter.projectProperties = [profile : 'jar',
database : database,
Expand All @@ -147,7 +143,7 @@ task buildCli(type: GradleBuild) {
tasks = ['clean', 'assemble']
}
buildFile = "$rootDir/server/ngb-cli/build.gradle"
dir = "$rootDir/ngb-cli/catgenome"
dir = "$rootDir/ngb-cli"
doLast {
copy {
from "$cliBuilds/ngb-cli.tar.gz"
Expand Down Expand Up @@ -222,7 +218,7 @@ task buildDesktopJar(type: GradleBuild) {
if (runTests) {
tasks = ['clean', 'build']
} else {
tasks = ['clean', 'bootRepackage']
tasks = ['clean', 'bootJar']
}
startParameter.projectProperties = [profile : 'jar',
database : database,
Expand Down
Empty file modified build.sh
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions client/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import com.moowork.gradle.node.npm.NpmInstallTask
import com.github.gradle.node.npm.task.NpmInstallTask

plugins {
id "com.moowork.node" version "1.1.1"
id "com.github.node-gradle.node" version "7.1.0"
}

def desktop = hasProperty("desktop")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default {
const prefix = urlPrefix && urlPrefix.endsWith('/')
? urlPrefix.slice(0, -1)
: (urlPrefix || '');
const logoutUrl = `${prefix}/saml/logout`;
const logoutUrl = `${prefix}/logout`;
this.logout = () => {
$window.location.href = logoutUrl;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,5 @@
<li><ngb-main-settings></ngb-main-settings></li>
<li><ngb-bookmark></ngb-bookmark></li>
<li ng-if="$ctrl.isRoleModelEnabled && $ctrl.userIsAdmin"><ngb-user-management></ngb-user-management></li>
<li ng-if="$ctrl.isRoleModelEnabled && $ctrl.isLoggedIn" class="logout-button">
<md-button aria-label="Menu" class="md-icon-button" ng-click="$ctrl.logout($event)">
<ng-md-icon icon="power_settings_new"></ng-md-icon>
</md-button>
</li>
</ul>
</div>
Loading