Alexander Nicolaysen Sørnes
36c0da1c15
Fix appData::objectGetEntriesCount() for maintainers
2008-09-14 10:19:46 -04:00
Alexander Nicolaysen Sørnes
ed64f049d7
Standardize objectGetEntries parameters
2008-04-13 18:38:17 -04:00
Alexander Nicolaysen Sørnes
dd6f0109bf
Fix queue links/count for maintainers
2008-01-22 18:41:59 -05:00
Alexander Nicolaysen Sørnes
9b92c2221c
Use sState for objectGetEntries[Count]()
2008-01-20 16:13:27 -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
6d9aa68e0e
appData: Some cleanup in SQL code
2007-12-02 13:53:06 -05:00
Alexander Nicolaysen Sørnes
2aad57fbec
queueditems: Allow users to edit and delete their submissions
2007-10-31 18:54:23 -04:00
Alexander Nicolaysen Sørnes
e70383def8
Fix appData::objectGetEntries(Count)
2007-10-11 20:54:11 -04:00
Alexander Nicolaysen Sørnes
53a6360ec0
Allow maintainers to modify screenshot description when processing queued items
2007-09-27 09:20:03 -04:00
Chris Morgan
218beb0f83
Order appData entries by the application name, otherwise the order is based on when the
...
application was added to the database and this grouping doesn't work well for screenshots.
2007-08-08 00:55:27 +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
Edwin Smulders
023ece493b
Eliminate some php notices caused by use of uninitialized variables
2007-07-24 01:45:19 +00:00
Chris Morgan
fd448b96d7
Fix appData objectGetTableRow() to work with the new table classes
2007-07-23 20:30:57 +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
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
Alexander Nicolaysen Sørnes
65a77980c7
Fix type in appData::objectGetEntries()
2007-06-11 23:20:55 +00:00
Alexander Nicolaysen Sørnes
fc6e645d1a
Allow appData constructor to import appData derived objects
2007-06-10 23:07:51 +00:00
Chris Morgan
0a5725f6d6
Fix minor indenting issue
2007-06-10 22:11:31 +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
Alexander Nicolaysen Sørnes
095d228296
Fix app/version rejection. Version queue requeue wasn't requeueing its downloadurl, downloadurl
...
class was missing objectManager functionality. Rejected appData wasn't being accounted for.
2007-06-09 15:44:46 +00:00
Alexander Nicolaysen Sørnes
a2f25be661
Avoid some warnings in the appData class
2007-05-31 02:44:51 +00:00
Alexander Nicolaysen Sørnes
5d030f8b2d
Speedup appData::objectGetEntries()
2007-05-28 21:44:14 +00:00
Alexander Nicolaysen Sørnes
9ad365e1bd
Speedup appData::objectGetEntriesCount() when selecting un-queued entries or we are an admin.
2007-05-28 20:10:49 +00:00
Alexander Nicolaysen Sørnes
cf81d542ee
Add a moveChildren method to the objectManager and implement objectMoveChildren for version
...
and version_queue. Use this to move versions.
2007-04-23 23:31:24 +00:00
Alexander Nicolaysen Sørnes
a84d8899de
Fix appData::mustBeQueued()
2007-04-22 16:17:36 +00:00
Alexander Nicolaysen Sørnes
2af11e7333
Remove user::deleteAppData() and replace it with an appData function
2007-04-21 19:44:10 +00:00
Alexander Nicolaysen Sørnes
3ab921cf0d
Add appData/screenshot::mustBeQueued()
2007-04-21 17:49:43 +00:00
Alexander Nicolaysen Sørnes
89f3692b9a
Add more links in appData::objectOutputTableRow
2007-03-25 03:53:01 +00:00
Alexander Nicolaysen Sørnes
2e46a5a04d
Fix date display in appData lists
2007-03-24 18:49:26 +00:00
Alexander Nicolaysen Sørnes
c545581571
objectManager, add rejection support. Add support in objectManager for handling rejected
...
data.
2007-03-24 18:30:16 +00:00
Alexander Nicolaysen Sørnes
ed7026be6e
Let objectManager output table headers. A class returns an array of header cells and then
...
the objectManager adds an edit column if appropriate.
2007-03-17 21:04:43 +00:00
Alexander Nicolaysen Sørnes
fef587a60e
Fix appData::listSubmittedBy() to run faster. Add a unit test for appData::listSubmittedBy()
2007-03-15 23:43:46 +00:00
Alexander Nicolaysen Sørnes
9ef6268fa6
Let objectManager label the edit link in objectOutputTableRow() because the edit link text
...
depends on the queue state
2007-03-13 21:08:39 +00:00
Alexander Nicolaysen Sørnes
b628b3af0e
Let objectManager handle screenshot queue processing
2007-03-13 00:26:31 +00:00
Alexander Nicolaysen Sørnes
3c3e3a7ca4
Fix screenshot counting and browsing. Make sure to specify the 'screenshot' tpe and use
...
appData functions for both counting and listing on the screenshots page, ensuring consistent
results.
2007-03-13 00:13:51 +00:00
Alexander Nicolaysen Sørnes
4a3f570cb0
Fix appData's objectGetEntries*()
2007-03-11 20:40:11 +00:00
Alexander Nicolaysen Sørnes
e9060a68d5
Use object manager to process screenshot queue. Temporary fix for mysql overloading by
...
limiting screenshot processing to submitters.
2007-03-11 03:07:43 +00:00
Alexander Nicolaysen Sørnes
ebb47fedc7
Add and use appData::objectGetEntriesCount()
2007-03-10 21:21:10 +00:00
Alexander Nicolaysen Sørnes
8afd6878d8
Allow download urls on version submission
2007-01-18 02:34:19 +00:00
Alexander Nicolaysen Sørnes
52a155588c
Add the ability to add download URLs to application versions. They are
...
displayed in the version view marked as 'free downloads'. The links will
later be used to allow browsing of downloadable applications.
2007-01-05 05:20:05 +00:00
Alexander Nicolaysen Sørnes
9e183eb7d9
Add file necessary for displaying queued item lists
2006-12-31 19:48:07 +00:00