| 1 |
Revision history for Perl module RT::Client::REST |
| 2 |
|
| 3 |
0.73 Wed Apr 15 2026 "Dean Hamstead" <[email protected]> |
| 4 |
- Fix typos: InvaildObjectTypeException -> InvalidObjectTypeException |
| 5 |
- Fix namespace: RT::Clite::REST -> RT::Client::REST |
| 6 |
- Fix get_links path: remove duplicate ID from URL |
| 7 |
- Replace void-context map with for loop |
| 8 |
|
| 9 |
0.72 Mon Feb 27 2023 "Deean Hamstead" <[email protected]> |
| 10 |
- More fixes for GH#27 to eliminate warnings and handle empty list fields |
| 11 |
|
| 12 |
0.71 Mon Dec 5 2022 "Dean Hamstead" <[email protected]> |
| 13 |
- Fixed GH#27 Missing fields |
| 14 |
|
| 15 |
0.70 Sun Sep 25 2022 "Dean Hamstead" <[email protected]> |
| 16 |
- GH#26 Swap from Error's try to Try::Tiny |
| 17 |
- GH#26 Remove Error entirely |
| 18 |
- Swap from base to parent |
| 19 |
- Attempt to resolve issues with trailing endlines on attachments |
| 20 |
- Allow queues to be disabled (or enabled) |
| 21 |
- Add status as a method for Tickets |
| 22 |
- GH#20 Allow HTML in comments |
| 23 |
- Point MetaCPAN at Github for issues |
| 24 |
- RT#120077 fetch ticket subjects with a single API call |
| 25 |
|
| 26 |
0.60 Wed May 6 2020 "Dean Hamstead" <[email protected]> |
| 27 |
- PR#25 GH#23 Fix get_attachments_metadata |
| 28 |
- PR#24 GH#22 Fix get_attachments_metadata |
| 29 |
|
| 30 |
0.59 Mon May 4 2020 "Dean Hamstead" <[email protected]> |
| 31 |
- Worked around what appears to be a bug in PodChecker in perl 5.20 |
| 32 |
- Adjusted travis and dist.ini |
| 33 |
- No functional changes |
| 34 |
|
| 35 |
0.58 Thu Apr 30 2020 "Dean Hamstead" <[email protected]> |
| 36 |
- RT118729 correct bug when "not set" is in textA |
| 37 |
- PR#19 Report UA, URI, and better errors when you opt in. Thanks @melmothx |
| 38 |
|
| 39 |
0.57 Tue Apr 28 2020 "Dean Hamstead" <[email protected]> |
| 40 |
- PR#21 Add SLA and SLADisabled attributes which appeared in RT 4.4.3 |
| 41 |
|
| 42 |
0.56 Mon Dec 24 2018 "Dean Hamstead" <[email protected]> |
| 43 |
- Fix for GH#18 (more fixes) |
| 44 |
|
| 45 |
0.55 Sat Dec 08 2018 "Dean Hamstead" <[email protected]> |
| 46 |
- Fix for GH#18 |
| 47 |
|
| 48 |
0.54 Mon Nov 12 2018 "Dean Hamstead" <[email protected]> |
| 49 |
- Fixes for whitespace handling in attachments RT127607 |
| 50 |
- Fix edgecase for handling 401's RT127288 |
| 51 |
|
| 52 |
0.53 Mon Nov 05 2018 "Dean Hamstead" <[email protected]> |
| 53 |
- Fix some tests on Windows |
| 54 |
- Various coding changes internally |
| 55 |
- Expose CC Addresses and Admin CC Addresses on Queues |
| 56 |
|
| 57 |
0.52 Fri Apr 06 2018 "Dean Hamstead" <[email protected]> |
| 58 |
- Fix up lots of Pod Critic complaints |
| 59 |
- Fix up lots of Perl Critic complaints |
| 60 |
- Use Dist-Zilla for releases |
| 61 |
- Remove Pod, tests and other files that Dist-Zilla provides |
| 62 |
- Adjust git repo slightly |
| 63 |
- Note: no functional changes |
| 64 |
|
| 65 |
0.51 Tue Feb 27 2017 "Dmitri Tikhonov" <[email protected]> |
| 66 |
- Add method to retrieve attachment metadata. Thanks Oriol Soriano. |
| 67 |
- Fix filename parsing bug in get_attachment_ids(). Thanks djstauffer. |
| 68 |
|
| 69 |
0.50 Fri Dec 11 2015 "Sarvesh Das" <[email protected]> |
| 70 |
- Added the 'disabled' attribute to RT::Client::REST::Group and |
| 71 |
RT::Client::REST::Queue to match the addition in RT 4.2.2 -- |
| 72 |
commit 7557633. Thanks Tom. |
| 73 |
- Allow a trailing forward slash in the server URI -- |
| 74 |
RT#97621. Thanks Marco Pessotto. |
| 75 |
- Tests in 82-stringify.t are skipped with LWP::UserAgent 6.04 |
| 76 |
which has buggy read timeout -- commit da577af. Thanks Marco |
| 77 |
Pessotto. |
| 78 |
- Fixed warning `Unescaped left brace in regex is deprecated' |
| 79 |
in perl 5.22 -- RT#106795. Thanks Mike Andrews. |
| 80 |
- Fixed documentation for RT::Client:REST::search() in POD -- |
| 81 |
RT#98160. |
| 82 |
- Removed MYMETA* files from distribution -- RT#108083 |
| 83 |
|
| 84 |
0.49 Sat May 10 2014 "Dmitri Tikhonov" <[email protected]> |
| 85 |
- This module is now all covered by the Perl Artistic License: |
| 86 |
GPL is gone. This was done with permission from the original |
| 87 |
author of the command-line `rt' utility, Abhijit Menon-Sen. |
| 88 |
- Support custom fields that contain '#' in their name. Patch |
| 89 |
contributed by Ryan Niebur in RT#83856 -- thanks! |
| 90 |
- Documented get_links() -- RT#68673. |
| 91 |
- All tests now correctly run on Windows -- RT#81872. |
| 92 |
- All tests now correctly run on OpenBSD -- RT#95223. |
| 93 |
|
| 94 |
0.48 Wed Apr 30 2014 "Dmitri Tikhonov" <[email protected]> |
| 95 |
- Fixed POD bug in 0.47 -- `logger' attribute and method of |
| 96 |
RT::Client::REST was not documented and this caused POD |
| 97 |
coverage test to fail. While at it, made it a developer-only |
| 98 |
test. This way, these types of issues do not cause all |
| 99 |
cpantesters to fail. |
| 100 |
|
| 101 |
0.47 Wed Apr 30 2014 "Dmitri Tikhonov" <[email protected]> |
| 102 |
- Support redirects on login, RT#92371. |
| 103 |
- Skip failing test 83-attachments.t on OpenBSD while we investigage |
| 104 |
why it fails. Track this issue in RT#95223. |
| 105 |
|
| 106 |
0.46 Sat Apr 26 2014 "Dmitri Tikhonov" <[email protected]> |
| 107 |
This release only fixes several tests, there are no functional changes. |
| 108 |
Dmitri Tikhonov <[email protected]> |
| 109 |
- Skip some tests on Windows and with buggy LWP::UserAgent. |
| 110 |
Marco Pessotto |
| 111 |
- Bumped version for next release (+ fixed version number in POD) |
| 112 |
|
| 113 |
0.45 |
| 114 |
Marco Pessotto |
| 115 |
- Fixed uploading preventing objects to be stringified (RT#88919) |
| 116 |
- Added option to get undecoded attachments (RT#90112) |
| 117 |
- Added test 82-stringify.t (fails with 0.44 before the RT#88919 fix) |
| 118 |
- Added test 83-attachments.t to illustrate and check RT#90112 |
| 119 |
|
| 120 |
0.44 |
| 121 |
Damien Krotkine |
| 122 |
- Add URI in the prereqs |
| 123 |
Dave Lambley |
| 124 |
- Add support for parsing RT dates and returning a datetime object. |
| 125 |
(RT#73920 + RT#76658) |
| 126 |
Gregor Hermann (Debian Perl Group) |
| 127 |
- Doc improvement (RT#74191) |
| 128 |
Darren Duncan |
| 129 |
Doc improvement for timeout (RT #78133) |
| 130 |
[email protected] |
| 131 |
Doc improvement for show method (RT #78439) |
| 132 |
Miquel Ruiz |
| 133 |
Fix for submitting non latin-1 strings to RT |
| 134 |
|
| 135 |
0.43 |
| 136 |
Miquel Ruiz <[email protected]> |
| 137 |
- Added support for groups via new class RT::Client::REST::Group |
| 138 |
Tests and examples also added. |
| 139 |
Roman Plesll <[email protected]> |
| 140 |
- Fix for ticket merges (RT #62405) |
| 141 |
Stuart Browne <[email protected]> |
| 142 |
- Accept question mark in custom field names (RT #70631) |
| 143 |
T Pascal <[email protected]> |
| 144 |
- Patch for different link types (RT #68673) |
| 145 |
Jose Luis Martinez <[email protected]> |
| 146 |
- Skip timeout tests on Windows (RT #70225, RT #35770) |
| 147 |
- Fix 'priveleged' (renamed to 'privileged') method on RT::Client::REST::User |
| 148 |
- Add missing disabled, nickname, lang, contactinfo and signature methods to |
| 149 |
RT::Client::REST::User |
| 150 |
- Clean up the API for retrieving links. Patch from T.Pascal is missing some |
| 151 |
cases like links that are URLs. This feature is not documented as it's |
| 152 |
considered experimental. |
| 153 |
- Refactor login method to accept any type of field name (not just username |
| 154 |
and password) |
| 155 |
|
| 156 |
0.42 |
| 157 |
False release. See 0.43 |
| 158 |
- support for groups via new class RT::Client::REST::Group |
| 159 |
- Fix for ticket merges |
| 160 |
- Accept question mark in custom field names |
| 161 |
|
| 162 |
0.41 |
| 163 |
Tomas Doran <[email protected]> |
| 164 |
- Make version number a string to avoid length of version number changing |
| 165 |
at 0.X0 releases (as this breaks distro packages) |
| 166 |
- Update META.yml to the 0.4 META spec. |
| 167 |
- Include repository metadata to make it easier for people to contribute |
| 168 |
to the module. |
| 169 |
- Change from ExtUtils::MakeMaker to Module::Install (I'm sure you can |
| 170 |
generate the correct information with EU::MM, I just don't know how |
| 171 |
offhand). |
| 172 |
- Add Test::More as a test_requires to help distros which split it out |
| 173 |
of their core perl package (RT#45150) |
| 174 |
|
| 175 |
0.40 |
| 176 |
Jerrad Pierce <[email protected]> |
| 177 |
- #38710, more user attributes |
| 178 |
- #39868 & #42391, Alter CF parsing to accomodate 3.8 as well as 3.6 |
| 179 |
This required tweaks to Forms as well as Object. |
| 180 |
- #38591 & #43844, Add requestor attribute to Ticket so that autoreplies |
| 181 |
are sent to users under RT3.8 |
| 182 |
|
| 183 |
0.37 Fri Aug 15 2008 "Dmitri Tikhonov" <[email protected]> |
| 184 |
- Fri Aug 15 2008 "Dmitri Tikhonov" <[email protected]> |
| 185 |
Improvement: reorganized exceptions, made |
| 186 |
RT::Client::REST::Object::Exception a subclass of |
| 187 |
RT::Client::REST::Exception. What this means is that now any native |
| 188 |
exception thrown by RT::Client::REST code can be caught by catching a |
| 189 |
generic RT::Client::REST::Exception class. Added tests to ticket and |
| 190 |
attachment tests scripts to verify the behavior. I have been meaning |
| 191 |
to do this for a while now. |
| 192 |
|
| 193 |
Fixed an error in RT::Client::REST::Ticket POD. Bug 36814. |
| 194 |
|
| 195 |
0.36 Sat May 10 2008 "Damien Krotkine" <[email protected]> |
| 196 |
- Sat May 10 2008 "Damien Krotkine" <[email protected]> |
| 197 |
Bug 35692 and 35146 : added test and fix. |
| 198 |
|
| 199 |
0.35 Tue Apr 15 2008 "Damien Krotkine" <[email protected]> |
| 200 |
- Tue Mar 04 2008 "Damien Krotkine" <[email protected]> |
| 201 |
Bug 34917 : applying patch from Andreas J. Koenig. |
| 202 |
remove unneeded Encode |
| 203 |
|
| 204 |
0.34 Tue Mar 04 2008 "Damien Krotkine" <[email protected]> |
| 205 |
- Mon, 03 Mar 2008 "Damien Krotkine" <[email protected]> |
| 206 |
added Encode prerequist |
| 207 |
|
| 208 |
0.33 Fri Feb 29 2008 "Damien Krotkine" <[email protected]> |
| 209 |
- Fri, 01 Feb 2008 "Dmitri Tikhonov" <[email protected]> |
| 210 |
Fixed a typo. |
| 211 |
Updated POD; no code changes. |
| 212 |
s/[email protected]/[email protected]/ |
| 213 |
|
| 214 |
- Tue, 29 Jan 2008 "Damien Krotkine" <[email protected]> |
| 215 |
Decode data from REST from the proper encoding to Perl internal. |
| 216 |
Thanks to "Sébastien Aperghis-Tramoni" <[email protected]> |
| 217 |
|
| 218 |
- Fri, 25 Jan 2008 "Damien Krotkine" <[email protected]> |
| 219 |
Add dirty custom fields handling. Without it, cf are always submitted, |
| 220 |
included void ones, which may (and does on rt.cpan.org) conflict with |
| 221 |
custom fields rules on the server (e.g. a custom field value cannot be |
| 222 |
empty) |
| 223 |
|
| 224 |
0.32 Sun Dec 23 2007 "Dmitri Tikhonov" <[email protected]> |
| 225 |
- Fixed bug 31827 -- allow to specify custom fields at creation time. |
| 226 |
Method 'cf' can now take a hash reference that has a list of custom |
| 227 |
fields and their values. |
| 228 |
|
| 229 |
- Fixed bug 31828: allow to specify ticket content at creation time. |
| 230 |
Methods RT::Client::REST->create and RT::Client::REST::Ticket->store |
| 231 |
now take optional 'text' parameter. |
| 232 |
|
| 233 |
0.31 Fri May 25 2007 "Dmitri Tikhonov" <[email protected]> |
| 234 |
! lib/RT/Client/REST.pm |
| 235 |
* Fixed 'VERSION' section of POD to print the correct version. |
| 236 |
|
| 237 |
! lib/RT/Client/REST/Ticket.pm |
| 238 |
! lib/RT/Client/REST/User.pm |
| 239 |
* Fixed SYNOPSYS in POD to reflect reality. No code changes. |
| 240 |
|
| 241 |
! lib/RT/Client/REST/Queue.pm |
| 242 |
* CPAN.RT #27267 - fixed POD. No code changes. |
| 243 |
|
| 244 |
! Makefile.PL |
| 245 |
* Added 'LICENSE' option. |
| 246 |
|
| 247 |
0.30 Sat May 19 2007 "Dmitri Tikhonov" <[email protected]> |
| 248 |
! lib/RT/Client/REST.pm |
| 249 |
* CPAN.RT #27201 -- if one login fails, subsequent logins should |
| 250 |
fail as well. |
| 251 |
|
| 252 |
0.29 Thu May 17 2007 "Dmitri Tikhonov" <[email protected]> |
| 253 |
! lib/RT/Client/REST/Object.pm |
| 254 |
* Do not validate values received from the server (from_form |
| 255 |
method). |
| 256 |
|
| 257 |
0.28 Fri Apr 27 2007 "Dmitri Tikhonov" <[email protected]> |
| 258 |
This is a bug fix release. |
| 259 |
|
| 260 |
! lib/RT/Client/REST/Ticket.pm |
| 261 |
* CPAN.RT #25185 -- fixed typos in attribute validation specs. |
| 262 |
|
| 263 |
! lib/RT/Client/REST.pm |
| 264 |
* CPAN.RT #26528 -- fixed a typo in method 'get_transaction_ids' |
| 265 |
|
| 266 |
! examples/show_ticket.pl |
| 267 |
* Added code to display all custom fields. |
| 268 |
|
| 269 |
+ t/99-kwalitee.t |
| 270 |
* Kwalitee is spelled... vanity?! |
| 271 |
|
| 272 |
! TODO |
| 273 |
* Removed a couple of old items. |
| 274 |
|
| 275 |
Special thanks to Damien Krotkine (Dams) who found and provided |
| 276 |
patches for both bugs. |
| 277 |
|
| 278 |
0.27 Tue Oct 3 2006 "Dmitri Tikhonov" <[email protected]> |
| 279 |
This is a small release to fix warnings and a couple of documentation |
| 280 |
errors. |
| 281 |
|
| 282 |
! lib/RT/Client/REST.pm |
| 283 |
* Fixed SYNOPSIS (CPAN RT 21314). |
| 284 |
* Upped $VERSION to 0.27. |
| 285 |
|
| 286 |
! lib/RT/Client/REST/Object.pm |
| 287 |
* Fixed code to avoid a possible 'undefined value' warnings from |
| 288 |
tests. |
| 289 |
* Fixed up POD (annocpan note #989). |
| 290 |
|
| 291 |
! t/35-db.t |
| 292 |
* Changed from 'no_plan' to plan 20 tests. |
| 293 |
|
| 294 |
! t/22-ticket.t |
| 295 |
* Added test to verify properties of list attributes. |
| 296 |
|
| 297 |
0.26 Tue Aug 15 2006 "Dmitri Tikhonov" <[email protected]> |
| 298 |
! lib/RT/Client/REST.pm |
| 299 |
* Match either $res->content or $res->message for the timeout |
| 300 |
message; this depends on version of HTTP::Response installed on |
| 301 |
the system. Discovered when timeout tests threw wrong exceptions |
| 302 |
on an old box. |
| 303 |
|
| 304 |
! README |
| 305 |
* Reworded some things. |
| 306 |
|
| 307 |
0.25 Wed Aug 9 2006 "Dmitri Tikhonov" <[email protected]> |
| 308 |
Added support for basic HTTP authentication. |
| 309 |
|
| 310 |
! lib/RT/Client/REST.pm |
| 311 |
* Added support for using basic HTTP authentication with the help |
| 312 |
of a callback provided via method "basic_auth_cb". |
| 313 |
* Use our own UA class (subclass of LWP::UserAgent). |
| 314 |
|
| 315 |
! t/10-core.t |
| 316 |
* More tests. |
| 317 |
|
| 318 |
+ lib/RT/Client/REST/HTTPClient.pm |
| 319 |
* Subclass of LWP::UserAgent to add some methods. |
| 320 |
|
| 321 |
+ examples/report-bug-to-cpan.pl |
| 322 |
* Report a bug to CPAN rt. |
| 323 |
|
| 324 |
! examples/show_ticket.pl |
| 325 |
* Removed ticket-modifying code. |
| 326 |
|
| 327 |
! MANIFEST |
| 328 |
* Added new files. |
| 329 |
|
| 330 |
! TODO |
| 331 |
* More stuff to do. |
| 332 |
|
| 333 |
0.24 Tue Aug 8 2006 "Dmitri Tikhonov" <[email protected]> |
| 334 |
! lib/RT/Client/REST.pm |
| 335 |
* Added 'timeout' attribute to the object. If specified, overrides |
| 336 |
the default used by LWP::UserAgent. |
| 337 |
|
| 338 |
! lib/RT/Client/REST/Exception.pm |
| 339 |
* Added RT::Client::REST::RequestTimedOutException. |
| 340 |
|
| 341 |
! 91-pod-coverage.t |
| 342 |
* RT::Client::REST now has improved POD. |
| 343 |
|
| 344 |
! MANIFEST |
| 345 |
* Added new files. |
| 346 |
|
| 347 |
! TODO |
| 348 |
* Added 'write user manual' item. |
| 349 |
|
| 350 |
+ t/80-timeout.t |
| 351 |
* Test timeout exceptions. |
| 352 |
|
| 353 |
+ README |
| 354 |
* Added README file. |
| 355 |
|
| 356 |
0.23 Fri Aug 4 2006 "Dmitri Tikhonov" <[email protected]> |
| 357 |
! lib/RT/Client/REST.pm |
| 358 |
* API change -- added 'login' method. |
| 359 |
|
| 360 |
! lib/RT/Client/REST/SearchResult.pm |
| 361 |
* API change -- 'object' instead of 'retrieve'. |
| 362 |
|
| 363 |
! lib/RT/Client/REST/Object.pm |
| 364 |
* Added support for transparency and a bunch of other goodies. |
| 365 |
See POD. |
| 366 |
|
| 367 |
! lib/RT/Client/REST/Attachment.pm |
| 368 |
! lib/RT/Client/REST/Ticket.pm |
| 369 |
* Modified to conform to changed APIs. |
| 370 |
|
| 371 |
! examples/*.pl |
| 372 |
* Modified to adhere to new APIs. |
| 373 |
|
| 374 |
+ t/35-db.t |
| 375 |
* Test auto* goodies. |
| 376 |
|
| 377 |
+ t/91-pod-coverage.t |
| 378 |
* Test POD coverage. |
| 379 |
|
| 380 |
! t/10-core.t |
| 381 |
! t/20-object.t |
| 382 |
! t/40-search.t |
| 383 |
* Updated with new tests, methods, APIs, etc. |
| 384 |
|
| 385 |
! MANIFEST |
| 386 |
* Added new test files. |
| 387 |
|
| 388 |
0.22 Fri Aug 4 2006 "Dmitri Tikhonov" <[email protected]> |
| 389 |
! lib/RT/Client/REST/Object.pm |
| 390 |
* Modified behavior. Now list attribute methods return lists, |
| 391 |
not array references. |
| 392 |
* Fixed the way comma-separated values are split when parsing forms. |
| 393 |
* Updated POD. |
| 394 |
|
| 395 |
! Makefile.PL |
| 396 |
* Added dependency on Test::Exception, so that automated CPAN tests |
| 397 |
don't fail. |
| 398 |
|
| 399 |
! lib/RT/Client/REST.pm |
| 400 |
* Updated POD. |
| 401 |
* Upped VERSION. |
| 402 |
* No code changes. |
| 403 |
|
| 404 |
! examples/edit_ticket.pl |
| 405 |
* Modified to support setting list attributes. |
| 406 |
|
| 407 |
0.21 Thu Aug 3 2006 "Dmitri Tikhonov" <[email protected]> |
| 408 |
! lib/RT/Client/REST.pm |
| 409 |
* Added support for attachments. |
| 410 |
|
| 411 |
! lib/RT/Client/REST/Ticket.pm |
| 412 |
* Updated POD. |
| 413 |
|
| 414 |
! lib/RT/Client/REST/Exception.pm |
| 415 |
* Added exception RT::Client::REST::CannotReadAttachmentException. |
| 416 |
* Jump version to 0.17 so that CPAN indexer does not bitch. |
| 417 |
|
| 418 |
! t/22-ticket.t |
| 419 |
* Added test for RT::Client::REST::CannotReadAttachmentException. |
| 420 |
|
| 421 |
0.20 Wed Aug 2 2006 "Dmitri Tikhonov" <[email protected]> |
| 422 |
Added support for queues. |
| 423 |
|
| 424 |
! lib/RT/Client/REST.pm |
| 425 |
* Modified method "show()" to accept non-numeric IDs for objects |
| 426 |
of type 'queue'. |
| 427 |
|
| 428 |
+ lib/RT/Client/REST/Queue.pm |
| 429 |
+ t/25-queue.t |
| 430 |
* Queue support. |
| 431 |
|
| 432 |
+ examples/show_queue.pl |
| 433 |
+ examples/create_user.pl |
| 434 |
+ examples/list_tickets.pl |
| 435 |
* More examples. |
| 436 |
|
| 437 |
! MANIFEST |
| 438 |
* Added new files. |
| 439 |
|
| 440 |
0.19 Wed Aug 2 2006 "Dmitri Tikhonov" <[email protected]> |
| 441 |
! lib/RT/Client/REST.pm |
| 442 |
* Fixed a bug in 'create' and 'edit' -- introduced in 0.14 when |
| 443 |
APIs changed. (Note to self - need a full-blown test suite). |
| 444 |
|
| 445 |
0.18 Wed Aug 2 2006 "Dmitri Tikhonov" <[email protected]> |
| 446 |
! lib/RT/Client/REST.pm |
| 447 |
! t/10-core.t |
| 448 |
* Added methods 'take', 'untake', and 'steal'. |
| 449 |
* If attribute 'server' is unset, |
| 450 |
RT::Client::REST::RequiredAttributeUnsetException will be thrown |
| 451 |
when a REST method is called. |
| 452 |
|
| 453 |
! lib/RT/Client/REST/Exception.pm |
| 454 |
* Added exceptions: |
| 455 |
* RT::Client::REST::RequiredAttributeUnsetException |
| 456 |
* RT::Client::REST::AlreadyTicketOwnerException |
| 457 |
|
| 458 |
! lib/RT/Client/REST/Object.pm |
| 459 |
! t/20-object.t |
| 460 |
* Added convenience assertions methods: |
| 461 |
* _assert_rt_and_id |
| 462 |
* _assert_rt |
| 463 |
* Added assertions to methods 'retrieve', 'store', and 'count'. |
| 464 |
|
| 465 |
! lib/RT/Client/REST/Object/Exception.pm |
| 466 |
* Added exceptions: |
| 467 |
* RT::Client::REST::Object::NoopOperationException |
| 468 |
* RT::Client::REST::Object::RequiredAttributeUnsetException |
| 469 |
|
| 470 |
! lib/RT/Client/REST/Ticket.pm |
| 471 |
! t/22-ticket.t |
| 472 |
* Added methods 'take', 'untake', and 'steal' |
| 473 |
* Added assertions in a couple of places |
| 474 |
* Fixed up POD. |
| 475 |
|
| 476 |
+ examples/take_ticket.pl |
| 477 |
* Taking a ticket. |
| 478 |
|
| 479 |
! MANIFEST |
| 480 |
* Added new example. |
| 481 |
|
| 482 |
0.17 Tue Aug 1 2006 "Dmitri Tikhonov" <[email protected]> |
| 483 |
+ lib/RT/Client/REST/Transaction.pm |
| 484 |
+ t/24-transaction.t |
| 485 |
* Added transaction object. |
| 486 |
|
| 487 |
+ examples/show_transaction.pl |
| 488 |
+ examples/list_transactions_rt.pl |
| 489 |
+ examples/list_transactions.pl |
| 490 |
* Some more examples. |
| 491 |
|
| 492 |
! lib/RT/Client/REST/Ticket.pm |
| 493 |
* Added method "transactions()". |
| 494 |
|
| 495 |
! lib/RT/Client/REST.pm |
| 496 |
! t/10-core.t |
| 497 |
* Added methods "get_transaction_ids()" and "get_transaction()" |
| 498 |
|
| 499 |
! lib/RT/Client/REST/Attachment.pm |
| 500 |
* After retrieving values, set everything to not dirty. |
| 501 |
* Fixed up POD. |
| 502 |
|
| 503 |
! MANIFEST |
| 504 |
* Added new files. |
| 505 |
|
| 506 |
0.16 Tue Aug 1 2006 "Dmitri Tikhonov" <[email protected]> |
| 507 |
Added support for user object; other minor changes. |
| 508 |
|
| 509 |
+ lib/RT/Client/REST/User.pm |
| 510 |
+ t/21-user.t |
| 511 |
* Added user object. |
| 512 |
|
| 513 |
+ examples/show_user.pl |
| 514 |
+ examples/edit_user.pl |
| 515 |
* Examples of the user APIs. |
| 516 |
|
| 517 |
! lib/RT/Client/REST.pm |
| 518 |
* If method "show()" is called to retrieve an object of type "user", |
| 519 |
'id' parameter does not have to be numeric. |
| 520 |
|
| 521 |
! lib/RT/Client/REST/Exception.pm |
| 522 |
* Added RT::Client::REST::UnauthorizedActionException |
| 523 |
* Method _rt_content_to_exception() now returns a ready-to-throw |
| 524 |
exception with message set to massaged text from RT server. |
| 525 |
|
| 526 |
! MANIFEST |
| 527 |
* Added new files. |
| 528 |
|
| 529 |
0.15 Tue Aug 1 2006 "Dmitri Tikhonov" <[email protected]> |
| 530 |
! lib/RT/Client/REST/Ticket.pm |
| 531 |
* Fixed up POD. |
| 532 |
|
| 533 |
! lib/RT/Client/REST.pm |
| 534 |
* Upped $VERSION to 0.15 -- no code changes. |
| 535 |
|
| 536 |
0.14 Tue Aug 1 2006 "Dmitri Tikhonov" <[email protected]> |
| 537 |
+ lib/RT/Client/REST/Attachment.pm |
| 538 |
+ examples/list_attachments.pl |
| 539 |
+ examples/show_attachment.pl |
| 540 |
+ t/23-attachment.t |
| 541 |
* New attachment representation. |
| 542 |
|
| 543 |
! lib/RT/Client/REST/Ticket.pm |
| 544 |
! t/22-ticket.t |
| 545 |
* Added method "attachments()". |
| 546 |
|
| 547 |
! lib/RT/Client/REST/SearchResult.pm |
| 548 |
! t/40-search.t |
| 549 |
* Changed APIs to be more flexible -- pass a closure to retrieve |
| 550 |
objects. |
| 551 |
|
| 552 |
! lib/RT/Client/REST/Object.pm |
| 553 |
* Modified to work correctly with new REST.pm and SearchResult.pm APIs. |
| 554 |
|
| 555 |
! lib/RT/Client/REST/Object/Exception.pm |
| 556 |
* Added RT::Client::REST::Object::IllegalMethodException |
| 557 |
|
| 558 |
! examples/show_ticket.pl |
| 559 |
* Catch and display exceptions. |
| 560 |
|
| 561 |
! lib/RT/Client/REST/Exception.pm |
| 562 |
* Added several exceptions. |
| 563 |
* Added POD. |
| 564 |
|
| 565 |
! lib/RT/Client/REST.pm |
| 566 |
! t/10-core.t |
| 567 |
* Modified "show()" and "edit()" methods to only accept a single ID. |
| 568 |
This is needed in order to correctly throw exceptions -- one object |
| 569 |
at a time, please. |
| 570 |
* Added methods "get_attachment_ids()" and "get_attachment()". |
| 571 |
* Removed list of exceptions (see Exception.pm docs). |
| 572 |
* Various small updates to POD. |
| 573 |
|
| 574 |
! MANIFEST |
| 575 |
* Added the new files. |
| 576 |
|
| 577 |
0.13 Mon Jul 31 2006 "Dmitri Tikhonov" <[email protected]> |
| 578 |
Added searching APIs. |
| 579 |
|
| 580 |
! lib/RT/Client/REST/Object.pm |
| 581 |
* Added methods 'search' and 'count'. |
| 582 |
* Updated POD. |
| 583 |
|
| 584 |
+ lib/RT/Client/REST/SearchResult.pm |
| 585 |
* This class is an OO representation of search results. |
| 586 |
|
| 587 |
+ t/40-search.t |
| 588 |
* Tests for RT/Client/REST/SearchResult.pm |
| 589 |
|
| 590 |
+ examples/search_tickets.pl |
| 591 |
* Example of a search. |
| 592 |
|
| 593 |
! lib/RT/Client/REST.pm |
| 594 |
* Added method 'search'. |
| 595 |
* Modified POD to reflect latest changes. |
| 596 |
|
| 597 |
! t/10-core.t |
| 598 |
* Added test for method 'search'. |
| 599 |
|
| 600 |
! lib/RT/Client/REST/Exception.pm |
| 601 |
* Added RT::Client::REST::InvalidQueryException |
| 602 |
* Added $VERSION |
| 603 |
|
| 604 |
! lib/RT/Client/REST/Object/Exception.pm |
| 605 |
* Added two exceptions: |
| 606 |
* RT::Client::REST::Object::InvalidSearchParametersException |
| 607 |
* RT::Clite::REST::Object::InvalidAttributeException |
| 608 |
|
| 609 |
! TODO |
| 610 |
* Search has been implemented. |
| 611 |
|
| 612 |
! MANIFEST |
| 613 |
* Added search-related files. |
| 614 |
|
| 615 |
0.12 Tue Jul 25 2006 "Dmitri Tikhonov" <[email protected]> |
| 616 |
Refactoring and improvement continues. Still very much beta. |
| 617 |
|
| 618 |
! lib/RT/Client/REST/Ticket.pm |
| 619 |
* Added methods 'comment' and 'correspond'. |
| 620 |
* Added attribute 'last_updated'. |
| 621 |
* Added POD. |
| 622 |
|
| 623 |
! t/22-ticket.t |
| 624 |
* Added tests for new methods and attributes. |
| 625 |
|
| 626 |
! lib/RT/Client/REST.pm |
| 627 |
* Added 'cc' and 'bcc' support to 'comment' and 'correspond' methods. |
| 628 |
* Refactoring: moved forms functions and exceptions into their own files. |
| 629 |
* Fixed POD (s/=end/=cut/). |
| 630 |
* Throw 409 RT errors (syntax errors), since this client is not |
| 631 |
interactive. |
| 632 |
|
| 633 |
+ lib/RT/Client/REST/Exception.pm |
| 634 |
* Refactoring: moved forms functions and exceptions into their own files. |
| 635 |
* Mapped 'does not exist' to ObjectNotFound exception. |
| 636 |
* Added RT::Client::REST::UnknownCustomFieldException. |
| 637 |
|
| 638 |
+ lib/RT/Client/REST/Forms.pm |
| 639 |
* Refactoring: moved forms functions and exceptions into their own files. |
| 640 |
|
| 641 |
! lib/RT/Client/REST/Object.pm |
| 642 |
* When creating an object, update $self with the new id. |
| 643 |
* Added support for fetching and updating custom fields. |
| 644 |
* Added method 'cf' for custom field manipulation. |
| 645 |
* Added POD. |
| 646 |
|
| 647 |
! t/20-object.t |
| 648 |
* Added test for 'cf' method. |
| 649 |
|
| 650 |
+ t/90-pod.t |
| 651 |
* Added POD tests using Test::Pod. |
| 652 |
|
| 653 |
! examples/edit_ticket.pl |
| 654 |
! examples/show_ticket.pl |
| 655 |
* Now rtserver is $ENV{RTSERVER} by default. |
| 656 |
|
| 657 |
+ examples/create_ticket.pl |
| 658 |
+ examples/comment_on_ticket.pl |
| 659 |
+ examples/edit_custom_field.pl |
| 660 |
* More examples. |
| 661 |
|
| 662 |
! Makefile.PL |
| 663 |
* Added dependency on Params::Validate. |
| 664 |
|
| 665 |
! MANIFEST |
| 666 |
* Updated to reflect new tests, examples, and classes. |
| 667 |
|
| 668 |
+ TODO |
| 669 |
* Added TODO file. |
| 670 |
|
| 671 |
0.11 Sat Jul 22 2006 "Dmitri Tikhonov" <[email protected]> |
| 672 |
! lib/RT/Client/REST.pm |
| 673 |
* Make $VERSION a string so that 'make tardist' works as |
| 674 |
expected (i.e. version 0.10 instead of 0.1). |
| 675 |
|
| 676 |
0.10 Sat Jul 22 2006 "Dmitri Tikhonov" <[email protected]> |
| 677 |
Started working on new APIs; new objects and file structure. |
| 678 |
|
| 679 |
0.06 Wed Jul 12 2006 "Dmitri Tikhonov" <[email protected]> |
| 680 |
* Method 'create' now returns numeric ID of the new object. |
| 681 |
* RT::Interface::REST is no longer a requirement. If it is not |
| 682 |
installed, embedded copy of auxiliary methods is used. |
| 683 |
* Added tests. |
| 684 |
|
| 685 |
0.05 Thu Apr 20 2006 "Dmitri Tikhonov" <[email protected]> |
| 686 |
* Added RT::Client::REST::CouldNotCreateObjectException |
| 687 |
|
| 688 |
0.04 Wed Apr 19 2006 "Dmitri Tikhonov" <[email protected]> |
| 689 |
* Removed old print statements |
| 690 |
|
| 691 |
0.03 Wed Apr 19 2006 "Dmitri Tikhonov" <[email protected]> |
| 692 |
This is the initial release. |
| 693 |
|
| 694 |
# vim:sts=2:sw=2:et:ft=changelog: |