Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
Initial push of the mkII Django port, with the new auth system
Browse files Browse the repository at this point in the history
  • Loading branch information
benosteen committed Oct 22, 2012
1 parent 5304724 commit 29a57c2
Show file tree
Hide file tree
Showing 114 changed files with 8,222 additions and 0 deletions.
23 changes: 23 additions & 0 deletions django/LICENCE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
The MIT License

Copyright (c) 2012, University of Oxford

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


3 changes: 3 additions & 0 deletions django/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include rdfdatabank/config/deployment.ini_tmpl
recursive-include rdfdatabank/public *
recursive-include rdfdatabank/templates *
6 changes: 6 additions & 0 deletions django/debian/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
The Debian Package databank
----------------------------

Comments regarding the Package

-- Anusha Ranganathan <[email protected]> Thu, 03 May 2012 09:08:50 +0000
43 changes: 43 additions & 0 deletions django/debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
databank (0.3rc3) unstable; urgency=low

* Mod-wsgi and metadata update fixes to Sword server
* Minor user interface changes

-- Anusha Ranganathan <[email protected]> Thu, 03 May 2012 09:08:50 +0000

databank (0.3rc2) unstable; urgency=low

* Extended API to post a file without first having to create a data package
* New Databank authentication and authorization module.
- Designed to work with repoze.what and sqlalchemy.
- User and membership information stored in a mysql database
* Databank API extended to administer silos, users, and user membership
- Databank ui has new adminstration pages in line with api functionality
* Sword server packaged with databank

-- Anusha Ranganathan <[email protected]> Fri, 27 Apr 2012 09:08:50 +0000

databank (0.3rc1) unstable; urgency=low

* Basic support for sword deposit
* Databank search interface enhanced
* Added function to PUT a zipfile and unpack it
* content negotiation also on error messages
* Added message workers for data indexing

-- Anusha Ranganathan <[email protected]> Mon, 09 Apr 2012 17:08:50 +0000


databank (0.2) unstable; urgency=low

* Added message workers
* Databank root set to /var/lib/databank

-- Anusha Ranganathan <[email protected]> Fri, 09 Mar 2012 17:08:50 +0000


databank (0.1) unstable; urgency=low

* Initial Release.

-- Anusha Ranganathan <[email protected]> Tue, 21 Feb 2012 17:08:50 +0000
1 change: 1 addition & 0 deletions django/debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7
43 changes: 43 additions & 0 deletions django/debian/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#!/bin/sh -e

# Source debconf library.
. /usr/share/debconf/confmodule

# Admin email?
db_input critical databank/email || true
db_go

# SMTP server?
db_input high databank/smtpserver || true
db_go

# Storgae area?
db_input high databank/store || true
db_go

# Databank URI?
db_input critical databank/uri || true
db_go

#Configure SOLR
db_input high databank/confsolr || true
db_go

#Note on configuring SOLR
#db_input high databank/nosolrconf || true
#db_go

# Password?
db_input critical databank/password || true
db_go

# Note on Password
#db_input critical databank/passwdnote || true
#db_go

# Set default database name, database user
if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
. /usr/share/dbconfig-common/dpkg/config.mysql
dbc_go databank $@
fi

44 changes: 44 additions & 0 deletions django/debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
Source: databank
Section: web
Priority: extra
Maintainer: Anusha Ranganathan <[email protected]>
Build-Depends: debhelper (>= 7)
Standards-Version: 3.9.2
Vcs-Git: git://github.com/dataflow/RDFDatabank.git
Homepage: https://github.com/dataflow/RDFDatabank
Uploaders: Anusha Ranganathan <[email protected]>
XS-Python-Version: >= 2.6

Package: databank
Architecture: all
Depends: python,
python-dev,
python-setuptools,
python-virtualenv,
python-rdflib,
python-dateutil,
python-pairtree,
python-recordsilo,
python-solrpy,
python-redis,
mysql-server,
libmysql++-dev,
git-core,
unzip,
libxml2,
libxml2-dev,
libxslt1.1,
libxslt-dev,
apache2,
apache2-utils,
libapache2-mod-wsgi,
redis-server,
supervisor,
openjdk-6-jre,
debconf,
dbconfig-common
Recommends: solr-tomcat,
mysql-client
Description: RDF-enhanced, pairtree-backed storage API
Databank is a simple, RDF-enhanced storage API which is backed by pairtree,
for the safe storage of and access to data.
42 changes: 42 additions & 0 deletions django/debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
This work was packaged for Debian by:

Anusha Ranganathan <[email protected]> on Thu, 03 May 2012 09:08:50 +0000

It was downloaded from:

https://github.com/dataflow/RDFDatabank

Upstream Author(s):

Anusha Ranganathan <[email protected]>
Ben O'Steen <[email protected]>

Copyright:

Copyright (C) 2012 University of Oxford

License:

MIT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

The Debian packaging is:

Copyright (C) 2012 University of Oxford
and is licensed under the MIT License. See above.
18 changes: 18 additions & 0 deletions django/debian/databank.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
docs/apache_config/databank_wsgi /etc/default/databank/
docs/apache_config/databank_ve26_wsgi /etc/default/databank/
docs/apache_config/databank_ve27_wsgi /etc/default/databank/
docs/solr_config/conf/schema.xml /etc/default/databank/
production.ini /etc/default/databank/
development.ini /etc/default/databank/
sss.conf.json /etc/default/databank/
MANIFEST.in /var/lib/databank/
mod_wsgi /var/lib/databank/
message_workers/ /var/lib/databank/
rdfdatabank/ /var/lib/databank/
rdfdatabank.egg-info/ /var/lib/databank
test.ini /var/lib/databank/
who.ini /var/lib/databank/
sss/ /var/lib/databank/
add_user.py /var/lib/databank/
setup_db.py /var/lib/databank/
persisted_state.json /var/lib/databank/
4 changes: 4 additions & 0 deletions django/debian/dirs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/usr/share/databank
usr/share/dbconfig-common/data/databank/install/mysql
usr/share/dbconfig-common/data/databank/upgrade/mysql
/etc/default/databank
7 changes: 7 additions & 0 deletions django/debian/docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
LICENCE.txt
README.txt
requirements.txt
docs/assigning_dois
docs/Databank_VM_Installation.txt
docs/Dependencies.txt
docs/using_databank_api
Loading

0 comments on commit 29a57c2

Please sign in to comment.