Code: Select all
0.9.18 2010/6/16 Created disableaccount.php so people can disable their
own accounts. Updated menus.
0.9.19 2010/9/20 Added getip() to utils.php.
SESSION now keeps this information. Added
'userip' to DB_TABLE_LOG. login.phph now grabs the user ip.
log_transaction() updated to log ips. created get_userip() in loglib.php
These changes were made for increased security resulting from a set of
questionable transactions. IP's were requested, but not logged at the
time. Now they will be logged so we can help look into such things.
Updated admintranlog.php. Also updated install.sql to keep up with that.
IP's from old logs will just come up as UNKNOWN.
0.9.20 2010/10/29 added loan mod to main menu, despite it not being functional.
perhaps it'll intice me to get it working. Made the change log into a global
variable so we can use it in a to be create later about/version page.
0.10.1 2010/11/1 added email field to accounts, added '$email' to add_account().
Fixed some formating issues with the last change. Not sure that tweek was a good idea.
More trouble perhaps then it was worth. Removed that ability due to annoyance.
It wasn't worth the upkeep.
emails given to add_account() aren't cleaned or checked at this time.
updated createaccount.php so that it knows about the change.
0.10.2 2010/11/4 added function to util.php to check email format.
Created changeemail.php so a user can change it themselves. Must have pw.
Updated menu. Minor tweak to changepw.php removing link to account.php.
viewaccount.php now shows emails.
Delete subdivision can be used to change one subdivision into another country.
Just say it's the last subdivision. Should make this clear when I have time.
0.10.3 2010/11/14 Made it clear that you can use the page in this way.
Removed account.php as it is deprecated. It's job is taken up by the css menu now.
Why is bank_menu() still in util.php? Removed it.
I should research a better function to get IP's.
0.10.4 2010/11/18 Changes to how we log IPs. We no longer use the stored IP, but in fact grab it a new each time.
This is to be a Possible solution to a technical issue expereinced when using an
external program to interact with the bank.
0.10.5 2010/11/19 Changes getIP() so it might now return 127.0.0.1 instead of UNKNOWN
when the logger is called by a cron job or other local means.
0.10.6 2010/11/20 added lastlog as a timestamp field that will be updated whenever the
user logs in. added to table, added set/get function. update login.php.
updated add_account(). updated begin_session(). updated viewaccount.php
Previous update's fixes had no effect. Curses.
0.10.7 2010/11/21 changed DateMath() to date_math() for consistency.
added index.php to the menu as Home. Added lastlog info to index.php