bugdar.git
18 years agor202: Use MySQL NULL to handle defaults
Robert Sesek [Sat, 28 May 2005 19:35:21 +0000 (19:35 +0000)]
r202: Use MySQL NULL to handle defaults

18 years agor201: Show custom fields on showreport.php
Robert Sesek [Sat, 28 May 2005 19:13:29 +0000 (19:13 +0000)]
r201: Show custom fields on showreport.php

18 years agor200: - Show edit fields on editreport.php and editreport.tpl
Robert Sesek [Sat, 28 May 2005 04:42:52 +0000 (04:42 +0000)]
r200: - Show edit fields on editreport.php and editreport.tpl
- Fields processed with process_custom_fields() [includes/functions.php]

18 years agor199: Completed the backend creation of the fields--it works with new bugs but it...
Robert Sesek [Tue, 24 May 2005 05:40:03 +0000 (05:40 +0000)]
r199: Completed the backend creation of the fields--it works with new bugs but it's untested with existing ones.

18 years agor198: For input_checkbox, we need to use `defaultvalue` not just `default` silly me
Robert Sesek [Tue, 24 May 2005 05:33:18 +0000 (05:33 +0000)]
r198: For input_checkbox, we need to use `defaultvalue` not just `default` silly me

18 years agor197: Changing the datastore foreach() loops that we can to use construct_datastore_s...
Robert Sesek [Mon, 23 May 2005 00:11:44 +0000 (00:11 +0000)]
r197: Changing the datastore foreach() loops that we can to use construct_datastore_select() [includes/functions.php]

18 years agor196: Renaming some tables and dropping some unused fields.
Robert Sesek [Sun, 22 May 2005 23:47:06 +0000 (23:47 +0000)]
r196: Renaming some tables and dropping some unused fields.

18 years agor195: Did the delete and kill DO-branches.
Robert Sesek [Sun, 22 May 2005 23:42:49 +0000 (23:42 +0000)]
r195: Did the delete and kill DO-branches.

18 years agor194: Making update DO-branch work. Some code cleanup and removing debugging code.
Robert Sesek [Sun, 22 May 2005 23:35:54 +0000 (23:35 +0000)]
r194: Making update DO-branch work. Some code cleanup and removing debugging code.

18 years agor193: Fixed some bugs with the edit DO-branch.
Robert Sesek [Sun, 22 May 2005 23:29:32 +0000 (23:29 +0000)]
r193: Fixed some bugs with the edit DO-branch.

18 years agor192: Modify DO-branch done.
Robert Sesek [Sun, 22 May 2005 23:18:00 +0000 (23:18 +0000)]
r192: Modify DO-branch done.

18 years agor191: Add code works, update code is there but untested. Modify code is incomplete...
Robert Sesek [Sun, 22 May 2005 23:12:18 +0000 (23:12 +0000)]
r191: Add code works, update code is there but untested. Modify code is incomplete. Delete and kill code is not done.

18 years agor190: Only show the navigation bar if we have a valid admin session. We can now check...
Robert Sesek [Sun, 22 May 2005 17:36:48 +0000 (17:36 +0000)]
r190: Only show the navigation bar if we have a valid admin session. We can now check if we have one by checking the value of $bugsys->userinfo['adminsession'] (only accessible in the admin/ directory, though)

18 years agor189: Added support to page_start() so we don't double print the header
Robert Sesek [Sun, 22 May 2005 05:34:02 +0000 (05:34 +0000)]
r189: Added support to page_start() so we don't double print the header

18 years agor188: Checking in the initial files for custom bug fields
Robert Sesek [Sat, 21 May 2005 19:50:06 +0000 (19:50 +0000)]
r188: Checking in the initial files for custom bug fields

18 years agor187: Finished all error reporting stuff so we're checking it off The List
Robert Sesek [Sat, 21 May 2005 17:09:23 +0000 (17:09 +0000)]
r187: Finished all error reporting stuff so we're checking it off The List

18 years agor186: Converting to our Message_Reporter::message() system
Robert Sesek [Sat, 21 May 2005 17:08:38 +0000 (17:08 +0000)]
r186: Converting to our Message_Reporter::message() system

