Commit Graph

500 Commits

Author SHA1 Message Date
Chris Morgan
16e28b37a3 Really use the url field as the local filesystem filename 2005-07-31 04:35:18 +00:00
Chris Morgan
5dcc4e3ae7 Use the url field from appData and not the id as the name of the file in the filesystem. It is only lately that the filenames of images are equal to the id of the row in the appData table 2005-07-31 04:23:06 +00:00
Chris Morgan
abdb3ef22b Report last modified header information for application images. This should reduce the bandwidth used when refreshing the main page multiple times. Patch based on David Lamberts patch 2005-07-31 03:35:44 +00:00
Chris Morgan
4be7e90e66 user->isMaintainer() should return true if the user is a super maintainer of the application 2005-07-30 16:35:03 +00:00
Chris Morgan
f14d6a20ab Use the full path when calling move_uploaded_file() 2005-07-30 16:04:57 +00:00
Chris Morgan
5df2203821 Put single quotes around the application name/version name a comment is being deleted for 2005-07-30 15:36:15 +00:00
Tony Lambregts
6a8f8737f0 Add missing </form> to view_version_bugs() 2005-07-30 03:15:50 +00:00
Tony Lambregts
dab40bc0e8 Show the application name in the header when viewing versions 2005-07-29 02:02:41 +00:00
Tony Lambregts
dd92c790e0 Fix administration of screenshots so more than page 1 is displayed 2005-07-29 02:00:53 +00:00
Jeremy Newman
7dcbeab99b not needed, and causes problems 2005-07-28 22:39:16 +00:00
Chris Morgan
cd6f9e8302 Remove 'game' from our search terms because many application descriptions use the word and searching for it returns erroneous results 2005-07-28 00:22:43 +00:00
Tony Lambregts
324ed66eae Fix situation where AppDB is not at DocumentRoot 2005-07-27 02:10:56 +00:00
Tony Lambregts
a45a1fa869 Refactor screenshots.php to use get_thumbnail() 2005-07-26 03:54:57 +00:00
Tony Lambregts
e635d2919c Make adminScreenshots display screenshots 2005-07-26 03:54:06 +00:00
Tony Lambregts
f8c64330a5 Add a generic function to make a clickable image 2005-07-26 03:53:16 +00:00
Tony Lambregts
822b7254be Fix application and version links 2005-07-22 00:36:58 +00:00
Tony Lambregts
03b5e8d47f Refactor code to use display_page_range() 2005-07-20 02:42:27 +00:00
Tony Lambregts
860c6ee67a Add sidebar link for administrators to maintain buglinks 2005-07-20 02:31:13 +00:00
Tony Lambregts
e080533a10 Add adminBugs.php to cvs 2005-07-20 02:29:17 +00:00
Tony Lambregts
01040ae536 Add some functions that will be used to maintain buglinks 2005-07-20 02:27:43 +00:00
Tony Lambregts
d71c45937e Hack a fix for "$this->iLinkId = mysql_insert_id();" not working
and other cleanups.
2005-07-16 20:02:17 +00:00
Jonathan Ernst
1331d33842 Give a useful message to the user when the screenshot size is too big to be accepted 2005-07-14 01:32:26 +00:00
Jonathan Ernst
f2709df6db Fix the problem where backslashes were disappearing when editing notes/how-to 2005-07-14 01:30:53 +00:00
Tony Lambregts
bd3f8ca90d Make the script that creates the fake tables ask for a password 2005-07-13 03:45:54 +00:00
Tony Lambregts
c7d6988d4f Fix backlink to application/version when sending email 2005-07-13 03:44:38 +00:00
Tony Lambregts
0f4d2f07ba Modify appview so users can view and attach a bug to a version 2005-07-13 01:16:37 +00:00
Tony Lambregts
4d52a8a505 Allow users to view applications/versions linked to a bug 2005-07-13 01:15:57 +00:00
Tony Lambregts
7f49c5055e Modify the version object to include an array of bugs and use that array when deleting a version 2005-07-13 01:14:53 +00:00
Tony Lambregts
d42e47bd68 Create the buglink object 2005-07-13 01:13:46 +00:00
Tony Lambregts
c8674872ea Include the buglinks table when creating a new setup 2005-07-13 01:12:54 +00:00
Tony Lambregts
e314ef84e1 SQL to create buglinks table 2005-07-13 01:11:56 +00:00
Jeremy Newman
8cd65e7bdf Allow uploads of up to 5 megabytes 2005-07-11 14:40:37 +00:00
Chris Morgan
c854bdd9aa Add some documentation about which files go into which of the data directories. This also serves to make the directories present when users update with -APd which would normally prune these empty directories. 2005-07-10 16:40:25 +00:00
Chris Morgan
08cf792962 Restore appimage.php until the last-modified changes are verified working 2005-07-10 04:14:23 +00:00
Chris Morgan
9df7154d04 Fix some php bugs in the last modified patch that are breaking screenshots 2005-07-10 02:55:03 +00:00
David Lee Lambert
4ddd5dc8c0 Send last modified information for images so the browser can use the cached version instead of re-downloading images each page refresh. 2005-07-10 02:22:21 +00:00
Jonathan Ernst
e645810d69 Fix missing application name when updating links 2005-07-05 04:00:39 +00:00
Chris Morgan
41c55dbfa2 Delete version before application, otherwise the version has no parent
application.
2005-06-30 22:51:28 +00:00
Chris Morgan
6ae3aa98fd When deleting a version or application the first thing deleted was the version
or application. Then each of the sub-objects like comments, notes etc were
deleted. This order is bad because it makes the database inconsistent, we
never want a comment/note/etc for a version that doesn't exist. Delete the
sub objects first and then the parent object.
2005-06-30 01:59:32 +00:00
Jonathan Ernst
e8218999f3 Fix link with bugzilla when creating new bugs bugs where having their
url set to http://www.winehq.org/appview.php?appid=xxxx instead of
http://appdb.winehq.org/appview.php?appId=xxxx), thus making it
impossible to retrieve bug list from the AppDB.
2005-06-30 01:09:19 +00:00
Tony Lambregts
32786350ad Redisplay the input form and display the errors there instead of an error page so the user doesn't lose any of the data they've already input. 2005-06-29 03:01:08 +00:00
Mitchell Mebane
616b957a61 Make screenshots openable in a new tab 2005-06-28 02:07:06 +00:00
Chris Morgan
3342c55772 Keep track of the appIds we've already output to the top X list. If we need
to fill the list in with applications that haven't received any votes make
sure we exclude the applications we've already output.
2005-06-25 03:44:39 +00:00
Chris Morgan
adf0dc83ab Use the sql row object to get the submitted time, instead of an object that
doesn't exist.
2005-06-25 01:22:09 +00:00
Chris Morgan
0f13fb4a38 Filter searches inside of searchForApplication() and
searchForApplicationFuzzy() so filtering occurs at the lowest possible level.
This fixes a bug where a list of duplicates an admin sees has the results
from an unfiltered search and may contain hundreds of extra applications.
2005-06-24 01:30:55 +00:00
Chris Morgan
4ab923935a Remove <br/> tags in screenshot anchor tags, there is an odd space between the screenshot and the text below it that appeared when the image was centered with <center> 2005-06-23 03:00:10 +00:00
Chris Morgan
b601cfef5c Center the screenshot image so it is centered with respect to the text that may appear below it. 2005-06-23 02:28:07 +00:00
Chris Morgan
437280be5f Include the reason text in version added emails so we can see what maintainers
say to users when versions are accepted into the database.
2005-06-23 00:34:31 +00:00
Chris Morgan
ebade0ce2d Fix screenshot link text, it wasn't fixed correctly with the last change 2005-06-23 00:30:20 +00:00
Chris Morgan
bcfd89e6f6 Fix htmlarea windows on the adminAppQueue page 2005-06-23 00:10:03 +00:00