Skip to content

Commit f9fcbef

Browse files
committed
chore: add CHANGELOG.md
1 parent dc250de commit f9fcbef

File tree

2 files changed

+37
-3
lines changed

2 files changed

+37
-3
lines changed

.github/CHANGELOG.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Changelog
2+
3+
**[Get it on PyPi](https://pypi.org/project/Flask-Shell2HTTP/)**
4+
5+
## [v1.7.0](https://github.com/eshaan7/Flask-Shell2HTTP/releases/tag/v1.7.0)
6+
7+
**For you:**
8+
- Deps: Support for both Flask version 1.x and 2.x.
9+
- Feature: The `key` and `result_url` attributes are returned in response even if error is raised (if and when applicable) (See [#25](https://github.com/eshaan7/Flask-Shell2HTTP/issues/25)).
10+
- Docs: Add info about `force_unique_key` option to quickstart guide.
11+
12+
**Internal:**
13+
- Much better and improved test cases via tox matrix for both major flask versions, 1.x and 2.x.
14+
- Much better overall type hinting.
15+
16+
## [v1.6.0](https://github.com/eshaan7/Flask-Shell2HTTP/releases/tag/v1.6.0)
17+
18+
Added support for a new parameter `force_unique_key` in the POST request.
19+
20+
```json
21+
"force_unique_key": {
22+
"type": "boolean",
23+
"title": "Flag to enable/disable internal rate limiting mechanism",
24+
"description": "By default, the key is the SHA1 sum of the command + args POSTed to the API. This is done as a rate limiting measure so as to prevent multiple jobs with same parameters, if one such job is already running. If force_unique_key is set to true, the API will bypass this default behaviour and a psuedorandom key will be returned instead",
25+
"default": false
26+
}
27+
```
28+
29+
See [post-request-options configuration](https://flask-shell2http.readthedocs.io/en/latest/Configuration.html#post-request-options) in docs for more info.
30+
31+
32+
_For prior versions, see directly [here](https://github.com/eshaan7/Flask-Shell2HTTP/releases/tag/)._

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,15 @@ A minimalist [Flask](https://github.com/pallets/flask) extension that serves as
3434
> Note: This extension is primarily meant for executing long-running
3535
> shell commands/scripts (like nmap, code-analysis' tools) in background from an HTTP request and getting the result at a later time.
3636
37+
3738
## Documentation
3839

3940
[![Documentation Status](https://readthedocs.org/projects/flask-shell2http/badge/?version=latest)](https://flask-shell2http.readthedocs.io/en/latest/?badge=latest)
4041

41-
Read the [Quickstart](https://flask-shell2http.readthedocs.io/en/stable/Quickstart.html)
42-
from the [documentation](https://flask-shell2http.readthedocs.io/) to get started!
42+
- Read the [Quickstart](https://flask-shell2http.readthedocs.io/en/stable/Quickstart.html) from the [documentation](https://flask-shell2http.readthedocs.io/) to get started!
43+
- I also highly recommend the [Examples](https://flask-shell2http.readthedocs.io/en/stable/Examples.html) section.
44+
- [CHANGELOG](https://github.com/intelowlproject/IntelOwl/blob/master/.github/CHANGELOG.md).
4345

44-
I highly recommend the [Examples](https://flask-shell2http.readthedocs.io/en/stable/Examples.html) section.
4546

4647
## Quick Start
4748

@@ -134,6 +135,7 @@ Returns result in JSON,
134135
}
135136
```
136137

138+
137139
## Inspiration
138140

139141
This was initially made to integrate various command-line tools easily with [Intel Owl](https://github.com/intelowlproject/IntelOwl), which I am working on as part of Google Summer of Code.

0 commit comments

Comments
 (0)