red: Initial import

git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@93 11fca9cc-9dec-4740-9b93-56a2063083fb
red: updating description of user accounts: mfpl members do *not* need to create a user account to give someone access to their web site.

git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@203 11fca9cc-9dec-4740-9b93-56a2063083fb
red: When setting the path value of a cookie, do not append a trailing slash if the path is just a slash (firefox seems to fail if you try to set a cookie with the path set to "//"). Also - when unsetting cookies, use the same parameters as when setting them so the cookies get removed (not just emptied out).



git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@204 11fca9cc-9dec-4740-9b93-56a2063083fb
red: when a user sends a value to the server from a form, if the field is not user editable, the value is ignored.


git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@205 11fca9cc-9dec-4740-9b93-56a2063083fb
red: don't include hidden fields for values that users cannot edit when displaying a edit or new record form.


git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@206 11fca9cc-9dec-4740-9b93-56a2063083fb
red: only use a single hidden field in forms: the item_id


git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@207 11fca9cc-9dec-4740-9b93-56a2063083fb
red: only allow edits to a passed item_id if the currently logged in user
has permission to edit the given item_id. Otherwise return an error.


git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@208 11fca9cc-9dec-4740-9b93-56a2063083fb
red: fixed the auto generated url - it no longer displays hosting order and service id's twic.


git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@209 11fca9cc-9dec-4740-9b93-56a2063083fb
red: convert all messages into htmlentities before displaying.


git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@212 11fca9cc-9dec-4740-9b93-56a2063083fb
red: call htmlentities after we're sure it's a string, not array


git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@214 11fca9cc-9dec-4740-9b93-56a2063083fb
red: Since the user login is no longer part of the submitted data, check database version to ensure the user is not setting their password to the value of their username.


git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@225 11fca9cc-9dec-4740-9b93-56a2063083fb
red: when removing the last email in an account, red deletes the domain from the virtual_alias_domains file, but fails to re-rerun postmap - this is now fixed.


git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@228 11fca9cc-9dec-4740-9b93-56a2063083fb
Fixing error editing email addresses (addressed in #692).


git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@229 11fca9cc-9dec-4740-9b93-56a2063083fb
red: woops - forgot to remove debugging info.


git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@231 11fca9cc-9dec-4740-9b93-56a2063083fb
red: cleaned up tables.sql to make it loadable.

git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@254 11fca9cc-9dec-4740-9b93-56a2063083fb
red: cleaning up the installation process (#746)



git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@260 11fca9cc-9dec-4740-9b93-56a2063083fb
Red: Adding more documentation and improvements to setup, including expanding the client.php script to add new members and hosting orders.


git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@266 11fca9cc-9dec-4740-9b93-56a2063083fb
Adding better validation for adding dns records - specifically, prevent users from adding a second A record for globally acceptable domains (like another stedile.mayfirst.org) and preventing one member from adding foo.mayfirst.org and another member from adding bar.foo.mayfirst.org).


git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@267 11fca9cc-9dec-4740-9b93-56a2063083fb
Adding additional validation rule for email addresses - ensure that users can
only submit email addresses with domains that are entered in their DNS records.



git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@278 11fca9cc-9dec-4740-9b93-56a2063083fb
red: clarifying error message for bad e-mail addresses.

git-svn-id: https://svn.mayfirst.org/mfpl/trunk/red@281 11fca9cc-9dec-4740-9b93-56a2063083fb