Commit Graph

54 Commits

Author SHA1 Message Date
Tony Lambregts
2311d4d572 Add the ability for user to monitor changes to applications 2005-09-30 01:55:51 +00:00
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
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
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
58d4e45b08 Sort maintainers in adminMaintainers.php by their name. Add header for each maintainer that has a summary of the number of applications and versions they maintain 2005-08-25 03:24:31 +00:00
Chris Morgan
371327cb87 Fix User::getAppDataQuery() copy/paste bug that was causing super maintainers to not be able to process app data for applications they super maintain 2005-08-23 00:26:08 +00:00
Tony Lambregts
b7f1d55472 Allow maintainers/administrators to reject an application submission instead of just deleting it 2005-08-15 03:44:03 +00:00
Chris Morgan
c8b4caf151 Set defaults comments mode to threaded for new users 2005-08-15 00:17:54 +00:00
Chris Morgan
c77e881999 Fix indenting. Remove use of $_SESSION[] inside of the class because we can simply use $this 2005-08-14 18:49:21 +00:00
Chris Morgan
639dd77d15 Let maintainers and super maintainers process the application versions and images submitted for applications they maintain 2005-08-05 22:07:41 +00:00
Chris Morgan
cc912964d6 Move some maintainer code into user class, don't let a user maintain
the same app more than once
2005-07-31 17:53:11 +00:00
Chris Morgan
4be7e90e66 user->isMaintainer() should return true if the user is a super maintainer of the application 2005-07-30 16:35:03 +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
8d6b1efc30 Delete a user's votes and their maintainer entries when a user is
deleted.
2005-05-13 00:22:37 +00:00
Jonathan Ernst
06ea1b6d3d Security fixes. Ensure that numeric values are actually numeric using is_numeric
so users can't login as admin by passing in non-numeric values.
2005-03-23 23:56:38 +00:00
Jonathan Ernst
209f58ff3f Fix user deletion 2005-02-14 18:20:48 +00:00
Jonathan Ernst
b5248b3873 return "an anonymous user" when we are dealing with the name of an
unregistered user instead of using "".
2005-02-09 23:52:15 +00:00
Jonathan Ernst
96df720bb6 - fix isMaintainer and isSuperMaintainer
- make the correct button appear in appview (be a maintainer/stop to be a maintainer)
- make the list of maintained applications reappear on the left menu
2005-02-07 23:55:42 +00:00
Jonathan Ernst
ddfb83e988 Fix send lost password feature 2005-02-06 22:34:43 +00:00
Jonathan Ernst
3ebdbc9af5 - no more appId in appData as appVersion implies an appId*
- screenshot class has been reworked to remove need of appId
- screenshot class has been improved to send e-mails so that email handling can be removed from other scripts
2005-02-04 02:55:50 +00:00
Jonathan Ernst
039fba9a6a New function to see if someone wants to receive email 2005-02-02 02:42:28 +00:00
Jonathan Ernst
f9ef6ef221 Fix enrolling to be supermaintainer 2005-02-02 00:12:35 +00:00
Jonathan Ernst
1200dca8d7 Fix sending mail to people that don't want them 2005-02-01 01:58:09 +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
Francois Gouget
a8f2cd5865 Assorted spelling and typo fixes 2005-01-29 00:43:41 +00:00
Jonathan Ernst
791bac8e09 make it possible to add/remove administrators 2005-01-17 04:30:39 +00:00
Jonathan Ernst
f093a01229 add a user management panel for administrators 2005-01-16 02:04:03 +00:00
Jonathan Ernst
caf91fded2 remove all mysql_error() instances as errors are handled by query_appdb() 2005-01-14 05:34:25 +00:00
Jonathan Ernst
d3ad0dba41 - replaced mysql_query() with query_appdb()
- removed opendb()
- removed query_userdb()
- removed error handling from the code as it is done with query_appdb()
2005-01-12 16:22:55 +00:00
Tony Lambregts
42079eaf32 Fix up creating new users. 2005-01-11 02:32:20 +00:00
Jonathan Ernst
ee28390769 Replaced mysql_query() with query_appdb() 2005-01-11 00:26:05 +00:00
Jonathan Ernst
d9826427da This patch make email address the user's username as requested in the TODO.
query_users.php is modified even if we will drop it in the future to be sure it works everywhere.
2005-01-10 22:54:04 +00:00
Tony Lambregts
6897af23e0 Security fix for user->create 2005-01-08 18:38:29 +00:00
Tony Lambregts
1d26c64a9a Add notify messages to editAppFamily 2005-01-08 18:28:32 +00:00
Tony Lambregts
ff64795163 Fix to allow creating of new accounts 2005-01-05 19:08:06 +00:00
Tony Lambregts
e54a74bd4d Fix up user preferences so it shows the proper wine version. 2005-01-04 20:15:32 +00:00
Tony Lambregts
4dec5cf83e Store the users Wine version in the users table. 2005-01-04 19:36:03 +00:00
Paul van Schayck
7fb5a034c4 Remove appOwners code. We're now using mantainers 2004-12-31 00:30:00 +00:00
Chris Morgan
77a038d4f9 Remove isMaintainer() and isSuperMaintainer and instead use the user
classes is_maintainer() and is_super_maintainer.
2004-12-19 19:30:27 +00:00
Jonathan Ernst
8d8c98bc46 - debugging() returns true when debugging is enabled in the config file 2004-12-19 17:46:41 +00:00
Jonathan Ernst
9932fee842 Enable debugging temporarily 2004-12-18 06:57:25 +00:00
Jeremy Newman
5642e73425 updated to a slightly more improved version of the session management code
should solve bugs with logging in on register_globals = off;
2004-12-13 03:50:02 +00:00
Jonathan Ernst
d3d9e853d9 - replaced tons of tabs with spaces
- replaced <? with <?php for compatibility sake (see TODO and CODING_STANDARD to know more)
- improved overall code lisibility
2004-12-12 03:51:51 +00:00
Chris Morgan
2306c4be83 Remove some debug lines...again... 2004-12-11 21:32:03 +00:00
Chris Morgan
0d23899b68 Use $_SESSION[] instead of global $current 2004-12-11 21:05:42 +00:00
Jonathan Ernst
bd91db228c - access most globals by their $_XYZ['varname'] name
- fix some code errors and typos (missing $ in front of variable names
and so on)
- fixed a lot of warnings that would have been thrown when error_reporting
is set to show notices (if(isset($variable))) instead of if($variable) for
example)
2004-12-10 01:07:45 +00:00
Chris Morgan
3fa8a3bd7a Add support for application wide maintainers, super maintainers, that are
maintainers for all versions of a particular application.
2004-12-10 00:18:01 +00:00
Chris Morgan
5ed2da0382 Fix getActiveUsersWithinDays() to use the correct date functions so we get
the correct number of users active.
2004-12-08 03:16:08 +00:00
Chris Morgan
8ccc06ba4b Add a statistics page that displays the number of users, active users, comments and applications. 2004-12-01 22:26:50 +00:00
Chris Morgan
91a821fdde Upon login we should touch their user_list row to update the 'stamp'
column.
2004-11-17 23:01:12 +00:00