github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2019-05-01 08:16 pm

[dreamwidth/dw-free] e3bab1: API release hotfixes (#2431)

Branch: refs/heads/develop
Home: https://github.com/dreamwidth/dw-free
Commit: e3bab123e890485a8759f8c69d20e18b8029b173
https://github.com/dreamwidth/dw-free/commit/e3bab123e890485a8759f8c69d20e18b8029b173
Author: rshatch <ruth.s.hatch@gmail.com>
Date: 2019-05-01 (Wed, 01 May 2019)

Changed paths:
M cgi-bin/DW/API/Key.pm
M cgi-bin/DW/Controller/API/REST.pm
M cgi-bin/DW/Controller/API/REST/Icons.pm
M cgi-bin/LJ/Userpic.pm

Log Message:
-----------
API release hotfixes (#2431)

* API release hotfixes

-Fix SQL statement for deleting API keys
-Actually return picid as an integer, like we claim we do
-Capture all path parameters, not just the first one
-Loosen JSON validation for incoming data, because Perl doesn't care

* Fix 'use of uninitialized variable in string comp' warnings

* Use more explicit coerce() instead of deprecated coerce(1) in validator

* make what we're doing a little less obtuse in spots