Commit Graph

159 Commits

Author SHA1 Message Date
Jeff Zaroyko
16949bb71c tidy appdb html to make it validate - try 4 2008-02-25 19:27:36 -05:00
Alexander Nicolaysen Sørnes
9b92c2221c Use sState for objectGetEntries[Count]() 2008-01-20 16:13:27 -05:00
Alexander Nicolaysen Sørnes
2c2c6fffc1 Remove 'maintainer' from version rating fields 2008-01-02 21:51:25 -05:00
Alexander Nicolaysen Sørnes
79dd0cfcf8 Allow users to modify/delete their queued apps 2007-12-23 11:18:53 -05:00
Alexander Nicolaysen Sørnes
da97299eeb Use sState as parameter to objectGetItemsPerPage() 2007-12-19 21:01:18 -05:00
Alexander Nicolaysen Sørnes
8c7bd3a5e9 Add initial un-delete support 2007-12-18 20:17:06 -05:00
Alexander Nicolaysen Sørnes
176377f025 application: Rename 'queued' to 'state' 2007-12-15 12:24:33 -05:00
Alexander Nicolaysen Sørnes
aee69c1735 version: Rename 'queued' to 'state' 2007-12-15 12:23:16 -05:00
Alexander Nicolaysen Sørnes
eda9baadca application::objectGetEntries() do not select from user table 2007-11-14 21:13:10 -05:00
Alexander Nicolaysen Sørnes
480a08fecd Allwoing becoming a monitor when submitting versiosn 2007-11-13 23:29:02 -05:00
Alexander Nicolaysen Sørnes
43af0708c9 application: Allow sorting by vendor name 2007-11-13 23:28:42 -05:00
Alexander Nicolaysen Sørnes
8fa22a5d26 application: Show name as link if not queued 2007-11-09 19:42:46 -05:00
Alexander Nicolaysen Sørnes
7e66843cc4 Replace browse_newest_apps class using sorting 2007-11-09 19:42:05 -05:00
Alexander Nicolaysen Sørnes
e7625791a0 objectManager: Support user-selected sorting in tables 2007-11-08 19:03:38 -05:00
Alexander Nicolaysen Sørnes
70e4306e2b objectManager: Support purging rejected entries 2007-11-05 21:29:50 -05:00
Alexander Nicolaysen Sørnes
710d79224a application: Allow clearing the Application URL 2007-10-29 19:54:50 -04:00
Alexander Nicolaysen Sørnes
3a551d606b Sort versions by name in application view 2007-10-25 19:08:33 -04:00
Alexander Nicolaysen Sørnes
729df377f9 application: Fix ordering of entries by id 2007-10-24 21:18:17 -04:00
Alexander Nicolaysen Sørnes
fcd40be8a4 add objectManager::error_exit() and use it in application::display() 2007-10-24 21:17:10 -04:00
Alexander Nicolaysen Sørnes
fb13cd7c13 Support previewing applications 2007-10-23 19:29:21 -04:00
Alexander Nicolaysen Sørnes
fe56884a98 Prevent ids from disappearing during form processing 2007-10-22 19:28:03 -04:00
Alexander Nicolaysen Sørnes
bbe286a16f application: Fix permissions 2007-09-27 09:21:49 -04:00
Chris Morgan
09466f59a1 Minor code formatting changes for clarity. 2007-09-24 22:08:22 -04:00
Chris Morgan
a6f76eb892 Confusion between sAction=view and sAction=display broke viewing/displaying items. Standardize on sAction=view until we can come up with a more robust way of ensuring the same issue doesn't happen again. 2007-09-24 21:35:35 -04:00
Chris Morgan
fafcbce1bd Add more php5 scope keywords to class methods. 2007-09-24 21:11:49 -04:00
Alexander Nicolaysen Sørnes
e5d1bc1bf0 Use objectManager to submit super maintainer requests 2007-09-20 21:29:57 -04:00
Alexander Nicolaysen Sørnes
af87e89535 Use objectManager to display applications 2007-09-19 20:38:34 -04:00
Chris Morgan
607b130577 Alexander Nicolaysen Sørnes <alex@thehandofagony.com>
Show the versions for an app if they have the same queue status.

