summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-02-22 15:53:58 +0000
committerrandomdan <randomdan@localhost>2011-02-22 15:53:58 +0000
commit32ab47ed36595eb7af39e8d57c176022c0195cbc (patch)
tree66006d4a6c876bf1e40a1e645eab54da9b61cb13
parentRename rowsets so they are unique (diff)
downloadgentoobrowse-32ab47ed36595eb7af39e8d57c176022c0195cbc.tar.bz2
gentoobrowse-32ab47ed36595eb7af39e8d57c176022c0195cbc.tar.xz
gentoobrowse-32ab47ed36595eb7af39e8d57c176022c0195cbc.zip
Move stuff round to tidy it up and add HTTP permissions to deny access to P2 config files
-rw-r--r--gentoobrowse/checks/.htaccess1
-rw-r--r--gentoobrowse/console/.htaccess1
-rw-r--r--gentoobrowse/css/screen.css (renamed from gentoobrowse/style.css)0
-rw-r--r--gentoobrowse/datasources/.htaccess1
-rw-r--r--gentoobrowse/emails/.htaccess1
-rw-r--r--gentoobrowse/present/.htaccess1
-rw-r--r--gentoobrowse/present/accountHome.xml2
-rw-r--r--gentoobrowse/present/accountTracked.xml2
-rw-r--r--gentoobrowse/present/atom.xml2
-rw-r--r--gentoobrowse/present/categories.xml2
-rw-r--r--gentoobrowse/present/category.xml2
-rw-r--r--gentoobrowse/present/confirm.xml2
-rw-r--r--gentoobrowse/present/herd.xml2
-rw-r--r--gentoobrowse/present/index.xml2
-rw-r--r--gentoobrowse/present/login.xml2
-rw-r--r--gentoobrowse/present/package.xml2
-rw-r--r--gentoobrowse/present/popular.xml2
-rw-r--r--gentoobrowse/present/search.xml2
-rw-r--r--gentoobrowse/present/signup.xml2
-rw-r--r--gentoobrowse/request/.htaccess1
-rw-r--r--gentoobrowse/tasks/.htaccess1
-rw-r--r--gentoobrowse/views/.htaccess1
-rw-r--r--gentoobrowse/xslt/.htaccess1
-rw-r--r--gentoobrowse/xslt/atomebuilds.xslt (renamed from gentoobrowse/atomebuilds.xslt)0
-rw-r--r--gentoobrowse/xslt/base.xslt (renamed from gentoobrowse/base.xslt)2
-rw-r--r--gentoobrowse/xslt/categories.xslt (renamed from gentoobrowse/categories.xslt)0
-rw-r--r--gentoobrowse/xslt/category.xslt (renamed from gentoobrowse/category.xslt)0
-rw-r--r--gentoobrowse/xslt/form.xslt (renamed from gentoobrowse/form.xslt)0
-rw-r--r--gentoobrowse/xslt/herd.xslt (renamed from gentoobrowse/herd.xslt)0
-rw-r--r--gentoobrowse/xslt/home.xslt (renamed from gentoobrowse/home.xslt)0
-rw-r--r--gentoobrowse/xslt/login.xslt (renamed from gentoobrowse/login.xslt)0
-rw-r--r--gentoobrowse/xslt/package.xslt (renamed from gentoobrowse/package.xslt)0
-rw-r--r--gentoobrowse/xslt/popular.xslt (renamed from gentoobrowse/popular.xslt)0
-rw-r--r--gentoobrowse/xslt/search.xslt (renamed from gentoobrowse/search.xslt)0
34 files changed, 23 insertions, 14 deletions
diff --git a/gentoobrowse/checks/.htaccess b/gentoobrowse/checks/.htaccess
new file mode 100644
index 0000000..e13f618
--- /dev/null
+++ b/gentoobrowse/checks/.htaccess
@@ -0,0 +1 @@
+Order allow,deny
diff --git a/gentoobrowse/console/.htaccess b/gentoobrowse/console/.htaccess
new file mode 100644
index 0000000..e13f618
--- /dev/null
+++ b/gentoobrowse/console/.htaccess
@@ -0,0 +1 @@
+Order allow,deny
diff --git a/gentoobrowse/style.css b/gentoobrowse/css/screen.css
index 6d5d2f9..6d5d2f9 100644
--- a/gentoobrowse/style.css
+++ b/gentoobrowse/css/screen.css
diff --git a/gentoobrowse/datasources/.htaccess b/gentoobrowse/datasources/.htaccess
new file mode 100644
index 0000000..e13f618
--- /dev/null
+++ b/gentoobrowse/datasources/.htaccess
@@ -0,0 +1 @@
+Order allow,deny
diff --git a/gentoobrowse/emails/.htaccess b/gentoobrowse/emails/.htaccess
new file mode 100644
index 0000000..e13f618
--- /dev/null
+++ b/gentoobrowse/emails/.htaccess
@@ -0,0 +1 @@
+Order allow,deny
diff --git a/gentoobrowse/present/.htaccess b/gentoobrowse/present/.htaccess
new file mode 100644
index 0000000..e13f618
--- /dev/null
+++ b/gentoobrowse/present/.htaccess
@@ -0,0 +1 @@
+Order allow,deny
diff --git a/gentoobrowse/present/accountHome.xml b/gentoobrowse/present/accountHome.xml
index 9186f75..0fe891f 100644
--- a/gentoobrowse/present/accountHome.xml
+++ b/gentoobrowse/present/accountHome.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<view name="index" root="gentoo" contenttype="text/xml-xslt" style="login.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
+<view name="index" root="gentoo" contenttype="text/xml-xslt" style="xslt/login.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:project2="http://project2.randomdan.homeip.net">
<xi:include href="../views/webcommon.xml" />
<xi:include href="../checks/loggedIn.xml" />
diff --git a/gentoobrowse/present/accountTracked.xml b/gentoobrowse/present/accountTracked.xml
index 18a72a0..8a01b7b 100644
--- a/gentoobrowse/present/accountTracked.xml
+++ b/gentoobrowse/present/accountTracked.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<view name="index" root="gentoo" contenttype="text/xml-xslt" style="login.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
+<view name="index" root="gentoo" contenttype="text/xml-xslt" style="xslt/login.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:project2="http://project2.randomdan.homeip.net">
<xi:include href="../checks/loggedIn.xml" />
<xi:include href="../views/tracked.xml" />
diff --git a/gentoobrowse/present/atom.xml b/gentoobrowse/present/atom.xml
index 040497f..252a0bc 100644
--- a/gentoobrowse/present/atom.xml
+++ b/gentoobrowse/present/atom.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<view name="atomebuilds" root="gentoo" contenttype="text/xml-xslt" style="atomebuilds.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
+<view name="atomebuilds" root="gentoo" contenttype="text/xml-xslt" style="xslt/atomebuilds.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:project2="http://project2.randomdan.homeip.net">
<xi:include href="../views/newebuildsatom.xml" />
<project2:view name="atomebuilds" source="newebuilds" rootname="newebuilds" recordname="ebuild">
diff --git a/gentoobrowse/present/categories.xml b/gentoobrowse/present/categories.xml
index ae982ce..c322864 100644
--- a/gentoobrowse/present/categories.xml
+++ b/gentoobrowse/present/categories.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<view name="categories" root="gentoo" contenttype="text/xml-xslt" style="categories.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
+<view name="categories" root="gentoo" contenttype="text/xml-xslt" style="xslt/categories.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:project2="http://project2.randomdan.homeip.net">
<xi:include href="../views/categories.xml" />
<xi:include href="../views/webcommon.xml" />
diff --git a/gentoobrowse/present/category.xml b/gentoobrowse/present/category.xml
index d47a33b..a7cbb84 100644
--- a/gentoobrowse/present/category.xml
+++ b/gentoobrowse/present/category.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<view name="category" root="gentoo" contenttype="text/xml-xslt" style="category.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
+<view name="category" root="gentoo" contenttype="text/xml-xslt" style="xslt/category.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:project2="http://project2.randomdan.homeip.net">
<xi:include href="../views/category.xml" />
<xi:include href="../views/webcommon.xml" />
diff --git a/gentoobrowse/present/confirm.xml b/gentoobrowse/present/confirm.xml
index d855b42..98b7240 100644
--- a/gentoobrowse/present/confirm.xml
+++ b/gentoobrowse/present/confirm.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<view name="confirm" root="gentoo" contenttype="text/xml-xslt" style="login.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
+<view name="confirm" root="gentoo" contenttype="text/xml-xslt" style="xslt/login.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:project2="http://project2.randomdan.homeip.net">
<xi:include href="../views/webcommon.xml" />
<project2:rawview>
diff --git a/gentoobrowse/present/herd.xml b/gentoobrowse/present/herd.xml
index c885336..8f38249 100644
--- a/gentoobrowse/present/herd.xml
+++ b/gentoobrowse/present/herd.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<view name="popular" root="gentoo" contenttype="text/xml-xslt" style="herd.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
+<view name="popular" root="gentoo" contenttype="text/xml-xslt" style="xslt/herd.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:project2="http://project2.randomdan.homeip.net">
<xi:include href="../views/search.xml" />
<xi:include href="../views/webcommon.xml" />
diff --git a/gentoobrowse/present/index.xml b/gentoobrowse/present/index.xml
index 40b97d4..054590f 100644
--- a/gentoobrowse/present/index.xml
+++ b/gentoobrowse/present/index.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<view name="index" root="gentoo" contenttype="text/xml-xslt" style="home.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
+<view name="index" root="gentoo" contenttype="text/xml-xslt" style="xslt/home.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:project2="http://project2.randomdan.homeip.net">
<xi:include href="../views/newebuilds.xml" />
<xi:include href="../views/webcommon.xml" />
diff --git a/gentoobrowse/present/login.xml b/gentoobrowse/present/login.xml
index 545d3d5..09a7e37 100644
--- a/gentoobrowse/present/login.xml
+++ b/gentoobrowse/present/login.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<view name="login" root="gentoo" contenttype="text/xml-xslt" style="login.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
+<view name="login" root="gentoo" contenttype="text/xml-xslt" style="xslt/login.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:project2="http://project2.randomdan.homeip.net">
<xi:include href="../views/webcommon.xml" />
<project2:rawview>
diff --git a/gentoobrowse/present/package.xml b/gentoobrowse/present/package.xml
index 06a3b73..1379663 100644
--- a/gentoobrowse/present/package.xml
+++ b/gentoobrowse/present/package.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<view name="package" root="gentoo" contenttype="text/xml-xslt" style="package.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
+<view name="package" root="gentoo" contenttype="text/xml-xslt" style="xslt/package.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:project2="http://project2.randomdan.homeip.net">
<xi:include href="../views/package.xml" />
<xi:include href="../views/webcommon.xml" />
diff --git a/gentoobrowse/present/popular.xml b/gentoobrowse/present/popular.xml
index feb0f0a..6f1878d 100644
--- a/gentoobrowse/present/popular.xml
+++ b/gentoobrowse/present/popular.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<view name="popular" root="gentoo" contenttype="text/xml-xslt" style="popular.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
+<view name="popular" root="gentoo" contenttype="text/xml-xslt" style="xslt/popular.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:project2="http://project2.randomdan.homeip.net">
<xi:include href="../views/popular.xml" />
<xi:include href="../views/webcommon.xml" />
diff --git a/gentoobrowse/present/search.xml b/gentoobrowse/present/search.xml
index cb48280..f2378ab 100644
--- a/gentoobrowse/present/search.xml
+++ b/gentoobrowse/present/search.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<view name="search" root="gentoo" contenttype="text/xml-xslt" style="search.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
+<view name="search" root="gentoo" contenttype="text/xml-xslt" style="xslt/search.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:project2="http://project2.randomdan.homeip.net">
<xi:include href="../views/search.xml" />
<xi:include href="../views/webcommon.xml" />
diff --git a/gentoobrowse/present/signup.xml b/gentoobrowse/present/signup.xml
index 7c66d7f..d818016 100644
--- a/gentoobrowse/present/signup.xml
+++ b/gentoobrowse/present/signup.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<view name="index" root="gentoo" contenttype="text/xml-xslt" style="login.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
+<view name="index" root="gentoo" contenttype="text/xml-xslt" style="xslt/login.xslt" xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:project2="http://project2.randomdan.homeip.net">
<xi:include href="../views/webcommon.xml" />
<project2:rawview>
diff --git a/gentoobrowse/request/.htaccess b/gentoobrowse/request/.htaccess
new file mode 100644
index 0000000..e13f618
--- /dev/null
+++ b/gentoobrowse/request/.htaccess
@@ -0,0 +1 @@
+Order allow,deny
diff --git a/gentoobrowse/tasks/.htaccess b/gentoobrowse/tasks/.htaccess
new file mode 100644
index 0000000..e13f618
--- /dev/null
+++ b/gentoobrowse/tasks/.htaccess
@@ -0,0 +1 @@
+Order allow,deny
diff --git a/gentoobrowse/views/.htaccess b/gentoobrowse/views/.htaccess
new file mode 100644
index 0000000..e13f618
--- /dev/null
+++ b/gentoobrowse/views/.htaccess
@@ -0,0 +1 @@
+Order allow,deny
diff --git a/gentoobrowse/xslt/.htaccess b/gentoobrowse/xslt/.htaccess
new file mode 100644
index 0000000..e13f618
--- /dev/null
+++ b/gentoobrowse/xslt/.htaccess
@@ -0,0 +1 @@
+Order allow,deny
diff --git a/gentoobrowse/atomebuilds.xslt b/gentoobrowse/xslt/atomebuilds.xslt
index bd18e12..bd18e12 100644
--- a/gentoobrowse/atomebuilds.xslt
+++ b/gentoobrowse/xslt/atomebuilds.xslt
diff --git a/gentoobrowse/base.xslt b/gentoobrowse/xslt/base.xslt
index 1d4b254..eecc5de 100644
--- a/gentoobrowse/base.xslt
+++ b/gentoobrowse/xslt/base.xslt
@@ -7,7 +7,7 @@
<xsl:template match="/gentoo">
<html>
<head>
- <link rel="stylesheet" href="/style.css" type="text/css" />
+ <link rel="stylesheet" href="/css/screen.css" type="text/css" />
<link rel="shortcut icon" href="/images/glogo-small.png" type="image/png" />
<link rel="start" href="/" />
<link rel="search" href="/search" />
diff --git a/gentoobrowse/categories.xslt b/gentoobrowse/xslt/categories.xslt
index 95ebd9e..95ebd9e 100644
--- a/gentoobrowse/categories.xslt
+++ b/gentoobrowse/xslt/categories.xslt
diff --git a/gentoobrowse/category.xslt b/gentoobrowse/xslt/category.xslt
index e6fd355..e6fd355 100644
--- a/gentoobrowse/category.xslt
+++ b/gentoobrowse/xslt/category.xslt
diff --git a/gentoobrowse/form.xslt b/gentoobrowse/xslt/form.xslt
index 4fd35e2..4fd35e2 100644
--- a/gentoobrowse/form.xslt
+++ b/gentoobrowse/xslt/form.xslt
diff --git a/gentoobrowse/herd.xslt b/gentoobrowse/xslt/herd.xslt
index 7e02a9c..7e02a9c 100644
--- a/gentoobrowse/herd.xslt
+++ b/gentoobrowse/xslt/herd.xslt
diff --git a/gentoobrowse/home.xslt b/gentoobrowse/xslt/home.xslt
index df4e302..df4e302 100644
--- a/gentoobrowse/home.xslt
+++ b/gentoobrowse/xslt/home.xslt
diff --git a/gentoobrowse/login.xslt b/gentoobrowse/xslt/login.xslt
index 8f9d4d1..8f9d4d1 100644
--- a/gentoobrowse/login.xslt
+++ b/gentoobrowse/xslt/login.xslt
diff --git a/gentoobrowse/package.xslt b/gentoobrowse/xslt/package.xslt
index 11eb475..11eb475 100644
--- a/gentoobrowse/package.xslt
+++ b/gentoobrowse/xslt/package.xslt
diff --git a/gentoobrowse/popular.xslt b/gentoobrowse/xslt/popular.xslt
index 53b88ef..53b88ef 100644
--- a/gentoobrowse/popular.xslt
+++ b/gentoobrowse/xslt/popular.xslt
diff --git a/gentoobrowse/search.xslt b/gentoobrowse/xslt/search.xslt
index 06bd5b7..06bd5b7 100644
--- a/gentoobrowse/search.xslt
+++ b/gentoobrowse/xslt/search.xslt