<feed xmlns='http://www.w3.org/2005/Atom'>
<title>scrott/app/class/obj.class.php, branch v0.2</title>
<subtitle>The Secure Centralized Robust Online Ticketing Tool</subtitle>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/'/>
<entry>
<title>Fix bug in image support</title>
<updated>2018-11-01T01:23:27+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-11-01T01:23:27+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=2cf8d6be4191512567dc7498d3163627aacd1cf0'/>
<id>2cf8d6be4191512567dc7498d3163627aacd1cf0</id>
<content type='text'>
Adds 'image/x-ms-bmp' as an allowed mimetype for images, and is
equivalent to 'image/bmp'.  The image module is also updated to expect
this new type.

I found an image of mine that, when uploaded, PHP thought was
'image/bmp', so it was allowed.  However, when cropping, PHP though it
was 'image/x-ms-bmp' and failed to lookup a loading/writing function.

Signed-off-by: Malf Furious &lt;m@lfurio.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds 'image/x-ms-bmp' as an allowed mimetype for images, and is
equivalent to 'image/bmp'.  The image module is also updated to expect
this new type.

I found an image of mine that, when uploaded, PHP thought was
'image/bmp', so it was allowed.  However, when cropping, PHP though it
was 'image/x-ms-bmp' and failed to lookup a loading/writing function.

Signed-off-by: Malf Furious &lt;m@lfurio.us&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add bmp image support</title>
<updated>2018-11-01T00:29:11+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-11-01T00:29:11+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=175020d9acd5742d3a3cea4aa8e427ecc046b14b'/>
<id>175020d9acd5742d3a3cea4aa8e427ecc046b14b</id>
<content type='text'>
Adds 'image/bmp' as an allowed mimetype for images.  The image module is
also updated to expect this new type.

Signed-off-by: Malf Furious &lt;m@lfurio.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds 'image/bmp' as an allowed mimetype for images.  The image module is
also updated to expect this new type.

Signed-off-by: Malf Furious &lt;m@lfurio.us&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add gif image support</title>
<updated>2018-11-01T00:20:10+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-11-01T00:20:10+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=288af5af9c504397916d7f680551672a5b91100f'/>
<id>288af5af9c504397916d7f680551672a5b91100f</id>
<content type='text'>
Adds 'image/gif' as an allowed mimetype for images.  The image module is
also updated to expect this new type.  For background images, animated
gifs will work properly.  For head images, the cropping process
truncates the image to only one frame; this is probably for the best.

Signed-off-by: Malf Furious &lt;m@lfurio.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds 'image/gif' as an allowed mimetype for images.  The image module is
also updated to expect this new type.  For background images, animated
gifs will work properly.  For head images, the cropping process
truncates the image to only one frame; this is probably for the best.

Signed-off-by: Malf Furious &lt;m@lfurio.us&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>obj:  Fix bug in function getMesgs_ordByDatetime()</title>
<updated>2018-10-24T07:26:05+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-10-24T07:26:05+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=1bb6077c7c74c0b65be906cbeed417f911498e87'/>
<id>1bb6077c7c74c0b65be906cbeed417f911498e87</id>
<content type='text'>
The SQL query here, as written, was omitting 'log' type messages from
the results.

Signed-off-by: Malf Furious &lt;m@lfurio.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The SQL query here, as written, was omitting 'log' type messages from
the results.

Signed-off-by: Malf Furious &lt;m@lfurio.us&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update all usage of saveFile()</title>
<updated>2018-09-19T19:46:26+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-09-19T19:46:26+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=866c16abdce264362edb7f5a3c35e7bab9ddf2a5'/>
<id>866c16abdce264362edb7f5a3c35e7bab9ddf2a5</id>
<content type='text'>
Update all usage of saveFile() to use added saveIfFile() function,
forwarding on the convenience to model code.  Model code can pass in
file field names, rather than $_FILES arrays directly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update all usage of saveFile() to use added saveIfFile() function,
forwarding on the convenience to model code.  Model code can pass in
file field names, rather than $_FILES arrays directly.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add function obj::hasHeadImg()</title>
<updated>2018-09-16T20:00:19+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-09-16T20:00:19+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=6b49c22dde73d3770f0f49f075ec86ff28919674'/>
<id>6b49c22dde73d3770f0f49f075ec86ff28919674</id>
<content type='text'>
We can check for the existence of an object's background image by
calling getBgImg(), since it returns NULL when there is no such image.
But getHeadImg() behaves differently, returning a path to
'static/img/null.jpg' (via df.php) when there is no image, making it
more difficult to tell.  This function addresses this concern.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can check for the existence of an object's background image by
calling getBgImg(), since it returns NULL when there is no such image.
But getHeadImg() behaves differently, returning a path to
'static/img/null.jpg' (via df.php) when there is no image, making it
more difficult to tell.  This function addresses this concern.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update function obj::getMembers()</title>
<updated>2018-07-26T07:52:21+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-07-26T07:52:21+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=84b7c560ffc09a65df896116ccd63b2f132b92b0'/>
<id>84b7c560ffc09a65df896116ccd63b2f132b92b0</id>
<content type='text'>
Added a $limit argument to specify a maximum number of results to
return.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added a $limit argument to specify a maximum number of results to
return.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename object.class.php to reflect name of its class</title>
<updated>2018-02-08T02:28:08+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-02-08T02:28:08+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=977e4271c6f27ed2d42fab6bb2706f4a59bf0237'/>
<id>977e4271c6f27ed2d42fab6bb2706f4a59bf0237</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
