diff --git a/tests/db.sqlite b/tests/db.sqlite deleted file mode 100644 index 8e9d3f2..0000000 Binary files a/tests/db.sqlite and /dev/null differ diff --git a/tests/errors.log b/tests/errors.log deleted file mode 100644 index 5239b00..0000000 --- a/tests/errors.log +++ /dev/null @@ -1,77 +0,0 @@ -Could not send confirmation mail to foo@abc.de -Traceback (most recent call last): - File "/home/kaese/Projekte/ticketfrei/ticketfrei/frontend.py", line 42, in register_post - link = url('confirm/' + city + '/%s' % db.user_token(email, password)) - File "/home/kaese/Projekte/ticketfrei/ticketfrei/db.py", line 186, in user_token - return jwt.encode({ -AttributeError: module 'jwt' has no attribute 'encode' -Could not send confirmation mail to foo@abc.de -Traceback (most recent call last): - File "/home/kaese/Projekte/ticketfrei/ticketfrei/frontend.py", line 42, in register_post - link = url('confirm/' + city + '/%s' % db.user_token(email, password)) - File "/home/kaese/Projekte/ticketfrei/ticketfrei/db.py", line 186, in user_token - return jwt.encode({ -AttributeError: module 'jwt' has no attribute 'encode' -Could not send confirmation mail to foo@abc.de -Traceback (most recent call last): - File "/home/kaese/Projekte/ticketfrei/ticketfrei/frontend.py", line 42, in register_post - link = url('confirm/' + city + '/%s' % db.user_token(email, password)) - File "/home/kaese/Projekte/ticketfrei/ticketfrei/db.py", line 186, in user_token - return jwt.encode({ -AttributeError: module 'jwt' has no attribute 'encode' -Could not send confirmation mail to foo@abc.de -Traceback (most recent call last): - File "/home/kaese/Projekte/ticketfrei/ticketfrei/frontend.py", line 42, in register_post - link = url('confirm/' + city + '/%s' % db.user_token(email, password)) - File "/home/kaese/Projekte/ticketfrei/ticketfrei/db.py", line 186, in user_token - return jwt.encode({ -AttributeError: module 'jwt' has no attribute 'encode' -Could not send confirmation mail to foo@abc.de -Traceback (most recent call last): - File "/home/kaese/Projekte/ticketfrei/ticketfrei/frontend.py", line 42, in register_post - link = url('confirm/' + city + '/%s' % db.user_token(email, password)) - File "/home/kaese/Projekte/ticketfrei/ticketfrei/db.py", line 186, in user_token - return jwt.encode({ -AttributeError: module 'jwt' has no attribute 'encode' -Could not send confirmation mail to foo@abc.de -Traceback (most recent call last): - File "/home/kaese/Projekte/ticketfrei/ticketfrei/frontend.py", line 42, in register_post - link = url('confirm/' + city + '/%s' % db.user_token(email, password)) - File "/home/kaese/Projekte/ticketfrei/ticketfrei/db.py", line 186, in user_token - return jwt.encode({ -AttributeError: module 'jwt' has no attribute 'encode' -Could not send confirmation mail to foo@abc.de -Traceback (most recent call last): - File "/home/kaese/Projekte/ticketfrei/ticketfrei/frontend.py", line 42, in register_post - link = url('confirm/' + city + '/%s' % db.user_token(email, password)) - File "/home/kaese/Projekte/ticketfrei/ticketfrei/db.py", line 186, in user_token - return jwt.encode({ -AttributeError: module 'jwt' has no attribute 'encode' -Could not send confirmation mail to foo@abc.de -Traceback (most recent call last): - File "/home/kaese/Projekte/ticketfrei/ticketfrei/frontend.py", line 42, in register_post - link = url('confirm/' + city + '/%s' % db.user_token(email, password)) - File "/home/kaese/Projekte/ticketfrei/ticketfrei/db.py", line 186, in user_token - return jwt.encode({ -AttributeError: module 'jwt' has no attribute 'encode' -Could not send confirmation mail to foo@abc.de -Traceback (most recent call last): - File "/home/kaese/Projekte/ticketfrei/ticketfrei/frontend.py", line 42, in register_post - link = url('confirm/' + city + '/%s' % db.user_token(email, password)) - File "/home/kaese/Projekte/ticketfrei/ticketfrei/db.py", line 186, in user_token - return jwt.encode({ -AttributeError: module 'jwt' has no attribute 'encode' -Could not send confirmation mail to foo@abc.de -Traceback (most recent call last): - File "/home/kaese/Projekte/ticketfrei/ticketfrei/frontend.py", line 42, in register_post - link = url('confirm/' + city + '/%s' % db.user_token(email, password)) - File "/home/kaese/Projekte/ticketfrei/ticketfrei/db.py", line 186, in user_token - return jwt.encode({ -AttributeError: module 'jwt' has no attribute 'encode' -Could not send confirmation mail to foo@abc.de -Traceback (most recent call last): - File "/home/kaese/Projekte/ticketfrei/ticketfrei/frontend.py", line 42, in register_post - link = url('confirm/' + city + '/%s' % db.user_token(email, password)) - File "/home/kaese/Projekte/ticketfrei/ticketfrei/db.py", line 186, in user_token - return jwt.encode({ -AttributeError: module 'jwt' has no attribute 'encode' diff --git a/active_bots/__init__.py b/ticketfrei/active_bots/__init__.py similarity index 100% rename from active_bots/__init__.py rename to ticketfrei/active_bots/__init__.py diff --git a/active_bots/mailbot.py b/ticketfrei/active_bots/mailbot.py similarity index 100% rename from active_bots/mailbot.py rename to ticketfrei/active_bots/mailbot.py diff --git a/active_bots/mastodonbot.py b/ticketfrei/active_bots/mastodonbot.py similarity index 100% rename from active_bots/mastodonbot.py rename to ticketfrei/active_bots/mastodonbot.py diff --git a/active_bots/telegrambot.py b/ticketfrei/active_bots/telegrambot.py similarity index 100% rename from active_bots/telegrambot.py rename to ticketfrei/active_bots/telegrambot.py diff --git a/active_bots/twitterDMs.py b/ticketfrei/active_bots/twitterDMs.py similarity index 100% rename from active_bots/twitterDMs.py rename to ticketfrei/active_bots/twitterDMs.py diff --git a/active_bots/twitterbot.py b/ticketfrei/active_bots/twitterbot.py similarity index 100% rename from active_bots/twitterbot.py rename to ticketfrei/active_bots/twitterbot.py diff --git a/backend.py b/ticketfrei/backend.py similarity index 100% rename from backend.py rename to ticketfrei/backend.py diff --git a/bot.py b/ticketfrei/bot.py similarity index 100% rename from bot.py rename to ticketfrei/bot.py diff --git a/bots/mail/settings.tpl b/ticketfrei/bots/mail/settings.tpl similarity index 100% rename from bots/mail/settings.tpl rename to ticketfrei/bots/mail/settings.tpl diff --git a/bots/mastodon/settings.tpl b/ticketfrei/bots/mastodon/settings.tpl similarity index 100% rename from bots/mastodon/settings.tpl rename to ticketfrei/bots/mastodon/settings.tpl diff --git a/bots/telegram/settings.tpl b/ticketfrei/bots/telegram/settings.tpl similarity index 100% rename from bots/telegram/settings.tpl rename to ticketfrei/bots/telegram/settings.tpl diff --git a/bots/twitter/settings.tpl b/ticketfrei/bots/twitter/settings.tpl similarity index 100% rename from bots/twitter/settings.tpl rename to ticketfrei/bots/twitter/settings.tpl diff --git a/bots/twitterDMs/settings.tpl b/ticketfrei/bots/twitterDMs/settings.tpl similarity index 100% rename from bots/twitterDMs/settings.tpl rename to ticketfrei/bots/twitterDMs/settings.tpl diff --git a/config.py b/ticketfrei/config.py similarity index 100% rename from config.py rename to ticketfrei/config.py diff --git a/config.toml.example b/ticketfrei/config.toml.example similarity index 100% rename from config.toml.example rename to ticketfrei/config.toml.example diff --git a/db.py b/ticketfrei/db.py similarity index 100% rename from db.py rename to ticketfrei/db.py diff --git a/frontend.py b/ticketfrei/frontend.py similarity index 100% rename from frontend.py rename to ticketfrei/frontend.py diff --git a/report.py b/ticketfrei/report.py similarity index 100% rename from report.py rename to ticketfrei/report.py diff --git a/sendmail.py b/ticketfrei/sendmail.py similarity index 100% rename from sendmail.py rename to ticketfrei/sendmail.py diff --git a/session.py b/ticketfrei/session.py similarity index 100% rename from session.py rename to ticketfrei/session.py diff --git a/static/bot.html b/ticketfrei/static/bot.html similarity index 100% rename from static/bot.html rename to ticketfrei/static/bot.html diff --git a/static/css/style.css b/ticketfrei/static/css/style.css similarity index 100% rename from static/css/style.css rename to ticketfrei/static/css/style.css diff --git a/static/img/ticketfrei-og-image.jpg b/ticketfrei/static/img/ticketfrei-og-image.jpg similarity index 100% rename from static/img/ticketfrei-og-image.jpg rename to ticketfrei/static/img/ticketfrei-og-image.jpg diff --git a/static/img/ticketfrei_logo.png b/ticketfrei/static/img/ticketfrei_logo.png similarity index 100% rename from static/img/ticketfrei_logo.png rename to ticketfrei/static/img/ticketfrei_logo.png diff --git a/static/index.html b/ticketfrei/static/index.html similarity index 100% rename from static/index.html rename to ticketfrei/static/index.html diff --git a/static/jquery-ui-1.12.1/AUTHORS.txt b/ticketfrei/static/jquery-ui-1.12.1/AUTHORS.txt similarity index 100% rename from static/jquery-ui-1.12.1/AUTHORS.txt rename to ticketfrei/static/jquery-ui-1.12.1/AUTHORS.txt diff --git a/static/jquery-ui-1.12.1/LICENSE.txt b/ticketfrei/static/jquery-ui-1.12.1/LICENSE.txt similarity index 100% rename from static/jquery-ui-1.12.1/LICENSE.txt rename to ticketfrei/static/jquery-ui-1.12.1/LICENSE.txt diff --git a/static/jquery-ui-1.12.1/external/jquery/jquery.js b/ticketfrei/static/jquery-ui-1.12.1/external/jquery/jquery.js similarity index 100% rename from static/jquery-ui-1.12.1/external/jquery/jquery.js rename to ticketfrei/static/jquery-ui-1.12.1/external/jquery/jquery.js diff --git a/static/jquery-ui-1.12.1/images/ui-icons_444444_256x240.png b/ticketfrei/static/jquery-ui-1.12.1/images/ui-icons_444444_256x240.png similarity index 100% rename from static/jquery-ui-1.12.1/images/ui-icons_444444_256x240.png rename to ticketfrei/static/jquery-ui-1.12.1/images/ui-icons_444444_256x240.png diff --git a/static/jquery-ui-1.12.1/images/ui-icons_555555_256x240.png b/ticketfrei/static/jquery-ui-1.12.1/images/ui-icons_555555_256x240.png similarity index 100% rename from static/jquery-ui-1.12.1/images/ui-icons_555555_256x240.png rename to ticketfrei/static/jquery-ui-1.12.1/images/ui-icons_555555_256x240.png diff --git a/static/jquery-ui-1.12.1/images/ui-icons_777620_256x240.png b/ticketfrei/static/jquery-ui-1.12.1/images/ui-icons_777620_256x240.png similarity index 100% rename from static/jquery-ui-1.12.1/images/ui-icons_777620_256x240.png rename to ticketfrei/static/jquery-ui-1.12.1/images/ui-icons_777620_256x240.png diff --git a/static/jquery-ui-1.12.1/images/ui-icons_777777_256x240.png b/ticketfrei/static/jquery-ui-1.12.1/images/ui-icons_777777_256x240.png similarity index 100% rename from static/jquery-ui-1.12.1/images/ui-icons_777777_256x240.png rename to ticketfrei/static/jquery-ui-1.12.1/images/ui-icons_777777_256x240.png diff --git a/static/jquery-ui-1.12.1/images/ui-icons_cc0000_256x240.png b/ticketfrei/static/jquery-ui-1.12.1/images/ui-icons_cc0000_256x240.png similarity index 100% rename from static/jquery-ui-1.12.1/images/ui-icons_cc0000_256x240.png rename to ticketfrei/static/jquery-ui-1.12.1/images/ui-icons_cc0000_256x240.png diff --git a/static/jquery-ui-1.12.1/images/ui-icons_ffffff_256x240.png b/ticketfrei/static/jquery-ui-1.12.1/images/ui-icons_ffffff_256x240.png similarity index 100% rename from static/jquery-ui-1.12.1/images/ui-icons_ffffff_256x240.png rename to ticketfrei/static/jquery-ui-1.12.1/images/ui-icons_ffffff_256x240.png diff --git a/static/jquery-ui-1.12.1/index.html b/ticketfrei/static/jquery-ui-1.12.1/index.html similarity index 100% rename from static/jquery-ui-1.12.1/index.html rename to ticketfrei/static/jquery-ui-1.12.1/index.html diff --git a/static/jquery-ui-1.12.1/jquery-ui.css b/ticketfrei/static/jquery-ui-1.12.1/jquery-ui.css similarity index 100% rename from static/jquery-ui-1.12.1/jquery-ui.css rename to ticketfrei/static/jquery-ui-1.12.1/jquery-ui.css diff --git a/static/jquery-ui-1.12.1/jquery-ui.js b/ticketfrei/static/jquery-ui-1.12.1/jquery-ui.js similarity index 100% rename from static/jquery-ui-1.12.1/jquery-ui.js rename to ticketfrei/static/jquery-ui-1.12.1/jquery-ui.js diff --git a/static/jquery-ui-1.12.1/jquery-ui.min.css b/ticketfrei/static/jquery-ui-1.12.1/jquery-ui.min.css similarity index 100% rename from static/jquery-ui-1.12.1/jquery-ui.min.css rename to ticketfrei/static/jquery-ui-1.12.1/jquery-ui.min.css diff --git a/static/jquery-ui-1.12.1/jquery-ui.min.js b/ticketfrei/static/jquery-ui-1.12.1/jquery-ui.min.js similarity index 100% rename from static/jquery-ui-1.12.1/jquery-ui.min.js rename to ticketfrei/static/jquery-ui-1.12.1/jquery-ui.min.js diff --git a/static/jquery-ui-1.12.1/jquery-ui.structure.css b/ticketfrei/static/jquery-ui-1.12.1/jquery-ui.structure.css similarity index 100% rename from static/jquery-ui-1.12.1/jquery-ui.structure.css rename to ticketfrei/static/jquery-ui-1.12.1/jquery-ui.structure.css diff --git a/static/jquery-ui-1.12.1/jquery-ui.structure.min.css b/ticketfrei/static/jquery-ui-1.12.1/jquery-ui.structure.min.css similarity index 100% rename from static/jquery-ui-1.12.1/jquery-ui.structure.min.css rename to ticketfrei/static/jquery-ui-1.12.1/jquery-ui.structure.min.css diff --git a/static/jquery-ui-1.12.1/jquery-ui.theme.css b/ticketfrei/static/jquery-ui-1.12.1/jquery-ui.theme.css similarity index 100% rename from static/jquery-ui-1.12.1/jquery-ui.theme.css rename to ticketfrei/static/jquery-ui-1.12.1/jquery-ui.theme.css diff --git a/static/jquery-ui-1.12.1/jquery-ui.theme.min.css b/ticketfrei/static/jquery-ui-1.12.1/jquery-ui.theme.min.css similarity index 100% rename from static/jquery-ui-1.12.1/jquery-ui.theme.min.css rename to ticketfrei/static/jquery-ui-1.12.1/jquery-ui.theme.min.css diff --git a/static/jquery-ui-1.12.1/package.json b/ticketfrei/static/jquery-ui-1.12.1/package.json similarity index 100% rename from static/jquery-ui-1.12.1/package.json rename to ticketfrei/static/jquery-ui-1.12.1/package.json diff --git a/static/js/functions.js b/ticketfrei/static/js/functions.js similarity index 100% rename from static/js/functions.js rename to ticketfrei/static/js/functions.js diff --git a/static/js/jquery-3.3.1.min.js b/ticketfrei/static/js/jquery-3.3.1.min.js similarity index 100% rename from static/js/jquery-3.3.1.min.js rename to ticketfrei/static/js/jquery-3.3.1.min.js diff --git a/static/register.html b/ticketfrei/static/register.html similarity index 100% rename from static/register.html rename to ticketfrei/static/register.html diff --git a/template/city.tpl b/ticketfrei/template/city.tpl similarity index 100% rename from template/city.tpl rename to ticketfrei/template/city.tpl diff --git a/template/login-plain.tpl b/ticketfrei/template/login-plain.tpl similarity index 100% rename from template/login-plain.tpl rename to ticketfrei/template/login-plain.tpl diff --git a/template/login.tpl b/ticketfrei/template/login.tpl similarity index 100% rename from template/login.tpl rename to ticketfrei/template/login.tpl diff --git a/template/mail.tpl b/ticketfrei/template/mail.tpl similarity index 100% rename from template/mail.tpl rename to ticketfrei/template/mail.tpl diff --git a/template/propaganda.tpl b/ticketfrei/template/propaganda.tpl similarity index 100% rename from template/propaganda.tpl rename to ticketfrei/template/propaganda.tpl diff --git a/template/register-plain.tpl b/ticketfrei/template/register-plain.tpl similarity index 100% rename from template/register-plain.tpl rename to ticketfrei/template/register-plain.tpl diff --git a/template/register.tpl b/ticketfrei/template/register.tpl similarity index 100% rename from template/register.tpl rename to ticketfrei/template/register.tpl diff --git a/template/settings.tpl b/ticketfrei/template/settings.tpl similarity index 100% rename from template/settings.tpl rename to ticketfrei/template/settings.tpl diff --git a/template/wrapper.tpl b/ticketfrei/template/wrapper.tpl similarity index 100% rename from template/wrapper.tpl rename to ticketfrei/template/wrapper.tpl diff --git a/user.py b/ticketfrei/user.py similarity index 100% rename from user.py rename to ticketfrei/user.py diff --git a/wsgi.py b/ticketfrei/wsgi.py similarity index 100% rename from wsgi.py rename to ticketfrei/wsgi.py