Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versioning #2

Open
wants to merge 81 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
1b8427a
comment unused
Apr 12, 2022
46879b5
added env
Apr 12, 2022
1d2251f
comment unused
Apr 12, 2022
760e790
fixed running webprotege using Dockerfile
Apr 12, 2022
55037f4
added quotes
Apr 13, 2022
c4f5aff
added github module
Apr 13, 2022
c1abdf2
getting file from github
Apr 22, 2022
2ef169a
added one button to create ontology project from Github
nenadkrdzavac Apr 26, 2022
12f60ea
added git installation
May 3, 2022
4f0afd7
added git commands runner
May 3, 2022
b27dfb5
added logback.xml
May 3, 2022
ebbe622
added readme
May 3, 2022
04bec71
updated CreateNewGithubProjectViewImpl.ui.xml
nenadkrdzavac May 4, 2022
b959877
Implemented new form and a new button to create ontology projects fro…
nenadkrdzavac May 12, 2022
bf87e16
Creates empty Webprotege project when a user provides Github ontology…
nenadkrdzavac Jun 29, 2022
ff54e02
added Github action in a list of Webprotege project actions.
nenadkrdzavac Jun 30, 2022
3f41f48
Uploads ontology from local github reporistory as a project into webp…
nenadkrdzavac Aug 4, 2022
34f610c
Extended project details with Github isCommited, isPushed properties.…
nenadkrdzavac Aug 24, 2022
9f587e5
added commit to Github action, result, handler, and event classes.
nenadkrdzavac Aug 25, 2022
68a6ee6
Added Github manager request handler to client application module.
nenadkrdzavac Aug 25, 2022
02e41ad
added commit and push project request handlers
nenadkrdzavac Aug 30, 2022
24f3230
added commit settings, github format extension, project manager prese…
nenadkrdzavac Sep 2, 2022
f0c0fc4
added commit settings dialog, commit format extension handler, button…
nenadkrdzavac Sep 5, 2022
570f0e7
added gui to commit changes in ontology. added project revision commi…
nenadkrdzavac Sep 8, 2022
9cbbb88
added persistent personal access variable to projects for #9
Sep 9, 2022
a0aa894
bugfix for null pointer exception in personalAccessToken
Sep 9, 2022
3ffddf1
converted project specific personal access token to project specific …
Sep 12, 2022
4de9b6b
added personal access token as a user feature for #9
Sep 15, 2022
a29a1a3
worked on extracting branch names in commit dialog for #9
Sep 20, 2022
dfd72ef
correction in response handling design pattern in branch extraction f…
Sep 21, 2022
0823aea
implemented commit servlet and client interface for #9
Oct 1, 2022
857e691
parametric project creation from clone for #9
Oct 7, 2022
d8121c5
copy ontology file to root of uploads directory for #9
Oct 8, 2022
1f864e0
responsive project creation for #9
Oct 10, 2022
4562cae
refactoring and bugfix for infinite loop in sommit servlet for #9
Oct 10, 2022
7ba6849
implemented gitlab compatibility for clone and commit features in #9
Oct 11, 2022
6d70cbf
removed extra button for push in projectlist menu for #9
Oct 12, 2022
9da139e
removed extra button approach for github project creation in #9
Oct 12, 2022
87a5c99
removed unused push visibility states in #9
Oct 12, 2022
526dac8
deleted unnecessary classes in #9
Oct 12, 2022
6808086
manual encoding and decoding of space character in parameters of exec…
Oct 12, 2022
1024be9
new branch option for commit feature and manual file specification op…
Oct 14, 2022
ca156a1
added empty repo URI validation during project creation from clone in #9
Oct 14, 2022
82801a8
more manual commit and clone options for #9
Oct 19, 2022
a1ccb93
added some tooltips in clone and commit functionalities in #9
Oct 19, 2022
57f050e
disabled the client log console
Oct 20, 2022
4f5fc0a
enabled explicit process execution messages and json based git status…
Oct 20, 2022
f937bf8
UI tips and radio buttons for clone and file upload options in #9
Oct 21, 2022
99b4e92
corrected UI tips for #9
Oct 21, 2022
9a0cf91
added dynamic mandatory field signs to project creation for #9
Oct 21, 2022
8f6c4fe
added placeholders and updated tooltips for #9
Oct 21, 2022
052b906
enabled file size restriction for clone and commit based on existing …
Oct 21, 2022
131431f
added warnings and validations for token necessity upon user and proj…
Oct 24, 2022
c3caf91
implemented unexisting repo validation for #16
Oct 26, 2022
0bf293a
corrected validation condition and added explanatory text for project…
Oct 28, 2022
d36a987
resolved conflict in readme.md
researchevaluation Oct 31, 2022
25ff7e3
bug-fixed token based access for #16
Nov 1, 2022
ccf2a32
enabled custom gitlab compatibility and fixed token based authenticat…
Nov 1, 2022
9a802d1
handled no token cases for client side requestbuilders in #16
Nov 2, 2022
d7e2beb
implemented token and repo uri validation for commit functionality #16
Nov 2, 2022
82b5df6
handled all combinations of token and email presence in writeUserInSe…
Nov 10, 2022
c7a1cb8
handled empty token cases in git commands service for #16
Nov 11, 2022
fba5530
changed messages in changepersonalaccesstokenpresenter for #16
Nov 11, 2022
a3e02f0
removed mandatory token validation from signup page for #16
Nov 11, 2022
271c072
handled invalid urls with regular expressions as well as automatic va…
Nov 11, 2022
a940bd1
corrected the static url validity checkers condition for #16
Nov 11, 2022
7becf46
configured the maven profile parameter for analytics with matomo and …
Nov 11, 2022
72f12f4
changed the static terms of use page for #19
Nov 11, 2022
6665871
bug-fixed validation conditions for #16
Nov 12, 2022
be4db70
implemented delete branch interface for #20
Nov 12, 2022
b49c052
corrected tooltip and helper text
Nov 21, 2022
d00de29
replaced the file upload dialog with composite repo cloner and file u…
Nov 24, 2022
69cf155
implemented better visualization, tooltips and validation for ontolog…
Nov 25, 2022
2c0974d
included project name comparison in automatic file identification dur…
Nov 25, 2022
8f76dcd
implemented conditional commit and delete action enabler for #22 and …
Nov 26, 2022
c5a23de
added CoyPu funding information on main page
Nov 26, 2022
933ed21
more debug messages
tgfawad May 26, 2023
d7231cb
more debug messages
tgfawad May 26, 2023
07eebe1
Merge pull request #1 from TIBHannover/versioning_bugfix
giraygi May 26, 2023
0348d74
Update readme.md
giraygi Dec 4, 2023
25c3a48
Update readme.md
giraygi Dec 5, 2023
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
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
project.version="5.0.0-SNAPSHOT"
18 changes: 7 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
FROM maven:3.6.0-jdk-11-slim AS build

