<feed xmlns='http://www.w3.org/2005/Atom'>
<title>scrott/app/class/user.class.php, branch v0.5</title>
<subtitle>The Secure Centralized Robust Online Ticketing Tool</subtitle>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/'/>
<entry>
<title>Define stricter username policy</title>
<updated>2019-01-13T00:10:01+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2019-01-13T00:10:01+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=2263cf0953872c09fe1a1158ebb841f74fb9e3ea'/>
<id>2263cf0953872c09fe1a1158ebb841f74fb9e3ea</id>
<content type='text'>
Previously, you could log into an account named "MyAccount" by entering
either "myaccount" or "MYACCOUNT" (or any other case conbination).  This
patch requires logins to succeed with case-sensitive usernames.

I have also decided, that I wish to disallow duplicate usernames if the
only difference between them is case.  There can only be _ONE_
"myaccount" (of any case combination), even if he's known canonically as
"MyAccount".  This particular functionality is not changed by this
patch.  I'm just noting it as a deliberate decision not to change, by
policy.

Note that _passwords_ always have been, and still are, case-sensitive.
They are salted and hashed before they even hit the database.

Signed-off-by: Malf Furious &lt;m@lfurio.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, you could log into an account named "MyAccount" by entering
either "myaccount" or "MYACCOUNT" (or any other case conbination).  This
patch requires logins to succeed with case-sensitive usernames.

I have also decided, that I wish to disallow duplicate usernames if the
only difference between them is case.  There can only be _ONE_
"myaccount" (of any case combination), even if he's known canonically as
"MyAccount".  This particular functionality is not changed by this
patch.  I'm just noting it as a deliberate decision not to change, by
policy.

Note that _passwords_ always have been, and still are, case-sensitive.
They are salted and hashed before they even hit the database.

Signed-off-by: Malf Furious &lt;m@lfurio.us&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add function agent::getContainedUsers()</title>
<updated>2018-11-10T14:12:01+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-11-10T14:12:01+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=762208664a9173bc9507a66fbd0c8020e382db88'/>
<id>762208664a9173bc9507a66fbd0c8020e382db88</id>
<content type='text'>
This function helps further abstract agents.  We want to get all users
belonging to a pad that is owned by a group, or more specifically - an
agent.  If this agent is a user, that user is our only user to collect.
If this agent is a group, we want to capture _it's_ owner along with all
of it's members.

Signed-off-by: Malf Furious &lt;m@lfurio.us&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function helps further abstract agents.  We want to get all users
belonging to a pad that is owned by a group, or more specifically - an
agent.  If this agent is a user, that user is our only user to collect.
If this agent is a group, we want to capture _it's_ owner along with all
of it's members.

Signed-off-by: Malf Furious &lt;m@lfurio.us&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo</title>
<updated>2018-09-07T11:08:26+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-09-07T11:08:26+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=0a77d66a62006fce5e3768eb115baa48b16cb719'/>
<id>0a77d66a62006fce5e3768eb115baa48b16cb719</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Address issue with user functions getCurrent() and setCurrent()</title>
<updated>2018-02-11T21:15:36+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-02-11T21:15:36+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=f1c92c8a67fee9d30480c6a72ac3d00b1879edfd'/>
<id>f1c92c8a67fee9d30480c6a72ac3d00b1879edfd</id>
<content type='text'>
Previously, these functions would always call session_start() before
doing most of their work.  However, I've found that calling that
function two or more times within the lifetime of a program results in
NOTICE messages output from the PHP interpreter.  Therefore, I am now
only calling session_start() if the session is not already active.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, these functions would always call session_start() before
doing most of their work.  However, I've found that calling that
function two or more times within the lifetime of a program results in
NOTICE messages output from the PHP interpreter.  Therefore, I am now
only calling session_start() if the session is not already active.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug in function user::getCurrent()</title>
<updated>2018-02-09T06:06:26+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2018-02-09T06:06:26+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=98ca92aa0a8aa9d879dd77ab76672f052b53b8d6'/>
<id>98ca92aa0a8aa9d879dd77ab76672f052b53b8d6</id>
<content type='text'>
If the session is set to an invalid (eg:  deleted) user GUID, an
exception is (correctly) thrown.  This commit catches that and enables
getCurrent() to close the bad session and return NULL.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the session is set to an invalid (eg:  deleted) user GUID, an
exception is (correctly) thrown.  This commit catches that and enables
getCurrent() to close the bad session and return NULL.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update function user::sendEmail()</title>
<updated>2017-06-20T03:57:39+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2017-06-20T03:45:03+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=2564b9953bb7bd8e90a9865962cb9e88d4cfd218'/>
<id>2564b9953bb7bd8e90a9865962cb9e88d4cfd218</id>
<content type='text'>
Now setting the name for email FROM field using system config
'smtpFrom'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now setting the name for email FROM field using system config
'smtpFrom'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement function sendEmail() for user class</title>
<updated>2017-06-20T03:57:39+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2017-06-06T16:23:26+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=05c33eb8da0c926c07288ddb07821fb967e20d7d'/>
<id>05c33eb8da0c926c07288ddb07821fb967e20d7d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bugs in user class</title>
<updated>2017-04-10T03:19:54+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2017-04-10T03:19:54+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=ce1e026c42dbe142202d17675791579dfc30d6b5'/>
<id>ce1e026c42dbe142202d17675791579dfc30d6b5</id>
<content type='text'>
Added calls to function saveObj() where $this is mutated.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added calls to function saveObj() where $this is mutated.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add function user::getGroups_ordByOwnByName()</title>
<updated>2017-03-27T02:52:30+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2017-03-27T02:52:30+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=1ae7eab4711353b2144d0da40ac33270bc79a081'/>
<id>1ae7eab4711353b2144d0da40ac33270bc79a081</id>
<content type='text'>
Lookup all groups a user owns or is a member of.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Lookup all groups a user owns or is a member of.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add various helper functions for user class</title>
<updated>2017-03-26T08:32:27+00:00</updated>
<author>
<name>Malf Furious</name>
<email>m@lfurio.us</email>
</author>
<published>2017-03-26T08:32:27+00:00</published>
<link rel='alternate' type='text/html' href='http://normalmode.org/malf/scrott/commit/?id=0555c1a786144102fa1b9381f634138d2bd8c181'/>
<id>0555c1a786144102fa1b9381f634138d2bd8c181</id>
<content type='text'>
Added the function to verify and update the user's password.  Added the
function to confirm and update the user's email address.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added the function to verify and update the user's password.  Added the
function to confirm and update the user's email address.
</pre>
</div>
</content>
</entry>
</feed>
