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
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
b11cce6711
Use objectManager to submit and process applications. Remove now unused appsubmit.php
...
admin/adminAppQueue.php
2007-04-24 23:48:14 +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
3dc453112a
Use objectManager to list a user's rejected apps
2007-04-22 00:02:30 +00:00
Alexander Nicolaysen Sørnes
1107fb938b
Add and use application::mustBeQueued()
2007-04-21 17:51:42 +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
a309317347
Fix url::canEdit() to not call undefined functions
2007-04-16 22:59:48 +00:00
Alexander Nicolaysen Sørnes
20ebe74913
Use absolute path in application::objectMakeUrl(), otherwise mail links won't work
2007-04-09 01:24:34 +00:00
Alexander Nicolaysen Sørnes
89535dbe01
Use objectMakeLink()/Url() in more places
2007-04-03 02:08:44 +00:00
Alexander Nicolaysen Sørnes
2d9f73340d
Add and use application::objectGetEntriesCount()
2007-04-03 00:00:48 +00:00
Alexander Nicolaysen Sørnes
6194da096e
Use objectMakeLink() to list maintainers
2007-03-31 17:25:12 +00:00
Alexander Nicolaysen Sørnes
fa3872b256
Add user::objectMakeLink(), used by appData and testData objectOutputTableRow()
2007-03-25 16:03:35 +00:00
Alexander Nicolaysen Sørnes
f3eb9ffa01
Add more links in application::objectOutputTableRow(), now vendors and users are clickable
2007-03-25 03:51:20 +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
7d6772b5b1
Test more classes with objectManager
2007-03-24 02:04:16 +00:00
Alexander Nicolaysen Sørnes
f4c5077094
Let objectManager show the application queue
2007-03-17 23:45:54 +00:00
Alexander Nicolaysen Sørnes
df607a5832
Remove references to vendorview.php and remove now unused vendorview.php
2007-03-13 20:59:45 +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
d8aa5380a2
Don't use arguments for vendor::create() and vendor::update()
2007-01-28 23:28:14 +00:00
Alexander Nicolaysen Sørnes
f3dae72762
Make votes version specific
2007-01-21 18:06:53 +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
4f44475b6f
Display url links using url::display()
2007-01-19 01:42:56 +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
Alexander Nicolaysen Sørnes
917851fceb
Fix naming of OutputEditor() to be outputEditor()
2007-01-17 03:18:49 +00:00
Alexander Nicolaysen Sørnes
3883e13c4e
Fix labelling of category in app change mails by changing 'vendor' to 'category'
2007-01-06 18:14:36 +00:00
Chris Morgan
a1a41d6b87
Fix and enable input filtering through include/filter.php
2007-01-04 02:35:01 +00:00
Michael [Plouj] Ploujnikov
5fb6243102
Fix spelling of the email response in include/application.php
2007-01-04 00:36:44 +00:00
Francois Gouget
41fce37200
Assorted spelling fixes
2006-12-31 19:39:41 +00:00
Alexander Nicolaysen Sørnes
18acb017cd
Add a page showing a user's queued submissions to the AppDB. This should be
...
quite useful for a user, and should also reduce the number of duplicate
submissions, as many users seem to think their submissions have been lost if
they are not accepted within a few hours.
2006-12-27 03:26:16 +00:00