Permalink
Browse files

ui missing files

  • Loading branch information...
1 parent cb6207d commit 3c8f4f52e8a2cba72fa93563503da8d30bfcbabd Your Name committed Apr 30, 2016
Showing with 40,322 additions and 40,322 deletions.
  1. +2 −2 .dockerignore
  2. +15 −15 .github/ISSUE_TEMPLATE.md
  3. +18 −18 .gitignore
  4. +37 −37 CONTRIBUTING.md
  5. +37 −37 Dockerfile
  6. +11 −11 LICENSE
  7. +178 −178 README.md
  8. +56 −56 README_DOCKERFILE.md
  9. +226 −226 SpaceDock/app.py
  10. +197 −197 SpaceDock/blueprints/accounts.py
  11. +101 −101 SpaceDock/blueprints/admin.py
  12. +462 −462 SpaceDock/blueprints/anonymous.py
  13. +734 −734 SpaceDock/blueprints/api.py
  14. +59 −59 SpaceDock/blueprints/blog.py
  15. +116 −116 SpaceDock/blueprints/lists.py
  16. +331 −331 SpaceDock/blueprints/login_oauth.py
  17. +767 −767 SpaceDock/blueprints/mods.py
  18. +97 −97 SpaceDock/blueprints/profile.py
  19. +55 −55 SpaceDock/celery.py
  20. +57 −57 SpaceDock/ckan.py
  21. +154 −154 SpaceDock/common.py
  22. +39 −39 SpaceDock/config.py
  23. +14 −14 SpaceDock/custom_json.py
  24. +14 −14 SpaceDock/database.py
  25. +94 −94 SpaceDock/email.py
  26. +18 −18 SpaceDock/helpers.py
  27. +71 −71 SpaceDock/kerbdown.py
  28. +19 −19 SpaceDock/network.py
  29. +541 −541 SpaceDock/objects.py
  30. +33 −33 SpaceDock/patreon.py
  31. +132 −132 SpaceDock/search.py
  32. +9 −9 SpaceDock/thumbnail.py
  33. +36 −36 THANKS
  34. +18 −18 admin.py
  35. +59 −59 alembic.ini.example
  36. +73 −73 alembic/env.py
  37. +22 −22 alembic/script.py.mako
  38. +26 −26 alembic/versions/18af22fa9e4_add_shared_authors.py
  39. +22 −22 alembic/versions/18bc72fce61_add_version_to_download_events.py
  40. +26 −26 alembic/versions/1ccdaebac05_add_database_tracked_game_versions.py
  41. +28 −28 alembic/versions/1d46e8d4483_add_mod_versioning.py
  42. +28 −28 alembic/versions/1ef399cbd2b_add_downloads_and_followers_to_mod.py
  43. +26 −26 alembic/versions/1fb18596264_increase_length_of_backgroundmedia_field.py
  44. +34 −34 alembic/versions/20025e7424d_add_indexs_and_adjust_forum_accounts.py
  45. +26 −26 alembic/versions/217af36c820_add_password_reset_expiry.py
  46. +28 −28 alembic/versions/2182d60340d_add_background_offset_to_profiles.py
  47. +22 −22 alembic/versions/263bcce1dc0_add_blog_posts.py
  48. +26 −26 alembic/versions/2650a2191fe_add_source_link.py
  49. +26 −26 alembic/versions/26f3fd0405c_add_ckan_info_to_mods.py
  50. +26 −26 alembic/versions/275951252d_add_reddit_name_to_profiles.py
  51. +26 −26 alembic/versions/29344aa34d9_create_auth_table.py
  52. +27 −27 alembic/versions/299a128fba2_add_more_fine_version_control_schema.py
  53. +25 −25 alembic/versions/29cdccab86f_add_updated_time_to_mod.py
  54. +26 −26 alembic/versions/2bee80c31e1_add_changelog_to_modversion.py
  55. +48 −48 alembic/versions/2ef141f5132_add_mods_and_media.py
  56. +22 −22 alembic/versions/2ff737052f3_wire_up_download_events.py
  57. +26 −26 alembic/versions/35597d56e8d_add_ckan_boolean_to_mod_table.py
  58. +26 −26 alembic/versions/35e7157127b_initial_database_commit.py
  59. +26 −26 alembic/versions/3a3487af1b8_add_ksp_version_to_mod_table.py
  60. +26 −26 alembic/versions/3afc6d6bfd9_remove_index_from_descriptions.py
  61. +28 −28 alembic/versions/3b5f1c92dda_add_background_offset_to_mods.py
  62. +28 −28 alembic/versions/3c9f83ee88c_add_mod_short_description_and_remove_.py
  63. +26 −26 alembic/versions/3d4136d1ae1_expand_size_of_background_field_again.py
  64. +22 −22 alembic/versions/3f35f3fa395_extend_length_of_changelogs.py
  65. +26 −26 alembic/versions/46d0c3d3104_update_mod_media_schema.py
  66. +22 −22 alembic/versions/46ea35b1ee8_fix_error_in_download_events.py
  67. +26 −26 alembic/versions/474b0fb0868_add_dark_theme.py
  68. +36 −36 alembic/versions/4e0500347ce7_add_multigame_tables.py
  69. +26 −26 alembic/versions/4ea6bc2045a_add_timestamp_to_mod_versions.py
  70. +22 −22 alembic/versions/4f528e69e89_add_schema_for_followers_and_download_.py
  71. +26 −26 alembic/versions/50b5a95300c_add_ownership_to_mod_lists.py
  72. +22 −22 alembic/versions/5330eb08753_add_featured_mods.py
  73. +42 −42 alembic/versions/566d08c75c6_add_mod_list_objects.py
  74. +26 −26 alembic/versions/59abfc7b45d_add_download_path_to_modrevision.py
  75. +22 −22 alembic/versions/59c74736a7f_add_mod_follower_events.py
  76. +28 −28 alembic/versions/6ffd5dd5efab_switch_ksp_version_to_game_version.py
  77. +22 −22 alembic/versions/e591232705_add_download_events.py
  78. +26 −26 alembic/versions/e6fcc34862_expand_size_of_background_field.py
  79. +58 −58 alembic/versions/f4c441491815_change_user_profiles.py
  80. +26 −26 alembic/versions/f9897e968a_add_password_reset_to_schema.py
  81. +475 −475 api.md
  82. +95 −95 app.py
  83. +105 −105 config.ini.example
  84. +27 −27 config.py
  85. +34 −34 config/nginx
  86. +24 −24 db_initialize.py
  87. +36 −36 docker-compose-deploy.yml
  88. +28 −28 docker-compose.yml
  89. +43 −43 docker/deployment_settings.cfg.example
  90. +8 −8 docker/gunicorn.py
  91. +4 −4 docker/nginx/Dockerfile
  92. +21 −21 docker/nginx/sites-enabled/spacedock.conf
  93. +22 −22 docker/start.sh
  94. +3 −3 docker/start_celery.sh
  95. +16 −16 docker/supervisord.conf
  96. +5 −5 emails/confirm-account
  97. +7 −7 emails/grant-notice
  98. +7 −7 emails/mod-autoupdated
  99. +9 −9 emails/mod-updated
  100. +7 −7 emails/password-reset
  101. +24 −24 images/fav.svg
  102. +228 −228 images/glyphicons-halflings-regular.svg
  103. +41 −41 images/manifest.json
  104. +59 −59 images/safari-pinned-tab.svg
  105. +6 −6 import-ckan.py
  106. +30 −30 migrate-backgrounds.py
  107. +30 −30 migrate-profiles.py
  108. +49 −49 oauth.md
  109. +13 −13 order_versions.py
  110. +76 −76 requirements.txt
  111. +4 −4 restart.sh
  112. +6 −6 scripts/bootstrap.min.js
  113. +3,303 −3,303 scripts/chart.js
  114. +112 −112 scripts/create.coffee
  115. +1 −1 scripts/create.manifest
  116. +80 −80 scripts/edit_mod.coffee
  117. +1 −1 scripts/edit_mod.manifest
  118. +133 −133 scripts/edit_pack.coffee
  119. +2 −2 scripts/edit_pack.manifest
  120. +1 −1 scripts/editor.js
  121. +136 −136 scripts/global.coffee
  122. +184 −184 scripts/global.js
  123. +1 −1 scripts/global.manifest
  124. +11 −11 scripts/jquery.dotdotdot.min.js
  125. +5 −5 scripts/jquery.min.js
  126. +16 −16 scripts/jscroll.min.js
  127. +57 −57 scripts/list.coffee
  128. +1 −1 scripts/list.manifest
  129. +1 −1 scripts/marked.js
  130. +65 −65 scripts/mod.coffee
  131. +2 −2 scripts/mods.manifest
  132. +33 −33 scripts/profile.coffee
  133. +1 −1 scripts/profile.manifest
  134. +106 −106 scripts/s3Slider.js
  135. +38 −38 scripts/stats.coffee
  136. +111 −111 scripts/statworker.coffee
  137. +1 −1 scripts/statworker.manifest
  138. +6 −6 scripts/typeahead.bundle.min.js
  139. +5 −5 scripts/underscore.min.js
  140. +92 −92 scripts/update.coffee
  141. +1 −1 scripts/update.manifest
  142. +38 −38 styles/anniversary.scss
  143. +1,311 −1,311 styles/bootstrap-theme.css
  144. +5 −5 styles/bootstrap.min.css
  145. +7 −7 styles/bootstrap.min.css.old
  146. +7,470 −7,470 styles/bootstrap_dark.min.css
  147. +380 −380 styles/create.css
  148. +69 −69 styles/create.scss
  149. +1 −1 styles/editor.css
  150. +4 −4 styles/font-awesome.min.css
  151. +582 −582 styles/glacialindifference-bold-demo.html
  152. +350 −350 styles/glacialindifference-bold-webfont.svg
  153. +581 −581 styles/glacialindifference-italic-demo.html
  154. +351 −351 styles/glacialindifference-italic-webfont.svg
  155. +581 −581 styles/glacialindifference-regular-demo.html
  156. +351 −351 styles/glacialindifference-regular-webfont.svg
  157. +287 −287 styles/glyphicons-halflings-regular.svg
  158. +124 −124 styles/index.scss
  159. +109 −109 styles/listing.scss
  160. +199 −199 styles/mod.scss
  161. +609 −609 styles/moon_light-demo.html
  162. +237 −237 styles/moon_light-webfont.svg
  163. +200 −200 styles/navigation.scss
  164. +32 −32 styles/profile.scss
  165. +154 −154 styles/stylesheet.scss
  166. +226 −226 styles/timeline.scss
  167. +40 −40 styles/typeahead.scss
  168. +15 −15 styles/update.scss
  169. +16 −16 templates/admin/admin.html
  170. +16 −16 templates/base/content.html
  171. +4 −4 templates/base/footer.html
  172. +511 −511 templates/base/head.html
  173. +27 −27 templates/base/header.html
  174. +231 −231 templates/base/layout.html
  175. +1,276 −1,276 templates/css/base.css
  176. +424 −424 templates/css/chosen.css
  177. +198 −198 templates/index.html
  178. +205 −205 templates/js/main.js
  179. +187 −187 templates/mods/mod_create.html
  180. +86 −86 templates/mods/mod_edit.html
  181. +25 −25 templates/mods/mod_edit_authors.html
  182. +3 −3 templates/mods/mod_edit_description.html
  183. +24 −24 templates/mods/mod_edit_information.html
  184. +379 −379 templates/mods/mod_view.html
  185. +42 −42 templates/mods/mod_view_changelog.html
  186. +4 −4 templates/mods/mod_view_info.html
  187. +22 −22 templates/mods/mod_view_statistics.html
  188. +192 −192 templates/mods/mod_view_suggestions.html
  189. +33 −33 templates/mods/newestmods.html
  190. +29 −29 templates/mods/popularmods.html
  191. +29 −29 templates/mods/updatedmods.html
  192. +104 −104 templates/old/about.html
  193. +23 −23 templates/old/account-pending.html
  194. +371 −371 templates/old/admin.html
  195. +37 −37 templates/old/blog.html
  196. +25 −25 templates/old/blog_index.html
  197. +8 −8 templates/old/bootstrap.min.js
  198. +335 −335 templates/old/browse-list.html
  199. +61 −61 templates/old/browse.html
  200. +3,303 −3,303 templates/old/chart.js
  201. +32 −32 templates/old/chat.html
  202. +34 −34 templates/old/confirm.html
  203. +204 −204 templates/old/create.html
  204. +88 −88 templates/old/create_list.html
  205. +12 −12 templates/old/disqus.html
  206. +34 −34 templates/old/donate.html
  207. +3 −3 templates/old/downloads.csv
  208. +30 −30 templates/old/edit_blog.html
  209. +108 −108 templates/old/edit_list.html
  210. +182 −182 templates/old/edit_mod.html
  211. +1 −1 templates/old/error.html
  212. +58 −58 templates/old/featured-mod-box.html
  213. +3 −3 templates/old/followers.csv
  214. +21 −21 templates/old/footer.html
  215. +42 −42 templates/old/forgot.html
  216. +22 −22 templates/old/game-box.html
  217. +387 −387 templates/old/game.html
  218. +18 −18 templates/old/gamebox-slide.html
  219. +185 −185 templates/old/global.js
  220. +337 −337 templates/old/index.html
  221. +18 −18 templates/old/internal_error.html
  222. +11 −11 templates/old/jquery.dotdotdot.min.js
  223. +6 −6 templates/old/jquery.min.js
  224. +6 −6 templates/old/jsblocks.html
  225. +16 −16 templates/old/jscroll.min.js
  226. +862 −862 templates/old/layout.html
  227. +67 −67 templates/old/login.html
  228. +887 −887 templates/old/main.css.twig
  229. +61 −61 templates/old/markdown.html
  230. +42 −42 templates/old/mod-box.html
  231. +571 −571 templates/old/mod.html
  232. +81 −81 templates/old/mod_list.html
  233. +21 −21 templates/old/modbox-slide.html
  234. +17 −17 templates/old/not_found.html
  235. +21 −21 templates/old/pack-box.html
  236. +26 −26 templates/old/privacy.html
  237. +247 −247 templates/old/profile.html
  238. +3 −3 templates/old/referrals.csv
  239. +57 −57 templates/old/register-oauth.html
  240. +98 −98 templates/old/register.html
  241. +37 −37 templates/old/reset.html
  242. +14 −14 templates/old/review-box.html
  243. +20 −20 templates/old/rss-mod.xml
  244. +18 −18 templates/old/rss.xml
  245. +8 −8 templates/old/typeahead.bundle.min.js
  246. +6 −6 templates/old/underscore.min.js
  247. +67 −67 templates/old/update.html
  248. +282 −282 templates/old/view_profile.html
  249. +32 −32 templates/old/voip.html
  250. +31 −31 templates/parts/previewbox.html
  251. +16 −16 templates/user/profile.html
  252. +127 −127 templates/user/userinfo.html
  253. +70 −70 templates/user/view_profile.html
