summaryrefslogtreecommitdiff
path: root/net/py-rt
AgeCommit message (Collapse)AuthorFilesLines
2021-03-04py-rt: Update to 2.1.0leot2-7/+7
Changes: 2.1.0 ----- - Add the possibility to provide cookies as dict to authenticate - Add 'Referer' header for CSRF check
2020-10-09py-rt: Update to 2.0.1leot3-28/+7
pkgsrc changes: - Remove no longer needed patch-rt.py, now applied upstream. Changes: 2.0.1 ----- - Fix UnicodeDecodeError in logging code for non-text attachments - Documentation: Add a search example - edit_ticket: Handle possible empty responses: When a ticket is not modified, at least with RT 4.x, an empty response could be returned. Gracefully handle that as success.
2020-03-12py-rt: Add reference to upstream pull requestleot2-3/+7
2020-02-24py-rt: Update to 2.0.0leot4-15/+26
Changes: 2.0.0 ----- - Drop Python2 support - Adjust Travis tests for Python3-only, and add v3.8 - Add inline typing - Remove "debug_mode" parameter - Add "logging" support (basically replacing "debug_mode" and the various "print"s) - Fix "no-else-after-return" and "no-else-after-raise" - Fix "startswitch" typos / bugs - Removed deprecated "basic_auth" and "digest_auth" paramters. The same functionality is given by specifying the "http_auth" with an instance of either object. This allows for more flexibility with various other alternative authentication methods. (Done in a separate commit of 1.0.13 update because 1.0.13 was the last release supporting Python 2.7, if you use py-rt with python27 please let me know/feel free to add a possible py-rt1 package.)
2020-02-24py-rt: Update to 1.0.13leot2-7/+7
Changes: 1.0.13 ------ - Add deprecation warning for in the next major release unsupported parameters (basic_auth, digest_auth). They are now replaced with http_auth. - Fix problematic default method parameters ("{}" and "[]").
2020-01-02py-rt: Update to 1.0.12leot3-40/+15
Changes: 1.0.12 ------ - Travis CI Docker tests - RT 4.4 fixes - Support multiline CF values in create_ticket and edit_ticket. - Fix support for custom field names containing colons - In search(), replace splitlines() with lines array split on \n. - Add debug_mode flag for response logging - Add platform independent url joining / Allow testing on Windows - Add numerical_id to get_ticket result
2019-06-19py-rt: Gracefully handle noop edit_ticket()leot3-7/+18
In RT 4 when edit_ticket() is invoked but the ticket is not modified an empty response is sent. Gracefully treat it as a successfull operation. PKGREVISION++
2019-06-09py-rt: Backport upstream patch to fix search() Format='s' and Format='i'leot3-2/+33
At least on RT 4 blank lines can be present at the end of the search response, backport upstream commit bb07009c4f62dd2ac393aab82fded6424eead82f to address that. Bump PKGREVISION
2018-09-15py-rt: Import py-rt-1.0.11 as wip/py-rtleot4-0/+37
Python implementation of Request Tracker REST API.