Skip to content

Commit

Permalink
Merge pull request #67 from aramiscd/master
Browse files Browse the repository at this point in the history
Preparing a new release
  • Loading branch information
Aramís authored Jul 3, 2018
2 parents 4e0a72f + bb9ddbe commit f84d21f
Show file tree
Hide file tree
Showing 246 changed files with 20,157 additions and 7,703 deletions.
13 changes: 2 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,2 @@
.classpath
.project
.settings
testdata
build
WebContent/dhconvalidator_*.properties
WebContent/dhconvalidator.properties
WebContent/VAADIN/themes/dhconvalidator/styles.css
WebContent/VAADIN/widgetsets
scratch.jpage
deploy
/.gradle/
/build/
Empty file modified LICENCE
100755 → 100644
Empty file.
60 changes: 43 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,59 @@
# DHConvalidator

The goal of the DHConvalidator is a simplification of the creation of a consistent [TEI] (http://www.tei-c.org) text base of Digital Humanities (DH) conference abstracts for further processing like the generation of the book of abstracts. The idea was to offer the user the possibility to edit the final version of the submission with her tool of choice starting with two of the most popular systems Libre Office and Microsoft Word.

The DHConvalidator works together with the conference management tool [ConfTool] (http://www.conftool.net/) and uses [OxGarage] (http://www.tei-c.org/oxgarage/) to do the bulk conversion.

The submission of the final version is composed of four steps after logging in:

1. Generates a template for each of his submissions for one of the supported editing systems via the Template Generation Service.
2. Adding subtitle (optional), content, notes (optional) and references (optional) to the template.
3. Converting the template to a .dhc package via the Conversion and Validation Service
**Offical Repository:**
[ADHO/dhconvalidator](https://github.com/ADHO/dhconvalidator)

The goal of the DHConvalidator is a simplification of the creation of a
consistent [TEI] (http://www.tei-c.org) text base of Digital Humanities
(DH) conference abstracts for further processing like the generation of
the book of abstracts. The idea was to offer the user the possibility to
edit the final version of the submission with her tool of choice
starting with two of the most popular systems Libre Office and Microsoft
Word.

The DHConvalidator works together with the conference management tool
[ConfTool] (http://www.conftool.net/) and uses [OxGarage]
(http://www.tei-c.org/oxgarage/) to do the bulk conversion.

The submission of the final version is composed of four steps after
logging in:

1. Generates a template for each of his submissions for one of the
supported editing systems via the Template Generation Service.
2. Adding subtitle (optional), content, notes (optional) and references
(optional) to the template.
3. Converting the template to a .dhc package via the Conversion and
Validation Service
4. Uploading the .dhc package to ConfTool

The .dhc package contains the original edited template file (docx or odt), the TEI version, integrated media files and a HTML version of the submission.
The .dhc package contains the original edited template file (docx or
odt), the TEI version, integrated media files and a HTML version of the
submission.

## Installation
Take the latest [WAR file release] (https://github.com/mpetris/dhconvalidator/blob/master/release/) or create a WAR file yourself and extract it to a Servlet container (Jetty 9 or higher, Tomcat 8 or higher).

Copy the dhconvalidator.properties.example to dhconvalidator.properties and edit it as needed:
Take the latest [WAR file release]
(https://github.com/mpetris/dhconvalidator/blob/master/release/) or
create a WAR file yourself and extract it to a Servlet container (Jetty
9 or higher, Tomcat 8 or higher).

Copy the dhconvalidator.properties.example to dhconvalidator.properties
and edit it as needed:
- Set the ConfTool REST interface settings like URL and shared password.
- Set the OxGarage webservice URL (Note that the dhconvalidator TEI/Stylesheets profile must be installed for the OxGarage webservice)
- Edit settings for validation, min resolution, publication statement and so on.
- Set the OxGarage webservice URL (Note that the dhconvalidator
- TEI/Stylesheets profile must be installed for the OxGarage webservice)
- Edit settings for validation, min resolution, publication statement
- and so on.

## Optional integration into a conference host page
Integration of the DHConvalidator is done via integrating an IFRAME into the host site:

Integration of the DHConvalidator is done via integrating an IFRAME into
the host site:

```
<iframe src="http://mydomain/dhconvalidator/" height="230" width="250" frameborder="0">
</iframe>`
```

To avoid cross site scripting issues the domain should be the same as the domain of the host site.

To avoid cross site scripting issues the domain should be the same as
the domain of the host site.
3 changes: 0 additions & 3 deletions WebContent/META-INF/MANIFEST.MF

This file was deleted.

23 changes: 0 additions & 23 deletions WebContent/dhconvalidator.properties.example

This file was deleted.

25 changes: 25 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apply plugin: 'war'

repositories { flatDir { dirs 'libs' } }

dependencies {
compile name: 'commons-io-2.1'
compile name: 'flute-1.3.0.gg2'
compile name: 'guava-16.0.1.vaadin1'
compile name: 'guava-18.0'
compile name: 'jsoup-1.8.1'
compile name: 'org.restlet'
compile name: 'org.restlet.ext.html'
compile name: 'sac-1.3'
compile name: 'serializer'
compile name: 'streamhtmlparser-jsilver-0.0.10.vaadin1'
compile name: 'vaadin-client-compiled-7.5.5'
compile name: 'vaadin-sass-compiler-0.9.12'
compile name: 'vaadin-server-7.5.5'
compile name: 'vaadin-shared-7.5.5'
compile name: 'vaadin-themes-7.5.5'
compile name: 'xercesImpl-2.8.1'
compile name: 'xml-apis'
compile name: 'xom-1.2.7'
providedCompile name: 'javax.servlet-api-3.0.1'
}
44 changes: 0 additions & 44 deletions ivy.xml

This file was deleted.

35 changes: 0 additions & 35 deletions ivysettings.xml

This file was deleted.

File renamed without changes.
Binary file added libs/flute-1.3.0.gg2.jar
Binary file not shown.
Binary file added libs/guava-16.0.1.vaadin1.jar
Binary file not shown.
File renamed without changes.
Binary file added libs/javax.servlet-api-3.0.1.jar
Binary file not shown.
Binary file added libs/jsoup-1.8.1.jar
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file added libs/sac-1.3.jar
Binary file not shown.
File renamed without changes.
Binary file added libs/streamhtmlparser-jsilver-0.0.10.vaadin1.jar
Binary file not shown.
Binary file added libs/vaadin-client-compiled-7.5.5.jar
Binary file not shown.
Binary file added libs/vaadin-sass-compiler-0.9.12.jar
Binary file not shown.
Binary file added libs/vaadin-server-7.5.5.jar
Binary file not shown.
Binary file added libs/vaadin-shared-7.5.5.jar
Binary file not shown.
Binary file added libs/vaadin-themes-7.5.5.jar
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed release/dhconvalidator_1_0.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_1.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_10.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_11.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_12.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_13.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_14.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_15.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_16.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_17.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_18.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_19.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_2.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_20.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_21.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_3.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_4.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_5.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_6.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_7.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_8.war
Binary file not shown.
Binary file removed release/dhconvalidator_1_9.war
Binary file not shown.
86 changes: 0 additions & 86 deletions src/de/catma/backgroundservice/DefaultBackgroundService.java

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
/*
* CATMA Computer Aided Text Markup and Analysis
*
*
* Copyright (C) 2009 University Of Hamburg
*
* This program is free software: you can redistribute it and/or modify
Expand All @@ -15,35 +15,29 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

*/

package de.catma.backgroundservice;


/**
* Executes background tasks. An {@link ExecutionListener} is notified when
* the task is done. The notification takes place in the initiating Thread.<br>
* Executes background tasks. An {@link ExecutionListener} is notified when the task is done. The
* notification takes place in the initiating Thread.<br>
* <br>
*
* @author Marco Petris
*
*/
public interface BackgroundService {

/**
* @param <T> the type of the {@link ExecutionListener} and
* the {@link ProgressCallable}.
*
* @param callable the task which should be done in the background
* @param listener this one will be notified when the task is
* done (within the initiating thread)
* @param progressListener the listener for progress. The implementer
* of the {@link ProgressCallable} which defines the task can
* call this listener to notify progress to the initiating thread.
*/
public <T> void submit(
final ProgressCallable<T> callable,
final ExecutionListener<T> listener,
final ProgressListener progressListener);

/**
* @param <T> the type of the {@link ExecutionListener} and the {@link ProgressCallable}.
* @param callable the task which should be done in the background
* @param listener this one will be notified when the task is done (within the initiating thread)
* @param progressListener the listener for progress. The implementer of the {@link
* ProgressCallable} which defines the task can call this listener to notify progress to the
* initiating thread.
*/
public <T> void submit(
final ProgressCallable<T> callable,
final ExecutionListener<T> listener,
final ProgressListener progressListener);
}
Loading

0 comments on commit f84d21f

Please sign in to comment.