Permalink
Browse files

linkdrop

  • Loading branch information...
0 parents commit ce578f69c518c038b523b3aacd3227a6e9415b92 @mhammond mhammond committed Sep 1, 2010
Showing with 6,696 additions and 0 deletions.
  1. +10 −0 .hgignore
  2. +3 −0 MANIFEST.in
  3. +19 −0 README.txt
  4. +104 −0 development.ini
  5. +19 −0 docs/index.txt
  6. +276 −0 ez_setup.py
  7. 0 linkdrop/__init__.py
  8. 0 linkdrop/config/__init__.py
  9. +63 −0 linkdrop/config/deployment.ini_tmpl
  10. +43 −0 linkdrop/config/environment.py
  11. +67 −0 linkdrop/config/middleware.py
  12. +28 −0 linkdrop/config/routing.py
  13. 0 linkdrop/controllers/__init__.py
  14. +246 −0 linkdrop/controllers/account.py
  15. +44 −0 linkdrop/controllers/error.py
  16. 0 linkdrop/lib/__init__.py
  17. +18 −0 linkdrop/lib/app_globals.py
  18. +20 −0 linkdrop/lib/base.py
  19. +163 −0 linkdrop/lib/helpers.py
  20. +9 −0 linkdrop/model/__init__.py
  21. +17 −0 linkdrop/model/account.py
  22. +81 −0 linkdrop/model/expando_mixin.py
  23. +22 −0 linkdrop/model/meta.py
  24. +40 −0 linkdrop/model/serializer_mixin.py
  25. +94 −0 linkdrop/model/types.py
  26. BIN linkdrop/public/bg.png
  27. BIN linkdrop/public/favicon.ico
  28. +137 −0 linkdrop/public/index.html
  29. BIN linkdrop/public/pylons-logo.gif
  30. +401 −0 linkdrop/simple_oauth.py
  31. +34 −0 linkdrop/tests/__init__.py
  32. 0 linkdrop/tests/functional/__init__.py
  33. 0 linkdrop/tests/test_models.py
  34. +18 −0 linkdrop/websetup.py
  35. +31 −0 setup.cfg
  36. +37 −0 setup.py
  37. +21 −0 test.ini
  38. +6 −0 web/scratch/README.txt
  39. +168 −0 web/scratch/oauth/index.html
  40. +121 −0 web/scratch/oauth/index.js
  41. +99 −0 web/scripts/blade/defer.js
  42. +227 −0 web/scripts/blade/dispatch.js
  43. +58 −0 web/scripts/blade/fn.js
  44. +863 −0 web/scripts/blade/jig.js
  45. +128 −0 web/scripts/blade/object.js
  46. +59 −0 web/scripts/blade/url.js
  47. +149 −0 web/scripts/cards.js
  48. +174 −0 web/scripts/fancyzoom.js
  49. +129 −0 web/scripts/friendly.js
  50. +42 −0 web/scripts/hashDispatch.js
  51. +1 −0 web/scripts/iscroll-min.js
  52. +149 −0 web/scripts/isoDate.js
  53. +205 −0 web/scripts/jquery.easing.1.3.js
  54. +308 −0 web/scripts/jquery.masonry.js
  55. +486 −0 web/scripts/jquery.tmpl.js
  56. +334 −0 web/scripts/jquery.vgrid.0.1.5.js
  57. +7 −0 web/scripts/json2.js
  58. +381 −0 web/scripts/md5.js
  59. +104 −0 web/scripts/placeholder.js
  60. +221 −0 web/scripts/rdapi.js
  61. +204 −0 web/scripts/requireplugins-jquery-1.4.2.js
  62. +8 −0 web/scripts/templates/cardsHeader.html