18 years agor185: Need to pre-cache std_message.tpl
Robert Sesek [Sat, 21 May 2005 17:06:27 +0000 (17:06 +0000)]
r185: Need to pre-cache std_message.tpl

18 years agor184: Added Message_Reporter::message() backend
Robert Sesek [Sat, 21 May 2005 17:05:35 +0000 (17:05 +0000)]
r184: Added Message_Reporter::message() backend

18 years agor183: Change the way header redirects are handled
Robert Sesek [Sat, 21 May 2005 16:59:49 +0000 (16:59 +0000)]
r183: Change the way header redirects are handled

18 years agor182: Changed $this->useRheaders to $this->useheaders
Robert Sesek [Sat, 21 May 2005 16:58:24 +0000 (16:58 +0000)]
r182: Changed $this->useRheaders to $this->useheaders

18 years agor181: Added some spacing to the template
Robert Sesek [Sat, 21 May 2005 16:57:42 +0000 (16:57 +0000)]
r181: Added some spacing to the template

18 years agor180: The OR should be an AND in the permission checking expression
Robert Sesek [Sat, 21 May 2005 16:56:28 +0000 (16:56 +0000)]
r180: The OR should be an AND in the permission checking expression

18 years agor179: Only show the attachments block if you have permission
Robert Sesek [Sat, 21 May 2005 16:55:35 +0000 (16:55 +0000)]
r179: Only show the attachments block if you have permission

18 years agor178: Out of all the files I changed throw() to error(), I forgot to do it here....
Robert Sesek [Sat, 21 May 2005 16:51:29 +0000 (16:51 +0000)]
r178: Out of all the files I changed throw() to error(), I forgot to do it here... do'h

18 years agor177: That change product separate page crap was removed a long time ago
Robert Sesek [Sat, 21 May 2005 16:31:14 +0000 (16:31 +0000)]
r177: That change product separate page crap was removed a long time ago

18 years agor176: Switching to the Message_Reporter::redirect() method of redirection
Robert Sesek [Sat, 21 May 2005 16:30:26 +0000 (16:30 +0000)]
r176: Switching to the Message_Reporter::redirect() method of redirection

18 years agor175: Adding Message_Reporter::redirect() backend
Robert Sesek [Sat, 21 May 2005 16:24:20 +0000 (16:24 +0000)]
r175: Adding Message_Reporter::redirect() backend

18 years agor174: Renamed includes/class_error.php to includes/class_message_reporter.php
Robert Sesek [Sat, 21 May 2005 16:12:37 +0000 (16:12 +0000)]
r174: Renamed includes/class_error.php to includes/class_message_reporter.php

18 years agor173: Renaming the error reporting stuff so it can also handle non-error messages...
Robert Sesek [Sat, 21 May 2005 16:11:20 +0000 (16:11 +0000)]
r173: Renaming the error reporting stuff so it can also handle non-error messages and redirects

18 years agor172: Removing from our echo; exit; error reporting system to Error::throw()
Robert Sesek [Sat, 21 May 2005 16:03:11 +0000 (16:03 +0000)]
r172: Removing from our echo; exit; error reporting system to Error::throw()

18 years agor171: Instead of triggering errors in Error::construct() merely return it.
Robert Sesek [Sat, 21 May 2005 06:13:54 +0000 (06:13 +0000)]
r171: Instead of triggering errors in Error::construct() merely return it.

18 years agor170: - Error reporting backend now in place
Robert Sesek [Sat, 21 May 2005 05:58:08 +0000 (05:58 +0000)]
r170: - Error reporting backend now in place
- Docs for global.php

18 years agor169: Checking in the non-working class_error.php file
Robert Sesek [Fri, 20 May 2005 21:24:00 +0000 (21:24 +0000)]
r169: Checking in the non-working class_error.php file

18 years agor168: Renewed the wrong cookie for 1-hour lifespan
Robert Sesek [Fri, 20 May 2005 06:13:23 +0000 (06:13 +0000)]
r168: Renewed the wrong cookie for 1-hour lifespan

18 years agor167: Added cplogout action so we can log out of the Admin CP
Robert Sesek [Fri, 20 May 2005 06:12:47 +0000 (06:12 +0000)]
r167: Added cplogout action so we can log out of the Admin CP

18 years agor166: - Created new setting $bugsys->options['defaultcomment'] which allows setting...
Robert Sesek [Fri, 20 May 2005 06:07:33 +0000 (06:07 +0000)]
r166: - Created new setting $bugsys->options['defaultcomment'] which allows setting of a comment template for the initial bug report
- Removed some dupes from the to-do list

18 years agor165: Added textarea option for settings
Robert Sesek [Fri, 20 May 2005 06:02:53 +0000 (06:02 +0000)]
r165: Added textarea option for settings

18 years agor164: Removed dupe item from to-do list
Robert Sesek [Fri, 20 May 2005 06:00:09 +0000 (06:00 +0000)]
r164: Removed dupe item from to-do list

18 years agor163: Admin session cookies are NOT sticky... woops
Robert Sesek [Fri, 20 May 2005 02:43:36 +0000 (02:43 +0000)]
r163: Admin session cookies are NOT sticky... woops

18 years agor162: - Changed admin cookie life to be 3600 (1 hour)
Robert Sesek [Fri, 20 May 2005 00:58:46 +0000 (00:58 +0000)]
r162: - Changed admin cookie life to be 3600 (1 hour)
- Renew cookie life span if we are authenticated in both admin/global.php and includes/init.php -- this is necessary for those who don't have remember me enabled

18 years agor161: - Show descriptions on PCV select
Robert Sesek [Fri, 20 May 2005 00:50:17 +0000 (00:50 +0000)]
r161: - Show descriptions on PCV select
- Do not show select radio buttons on product/component select, only version
- Underline formatting for both products and components in PCV select

18 years agor160: Create a clickable link to the tracker home in the navbar
Robert Sesek [Fri, 20 May 2005 00:47:54 +0000 (00:47 +0000)]
r160: Create a clickable link to the tracker home in the navbar

18 years agor159: - Finished all of that logging stuff
Robert Sesek [Thu, 19 May 2005 03:39:15 +0000 (03:39 +0000)]
r159: - Finished all of that logging stuff
- We now have a class_history.php file that allows us to handle easy diffs and logging
- Removed log_action() [includes/functions.php] because this is much better
- Updated all files to this new system

18 years agor158: Cool new idea for 1.1
Robert Sesek [Thu, 19 May 2005 02:22:57 +0000 (02:22 +0000)]
r158: Cool new idea for 1.1

18 years agor157: Checking in sudo-working logging code
Robert Sesek [Wed, 18 May 2005 07:10:53 +0000 (07:10 +0000)]
r157: Checking in sudo-working logging code

18 years agor156: FINALLY have the kinks worked out of log_action in regards to when to and when...
Robert Sesek [Sun, 15 May 2005 21:27:35 +0000 (21:27 +0000)]
r156: FINALLY have the kinks worked out of log_action in regards to when to and when to not log

18 years agor155: Changed the conditions under which we break under empty() values.
Robert Sesek [Sun, 15 May 2005 21:13:36 +0000 (21:13 +0000)]
r155: Changed the conditions under which we break under empty() values.

18 years agor154: Fixed the circumstances under which we show changes... it now works right.
Robert Sesek [Sun, 15 May 2005 21:10:48 +0000 (21:10 +0000)]
r154: Fixed the circumstances under which we show changes... it now works right.

18 years agor153: Only show changes if there are changes to show in showhistory.php
Robert Sesek [Sun, 15 May 2005 21:03:29 +0000 (21:03 +0000)]
r153: Only show changes if there are changes to show in showhistory.php

18 years agor152: Only do diff if both changes are not empty in log_action() [includes/functions...
Robert Sesek [Sun, 15 May 2005 21:00:19 +0000 (21:00 +0000)]
r152: Only do diff if both changes are not empty in log_action() [includes/functions.php]

18 years agor151: Show the bug ID on all history items
Robert Sesek [Sun, 15 May 2005 20:55:41 +0000 (20:55 +0000)]
r151: Show the bug ID on all history items

18 years agor150: Updated logging system to have one entry per changed field. We then group these...
Robert Sesek [Sun, 15 May 2005 20:53:32 +0000 (20:53 +0000)]
r150: Updated logging system to have one entry per changed field. We then group these entries by `dateline` for display

18 years agor149: Fix the spacing between the topmost links
Robert Sesek [Sun, 15 May 2005 11:06:37 +0000 (11:06 +0000)]
r149: Fix the spacing between the topmost links

18 years agor148: Can you say muffining unelelegant? There has GOT to be a better way to do this
Robert Sesek [Sun, 15 May 2005 11:05:56 +0000 (11:05 +0000)]
r148: Can you say muffining unelelegant? There has GOT to be a better way to do this

18 years agor147: Log adding a comment
Robert Sesek [Sun, 15 May 2005 07:14:41 +0000 (07:14 +0000)]
r147: Log adding a comment

18 years agor146: Only mark and log obsoletes if we have them.. duh
Robert Sesek [Sun, 15 May 2005 07:10:56 +0000 (07:10 +0000)]
r146: Only mark and log obsoletes if we have them.. duh

18 years agor145: - Added logging mechanism to files
Robert Sesek [Sun, 15 May 2005 07:06:46 +0000 (07:06 +0000)]
r145: - Added logging mechanism to files
- Added before and after changes so we can array_diff_assoc() them to see individual changes
- Updated history viewer so we can see changes

18 years agor144: Added showhistory.php so we can see the history of a bug
Robert Sesek [Sun, 15 May 2005 03:25:47 +0000 (03:25 +0000)]
r144: Added showhistory.php so we can see the history of a bug

18 years agor143: - s /error('-1')/error(phrase('error_invalid_id'))/g
Robert Sesek [Sun, 15 May 2005 01:48:28 +0000 (01:48 +0000)]
r143: - s /error('-1')/error(phrase('error_invalid_id'))/g
- Fixed a problem where phrase('Error') was being called instead of phrase('error') [includes/adminfunctions.php]

18 years agor142: Added the backbone for bug history logging
Robert Sesek [Sun, 15 May 2005 01:38:34 +0000 (01:38 +0000)]
r142: Added the backbone for bug history logging

18 years agor141: Convert some $show[] stuff to use the ternary operator rather than a full-blown...
Robert Sesek [Sat, 14 May 2005 23:20:33 +0000 (23:20 +0000)]
r141: Convert some $show[] stuff to use the ternary operator rather than a full-blown if statement

19 years agor139: Renamed some language import files. Changed the export results for phrasetools... alpha-2
Robert Sesek [Sat, 14 May 2005 22:40:33 +0000 (22:40 +0000)]
r139: Renamed some language import files. Changed the export results for phrasetools.php.

19 years agor138: Updated en.php and language importer [lang_file_to_db.php] in preparation for...
Robert Sesek [Sat, 14 May 2005 22:35:51 +0000 (22:35 +0000)]
r138: Updated en.php and language importer [lang_file_to_db.php] in preparation for Beta 1.

19 years agor137: Adding datatools.php and datatools_store.php which are used to insert the defau...
Robert Sesek [Sat, 14 May 2005 22:31:33 +0000 (22:31 +0000)]
r137: Adding datatools.php and datatools_store.php which are used to insert the default table data (except phrases).

19 years agor136: Completed attachment uploading stuff:
Robert Sesek [Sat, 14 May 2005 21:41:19 +0000 (21:41 +0000)]
r136: Completed attachment uploading stuff:
- Added delete/kill methods [attachment.php]
- Struck it off the roadmap and to-do list... we're at beta 1 now...? w00t!

19 years agor135: To-do list and roadmap updates
Robert Sesek [Sat, 14 May 2005 21:28:27 +0000 (21:28 +0000)]
r135: To-do list and roadmap updates

19 years agor134: - Fixed a problem where the bug fetcher would fetch the wrong bug because of...
Robert Sesek [Sat, 14 May 2005 21:13:46 +0000 (21:13 +0000)]
r134: - Fixed a problem where the bug fetcher would fetch the wrong bug because of a wrong ID passed from the $attachment[] array
- Added edit/update attachment methods

19 years agor133: If the user has the CANEDITATTACH flag set, then he or she can download attachm...
Robert Sesek [Sat, 14 May 2005 21:02:05 +0000 (21:02 +0000)]
r133: If the user has the CANEDITATTACH flag set, then he or she can download attachments too

19 years agor132: - $show['getattachments'] and $show['putattachments'] will also be set true...
Robert Sesek [Sat, 14 May 2005 20:52:16 +0000 (20:52 +0000)]
r132: - $show['getattachments'] and $show['putattachments'] will also be set true if the user has CANEDITATTACH flags
- $show['editattach'] requires either CANEDITATTACH or (CANPUTATTACH and having ownership of the attachment) flags to be set true

19 years agor131: Trigger an error if can_perform() is passed an invalid bitmask
Robert Sesek [Sat, 14 May 2005 20:50:32 +0000 (20:50 +0000)]
r131: Trigger an error if can_perform() is passed an invalid bitmask

19 years agor130: Fixed the issue where if you signed in with remember me, logged into the admin...
Robert Sesek [Sat, 14 May 2005 20:41:01 +0000 (20:41 +0000)]
r130: Fixed the issue where if you signed in with remember me, logged into the admin panel, the cookies would be overwritten and you'd be logged out whenever the admin session expired.

19 years agor129: s/mysetcookie/$funct->cookie/g
Robert Sesek [Sat, 14 May 2005 20:11:27 +0000 (20:11 +0000)]
r129: s/mysetcookie/$funct->cookie/g

19 years agor128: We no longer have to pass the bugid to the edit script
Robert Sesek [Sat, 14 May 2005 04:10:17 +0000 (04:10 +0000)]
r128: We no longer have to pass the bugid to the edit script

19 years agor127: - Created edit links on the attachments manager
Robert Sesek [Sat, 14 May 2005 04:05:46 +0000 (04:05 +0000)]
r127: - Created edit links on the attachments manager
- Removed debugging info from showreport.php

19 years agor126: If $location['path'] is empty in Admin::page_start() then set it to index.php
Robert Sesek [Sat, 14 May 2005 03:32:25 +0000 (03:32 +0000)]
r126: If $location['path'] is empty in Admin::page_start() then set it to index.php

19 years agor125: Added a link to the admin panel
Robert Sesek [Sat, 14 May 2005 03:30:13 +0000 (03:30 +0000)]
r125: Added a link to the admin panel

19 years agor124: We no longer need the ob_start() at the top of the file.
Robert Sesek [Sat, 14 May 2005 01:03:57 +0000 (01:03 +0000)]
r124: We no longer need the ob_start() at the top of the file.

19 years agor123: Attachment viewing code has been moved to viewattachment.php so we don't get...
Robert Sesek [Sat, 14 May 2005 00:52:39 +0000 (00:52 +0000)]
r123: Attachment viewing code has been moved to viewattachment.php so we don't get it confuzzeled with the insert/update/kill code.

19 years agor122: Initial code for attachment system. Currently it handles file uploads, obsolete...
Robert Sesek [Fri, 13 May 2005 23:59:04 +0000 (23:59 +0000)]
r122: Initial code for attachment system. Currently it handles file uploads, obsolete marking, and comment creation

19 years agor121: Strike out obsolete attachments
Robert Sesek [Fri, 13 May 2005 23:57:56 +0000 (23:57 +0000)]
r121: Strike out obsolete attachments

19 years agor120: Hide the userid on the attachment display
Robert Sesek [Fri, 13 May 2005 23:49:24 +0000 (23:49 +0000)]
r120: Hide the userid on the attachment display

19 years agor119: Pass bugid on to the new attachment screen
Robert Sesek [Fri, 13 May 2005 22:46:33 +0000 (22:46 +0000)]
r119: Pass bugid on to the new attachment screen

19 years agor118: Forgot to change an instance of fetch_random_chars() to $funct::rand()
Robert Sesek [Thu, 12 May 2005 18:53:44 +0000 (18:53 +0000)]
r118: Forgot to change an instance of fetch_random_chars() to $funct::rand()

19 years agor117: Take incluldes/init.php instead of global.php
Robert Sesek [Thu, 12 May 2005 18:51:35 +0000 (18:51 +0000)]
r117: Take incluldes/init.php instead of global.php

19 years agor116: Removed the option about JS pcv selection
Robert Sesek [Thu, 12 May 2005 05:07:22 +0000 (05:07 +0000)]
r116: Removed the option about JS pcv selection

19 years agor115: Completed the admin navigation system.
Robert Sesek [Thu, 12 May 2005 04:53:33 +0000 (04:53 +0000)]
r115: Completed the admin navigation system.

19 years agor114: Forgot to add the CANADMINVERSIONS to the list of options! Now fixed.
Robert Sesek [Thu, 12 May 2005 04:35:54 +0000 (04:35 +0000)]
r114: Forgot to add the CANADMINVERSIONS to the list of options! Now fixed.

19 years agor113: It's phrase('bugstrike_login') not phrase('renapsus_login')
Robert Sesek [Thu, 12 May 2005 04:29:16 +0000 (04:29 +0000)]
r113: It's phrase('bugstrike_login') not phrase('renapsus_login')

19 years agor112: Select the current script for us in the navigation menu
Robert Sesek [Thu, 12 May 2005 04:28:06 +0000 (04:28 +0000)]
r112: Select the current script for us in the navigation menu

19 years agor111: Removed the BugStrike home link as it was confusing are selection method.
Robert Sesek [Thu, 12 May 2005 04:27:45 +0000 (04:27 +0000)]
r111: Removed the BugStrike home link as it was confusing are selection method.

19 years agor110: Added some global locations so we have some backtrace links
Robert Sesek [Thu, 12 May 2005 04:22:27 +0000 (04:22 +0000)]
r110: Added some global locations so we have some backtrace links

19 years agor109: Created main admin menu.
Robert Sesek [Thu, 12 May 2005 04:20:31 +0000 (04:20 +0000)]
r109: Created main admin menu.

19 years agor108: - Added blank admin/index.php file
Robert Sesek [Wed, 11 May 2005 16:53:19 +0000 (16:53 +0000)]
r108: - Added blank admin/index.php file
- Changed navigation to use one <select> with <optgroup>s
- Only show navigation if the user is logged in
- Created jumper for the navigation system

19 years agor107: Moved template loading out of includes/init.php and into global.php
Robert Sesek [Wed, 11 May 2005 16:37:56 +0000 (16:37 +0000)]
r107: Moved template loading out of includes/init.php and into global.php

19 years agor106: Fixed a parse error in config.php.new; forgot a semicolon after the ISSO path
Robert Sesek [Wed, 11 May 2005 14:56:54 +0000 (14:56 +0000)]
r106: Fixed a parse error in config.php.new; forgot a semicolon after the ISSO path

19 years agor105: Added some kind of navigation.. no idea if it works or not, though.
Robert Sesek [Wed, 11 May 2005 14:56:10 +0000 (14:56 +0000)]
r105: Added some kind of navigation.. no idea if it works or not, though.

19 years agor104: Removed the instances of mysetcookie()
Robert Sesek [Wed, 11 May 2005 14:54:52 +0000 (14:54 +0000)]
r104: Removed the instances of mysetcookie()

19 years agor103: Removed DEFAULT PACK_KEYS=0 from the usergroup table
Robert Sesek [Wed, 11 May 2005 14:52:13 +0000 (14:52 +0000)]
r103: Removed DEFAULT PACK_KEYS=0 from the usergroup table

19 years agor102: Removed the need for a deferred status --> use priorities!
Robert Sesek [Wed, 11 May 2005 04:29:07 +0000 (04:29 +0000)]
r102: Removed the need for a deferred status --> use priorities!