Skip to content
Permalink
Browse files

Initial 'switch to flask' commit

  • Loading branch information...
TheReverend403 committed Apr 9, 2019
0 parents commit 4e23214bb34ccddabf90358fc45f21f8d46f773f
Showing with 2,055 additions and 0 deletions.
  1. +51 −0 .gitignore
  2. +674 −0 LICENSE
  3. +16 −0 Pipfile
  4. +293 −0 Pipfile.lock
  5. +6 −0 README.md
  6. +55 −0 app/__init__.py
  7. +16 −0 app/models/__init__.py
  8. +35 −0 app/models/file.py
  9. +34 −0 app/models/user.py
  10. +37 −0 app/settings/__init__.py
  11. +46 −0 app/settings/default.py
  12. +20 −0 app/static/css/app.css
  13. BIN app/static/img/favicon.png
  14. 0 app/storage/.gitkeep
  15. +48 −0 app/templates/base.html
  16. +43 −0 app/templates/flask_user/_macros.html
  17. +10 −0 app/templates/flask_user/base.html
  18. +18 −0 app/templates/flask_user/change_password.html
  19. +26 −0 app/templates/flask_user/edit_user_profile.html
  20. +8 −0 app/templates/flask_user/emails/base_message.html
  21. +7 −0 app/templates/flask_user/emails/base_message.txt
  22. +1 −0 app/templates/flask_user/emails/base_subject.txt
  23. +11 −0 app/templates/flask_user/emails/confirm_email_message.html
  24. +10 −0 app/templates/flask_user/emails/confirm_email_message.txt
  25. +3 −0 app/templates/flask_user/emails/confirm_email_subject.txt
  26. +10 −0 app/templates/flask_user/emails/invite_user_message.html
  27. +9 −0 app/templates/flask_user/emails/invite_user_message.txt
  28. +3 −0 app/templates/flask_user/emails/invite_user_subject.txt
  29. +8 −0 app/templates/flask_user/emails/password_changed_message.html
  30. +12 −0 app/templates/flask_user/emails/password_changed_message.txt
  31. +3 −0 app/templates/flask_user/emails/password_changed_subject.txt
  32. +16 −0 app/templates/flask_user/emails/registered_message.html
  33. +15 −0 app/templates/flask_user/emails/registered_message.txt
  34. +3 −0 app/templates/flask_user/emails/registered_subject.txt
  35. +12 −0 app/templates/flask_user/emails/reset_password_message.html
  36. +11 −0 app/templates/flask_user/emails/reset_password_message.txt
  37. +3 −0 app/templates/flask_user/emails/reset_password_subject.txt
  38. +6 −0 app/templates/flask_user/emails/username_changed_message.html
  39. +10 −0 app/templates/flask_user/emails/username_changed_message.txt
  40. +3 −0 app/templates/flask_user/emails/username_changed_subject.txt
  41. +13 −0 app/templates/flask_user/forgot_password.html
  42. +14 −0 app/templates/flask_user/invite_user.html
  43. +64 −0 app/templates/flask_user/login.html
  44. +45 −0 app/templates/flask_user/register.html
  45. +14 −0 app/templates/flask_user/resend_confirm_email.html
  46. +17 −0 app/templates/flask_user/reset_password.html
  47. +6 −0 app/templates/main/index.html
  48. +20 −0 app/views/__init__.py
  49. +25 −0 app/views/web.py
  50. +27 −0 manage.py
  51. +1 −0 migrations/README
  52. +45 −0 migrations/alembic.ini
  53. +95 −0 migrations/env.py
  54. +24 −0 migrations/script.py.mako
  55. +53 −0 migrations/versions/035a55e15cc4_.py
@@ -0,0 +1,51 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Flask stuff:
instance/
.webassets-cache
**/*.sqlite
app/storage/*
!app/storage/.gitkeep

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Local settings
app/settings/local.py
674 LICENSE

Large diffs are not rendered by default.

16 Pipfile
@@ -0,0 +1,16 @@
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true

[dev-packages]

[packages]
flask = "*"
flask-user = "*"
flask-sqlalchemy = "*"
flask-migrate = "*"
flask-script = "*"

[requires]
python_version = "3.7"

Some generated files are not rendered by default. Learn more.

@@ -0,0 +1,6 @@
# pste

[![License](https://img.shields.io/github/license/FoxDev/pste.svg)](https://www.gnu.org/licenses/gpl.txt)
[![Keybase PGP](https://img.shields.io/keybase/pgp/TheReverend403.svg)](https://keybase.io/thereverend403)

Just a simple Flask file hosting application inspired by the likes of pomf.se and teknik.io.

0 comments on commit 4e23214

Please sign in to comment.
You can’t perform that action at this time.