Alexander Nicolaysen Sørnes
0fe5512f08
Move matching of categories in SQL statements to a separate functions
2009-08-09 15:38:38 +02:00
Alexander Nicolaysen Sørnes
2772130cba
category: Make currently viewed category the default parent for new categories
2009-08-06 13:47:35 +02:00
Alexander Nicolaysen Sørnes
6b9332ab2f
category: Remove reference to appbrowse.php, fix variable naming
2009-08-06 12:56:52 +02:00
Alexander Nicolaysen Sørnes
55e325dc80
category: Show more output when viewing empty categories
2009-08-06 12:56:49 +02:00
Alexander Nicolaysen Sørnes
304b7e9f00
category: Don't use union operator to merge arrays in getOrderedList()
2009-08-05 15:00:44 +02:00
Alexander Nicolaysen Sørnes
3f17cf52d3
category: Move code from appbrowse.php to the category class
2009-08-05 14:58:50 +02:00
Alexander Nicolaysen Sørnes
8060eab22a
category: Order cat list on add/edit form
2009-07-04 12:39:32 +02:00
Alexander Nicolaysen Sørnes
7cbc67f1f5
Browse apps: Include sub-categories when filtering by category
2009-04-05 18:17:25 +02:00
Alexander Nicolaysen Sørnes
7d0469978c
application: Add support for filtering by app category
2008-06-12 19:55:20 -04:00
Jeff Zaroyko
16949bb71c
tidy appdb html to make it validate - try 4
2008-02-25 19:27:36 -05:00
Alexander Nicolaysen Sørnes
176377f025
application: Rename 'queued' to 'state'
2007-12-15 12:24:33 -05:00
Alexander Nicolaysen Sørnes
6ebd4cfa34
Fix category administration
2007-11-23 23:37:45 -05:00
Chris Morgan
6119246b51
Replace direct mysql_xxx() calls with query_xxx() calls. Replace calls to mysql_insert_id()
...
with calls specific to the appdb or bugzilla database. Fixes a bug where a call to
mysql_insert_id() can potentially retrieve an id from either the bugzilla or appdb database,
depending on whichever database was last opened by mysql_connect().
2007-08-03 23:27:25 +00:00
Alexander Nicolaysen Sørnes
434ef17426
category: use objectMakeLink()
2007-04-01 00:09:05 +00:00
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