Commit Graph

91 Commits

Author SHA1 Message Date
Chris Morgan
19cae27ff8 Remove makeSafe(), we don't use this method anymore now that we have filter_gpc() 2007-06-11 00:12:08 +00:00
Chris Morgan
1ec57548c5 Switch some tabs to spaces 2007-06-11 00:04:29 +00:00
Chris Morgan
0cd6de7970 Programmatically fix up the bugzilla versions list. Sort the versions with the newest version first, limit the
total number of versions to 6 by truncating the array and manually add the 'CVS' entry since we trim this entry
off. This should make it easier for users to figure out which version to pick.
2007-06-07 02:43:57 +00:00
Chris Morgan
2d4b27530d Upgrade to Xinha 0.931. Xinha has been optimized for size and dozens of issues have been closed
out since the last upgrade . Add Firefox and Xinha buttons to main page to show our support.
2007-05-31 22:43:05 +00:00
Alexander Nicolaysen Sørnes
169d7ca493 Use objectMakeUrl()/Link() in more places 2007-04-08 23:04:31 +00:00
Alexander Nicolaysen Sørnes
6c55180786 Use objectGetEntriesCount() in more places 2007-04-05 02:27:31 +00:00
Alexander Nicolaysen Sørnes
23ca478ce0 Fix ambiguous query 2007-03-17 00:51:59 +00:00
Alexander Nicolaysen Sørnes
6a403ecc0f Parse MySQL timestamps according to the MySQL version 2007-03-15 23:45:49 +00:00
Alexander Nicolaysen Sørnes
9bba0ecd65 Top 10 list, query for data type 'screenshot', not 'image' 2007-03-11 20:05:40 +00:00
Alexander Nicolaysen Sørnes
5f6cc94def Rename appData type 'image' to 'screenshot' 2007-03-10 23:31:47 +00:00
Alexander Nicolaysen Sørnes
71cba5e7c3 Fix top 10 vote lists so they don't display the same version twice 2007-03-09 01:37:32 +00:00
Alexander Nicolaysen Sørnes
f3dae72762 Make votes version specific 2007-01-21 18:06:53 +00:00
Alexander Nicolaysen Sørnes
6a92f95a6d Clean up link editing code 2007-01-20 03:49:41 +00:00
Chris Morgan
a1a41d6b87 Fix and enable input filtering through include/filter.php 2007-01-04 02:35:01 +00:00
Alexander Nicolaysen Sørnes
79a5e062dd Add the page and sidebar entry for a 'Browse newest applications' page 2006-11-27 03:14:57 +00:00
Chris Morgan
cef2aec209 Start to move maintainer related functions into maintainer class and separate maintainer related queries and logic from
display code. Also move maintainer related code from the user class. Fix up unit tests to work with the new maintainer class.
2006-07-24 16:20:40 +00:00
Chris Morgan
25cf0a827f Darken up the top X highlighting to make it more visible 2006-07-24 15:55:56 +00:00
Chris Morgan
4b380d37b3 Add a subtle highlight when mouse is over top X rows to provide better feedback to users that they may click anywhere
in the row to visit the application version.  Add underlining to the text in the test results table to provide similar
feedback.
2006-07-21 19:18:10 +00:00
Chris Morgan
c726511204 Make table rows clickable using javascript. Use this functionality in the top X lists and in the test results table 2006-07-21 04:34:58 +00:00
Chris Morgan
0b9a5b4e94 Merge appMaintainerQueue table into appMaintainers table. This simplifies the handling of queued vs.
unqueued maintainers and removes a table from the database
2006-07-16 16:53:08 +00:00
Chris Morgan
1587e8d0b4 Remove unused lookupVendorName() 2006-07-11 03:47:00 +00:00
Chris Morgan
88dde93132 Speed up outputTopXRowAppsFromRating() by earlying out if we have enough applications to fill our required amount.
This saves a database query for each top X table.  Also rename $num_apps to $iNum_apps
2006-07-11 03:41:57 +00:00
Chris Morgan
160f739da8 Screenshot class cleanups. Move screenshot related functions into the class. Rename get_screenshot_img() to
get_random_screenshot_img() so the name of the function matches its purpose
2006-07-11 03:37:07 +00:00
Chris Morgan
f05c05864e Pass input arrays into GetOutputEditoValues() and CheckOutputEditorInput(). We don't want
classes to be hardcoded to read directly from $_REQUEST
2006-07-08 22:06:28 +00:00
Chris Morgan
b47070737c Fix page changing that uses display_page_range(). Switch 'page' to 'iPage' and rename variables in
display_page_range() to use our current naming convention
2006-07-07 17:45:22 +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
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
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
034ea689bc Clean up application and version classes. Move class related functions into the class as static member functions 2006-06-29 16:07:19 +00:00
Chris Morgan
245a6b993e Cleanup User class. Move user related functions into class as static member functions 2006-06-29 15:54:29 +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
fb0f3b5dd3 Protect against sql injection attacks in sql INSERT statements 2006-06-24 04:20:32 +00:00
Chris Morgan
1a6cde7f1e Fix the application name column in the top 'X' lists to be 150px wide so each top 'X' list
looks uniform
2006-06-23 04:11:50 +00:00
Chris Morgan
58b267506f Fix indenting and formatting 2006-06-22 22:34:56 +00:00
Chris Morgan
b55c2776a5 Compact the top 'X' lists on the main page by adding a flag to get_screenshot_img() that disables the output of
html that was putting the image inside of another table
2006-06-22 21:41:41 +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
6ceb14ef92 Disable addslashes() in makeSafe() until more finely grained filtering can be implemented 2006-06-19 15:40:53 +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
Tony Lambregts
d1ee3e66b0 Add Platinum to ratings 2006-02-08 03:19:40 +00:00
Tony Lambregts
da2c7c6bb6 Prevent the choice of unspecified Wine versions 2006-01-28 23:06:53 +00:00
Tony Lambregts
8bb0882cb2 Don't display queued versions, make the function name more descriptive 2005-10-30 22:27:14 +00:00
Tony Lambregts
ba6e92d184 Lets users submit application testing results in a uniform and easy to process manner 2005-10-17 03:59:24 +00:00
Chris Morgan
90e471c83e Improve HtmlAreaLoaderScript() to work properly when called more than twice on a page 2005-10-11 01:06:54 +00:00
Chris Morgan
49300a8707 Factor application/version editing code out of files and move it into the application and version classes. Add support to HtmlAreaLoaderScript() to be called multiple times on a single page without generating javascript that overwrites the previous html area settings. 2005-10-10 02:37:55 +00:00
Chris Morgan
0aa7f26249 Switch from using htmlarea to using xinha. Clean up the use of the editor plugin 2005-09-30 02:48:33 +00:00
Chris Morgan
5b846f81ac Fix screenshots for the top-X lists. We were passing a versionId as the first parameter of a function that expected an appId as the first parameter 2005-09-26 01:37:12 +00:00
Chris Morgan
2edc247c00 Make top-X lists version specific because only versions have ratings 2005-09-26 00:56:36 +00:00
Lukas Middendorf
691a199bd1 Search results were listing a number of versions that was counting versions that were still in the queue to be processed by appdb admins. Exclude queued versions from the count. 2005-08-14 17:27:08 +00:00
Chris Morgan
0665823494 Remove words less than 4 letters from the normal searching path to reduce spurious matches 2005-08-06 03:53:08 +00:00