Permalink
Browse files

adding all files again

  • Loading branch information...
1 parent 5b45e52 commit 35b666224a05fbd249b1c51a0a48fb95b246fe9a @evgenyfadeev evgenyfadeev committed Jul 10, 2009
Showing with 35,140 additions and 0 deletions.
  1. +12 −0 LICENSE
  2. 0 __init__.py
  3. +8 −0 cnprog.wsgi
  4. +40 −0 django_authopenid/__init__.py
  5. +9 −0 django_authopenid/admin.py
  6. +435 −0 django_authopenid/forms.py
  7. +24 −0 django_authopenid/middleware.py
  8. +160 −0 django_authopenid/mimeparse.py
  9. +71 −0 django_authopenid/models.py
  10. +27 −0 django_authopenid/urls.py
  11. +145 −0 django_authopenid/util.py
  12. +787 −0 django_authopenid/views.py
  13. 0 forum/__init__.py
  14. +71 −0 forum/admin.py
  15. +443 −0 forum/auth.py
  16. +87 −0 forum/const.py
  17. +66 −0 forum/diff.py
  18. +43 −0 forum/feed.py
  19. +193 −0 forum/forms.py
  20. 0 forum/management/__init__.py
  21. 0 forum/management/commands/__init__.py
  22. +35 −0 forum/management/commands/base_command.py
  23. +58 −0 forum/management/commands/clean_award_badges.py
  24. +347 −0 forum/management/commands/multi_award_badges.py
  25. +327 −0 forum/management/commands/once_award_badges.py
  26. +7 −0 forum/management/commands/sample_command.py
  27. +208 −0 forum/managers.py
  28. +653 −0 forum/models.py
  29. 0 forum/templatetags/__init__.py
  30. +83 −0 forum/templatetags/extra_filters.py
  31. +240 −0 forum/templatetags/extra_tags.py
  32. +74 −0 forum/user.py
  33. +1,962 −0 forum/views.py
  34. +7 −0 junk
  35. +557 −0 lanai.psproj
  36. +2,540 −0 locale/en/LC_MESSAGES/django.po
  37. BIN locale/zh-cn/LC_MESSAGES/django.mo
  38. +1,430 −0 locale/zh-cn/LC_MESSAGES/django.po
  39. 0 log/cnprog.log
  40. +11 −0 manage.py
  41. +146 −0 settings.py
  42. +1,498 −0 sql_scripts/cnprog.xml
  43. +811 −0 sql_scripts/cnprog_new_install.sql
  44. +456 −0 sql_scripts/cnprog_new_install_2009_02_28.sql
  45. +891 −0 sql_scripts/cnprog_new_install_2009_03_31.sql
  46. +24 −0 sql_scripts/cnprog_new_install_2009_04_07.sql
  47. +904 −0 sql_scripts/cnprog_new_install_2009_04_09.sql
  48. +62 −0 sql_scripts/update_2009_01_13_001.sql
  49. +1 −0 sql_scripts/update_2009_01_13_002.sql
  50. +62 −0 sql_scripts/update_2009_01_18_001.sql
  51. +2 −0 sql_scripts/update_2009_01_24.sql
  52. +2 −0 sql_scripts/update_2009_01_25_001.sql
  53. +19 −0 sql_scripts/update_2009_02_26_001.sql
  54. +3 −0 sql_scripts/update_2009_04_10_001.sql
  55. +5 −0 sql_scripts/update_2009_12_24_001.sql
  56. +3 −0 sql_scripts/update_2009_12_27_001.sql
  57. +1 −0 sql_scripts/update_2009_12_27_002.sql
  58. +49 −0 templates/404.html
  59. +35 −0 templates/500.html
  60. +21 −0 templates/about.html
  61. +30 −0 templates/allfiles
  62. +88 −0 templates/answer_edit.html
  63. +54 −0 templates/answer_edit_tips.html
  64. +140 −0 templates/ask.html
  65. +35 −0 templates/authopenid/changeemail.html
  66. +33 −0 templates/authopenid/changeopenid.html
  67. +33 −0 templates/authopenid/changepw.html
  68. +67 −0 templates/authopenid/complete.html
  69. +12 −0 templates/authopenid/confirm_email.txt
  70. +38 −0 templates/authopenid/delete.html
  71. +13 −0 templates/authopenid/failure.html
  72. +8 −0 templates/authopenid/htmlfiles
  73. +34 −0 templates/authopenid/sendpw.html
  74. +14 −0 templates/authopenid/sendpw_email.txt
  75. +41 −0 templates/authopenid/settings.html
  76. +95 −0 templates/authopenid/signin.html
  77. +52 −0 templates/authopenid/signup.html
  78. +14 −0 templates/authopenid/yadis.xrdf
  79. +37 −0 templates/badge.html
  80. +78 −0 templates/badges.html
  81. +91 −0 templates/base.html
  82. +86 −0 templates/base_content.html
  83. +152 −0 templates/book.html
  84. +36 −0 templates/close.html
  85. BIN templates/content/images/box-arrow.gif
  86. BIN templates/content/images/bullet_green.gif
  87. BIN templates/content/images/cc-88x31.png
  88. BIN templates/content/images/cc-wiki.png
  89. BIN templates/content/images/close-small-hover.png
  90. BIN templates/content/images/close-small.png
  91. BIN templates/content/images/cnprog_logo_200_56.gif
  92. BIN templates/content/images/dash.gif
  93. BIN templates/content/images/djangomade124x25_grey.gif
  94. BIN templates/content/images/dot-g.gif
  95. BIN templates/content/images/dot-list.gif
  96. BIN templates/content/images/edit.png
  97. BIN templates/content/images/expander-arrow-hide.gif
  98. BIN templates/content/images/expander-arrow-show.gif
  99. BIN templates/content/images/favicon.gif
  100. BIN templates/content/images/feed-icon-small.png
  101. BIN templates/content/images/grippie.png
  102. BIN templates/content/images/indicator.gif
  103. BIN templates/content/images/logo.png
  104. BIN templates/content/images/logo1.png
  105. BIN templates/content/images/logo2.png
  106. BIN templates/content/images/medala.gif
  107. BIN templates/content/images/medala_on.gif
  108. BIN templates/content/images/new.gif
  109. BIN templates/content/images/nophoto.png
  110. BIN templates/content/images/openid.gif
  111. BIN templates/content/images/openid/aol.gif
  112. BIN templates/content/images/openid/blogger.ico
  113. BIN templates/content/images/openid/claimid.ico
  114. BIN templates/content/images/openid/facebook.gif
  115. BIN templates/content/images/openid/flickr.ico
  116. BIN templates/content/images/openid/google.gif
  117. BIN templates/content/images/openid/livejournal.ico
  118. BIN templates/content/images/openid/myopenid.ico
  119. BIN templates/content/images/openid/openid-inputicon.gif
  120. BIN templates/content/images/openid/openid.gif
  121. BIN templates/content/images/openid/technorati.ico
  122. BIN templates/content/images/openid/verisign.ico
  123. BIN templates/content/images/openid/vidoop.ico
  124. BIN templates/content/images/openid/wordpress.ico
  125. BIN templates/content/images/openid/yahoo.gif
  126. BIN templates/content/images/quest-bg.gif
  127. BIN templates/content/images/vote-accepted-on.png
  128. BIN templates/content/images/vote-accepted.png
  129. BIN templates/content/images/vote-arrow-down-on.png
  130. BIN templates/content/images/vote-arrow-down.png
  131. BIN templates/content/images/vote-arrow-up-on.png
  132. BIN templates/content/images/vote-arrow-up.png
  133. BIN templates/content/images/vote-favorite-off.png
  134. BIN templates/content/images/vote-favorite-on.png
  135. +68 −0 templates/content/js/com.cnprog.editor.js
  136. +90 −0 templates/content/js/com.cnprog.i18n.js
  137. +616 −0 templates/content/js/com.cnprog.post.js
  138. +122 −0 templates/content/js/com.cnprog.utils.js
  139. +6 −0 templates/content/js/compress.bat
  140. +1 −0 templates/content/js/excanvas.pack.js
  141. +3 −0 templates/content/js/flot-build.bat
  142. +3,549 −0 templates/content/js/jquery-1.2.6.js
  143. +32 −0 templates/content/js/jquery-1.2.6.min.js
  144. +195 −0 templates/content/js/jquery.ajaxfileupload.js
  145. +2,421 −0 templates/content/js/jquery.flot.js
  146. +1 −0 templates/content/js/jquery.flot.pack.js
  147. +133 −0 templates/content/js/jquery.i18n.js
  148. +176 −0 templates/content/js/jquery.openid.js
  149. +15 −0 templates/content/js/jquery.validate.pack.js
  150. +1 −0 templates/content/js/se_hilite.js
  151. +273 −0 templates/content/js/se_hilite_src.js
  152. BIN templates/content/js/wmd/images/wmd-buttons.png
  153. +1 −0 templates/content/js/wmd/showdown-min.js
  154. +1,309 −0 templates/content/js/wmd/showdown.js
  155. +1 −0 templates/content/js/wmd/wmd-min.js
  156. +158 −0 templates/content/js/wmd/wmd-test.html
  157. +129 −0 templates/content/js/wmd/wmd.css
  158. +2,388 −0 templates/content/js/wmd/wmd.js
  159. BIN templates/content/js/yuicompressor-2.4.2.jar
  160. +1,753 −0 templates/content/style/default.css
  161. +49 −0 templates/content/style/jquery.autocomplete.css
  162. +45 −0 templates/content/style/openid.css
  163. +27 −0 templates/content/style/prettify.css
  164. +1,044 −0 templates/content/style/style.css
  165. +113 −0 templates/faq.html
  166. +1 −0 templates/feeds/rss_description.html
  167. +1 −0 templates/feeds/rss_title.html
  168. +33 −0 templates/footer.html
  169. +70 −0 templates/header.html
  170. +123 −0 templates/index.html
  171. +25 −0 templates/logout.html
  172. +30 −0 templates/okfiles
  173. +27 −0 templates/pagesize.html
  174. +39 −0 templates/paginator.html
  175. +43 −0 templates/privacy.html
  176. +510 −0 templates/question.html
  177. +134 −0 templates/question_edit.html
  178. +51 −0 templates/question_edit_tips.html
  179. +158 −0 templates/questions.html
  180. +40 −0 templates/reopen.html
  181. +102 −0 templates/revisions_answer.html
  182. +103 −0 templates/revisions_question.html
  183. +64 −0 templates/tags.html
  184. +18 −0 templates/template.list
  185. +110 −0 templates/tough/faq.html
  186. +107 −0 templates/tough/question_retag.html
  187. +115 −0 templates/tough/unanswered.html
  188. +120 −0 templates/unanswered.html
  189. BIN templates/upfiles/1245715031297631.png
  190. BIN templates/upfiles/12457157052552259.png
  191. +35 −0 templates/user.html
  192. +91 −0 templates/user_edit.html
  193. +9 −0 templates/user_favorites.html
  194. +4 −0 templates/user_footer.html
  195. +90 −0 templates/user_info.html
  196. +11 −0 templates/user_preferences.html
  197. +27 −0 templates/user_recent.html
  198. +41 −0 templates/user_reputation.html
  199. +23 −0 templates/user_responses.html
  200. +134 −0 templates/user_stats.html
  201. +34 −0 templates/user_tabs.html
  202. +31 −0 templates/user_votes.html
  203. +73 −0 templates/users.html
  204. +66 −0 templates/users_questions.html
  205. +63 −0 urls.py
  206. 0 utils/__init__.py
  207. +92 −0 utils/cache.py
  208. +51 −0 utils/html.py
  209. +86 −0 utils/lists.py
