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