Commit Graph

25 Commits

Author SHA1 Message Date
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
Jonathan Ernst
c138da9766 Html attributes and values are lowercase to be forward compatible with xhtml 2006-06-27 16:54:22 +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
EA Durbin
f982c8459e Filter all user input to reduce the security impact of manipulated data 2006-06-17 06:10:10 +00:00
Jonathan Ernst
b79965941d Remove duplicated includes to avoid fatal errors 2005-02-09 23:52:49 +00:00
Jonathan Ernst
03c0c145c5 - new Comment class
- improved performances (much less duplicated mysql queries)
- less code and better error handling
- informs the whole thread when posting new comment
- fix various bugs
2005-02-02 03:01:29 +00:00
Jonathan Ernst
7ce5895681 - fix notifications
- improves notifications
2005-02-02 00:14:01 +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
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
aba584ff93 fix a typo (mesage -> message) 2005-01-19 04:58:12 +00:00
Paul van Schayck
30aeda85d6 Security fixes 2005-01-15 05:59:21 +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
Francois Gouget
8fab7880b4 Assorted spelling fixes.
Small wording tweaks.
Capitalize Wine when referring to the project.
2005-01-10 22:15:44 +00:00
Eric Blade
ffeeaef807 Clean up HTML and PHP, remove extranious checks for loggedin() 2004-12-29 20:21:31 +00:00
Jonathan Ernst
487bcb9264 - addcomment.php uses include/db.php for mysql queries and error handling
- deletecomment.php uses include/db.php for mysql queries and error handling
- minor fixes (superglobals, indentation, typos)
2004-12-29 03:42:22 +00:00
Jonathan Ernst
4082220f9c - when a comment is deleted, one can state the reason why he did this.
- the user that made the comment get's an e-mail
2004-12-14 04:30:41 +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
WineHQ
134aca7e3a Authors: Jonathan Ernst <Jonathan@ernstfamily.ch>, Chris Morgan <cmorgan@alum.wpi.edu>
- stop annoymous comments submitions
- code cleanup (more php style than c style  + better indentation + comments + replaced globally registered vars)
2004-12-11 04:07:40 +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
Tony Lambregts
e9e177705b send an email to the original poster if this is a reply. 2004-11-17 23:05:36 +00:00
Chris Morgan
1e06cab9d9 use datetime instead of timestamp 2004-11-17 22:54:30 +00:00
Tony Lambregts
90ac967f43 Set up notify system. Send notify emails for ad and delete Coments 2004-11-09 22:42:12 +00:00
Jeremy Newman
8f28ae10c4 Initial revision 2004-03-15 16:22:00 +00:00