* extra AI api endpoints
* more api endpoints
* moved 2.20.* warnings into
a proper Python PendingDeprecationWarning message
* reduce processing of
OpenAPI logic when content-type is application/json
* warning now in its own file and warning sent to stderr
or logging only if release number 2.20 or above
* HTTPError can show up when you plan with the URL value
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudflare?expand=0&rev=38
* HTTPError can show up when you plan with the URL value
* #186 - explain how to maps arguments
* #188 - url now uses strings - as it should!
* #190 - remove Python 3.5 support because of f-string
* Add version 3.0 code and pinning info to README
* more api endpoints
* now that AI methods are in library - no need for
CLOUDFLARE_API_EXTRAS code more api endpoints
* remove f-string for Python <3.6 compatibility
* added documentation urls, etc for pypi
* finally removed the VOID calls, added /ai/run endpoints
* still testing docs
* start of longstanding need for documentation, update of
copyright string
* moved all requests
code/exceptions into network where it belongs, import
cleanup, exception handling cleanup
* handle python < 3.10 to get utc time correctly
* document cli4 having --header flag
* cli4 has --header flag, plus http_headers needed some
more syntax checking
* added Python 3.5 note
* remove excessive import
* improved date/time rfc/iso
code, lint fixes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudflare?expand=0&rev=36
* http_headers documentation
* fix tag name creation
* added http_headers
* solidfied the Python3 only mindset
* brought man page up to date
* create dummy loa document on-the-fly with very-basic pdf
content
- update to 2.19.0:
* CHANGELOG.md pushed to
* typo introduced before
* purge_cache test - was chasing a different bug
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudflare?expand=0&rev=34
* handle case where zone and account disallow load balancing
* make 4xx error handling more generic
* testing load balancers becuase they return 412 HTTP errors
* debug messages line lenght needs to be longer so that error
return messages are shown clearly
* issue-181 HTTP response code 412 not handled
* handle 404 errors with invalid API error structure
* test get/put/patch/delete and post with no data - all expected
return error
* now testing api calls with four id values
* now testing api calls with three id values
* improve error message responses for 400-405 http reponses code
they now decode
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudflare?expand=0&rev=32
* added CloudFlare/tests as a package - a better place to
keep tests
* return http code 200 and
more 2xx now accepted, check for decode() errors
* confine account to first one
* testing pdf uploading and downloading
* cleanup to show correct sequence of firewall and filter
creation and deletion
* added workers create and delete
* moved /tests to /CloudFlare/tests
api_decode_from_web.py as the old api.cloudflare.com website
has gone away
* OpenAPI code now returns clean errors and version number.
* openapi url now in code where it belongs, args checked for
type str, logging messgaes for various errors, http error
code 400 & 429 handled
* --openapi call now with optional argument as url is built
into code
* all tests now similar
structure, callable from command line, debug on by default
for command line calls
* move OPENAPI_URL into code where it belongs
* only create one logger - longstanding issue solved
* added openapi_url config - rarely used outside of development
* deal with /certificates case - which is unique
* do not run tests if nothing has changed
* make zone choice random, add delay for import as it is rate limited
* remove excess code
* moved to use tempfile.TemporaryFile so more portable over many systems
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudflare?expand=0&rev=30
* added AI info
* account name via -a flag now. should not be needed
* stable diffusion example
* move config info into code
* first pass a new AI API calls
* cleanup of usage, added more flag descriptions
* cleanup of usage and getops values - now consistent
* timeout values now work from config or api call,
added support for image binary results, fixed logging if binary
* handle raw byte output either via --image flag or if return
from api is bytes
* more api endpoints
* added ips and issue114 tests
* add importlib_resources info for older Python versions
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudflare?expand=0&rev=26
* added ips and issue114 tests
* add importlib_resources info for older Python versions
* more api endpoints
* more twine tweaks
* Added cli4 -e option to
display example file path names
* Add `global_request_timeout` and `max_request_retries`
configuration options. Set default request timeout to 5s. Add
basic tests instantiating Cloudflare.Cloudflare
* more api endpoints
* Make RegEx string a raw string literal
* more api endpoints
* update examples and README to use == for numberic values
* more api endpoints
* remove --api option and leave --openapi in place
* handle quoted strings
* handle multipart/form-data
correctly for more than one file and with params/data
* python keywords not handled correctly at command level
* fix: remove future dependency and imports
* added after openapi review
* added deprecated processing, now shows version
* update examples and README to use == for numberic values
For full changelog see:
* moved network functions into their own file - part of splitting up a large file
- Add alternative for new manpage.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudflare?expand=0&rev=24
* added cursor example
* zones/rulesets added
* Removing excess trailing parenthesis
* first pass at adding travis CI
* zones/waiting_rooms, accounts/diagnostics, and more
* configparser added it haste, but not needed - oops!
* /zones/:id/access/...
* configparser missing - oops!
* cleaner and easier way to find missing api calls - this changes --dump/--api for the better
* /zones/:id/access/apps/policies - fixed along with a bunch more similar typos
* added more profile info
* revoke-tokens -> revoke_tokens
* updated and included AMP RealURL/Signed Exchange API
* now with curl style debug - i.e. matches api information page
* now with curl style debug - i.e. matches api information page
* now with access_requests as underscore
* make sure verbose, etc is always used
* dashes vs underscores - finally tamed!
* /zones/:id/access/apps/:id/revoke-tokens - added
* improve deprecated code - add dates, check expire, improve parse of api webpage
* added support for dashes/underscores in commands and python calls - kinda overdue
* cleanup of logic around uuid match. added support for dashes/underscores in commands
* /zones/:id/access/apps/revoke-tokens - removed as depricated
* removed deprecated /organizations and /user/virtual_dns api
* Added base_url to config and env variables
* accounts/:id/rules/lists/bulk_operations/:operation_id - syntax fixed
* Added working GraphQL examples
* improved debug for jSON based data/params
* rules,access/logs,access/apps,etc added
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cloudflare?expand=0&rev=15