Disable MySQL strict mode so that errors do not occur if the server has it set. Fixes...
[bugdar.git] / docs / changes.txt
1 2.0.0 Beta 1
2 ===============================
3 - Enhancement: Custom columns can now be displayed on the bug listings (bug://report/73)
4
5 1.2.3
6 ===============================
7 - Fixed: #121: Custom select field that is mandatory doesn't accept the first option as a valid entry
8 - Fixed: Improved XHTML compliance in various templates
9 - Fixed: #134: Column headers (defined in includes/definitions.php) were not marked with T() for translation
10 - Change: Required custom select fields will no longer show the empty option (these fields could not be saved as empty, though, because they wouldn't validate -- this is purely an interface change)
11 - Change: The description (first comment) is now stored in a separate variable from the rest of the comments, allowing for one to move its placement in templates/showreport.tpl
12 - Fixed: #148: The permission mask fields were smallint, when they should be int to hold larger int values that permission masks have
13 - Fixed: #67: MySQL's strict mode would cause installation to fail
14
15 1.2.2
16 ===============================
17 - Fixed: A "Call-time pass-by-reference has been deprecated" on search.php
18 - Fixed: Users could not be approved due to a improper email template paths
19 - Fixed: After mass-updating a search result set, if the search criteria were changed the user would be stuck in a "no results" error (bug://report/93)
20 - Change: Do not show the version number on non-admin pages (bug://report/95)
21 - Fixed: If a user has set a language that does not exist anymore, then bug notifications would fail (bug://report/97)
22 - Fixed: Users of UTF8 languages would experience problems after upgrading (if the $utf8 config directive as ON) because the installer wasn't running in UTF8
23 - Fixed: In Authentication::_createBugdarUser there was a variable capitalization error (bug://report/106)
24 - Fixed: Comments posted by guests could not be deleted (bug://report/120)
25 - Change: There's now a (hidden debug) option to use a custom .mo reader instead of the built-in Gettext extension for localization (bug://report/49)
26
27 1.2.1
28 ===============================
29 - Change: In installation and upgrade documentation, it is now advised that users delete install/global.php (bug://report/91)
30 - Fixed: In order for new results to show up on a rerun search query, the page would have to be refreshed twice (bug://report/90)
31 - Fixed: The installer sets the wrong version number
32
33 1.2.0
34 ===============================
35 - Fixed: In userctrl_search.tpl, the floated elements need to be before unfloated ones otherwise Gecko engine offsets it by a line
36 - Fixed: Closed a SQL injection vector in register.php
37 - Fixed: Users could not vote against a bug due to too tight sanitization (bug://report/84)
38 - Fixed: A "call to undefined function A()" would be thrown under some occasions when viewing a bug
39 - Change: Email templates are now found in the locale/ directory so they can be translated (bug://report/81)
40 - Fixed: Column headers were not translated for multiple languages (bug://report/79)
41 - Fixed: Multibyte language emails are now sent out correctly (bug://report/82)
42
43 1.2.0 Release Candidate 1
44 ===============================
45 - Enhancement: Allow sorting and display of the "assigned to" column on grid display
46 - Fixed: Comments wouldn't be displayed in a right-to-left fashion if the language is RTL (bug://report/80)
47 - Fixed: When submitting the lost password form, error checking was disregarded because we were checking for errors the old way
48 - Change: Force utf8 as the default installation collation for MySQL
49
50 1.2.0 Beta 3
51 ===============================
52 - Fixed: If Gettext isn't installed, a function-not-found error would be thrown
53 - Fixed: On PHP4 systems, a "call to member non-object" error would be thrown because the Authentication class does not have a PHP4 constructor
54 - Fixed: In lost password reset emails, the subject would appear as "Array['trackertitle']" because the variable was not enclosed in curly braces
55 - Fixed: On PHP4 systems, a bug in the BugAPI would prevent any data from being saved because PHP4 doesn't support call_user_func() of parent:: selectors
56 - Change: When clicking the "[Run Search]" link in the "Saved Searches" section of the "Options" tab, force the search to rerun
57 - Fixed: Some email roles would not get notified under certain circumstances because the list of users to notify was reset
58 - Fixed: Errors would occurr on installation due to a problem with not loading all the data at the right time
59 - Enhancement: The installer will now check to ensure that all the proper MySQL permissions are enabled
60 - Fixed: A PHP warning could be generated due to passing an argument by reference (bug://report/78)
61
62 1.2.0 Beta 2
63 ===============================
64 - Fixed: Emails wouldn't be sent out for new comments due to a bug with updating the notices array
65 - Fixed: Searches wouldn't be rerun after 15 minutes because of a typo in the time calculation
66 - Fixed: The installer would show an error if gettext wasn't installed because the emulator wasn't loaded early enough
67 - Fixed: Close a large bug that would cause a PHP error to be thrown regarding string offsets during notification processing
68 - Fixed: Email notifications would be essentially empty in all circumstances
69 - Change: Removed the stylevars system in place of additional CSS classes for formatting of tables and alternate row colors
70 - Fixed: Defining the NO_VERSION_CHECK constant wouldn't work due to a typo in admin/index.php
71 - Fixed: Automations wouldn't properly save custom field changes in the admin section
72 - Fixed: Automations would have no effect on custom fields when running them from the edit screen
73 - Fixed: A SQL error would occur when saving a new usergroup
74 - Fixed: In the product-level permissions screens, not all the products would be listed
75 - Fixed: A minor display issue would occur in a rare instance when showing an error message when trying to add a version without a product
76 - Fixed: If any fields had invalid data in editreport.php no validation errors would be thrown
77 - Fixed: The Logging system would add extra empty logs that would pollute the database; fixed this and then added queries in showhistory.php to clean it up
78 - Fixed: PHP smart tags were used in the installer, which if not enabled on the server would produce strange output (bug://report/67)
79 - Enhancement: Users can now belong to a single primary usergroup and multiple secondary groups, greatly increasing permission flexibility (bug://report/70)
80 - Enahncement: Usergroups can be cloned to allow fast duplication of permissions
81 - Fixed: Even after calling UsergroupAPI::delete(), there would still be usergroup remnants in bugfieldpermission and permission tables
82 - Fixed: The javascript cancel buttons wouldn't work due to a parse error
83 - Fixed: When approving users, the approval email would never be sent and a method not found error would be shown
84
85 1.2.0 Beta 1
86 ===============================
87 - Change: When a user does not have any favorites in his list, show a message instead of an empty screen
88 - Enhancement: Added the ability to show all the users in a paginated list in the admin section (bug://report/55)
89 - Enhancement: Can export search results to an XML file (bug://report/41)
90 - Enhancmenet: Links in comments can be parsed if the option is checked (bug://report/2)
91 - Enhancement: Components can now be displayed on the bug grid (bug://report/43)
92 - Enhancement: Votes can now be displayed and sorted on the bug grid (bug://report/13)
93 - Enhancement: Users can save a search so they can rerun it at any time
94 - Fixed: Component and product changes wouldn't appear correcly on showhistory.php
95 - Enhancement: Versions can be marked "Obsolete" so new bugs cannot be filed against them
96 - Change: When there are no bugs to display on index.php, don't show an empty grid, but rather an error message
97 - Optimize: Reduce a query on bug updates by not querying the automation system if it is not being used
98 - Optimize: Move custom field data into the bug table to reduce the use of JOINs
99 - Optimize: Remove a query on userctrl.php's save options called by build_assignedto() because the API already does this for us
100 - Optimize: Setting system cleanup that improves speed by reducing queries and not using eval()
101 - Enhancement: Search results can be mass-updated to change bug fields
102 - Change: Search system no longer stores the actual query of the search, but rather the paramters
103 - Enhancement: Added a lost password reset system
104 - Fixed: Cached usernames would be cleared by the UserAPI if the display name wasn't set in the values array
105 - Enhancement: Extracted email text to the template system to make it easier to modify them
106 - Enhancement: Improved the admin security system by creating a session system that is much harder to bypass
107 - Change: Cleaned and refactored up the MessageReporter class
108 - Optimize: Template are now cached in the database to greatly improve speed; this does not effect editing templates at all
109 - Enhancement: An Authentication API was created in order to allow custom applications or databases to be used when authenticating at either login or with cookies
110
111 1.1.5
112 ===============================
113 - Fixed a potential SQL error on search.php because no results were found (bug://report/62)
114 - Fixed a SQL error on admin/user.php when adding a new user from the admin section (bug://report/63)
115 - When adding a new user from the admin section, email options were not saved properly
116 - Added an option to only perform header redirects instead of intermediate-stage redirects (bug://report/65)
117 - Fixed a foreach() error after adding a new user in the admin section without email options [admin/user.php#102]
118 - Fixed a minor typo on the guest welcome banner (bug://report/66)
119
120 1.1.4
121 ===============================
122 - Time zones with half-hours are not saved because the field only allows INTs (but://report/38)
123 - Fixed a SQL error received upon deleting a resolution (but://report/40)
124 - When searching and selecting multiple items for a field, only the first one is used in the search (but://report/39)
125 - Need to cast the unserialized data to an array to remove an implode() warning [admin/field.php#235]
126 - When $bugsys->options['pagelinks'] is set to 0, it now actually does its advertised behavior (but://report/45)
127 - Foreign langauge users cannot use the product/component editing system beacause localized strings are used to create the do actions instead of english variable ones (but://report/42)
128 - Fixed a SQL error that would occur when editing a report with no emails linked to it (but://report/46)
129 - Added the ability to delete attachments from the database (but://report/47)
130 - Fixed a scrollpane bug related to new reply <textarea>s in IE (but://report/48)
131 - In the "My Controls" tab, change the name of the email and password fields to prevent autocomplete from working on them
132 - Include the Gettext mimic functions into the installer so people without the PHP extension can install Bugdar (but://report/51)
133 - Fixed a SQL error that would occur when editing or deleting comments (but://report/52)
134 - Allow administrators to set the default time zone which guests view all times and dates in (but://report/53)
135 - The "[Edit]" and "[Delete]" options for attachments were off by one line (but://report/56)
136 - Fixed a spelling error in search.php when there is no search criteria
137 - Adding a quick search feature to the header bar (but://report/57)
138 - Fixed an occurence in header.tpl where the $stylevar align wasn't used, but a hard-coded one was
139 - Only allow JPG, JPEG, PNG, and GIF attachments to be displayed inline because all other types could lead to an XSS attack
140 - Added maxlength attributes to all <input type="text"/> fields so the database doesn't truncate (but://report/58)
141 - Fixed display issues in Firefox for RTL languages in the bug report screen and attachment display (but://report/59)
142 - Localized the version checking information strings in admin/index.php
143 - Localized the word "Home" in the admin/index.php <title>
144 - Fixed a bug in admin/user.php where email options would be changed for the admin making the changes to another user's account instead of that user
145 - Emails weren't being sent under certain conditions for new comments
146
147 1.1.3
148 ===============================
149 - If a user leaves a comment and does not have bug change access, data loss occurs
150 - Fixed IE's redirection issue when using Message_Reporter->redirect() (but://report/32)
151 - On the admin login page, prevent the number "15" from appearing as text and marked another string for translation that was missed
152 - Error messages are no longer hidden in IE6 (but://report/30)
153
154 1.1.2
155 ===============================
156 - Fixed a SQL injection on login.php (but://report/36)
157 - Fixed potential SQL injections on search.php
158 - Fixed potential SQL injections on install/install.php
159
160 1.1.1
161 ===============================
162 - Registration email functions do not work because they are not ISSO2/Mail compatible [register.php]
163 - Removed TABLE_PREFIX-related SQL errors in syndicate.php
164 - Use the correct language variable key for exporting the XML encoding in syndicate.php
165 - API-level errors are not caught in the registration process before insertion because of user_cumulative [register.php]
166 - Remove warnings on explain.php?do=products (but://report/29)
167 - Removed SQL errors when deleting a product or version due to bad column names (but://report/28) [admin/product.php]
168 - Added a way to view and approve "Pending" and "Awaiting" users
169 - Prevent a weird bug with notifications where multiple emails would be sent out to the wrong people
170 - Numerous improvements for RTL languages (but://report/34)
171
172 1.1.0
173 ===============================
174 - When gettext is not installed, a "method call on unobject" error is thrown
175 - Renamed "automatic action" to "automation"
176 - If no user comment is entered but there's an automation comment, then the automation comment is no longer disregarded
177 - Get rid of a foreach() warning if there are no products [admin/product.php#317]
178 - If no custom fields were setup, an empty query error would be thrown [newreport.php#130]
179 - If no custom fields were present, adding an automation would fail [admin/automation.php#74]
180 - Remove a warning when saving a usergroup and there are no custom fields present [admin/usergroup.php#221]
181 - Update cached usernames when the display name changes
182
183 1.1.0 Release Candidate 1
184 ===============================
185 - Fixed many problems with install/install.php
186 - Changed array casting instances to is_array() checks, which are better
187 - Made some of the email notifications better-worded
188 - Fix the correct stylevar for language codes
189 - Fixed another can_perform() product-based permissions check [search.php]
190 - More changes to syndicate.php to increase performance
191 - Add checks to newreport.php and search.php to see if there are products or versions, if there aren't, then throw a message about needing them to be setup
192 - Process custom field data on newreport.php
193 - Add regex matching check to process_custom_fields()
194 - Missed some string conversions to gettext
195 - If cookies do not authenticate right, unset them [includes/init.php]
196
197 1.1.0 Beta 2
198 ===============================
199 - Array casting to remove foreach() warnings [editreport.php#132]
200 - Update last post information after deleting a comment (but://report/25)
201 - Improved Atom feed by using a <table> and properly specifying type information
202 - Changed the access key for "Save Report and Add Another" button to E
203 - Removed potential warnings when there are no products [includes/functions.php#417] (but://report/26)
204 - Removed potential warnings if there is no page navigator [class_pagination.php#243] (but://report/26)
205 - Created a Language API
206 - Fix a call to a non-object error [editcomment.php#116]
207 - Switch to gettext language system instead of the XML-strings format
208 - Fixing warnings related to Printer->page_confirm() throughout the entire admin section
209 - After you delete a resolution, severity, priority, or status, set all bugs with the deleted field item back to the value set as default
210 - Fixed a bug where there could be two <select> menus in userctrl.php because we double-wrapped a <select> [userctrl.tpl]
211 - Cast to array to remove foreach() warnings [userctrl.php#160]
212 - Fixed a bug that would cause searching to result in a SQL error
213 - Added better checking of hidden bugs for the favorites list
214 - Better permissions checking in vote.php, viewattachment.php, attachment.php, showhistory.php, and favorite.php
215 - Fixed numerous permission checks in showreport.php
216 - Added a permission to allow viewing of one's hidden reported bugs ("canviewownhidden")
217 - Added an is_array() check to prevent foreach() warnings [admin/user.php#135]
218
219 1.1.0 Beta 1
220 ===============================
221 - User help cache was not rebuilt for descriptions in custom fields (but://report/7)
222 - Custom fields did not appear on newreport.php (but://report/8)
223 - If the first SQL query fails (datastore fetch), show a link to the installer (but://report/20)
224 - Removed potential divide by 0 warnings in showreport.php under PHP5
225 - No longer highlight the <title> and <input> tags when viewing a bug report (but://report/21)
226 - Removed potential implode() warnings in showreport.php under PHP5
227 - When logging out, you will be redirected to the page you were previously viewing
228 - Rewrote the logging mechanism
229 - Usernames are now cached in the database for bug reports to remove the need to do complex joins at runtime
230 - Added notification system (but://report/11)
231 - When searching, you can now select multiple values for <select> menus (but://report/3)
232 - Add a notice for guests explaining that registration is a good thing (but://report/19)
233 - Create a separate screen that lists a user's favourites (but://report/12)
234 - Atom syndication of the bugs list (but://report/18)
235 - Removed the useless "dependency" table
236 - Added the following APIs:
237 - Attachment
238 - Automatic action
239 - Bug
240 - Comment
241 - Custom field
242 - Priority
243 - Resolution
244 - Severity
245 - User
246 - Usergroup
247 - User help
248 - Added support for DST observation (but://report/22)
249 - Data (bugs and comments) can now be removed (but://report/16)
250 - Specific statuses can be hidden by the administrator and users individually (but://report/9)
251 - Column sorting of bug lists (but://report/14)
252 - Added a version checker in the admin section
253 - Removed the plus sign in "class1 + class2" for HTML CSS class attributes
254
255 1.0.1
256 ===============================
257 - Fixed a SQL error in voting for those with a table prefix (but://report/6)
258 - Users with register_globals ON can now install software
259 - Users with register_globals ON can now log in
260