Chris Morgan
a66ae25f38
Move deletion of maintainer logic into the user class. If the cleanup script wants to delete a user and can't, if they are a maintainer we should remove their maintainer status even if we don't delete their account. Send email at the start of the cleanup script to aid in debug
2005-09-30 01:37:57 +00:00
Chris Morgan
b067e62789
Simplify the cleanup script a little bit. Report a summary of what the cleanup script did in the email that the script sends to the appdb admins
2005-09-29 01:45:39 +00:00
Chris Morgan
1a58863f78
Improve cleanup script to give users 1 month after warning before removing their account. Move user related logic into the user class. Add columns to the user_list table to track whether the user was warned about inactivity and the datetime of the warning.
2005-09-28 00:32:48 +00:00
Chris Morgan
374c6f550b
Disable the cleanup script until the patch to fix it is reviewed carefully, otherwise we may email a bunch of people again
2005-09-23 02:52:19 +00:00
Chris Morgan
c44f818218
Send notification emails to admins when the cleanup cron job executes so there is some visibility into the maintenance tasks running on the appdb. Fix a minor bug in the user class where passing in (null,null) for iVendorId and iAppId results in a null query string being sent to mysql and triggering an error
2005-09-15 00:22:22 +00:00
Chris Morgan
342bd66485
Delete a users comments when the user is deleted. Return the correct
...
value in cron/cleanup.php when looking for user associated data.
2005-05-13 00:28:28 +00:00
Chris Morgan
c6d02eab88
Improve efficiency of hasDataAssociated() by counting rows of a single column
...
instead of selecting *
2005-02-15 19:19:36 +00:00
Jonathan Ernst
0f0737f047
- doesn't send e-mail from the cleanup script until we have less bad email users.
...
- use the user class to cleanly delete user
2005-02-14 18:21:27 +00:00
Jonathan Ernst
7b12f89abf
- improve application and related classes
...
- use application/version/vendor class in scripts
- don't use a full table for queued appication but only one field in the application and version tables
- simplify the code in many places
2005-02-07 23:21:33 +00:00
Jonathan Ernst
2083bf521b
- OO version of user class
...
- no more duplicated functions
- improved performances (much less duplicated mysql queries)
- less code and better error handling
2005-01-30 23:12:48 +00:00
Jonathan Ernst
0a839e359a
- use mail_appdb() instead of mail() for better error handling and to avoid code duplication
...
- use \r\n as line separator in mail (RFC compliant)
2005-01-30 00:57:34 +00:00
Jonathan Ernst
e8ec89374b
Remove unused tables
2005-01-29 17:19:19 +00:00
Jonathan Ernst
b3eee9c65f
- cron job to delete inactive users
...
- improved statistics
2005-01-19 05:03:07 +00:00