@@ -0,0 +1,10 @@
+syntax:regexp
+\.egg
+\.egg-info
+\.pyc
+\.pyo
+\.swp
+linkdrop.kpf
+renv
+\.DS_Store
+development.db
@@ -0,0 +1,3 @@
+include linkdrop/config/deployment.ini_tmpl
+recursive-include linkdrop/public *
+recursive-include linkdrop/templates *
@@ -0,0 +1,19 @@
+This file is for you to describe the linkdrop application. Typically
+you would include information such as the information below:
+
+Installation and Setup
+======================
+
+Install ``linkdrop`` using easy_install::
+
+ easy_install linkdrop
+
+Make a config file as follows::
+
+ paster make-config linkdrop config.ini
+
+Tweak the config file as appropriate and then setup the application::
+
+ paster setup-app config.ini
+
+Then you are ready to go.
@@ -0,0 +1,104 @@
+#
+# linkdrop - Pylons development environment configuration
+#
+# The %(here)s variable will be replaced with the parent directory of this file
+#
+[DEFAULT]
+debug = true
+# Uncomment and replace with the address which should receive any error reports
+#email_to = you@yourdomain.com
+smtp_server = localhost
+error_email_from = paste@localhost
+
+oauth.twitter.com.consumer_key = 2r1qbed58DAaNMe142msTg
+oauth.twitter.com.consumer_secret = prh6A961516mJ3XEjd7eERsGxuVZqycrBB6lV7LQ
+# This is a 'raindrop' app currently owned by markh. By necessity it is
+# configured to use a redirect URL back to the default host and port specified
+# below for this server.
+oauth.facebook.com.app_id = 158102624846
+oauth.facebook.com.app_secret = 4203f7f23803f405e06509ec4d4b9729
+
+
+[composite:main]
+use = egg:Paste#urlmap
+/ = home
+/api = api
+
+[server:main]
+use = egg:Paste#http
+host = 127.0.0.1
+port = 5000
+
+
+[app:home]
+use = egg:Paste#static
+document_root = %(here)s/web
+
+[app:api]
+#use: config:api.ini
+
+use = egg:linkdrop
+full_stack = true
+static_files = true
+
+cache_dir = %(here)s/data
+beaker.session.key = linkdrop
+beaker.session.secret = somesecret
+
+# If you'd like to fine-tune the individual locations of the cache data dirs
+# for the Cache data, or the Session saves, un-comment the desired settings
+# here:
+#beaker.cache.data_dir = %(here)s/data/cache
+#beaker.session.data_dir = %(here)s/data/sessions
+
+# SQLAlchemy database URL
+sqlalchemy.url = sqlite:///%(here)s/development.db
+
+# WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT*
+# Debug mode will enable the interactive debugging tool, allowing ANYONE to
+# execute malicious code after an exception is raised.
+#set debug = false
+
+
+# Logging configuration
+[loggers]
+keys = root, routes, linkdrop, sqlalchemy
+
+[handlers]
+keys = console
+
+[formatters]
+keys = generic
+
+[logger_root]
+level = INFO
+handlers = console
+
+[logger_routes]
+level = INFO
+handlers =
+qualname = routes.middleware
+# "level = DEBUG" logs the route matched and routing variables.
+
+[logger_linkdrop]
+level = DEBUG
+handlers =
+qualname = linkdrop
+
+[logger_sqlalchemy]
+level = INFO
+handlers =
+qualname = sqlalchemy.engine
+# "level = INFO" logs SQL queries.
+# "level = DEBUG" logs SQL queries and results.
+# "level = WARN" logs neither. (Recommended for production systems.)
+
+[handler_console]
+class = StreamHandler
+args = (sys.stderr,)
+level = NOTSET
+formatter = generic
+
+[formatter_generic]
+format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] [%(threadName)s] %(message)s
+datefmt = %H:%M:%S
@@ -0,0 +1,19 @@
+linkdrop
+++++++++
+
+This is the main index page of your documentation. It should be written in
+`reStructuredText format <http://docutils.sourceforge.net/rst.html>`_.
+
+You can generate your documentation in HTML format by running this command::
+
+ setup.py pudge
+
+For this to work you will need to download and install `buildutils`_,
+`pudge`_, and `pygments`_. The ``pudge`` command is disabled by
+default; to ativate it in your project, run::
+
+ setup.py addcommand -p buildutils.pudge_command
+
+.. _buildutils: http://pypi.python.org/pypi/buildutils
+.. _pudge: http://pudge.lesscode.org/
+.. _pygments: http://pygments.org/
Oops, something went wrong.

0 comments on commit ce578f6

Please sign in to comment.