Instead of checking whether the version is un-queued, check if it has the same
status as the application.  This is needed to allow users to edit a queued
application they have submitted.
Modify the function name to reflect the change.
2007-09-14 23:45:51 -04:00
Chris Morgan
def14310d5 Alexander Nicolaysen Sørnes <alex@thehandofagony.com>
Improve vendor help in the application editor. Fix the help to reflect the vendor/application state.
2007-09-14 23:42:51 -04:00
Chris Morgan
e963bbdfda Alexander Nicolaysen Sørnes <alex@thehandofagony.com>
Remove the vendor from keywords hack. There are no longer any entries with this data in the application queues.
2007-09-14 23:41:02 -04:00
Chris Morgan
2827e0654e Alexander Nicolaysen Sørnes <alex@thehandofagony.com>
Let objectManager handle deletion and delete notification.
2007-09-14 23:02:12 -04:00
Alexander Nicolaysen Sørnes
d2a53b510c Allow marking versions as obsolete 2007-09-08 22:52:00 +00:00
Alexander Nicolaysen Sørnes
4d65a32e17 Only show the 'add entry' link if the class has enabled it. The link is only useful for classes
that have no parent objects. The objectShowAddEntry() method is not required because it only
affects the user interface.
2007-09-08 22:42:34 +00:00
Alexander Nicolaysen Sørnes
5a4cbf49a3 Add and use objectGetChildren() method. Add support for initializing comment class from SQL
result.
2007-09-08 22:38:20 +00:00
Chris Morgan
eef14ea6cc application::create() should return false upon failure 2007-08-04 02:02:04 +00: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
Chris Morgan
b94a2a392b Convert from timestamp to datetime. Datetime is consistent between mysql 4.0x and newer
versions and is faster for date/time computations. Modify object creation methods to specify
any time fields that were previously updated with timestamp properties.
2007-07-31 23:48:22 +00:00
Chris Morgan
0e3472e1bf objectGetHeader() should return a TableRow instance as this is closer to what the information
represents and is a much more useful form.
2007-07-31 01:51:40 +00:00
Alexander Nicolaysen Sørnes
09107d7142 Use multipage controls for application lists 2007-07-28 20:08:50 +00:00
Chris Morgan
19f6cbc156 Unit test cleanups. Fixes tests so they don't leave left over entries in the database. Add a
check to ensure that row counts in most tables are unchanged from the start and end of the
tests. Refactor some code.
2007-07-26 03:47:34 +00:00
Edwin Smulders
023ece493b Eliminate some php notices caused by use of uninitialized variables 2007-07-24 01:45:19 +00:00
Chris Morgan
2652e68d01 Programmatic table support. Enhances several tables with highlightable and clickable rows and
cleans up the existing table row highlight and click code.
2007-07-23 19:56:43 +00:00
Chris Morgan
62bfb16016 Make objectGetTableRow() return a TableRow class instance. Added accessors to set the
appropriate parameters in the TableRow class. Removed some unused parameters from the TableRow
class.
2007-07-02 00:35:17 +00:00
Chris Morgan
a41b65c25e Remove duplicate and unused sDate variables from application and version classes 2007-06-16 04:55:34 +00:00
Alexander Nicolaysen Sørnes
ca8e4f56df Fix admin response in submitter notifications. Some code was in the wrong place inside of a
switch statement
2007-06-14 00:52:57 +00:00
Alexander Nicolaysen Sørnes
cd198f44d7 Replace objectOutputTableRow() with objectGetTableRow(). Redesign the table output mechanism so
that we fetch a table row from a class instead of letting the class display it. Move adding of
edit/delete links from the classes to the objectManager. Fix a hole in the distribution class
where an uninitialized variable could have been used in the constructor.
2007-06-14 00:50:35 +00:00
Chris Morgan
0838b838a3 Prepend "http://" in front of urls that lack "://". Most urls tend to be websites and adding
http:// where it is missing fixes a bunch of urls in the database
2007-06-10 23:58:11 +00:00
Alexander Nicolaysen Sørnes
f7b24fab9a Object constructors shouldn't require an id if passed a $oRow object. Gets rid of
objectGetInstanceFromRow() since we can pass the row into the constructor instead.
2007-06-10 18:51:33 +00:00
Ben Hodgetts (Enverex)
8a030a2806 Add more specifics about what is required on the application submission page. Changes the
wording so hopefully people won't keep adding comments about how well the application works in
the application or vrsion submission. Also adds comments about proper grammar and punctuation.
2007-06-10 01:30:28 +00:00
Alexander Nicolaysen Sørnes
b71bf8bd01 Sort applications by id 2007-06-10 00:27:54 +00:00