RUN apt-get update && \
apt-get install -y git mongodb

COPY . /webprotege

WORKDIR /webprotege

RUN mkdir -p /data/db \
&& mongod --fork --syslog \
&& mvn clean package

FROM tomcat:8-jre11-slim

RUN apt-get update && \
apt-get install -y git

RUN rm -rf /usr/local/tomcat/webapps/* \
&& mkdir -p /srv/webprotege \
&& mkdir -p /usr/local/tomcat/webapps/ROOT
Expand All @@ -21,10 +17,10 @@ WORKDIR /usr/local/tomcat/webapps/ROOT

# Here WEBPROTEGE_VERSION is coming from the custom build args WEBPROTEGE_VERSION=$DOCKER_TAG hooks/build script.
# Ref: https://docs.docker.com/docker-hub/builds/advanced/
ARG WEBPROTEGE_VERSION
#ARG WEBPROTEGE_VERSION

ENV WEBPROTEGE_VERSION $WEBPROTEGE_VERSION
COPY --from=build /webprotege/webprotege-cli/target/webprotege-cli-${WEBPROTEGE_VERSION}.jar /webprotege-cli.jar
COPY --from=build /webprotege/webprotege-server/target/webprotege-server-${WEBPROTEGE_VERSION}.war ./webprotege.war
#ENV WEBPROTEGE_VERSION $WEBPROTEGE_VERSION
COPY --from=build /webprotege/webprotege-cli/target/webprotege-cli-5.0.0-SNAPSHOT.jar /webprotege-cli.jar
COPY --from=build /webprotege/webprotege-server/target/webprotege-server-5.0.0-SNAPSHOT.war ./webprotege.war
RUN unzip webprotege.war \
&& rm webprotege.war
31 changes: 28 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
#version: "3"

#services:

# wpmongo:
# container_name: webprotege-mongodb
# image: mongo:4.1-bionic
# restart: unless-stopped
# volumes:
# - ./.protegedata/mongodb:/data/db

# webprotege:
# container_name: webprotege
# build: .
# image: protegeproject/webprotege
# depends_on:
# - wpmongo
# restart: unless-stopped
# environment:
# - webprotege.mongodb.host=wpmongo
# volumes:
# - ./.protegedata/protege:/srv/webprotege
# ports:
# - 5000:8080

version: "3"

services:
Expand All @@ -6,18 +31,18 @@ services:
container_name: webprotege-mongodb
image: mongo:4.1-bionic
restart: unless-stopped
volumes:
volumes:
- ./.protegedata/mongodb:/data/db

webprotege:
container_name: webprotege
image: protegeproject/webprotege
build: .
depends_on:
- wpmongo
restart: unless-stopped
environment:
- webprotege.mongodb.host=wpmongo
volumes:
volumes:
- ./.protegedata/protege:/srv/webprotege
ports:
- 5000:8080
Expand Down
107 changes: 68 additions & 39 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,19 @@
<groupId>edu.stanford.protege</groupId>
<artifactId>webprotege</artifactId>
<version>5.0.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
</dependency>
</dependencies>
<packaging>pom</packaging>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<guava.version>28.0</guava.version>
<dagger.version>2.20</dagger.version>
<!--<dagger.version>2.15</dagger.version>-->
<owlapi.version>4.5.13</owlapi.version>
<widgetmap.version>4.0.1</widgetmap.version>
<graphtree.version>1.1.1</graphtree.version>
Expand Down Expand Up @@ -41,6 +48,17 @@

<dependencyManagement>
<dependencies>


<!-- https://mvnrepository.com/artifact/com.allen-sauer.gwt.log/gwt-log -->
<dependency>
<groupId>com.allen-sauer.gwt.log</groupId>
<artifactId>gwt-log</artifactId>
<version>3.3.2</version>
</dependency>



<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt</artifactId>
Expand Down Expand Up @@ -169,35 +187,35 @@
</dependencies>
</dependencyManagement>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<!-- <distributionManagement>-->
<!-- <snapshotRepository>-->
<!-- <id>ossrh</id>-->
<!-- <url>https://oss.sonatype.org/content/repositories/snapshots</url>-->
<!-- </snapshotRepository>-->
<!-- <repository>-->
<!-- <id>ossrh</id>-->
<!-- <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>-->
<!-- </repository>-->
<!-- </distributionManagement>-->

<repositories>
<repository>
<id>oss-sonatype</id>
<name>OSS Sonatype Snapshot Repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
<repository>
<id>edu.protege.stanford</id>
<name>Protege Project Maven Repo</name>
<url>https://github.com/protegeproject/mvn-repo/raw/master/releases</url>
<snapshots>
<updatePolicy>daily</updatePolicy>
</snapshots>
</repository>
</repositories>
<!-- <repositories>-->
<!-- <repository>-->
<!-- <id>oss-sonatype</id>-->
<!-- <name>OSS Sonatype Snapshot Repository</name>-->
<!-- <url>https://oss.sonatype.org/content/repositories/snapshots/</url>-->
<!-- <snapshots>-->
<!-- <updatePolicy>daily</updatePolicy>-->
<!-- </snapshots>-->
<!-- </repository>-->
<!-- <repository>-->
<!-- <id>edu.protege.stanford</id>-->
<!-- <name>Protege Project Maven Repo</name>-->
<!-- <url>https://github.com/protegeproject/mvn-repo/raw/master/releases</url>-->
<!-- <snapshots>-->
<!-- <updatePolicy>daily</updatePolicy>-->
<!-- </snapshots>-->
<!-- </repository>-->
<!-- </repositories>-->

<build>

Expand Down Expand Up @@ -426,21 +444,29 @@
</profile>
<!-- Profile for deployment of WebProtege to webprotege.stanford.edu -->
<profile>
<id>webprotege.stanford.edu</id>
<id>webprotege.tib.eu</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<!-- Insert the code for google analytics. This code is not inserted by default. -->
<application.analytics>
<![CDATA[
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-32498293-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/ tracker methods like "setCustomDimension" should be called before "trackPageView" /
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//support.tib.eu/piwik/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '43']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
]]>
</application.analytics>
</properties>
Expand All @@ -456,5 +482,8 @@
<module>webprotege-shared-core</module>
<module>webprotege-cli</module>
<module>webprotege-server-lucene</module>
<module>webprotege-github</module>
<module>webprotege-github-client</module>
<module>webprotege-github-server</module>
</modules>
</project>
Loading