Commit Graph

233 Commits

Author SHA1 Message Date
Tony Lambregts
f8c64330a5 Add a generic function to make a clickable image 2005-07-26 03:53:16 +00:00
Tony Lambregts
860c6ee67a Add sidebar link for administrators to maintain buglinks 2005-07-20 02:31:13 +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
Tony Lambregts
c7d6988d4f Fix backlink to application/version when sending email 2005-07-13 03:44:38 +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
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
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
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
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
73736380f7 Only display 'Submit screenshot' text if we are displaying screenshots for a version 2005-06-21 01:27:38 +00:00
Chris Morgan
98732fd75c Make it clear that clicking on the image in the appversion display window is how you submit new screenshots. 2005-06-21 00:57:00 +00:00
Chris Morgan
dc99aaf631 Put some single quotes around application name and version name so they can be distinguished from the rest of the email notification text more easily. 2005-06-19 15:46:57 +00:00
Chris Morgan
e49a0cb2ae Ignore any search word that is in a list of common words. Also ignore any
single letters.
2005-06-17 02:16:49 +00:00
Chris Morgan
a413175e40 Improve search results by seeing if any of the search words match a vendor
name or a vendor url. If so we should return all of the vendors applications
in our search results.
2005-06-14 19:38:36 +00:00
Chris Morgan
bce26361f3 Trim spaces from the begining and end of the search string so we don't miss
some 'like' matches.
2005-06-14 16:25:20 +00:00
Chris Morgan
97513244c4 Admin app queue page was only displaying like matches for a submitted app.
Factor like and fuzzy searches out in to a function and call that function
from normal search and from the app queue page so admins see fuzzy matches
for submitted apps.
2005-06-08 00:35:30 +00:00
Chris Morgan
81d3db95b8 Add the ability for admins to move a version from one application to another.
This is useful when there are duplicate applications and you want to move
versions prior to removing the duplicate app.
2005-06-05 21:26:07 +00:00
Chris Morgan
55971e8f8b Factor ~80 lines of code that were present in both editAppFamily.php and
editAppVersion.php into a new function in util.php.
2005-06-05 18:41:47 +00:00
Chris Morgan
3269785131 Fix comment 2005-06-05 18:33:01 +00:00
Chris Morgan
e021ff434d Sort categories by their name and applications by their name to make it easier
to locate applications alphabetically.
2005-06-04 03:04:45 +00:00
Chris Morgan
1022d47451 Make fuzzy matches use case insensitive strings to improve match accuracy. 2005-06-03 23:41:16 +00:00
Chris Morgan
5c1f7f7948 Fix urls in version and application search result display functions so the
urls work from any directory, not just the appdb root directory.
2005-06-03 23:36:27 +00:00
Chris Morgan
717ebf0f5e Add fuzzy matching using php's similar_text. Default to using 60% minimum
match. Show fuzzy matches below the 'like matches' table so users can tell
the results apart. Exclude like matches from fuzzy match results to avoid
duplicate results.
2005-06-03 04:37:40 +00:00
Chris Morgan
a80a97db33 Improve mail messages on version description changes and include the note description when sending a
node added email
2005-05-27 23:53:26 +00:00
Chris Morgan
1bde8ef22a When processing a new version, display a list of the applications existing
versions so its easy to determine if the version submission is a duplicate or
is covered by a group entry such as '1.X'.
2005-05-20 02:45:55 +00:00
Chris Morgan
3351201222 Remove mention of api coverage for developers from main page, we don't
address that anymore.  Expand the width of the search box, maybe its
small size keeps people from using it?  Add an item on the default
appdb panel to encourage users to email their suggestions for the appdb
to the appdb mailing list.
2005-05-14 14:47:13 +00:00
Chris Morgan
5f6053ab41 When processing an application automatically perform a search of the
database for the application name and display a table at the top of the
page. This makes it easier to determine if the submission is a duplicate.  Remove
obsolete comments for admins.  Add a 'back' link to the top of the page
to make it easier to go back without scrolling to the bottom of the page.
2005-05-14 00:42:25 +00:00
Chris Morgan
342bd66485 Delete a users comments when the user is deleted. Return the correct
value in cron/cleanup.php when looking for user associated data.
2005-05-13 00:28:28 +00:00
Chris Morgan
8d6b1efc30 Delete a user's votes and their maintainer entries when a user is
deleted.
2005-05-13 00:22:37 +00:00
Chris Morgan
012fbdf264 Build top-X lists from a function call that will use the highest
voted apps for the list and fill the rest of the list in with applications
that have screenshots.  Don't mention a blank top application if there are no
votes recorded and no top application.CVS:
----------------------------------------------------------------------
2005-05-12 23:49:30 +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
Chris Morgan
cdc1c129bd Recursively compute application counts for categories so the correct number of applications is
displayed.
2005-05-11 02:26:11 +00:00
Chris Morgan
f0b02e580e Don't display the previous release or description in the change output if they are empty strings. This
just makes the change output more confusing.
2005-05-11 00:58:58 +00:00
Chris Morgan
d97afaea16 Check for non-empty maintainer ratings, not non-null ones. 2005-05-10 02:48:02 +00:00
Chris Morgan
718772d5b3 Close comment correctly. 2005-05-09 22:34:47 +00:00
Chris Morgan
f0c756e094 If 'replyText' is set when a version is deleted include this in the email to the
maintainers list.
2005-05-09 22:14:09 +00:00
Chris Morgan
a827db238f If 'replyText' is set when deleting an application we should include this reply
text when emailing the maintainers with the deletion message.
2005-05-09 22:12:19 +00:00
WineHQ
8d2792cbd8 If there is no previous rating just print out the rating that the version was changed to 2005-05-09 22:10:51 +00:00
Chris Morgan
44356371ab Delete maintainers when deleting applications and versions so maintainers aren't
orphaned.
2005-05-07 18:45:33 +00:00
Chris Morgan
13b1a42bf9 Report queued versions as well as queued apps in the admin sidebar. Ensure that we
don't count the version that is implicitly queued due to an application being queued.
2005-05-05 02:52:51 +00:00
Chris Morgan
96bfbb152d Bump screenshots up to 1024x768 from 800x600 in the config.php.sample and on the live server 2005-04-23 02:24:35 +00:00
Jonathan Ernst
06ea1b6d3d Security fixes. Ensure that numeric values are actually numeric using is_numeric
so users can't login as admin by passing in non-numeric values.
2005-03-23 23:56:38 +00:00
Jonathan Ernst
12a7858235 - people can tell why they delete comments again 2005-03-12 17:13:08 +00:00