Permalink
Browse files

Added copyright header to all appropriate files.

  • Loading branch information...
1 parent 33f1de5 commit 711b2ea277960e8f3f2a85fbc761b6f6e02572e2 Ethan Holda committed Nov 16, 2011
Showing with 601 additions and 0 deletions.
  1. +2 −0 controllers/__init__.py
  2. +5 −0 controllers/admin.py
  3. +5 −0 controllers/blitz.py
  4. +5 −0 controllers/createProject.py
  5. +5 −0 controllers/home.py
  6. +5 −0 controllers/idea.py
  7. +5 −0 controllers/join.py
  8. +5 −0 controllers/project.py
  9. +5 −0 controllers/resource.py
  10. +5 −0 controllers/rest.py
  11. +5 −0 controllers/search.py
  12. +5 −0 controllers/sms/twilio.py
  13. +5 −0 controllers/user.py
  14. +5 −0 framework/config.py
  15. +5 −0 framework/controller.py
  16. +5 −0 framework/emailer.py
  17. +5 −0 framework/file_server.py
  18. +5 −0 framework/filters.py
  19. +5 −0 framework/image_server.py
  20. +5 −0 framework/log.py
  21. +5 −0 framework/monitor.py
  22. +5 −0 framework/orm_holder.py
  23. +5 −0 framework/page.py
  24. +5 −0 framework/s3uploader.py
  25. +5 −0 framework/session_holder.py
  26. +5 −0 framework/task_manager.py
  27. +5 −0 framework/util.py
  28. +5 −0 giveaminute/filters.py
  29. +5 −0 giveaminute/idea.py
  30. +5 −0 giveaminute/keywords.py
  31. +5 −0 giveaminute/location.py
  32. +5 −0 giveaminute/messaging.py
  33. +5 −0 giveaminute/metrics.py
  34. +5 −0 giveaminute/migrations/manage.py
  35. +5 −0 giveaminute/migrations/versions/001_Initial_models.py
  36. +5 −0 giveaminute/migrations/versions/002_Update_Need_table_with_quanitity_and_address_and_whatnot.py
  37. +5 −0 giveaminute/migrations/versions/003_Change_address_to_a_simple_string_field.py
  38. +5 −0 giveaminute/migrations/versions/004_Add_a_city_leader_model.py
  39. +5 −0 giveaminute/migrations/versions/005_Add_Events_model.py
  40. +5 −0 giveaminute/migrations/versions/006_Add_feedback_type_column.py
  41. +5 −0 giveaminute/migrations/versions/007_Add_quantity_field_to_volunteer_table.py
  42. +5 −0 giveaminute/migrations/versions/008_Fix_invalid_event_ids_in_the_needs_table.py
  43. +5 −0 giveaminute/migrations/versions/009_Add_a_sub-type_field_to_the_project_need_table.py
  44. +5 −0 giveaminute/migrations/versions/010_Add_full_display_name_to_user.py
  45. +5 −0 giveaminute/models.py
  46. +5 −0 giveaminute/project.py
  47. +5 −0 giveaminute/projectResource.py
  48. +5 −0 giveaminute/user.py
  49. +5 −0 helpers/Counter.py
  50. +5 −0 helpers/censor.py
  51. +5 −0 helpers/custom_filters.py
  52. +5 −0 helpers/sms.py
  53. +5 −0 import/import-resources.py
  54. +5 −0 scripts/build.sh
  55. +6 −0 scripts/db_backup.sh
  56. +7 −0 scripts/digest_emailer.py
  57. +6 −0 scripts/generate_models.sh.template
  58. +5 −0 static/js/gam-map-style.js
  59. +5 −0 static/js/lp.gam.facebookConnect.js
  60. +5 −0 static/js/merlin/tc.gam.example_widget.js
  61. +5 −0 static/js/pages/404.js
  62. +5 −0 static/js/pages/about.js
  63. +5 −0 static/js/pages/bb.js
  64. +5 −0 static/js/pages/beta_splash.js
  65. +5 −0 static/js/pages/cms.adminsettings.js
  66. +5 −0 static/js/pages/cms.content.js
  67. +5 −0 static/js/pages/create.js
  68. +5 −0 static/js/pages/faq.js
  69. +5 −0 static/js/pages/feedback.js
  70. +5 −0 static/js/pages/home.js
  71. +5 −0 static/js/pages/join.js
  72. +5 −0 static/js/pages/leaderboard.js
  73. +5 −0 static/js/pages/login.js
  74. +5 −0 static/js/pages/map.js
  75. +5 −0 static/js/pages/mobile.js
  76. +5 −0 static/js/pages/project.add_link.js
  77. +5 −0 static/js/pages/project.add_need.js
  78. +5 −0 static/js/pages/project.admin.js
  79. +5 −0 static/js/pages/project.conversation.js
  80. +5 −0 static/js/pages/project.data.js
  81. +5 −0 static/js/pages/project.event_form.js
  82. +5 −0 static/js/pages/project.events.js
  83. +5 −0 static/js/pages/project.fresh_ideas.js
  84. +5 −0 static/js/pages/project.home.js
  85. +5 −0 static/js/pages/project.inkind_form.js
  86. +5 −0 static/js/pages/project.js
  87. +5 −0 static/js/pages/project.members.js
  88. +5 −0 static/js/pages/project.mission.js
  89. +5 −0 static/js/pages/project.needs.js
  90. +5 −0 static/js/pages/project.related_resources.js
  91. +5 −0 static/js/pages/project.resources.js
  92. +5 −0 static/js/pages/project.tabs.js
  93. +5 −0 static/js/pages/project.vol_form.js
  94. +5 −0 static/js/pages/resource.js
  95. +5 −0 static/js/pages/search.js
  96. +5 −0 static/js/pages/splash.js
  97. +5 −0 static/js/pages/tou.js
  98. +5 −0 static/js/pages/useraccount.admin.js
  99. +5 −0 static/js/pages/useraccount.editable.js
  100. +5 −0 static/js/pages/useraccount.js
  101. +5 −0 static/js/tc.gam.add_resource.js
  102. +5 −0 static/js/tc.gam.app.js
  103. +5 −0 static/js/tc.gam.base.js
  104. +5 −0 static/js/tc.gam.carousel.js
  105. +5 −0 static/js/tc.gam.contact.js
  106. +5 −0 static/js/tc.gam.inlineEditor.js
  107. +5 −0 static/js/tc.gam.invite.js
  108. +5 −0 static/js/tc.gam.locationDropdown.js
  109. +5 −0 static/js/tc.gam.locations.js
  110. +5 −0 static/js/tc.gam.map.js
  111. +5 −0 static/js/tc.gam.merlin.js
  112. +5 −0 static/js/tc.gam.modal.js
  113. +5 −0 static/js/tc.gam.project.js
  114. +5 −0 static/js/tc.gam.project_old.js
  115. +5 −0 static/js/tc.gam.tooltip.js
  116. +5 −0 static/js/tc.gam.topbar.js
  117. +5 −0 static/js/tc.gam.user_handler.js
  118. +5 −0 static/js/tc.gam.validate.js
  119. +5 −0 static/js/tc.gam.widget-visibility-handler.js
  120. +5 −0 static/js/tc.util.js
