aboutsummaryrefslogtreecommitdiff
path: root/subsonic-backend/src/main/webapp/WEB-INF
diff options
context:
space:
mode:
Diffstat (limited to 'subsonic-backend/src/main/webapp/WEB-INF')
-rw-r--r--subsonic-backend/src/main/webapp/WEB-INF/applicationContext-backend.xml25
-rw-r--r--subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/db.jsp51
-rw-r--r--subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/payment.jsp23
-rw-r--r--subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/requestLicense.jsp42
-rw-r--r--subsonic-backend/src/main/webapp/WEB-INF/jsp/head.jsp3
-rw-r--r--subsonic-backend/src/main/webapp/WEB-INF/jsp/include.jsp7
-rw-r--r--subsonic-backend/src/main/webapp/WEB-INF/subsonic-backend-servlet.xml54
-rw-r--r--subsonic-backend/src/main/webapp/WEB-INF/web.xml36
8 files changed, 0 insertions, 241 deletions
diff --git a/subsonic-backend/src/main/webapp/WEB-INF/applicationContext-backend.xml b/subsonic-backend/src/main/webapp/WEB-INF/applicationContext-backend.xml
deleted file mode 100644
index f1008a29..00000000
--- a/subsonic-backend/src/main/webapp/WEB-INF/applicationContext-backend.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
-
- <bean id="redirectionDao" class="net.sourceforge.subsonic.backend.dao.RedirectionDao">
- <property name="daoHelper" ref="daoHelper"/>
- </bean>
-
- <bean id="paymentDao" class="net.sourceforge.subsonic.backend.dao.PaymentDao">
- <property name="daoHelper" ref="daoHelper"/>
- </bean>
-
- <bean id="daoHelper" class="net.sourceforge.subsonic.backend.dao.DaoHelper"/>
-
- <bean id="licenseGenerator" class="net.sourceforge.subsonic.backend.service.LicenseGenerator" init-method="init">
- <property name="paymentDao" ref="paymentDao"/>
- </bean>
-
- <bean id="whitelistGenerator" class="net.sourceforge.subsonic.backend.service.WhitelistGenerator">
- <property name="paymentDao" ref="paymentDao"/>
- </bean>
-
-</beans> \ No newline at end of file
diff --git a/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/db.jsp b/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/db.jsp
deleted file mode 100644
index c3e1eb39..00000000
--- a/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/db.jsp
+++ /dev/null
@@ -1,51 +0,0 @@
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="iso-8859-1"%>
-
-<html><head>
- <%@ include file="../head.jsp" %>
- <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.0r4/build/reset/reset.css">
- <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.0r4/build/fonts/fonts.css">
- <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.0r4/build/grid/grid.css">
- <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.0r4/build/base/base.css">
-</head><body>
-
-<h1>Database query</h1>
-
-<form method="post" action="db.view">
- <textarea rows="10" cols="80" name="query" style="margin-top:1em">${model.query}</textarea>
- <input type="submit" value="OK">
- <input type="hidden" name="p" value="${model.p}">
-</form>
-
-
-<c:if test="${not empty model.result}">
- <h1 style="margin-top:2em">Result</h1>
-
- <table>
- <c:forEach items="${model.result}" var="row" varStatus="loopStatus">
-
- <c:if test="${loopStatus.count == 1}">
- <tr>
- <c:forEach items="${row}" var="entry">
- <td>${entry.key}</td>
- </c:forEach>
- </tr>
- </c:if>
- <tr>
- <c:forEach items="${row}" var="entry">
- <td>${entry.value}</td>
- </c:forEach>
- </tr>
- </c:forEach>
-
- </table>
-</c:if>
-
-<c:if test="${not empty model.error}">
- <h1 style="margin-top:2em">Error</h1>
-
- <p>
- ${model.error}
- </p>
-</c:if>
-
-</body></html> \ No newline at end of file
diff --git a/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/payment.jsp b/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/payment.jsp
deleted file mode 100644
index c72f798d..00000000
--- a/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/payment.jsp
+++ /dev/null
@@ -1,23 +0,0 @@
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="iso-8859-1" %>
-
-<html>
-<head>
- <%@ include file="../head.jsp" %>
- <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.0r4/build/reset/reset.css">
- <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.0r4/build/fonts/fonts.css">
- <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.0r4/build/grid/grid.css">
- <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.0r4/build/base/base.css">
- <meta http-equiv="refresh" content="300">
-</head>
-<body>
-
-<div style="margin-left: auto; margin-right: auto;width:10em">
- <h1 style="text-align: center;">&euro;${model.sumToday}</h1>
-
- <div style="white-space: nowrap; text-align:center;">
- <span title="Sum yesterday">Y <b>&euro;${model.sumYesterday}</b></span> &nbsp;&nbsp;
- <span title="Daily average this month">M <b>&euro;${model.dayAverageThisMonth}</b></span>
- </div>
-</div>
-</body>
-</html> \ No newline at end of file
diff --git a/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/requestLicense.jsp b/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/requestLicense.jsp
deleted file mode 100644
index c8654663..00000000
--- a/subsonic-backend/src/main/webapp/WEB-INF/jsp/backend/requestLicense.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="iso-8859-1" %>
-
-<html>
-<head>
- <%@ include file="../head.jsp" %>
- <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.0r4/build/reset/reset.css">
- <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.0r4/build/fonts/fonts.css">
- <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.0r4/build/grid/grid.css">
- <link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.8.0r4/build/base/base.css">
-</head>
-<body>
-
-<h1>Resend Subsonic license key</h1>
-
-<c:if test="${empty model.email}">
- <p>Have you purchased a Subsonic license but lost the license key?</p>
-
- <p>Enter your email address below to have it resent to you.</p>
-</c:if>
-
-<c:if test="${not empty model.email and not model.valid}">
- <p>Sorry, no license key is associated to ${model.email}. Did you use a different email address when
- creating the payment on PayPal?</p>
-</c:if>
-
-<c:choose>
- <c:when test="${model.valid}">
- <p>Your license key has been sent to ${model.email}. Didn't get it? Please remember to check your spam
- folder.</p>
- </c:when>
- <c:otherwise>
- <form method="post" action="requestLicense.view">
- <label>Email address
- <input type="text" size="30" name="email">
- </label>
- <input type="submit" value="Send license key">
- </form>
- </c:otherwise>
-</c:choose>
-
-</body>
-</html> \ No newline at end of file
diff --git a/subsonic-backend/src/main/webapp/WEB-INF/jsp/head.jsp b/subsonic-backend/src/main/webapp/WEB-INF/jsp/head.jsp
deleted file mode 100644
index a8b170f4..00000000
--- a/subsonic-backend/src/main/webapp/WEB-INF/jsp/head.jsp
+++ /dev/null
@@ -1,3 +0,0 @@
-<%@ include file="include.jsp" %>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Subsonic</title>
diff --git a/subsonic-backend/src/main/webapp/WEB-INF/jsp/include.jsp b/subsonic-backend/src/main/webapp/WEB-INF/jsp/include.jsp
deleted file mode 100644
index 3758aa0a..00000000
--- a/subsonic-backend/src/main/webapp/WEB-INF/jsp/include.jsp
+++ /dev/null
@@ -1,7 +0,0 @@
-<%@ page session="false"%>
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
-<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
-<%@ taglib prefix="str" uri="http://jakarta.apache.org/taglibs/string-1.1" %>
diff --git a/subsonic-backend/src/main/webapp/WEB-INF/subsonic-backend-servlet.xml b/subsonic-backend/src/main/webapp/WEB-INF/subsonic-backend-servlet.xml
deleted file mode 100644
index d166d271..00000000
--- a/subsonic-backend/src/main/webapp/WEB-INF/subsonic-backend-servlet.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
-
- <bean id="multiController" class="net.sourceforge.subsonic.backend.controller.MultiController">
- <property name="daoHelper" ref="daoHelper"/>
- <property name="paymentDao" ref="paymentDao"/>
- <property name="whitelistGenerator" ref="whitelistGenerator"/>
- <property name="licenseGenerator" ref="licenseGenerator"/>
- </bean>
-
- <bean id="redirectionController" class="net.sourceforge.subsonic.backend.controller.RedirectionController">
- <property name="redirectionDao" ref="redirectionDao"/>
- </bean>
-
- <bean id="ipnController" class="net.sourceforge.subsonic.backend.controller.IPNController">
- <property name="paymentDao" ref="paymentDao"/>
- </bean>
-
- <bean id="redirectionManagementController" class="net.sourceforge.subsonic.backend.controller.RedirectionManagementController">
- <property name="redirectionDao" ref="redirectionDao"/>
- </bean>
-
- <bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
- <property name="alwaysUseFullPath" value="true"/>
- <property name="mappings">
- <props>
- <prop key="/backend/version.view">multiController</prop>
- <prop key="/backend/db.view">multiController</prop>
- <prop key="/backend/payment.view">multiController</prop>
- <prop key="/backend/sendMail.view">multiController</prop>
- <prop key="/backend/requestLicense.view">multiController</prop>
- <prop key="/backend/validateLicense.view">multiController</prop>
- <prop key="/backend/whitelist.view">multiController</prop>
- <prop key="/backend/ipn.view">ipnController</prop>
- <prop key="/backend/redirect/register.view">redirectionManagementController</prop>
- <prop key="/backend/redirect/unregister.view">redirectionManagementController</prop>
- <prop key="/backend/redirect/get.view">redirectionManagementController</prop>
- <prop key="/backend/redirect/test.view">redirectionManagementController</prop>
- <prop key="/backend/redirect/dump.view">redirectionManagementController</prop>
- <prop key="/**">redirectionController</prop>
- </props>
- </property>
- </bean>
-
- <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
- <property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
- <property name="prefix" value="/WEB-INF/jsp/"/>
- <property name="suffix" value=".jsp"/>
- </bean>
-
-</beans> \ No newline at end of file
diff --git a/subsonic-backend/src/main/webapp/WEB-INF/web.xml b/subsonic-backend/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 3e69f937..00000000
--- a/subsonic-backend/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<web-app id="subsonic-backend" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
-
- <display-name>Subsonic Backend</display-name>
-
- <!-- Location of application context. Used by ContextLoaderListener. -->
- <context-param>
- <param-name>contextConfigLocation</param-name>
- <param-value>
- /WEB-INF/applicationContext-backend.xml
- </param-value>
- </context-param>
-
- <listener>
- <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
- </listener>
-
- <servlet>
- <servlet-name>subsonic-backend</servlet-name>
- <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
- <load-on-startup>1</load-on-startup>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>subsonic-backend</servlet-name>
- <url-pattern>/</url-pattern>
- </servlet-mapping>
-
- <welcome-file-list>
- <welcome-file>index.html</welcome-file>
- <welcome-file>index.jsp</welcome-file>
- </welcome-file-list>
-
-</web-app> \ No newline at end of file