Mercurial > hg > digilib
changeset 1623:5418b39dd49f
Merge from iiif-presentation branch
62246fdad98050c4c371e0e6c2d8e5c56a73c092
author | Robert Casties <casties@mpiwg-berlin.mpg.de> |
---|---|
date | Thu, 01 Jun 2017 15:06:02 +0200 |
parents | 3f3a4f4eecb1 (diff) 62246fdad980 (current diff) |
children | 373b05148ab2 |
files | servlet3/pom.xml.orig text/pom.xml.orig webapp/pom.xml.orig webapp/src/main/webapp/jquery/digilib-auth.html.orig webapp/src/main/webapp/jquery/digilib.html.orig webapp/src/main/webapp/jquery/jquery.digilib-ann.css webapp/src/main/webapp/jquery/jquery.digilib-ann.js webapp/src/main/webapp/jquery/jquery.digilib-ann.min.css webapp/src/main/webapp/jquery/jquery.digilib-ann.min.js webapp/src/main/webapp/jquery/jquery.digilib-ann.min.js.map webapp/src/main/webapp/jquery/jquery.digilib-auth.css webapp/src/main/webapp/jquery/jquery.digilib-auth.js webapp/src/main/webapp/jquery/jquery.digilib-auth.min.css webapp/src/main/webapp/jquery/jquery.digilib-auth.min.js |
diffstat | 14 files changed, 424 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/servlet3/pom.xml.orig Thu Jun 01 15:06:02 2017 +0200 @@ -0,0 +1,39 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>digilib</artifactId> + <groupId>digilib</groupId> + <version>2.3.1</version> + </parent> + <artifactId>digilib-servlet3</artifactId> + <name>digilib-servlet3</name> + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.3</version> + <configuration> + <source>1.7</source> + <target>1.7</target> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + <dependencies> + <dependency> + <groupId>org.mortbay.jetty</groupId> + <artifactId>servlet-api</artifactId> + <version>3.0.20100224</version> + <type>jar</type> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>digilib</groupId> + <artifactId>digilib-servlet</artifactId> + </dependency> + </dependencies> + <description>digilib servlet components using asynchronous servlet API.</description> +</project> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/text/pom.xml.orig Thu Jun 01 15:06:02 2017 +0200 @@ -0,0 +1,72 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>digilib</artifactId> + <groupId>digilib</groupId> + <version>2.3.1</version> + </parent> + <artifactId>digilib-text</artifactId> + <name>digilib-text</name> + <dependencies> + <dependency> + <groupId>digilib</groupId> + <artifactId>digilib-common</artifactId> + <type>jar</type> + <scope>compile</scope> + </dependency> + </dependencies> + <description>The Digital Image Library - text (plain or XML) serving servlet</description> + <url>http://digilib.sourceforge.net</url> + <profiles> + <profile> + <id>servlet2</id> + <activation> + <activeByDefault>true</activeByDefault> + <property> + <name>servletapi</name> + <value>2</value> + </property> + </activation> + <dependencies> + <dependency> + <groupId>digilib</groupId> + <artifactId>digilib-servlet2</artifactId> + <type>jar</type> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>javax.servlet</groupId> + <artifactId>servlet-api</artifactId> + <version>2.3</version> + <type>jar</type> + <scope>provided</scope> + </dependency> + </dependencies> + </profile> + <profile> + <id>servlet3</id> + <activation> + <property> + <name>servletapi</name> + <value>3</value> + </property> + </activation> + <dependencies> + <dependency> + <groupId>digilib</groupId> + <artifactId>digilib-servlet3</artifactId> + <type>jar</type> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.mortbay.jetty</groupId> + <artifactId>servlet-api</artifactId> + <version>3.0.20100224</version> + <type>jar</type> + <scope>provided</scope> + </dependency> + </dependencies> + </profile> + </profiles> +</project> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webapp/pom.xml.orig Thu Jun 01 15:06:02 2017 +0200 @@ -0,0 +1,204 @@ +<?xml version="1.0"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>digilib</artifactId> + <groupId>digilib</groupId> + <version>2.3.7</version> + </parent> + <artifactId>digilib-webapp</artifactId> + <name>digilib-webapp</name> + <description>The Digital Image Library - web application server and HTML and JS clients.</description> + <url>http://digilib.sourceforge.net</url> + <packaging>war</packaging> + + <properties> + <skipTests>true</skipTests> + </properties> + + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + <version>2.6</version> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>license-maven-plugin</artifactId> + <version>1.4</version> + <configuration> + <includes> + <include>**/*digilib*.js</include> + <include>**/*.jsp</include> + </includes> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.19</version> + <configuration> + <skip>${skipTests}</skip> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + <profiles> + <profile> + <id>servlet2</id> + <activation> + <property> + <name>servletapi</name> + <value>2</value> + </property> + </activation> + <dependencies> + <dependency> + <groupId>digilib</groupId> + <artifactId>digilib-servlet2</artifactId> + <type>jar</type> + <scope>compile</scope> + </dependency> + </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + <configuration> + <webXml>${basedir}/src/main/webapp/WEB-INF/web-2.4.xml</webXml> + <classifier>srv2</classifier> + </configuration> + </plugin> + </plugins> + </build> + </profile> + <profile> + <id>servlet3</id> + <activation> + <activeByDefault>true</activeByDefault> + <property> + <name>servletapi</name> + <value>3</value> + </property> + </activation> + <dependencies> + <dependency> + <groupId>digilib</groupId> + <artifactId>digilib-servlet3</artifactId> + <type>jar</type> + <scope>compile</scope> + </dependency> + </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-war-plugin</artifactId> + <configuration> + <webXml>${basedir}/src/main/webapp/WEB-INF/web-3.0.xml</webXml> + <classifier>srv3</classifier> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.7</source> + <target>1.7</target> + </configuration> + </plugin> + </plugins> + </build> + </profile> + <profile> + <id>pdf</id> + <dependencies> + <dependency> + <groupId>digilib</groupId> + <artifactId>digilib-pdf</artifactId> + <type>jar</type> + <scope>compile</scope> + </dependency> + </dependencies> + </profile> + <profile> + <id>text</id> + <dependencies> + <dependency> + <groupId>digilib</groupId> + <artifactId>digilib-text</artifactId> + <type>jar</type> + <scope>compile</scope> + </dependency> + </dependencies> + </profile> + <profile> + <id>codec-jai</id> + <dependencies> + <dependency> + <groupId>digilib</groupId> + <artifactId>digilib-common-jai</artifactId> + <type>jar</type> + <scope>compile</scope> + </dependency> + </dependencies> + </profile> + <profile> + <id>codec-imagej</id> + <dependencies> + <dependency> + <groupId>digilib</groupId> + <artifactId>digilib-common-imagej</artifactId> + <type>jar</type> + <scope>compile</scope> + </dependency> + </dependencies> + </profile> + <profile> + <id>codec-bioformats</id> + <dependencies> + <dependency> + <groupId>digilib</groupId> + <artifactId>digilib-common-bioformats</artifactId> + <type>jar</type> + <scope>compile</scope> + </dependency> + </dependencies> + </profile> + <profile> + <id>cors-filter</id> + <!-- external servlet filter to add CORS headers. enable in web.xml --> + <dependencies> + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-servlets</artifactId> + <version>9.2.13.v20150730</version> + </dependency> + </dependencies> + </profile> + </profiles> + <dependencies> + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-servlet</artifactId> + <version>9.2.13.v20150730</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.eclipse.jetty</groupId> + <artifactId>jetty-http</artifactId> + <version>9.2.13.v20150730</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>test</scope> + </dependency> + </dependencies> +</project>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webapp/src/main/webapp/jquery/digilib-auth.html.orig Thu Jun 01 15:06:02 2017 +0200 @@ -0,0 +1,61 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <meta name="viewport" content="initial-scale=1.0"/> + <title>Digilib jQuery: fullscreen</title> + + <style type="text/css"> + body { + background: silver; + } + </style> + + <script type="text/javascript" src="jquery.js"></script> + <script type="text/javascript" src="jquery.cookie.js"></script> + + <!-- + <script type="text/javascript" src="jquery.digilib-auth.min.js"></script> + <link rel="stylesheet" type="text/css" href="jquery.digilib-auth.min.css" /> + --> + + <script type="text/javascript" src="jquery.digilib.js"></script> + <script type="text/javascript" src="jquery.digilib.geometry.js"></script> + <script type="text/javascript" src="jquery.digilib.arrows.js"></script> + <script type="text/javascript" src="jquery.range.js"></script> + <link rel="stylesheet" type="text/css" href="jquery.range.css" /> + <script type="text/javascript" src="jquery.digilib.buttons.js"></script> + <script type="text/javascript" src="jquery.digilib.dialogs.js"></script> + <script type="text/javascript" src="jquery.digilib.sliders.js"></script> + <script type="text/javascript" src="jquery.digilib.birdseye.js"></script> + <script type="text/javascript" src="jquery.digilib.marks.js"></script> + <script type="text/javascript" src="jquery.digilib.regions.js"></script> + <script type="text/javascript" src="jquery.digilib.oauth.js"></script> + <link rel="stylesheet" type="text/css" href="jquery.digilib.css" /> + <link rel="stylesheet" type="text/css" href="jquery.digilib.buttons-full-32-sprite.css" /> + + + <script type="text/javascript"> + $(document).ready(function(){ + var opts = { + //authServerUrl : 'http://localhost:18080/ldap-openid-connect-server/authorize', + //authClientId : 'client', + authServerUrl : 'https://id.mpiwg-berlin.mpg.de/openid/authorize', + authClientId : 'digilib-rc-local', + authOnErrorMode : true + }; + var $div = $('div#digilib'); + $div.digilib(opts); + }); + + </script> + </head> + + <body> + <div id="digilib"> + <p>digilib doesn't work! Please switch on Javascript or notify the server administrator!</p> + <img src="http://digilib.sourceforge.net/images/digilib-logo-big.png" /> + </div> + </body> +</html> +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webapp/src/main/webapp/jquery/digilib.html.orig Thu Jun 01 15:06:02 2017 +0200 @@ -0,0 +1,39 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <meta name="viewport" content="initial-scale=1.0"/> + <title>Digilib jQuery: fullscreen</title> + + <style type="text/css"> + body { + background: silver; + } + </style> + + <script type="text/javascript" src="jquery.min.js"></script> + <script type="text/javascript" src="jquery.cookie-range.min.js"></script> + <script type="text/javascript" src="jquery.digilib-basic.min.js"></script> + <link rel="stylesheet" type="text/css" href="jquery.digilib-basic.css" /> + + <script type="text/javascript"> + $(document).ready(function(){ + var opts = { + interactionMode : 'fullscreen', + showRegionNumbers : true + }; + var $div = $('div#digilib'); + $div.digilib(opts); + }); + + </script> + </head> + + <body> + <div id="digilib"> + <p>digilib doesn't work! Please switch on Javascript or notify the server administrator!</p> + <img src="http://digilib.sourceforge.net/images/digilib-logo-big.png" /> + </div> + </body> +</html> +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webapp/src/main/webapp/jquery/jquery.digilib-ann.css Thu Jun 01 15:06:02 2017 +0200 @@ -0,0 +1,1 @@ +../../../../target/digilib-webapp-2.5-SNAPSHOT/jquery/jquery.digilib-ann.css \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webapp/src/main/webapp/jquery/jquery.digilib-ann.js Thu Jun 01 15:06:02 2017 +0200 @@ -0,0 +1,1 @@ +../../../../target/digilib-webapp-2.5-SNAPSHOT/jquery/jquery.digilib-ann.js \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webapp/src/main/webapp/jquery/jquery.digilib-ann.min.css Thu Jun 01 15:06:02 2017 +0200 @@ -0,0 +1,1 @@ +../../../../target/digilib-webapp-2.5-SNAPSHOT/jquery/jquery.digilib-ann.min.css \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webapp/src/main/webapp/jquery/jquery.digilib-ann.min.js Thu Jun 01 15:06:02 2017 +0200 @@ -0,0 +1,1 @@ +../../../../target/digilib-webapp-2.5-SNAPSHOT/jquery/jquery.digilib-ann.min.js \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webapp/src/main/webapp/jquery/jquery.digilib-ann.min.js.map Thu Jun 01 15:06:02 2017 +0200 @@ -0,0 +1,1 @@ +../../../../target/digilib-webapp-2.5-SNAPSHOT/jquery/jquery.digilib-ann.min.js.map \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webapp/src/main/webapp/jquery/jquery.digilib-auth.css Thu Jun 01 15:06:02 2017 +0200 @@ -0,0 +1,1 @@ +../../../../target/digilib-webapp-2.5-SNAPSHOT/jquery/jquery.digilib-auth.css \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webapp/src/main/webapp/jquery/jquery.digilib-auth.js Thu Jun 01 15:06:02 2017 +0200 @@ -0,0 +1,1 @@ +../../../../target/digilib-webapp-2.5-SNAPSHOT/jquery/jquery.digilib-auth.js \ No newline at end of file