From 1ddcc746c37b4638eed76bc76ecf202740d26518 Mon Sep 17 00:00:00 2001 From: Hitesh Patel <35237459+HiteshPatel0101@users.noreply.github.com> Date: Mon, 24 Aug 2020 21:13:26 +0530 Subject: [PATCH 1/5] Update README.md (#28) ## Full Documentation Link was broken, removed gitbook URL and added proper link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a0ca2e..e19d735 100644 --- a/README.md +++ b/README.md @@ -29,4 +29,4 @@ Now you're ready to start using the API! ## Full Documentation -You can find the full Python client documentation [here.](https://gophish.gitbooks.io/python-api-client/content/) +You can find the full Python client documentation [here.](https://docs.getgophish.com/python-api-client/) From f02819cac8d23a1aa24eef72e9ac04ad7bec6036 Mon Sep 17 00:00:00 2001 From: Jordan Wright Date: Thu, 17 Sep 2020 20:56:01 -0500 Subject: [PATCH 2/5] Updated dependencies --- setup.py | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/setup.py b/setup.py index ac1b5d7..4b8aacc 100644 --- a/setup.py +++ b/setup.py @@ -22,11 +22,15 @@ "Programming Language :: Python :: 3.3", ], install_requires=[ - "appdirs==1.4.0", - "packaging==16.8", - "pyparsing==2.1.10", - "python-dateutil==2.6.0", - "requests>=2.20.0", - "six==1.10.0", + "appdirs==1.4.4", + "certifi==2020.6.20", + "chardet==3.0.4", + "idna==2.10", + "packaging==20.4", + "pyparsing==2.4.7", + "python-dateutil==2.8.1", + "requests==2.24.0", + "six==1.15.0", + "urllib3==1.25.10" ], ) From b5d82330d88072021a8f54f9fb8818beee986beb Mon Sep 17 00:00:00 2001 From: Jordan Wright Date: Thu, 17 Sep 2020 20:56:12 -0500 Subject: [PATCH 3/5] Changed default host to use HTTPS --- gophish/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gophish/client.py b/gophish/client.py index 944ab68..64d9c9f 100644 --- a/gophish/client.py +++ b/gophish/client.py @@ -3,7 +3,7 @@ from gophish.api import (campaigns, groups, imap, pages, smtp, templates, webhooks) -DEFAULT_URL = 'http://localhost:3333' +DEFAULT_URL = 'https://localhost:3333' class GophishClient(object): From 1a8a6be31d43925e8cec903c4834869951b68ea6 Mon Sep 17 00:00:00 2001 From: Jordan Wright Date: Thu, 17 Sep 2020 21:05:47 -0500 Subject: [PATCH 4/5] Bumping version to 0.5.1 --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 4b8aacc..9fc8a07 100644 --- a/setup.py +++ b/setup.py @@ -4,13 +4,13 @@ setup( name="gophish", packages=["gophish", "gophish.api"], - version="0.4.0", + version="0.5.1", description="Python API Client for Gophish", author="Jordan Wright", author_email="python@getgophish.com", url="https://github.com/gophish/api-client-python", license="MIT", - download_url="https://github.com/gophish/api-client-python/tarball/0.4.0", + download_url="https://github.com/gophish/api-client-python/tarball/0.5.1", keywords=["gophish"], classifiers=[ "Development Status :: 3 - Alpha", From a4094b866293ae25c5425981d9e7fb405a7beebe Mon Sep 17 00:00:00 2001 From: Glenn Wilkinson Date: Wed, 30 Nov 2022 12:06:38 +0000 Subject: [PATCH 5/5] Added email_reported to models Stat --- gophish/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gophish/models.py b/gophish/models.py index 6e7c3f0..f1a5044 100644 --- a/gophish/models.py +++ b/gophish/models.py @@ -156,6 +156,7 @@ class Stat(Model): 'opened': None, 'clicked': None, 'submitted_data': None, + 'email_reported': None, 'error': None }