Coder Social home page Coder Social logo

michaelzdrav / taskmate Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 2.33 MB

Taskmate is a free task management tool that helps you stay organised and on top of your work. Taskmate, you can create tasks, set deadlines, track progress and receive email notifications.

License: GNU General Public License v3.0

Makefile 1.45% HTML 44.44% Python 50.93% JavaScript 0.30% CSS 1.53% Dockerfile 0.56% Shell 0.36% Mako 0.43%
flask python sqlite webapp postgres project-management self-hosted task-management task-management-system

taskmate's Introduction

Hi ๐Ÿ‘‹, I'm Michael Zdravkovski

A passionate DevOps Engineer and Security Engineer from Australia. I enjoy playing around with cool and complex tech in my spare time. Stay tuned for some cool projects I am working on.

michaelzdrav

  • ๐ŸŒฑ Iโ€™m currently learning Full Stack Development and Infrastructure as Code. I have taken an interest in Golang and will be exploring that more closely.

Connect with me:

michael-zdravkovski

Languages and Tools:

android aws azure bash bootstrap csharp django docker elasticsearch flask gatsby gcp git go grafana java javascript jekyll kibana kubernetes linux nginx nodejs postgresql postman python rabbitMQ react selenium sqlite vagrant

taskmate's People

Contributors

dependabot[bot] avatar michaelzdrav avatar

Stargazers

 avatar

Watchers

 avatar

taskmate's Issues

Link to live app

Hey, curious if there is a live link to this. I'd be interested to check it out.

Done task set to Overdue after login

A known bug is that the user creates an overdue task (status = OVERDUE), moves it to done (status = DONE) and can view it within Done Tasks with the Done status. Upon a new user logging in, the application will check the due dates and set the task to Overdue (status = OVERDUE). In reality, this moves the task out of the Done state, and it appears as a task that is not Done, but Overdue.

Expand error

[2023-08-14 08:37:20,377] INFO in auth: Tenancy 16, User_id 16, User helloworld2 has logged in. Timezone: Africa/Lagos
[2023-08-14 08:37:28,844] INFO in landing: Inserting task [author_id] 16, [title] test, [body] test, [due_date] 2023-07-31, [status] OVERDUE.
[2023-08-14 08:37:32,201] INFO in landing: Setting task [id] 17 status to DONE
[2023-08-14 08:37:35,510] INFO in auth: Log Out attempt - Username: helloworld2. IP: 172.31.38.27. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 OPR/101.0.0.0
[2023-08-14 08:37:35,511] INFO in auth: Tenancy 16, User_id 16, User helloworld2 has logged out.
[2023-08-14 08:37:41,824] INFO in auth: Log In attempt - Username: helloworld2. IP: 172.31.38.27. User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36 OPR/101.0.0.0
[2023-08-14 08:37:41,827] INFO in auth: Tenancy 16, User_id 16, User helloworld2 has logged in. Timezone: Africa/Lagos
[2023-08-14 08:37:41,868] INFO in auth: Task Check set task [id] 17 in tenancy [id] 16 to OVERDUE

This appears to be an issue within file

taskmate/web/auth.py

Lines 49 to 60 in d5f7c13

if (
task.status != "OVERDUE"
and task.due_date
and task.due_date.date() <= today
):
task.status = "OVERDUE"
current_app.logger.info(
"Task Check set task [id] %s in tenancy [id] %s to OVERDUE",
task.id,
tenant.id,
)

Unknown Timezone Error

Upon reviewing logs, I could see an error about an unknown timezone 'Asia/Perth' with the error: pytz.exceptions.UnknownTimeZoneError: 'Asia/Perth'

Expand error

[2023-08-01 13:28:02,634] INFO in queries: Got timezone Asia/Perth for [tenant_id] 13, User [id] 13.
[2023-08-01 13:28:02,634] INFO in landing: Got tenancy timezone Asia/Perth.
[2023-08-01 13:28:06,147] ERROR in app: Exception on /mobile/15 [GET]
Traceback (most recent call last):
File "/run/venv/lib/python3.8/site-packages/flask/app.py", line 2529, in wsgi_app
response = self.full_dispatch_request()
File "/run/venv/lib/python3.8/site-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/run/venv/lib/python3.8/site-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/run/venv/lib/python3.8/site-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/run/web/landing.py", line 122, in task_view
return render_template(
File "/run/venv/lib/python3.8/site-packages/flask/templating.py", line 147, in render_template
return _render(app, template, context)
File "/run/venv/lib/python3.8/site-packages/flask/templating.py", line 130, in _render
rv = template.render(context)
File "/run/venv/lib/python3.8/site-packages/jinja2/environment.py", line 1301, in render
self.environment.handle_exception()
File "/run/venv/lib/python3.8/site-packages/jinja2/environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/run/web/Templates/mobile/task.html", line 1, in top-level template code
{% extends 'base.html' %}
File "/run/web/Templates/base.html", line 125, in top-level template code
{% block header %}{% endblock %}
File "/run/web/Templates/mobile/task.html", line 76, in block 'header'
{{ view.created.strftime("%Y-%m-%d %H:%M:%S") | convert_utc_to_timezone }}
File "/run/web/init.py", line 25, in convert_utc_to_timezone
user_timezone = pytz.timezone(session["timezone"])
File "/run/venv/lib/python3.8/site-packages/pytz/init.py", line 188, in timezone
raise UnknownTimeZoneError(zone)
pytz.exceptions.UnknownTimeZoneError: 'Asia/Perth'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.