summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantinos Karantias <kostis@gtklocker.com>2010-12-29 21:56:36 +0200
committerKonstantinos Karantias <kostis@gtklocker.com>2010-12-29 21:56:36 +0200
commit7d4789e26d359c9fc6b3c67ac1478597a4ea91d4 (patch)
tree88ea71c490489141ecdf6276f2b10436a65e3c02
parentacf8c73de7e478804b5273fbdd2e7225f7976af9 (diff)
Stripped out unneeded things.
-rw-r--r--#urls.py#136
-rw-r--r--AUTHORS3
-rw-r--r--TODO4
-rw-r--r--TODO.txt9
-rw-r--r--local_settings.py.example42
5 files changed, 3 insertions, 191 deletions
diff --git a/#urls.py# b/#urls.py#
deleted file mode 100644
index 5c792035..00000000
--- a/#urls.py#
+++ /dev/null
@@ -1,136 +0,0 @@
-from django.conf.urls.defaults import *
-from django.conf import settings
-from django.contrib import admin
-
-from django.views.generic.simple import direct_to_template
-
-from main.models import Todolist
-from feeds import PackageFeed, NewsFeed
-import sitemaps
-
-sitemaps = {
- 'news': sitemaps.NewsSitemap,
- 'packages': sitemaps.PackagesSitemap,
- 'package-files': sitemaps.PackageFilesSitemap,
- 'package-groups': sitemaps.PackageGroupsSitemap,
-}
-
-admin.autodiscover()
-
-urlpatterns = patterns('',
- (r'^packages/flaghelp/$', 'packages.views.flaghelp'),
- (r'^packages/signoffs/$', 'packages.views.signoffs'),
- (r'^packages/signoff_package/(?P<arch>[A-z0-9]+)/(?P<pkgname>[A-z0-9\-+.]+)/$',
- 'packages.views.signoff_package'),
- (r'^packages/update/$', 'packages.views.update'),
-
- # Preference is for the packages/ url below, but search is kept
- # because other projects link to it
- (r'^packages/search/$', 'packages.views.search'),
- (r'^packages/search/(?P<page>\d+)/$', 'packages.views.search'),
- (r'^packages/differences/$', 'packages.views.arch_differences'),
- (r'^packages/$', 'packages.views.search'),
- (r'^packages/(?P<page>\d+)/$', 'packages.views.search'),
-
- (r'^packages/(?P<name>[A-z0-9\-+.]+)/$',
- 'packages.views.details'),
- (r'^packages/(?P<repo>[A-z0-9\-]+)/(?P<name>[A-z0-9\-+.]+)/$',
- 'packages.views.details'),
- (r'^packages/(?P<repo>[A-z0-9\-]+)/(?P<arch>[A-z0-9]+)/(?P<name>[A-z0-9\-+.]+)/$',
- 'packages.views.details'),
- (r'^packages/(?P<repo>[A-z0-9\-]+)/(?P<arch>[A-z0-9]+)/(?P<name>[A-z0-9\-+.]+)/files/$',
- 'packages.views.files'),
- (r'^packages/(?P<repo>[A-z0-9\-]+)/(?P<arch>[A-z0-9]+)/(?P<name>[A-z0-9\-+.]+)/maintainer/$',
- 'packages.views.getmaintainer'),
- (r'^packages/(?P<repo>[A-z0-9\-]+)/(?P<arch>[A-z0-9]+)/(?P<name>[A-z0-9\-+.]+)/flag/$',
- 'packages.views.flag'),
- (r'^packages/(?P<repo>[A-z0-9\-]+)/(?P<arch>[A-z0-9]+)/(?P<name>[A-z0-9\-+.]+)/unflag/$',
- 'packages.views.unflag'),
- (r'^packages/(?P<repo>[A-z0-9\-]+)/(?P<arch>[A-z0-9]+)/(?P<name>[A-z0-9\-+.]+)/download/$',
- 'packages.views.download'),
-
- (r'^groups/$', 'packages.views.groups'),
- (r'^groups/(?P<arch>[A-z0-9]+)/(?P<name>[A-z0-9\-+.]+)/$',
- 'packages.views.group_details'),
-
- (r'^todo/(\d+)/$', 'todolists.views.view'),
- (r'^todo/add/$', 'todolists.views.add'),
- (r'^todo/edit/(?P<list_id>\d+)/$', 'todolists.views.edit'),
- (r'^todo/flag/(\d+)/(\d+)/$', 'todolists.views.flag'),
- (r'^todo/delete/(?P<object_id>\d+)/$',
- 'todolists.views.delete_todolist'),
- (r'^todo/$', 'todolists.views.list'),
- (r'^todolists/$', 'todolists.views.public_list'),
-
- (r'^news/add/$', 'news.views.add'),
- (r'^news/preview/$', 'news.views.preview'),
- # old news URLs, permanent redirect view so we don't break all links
- (r'^news/(?P<object_id>\d+)/$', 'news.views.view_redirect'),
- (r'^news/(?P<slug>[-\w]+)/$', 'news.views.view'),
- (r'^news/(?P<slug>[-\w]+)/edit/$', 'news.views.edit'),
- (r'^news/(?P<slug>[-\w]+)/delete/$', 'news.views.delete'),
- (r'^news/$', 'news.views.news_list', {}, 'news-list'),
-
- (r'^mirrors/$', 'mirrors.views.mirrors', {}, 'mirrors-list'),
- (r'^mirrors/status/$', 'mirrors.views.status', {}, 'mirror-status'),
- (r'^mirrors/(?P<name>[\.\-\w]+)/$', 'mirrors.views.mirror_details'),
-
- (r'^mirrorlist/$', 'mirrors.views.generate_mirrorlist', {}, 'mirrorlist'),
- (r'^mirrorlist/all/$', 'mirrors.views.find_mirrors', {'countries': ['all']}),
- (r'^mirrorlist/all/ftp/$', 'mirrors.views.find_mirrors',
- {'countries': ['all'], 'protocols': ['ftp']}),
- (r'^mirrorlist/all/http/$', 'mirrors.views.find_mirrors',
- {'countries': ['all'], 'protocols': ['http']}),
-
- (r'^devel/$', 'devel.views.index'),
- (r'^devel/notify/$', 'devel.views.change_notify'),
- (r'^devel/profile/$', 'devel.views.change_profile'),
-
- (r'^devel/newuser/$', 'devel.views.new_user_form'),
-
-# Feeds and sitemaps
- (r'^feeds/$', 'public.views.feeds', {}, 'feeds-list'),
- (r'^feeds/news/$', NewsFeed()),
- (r'^feeds/packages/$', PackageFeed()),
- (r'^feeds/packages/(?P<arch>[A-z0-9]+)/$',
- PackageFeed()),
- (r'^feeds/packages/(?P<arch>[A-z0-9]+)/(?P<repo>[A-z0-9\-]+)/$',
- PackageFeed()),
- (r'^sitemap.xml$', 'django.contrib.sitemaps.views.index',
- {'sitemaps': sitemaps}),
- (r'^sitemap-(?P<section>.+)\.xml$', 'django.contrib.sitemaps.views.sitemap',
- {'sitemaps': sitemaps}),
-
-# Authentication / Admin
- (r'^login/$', 'django.contrib.auth.views.login', {
- 'template_name': 'registration/login.html'}),
- (r'^accounts/login/$', 'django.contrib.auth.views.login', {
- 'template_name': 'registration/login.html'}),
- (r'^logout/$', 'django.contrib.auth.views.logout', {
- 'template_name': 'registration/logout.html'}),
- (r'^accounts/logout/$', 'django.contrib.auth.views.logout', {
- 'template_name': 'registration/logout.html'}),
- (r'^admin/', include(admin.site.urls)),
-
-# (mostly) Static Pages
- (r'^$', 'public.views.index', {}, 'index'),
- (r'^about/$', direct_to_template, {'template': 'public/about.html'}, 'page-about'),
- (r'^art/$', direct_to_template, {'template': 'public/art.html'}, 'page-art'),
- (r'^svn/$', direct_to_template, {'template': 'public/svn.html'}, 'page-svn'),
- (r'^developers/$', 'public.views.userlist', { 'type':'Developers' }, 'page-devs'),
- (r'^trustedusers/$', 'public.views.userlist', { 'type':'Trusted Users' }, 'page-tus'),
- (r'^fellows/$', 'public.views.userlist', { 'type':'Fellows' }, 'page-fellows'),
- (r'^donate/$', 'public.views.donate', {}, 'page-donate'),
- (r'^download/$', 'public.views.download', {}, 'page-download'),
- (r'^opensearch/packages/$', 'packages.views.opensearch', {}, 'opensearch-packages'),
-
-# Some django internals we use
- (r'^jsi18n/$', 'django.views.i18n.null_javascript_catalog'),
-)
-
-if settings.DEBUG == True:
- urlpatterns += patterns('',
- (r'^media/(.*)$', 'django.views.static.serve',
- {'document_root': settings.DEPLOY_PATH+'/media'}))
-
-# vim: set ts=4 sw=4 et:
diff --git a/AUTHORS b/AUTHORS
index 1bfaaf00..279b6495 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -8,3 +8,6 @@ eliott <eliott@cactuswax.net>
Thayer Williams <thayer@archlinux.org>
Dusty Phillips <dusty@archlinux.org>
+# PARABOLAWEB AUTHORS
+Konstantinos Karantias <kostis@gtklocker.com>
+Nicolás Reynolds <fauno@kiwwwi.com.ar>
diff --git a/TODO b/TODO
deleted file mode 100644
index 608d8470..00000000
--- a/TODO
+++ /dev/null
@@ -1,4 +0,0 @@
-TODO:
- - refactor stats by templates in dashboard, maybe a templatetag
-
-
diff --git a/TODO.txt b/TODO.txt
deleted file mode 100644
index 52bfd514..00000000
--- a/TODO.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-[DONE] * rc.d script for bringing up the Django FCGI server
-[INCOMING] * point parabolagnulinux.org dns to the vserver
-[DONE] * import db.tar.gz to the website (dbscripts from archlinux.org should do that i think)
-[DONE] * check varnish to see if there's a correct amount of hits, last time i checked there was a lot of misses (not caching!)
-[WTF] [DONE] * create licenses.tar.gz and modify website to show licenses in the package profile
-[NO] * show source download link in package profile
-* show a link for reporting packages as being/containing nonfree software on package profile
-[NO] * multilanguage site!
-* install a new wiki or apply the new design to mediawiki
diff --git a/local_settings.py.example b/local_settings.py.example
deleted file mode 100644
index 9af4ebc8..00000000
--- a/local_settings.py.example
+++ /dev/null
@@ -1,42 +0,0 @@
-### Django settings for archlinux project.
-
-## Debug settings
-DEBUG = False
-
-## Notification admins
-ADMINS = (
- # ('Joe Admin', 'joeadmin@example.com'),
-)
-
-## Sqlite Database settings
-#DATABASE_ENGINE = 'sqlite3'
-#DATABASE_NAME = 'archweb.db'
-
-## MySQL Database settings
-#DATABASE_ENGINE = 'mysql'
-#DATABASE_NAME = 'archlinux'
-#DATABASE_USER = 'archlinux'
-#DATABASE_PASSWORD = 'archlinux'
-#DATABASE_HOST = ''
-#DATABASE_PORT = ''
-
-## Define cache middleware settings
-CACHE_BACKEND = 'memcached://127.0.0.1:11211'
-CACHE_MIDDLEWARE_SECONDS = 900
-CACHE_MIDDLEWARE_KEY_PREFIX = 'arch'
-
-## location for saving dev pictures
-MEDIA_ROOT = '/var/www/archlinux/htdocs/img/'
-
-## web url for serving image files
-MEDIA_URL = 'http://www.archlinux.org/img/'
-
-## Make this unique, and don't share it with anybody.
-SECRET_KEY = '00000000000000000000000000000000000000000000000'
-
-#dummy cache
-if DEBUG:
- CACHE_BACKEND = 'dummy:///'
-
-# vim: set ts=4 sw=4 et:
-