Commit Graph

37 Commits

Author SHA1 Message Date
Chris Morgan
2652e68d01 Programmatic table support. Enhances several tables with highlightable and clickable rows and
cleans up the existing table row highlight and click code.
2007-07-23 19:56:43 +00:00
Chris Morgan
25edd78c73 Layout improvements. Change default inner padding for html_frame_start() from 5 to 0, this
lets us eliminate the white spacing between frames and their contents. Add in a
div.default_container class that has a 5px padding to replace the now not present default
spacing.
2007-05-02 01:08:22 +00:00
Alexander Nicolaysen Sørnes
82ab0c467f Allow setting admin privileges in the user mananger 2007-04-17 23:21:34 +00:00
Chris Morgan
a1a41d6b87 Fix and enable input filtering through include/filter.php 2007-01-04 02:35:01 +00:00
Chris Morgan
240a241a54 Use require() instead of include() because we can't operate properly if we can't find all listed include files 2006-07-21 04:24:59 +00:00
Chris Morgan
3c1d3a795b Stop using global variables. Reorder functions so we don't have functions in the middle of
executing code.  Rename a couple of variables to match our current naming convention
2006-07-07 18:18:09 +00:00
Jonathan Ernst
3096e63828 Rename util_show_error_page() to util_show_error_page_and_exit() and redirect() to util_redirect_and_exit()
so it is explicit that we exit in those functions that so we know it isn't necessary to put an exit after
we call them
2006-07-06 18:44:56 +00:00
Jonathan Ernst
a34058b924 Update the comments in some files 2006-07-06 18:37:34 +00:00
Jonathan Ernst
54c484de8c Remove unnecessary exit calls after redirect() and util_show_error_page() calls 2006-07-06 17:59:52 +00:00
Jonathan Ernst
735a2bc65f Prefix all GPC variables according to our coding standard 2006-07-06 17:27:54 +00:00
Chris Morgan
4706e36595 Fix variable naming of preferences/account related form variables to match our coding standards 2006-07-06 04:46:13 +00:00
Jonathan Ernst
6d019b918a Rename errorpage() to util_show_error_page() and move util_show_error_page() into include/util.php 2006-06-29 16:13:35 +00:00
Chris Morgan
e3f9e5371a Use query_parameters() in SQL select, update and delete statements to protect against
sql injection attacks
2006-06-27 19:16:27 +00:00
Chris Morgan
98ba61db03 Clean up user class. Implement start of unit testing framework for appdb.
Implement start of user class unit test.
2006-06-27 03:59:16 +00:00
Chris Morgan
2076ff9efc Fix preferences page. It is $_REQUEST and $_POST, not $REQUEST and $POST 2006-06-21 05:37:48 +00:00
Chris Morgan
67550405c3 Make code more consistent by making it follow the appdb coding standards. Fix some spaces vs. tabs odd indenting. 2006-06-21 01:04:12 +00:00
Chris Morgan
bc9d2bcefe Clean all preferences, fixes setting preferences 2006-06-19 21:28:45 +00:00
EA Durbin
f982c8459e Filter all user input to reduce the security impact of manipulated data 2006-06-17 06:10:10 +00:00
EA Durbin
efe08bae68 Fix typos 2006-06-06 18:54:12 +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
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
WineHQ
6b806b79e1 Authors: Jonathan Ernst <Jonathan@ernstfamily.ch>, Paul van Schayck <polleke@gmail.com>, Tony Lambregts <tony_lambregts@telusplanet.net>
New preferences fix
2005-01-14 05:28:58 +00:00
Tony Lambregts
2a153fec68 Fix user preferences screen 2005-01-13 05:37:52 +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
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
Jonathan Ernst
dfec5cb9b0 Replaced mysql_query() with query_appdb() 2005-01-10 22:24:15 +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
Jonathan Ernst
099a172b00 Fix header patch typo 2004-12-27 23:54:55 +00:00
Jonathan Ernst
f5741ea108 Uniform headers 2004-12-25 20:08:00 +00:00
Paul van Schayck
29f6b75292 Check for a submit using $_POST not $_REQUEST 2004-12-18 01:50:58 +00:00
Jonathan Ernst
8656aad61f Fixed bugs in preferences.php 2004-12-15 00:10:27 +00:00
Tony Lambregts
dca5a408cb Integrate APPDB with Bugzilla to use the versions table from Bugzilla. 2004-12-13 03:50:11 +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
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
Jeremy Newman
8f28ae10c4 Initial revision 2004-03-15 16:22:00 +00:00