Commit Graph

23 Commits

Author SHA1 Message Date
WineHQ
b858e2ba53 Unit tests should run with E_ALL so we can detect all errors. Fix dozens of errors that popped up after enabling all errors. 2006-11-25 17:24:44 +00:00
Chris Morgan
069a51fba8 Clean up category class. Move category related functions into the class and remove now extranious
$catId parameter from category::display()
2006-07-11 18:53:06 +00:00
Jonathan Ernst
3062bd4a99 Fix a comment in category.php 2006-07-07 16:24:33 +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
fb0f3b5dd3 Protect against sql injection attacks in sql INSERT statements 2006-06-24 04:20:32 +00:00
Chris Morgan
89abe706dc Improve permission checking in objects, fix some initialization bugs 2005-10-26 02:09:49 +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
cdc1c129bd Recursively compute application counts for categories so the correct number of applications is
displayed.
2005-05-11 02:26:11 +00:00
Jonathan Ernst
42f0ceca42 Don't show queued apps and versions 2005-02-19 01:21:14 +00:00
Jonathan Ernst
faf301fed1 - improve existing category class
- use category class in category admin and appbrowse
 => fix adding a category which was broken
 => fix deleting a category which was broken
 => fix editing a category which was broken
2005-02-09 02:20:21 +00:00
Jonathan Ernst
7b12f89abf - improve application and related classes
- use application/version/vendor class in scripts
- don't use a full table for queued appication but only one field in the application and version tables
- simplify the code in many places
2005-02-07 23:21:33 +00:00
Jonathan Ernst
792151c574 - add version and vendor classes
- much improved application class (same model as the other new classes I made)
- modified category class
- modified some files to use the new classes and methods
- deletes linked elements on cascade
2005-02-06 17:49:48 +00:00
Jonathan Ernst
cfd1d1ac09 - renamed lookupVersionName and lookupAppName into lookup_version_name and lookup_app_name in respect to CODING_STANDARD
- removed appIdToName($appId) and versionIdToName($appId) from category.php
- replaced every occurence of appIdToName and versionIdToName with lookup_app_name and lookup_version_name
2005-02-04 02:59:05 +00:00
Jonathan Ernst
da42397711 - drop version specific keywords
- drop version specific url
- let user add links for versions (installation, support, whatever)
- use application description and version description to display version description
- don't provide a link in the cat_path to go in the same page we already are
- various html improvement and fixes in modified lines
2005-02-02 00:35:49 +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
ee28390769 Replaced mysql_query() with query_appdb() 2005-01-11 00:26:05 +00:00
Tony Lambregts
1d26c64a9a Add notify messages to editAppFamily 2005-01-08 18:28:32 +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
5cea0f68f3 - use superglobals instead of registered parameter vars
- move functions to include/category.php, include/application.php
2004-12-25 20:03:34 +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
Jeremy Newman
8f28ae10c4 Initial revision 2004-03-15 16:22:00 +00:00