openwrite 0.10.3__tar.gz → 0.10.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. {openwrite-0.10.3/openwrite.egg-info → openwrite-0.10.4}/PKG-INFO +1 -1
  2. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/cli.py +2 -1
  3. {openwrite-0.10.3 → openwrite-0.10.4/openwrite.egg-info}/PKG-INFO +1 -1
  4. {openwrite-0.10.3 → openwrite-0.10.4}/pyproject.toml +1 -1
  5. {openwrite-0.10.3 → openwrite-0.10.4}/LICENSE +0 -0
  6. {openwrite-0.10.3 → openwrite-0.10.4}/MANIFEST.in +0 -0
  7. {openwrite-0.10.3 → openwrite-0.10.4}/README.md +0 -0
  8. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/__init__.py +0 -0
  9. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/db/__init__.py +0 -0
  10. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/db/base.py +0 -0
  11. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/gemini_multi.py +0 -0
  12. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/gemini_single.py +0 -0
  13. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/routes/admin.py +0 -0
  14. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/routes/auth.py +0 -0
  15. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/routes/blog.py +0 -0
  16. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/routes/dashboard.py +0 -0
  17. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/routes/federation.py +0 -0
  18. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/routes/main.py +0 -0
  19. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/routes/upload.py +0 -0
  20. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/IBMPlexSans-Regular.ttf +0 -0
  21. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/Merriweather.ttf +0 -0
  22. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/avatar.png +0 -0
  23. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/favicon.ico +0 -0
  24. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/logo.png +0 -0
  25. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/script/chart.js +0 -0
  26. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/script/highlight.min.js +0 -0
  27. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/script/openwrite.js +0 -0
  28. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/script/papaparse.min.js +0 -0
  29. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/script/showdown.min.js +0 -0
  30. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/script/showdown.min.js.map +0 -0
  31. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/script/site.compat.min.js +0 -0
  32. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/script/site.min.js +0 -0
  33. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/style/hl.css +0 -0
  34. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/style/style.css +0 -0
  35. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/style/themes/light.css +0 -0
  36. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/style/themes/obscura.css +0 -0
  37. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/style/themes/stickynote.css +0 -0
  38. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/style/themes/terminal.css +0 -0
  39. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/style/themes/warmnight.css +0 -0
  40. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/style/themes/windows98.css +0 -0
  41. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/admin.html +0 -0
  42. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/blog.html +0 -0
  43. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/blog_footer.html +0 -0
  44. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/blog_header.html +0 -0
  45. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/blog_preview.html +0 -0
  46. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/changepw.html +0 -0
  47. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/create.html +0 -0
  48. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/dashboard.html +0 -0
  49. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/discover.html +0 -0
  50. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/edit.html +0 -0
  51. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/footer.html +0 -0
  52. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/header.html +0 -0
  53. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/import.html +0 -0
  54. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/index.html +0 -0
  55. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/instances.html +0 -0
  56. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/login.html +0 -0
  57. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/new_post.html +0 -0
  58. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/post.html +0 -0
  59. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/preview.html +0 -0
  60. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/register.html +0 -0
  61. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/settings.html +0 -0
  62. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/stats.html +0 -0
  63. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/utils/create_db.py +0 -0
  64. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/utils/db.py +0 -0
  65. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/utils/helpers.py +0 -0
  66. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/utils/i18n.json +0 -0
  67. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/utils/models.py +0 -0
  68. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/utils/translations.py +0 -0
  69. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite.egg-info/SOURCES.txt +0 -0
  70. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite.egg-info/dependency_links.txt +0 -0
  71. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite.egg-info/entry_points.txt +0 -0
  72. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite.egg-info/requires.txt +0 -0
  73. {openwrite-0.10.3 → openwrite-0.10.4}/openwrite.egg-info/top_level.txt +0 -0
  74. {openwrite-0.10.3 → openwrite-0.10.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: openwrite
3
- Version: 0.10.3
3
+ Version: 0.10.4
4
4
  License: GNU AFFERO GENERAL PUBLIC LICENSE
5
5
  Version 3, 19 November 2007
6
6
 
@@ -60,6 +60,7 @@ def init():
60
60
  bunny_storageurl = click.prompt("Bunny.net storage URL")
61
61
  else:
62
62
  upload_path = click.prompt("Path to save files?", default=f"{cwd}/uploads")
63
+ os.makedirs(upload_path, exist_ok=True)
63
64
  if mode == 1:
64
65
  register = click.prompt("Allow self-register?", default=True)
65
66
  dbtype = click.prompt("Choose database type: sqlite / mysql", default="sqlite")
@@ -88,7 +89,7 @@ def init():
88
89
  if mode == 1:
89
90
  os.rename(f"{lib_cwd}/gemini_multi.py", f"{cwd}/gemini/mod/10_openwrite.py")
90
91
  elif mode == 2:
91
- os.rename(f"{cwd}/gemini_single.py", f"{cwd}/gemini/mod/10_openwrite.py")
92
+ os.rename(f"{lib_cwd}/gemini_single.py", f"{cwd}/gemini/mod/10_openwrite.py")
92
93
 
93
94
  logs_enabled = click.confirm("Enable logging?", default=True)
94
95
  if logs_enabled:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: openwrite
3
- Version: 0.10.3
3
+ Version: 0.10.4
4
4
  License: GNU AFFERO GENERAL PUBLIC LICENSE
5
5
  Version 3, 19 November 2007
6
6
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "openwrite"
7
- version = "0.10.3"
7
+ version = "0.10.4"
8
8
  license = { file = "LICENSE" }
9
9
  dependencies = [
10
10
  "flask",
File without changes
File without changes
File without changes
File without changes