From b840fc997780de406f0a3e645a954c7502c7048d Mon Sep 17 00:00:00 2001 From: IssaIan <41931013+IssaIan@users.noreply.github.com> Date: Mon, 10 Dec 2018 12:06:32 +0300 Subject: [PATCH 01/19] Delete __init__.py --- app/__init__.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 app/__init__.py diff --git a/app/__init__.py b/app/__init__.py deleted file mode 100644 index c7ca2cd..0000000 --- a/app/__init__.py +++ /dev/null @@ -1,13 +0,0 @@ -from flask_api import FlaskAPI -from .api.v1 import version_1 as v1 -from flask_jwt_extended import (JWTManager) - - -def create_app(config_name): - app = FlaskAPI(__name__, instance_relative_config=True) - app.config.from_pyfile('config.py') - app.register_blueprint(v1) - app.config['JWT_SECRET_KEY'] = 'HUNCHO' - jwt = JWTManager(app) - - return app \ No newline at end of file From d41867de7d7f3a89a364a773a85d8cd0f7053f3a Mon Sep 17 00:00:00 2001 From: IssaIan <41931013+IssaIan@users.noreply.github.com> Date: Mon, 10 Dec 2018 12:06:45 +0300 Subject: [PATCH 02/19] Delete __init__.py --- app/api/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 app/api/__init__.py diff --git a/app/api/__init__.py b/app/api/__init__.py deleted file mode 100644 index e69de29..0000000 From a2ccdfc9e3b65b57fd3efd283691aa2ad65232be Mon Sep 17 00:00:00 2001 From: IssaIan <41931013+IssaIan@users.noreply.github.com> Date: Mon, 10 Dec 2018 12:07:04 +0300 Subject: [PATCH 03/19] Delete __init__.py --- app/api/v1/__init__.py | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 app/api/v1/__init__.py diff --git a/app/api/v1/__init__.py b/app/api/v1/__init__.py deleted file mode 100644 index 97b46a3..0000000 --- a/app/api/v1/__init__.py +++ /dev/null @@ -1,10 +0,0 @@ -from flask import Blueprint,make_response,json,abort,Flask,jsonify -from flask_restful import Api -from .redflags.models import All_Incidents,One_Incident - -version_1=Blueprint('api_v1',__name__,url_prefix='/api/v1') - - -api=Api(version_1) -api.add_resource(All_Incidents,'/flags/') -api.add_resource(One_Incident,'/flags/') From 5f38be65f7efae9d3702776397fcf190e7914d05 Mon Sep 17 00:00:00 2001 From: IssaIan <41931013+IssaIan@users.noreply.github.com> Date: Mon, 10 Dec 2018 12:07:15 +0300 Subject: [PATCH 04/19] Delete views.py --- app/api/v1/users/views.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 app/api/v1/users/views.py diff --git a/app/api/v1/users/views.py b/app/api/v1/users/views.py deleted file mode 100644 index e69de29..0000000 From ecc48067061494707e10d23ee06d6518abc06405 Mon Sep 17 00:00:00 2001 From: IssaIan <41931013+IssaIan@users.noreply.github.com> Date: Mon, 10 Dec 2018 12:07:24 +0300 Subject: [PATCH 05/19] Delete models.py --- app/api/v1/users/models.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 app/api/v1/users/models.py diff --git a/app/api/v1/users/models.py b/app/api/v1/users/models.py deleted file mode 100644 index e69de29..0000000 From 5b0fea9d078bfa0bcc55e80b2be04d39da14bb7c Mon Sep 17 00:00:00 2001 From: IssaIan <41931013+IssaIan@users.noreply.github.com> Date: Mon, 10 Dec 2018 12:07:35 +0300 Subject: [PATCH 06/19] Delete __init__.py --- app/api/v1/users/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 app/api/v1/users/__init__.py diff --git a/app/api/v1/users/__init__.py b/app/api/v1/users/__init__.py deleted file mode 100644 index e69de29..0000000 From a5b38314025e8c085bc44f800b0878aa812d0a4f Mon Sep 17 00:00:00 2001 From: IssaIan <41931013+IssaIan@users.noreply.github.com> Date: Mon, 10 Dec 2018 12:07:48 +0300 Subject: [PATCH 07/19] Delete views.py --- app/api/v1/comments/views.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 app/api/v1/comments/views.py diff --git a/app/api/v1/comments/views.py b/app/api/v1/comments/views.py deleted file mode 100644 index e69de29..0000000 From 62612fa97f73d31ae475a34ac02802d422442d0e Mon Sep 17 00:00:00 2001 From: IssaIan <41931013+IssaIan@users.noreply.github.com> Date: Mon, 10 Dec 2018 12:07:59 +0300 Subject: [PATCH 08/19] Delete models.py --- app/api/v1/comments/models.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 app/api/v1/comments/models.py diff --git a/app/api/v1/comments/models.py b/app/api/v1/comments/models.py deleted file mode 100644 index e69de29..0000000 From 6b245930e0f82d499107faf5a9e2751752f92be0 Mon Sep 17 00:00:00 2001 From: IssaIan <41931013+IssaIan@users.noreply.github.com> Date: Mon, 10 Dec 2018 12:08:11 +0300 Subject: [PATCH 09/19] Delete __init__.py --- app/api/v1/comments/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 app/api/v1/comments/__init__.py diff --git a/app/api/v1/comments/__init__.py b/app/api/v1/comments/__init__.py deleted file mode 100644 index e69de29..0000000 From 648c8699836d13d9a26f2a101004134e50cdfd8a Mon Sep 17 00:00:00 2001 From: IssaIan <41931013+IssaIan@users.noreply.github.com> Date: Mon, 10 Dec 2018 12:08:32 +0300 Subject: [PATCH 10/19] Delete workspace.xml --- .idea/workspace.xml | 254 -------------------------------------------- 1 file changed, 254 deletions(-) delete mode 100644 .idea/workspace.xml diff --git a/.idea/workspace.xml b/.idea/workspace.xml deleted file mode 100644 index 2e1a734..0000000 --- a/.idea/workspace.xml +++ /dev/null @@ -1,254 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -