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
Chris Morgan
a923d0ff2f
Add objectManager support to the note class
2007-07-30 00:27:37 +00:00
Alexander Nicolaysen Sørnes
1567fa2a32
Use multipage controls for version lists
2007-07-28 20:10:54 +00:00
Alexander Nicolaysen Sørnes
0e7e7a0f2b
Fix version list to display missing tested release field
2007-07-24 01:50:19 +00:00
Chris Morgan
54ebcc2af8
Create a new TableRow() so we aren't adding entries to a previously used TableRow
2007-07-23 22:03:02 +00:00
Chris Morgan
5c42860972
Add check for empty tested ratings to the conditions upon which we will skip trying to color
...
using the tested rating. Remove two unused variables.
2007-07-23 20:39:49 +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
7c76ba42eb
Color versions when displaying the version table on the application page. Add dynamic
...
highlighting and the ability to click on the row in the version table.
2007-07-12 23:58:00 +00:00
Chris Morgan
9831c1f762
Application view should list the number of test results for each version, this lets the appdb
...
user see which versions have the most feedback
2007-07-11 02:38:09 +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
051a1e5d0c
Cleanup objectManager tests so all objects created during the test are deleted
2007-06-19 00:26:21 +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
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
7e4a084fd3
Version::Version() was using $this->iVersionId before the value was set
2007-06-10 22:15:35 +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
cc57367fe3
Order versions by id
2007-06-10 00:28:52 +00:00
Chris Morgan
25edd78c73
Layout improvements. Change default inner padding for html_frame_start() from 5 to 0, this
...
lets us eliminate the white spacing between frames and their contents. Add in a
div.default_container class that has a 5px padding to replace the now not present default
spacing.
2007-05-02 01:08:22 +00:00
Alexander Nicolaysen Sørnes
11ecfa230b
Add allowAnonymousSubmissions(). objectManager checks the return value of this new function and
...
exists with an error during certain actions if the user is not logged in and the function returns
false
2007-04-29 23:00:01 +00:00
Alexander Nicolaysen Sørnes
518def1855
Return from version::delete() if there isn't a valid version id
2007-04-27 00:06:07 +00:00
Alexander Nicolaysen Sørnes
b11cce6711
Use objectManager to submit and process applications. Remove now unused appsubmit.php
...
admin/adminAppQueue.php
2007-04-24 23:48:14 +00:00
Alexander Nicolaysen Sørnes
3a3aa89f4e
Fix empty mail upon version acceptance. version::unQueue() was passing the wrong argument to
...
mailSubmitter()
2007-04-24 23:41:22 +00:00
Alexander Nicolaysen Sørnes
43fa6617d4
Prevent display of \n in version view that was caused by a typo
2007-04-23 23:40:41 +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
Chris Morgan
886cdeafa3
Clean up the layout of the version and application pages and add some css classes to define
...
the formatting
2007-04-23 02:33:19 +00:00
Alexander Nicolaysen Sørnes
fb4db22141
Fix testData/version::mustBeQueued()
2007-04-22 16:15:12 +00:00
Alexander Nicolaysen Sørnes
b292a84bcf
Use version::mustBeQueued() instead of user function
2007-04-21 19:50:52 +00:00
Alexander Nicolaysen Sørnes
8358a09a13
Use objectManager to display a user's rejected versions
2007-04-21 18:00:46 +00:00
Alexander Nicolaysen Sørnes
c43563eca6
Fix testData::create() permissions. Separate the cases where a user has edit rights from
...
when he has the right to unqueue items
2007-04-19 23:45:15 +00:00
Alexander Nicolaysen Sørnes
46df59f063
Use objectManager for new test results
2007-04-16 23:10:08 +00:00
Alexander Nicolaysen Sørnes
169d7ca493
Use objectMakeUrl()/Link() in more places
2007-04-08 23:04:31 +00:00
Alexander Nicolaysen Sørnes
ff476b1b13
Use objectmanager to list queued/rejected versions
2007-04-07 20:42:08 +00:00
Alexander Nicolaysen Sørnes
ec0cb3dbbb
make version::objectGetEntriesCount() more consistent for rejected versions by not allowing
...
maintainers to see rejected versions for applications they maintain
2007-04-05 02:29:22 +00:00
Alexander Nicolaysen Sørnes
970cbca7f3
Add and use version::objectGetEntriesCount(). Only display the user menu's 'view rejected
...
apps' link for non-admins
2007-04-04 00:30:42 +00:00
Chris Morgan
4402ac64b1
Rename testData::get_test_for_versionid() to testData::getNewestTestIdFromVersionId() so the
...
name of the method better describes the value the method is returning
2007-04-01 22:34:33 +00:00
Alexander Nicolaysen Sørnes
cecc4bf6c0
Use objectMakeLink() in more places
2007-04-01 01:21:58 +00:00
Alexander Nicolaysen Sørnes
6194da096e
Use objectMakeLink() to list maintainers
2007-03-31 17:25:12 +00:00
Alexander Nicolaysen Sørnes
75e6320a51
Show links in maintainer processing form
2007-03-17 19:39:29 +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
b628b3af0e
Let objectManager handle screenshot queue processing
2007-03-13 00:26:31 +00:00
Alexander Nicolaysen Sørnes
f12a5ded10
Include supermaintainers in getMaintainersForAppIdVersionId()
2007-03-10 03:35:06 +00:00
Alexander Nicolaysen Sørnes
57c4b64986
Allow filtering by license when browsing downloadable apps
2007-01-27 22:58:12 +00:00
Alexander Nicolaysen Sørnes
b2e2f5afb4
Re-enable voting
2007-01-21 18:53:13 +00:00
Alexander Nicolaysen Sørnes
2216a83e02
Small fixes for license handling
...
- Rename MakeLicenseList to makeLIcenseList
- Print the selected argument once
- Add optional parameter for matching selected license
2007-01-21 18:22:41 +00:00
Alexander Nicolaysen Sørnes
f3dae72762
Make votes version specific
2007-01-21 18:06:53 +00:00
Michael Ploujnikov
625a8e2842
Add a missing space to license WhatChanged
2007-01-21 04:31:55 +00:00
Alexander Nicolaysen Sørnes
3a5873857b
Track versions' license
2007-01-21 00:37:06 +00:00
Alexander Nicolaysen Sørnes
a81ce02877
Allow maintainer requests on version submission
2007-01-20 17:41:43 +00:00
Alexander Nicolaysen Sørnes
92546b2041
Allow contacting maintainers through a form, so their e-mail address is not
...
exposed
2007-01-18 02:38:18 +00:00