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.
- {openwrite-0.10.3/openwrite.egg-info → openwrite-0.10.4}/PKG-INFO +1 -1
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/cli.py +2 -1
- {openwrite-0.10.3 → openwrite-0.10.4/openwrite.egg-info}/PKG-INFO +1 -1
- {openwrite-0.10.3 → openwrite-0.10.4}/pyproject.toml +1 -1
- {openwrite-0.10.3 → openwrite-0.10.4}/LICENSE +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/MANIFEST.in +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/README.md +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/__init__.py +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/db/__init__.py +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/db/base.py +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/gemini_multi.py +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/gemini_single.py +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/routes/admin.py +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/routes/auth.py +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/routes/blog.py +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/routes/dashboard.py +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/routes/federation.py +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/routes/main.py +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/routes/upload.py +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/IBMPlexSans-Regular.ttf +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/Merriweather.ttf +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/avatar.png +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/favicon.ico +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/logo.png +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/script/chart.js +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/script/highlight.min.js +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/script/openwrite.js +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/script/papaparse.min.js +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/script/showdown.min.js +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/script/showdown.min.js.map +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/script/site.compat.min.js +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/script/site.min.js +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/style/hl.css +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/style/style.css +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/style/themes/light.css +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/style/themes/obscura.css +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/style/themes/stickynote.css +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/style/themes/terminal.css +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/style/themes/warmnight.css +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/static/style/themes/windows98.css +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/admin.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/blog.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/blog_footer.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/blog_header.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/blog_preview.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/changepw.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/create.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/dashboard.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/discover.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/edit.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/footer.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/header.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/import.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/index.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/instances.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/login.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/new_post.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/post.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/preview.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/register.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/settings.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/templates/stats.html +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/utils/create_db.py +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/utils/db.py +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/utils/helpers.py +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/utils/i18n.json +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/utils/models.py +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite/utils/translations.py +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite.egg-info/SOURCES.txt +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite.egg-info/dependency_links.txt +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite.egg-info/entry_points.txt +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite.egg-info/requires.txt +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/openwrite.egg-info/top_level.txt +0 -0
- {openwrite-0.10.3 → openwrite-0.10.4}/setup.cfg +0 -0
|
@@ -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"{
|
|
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:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|