View
@@ -0,0 +1,12 @@
+��Ȩ����(c) 2008 CNProg.com
+
+���2.0�汾Apache���֤("���֤")��Ȩ��
+��ݱ����֤���û����Բ�ʹ�ô��ļ���
+�û��ɴ�������ַ������֤������
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+��������÷�����Ҫ������ͬ�⣬
+������֤�ַ�������ǻ���"��ԭ��"���ṩ��
+���κ���ʾ�Ļ�ʾ�ı�֤�������
+��������֤����£��ض����ԵĹ�ϽȨ�޺����ơ�
View
No changes.
View
@@ -0,0 +1,8 @@
+import os
+import sys
+
+sys.path.append('/var/www/vhosts')
+os.environ['DJANGO_SETTINGS_MODULE'] = 'cnprog.settings'
+
+import django.core.handlers.wsgi
+application = django.core.handlers.wsgi.WSGIHandler()
@@ -0,0 +1,40 @@
+# -*- coding: utf-8 -*-
+# Copyright (c) 2007, 2008, Benoît Chesneau
+#
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met:
+#
+# * Redistributions of source code must retain the above copyright
+# * notice, this list of conditions and the following disclaimer.
+# * Redistributions in binary form must reproduce the above copyright
+# * notice, this list of conditions and the following disclaimer in the
+# * documentation and/or other materials provided with the
+# * distribution. Neither the name of the <ORGANIZATION> nor the names
+# * of its contributors may be used to endorse or promote products
+# * derived from this software without specific prior written
+# * permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
+# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+"""
+Django authentification application to *with openid using django auth contrib/.
+
+This application allow a user to connect to you website with :
+ * legacy account : username/password
+ * openid url
+"""
+
+__version__ = "0.9.4"
@@ -0,0 +1,9 @@
+# -*- coding: utf-8 -*-
+
+from django.contrib import admin
+from django_authopenid.models import UserAssociation
+
+
+class UserAssociationAdmin(admin.ModelAdmin):
+ """User association admin class"""
+admin.site.register(UserAssociation, UserAssociationAdmin)
Oops, something went wrong.

0 comments on commit 35b6662

Please sign in to comment.