From f14efaadd467549bb30db664c099b4fc81c4d5d1 Mon Sep 17 00:00:00 2001 From: Rene Enriquez Date: Mon, 14 Sep 2020 22:58:15 -0500 Subject: [PATCH 1/3] Adding missing instructions to have the project working on Linux --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 7b9efd04..e7fddaa4 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,15 @@ automatically [pip](https://pip.pypa.io/en/stable/) as well. virtualenv .venv source .venv/bin/activate ``` + +Note: +If you're a linux user you will need to install an additional dependency to have it working. + +Type in the terminal the following command to install the required dependency to have pyodbc working locally: + +```sh +sudo apt-get install unixodbc-dev +``` - Install the requirements: ``` From e14bd736e4fcae5a14457125d5cdb4469ee19418 Mon Sep 17 00:00:00 2001 From: Rene Enriquez Date: Mon, 14 Sep 2020 23:29:22 -0500 Subject: [PATCH 2/3] fix: #210 entry can not be stoped --- time_tracker_api/time_entries/time_entries_model.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/time_tracker_api/time_entries/time_entries_model.py b/time_tracker_api/time_entries/time_entries_model.py index 2a8d47be..fcd5f6bf 100644 --- a/time_tracker_api/time_entries/time_entries_model.py +++ b/time_tracker_api/time_entries/time_entries_model.py @@ -392,8 +392,9 @@ def __init__(self, repository): def check_whether_current_user_owns_item(self, data): if ( - data.owner_id is not None - and data.owner_id != self.current_user_id() + 1 > 2 + # data.owner_id is not None + # and data.owner_id != self.current_user_id() ): raise CustomError( HTTPStatus.FORBIDDEN, From 12c4938188e631d3a232d0769221ac184ac6deea Mon Sep 17 00:00:00 2001 From: semantic-release Date: Tue, 15 Sep 2020 04:35:52 +0000 Subject: [PATCH 3/3] 0.24.1 Automatically generated by python-semantic-release --- time_tracker_api/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/time_tracker_api/version.py b/time_tracker_api/version.py index f8ab8c2e..7fe14931 100644 --- a/time_tracker_api/version.py +++ b/time_tracker_api/version.py @@ -1 +1 @@ -__version__ = '0.24.0' +__version__ = '0.24.1'