Skip to content

Commit

Permalink
Release 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWillner committed Apr 12, 2020
1 parent 40fc1b8 commit c01dcd4
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
AUTHOR_MAIL = "[email protected]"
DESCRIPTON = "A simple read-only CLI, API and Web Service for Things 3"
URL = "https://github.com/alexanderwillner/kanbanview"
VERSION = "2.1.2"
VERSION = "2.2.0"
DATA_FILES = [('resources', ["resources/logo.png"]),
('resources', ["resources/logo-dark.png"]),
('resources', ["resources/kanban.js"]),
('resources', ["resources/kanban.css"]),
('resources', ["resources/kanban.html"])
Expand Down
2 changes: 1 addition & 1 deletion things3/things3.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
__copyright__ = "2020 Alexander Willner"
__credits__ = ["Alexander Willner"]
__license__ = "Apache License 2.0"
__version__ = "2.1.2"
__version__ = "2.2.0"
__maintainer__ = "Alexander Willner"
__email__ = "[email protected]"
__status__ = "Development"
Expand Down
4 changes: 1 addition & 3 deletions things3/things3_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
__copyright__ = "Copyright 2020 Alexander Willner"
__credits__ = ["Alexander Willner"]
__license__ = "Apache License 2.0"
__version__ = "2.1.2"
__version__ = "2.2.0"
__maintainer__ = "Alexander Willner"
__email__ = "[email protected]"
__status__ = "Development"
Expand All @@ -31,7 +31,6 @@ class Things3API():
things3 = None

# @APP.route('/<url>')

def on_get(self, url):
"""Handles other GET requests"""
filename = self.PATH + url
Expand All @@ -53,7 +52,6 @@ def on_get(self, url):
return Response(response=data, content_type=content_type)

# @APP.route('/api/<command>')

def api(self, command):
"""Return database as JSON strings."""
if command in self.things3.functions:
Expand Down
5 changes: 3 additions & 2 deletions things3/things3_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
__copyright__ = "Copyright 2020 Alexander Willner"
__credits__ = ["Luc Beaulieu", "Alexander Willner"]
__license__ = "Apache License 2.0"
__version__ = "2.1.2"
__version__ = "2.2.0"
__maintainer__ = "Alexander Willner"
__email__ = "[email protected]"
__status__ = "Development"
Expand Down Expand Up @@ -56,7 +56,7 @@ def main(self):
thread = Process(target=self.open_api)
try:
thread.start()
webview.start() # blocking
webview.start() # blocking
thread.terminate()
thread.join()
except KeyboardInterrupt:
Expand All @@ -65,5 +65,6 @@ def main(self):
thread.join()
sys.exit(0)


if __name__ == "__main__":
Things3App().main()
2 changes: 1 addition & 1 deletion things3/things3_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
__copyright__ = "2020 Alexander Willner"
__credits__ = ["Alexander Willner"]
__license__ = "Apache License 2.0"
__version__ = "2.1.2"
__version__ = "2.2.0"
__maintainer__ = "Alexander Willner"
__email__ = "[email protected]"
__status__ = "Development"
Expand Down
8 changes: 5 additions & 3 deletions things3/things3_kanban.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
__copyright__ = "Copyright 2020 Alexander Willner"
__credits__ = ["Luc Beaulieu", "Alexander Willner"]
__license__ = "Apache License 2.0"
__version__ = "2.1.2"
__version__ = "2.2.0"
__maintainer__ = "Alexander Willner"
__email__ = "[email protected]"
__status__ = "Development"
Expand Down Expand Up @@ -74,8 +74,10 @@ def write_html_header(file):
<body>
<header>
<a href="https://kanbanview.app" title="visit product page">
<img class="logo bright" src="./resources/logo.png" alt="logo for bright theme">
<img class="logo dark" src="./resources/logo-dark.png" alt="logo for dark theme" style="display: none;">
<img class="logo bright" src="./resources/logo.png"
alt="logo for bright theme">
<img class="logo dark" src="./resources/logo-dark.png"
alt="logo for dark theme" style="display: none;">
</a>
</header>
<article class='some-page-wrapper'>
Expand Down

0 comments on commit c01dcd4

Please sign in to comment.