Commit Graph

1117 Commits

Author SHA1 Message Date
Chris Morgan
e9456af9d5 application::display() should use the class internal iAppId instead of any $_REQUEST data 2006-07-07 19:23:58 +00:00
Chris Morgan
0a836dd574 class version uses testResults so include it in version.php 2006-07-07 19:22:33 +00:00
Chris Morgan
8303433f3b Revert filtering changes in appview.php as they impact all of the classes downstream that haven't been updated 2006-07-07 18:50:45 +00:00
Chris Morgan
3c1d3a795b Stop using global variables. Reorder functions so we don't have functions in the middle of
executing code.  Rename a couple of variables to match our current naming convention
2006-07-07 18:18:09 +00:00
Chris Morgan
854df987c6 Clean up includes. Make 'path.php' and 'incl.php' required includes. Switch to using
require_once() for including files in /include so we can have include/*.php files include
their own dependencies rather than figuring out that to include A.php we need to include B.php
2006-07-07 18:14:53 +00:00
Chris Morgan
64c1681e43 Fix another missed variable, 'create' to 'sCreate' to allow new users to be created 2006-07-07 18:03:42 +00:00
Jonathan Ernst
2d4ecadc6b Enable filtering in votestats.php 2006-07-07 17:57:12 +00:00
Jonathan Ernst
1066c87d6c Enable filtering in viewbugs.php 2006-07-07 17:55:27 +00:00
Jonathan Ernst
bdc6063b32 Enable filtering in viewScreenshots.php 2006-07-07 17:54:51 +00:00
Chris Morgan
b47070737c Fix page changing that uses display_page_range(). Switch 'page' to 'iPage' and rename variables in
display_page_range() to use our current naming convention
2006-07-07 17:45:22 +00:00
Jonathan Ernst
76701cf530 Enable filtering in vendorview.php 2006-07-07 17:35:26 +00:00
Chris Morgan
8b579bc715 Use Version::showList() instead of ShowVersionList() 2006-07-07 17:27:23 +00:00
Chris Morgan
85b4981a30 Revert filtering in appsubmit, this requires a TON of other changes and we'll want to wait until
every other change goes in before appling this change
2006-07-07 17:24:57 +00:00
Jonathan Ernst
8aeff38d36 Enable filtering in distributionView.php 2006-07-07 17:23:03 +00:00
Jonathan Ernst
3c4191314a Enable filtering in appsubmit.php 2006-07-07 17:19:53 +00:00
Jonathan Ernst
e28e2d66fd Enable filtering in commentview.php and deletecomment.php 2006-07-07 17:16:42 +00:00
Jonathan Ernst
005ef5af93 Enable filtering in screenshots.php 2006-07-07 17:06:26 +00:00
Jonathan Ernst
e1532f1b3c Enable filtering in testResults.php 2006-07-07 17:05:08 +00:00
Jonathan Ernst
2c37b1955b Enable filtering in search.php 2006-07-07 17:02:07 +00:00
Chris Morgan
e56e95d63a Move getMaintainersUserIds...() to version::getMaintainersUserIds() and fixup callers of this function 2006-07-07 16:44:41 +00:00
Jonathan Ernst
89915be4f1 Add an option to prevent filtering of cookies in the case where multiple web apps are hosted
on the same virtualhost
2006-07-07 16:39:27 +00:00
Jonathan Ernst
a77cb05911 Enable filtering in appimage.php 2006-07-07 16:26:59 +00:00
Jonathan Ernst
aefbc1bf90 Fix showing of full size screenshots 2006-07-07 16:25:43 +00:00
Jonathan Ernst
3062bd4a99 Fix a comment in category.php 2006-07-07 16:24:33 +00:00
Jonathan Ernst
7bb4c3db4e Enable filtering in appbrowse.php 2006-07-07 16:23:42 +00:00
Jonathan Ernst
58f9d7642d Enable filtering in addcomment.php 2006-07-07 16:22:04 +00:00
Jonathan Ernst
2a2c423d9c Enable filtering in account.php 2006-07-07 16:18:07 +00:00
Chris Morgan
41597c9a79 Rename login to sLogin for upcoming filter changes to account.php 2006-07-07 16:16:19 +00:00
Jonathan Ernst
b76c6d3522 Add documentation to appsubmit.hp 2006-07-07 16:07:29 +00:00
Jonathan Ernst
d165070342 Remove unused originator 2006-07-07 16:04:55 +00:00
Jonathan Ernst
8048e97846 Empty numeric values should default to 0 2006-07-07 16:01:26 +00:00
Chris Morgan
07d12874d8 Protect unit_test directory from access with .htaccess containing 'deny from all'. Suggestion
by Jonathan Ernst <jonathan@ernstfamily.ch>
2006-07-07 15:57:11 +00:00
Jonathan Ernst
f357d8dc07 Add documentation to account.php 2006-07-07 15:50:41 +00:00
Chris Morgan
427262a5c2 Fix account creation. Change cmd to sCmd like the account.php code expects 2006-07-07 15:45:48 +00:00
Jonathan Ernst
3be08453e7 $_REQUEST['mode'] backwards compatibility 2006-07-07 15:39:41 +00:00
Jonathan Ernst
0d1a716c11 Enable filtering in appview.php 2006-07-07 04:51:41 +00:00
Tony Lambregts
675a47f491 filter_gpc() should ignore any bugzilla parameters to avoid errors when these cookies are set 2006-07-07 04:49:32 +00:00
Chris Morgan
e817def053 Add backwards compatibility code to copy old style $_REQUEST variables to the new style
to allow old appdb urls in emails, in bugzilla and from google to continue working
2006-07-07 02:36:34 +00:00
Chris Morgan
445fbdfdd3 Switch a few more variables over to the new naming scheme, fix deleting comments and replying to comments 2006-07-06 23:49:51 +00:00
Chris Morgan
4152e763d5 Fix adding new comments. We were using 'body' instead of 'sBody' 2006-07-06 23:44:52 +00:00
Chris Morgan
3d6da668a1 Remove require_once("mail.php") that was causing mail.php to be duplicately included. A cleaner fix is necessary 2006-07-06 22:35:01 +00:00
Chris Morgan
ea02b57c25 Move getAppsFromUserId() to user::getAppsMaintained(). Also implement a unit test for
user::getAppsMaintained()
2006-07-06 22:08:37 +00:00
Jonathan Ernst
3096e63828 Rename util_show_error_page() to util_show_error_page_and_exit() and redirect() to util_redirect_and_exit()
so it is explicit that we exit in those functions that so we know it isn't necessary to put an exit after
we call them
2006-07-06 18:44:56 +00:00
Jonathan Ernst
a34058b924 Update the comments in some files 2006-07-06 18:37:34 +00:00
Jonathan Ernst
54c484de8c Remove unnecessary exit calls after redirect() and util_show_error_page() calls 2006-07-06 17:59:52 +00:00
Jonathan Ernst
735a2bc65f Prefix all GPC variables according to our coding standard 2006-07-06 17:27:54 +00:00
Chris Morgan
bd19dc7a0b Make sure the .htaccess file in cron/ disables magic quotes like the one in the lowest level appdb directory 2006-07-06 15:54:58 +00:00
Chris Morgan
adeb1adbdc session::destroy() should call session_destroy() only if a session exists 2006-07-06 05:00:38 +00:00
Chris Morgan
4706e36595 Fix variable naming of preferences/account related form variables to match our coding standards 2006-07-06 04:46:13 +00:00
Chris Morgan
6aca4e34f9 Purge orphaned messages from sessionMessages that are older than 1 day after notifying admins
of the number of orphaned messages. We currently have
over 150k messages stuck in this table with the earliest dating back to 2004.
We need to ensure that this doesn't occur again and that we can detect leaked
messages as these represent bugs in the appdb code.
2006-07-06 04:39:02 +00:00