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
4c05f05180
bugs: fix mustBeQueued()
2007-10-31 18:53:39 -04:00
Alexander Nicolaysen Sørnes
3edd18c101
bug: Prevent ids getting lost during form processing
2007-10-24 21:14:07 -04:00
Alexander Nicolaysen Sørnes
fb2c29e4ee
Fix return page when processing bugs from the version view
2007-10-21 13:08:00 -04:00
Alexander Nicolaysen Sørnes
f2e17d3af3
objectManager: Add support for hiding the reject button, use it for buglinks
2007-10-14 12:49:16 -04:00
Chris Morgan
05070e6a3a
Switch to accessor to set objectManager::sReturnTo. Fixes a fatal error due to bugs class accessing a private member of objectManager.
2007-09-28 23:00:42 -04:00
Alexander Nicolaysen Sørnes
1e1b4a1ece
Fix buglink deletion on version pages
2007-09-27 09:22:20 -04:00
Chris Morgan
561e44573d
Fix error when processing bug links. Reported by Tony Lambregts.
2007-09-23 11:54:54 -04:00
Chris Morgan
5c91961d12
Php5 improvements to table code. Add some accessor methods to classes so we can make class variables private.
2007-09-18 21:22:43 -04:00
Alexander Nicolaysen Sørnes
27660a74d9
bug: Fix unqueue mails
2007-09-18 20:42:20 -04:00
Alexander Nicolaysen Sørnes
43e3e6bebc
bug: Let objectManager unqueue bug links
2007-09-17 21:28:03 -04:00
Alexander Nicolaysen Sørnes
74cf6afeb2
bug: Let objectManager delete bug links
2007-09-17 21:27:10 -04:00
Chris Morgan
6671c7c38e
Alexander Nicolaysen Sørnes <alex@thehandofagony.com>
...
Let objectManager add bug links.
2007-09-14 23:37:10 -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
faf7d9bb19
Add objectGetChildren() method to classes without child objects
2007-09-08 22:29:17 +00:00
Tony Lambregts
bf36c8a001
bug::objectGetTableRow() should reference $this and not the non-existant $oRow. Fixes bug where
...
buglink urls are broken due to a missing bug id.
2007-09-08 04:42:34 +00:00
Chris Morgan
43a7ea8f1d
Add object manager support to the bug class. Add menu entries for displaying the bug queue and
...
list of bugs and remove the existing link to admin/adminBugs.php. Remove now unused
admin/adminBugs.php. Remove now unused getNumberOfQueuedBugLinks() and getNumberOfBugLinks()
from util.php. Add object manager unit test support for the bug class.
2007-08-27 03:48:44 +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
Edwin Smulders
8c2959494d
Hide RESOLVED and CLOSED bugs unless we are displaying all bugs.
2007-07-22 00:49:15 +00:00
Edwin Smulders
5a5383515c
Hide resolved bugs by default, add link to toggle between hiding resolved bugs and showing all
...
bugs.
2007-07-21 23:32:10 +00:00
Alexander Nicolaysen Sørnes
d209c56979
Include bug id in more buglink mails
2007-05-26 01:39:46 +00:00
Alexander Nicolaysen Sørnes
9b4bb81aec
Fix bug link creation email. We only need to fetch the link id so remove the other code that
...
was resulting in missing values.
2007-04-23 23:37:30 +00:00
Chris Morgan
cf9cba4093
Objects should set class variables and call create() instead of passing the parameters into the
...
create() function.
2007-04-21 02:30:22 +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
00729ac39d
Don't call mailSubmitter() if the submitter is performing the auction
2007-02-03 03:39:52 +00:00
Chris Morgan
a1a41d6b87
Fix and enable input filtering through include/filter.php
2007-01-04 02:35:01 +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
Alexander Nicolaysen Sørnes
3a6034a60d
If a user deletes a bug link he has submitted himself, don't send him an
...
e-mail saying the link has been rejected.
2006-12-09 04:30:48 +00:00
EA Durbin
d526a2a504
Standardize the case of Bug class constructors
2006-09-06 01:43:30 +00:00
Jonathan Ernst
a4e384604b
Fix missing reply text by renaming replyText to sReplyText
2006-07-13 18:54:10 +00:00
Tony Lambregts
5b1d16da69
Require include/application.php to get the name of the application for email
2006-07-09 22:59:42 +00:00
Jonathan Ernst
735a2bc65f
Prefix all GPC variables according to our coding standard
2006-07-06 17:27:54 +00:00
Chris Morgan
fad9278013
Stop using compile_update_string(). compile_update_string() can be passed a value that includes a character considered
...
special by query_parameters(). We then use the output from compile_update_string() as a part of the first
parameter to query_parameters(), the format string. Having extra special characters causes a token mismatch
and query_parameters() will reject the queries entirely. Remove now unused compile_update_string().
2006-07-04 03:43:06 +00:00
Chris Morgan
034ea689bc
Clean up application and version classes. Move class related functions into the class as static member functions
2006-06-29 16:07:19 +00:00
Chris Morgan
245a6b993e
Cleanup User class. Move user related functions into class as static member functions
2006-06-29 15:54:29 +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
EA Durbin
f982c8459e
Filter all user input to reduce the security impact of manipulated data
2006-06-17 06:10:10 +00:00
Tony Lambregts
cc286b6375
Add bug number to bug link emails. Fixes bug 4358.
2006-01-23 02:13:47 +00:00
Tony Lambregts
2311d4d572
Add the ability for user to monitor changes to applications
2005-09-30 01:55:51 +00:00
Tony Lambregts
fc2c9afdbc
Use the correct (non-capitalized) name for resolution
2005-08-13 01:54:15 +00:00
Tony Lambregts
6a8f8737f0
Add missing </form> to view_version_bugs()
2005-07-30 03:15:50 +00:00
Tony Lambregts
d71c45937e
Hack a fix for "$this->iLinkId = mysql_insert_id();" not working
...
and other cleanups.
2005-07-16 20:02:17 +00:00
Tony Lambregts
d42e47bd68
Create the buglink object
2005-07-13 01:13:46 +00:00