aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojciech Polak <polak@gnu.org>2014-01-09 19:58:09 +0100
committerWojciech Polak <polak@gnu.org>2014-01-09 21:20:27 +0100
commitb2c9a785470c463fb64e078df5e04e9a82ecc070 (patch)
treee2b2f22bb1761c7afe1ba95147d156b7c38c12c6
parentd681f33b981a1792abfcb0300008a4b281eab0bc (diff)
downloadglifestream-b2c9a785470c463fb64e078df5e04e9a82ecc070.tar.gz
glifestream-b2c9a785470c463fb64e078df5e04e9a82ecc070.tar.bz2
Change project's folder layout.
-rw-r--r--.gitignore7
-rw-r--r--TODO5
-rw-r--r--glifestream/__init__.py (renamed from __init__.py)0
-rw-r--r--glifestream/apis/__init__.py (renamed from apis/__init__.py)0
-rw-r--r--glifestream/apis/delicious.py (renamed from apis/delicious.py)0
-rw-r--r--glifestream/apis/digg.py (renamed from apis/digg.py)0
-rw-r--r--glifestream/apis/fb.py (renamed from apis/fb.py)0
-rw-r--r--glifestream/apis/flickr.py (renamed from apis/flickr.py)0
-rw-r--r--glifestream/apis/friendfeed.py (renamed from apis/friendfeed.py)0
-rw-r--r--glifestream/apis/greader.py (renamed from apis/greader.py)0
-rw-r--r--glifestream/apis/identica.py (renamed from apis/identica.py)0
-rw-r--r--glifestream/apis/lastfm.py (renamed from apis/lastfm.py)0
-rw-r--r--glifestream/apis/mail.py (renamed from apis/mail.py)0
-rw-r--r--glifestream/apis/picasaweb.py (renamed from apis/picasaweb.py)0
-rw-r--r--glifestream/apis/selfposts.py (renamed from apis/selfposts.py)0
-rw-r--r--glifestream/apis/stumbleupon.py (renamed from apis/stumbleupon.py)0
-rw-r--r--glifestream/apis/twitter.py (renamed from apis/twitter.py)0
-rw-r--r--glifestream/apis/vimeo.py (renamed from apis/vimeo.py)0
-rw-r--r--glifestream/apis/webfeed.py (renamed from apis/webfeed.py)0
-rw-r--r--glifestream/apis/yelp.py (renamed from apis/yelp.py)0
-rw-r--r--glifestream/apis/youtube.py (renamed from apis/youtube.py)0
-rw-r--r--glifestream/bookmarklet/__init__.py (renamed from bookmarklet/__init__.py)0
-rw-r--r--glifestream/bookmarklet/templates/bookmarklet.js (renamed from bookmarklet/templates/bookmarklet.js)0
-rw-r--r--glifestream/bookmarklet/templates/frame.html (renamed from bookmarklet/templates/frame.html)0
-rw-r--r--glifestream/bookmarklet/urls.py (renamed from bookmarklet/urls.py)0
-rw-r--r--glifestream/bookmarklet/views.py (renamed from bookmarklet/views.py)0
-rw-r--r--glifestream/filters/__init__.py (renamed from filters/__init__.py)0
-rw-r--r--glifestream/filters/expand.py (renamed from filters/expand.py)0
-rw-r--r--glifestream/filters/truncate.py (renamed from filters/truncate.py)0
-rw-r--r--glifestream/filters/twyntax.py (renamed from filters/twyntax.py)0
-rw-r--r--glifestream/gauth/__init__.py (renamed from gauth/__init__.py)0
-rw-r--r--glifestream/gauth/admin.py (renamed from gauth/admin.py)0
-rw-r--r--glifestream/gauth/forms.py (renamed from gauth/forms.py)0
-rw-r--r--glifestream/gauth/gls_oauth.py (renamed from gauth/gls_oauth.py)0
-rw-r--r--glifestream/gauth/gls_openid.py (renamed from gauth/gls_openid.py)0
-rw-r--r--glifestream/gauth/models.py (renamed from gauth/models.py)0
-rw-r--r--glifestream/gauth/templates/login.html (renamed from gauth/templates/login.html)0
-rw-r--r--glifestream/gauth/templates/openid.html (renamed from gauth/templates/openid.html)0
-rw-r--r--glifestream/gauth/urls.py (renamed from gauth/urls.py)0
-rw-r--r--glifestream/gauth/views.py (renamed from gauth/views.py)0
-rw-r--r--glifestream/settings-sample.py (renamed from settings-sample.py)13
-rw-r--r--glifestream/stream/__init__.py (renamed from stream/__init__.py)0
-rw-r--r--glifestream/stream/admin.py (renamed from stream/admin.py)0
-rw-r--r--glifestream/stream/fixtures/initial_data.json (renamed from stream/fixtures/initial_data.json)0
-rw-r--r--glifestream/stream/media.py (renamed from stream/media.py)0
-rw-r--r--glifestream/stream/models.py (renamed from stream/models.py)0
-rw-r--r--glifestream/stream/pshb.py (renamed from stream/pshb.py)0
-rw-r--r--glifestream/stream/templatetags/__init__.py (renamed from stream/templatetags/__init__.py)0
-rw-r--r--glifestream/stream/templatetags/gls_filters.py (renamed from stream/templatetags/gls_filters.py)0
-rw-r--r--glifestream/stream/templatetags/media.py (renamed from stream/templatetags/media.py)0
-rw-r--r--glifestream/stream/views.py (renamed from stream/views.py)0
-rw-r--r--glifestream/templates/404.html (renamed from templates/404.html)0
-rw-r--r--glifestream/templates/500.html (renamed from templates/500.html)0
-rw-r--r--glifestream/templates/base.html (renamed from templates/base.html)0
-rw-r--r--glifestream/templates/i18n.html (renamed from templates/i18n.html)0
-rw-r--r--glifestream/templates/stream-pure.html (renamed from templates/stream-pure.html)0
-rw-r--r--glifestream/templates/stream.atom (renamed from templates/stream.atom)0
-rw-r--r--glifestream/templates/stream.html (renamed from templates/stream.html)0
-rw-r--r--glifestream/templates/stream.json (renamed from templates/stream.json)0
-rw-r--r--glifestream/urls.py (renamed from urls.py)0
-rw-r--r--glifestream/usettings/__init__.py (renamed from usettings/__init__.py)0
-rw-r--r--glifestream/usettings/templates/lists.html (renamed from usettings/templates/lists.html)0
-rw-r--r--glifestream/usettings/templates/oauth.html (renamed from usettings/templates/oauth.html)0
-rw-r--r--glifestream/usettings/templates/oid.html (renamed from usettings/templates/oid.html)0
-rw-r--r--glifestream/usettings/templates/opml.xml (renamed from usettings/templates/opml.xml)0
-rw-r--r--glifestream/usettings/templates/pshb.html (renamed from usettings/templates/pshb.html)0
-rw-r--r--glifestream/usettings/templates/services.html (renamed from usettings/templates/services.html)0
-rw-r--r--glifestream/usettings/templates/settings.html (renamed from usettings/templates/settings.html)0
-rw-r--r--glifestream/usettings/templates/tools.html (renamed from usettings/templates/tools.html)0
-rw-r--r--glifestream/usettings/urls.py (renamed from usettings/urls.py)0
-rw-r--r--glifestream/usettings/views.py (renamed from usettings/views.py)0
-rw-r--r--glifestream/utils/__init__.py (renamed from utils/__init__.py)0
-rw-r--r--glifestream/utils/common.py (renamed from utils/common.py)0
-rw-r--r--glifestream/utils/html.py (renamed from utils/html.py)0
-rw-r--r--glifestream/utils/httpclient.py (renamed from utils/httpclient.py)0
-rw-r--r--glifestream/utils/oembed.py (renamed from utils/oembed.py)0
-rw-r--r--glifestream/utils/slugify.py (renamed from utils/slugify.py)0
-rw-r--r--glifestream/utils/time.py (renamed from utils/time.py)0
-rw-r--r--glifestream/wsgi.py (renamed from wsgi.py)0
-rw-r--r--manage.py17
-rwxr-xr-xworker.py9
81 files changed, 27 insertions, 24 deletions
diff --git a/.gitignore b/.gitignore
index 7359720..55b794e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
+*~
*.pyc
@@ -3,3 +4,5 @@
*.mo
-*~
+bin/
+include/
+lib/
settings.py
@@ -7,2 +10,2 @@ static/thumbs
static/upload
-templates/user-*
+glifestream/templates/user-*
diff --git a/TODO b/TODO
deleted file mode 100644
index ef193b1..0000000
--- a/TODO
+++ /dev/null
@@ -1,5 +0,0 @@
-TO DO:
-
-* Comments (internal, Salmon Protocol).
-
-Help us by contributing new solutions and code!
diff --git a/__init__.py b/glifestream/__init__.py
index e69de29..e69de29 100644
--- a/__init__.py
+++ b/glifestream/__init__.py
diff --git a/apis/__init__.py b/glifestream/apis/__init__.py
index 9f97186..9f97186 100644
--- a/apis/__init__.py
+++ b/glifestream/apis/__init__.py
diff --git a/apis/delicious.py b/glifestream/apis/delicious.py
index 3fc98c3..3fc98c3 100644
--- a/apis/delicious.py
+++ b/glifestream/apis/delicious.py
diff --git a/apis/digg.py b/glifestream/apis/digg.py
index 61da7ce..61da7ce 100644
--- a/apis/digg.py
+++ b/glifestream/apis/digg.py
diff --git a/apis/fb.py b/glifestream/apis/fb.py
index f0cea78..f0cea78 100644
--- a/apis/fb.py
+++ b/glifestream/apis/fb.py
diff --git a/apis/flickr.py b/glifestream/apis/flickr.py
index 4651313..4651313 100644
--- a/apis/flickr.py
+++ b/glifestream/apis/flickr.py
diff --git a/apis/friendfeed.py b/glifestream/apis/friendfeed.py
index 8156cbd..8156cbd 100644
--- a/apis/friendfeed.py
+++ b/glifestream/apis/friendfeed.py
diff --git a/apis/greader.py b/glifestream/apis/greader.py
index 4f4be48..4f4be48 100644
--- a/apis/greader.py
+++ b/glifestream/apis/greader.py
diff --git a/apis/identica.py b/glifestream/apis/identica.py
index f404bb4..f404bb4 100644
--- a/apis/identica.py
+++ b/glifestream/apis/identica.py
diff --git a/apis/lastfm.py b/glifestream/apis/lastfm.py
index 35104ad..35104ad 100644
--- a/apis/lastfm.py
+++ b/glifestream/apis/lastfm.py
diff --git a/apis/mail.py b/glifestream/apis/mail.py
index 627ba3d..627ba3d 100644
--- a/apis/mail.py
+++ b/glifestream/apis/mail.py
diff --git a/apis/picasaweb.py b/glifestream/apis/picasaweb.py
index fc75edf..fc75edf 100644
--- a/apis/picasaweb.py
+++ b/glifestream/apis/picasaweb.py
diff --git a/apis/selfposts.py b/glifestream/apis/selfposts.py
index 710737f..710737f 100644
--- a/apis/selfposts.py
+++ b/glifestream/apis/selfposts.py
diff --git a/apis/stumbleupon.py b/glifestream/apis/stumbleupon.py
index b6711a4..b6711a4 100644
--- a/apis/stumbleupon.py
+++ b/glifestream/apis/stumbleupon.py
diff --git a/apis/twitter.py b/glifestream/apis/twitter.py
index 23326cc..23326cc 100644
--- a/apis/twitter.py
+++ b/glifestream/apis/twitter.py
diff --git a/apis/vimeo.py b/glifestream/apis/vimeo.py
index 53e29f4..53e29f4 100644
--- a/apis/vimeo.py
+++ b/glifestream/apis/vimeo.py
diff --git a/apis/webfeed.py b/glifestream/apis/webfeed.py
index 534fdf0..534fdf0 100644
--- a/apis/webfeed.py
+++ b/glifestream/apis/webfeed.py
diff --git a/apis/yelp.py b/glifestream/apis/yelp.py
index 7a84af6..7a84af6 100644
--- a/apis/yelp.py
+++ b/glifestream/apis/yelp.py
diff --git a/apis/youtube.py b/glifestream/apis/youtube.py
index ecec35b..ecec35b 100644
--- a/apis/youtube.py
+++ b/glifestream/apis/youtube.py
diff --git a/bookmarklet/__init__.py b/glifestream/bookmarklet/__init__.py
index e69de29..e69de29 100644
--- a/bookmarklet/__init__.py
+++ b/glifestream/bookmarklet/__init__.py
diff --git a/bookmarklet/templates/bookmarklet.js b/glifestream/bookmarklet/templates/bookmarklet.js
index fc13b54..fc13b54 100644
--- a/bookmarklet/templates/bookmarklet.js
+++ b/glifestream/bookmarklet/templates/bookmarklet.js
diff --git a/bookmarklet/templates/frame.html b/glifestream/bookmarklet/templates/frame.html
index c4c4480..c4c4480 100644
--- a/bookmarklet/templates/frame.html
+++ b/glifestream/bookmarklet/templates/frame.html
diff --git a/bookmarklet/urls.py b/glifestream/bookmarklet/urls.py
index 8611725..8611725 100644
--- a/bookmarklet/urls.py
+++ b/glifestream/bookmarklet/urls.py
diff --git a/bookmarklet/views.py b/glifestream/bookmarklet/views.py
index efedd9f..efedd9f 100644
--- a/bookmarklet/views.py
+++ b/glifestream/bookmarklet/views.py
diff --git a/filters/__init__.py b/glifestream/filters/__init__.py
index 9dbdb28..9dbdb28 100644
--- a/filters/__init__.py
+++ b/glifestream/filters/__init__.py
diff --git a/filters/expand.py b/glifestream/filters/expand.py
index eae61a1..eae61a1 100644
--- a/filters/expand.py
+++ b/glifestream/filters/expand.py
diff --git a/filters/truncate.py b/glifestream/filters/truncate.py
index 5d4ff54..5d4ff54 100644
--- a/filters/truncate.py
+++ b/glifestream/filters/truncate.py
diff --git a/filters/twyntax.py b/glifestream/filters/twyntax.py
index e2bf0b7..e2bf0b7 100644
--- a/filters/twyntax.py
+++ b/glifestream/filters/twyntax.py
diff --git a/gauth/__init__.py b/glifestream/gauth/__init__.py
index e69de29..e69de29 100644
--- a/gauth/__init__.py
+++ b/glifestream/gauth/__init__.py
diff --git a/gauth/admin.py b/glifestream/gauth/admin.py
index b436c41..b436c41 100644
--- a/gauth/admin.py
+++ b/glifestream/gauth/admin.py
diff --git a/gauth/forms.py b/glifestream/gauth/forms.py
index 16d9010..16d9010 100644
--- a/gauth/forms.py
+++ b/glifestream/gauth/forms.py
diff --git a/gauth/gls_oauth.py b/glifestream/gauth/gls_oauth.py
index 76bf6d0..76bf6d0 100644
--- a/gauth/gls_oauth.py
+++ b/glifestream/gauth/gls_oauth.py
diff --git a/gauth/gls_openid.py b/glifestream/gauth/gls_openid.py
index fd03314..fd03314 100644
--- a/gauth/gls_openid.py
+++ b/glifestream/gauth/gls_openid.py
diff --git a/gauth/models.py b/glifestream/gauth/models.py
index b34b52d..b34b52d 100644
--- a/gauth/models.py
+++ b/glifestream/gauth/models.py
diff --git a/gauth/templates/login.html b/glifestream/gauth/templates/login.html
index da09087..da09087 100644
--- a/gauth/templates/login.html
+++ b/glifestream/gauth/templates/login.html
diff --git a/gauth/templates/openid.html b/glifestream/gauth/templates/openid.html
index 856c978..856c978 100644
--- a/gauth/templates/openid.html
+++ b/glifestream/gauth/templates/openid.html
diff --git a/gauth/urls.py b/glifestream/gauth/urls.py
index d8c1a71..d8c1a71 100644
--- a/gauth/urls.py
+++ b/glifestream/gauth/urls.py
diff --git a/gauth/views.py b/glifestream/gauth/views.py
index d07562f..d07562f 100644
--- a/gauth/views.py
+++ b/glifestream/gauth/views.py
diff --git a/settings-sample.py b/glifestream/settings-sample.py
index bc6dccc..d6bcc55 100644
--- a/settings-sample.py
+++ b/glifestream/settings-sample.py
@@ -8,2 +8,6 @@ TEMPLATE_DEBUG = DEBUG
+ALLOWED_HOSTS = [
+ 'localhost'
+]
+
ADMINS = (
@@ -30,2 +34,7 @@ USE_L10N = False
+# Directories where Django looks for translation files.
+LOCALE_PATHS = (
+ os.path.join(SITE_ROOT, '../locale'),
+)
+
SESSION_COOKIE_NAME = 'glifestream_sid'
@@ -55,3 +64,3 @@ LOGIN_URL = '/login'
# Example: "/home/media/media.lawrence.com/"
-MEDIA_ROOT = os.path.join(SITE_ROOT, 'static')
+MEDIA_ROOT = os.path.join(SITE_ROOT, '../static')
@@ -90,2 +99,4 @@ ROOT_URLCONF = 'glifestream.urls'
+WSGI_APPLICATION = 'glifestream.wsgi.application'
+
TEMPLATE_DIRS = (
diff --git a/stream/__init__.py b/glifestream/stream/__init__.py
index aab0336..aab0336 100644
--- a/stream/__init__.py
+++ b/glifestream/stream/__init__.py
diff --git a/stream/admin.py b/glifestream/stream/admin.py
index e8d4ec5..e8d4ec5 100644
--- a/stream/admin.py
+++ b/glifestream/stream/admin.py
diff --git a/stream/fixtures/initial_data.json b/glifestream/stream/fixtures/initial_data.json
index 472a6e2..472a6e2 100644
--- a/stream/fixtures/initial_data.json
+++ b/glifestream/stream/fixtures/initial_data.json
diff --git a/stream/media.py b/glifestream/stream/media.py
index 41ce8c6..41ce8c6 100644
--- a/stream/media.py
+++ b/glifestream/stream/media.py
diff --git a/stream/models.py b/glifestream/stream/models.py
index ec4c492..ec4c492 100644
--- a/stream/models.py
+++ b/glifestream/stream/models.py
diff --git a/stream/pshb.py b/glifestream/stream/pshb.py
index 929a4fe..929a4fe 100644
--- a/stream/pshb.py
+++ b/glifestream/stream/pshb.py
diff --git a/stream/templatetags/__init__.py b/glifestream/stream/templatetags/__init__.py
index e69de29..e69de29 100644
--- a/stream/templatetags/__init__.py
+++ b/glifestream/stream/templatetags/__init__.py
diff --git a/stream/templatetags/gls_filters.py b/glifestream/stream/templatetags/gls_filters.py
index 01b6db0..01b6db0 100644
--- a/