bugdar.git
18 years agor227: Dependency system is now finished. The tree has yet to be implemented, but...
Robert Sesek [Wed, 1 Jun 2005 16:40:49 +0000 (16:40 +0000)]
r227: Dependency system is now finished. The tree has yet to be implemented, but it's being worked on.

18 years agor226: Changed the name of the language file importer
Robert Sesek [Wed, 1 Jun 2005 16:39:19 +0000 (16:39 +0000)]
r226: Changed the name of the language file importer

18 years agor225: Only insert custom fields if we have fields to insert into.
Robert Sesek [Wed, 1 Jun 2005 14:53:01 +0000 (14:53 +0000)]
r225: Only insert custom fields if we have fields to insert into.

18 years agor224: Fixed: Fatal error: Call to undefined function sanitize() in /bugtrack/admin...
Robert Sesek [Wed, 1 Jun 2005 14:50:11 +0000 (14:50 +0000)]
r224: Fixed: Fatal error: Call to undefined function sanitize() in /bugtrack/admin/product.php on line 193

18 years agor223: to-do++
Robert Sesek [Wed, 1 Jun 2005 14:36:16 +0000 (14:36 +0000)]
r223: to-do++

18 years agor222: to-do++
Robert Sesek [Tue, 31 May 2005 02:47:54 +0000 (02:47 +0000)]
r222: to-do++

18 years agor221: We need to select bug AS bug not just bug
Robert Sesek [Tue, 31 May 2005 02:47:07 +0000 (02:47 +0000)]
r221: We need to select bug AS bug not just bug

18 years agor220: to-do++
Robert Sesek [Tue, 31 May 2005 02:31:23 +0000 (02:31 +0000)]
r220: to-do++

18 years agor219: roadmap++
Robert Sesek [Mon, 30 May 2005 20:40:14 +0000 (20:40 +0000)]
r219: roadmap++

18 years agor218: Duplicates are now done
Robert Sesek [Mon, 30 May 2005 20:10:11 +0000 (20:10 +0000)]
r218: Duplicates are now done

18 years agor217: to-do++;
Robert Sesek [Mon, 30 May 2005 09:16:00 +0000 (09:16 +0000)]
r217: to-do++;

18 years agor216: - Don't search hidden bugs and comments if we can't see them
Robert Sesek [Mon, 30 May 2005 09:15:07 +0000 (09:15 +0000)]
r216: - Don't search hidden bugs and comments if we can't see them
- Fixed an obsecure bug that showed multiple bug hits if we had multiple matches in comments (resoloved with a "GROUP BY bug.bugid" clause in the master query

18 years agor215: Show logout link.
Robert Sesek [Mon, 30 May 2005 09:10:28 +0000 (09:10 +0000)]
r215: Show logout link.

18 years agor214: Pushing more stuff off of the 1.0 release
Robert Sesek [Mon, 30 May 2005 09:03:34 +0000 (09:03 +0000)]
r214: Pushing more stuff off of the 1.0 release

18 years agor213: Removing left-over debugging code
Robert Sesek [Mon, 30 May 2005 05:07:29 +0000 (05:07 +0000)]
r213: Removing left-over debugging code

18 years agor212: Fixed a problem where the last post would be off if we did not have permission...
Robert Sesek [Mon, 30 May 2005 05:03:29 +0000 (05:03 +0000)]
r212: Fixed a problem where the last post would be off if we did not have permission to see the comment. Quite a big fix. What was done is a `bug.hiddenlastposttime` and a `bug.hiddenlastpostby` were created and these track the last unhidden comment. The originals still track all of them, though. Therefore whenever a comment is modified or added, this record is updated to the most recent unhidden comment.

18 years agor211: Whitespace OCD
Robert Sesek [Sun, 29 May 2005 22:05:13 +0000 (22:05 +0000)]
r211: Whitespace OCD

18 years agor210: Comments can never be deleted so remove the branches to do that
Robert Sesek [Sun, 29 May 2005 21:09:05 +0000 (21:09 +0000)]
r210: Comments can never be deleted so remove the branches to do that

18 years agor209: Allow comments to be hidden
Robert Sesek [Sun, 29 May 2005 21:08:33 +0000 (21:08 +0000)]
r209: Allow comments to be hidden

18 years agor208: Bugs can never be deleted, so remove the actions for it
Robert Sesek [Sun, 29 May 2005 20:47:33 +0000 (20:47 +0000)]
r208: Bugs can never be deleted, so remove the actions for it

18 years agor207: s/canviewhiddenbugs/canviewhidden/g
Robert Sesek [Sun, 29 May 2005 20:46:58 +0000 (20:46 +0000)]
r207: s/canviewhiddenbugs/canviewhidden/g

18 years agor206: Allow bugs to be hidden for security reasons or if they want to look deleted.
Robert Sesek [Sun, 29 May 2005 20:44:21 +0000 (20:44 +0000)]
r206: Allow bugs to be hidden for security reasons or if they want to look deleted.

18 years agor205: Custom bug fields are now done
Robert Sesek [Sun, 29 May 2005 20:28:11 +0000 (20:28 +0000)]
r205: Custom bug fields are now done

18 years agor204: We now diff and log custom bug fields. This page is getting really query heavy...
Robert Sesek [Sun, 29 May 2005 20:27:41 +0000 (20:27 +0000)]
r204: We now diff and log custom bug fields. This page is getting really query heavy...

18 years agor203: - Custom field `select_single` now is stored as a string instead of an integer...
Robert Sesek [Sun, 29 May 2005 03:34:28 +0000 (03:34 +0000)]
r203: - Custom field `select_single` now is stored as a string instead of an integer representation of the string in the $field['selects'][] array
- construct_custom_fields() [includes/functions.php] now supports existing values in the $bug[] parameter

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

19 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

19 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.

19 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.

19 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

19 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]

19 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

19 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

19 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

19 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

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

19 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

19 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

19 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

19 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]

19 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

19 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