36 Commits

Author SHA1 Message Date
Alexander Nicolaysen Sørnes
0a42c3e36c Top 25: Don't show queued or deleted versions 2009-07-12 23:20:42 +02:00
Jeff Zaroyko
16949bb71c tidy appdb html to make it validate - try 4 2008-02-25 19:27:36 -05:00
Chris Morgan
6119246b51 Replace direct mysql_xxx() calls with query_xxx() calls. Replace calls to mysql_insert_id()
with calls specific to the appdb or bugzilla database. Fixes a bug where a call to
mysql_insert_id() can potentially retrieve an id from either the bugzilla or appdb database,
depending on whichever database was last opened by mysql_connect().
2007-08-03 23:27:25 +00:00
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
cecc4bf6c0 Use objectMakeLink() in more places 2007-04-01 01:21:58 +00:00
Alexander Nicolaysen Sørnes
5cbb5cdd4d Display version name in vote stats 2007-02-02 01:01:34 +00:00
Alexander Nicolaysen Sørnes
f3dae72762 Make votes version specific 2007-01-21 18:06:53 +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
Jonathan Ernst
53ed5725b4 Stop copying variables, update comments 2006-07-11 19:26:14 +00:00
Chris Morgan
854df987c6 Clean up includes. Make 'path.php' and 'incl.php' required includes. Switch to using
require_once() for including files in /include so we can have include/*.php files include
their own dependencies rather than figuring out that to include A.php we need to include B.php
2006-07-07 18:14:53 +00:00
Jonathan Ernst
2d4ecadc6b Enable filtering in votestats.php 2006-07-07 17:57:12 +00:00
Jonathan Ernst
735a2bc65f Prefix all GPC variables according to our coding standard 2006-07-06 17:27:54 +00:00
Chris Morgan
a72f31e11a Rename some variables to match our current naming scheme 2006-06-30 16:33:02 +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
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
Chris Morgan
a88e2d16da Clearing an empty vote would result in a blank screen, instead redirect the
user to an appropriate page. Don't report that we removed votes for empty
slots.  Improve the message on the votestats page if there are no voting
results.
2005-05-11 03:08:07 +00:00
Jonathan Ernst
b9b278e14b - votestats was broken
- improve html compliance
2005-02-09 23:47:01 +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
dfec5cb9b0 Replaced mysql_query() with query_appdb() 2005-01-10 22:24:15 +00:00
Paul van Schayck
dcc82232ad Count appId, not userIds. And group by appIds 2005-01-08 18:14:16 +00:00
Paul van Schayck
4bd4faaa90 - Fix the per category query. It was showing too many votes in some cases.
- Use query_appdb
2005-01-05 05:27:30 +00:00
Paul van Schayck
1d8da74b77 Use a more simple check for the arguments 2005-01-02 22:08:00 +00:00
Stefan Pflüger
ae3b27acf6 Escape $_POST vars with mysql_real_escape_string() to prevent sql
injection attacks.
2005-01-02 17:00:04 +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
099a172b00 Fix header patch typo 2004-12-27 23:54:55 +00:00
Paul van Schayck
2c6592efbd make_cat_path() make use of arguments instead of globals 2004-12-25 20:11:13 +00:00
Jonathan Ernst
f5741ea108 Uniform headers 2004-12-25 20:08:00 +00:00
Jonathan Ernst
8968a68033 make use of $_POST and $_GET instead of $HTTP_POST_VARS and $HTTP_GET_VARS which are deprecated 2004-12-19 17:43:46 +00:00
Jonathan Ernst
5f66266055 - resulting html pages are valid html 4.01 transitionnal 2004-12-12 22:36:31 +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
471f673a01 Add the ability to choose the number of top apps you want
and to drill down into sections
2004-11-09 22:31:15 +00:00
Jeremy Newman
e6b58e6b01 borked link 2004-03-15 20:50:34 +00:00
Jeremy Newman
8f28ae10c4 Initial revision 2004-03-15 16:22:00 +00:00