17
0

Commit Graph

  • 5eb0366ea9 Accepting request 1181214 from devel:languages:python factory leap-16.1 leap-16.0 Ana Guerrero 2024-06-17 17:30:12 +00:00
  • b9c6888ae1 - update to 2.20.0: * 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 Dirk Mueller 2024-06-17 05:57:46 +00:00
  • daef93c4a2 Accepting request 1171537 from devel:languages:python Ana Guerrero 2024-05-03 17:46:07 +00:00
  • cb9ab4a50a - update to 2.19.4: * 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 Dirk Mueller 2024-05-03 07:33:47 +00:00
  • c81375e3df Accepting request 1165873 from devel:languages:python Ana Guerrero 2024-04-07 20:11:46 +00:00
  • 627981e428 - update to 2.19.2: * 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 Dirk Mueller 2024-04-06 19:28:49 +00:00
  • f576c6fc70 Accepting request 1142769 from devel:languages:python Ana Guerrero 2024-01-30 17:26:48 +00:00
  • 779fdcfeb2 - update to 2.17.0: * 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 Dirk Mueller 2024-01-30 12:10:36 +00:00
  • 94aefb72d7 Accepting request 1137644 from devel:languages:python Ana Guerrero 2024-01-09 19:49:51 +00:00
  • 63fe171e9a - update to 2.16.0: * 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 Dirk Mueller 2024-01-08 21:04:35 +00:00
  • cedd5e207f Accepting request 1133820 from devel:languages:python Ana Guerrero 2023-12-18 21:56:33 +00:00
  • 3e0a538add - update to 2.14.3: * /live added - but does not response yet * handle {account-identifier} with a dash vs underscore. Dirk Mueller 2023-12-18 09:30:25 +00:00
  • 174cbc2b90 Accepting request 1129789 from devel:languages:python Ana Guerrero 2023-11-30 21:00:37 +00:00
  • b10dcae365 - update to 2.14.2: * 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 Dirk Mueller 2023-11-29 12:12:08 +00:00
  • 6b831109f9 Accepting request 1115792 from devel:languages:python Ana Guerrero 2023-10-05 18:05:03 +00:00
  • ddd27b7a59 - update to 2.12.4: * 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. Dirk Mueller 2023-10-05 09:49:31 +00:00
  • 430d85c3e8 Accepting request 1108969 from devel:languages:python Ana Guerrero 2023-09-06 16:56:42 +00:00
  • 2abcfdc932 - Switch to pyproject macros. - Stop using greedy globs in %files. - Drop unneeded {Build,}Requires on future. Steve Kowalik 2023-09-05 03:13:39 +00:00
  • 3a1dfee130 Accepting request 1108926 from devel:languages:python Ana Guerrero 2023-09-04 20:54:04 +00:00
  • 49ea58969f - update to 2.11.7: * more api endpoints * update examples and README to use == for numberic values Dirk Mueller 2023-09-04 15:57:19 +00:00
  • a149fb38c5 Accepting request 1098206 from devel:languages:python Dominique Leuenberger 2023-07-12 15:27:23 +00:00
  • 802380833d - update to 2.11.6: * handle multipart/form-data correctly for more than one file and with params/data * keywords not handled correctly at command level * added after openapi review * added deprecated processing, now shows version Dirk Mueller 2023-07-11 14:08:02 +00:00
  • 58fabb467e Accepting request 1096281 from devel:languages:python Dominique Leuenberger 2023-07-01 21:18:26 +00:00
  • a2fd023ec8 Accepting request 1096270 from home:ecsos:python Markéta Machová 2023-07-01 10:38:34 +00:00
  • 6cce6f4294 Accepting request 948246 from devel:languages:python Dominique Leuenberger 2022-01-23 17:38:44 +00:00
  • ff715e16db - update to 2.8.15: * 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 Dirk Mueller 2022-01-23 16:45:58 +00:00
  • 4717544d25 Accepting request 820642 from devel:languages:python Dominique Leuenberger 2020-07-14 06:00:00 +00:00
  • eea71be4c3 Accepting request 820638 from home:mcalabkova:branches:devel:languages:python Tomáš Chvátal 2020-07-13 09:23:07 +00:00
  • 70f4c6687a Accepting request 816914 from devel:languages:python Dominique Leuenberger 2020-06-25 13:08:32 +00:00
  • af2ffb79c7 - Update to 2.8.3: * No upstream changelog - Add alternative for new manpage. Steve Kowalik 2020-06-25 04:24:25 +00:00
  • 0ae03fa361 Accepting request 809821 from devel:languages:python Dominique Leuenberger 2020-06-09 22:44:09 +00:00
  • 35a26744b1 Accepting request 809581 from home:pgajdos:python Tomáš Chvátal 2020-05-28 07:34:59 +00:00
  • 6d7b897a6d Accepting request 786624 from devel:languages:python Dominique Leuenberger 2020-03-20 22:57:07 +00:00
  • da75f7a44c - Update to 2.6.3: * No upstream changelog Steve Kowalik 2020-03-20 01:14:36 +00:00
  • eb61ff1566 Accepting request 718775 from devel:languages:python Dominique Leuenberger 2019-07-26 10:44:50 +00:00
  • e4108465e4 Accepting request 718772 from home:pgajdos Dirk Mueller 2019-07-26 08:41:54 +00:00
  • 85b9243666 Accepting request 635537 from devel:languages:python Yuchen Lin 2018-09-13 22:02:48 +00:00
  • 5ada69f4f1 - Do not install generic examples directory Tomáš Chvátal 2018-09-13 13:27:34 +00:00
  • 8d8da4ba60 Accepting request 632279 from devel:languages:python Dominique Leuenberger 2018-09-03 08:34:09 +00:00
  • d862bdfc6b Accepting request 632278 from home:mcalabkova:branches:devel:languages:python:certbot Tomáš Chvátal 2018-08-30 09:49:31 +00:00