View
@@ -1,2 +1,2 @@
-storage/
-.git
+storage/
+.git
@@ -1,15 +1,15 @@
-Description (What went wrong?):
-
-
-Reproduction Steps (What did you do?):
-
-
-Expected Behavior (What do you think should have happened instead?):
-
-
-Environment (OS/Browser/Plugins/etc):
-
-
-Extra Information (Screenshots/Error Messages/Javascript Console Output):
-
-
+Description (What went wrong?):
+
+
+Reproduction Steps (What did you do?):
+
+
+Expected Behavior (What do you think should have happened instead?):
+
+
+Environment (OS/Browser/Plugins/etc):
+
+
+Extra Information (Screenshots/Error Messages/Javascript Console Output):
+
+
View
@@ -1,18 +1,18 @@
-*.pyc
-bin/
-config.ini
-alembic.ini
-include/
-local/
-lib/
-*.swp
-*.rdb
-storage/
-content/
-.idea/
-nbproject/
-static/
-share/
-pip-selfcheck.json
-node_modules/
-*~
+*.pyc
+bin/
+config.ini
+alembic.ini
+include/
+local/
+lib/
+*.swp
+*.rdb
+storage/
+content/
+.idea/
+nbproject/
+static/
+share/
+pip-selfcheck.json
+node_modules/
+*~
View
@@ -1,38 +1,38 @@
-GIT
----
-Cloning
-
- git clone https://github.com/KSP-SpaceDock/SpaceDock.git
-
-Updating
-
- git fetch --all
- git merge
-
-Contributing
-First you will need to fork "SpaceDock" on github, and set up your SSH key.
-
- git remote rm origin
- git remote add upstream https://github.com/KSP-SpaceDock/SpaceDock.git
- git remote add origin git@github.com:YOUR_USER_NAME_HERE/SpaceDock.git
- git fetch --all
- git push --set-upstream origin master
-
-Make a branch so you don't bork your master.
-
- git branch bugfix-number
- git checkout bugfix-number
-
-Do your changes here with your favourite text editor or IDE.
-
- git add -A
- git commit -a -m "A small message about your commit"
- git push --set-upstream origin bugfix-number
-
-When you are happy with the code, open a pull request on github. After it is merged you can delete it and merge it in your master
-
- git checkout master
- git fetch --all
- git merge upstream/master
- git branch -D bugfix-number
+GIT
+---
+Cloning
+
+ git clone https://github.com/KSP-SpaceDock/SpaceDock.git
+
+Updating
+
+ git fetch --all
+ git merge
+
+Contributing
+First you will need to fork "SpaceDock" on github, and set up your SSH key.
+
+ git remote rm origin
+ git remote add upstream https://github.com/KSP-SpaceDock/SpaceDock.git
+ git remote add origin git@github.com:YOUR_USER_NAME_HERE/SpaceDock.git
+ git fetch --all
+ git push --set-upstream origin master
+
+Make a branch so you don't bork your master.
+
+ git branch bugfix-number
+ git checkout bugfix-number
+
+Do your changes here with your favourite text editor or IDE.
+
+ git add -A
+ git commit -a -m "A small message about your commit"
+ git push --set-upstream origin bugfix-number
+
+When you are happy with the code, open a pull request on github. After it is merged you can delete it and merge it in your master
+
+ git checkout master
+ git fetch --all
+ git merge upstream/master
+ git branch -D bugfix-number
git push origin :bugfix-number
View
@@ -1,37 +1,37 @@
-FROM ubuntu:14.04
-MAINTAINER frikfry@gmail.com # Someone let me know an appropriate email for the project
-
-# Needed to fix pip install of requirements due to strange char encoding issue.
-ENV LC_CTYPE C.UTF-8
-# Set this to suppress 'debconf: unable to initialize frontend' errors
-ENV DEBIAN_FRONTEND noninteractive
-RUN apt-get clean
-RUN apt-get update
-RUN apt-get install -y curl
-# This needs to be broken up because curl isn't available at the start and we need curl to install nodejs
-RUN curl -sL https://deb.nodesource.com/setup | sudo bash -
-# Don't need to apt-get update first because the script above does it for us.
-RUN apt-get install -y supervisor libffi-dev nodejs vim postgresql-client libpq-dev python-pip python-dev python3-dev build-essential
-RUN pip install --upgrade pip
-RUN pip install virtualenv
-
-# Make our directories
-RUN mkdir -p /opt/spacedock
-WORKDIR /opt/spacedock
-
-# Install coffee-script
-RUN npm install --global coffee-script
-
-# Breaking up the installing of requirements like this so that it gets cached by docker
-COPY requirements.txt /opt/spacedock/requirements.txt
-RUN virtualenv --python=python3 --no-site-packages /venv/spacedock
-RUN . /venv/spacedock/bin/activate && pip install -r requirements.txt
-
-# Add everything else from the project root to the install dir.
-COPY . /opt/spacedock
-
-# Make a supervisord process for actually running the commands.
-COPY docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
-
-# Run the app when the container starts.
-CMD ["/usr/bin/supervisord"]
+FROM ubuntu:14.04
+MAINTAINER frikfry@gmail.com # Someone let me know an appropriate email for the project
+
+# Needed to fix pip install of requirements due to strange char encoding issue.
+ENV LC_CTYPE C.UTF-8
+# Set this to suppress 'debconf: unable to initialize frontend' errors
+ENV DEBIAN_FRONTEND noninteractive
+RUN apt-get clean
+RUN apt-get update
+RUN apt-get install -y curl
+# This needs to be broken up because curl isn't available at the start and we need curl to install nodejs
+RUN curl -sL https://deb.nodesource.com/setup | sudo bash -
+# Don't need to apt-get update first because the script above does it for us.
+RUN apt-get install -y supervisor libffi-dev nodejs vim postgresql-client libpq-dev python-pip python-dev python3-dev build-essential
+RUN pip install --upgrade pip
+RUN pip install virtualenv
+
+# Make our directories
+RUN mkdir -p /opt/spacedock
+WORKDIR /opt/spacedock
+
+# Install coffee-script
+RUN npm install --global coffee-script
+
+# Breaking up the installing of requirements like this so that it gets cached by docker
+COPY requirements.txt /opt/spacedock/requirements.txt
+RUN virtualenv --python=python3 --no-site-packages /venv/spacedock
+RUN . /venv/spacedock/bin/activate && pip install -r requirements.txt
+
+# Add everything else from the project root to the install dir.
+COPY . /opt/spacedock
+
+# Make a supervisord process for actually running the commands.
+COPY docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
+
+# Run the app when the container starts.
+CMD ["/usr/bin/supervisord"]
View
@@ -1,12 +1,12 @@
-Copyright (c) 2014 Drew DeVault
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Copyright (c) 2015 VITAS
-
-License changes:
+Copyright (c) 2014 Drew DeVault
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Copyright (c) 2015 VITAS
+
+License changes:
Its only allowed to use the included Templates, Graphics and the name "Spacedock" on the URL spacedock.info owned by VITAS
Oops, something went wrong.

0 comments on commit 3c8f4f5

Please sign in to comment.