Commit Graph

509 Commits

Author SHA1 Message Date
Chris Morgan
a72f31e11a Rename some variables to match our current naming scheme 2006-06-30 16:33:02 +00:00
Jonathan Ernst
da53f65cde Remove redirectref(), this function isn't used 2006-06-30 16:10:16 +00:00
Chris Morgan
5e1cb3f8a9 Cleanup note class, move display of notes into the class. External code creates and calls Note::show() to display the note. 2006-06-29 19:22:26 +00:00
Chris Morgan
9059c658da No need to create Version object, use the monitor classes iAppId and iVersionId instead 2006-06-29 18:05:44 +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
Jonathan Ernst
6b89df82a5 Check for arrays when filtering. MAX_FILE_SIZE should not be filtered 2006-06-29 16:09:29 +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
Jonathan Ernst
df8baf54fe Automatic filtering of $_REQUEST variables 2006-06-28 17:30:44 +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
f3c64ff48f Unit test for query_parameters(), fix bugs in query_parameters() found by the unit test 2006-06-27 16:39:40 +00:00
Tony Lambregts
1932248293 Don't allow empty "what works", "what was tested" and "what was not" fields 2006-06-27 05:44:24 +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
ac5b4b0a95 Warn if magic quotes is enabled and explain a bit about why we require that magic quotes
be disabled.  Also remove all of the conditional code that was working around cases where
we had magic quotes enabled.  We were only working around a small portion of cases where magic
quotes was affecting the appdb.
2006-06-26 00:44:44 +00:00
Chris Morgan
63d90984a1 Fix a warning due to missing first parameter when testData::OutputEditor() is called from adminTestResults.php.
At this point we never expect to have a $sDistribution so we can just default the parameter to a null string
2006-06-24 05:02:56 +00:00
Chris Morgan
fb0f3b5dd3 Protect against sql injection attacks in sql INSERT statements 2006-06-24 04:20:32 +00:00
Chris Morgan
6f35da69d7 Fix voting. Another case, ha ha, where different capitalization messed us up 2006-06-24 03:09:07 +00:00
Chris Morgan
3537fcbd88 Fix entering a new distribution when submitting a new application or version 2006-06-24 02:38:44 +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
eea66ec98c $_SESSION['current']->userId should be ->iUserId, there is no userId member of
class user.
2006-06-22 22:34:23 +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
ce71a0d8ed Fix case of $aClean['appId']. Fixes the bug of orphaning newly submitted versions 2006-06-20 22:58:58 +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
Tony Lambregts
fdc0760ce6 Open ratings definitions page in a new window so we don't erase any data a user has entered into input boxes 2006-06-17 06:12:28 +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
7fec72b632 Don't expose users email addresses to robots 2006-06-16 03:18:45 +00:00
EA Durbin
62de655d75 Fix typo 2006-06-06 18:53:00 +00:00
Tony Lambregts
5fe6ad37c1 Fix wiki link 2006-06-05 01:11:07 +00:00
Tony Lambregts
5d8293bdb1 Update appdb to have a menu with links to all wine related sites 2006-06-03 23:53:41 +00:00
Alexander Nicolaysen Sørnes
24d1d1b598 Add link to rating definitions next to 'raiting' field on the test submission form 2006-06-03 22:17:00 +00:00
Alexander Nicolaysen Sørnes
b8318e22ca Improve language consistency in testResults.php 2006-05-04 00:24:18 +00:00
Alexander Nicolaysen Sørnes
270ea39bc9 Make the use of capitalization in the Application Form more consistent 2006-05-04 00:23:39 +00:00
EA Durbin
3fba57d0ff Correct the spelling of oThumbnail variable in get_thumbnail() 2006-05-04 00:03:47 +00:00
Tony Lambregts
fe004f36fa Add note to use the AppDB to reply to email instead of replying to the email 2006-04-28 00:53:01 +00:00
Tony Lambregts
a0db997fdf Fix the display-approved_versions() function by switching the use of a '=' in an if() to a '==' 2006-04-26 15:11:00 +00:00
Alexander Nicolaysen Sørnes
300ad22e4b When vendor changes display before and after vendors instead of displaying the before vendor
twice.
2006-04-16 16:33:41 +00:00
Chris Morgan
0d9766059c Remove extra 'slash' in url that was causing all kinds of issues like users going to odd websites
after clicking on some links on the site
2006-04-06 02:02:52 +00:00
Tony Lambregts
4bd603af4f Give maintainers/administrators an easy way to edit test results 2006-04-03 03:51:26 +00:00
Tony Lambregts
f6beae01cf Add tag to comment id and link it to the notification email 2006-03-24 05:01:48 +00:00
Tony Lambregts
d20c6c6fee Change link in email footer to link to the AppDB site instead of WineHQ 2006-03-24 03:21:26 +00:00
Tony Lambregts
d38adfedac Fix up inactivity warnings and include login link on inactivity email 2006-03-24 03:20:34 +00:00
Chris Morgan
f3ddc43dd1 Print application names correctly when versions are deleted. $this->appId should have been
$this->iAppId.
2006-03-19 18:06:18 +00:00
Tony Lambregts
092487fe91 Cleanup email code 2006-02-22 02:20:02 +00:00
Tony Lambregts
602d15cdca Fix deletion of test results when a version is deleted 2006-02-20 02:51:19 +00:00
Tony Lambregts
d1ee3e66b0 Add Platinum to ratings 2006-02-08 03:19:40 +00:00
Tony Lambregts
facd6bdb17 Modify 'installs' and 'runs' fields 2006-02-08 01:44:11 +00:00
Chris Morgan
e309c1b44a Move html output of application and version into the application and version classes 2006-01-29 04:04:46 +00:00
Tony Lambregts
da2c7c6bb6 Prevent the choice of unspecified Wine versions 2006-01-28 23:06:53 +00:00