main #12
0
__init.py__
Normal file → Executable file
0
pyproject.toml
Normal file → Executable file
0
requirements.txt
Normal file → Executable file
0
verse/__init.py__
Normal file → Executable file
0
verse/adminpage.py
Normal file → Executable file
0
verse/admintool.py
Normal file → Executable file
0
verse/app.py
Normal file → Executable file
0
verse/deploydb.py
Normal file → Executable file
0
verse/describer/describe_files.py
Normal file → Executable file
0
verse/describer/forms/describe_file_form.py
Normal file → Executable file
0
verse/describer/templates/describe_files/describe.html
Normal file → Executable file
0
verse/distribusikan/distribusikan.py
Normal file → Executable file
0
verse/distribusikan/distribusiselector.py
Normal file → Executable file
0
verse/distribusikan/distribusisinfo.py
Normal file → Executable file
0
verse/distribusikan/distribusiworkflow.py
Normal file → Executable file
0
verse/distribusikan/editor.py
Normal file → Executable file
0
verse/distribusikan/templates/distribusikan/distribusi.html
Normal file → Executable file
0
verse/distribusikan/templates/distribusikan/distribusiworkflow/editcss.html
Normal file → Executable file
0
verse/distribusikan/templates/distribusikan/distribusiworkflow/launch.html
Normal file → Executable file
0
verse/distribusikan/templates/distribusikan/distribusiworkflow/selector.html
Normal file → Executable file
0
verse/distribusikan/templates/distribusikan/distribusiworkflow/theme.html
Normal file → Executable file
0
verse/distribusikan/templates/distribusikan/distribusiworkflow/upload.html
Normal file → Executable file
0
verse/distribusikan/templates/distribusikan/editor.html
Normal file → Executable file
0
verse/distribusikan/themeselector.py
Normal file → Executable file
0
verse/distribusikan/upload.py
Normal file → Executable file
0
verse/distribusikan/uploadpage.py
Normal file → Executable file
0
verse/file_crawler.py
Normal file → Executable file
0
verse/forms/admindistribusiform.py
Normal file → Executable file
0
verse/forms/adminuserform.py
Normal file → Executable file
0
verse/forms/distribusiform.py
Normal file → Executable file
0
verse/forms/editorform.py
Normal file → Executable file
0
verse/forms/forgotpasswordform.py
Normal file → Executable file
0
verse/forms/loginform.py
Normal file → Executable file
0
verse/forms/publicthemeform.py
Normal file → Executable file
0
verse/forms/registerform.py
Normal file → Executable file
0
verse/forms/resetpasswordform.py
Normal file → Executable file
0
verse/forms/selectorform.py
Normal file → Executable file
0
verse/forms/themeform.py
Normal file → Executable file
0
verse/forms/uploadform.py
Normal file → Executable file
0
verse/instance/.gitignore
vendored
Normal file → Executable file
0
verse/migrations/README
Normal file → Executable file
0
verse/migrations/alembic.ini
Normal file → Executable file
0
verse/migrations/env.py
Normal file → Executable file
0
verse/migrations/script.py.mako
Normal file → Executable file
0
verse/models/distribusi_file_model.py
Normal file → Executable file
0
verse/models/distribusi_model.py
Normal file → Executable file
0
verse/models/user_model.py
Normal file → Executable file
0
verse/settings.toml
Normal file → Executable file
11
verse/start.py
Normal file → Executable file
@ -2,8 +2,14 @@
|
|||||||
|
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
|
|
||||||
from flask import (Blueprint, redirect, render_template, send_from_directory,
|
from flask import (
|
||||||
session, url_for)
|
Blueprint,
|
||||||
|
redirect,
|
||||||
|
render_template,
|
||||||
|
send_from_directory,
|
||||||
|
session,
|
||||||
|
url_for,
|
||||||
|
)
|
||||||
from flask_login import current_user, login_required, logout_user
|
from flask_login import current_user, login_required, logout_user
|
||||||
from flask_wtf.csrf import CSRFError
|
from flask_wtf.csrf import CSRFError
|
||||||
|
|
||||||
@ -31,7 +37,6 @@ APP.register_blueprint(forgot_password, url_prefix="/login/forgotpassword")
|
|||||||
APP.register_blueprint(distribusikan)
|
APP.register_blueprint(distribusikan)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@APP.before_request
|
@APP.before_request
|
||||||
def session_handler():
|
def session_handler():
|
||||||
session.permanent = True
|
session.permanent = True
|
||||||
|
0
verse/stash/.gitignore
vendored
Normal file → Executable file
0
verse/static/css/dropdown.css
Normal file → Executable file
0
verse/static/css/editor.css
Normal file → Executable file
0
verse/static/css/selector.css
Normal file → Executable file
0
verse/static/css/style.css
Normal file → Executable file
0
verse/static/icons/about.txt
Normal file → Executable file
0
verse/static/icons/android-chrome-192x192.png
Normal file → Executable file
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
0
verse/static/icons/android-chrome-512x512.png
Normal file → Executable file
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
0
verse/static/icons/apple-touch-icon.png
Normal file → Executable file
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
0
verse/static/icons/favicon-16x16.png
Normal file → Executable file
Before Width: | Height: | Size: 322 B After Width: | Height: | Size: 322 B |
0
verse/static/icons/favicon-32x32.png
Normal file → Executable file
Before Width: | Height: | Size: 666 B After Width: | Height: | Size: 666 B |
0
verse/static/icons/favicon.ico
Normal file → Executable file
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
0
verse/static/icons/site.webmanifest
Normal file → Executable file
0
verse/static/js/dropdown.js
Normal file → Executable file
0
verse/static/js/editorupdate.js
Normal file → Executable file
0
verse/static/js/script.js
Normal file → Executable file
0
verse/static/svg/arrow_1.svg
Normal file → Executable file
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
0
verse/static/svg/arrow_2.svg
Normal file → Executable file
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
0
verse/static/svg/arrow_3.svg
Normal file → Executable file
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
0
verse/statuspengguna/__init__.py
Normal file → Executable file
0
verse/statuspengguna/forgotpassword.py
Normal file → Executable file
0
verse/statuspengguna/helper.py
Normal file → Executable file
0
verse/statuspengguna/loginuser.py
Normal file → Executable file
0
verse/statuspengguna/registeruser.py
Normal file → Executable file
0
verse/statuspengguna/resetpassword.py
Normal file → Executable file
0
verse/statuspengguna/static/css/dropdown.css
Normal file → Executable file
0
verse/statuspengguna/static/css/editor.css
Normal file → Executable file
0
verse/statuspengguna/static/css/selector.css
Normal file → Executable file
0
verse/statuspengguna/static/css/style.css
Normal file → Executable file
0
verse/statuspengguna/static/icons/about.txt
Normal file → Executable file
0
verse/statuspengguna/static/icons/android-chrome-192x192.png
Normal file → Executable file
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
0
verse/statuspengguna/static/icons/android-chrome-512x512.png
Normal file → Executable file
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
0
verse/statuspengguna/static/icons/apple-touch-icon.png
Normal file → Executable file
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
0
verse/statuspengguna/static/icons/favicon-16x16.png
Normal file → Executable file
Before Width: | Height: | Size: 322 B After Width: | Height: | Size: 322 B |
0
verse/statuspengguna/static/icons/favicon-32x32.png
Normal file → Executable file
Before Width: | Height: | Size: 666 B After Width: | Height: | Size: 666 B |
0
verse/statuspengguna/static/icons/favicon.ico
Normal file → Executable file
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
0
verse/statuspengguna/static/icons/site.webmanifest
Normal file → Executable file
0
verse/statuspengguna/static/js/dropdown.js
Normal file → Executable file
0
verse/statuspengguna/static/js/editorupdate.js
Normal file → Executable file
0
verse/statuspengguna/static/js/script.js
Normal file → Executable file
0
verse/statuspengguna/static/svg/arrow_1.svg
Normal file → Executable file
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
0
verse/statuspengguna/static/svg/arrow_2.svg
Normal file → Executable file
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
0
verse/statuspengguna/static/svg/arrow_3.svg
Normal file → Executable file
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |