bugdar.git
10 years agoSwitch the 'modify' code of admin/field.php to use templates master
Robert Sesek [Thu, 9 Apr 2009 14:33:35 +0000 (10:33 -0400)]
Switch the 'modify' code of admin/field.php to use templates

* admin/field.php
* admin/templates/field.html
* admin/templates/nav.html

10 years agoUpdate admin/product.php to use the new admin templates
Robert Sesek [Tue, 24 Mar 2009 17:47:11 +0000 (13:47 -0400)]
Update admin/product.php to use the new admin templates

* product.php
* templates/nav.html: Link up product.php
* templates/product.html: New file
* templates/product_edit.html: New file
* templates/version_edit.html: New file

10 years agoNeed to cache templates in the admin section
Robert Sesek [Mon, 23 Mar 2009 20:36:30 +0000 (16:36 -0400)]
Need to cache templates in the admin section

* admin/language.php
* admin/userhelp.php

10 years agoTemplateize admin/userhelp.php
Robert Sesek [Fri, 20 Mar 2009 04:21:16 +0000 (00:21 -0400)]
Templateize admin/userhelp.php

* admin/templates/nav.html: Link up the userhelp page
* admin/userhelp.php: Convert to using new admin architecture
* admin/templates/userhelp.html: New file
* admin/templates/userhelp_add.html: New file

10 years agoBump framework version
Robert Sesek [Fri, 20 Mar 2009 04:20:22 +0000 (00:20 -0400)]
Bump framework version

10 years agoAdd the template diff for 1.2.3
Robert Sesek [Thu, 26 Feb 2009 19:17:42 +0000 (14:17 -0500)]
Add the template diff for 1.2.3

* install/templates/1.2.2 - 1.2.3.diff: New file

10 years agoUpdate the package script to work with Git
Robert Sesek [Thu, 26 Feb 2009 18:32:39 +0000 (13:32 -0500)]
Update the package script to work with Git

* docs/package.rb

10 years agoUpdating the changelog
Robert Sesek [Sat, 14 Feb 2009 22:11:49 +0000 (17:11 -0500)]
Updating the changelog

10 years agoAdd IPB2 authentication module
Robert Sesek [Sat, 14 Feb 2009 22:05:51 +0000 (17:05 -0500)]
Add IPB2 authentication module

* includes/auth/auth_ipb2.php: New file
* includes/auth/config.php.new: Add config directives

10 years agoUse include() rather than require_once() in Authentication::_setupDatabase()
Robert Sesek [Sat, 14 Feb 2009 21:09:20 +0000 (16:09 -0500)]
Use include() rather than require_once() in Authentication::_setupDatabase()

* includes/auth/auth.php:
(Authentication::_setupDatabase)

10 years agoGenerate a random password for new Bugdar users from the auth database
Robert Sesek [Sat, 14 Feb 2009 18:45:53 +0000 (13:45 -0500)]
Generate a random password for new Bugdar users from the auth database

* includes/auth/auth.php:
(Authentication::_createBugdarUser): Generate a random password when inserting a new user

10 years agoFix an issue where after creating a Bugdar user in _fetchBugdarUserFromAuthUser(...
Robert Sesek [Sat, 14 Feb 2009 18:37:31 +0000 (13:37 -0500)]
Fix an issue where after creating a Bugdar user in _fetchBugdarUserFromAuthUser() the returned array would be incomplete

* includes/auth/auth.php:
(Authentication::_fetchBugdarUserFromAuthUser): If we call _createBugdarUser() don't return the result of that, but call _fetchBugdarUserFromAuthUser again

10 years agoCherry pick a3dc37dd9f292529f550ec866ef14af28489e5aa: Change the require_once() calls...
Robert Sesek [Thu, 19 Mar 2009 20:09:42 +0000 (16:09 -0400)]
Cherry pick a3dc37dd9f292529f550ec866ef14af28489e5aa: Change the require_once() calls in _setupDatabase() to be include()

Conflicts:

includes/auth/auth_vbulletin.php

10 years agoCherry pick e28b0b5c5e992fbbac00981e94c946d2c29ec8d5: Move all of the auth configurat...
Robert Sesek [Thu, 19 Mar 2009 20:07:43 +0000 (16:07 -0400)]
Cherry pick e28b0b5c5e992fbbac00981e94c946d2c29ec8d5: Move all of the auth configuration values into a config file

* includes/auth/auth.php:
(Authentication::_setupDatabase): Create the database object in this method using the config values
* includes/auth/auth_default.php:
* includes/auth/auth_drupal.php:
* includes/auth/auth_phpbb2.php:
* includes/auth/auth_vbulletin.php:
(Authentication*::_setupDatabase): Remove the db creation from here and just call parent::
* includes/auth/config.php.new: New file

Conflicts:

includes/auth/auth_default.php
includes/auth/auth_drupal.php
includes/auth/auth_phpbb2.php
includes/auth/auth_vbulletin.php

10 years agoUpdate the admin/language.php to use templates
Robert Sesek [Thu, 26 Feb 2009 18:11:22 +0000 (13:11 -0500)]
Update the admin/language.php to use templates

* admin/language.php
* admin/templates/language.html: New file
* admin/templates/language_edit.html: New file
* admin/templates/nav.html: Link up the nav page

10 years agoDisable MySQL strict mode so that errors do not occur if the server has it set. Fixes...
Robert Sesek [Tue, 3 Feb 2009 00:14:35 +0000 (19:14 -0500)]
Disable MySQL strict mode so that errors do not occur if the server has it set. Fixes bug #67.

* includes/init.php
* install/global.php

Cherry pick 2c8c00e

10 years agoThe bugfieldpermission and permission tables' mask field needs to be an int instead...
Robert Sesek [Thu, 15 Jan 2009 16:34:00 +0000 (11:34 -0500)]
The bugfieldpermission and permission tables' mask field needs to be an int instead of smallint. Fixes bug #148.

* install/schema.php: Change smallinto to int
* install/upgrade18.php: Add to ALTER queries to make the change in existing installations

10 years agoAdding the upgrade script for version 1.2.3
Robert Sesek [Tue, 13 Jan 2009 17:50:39 +0000 (12:50 -0500)]
Adding the upgrade script for version 1.2.3

* install/global.php: Add the version record
* install/upgrade18.php: New file

10 years agoUpdate the ISSO framework version so that we can take advantage of BSTemplate's toStr...
Robert Sesek [Thu, 15 Jan 2009 16:13:09 +0000 (11:13 -0500)]
Update the ISSO framework version so that we can take advantage of BSTemplate's toString() method

* global.php: The footer template var will be a BSTemplate object instead of a pre-compiled template so query debug works
* includes/framework: Bump framework version

10 years agoDo not put duplicate entries into the search query when searching by products/version...
Robert Sesek [Wed, 14 Jan 2009 17:48:21 +0000 (12:48 -0500)]
Do not put duplicate entries into the search query when searching by products/versions/components

* search.php

10 years agoSeparate out the first comment into a variable called $description so that it can...
Robert Sesek [Tue, 13 Jan 2009 23:56:12 +0000 (18:56 -0500)]
Separate out the first comment into a variable called $description so that it can be moved around independently from the discussion

* showreport.php
* templates/showreport.tpl

Cherry-pick 2f104a10293dfff888240fe14e0758a8892005c0

10 years agoRequired custom select fields will no longer show the empty option. This is only...
Robert Sesek [Tue, 13 Jan 2009 17:26:09 +0000 (12:26 -0500)]
Required custom select fields will no longer show the empty option. This is only a UI change, though, as these empty options would not validate.

* docs/changes.txt: Merged
* includes/functions.php:
(construct_custom_fields): Required select fields do not get a blank option
* templates/bugfield_select_single.tpl: Need to convert to BSTemplate
* templates/bugfield_select_single_option.tpl: ditto

Cherry-pick 88054e0ab0837f09cfc740369d6469e9816a3d6c

10 years agoAdd a flash redirect system for admin pages to redirect and display a success message
Robert Sesek [Sat, 10 Jan 2009 20:34:18 +0000 (15:34 -0500)]
Add a flash redirect system for admin pages to redirect and display a success message

* admin/settings.php: Use new flash redirect
* admin/templates/settings.html: Print flash message
* docs/schema_changes.sql: Create the adminsession.flashmessage field
* includes/functions_admin.php:
(admin_flash_redirect): New function
(admin_flash): New function to display the flash

10 years agoMove some functions that were previously declared in admin/global.php to a new includ...
Robert Sesek [Sat, 10 Jan 2009 20:21:11 +0000 (15:21 -0500)]
Move some functions that were previously declared in admin/global.php to a new includes/functions_admin.php

* admin/global.php: Moved functions out of this, and into...
* includes/functions_admin.php: New file

10 years agoAdding submit buttons to the settings page
Robert Sesek [Sat, 10 Jan 2009 07:22:28 +0000 (23:22 -0800)]
Adding submit buttons to the settings page

* admin/templates/settings.html

10 years agoTemplatize admin/settings.php
Robert Sesek [Sat, 10 Jan 2009 07:00:07 +0000 (23:00 -0800)]
Templatize admin/settings.php

* admin/global.php: Include DecoratorHelpers.php
* admin/settings.php: Complete rewrite with templates
* admin/templates/nav.html: Add id's to nav elements
* admin/templates/settings.html: New file
* includes/functions.php:
(construct_option_select): Add an id attribute

10 years agoRenaming admin/setting.php to admin/settings.php
Robert Sesek [Fri, 9 Jan 2009 00:41:47 +0000 (16:41 -0800)]
Renaming admin/setting.php to admin/settings.php

10 years agoHappy 2009! Updating copyright years.
Robert Sesek [Thu, 8 Jan 2009 23:34:07 +0000 (15:34 -0800)]
Happy 2009! Updating copyright years.

10 years agoMerge branch 'isso3' to do all 2.0 work on 'master'
Robert Sesek [Thu, 8 Jan 2009 18:52:06 +0000 (10:52 -0800)]
Merge branch 'isso3' to do all 2.0 work on 'master'

Conflicts:
admin/global.php
admin/index.php
includes/framework: Updated framework version to 3.2.1

10 years agoAdd admin template caching
Robert Sesek [Tue, 6 Jan 2009 07:43:09 +0000 (23:43 -0800)]
Add admin template caching

* admin/global.php: Start caching templates
* admin/index.php: Add the templates to cache
* includes/framework/: Of course this is a new framework thing :-)

10 years agoInsert the debug block from BSTemplate::get_debug_block()
Robert Sesek [Tue, 6 Jan 2009 07:32:00 +0000 (23:32 -0800)]
Insert the debug block from BSTemplate::get_debug_block()

* templates/footer.tpl

10 years agoWe can't evaluate the footer template as a globalVar because it won't have all the...
Robert Sesek [Tue, 6 Jan 2009 07:11:37 +0000 (23:11 -0800)]
We can't evaluate the footer template as a globalVar because it won't have all the queries

* admin/global.php: Do not eval the footer template, but make a function to do it
* admin/templates/main.html: Call admin_footer() instead of $templates['footer']

10 years agoDefine and use the footer template
Robert Sesek [Tue, 6 Jan 2009 06:57:26 +0000 (22:57 -0800)]
Define and use the footer template

* admin/global.php: Store the footer template in the globalVars
* admin/templates/footer.html: New file
* admin/templates/main.html: Add the footer

10 years agoUpdate the framework version again
Robert Sesek [Tue, 6 Jan 2009 06:56:59 +0000 (22:56 -0800)]
Update the framework version again

10 years agoFix entity typos
Robert Sesek [Tue, 6 Jan 2009 06:25:19 +0000 (22:25 -0800)]
Fix entity typos

* templates/nav.html

10 years agoRedesign index.php
Robert Sesek [Tue, 6 Jan 2009 06:14:28 +0000 (22:14 -0800)]
Redesign index.php

* index.php: Rewrote for the template system
* templates/main.html: New file

10 years agoAdd the login template
Robert Sesek [Tue, 6 Jan 2009 05:24:09 +0000 (21:24 -0800)]
Add the login template

* global.php: Define some global templates, fix admin_login()
* templates/doctype.html: Whitespace-ify
* templates/headinclude.html: ditto
* templates/login.html: New file

10 years agoAdding the initial templates for the admin section and set up the template system
Robert Sesek [Tue, 6 Jan 2009 04:29:59 +0000 (20:29 -0800)]
Adding the initial templates for the admin section and set up the template system

* global.php: Remove BSPrinter init code and replace it with BSTemplate stuff
* templates/: New folder

10 years agoUpdating framework to version 3.2.0
Robert Sesek [Tue, 6 Jan 2009 01:58:31 +0000 (17:58 -0800)]
Updating framework to version 3.2.0

10 years agoNew feature idea
Robert Sesek [Fri, 26 Sep 2008 20:33:00 +0000 (16:33 -0400)]
New feature idea

* docs/planning_2_0.txt

10 years agoSquash-merging the ISSO3 branch back onto master
Robert Sesek [Wed, 17 Sep 2008 14:44:16 +0000 (10:44 -0400)]
Squash-merging the ISSO3 branch back onto master

10 years agoFixed a parse error in api_user.php
Robert Sesek [Wed, 17 Sep 2008 14:20:00 +0000 (10:20 -0400)]
Fixed a parse error in api_user.php

10 years ago- Update the copyright notices to use the correct year and not a non-ASCII symbol
Robert Sesek [Wed, 17 Sep 2008 14:18:39 +0000 (10:18 -0400)]
- Update the copyright notices to use the correct year and not a non-ASCII symbol
- Remove SVN footers and SVN constants
- Remove $Revision$ keywords

10 years agoRemoving uses of $bugsys
Robert Sesek [Wed, 17 Sep 2008 14:12:25 +0000 (10:12 -0400)]
Removing uses of $bugsys

10 years agoUpdates for everything done to class_logging.php
Robert Sesek [Tue, 16 Sep 2008 17:22:26 +0000 (13:22 -0400)]
Updates for everything done to class_logging.php

10 years agoUpdate class_logging.php
Robert Sesek [Tue, 16 Sep 2008 17:21:52 +0000 (13:21 -0400)]
Update class_logging.php

10 years agoUpdate api_user.php
Robert Sesek [Tue, 16 Sep 2008 17:16:52 +0000 (13:16 -0400)]
Update api_user.php

10 years agoUpdate api_field.php
Robert Sesek [Tue, 16 Sep 2008 17:01:21 +0000 (13:01 -0400)]
Update api_field.php

10 years agoUpdate api_automation.php
Robert Sesek [Tue, 16 Sep 2008 16:58:02 +0000 (12:58 -0400)]
Update api_automation.php

10 years agoUpdate api_attachment.php
Robert Sesek [Tue, 16 Sep 2008 16:54:16 +0000 (12:54 -0400)]
Update api_attachment.php

10 years agoUpdate class_sort.php
Robert Sesek [Tue, 16 Sep 2008 02:22:08 +0000 (22:22 -0400)]
Update class_sort.php

10 years agoUpdating functions_datastore.php
Robert Sesek [Tue, 16 Sep 2008 02:08:36 +0000 (22:08 -0400)]
Updating functions_datastore.php

10 years agoFix an "invalid argument for foreach"
Robert Sesek [Sat, 6 Sep 2008 20:23:54 +0000 (16:23 -0400)]
Fix an "invalid argument for foreach"

10 years agoUpdate functions_product.php to use proper naming
Robert Sesek [Sat, 6 Sep 2008 20:21:39 +0000 (16:21 -0400)]
Update functions_product.php to use proper naming

10 years agoUpdate api_usergroup.php
Robert Sesek [Sat, 6 Sep 2008 20:12:42 +0000 (16:12 -0400)]
Update api_usergroup.php

10 years agoRemove the verifiers from the field list
Robert Sesek [Sat, 6 Sep 2008 20:07:41 +0000 (16:07 -0400)]
Remove the verifiers from the field list

10 years agoUpdate api_priority.php
Robert Sesek [Sat, 6 Sep 2008 20:04:38 +0000 (16:04 -0400)]
Update api_priority.php

10 years agoUpdate api_resolution.php
Robert Sesek [Sat, 6 Sep 2008 20:02:43 +0000 (16:02 -0400)]
Update api_resolution.php

10 years agoUpdate api_language.php
Robert Sesek [Sat, 6 Sep 2008 20:00:15 +0000 (16:00 -0400)]
Update api_language.php

10 years agoUpdate api_severity.php
Robert Sesek [Sat, 6 Sep 2008 19:50:37 +0000 (15:50 -0400)]
Update api_severity.php

10 years agoUpdate api_status.php
Robert Sesek [Sat, 6 Sep 2008 19:45:07 +0000 (15:45 -0400)]
Update api_status.php

10 years agoUpdating api_userhelp.php
Robert Sesek [Sat, 6 Sep 2008 19:28:08 +0000 (15:28 -0400)]
Updating api_userhelp.php

10 years agoUpdating framework version
Robert Sesek [Sat, 6 Sep 2008 19:28:00 +0000 (15:28 -0400)]
Updating framework version

10 years agoUpdate api_comment.php
Robert Sesek [Sat, 6 Sep 2008 18:18:38 +0000 (14:18 -0400)]
Update api_comment.php

10 years agoFix broken links in the pagenav
Robert Sesek [Sat, 6 Sep 2008 16:30:36 +0000 (12:30 -0400)]
Fix broken links in the pagenav

10 years agoAdd $productSelect to the tpl vars on showreport.php
Robert Sesek [Sat, 6 Sep 2008 16:26:46 +0000 (12:26 -0400)]
Add $productSelect to the tpl vars on showreport.php

10 years agoUpdating api_bug.php, fix a "call to undefined" error in class_notification.php and...
Robert Sesek [Sat, 6 Sep 2008 16:24:40 +0000 (12:24 -0400)]
Updating api_bug.php, fix a "call to undefined" error in class_notification.php and making editreport.php work better

10 years agoFix showhistory.php to show more than one log item
Robert Sesek [Sat, 6 Sep 2008 15:51:23 +0000 (11:51 -0400)]
Fix showhistory.php to show more than one log item

10 years agoChange API->delete() to remove()
Robert Sesek [Sat, 6 Sep 2008 15:37:28 +0000 (11:37 -0400)]
Change API->delete() to remove()

10 years agoUpgrade class_notification.php to use emails.php (untested)
Robert Sesek [Tue, 2 Sep 2008 00:10:12 +0000 (20:10 -0400)]
Upgrade class_notification.php to use emails.php (untested)

10 years agoPHP5-ing and refactoring class_notification.php
Robert Sesek [Mon, 1 Sep 2008 15:51:49 +0000 (11:51 -0400)]
PHP5-ing and refactoring class_notification.php

10 years agoFix a template error with dynamic help in bugfield_static_text.tpl
Robert Sesek [Mon, 1 Sep 2008 14:58:12 +0000 (10:58 -0400)]
Fix a template error with dynamic help in bugfield_static_text.tpl

10 years agoFix an instance of an old debug() call
Robert Sesek [Sun, 31 Aug 2008 16:07:24 +0000 (12:07 -0400)]
Fix an instance of an old debug() call

10 years agoFix the password reset email system
Robert Sesek [Sun, 31 Aug 2008 15:39:54 +0000 (11:39 -0400)]
Fix the password reset email system

10 years ago- Get the email system to work for register.php
Robert Sesek [Sun, 31 Aug 2008 15:02:53 +0000 (11:02 -0400)]
- Get the email system to work for register.php
- Fix includes/functions_datastore.php

10 years agoWhen calling BSFunctions::cookie() to clear cookies, we need FALSE not NULL
Robert Sesek [Sat, 30 Aug 2008 13:50:41 +0000 (09:50 -0400)]
When calling BSFunctions::cookie() to clear cookies, we need FALSE not NULL

10 years agoMake the password reset email work (untested)
Robert Sesek [Sat, 30 Aug 2008 13:44:58 +0000 (09:44 -0400)]
Make the password reset email work (untested)

10 years agoAdd includes/emails.php
Robert Sesek [Sun, 24 Aug 2008 14:15:32 +0000 (10:15 -0400)]
Add includes/emails.php

10 years agoUpdating reigster.php to work, sans emails
Robert Sesek [Sun, 24 Aug 2008 13:53:43 +0000 (09:53 -0400)]
Updating reigster.php to work, sans emails

10 years agoExpire cookies properly in AuthenticationDefault::clearCookies
Robert Sesek [Sun, 24 Aug 2008 13:50:04 +0000 (09:50 -0400)]
Expire cookies properly in AuthenticationDefault::clearCookies

10 years agoGet quicksearch working on showreport.php
Robert Sesek [Sat, 23 Aug 2008 20:33:23 +0000 (16:33 -0400)]
Get quicksearch working on showreport.php

10 years agoUpdated attachment.php to work, sans NotificationCenter
Robert Sesek [Sat, 23 Aug 2008 20:25:40 +0000 (16:25 -0400)]
Updated attachment.php to work, sans NotificationCenter

10 years agoUpdating showreport.php for attachments
Robert Sesek [Sat, 23 Aug 2008 20:20:21 +0000 (16:20 -0400)]
Updating showreport.php for attachments

10 years agoUpdating framework version
Robert Sesek [Sat, 23 Aug 2008 19:55:50 +0000 (15:55 -0400)]
Updating framework version

10 years agoRemove includes/class_api_error.php and all of the places we require() it
Robert Sesek [Sat, 23 Aug 2008 19:31:51 +0000 (15:31 -0400)]
Remove includes/class_api_error.php and all of the places we require() it

10 years agoChanging $bugsys->permissions[] to bugdar::$permissions[]
Robert Sesek [Sat, 23 Aug 2008 17:13:48 +0000 (13:13 -0400)]
Changing $bugsys->permissions[] to bugdar::$permissions[]

10 years agoGetting newreport.php to work, sans notifications
Robert Sesek [Sat, 23 Aug 2008 17:11:46 +0000 (13:11 -0400)]
Getting newreport.php to work, sans notifications

10 years agoFix a bug in ConstructVersionSelect() that would cause all the versions to be selected
Robert Sesek [Sat, 23 Aug 2008 15:58:39 +0000 (11:58 -0400)]
Fix a bug in ConstructVersionSelect() that would cause all the versions to be selected

10 years agoUpdating editcomment.php
Robert Sesek [Sat, 23 Aug 2008 15:11:50 +0000 (11:11 -0400)]
Updating editcomment.php

10 years agostd_confirm.tpl doesn't exist, std_message.tpl does, though
Robert Sesek [Sat, 23 Aug 2008 15:10:13 +0000 (11:10 -0400)]
std_confirm.tpl doesn't exist, std_message.tpl does, though

10 years agoReplace *API($bugsys) with API()
Robert Sesek [Sat, 23 Aug 2008 14:34:39 +0000 (10:34 -0400)]
Replace *API($bugsys) with API()

10 years agoFix a $bugsys call and add $customfields to the template in showreport.php
Robert Sesek [Sat, 23 Aug 2008 14:29:37 +0000 (10:29 -0400)]
Fix a $bugsys call and add $customfields to the template in showreport.php

10 years agoUpdating search.php
Robert Sesek [Sat, 23 Aug 2008 14:28:01 +0000 (10:28 -0400)]
Updating search.php

10 years agoWorking on the other functionality of login.php
Robert Sesek [Sat, 23 Aug 2008 03:55:12 +0000 (23:55 -0400)]
Working on the other functionality of login.php

10 years agoAdd $favoritetext to the tpl vars in showreport.php
Robert Sesek [Fri, 22 Aug 2008 22:16:51 +0000 (18:16 -0400)]
Add $favoritetext to the tpl vars in showreport.php

10 years agoUpdating explain.php
Robert Sesek [Fri, 22 Aug 2008 22:14:53 +0000 (18:14 -0400)]
Updating explain.php

10 years agoGet the assignment select box working on newreport.php
Robert Sesek [Fri, 22 Aug 2008 04:14:12 +0000 (00:14 -0400)]
Get the assignment select box working on newreport.php

10 years agoGet pagination working on index.php
Robert Sesek [Fri, 22 Aug 2008 04:10:55 +0000 (00:10 -0400)]
Get pagination working on index.php

10 years agoShow votes on showreport.php
Robert Sesek [Fri, 22 Aug 2008 03:59:49 +0000 (23:59 -0400)]
Show votes on showreport.php

10 years agoChanging BSApi->objdata[] to BSApi->record[]
Robert Sesek [Fri, 22 Aug 2008 02:18:38 +0000 (22:18 -0400)]
Changing BSApi->objdata[] to BSApi->record[]