View
@@ -0,0 +1,2 @@
+
+
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
from framework.controller import *
import framework.util as util
import giveaminute.user as mUser
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
"""
Module to handle integration with Bltiz.io. The service
requires that a specific route give back a specific value.
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
import giveaminute.keywords as keywords
import giveaminute.project as mProject
import giveaminute.projectResource as mProjectResource
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
from framework.controller import *
from framework.config import Config
import giveaminute.location as mLocation
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
import giveaminute.idea as mIdea
import giveaminute.keywords as mKeywords
import giveaminute.project as mProject
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
import re
import uuid
import framework.util as util
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
from framework.controller import *
import framework.util as util
import giveaminute.project as mProject
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
from framework.controller import *
import framework.util as util
import giveaminute.location as mLocation
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
import inspect
import json
from helpers.Counter import Counter
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
import framework.util as util
import giveaminute.location as mLocation
import giveaminute.project as mProject
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
import helpers.sms as sms
from framework import util
from framework.controller import *
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
import framework.util as util
import giveaminute.user as mUser
import giveaminute.location as mLocation
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
"""
Module to handle config values. Config is defined at config.yaml.
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
import os
import yaml, memcache, json, gettext, locale
from cgi import escape
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
"""
Emailing utility. Emailing is ultimately handled through webpy.
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
import cStringIO
import traceback
import framework.util as util
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
def strslice(s, length):
if not isinstance(s, basestring):
s = str(s)
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
import cStringIO
import framework.util as util
from framework.s3uploader import *
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
"""
Extend the standard log module to enable some more detailed debug information.
"""
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
import util as util
from framework.log import log
from framework.controller import *
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
from lib import web
from sqlalchemy import create_engine
from sqlalchemy.orm import scoped_session, sessionmaker
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
import cgi, os
import framework.filters as filters
from lib import jinja2
View
5 framework/s3uploader.py 100755 → 100644
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
#!/usr/bin/env python
import mimetypes
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
"""
Simple module to handle persistent sessions.
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
#!/usr/bin/env python
"""
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
# generally try not to import things up here
import re, base64, string, urlparse, datetime
from framework.log import log
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
from helpers.custom_filters import filters as custom_filters
# Put model-specific filters here.
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
import framework.util as util
import helpers.censor as censor
from framework.log import log
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
# find keywords in a string
def getKeywords(db, s):
sql = "select keyword from keyword"
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
from framework.log import log
def getLocationsWithScoring(db):
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
"""
Module to handle general messaging, though mostly emailing.
Emailing templates can be found in templates/email.
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
from framework.log import log
def getCounts(db):
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
#!/usr/bin/env python
from migrate.versioning.shell import main
main(debug='False')
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
from sqlalchemy import *
from migrate import *
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
from sqlalchemy import *
from migrate import *
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
from sqlalchemy import *
from migrate import *
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
from sqlalchemy import *
from migrate import *
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
from sqlalchemy import *
from migrate import *
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
"""
SQLAlchemy migration to add Feeback Type column to
Feedback table.
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
from sqlalchemy import *
from migrate import *
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
from sqlalchemy import *
from migrate import *
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
from sqlalchemy import *
from migrate import *
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
from sqlalchemy import *
from migrate import *
View
@@ -1,3 +1,8 @@
+"""
+ :copyright: (c) 2011 Local Projects, all rights reserved
+ :license: Affero GNU GPL v3, see LICENSE for more details.
+"""
+
import re
from collections import defaultdict
Oops, something went wrong.

0 comments on commit 711b2ea

Please sign in to comment.