Robert Sesek [Fri, 21 Mar 2008 02:55:35 +0000 (02:55 +0000)]
r1607: Updating all the language strings to use T() instead of _() so we can use our new custom MOReader class instead of the built-in Gettext extension.
Robert Sesek [Mon, 11 Feb 2008 20:02:26 +0000 (20:02 +0000)]
r1605: Comments posted by guests can now be deleted. Fixes bug://report/120
* docs/changes.txt: Changelog update
* includes/api_comment.php: Remove the relation on the Comment.userid field
* editcomment.php: Because we removed the relation on Comment.userid, we need to manually get the user info
Robert Sesek [Sat, 25 Aug 2007 15:41:34 +0000 (15:41 +0000)]
r1601: The installer wasn't running with the database in UTF8 mode (even if the config directive stated to do so). Therefore, this would break certain installations.
* install/global.php: Adding a SET NAMES query
* docs/changes.txt
Robert Sesek [Thu, 9 Aug 2007 19:03:25 +0000 (19:03 +0000)]
r1599: Fixed bug://report/97. If a user had selected a language that had since been deleted, the email notification system would fail because the template paths it would try to load wouldn't exist becuase the langcode wouldn't be added.
* docs/changes.txt
* include/class_notification.php:
(NotificationCenter::_localeFromUserId): Instead of checking if the language ID exists for the user, get the langcode for the user's language and check if *that* exists
Robert Sesek [Sat, 4 Aug 2007 17:46:45 +0000 (17:46 +0000)]
r1597: Adding custom columns to the bug listing display. Fixes bug://report/73
* includes/definitions.php: Removed
* includes/init.php: Do not include definitions.php anymore
* includes/class_sort.php:
(ListSorter::fetch_by_text): Fetch custom fields when getting the text information
(ListSorter::constructColumnHeaders): Use fetch_by_text() instead of $bugsys->columnNames[]
(ListSorter::_processColumns): Use fetch_by_text() instead of $bugsys->columnNames[] and make sure that the columns the user has selected actually exist (namely for permissions sanity)
(ListSorter::_fetchCustomFields): New method that returns all the custom fields in the system, or just the ones the user can see, based on a parameter
Robert Sesek [Wed, 1 Aug 2007 23:14:42 +0000 (23:14 +0000)]
r1596: * templates/header.tpl: Moving the inline styling for the quicksearch to be in #quicksearch
* templates/global.css: Adding #quicksearch definition
Robert Sesek [Wed, 18 Jul 2007 06:00:36 +0000 (06:00 +0000)]
r1581: Fixing a bug where we weren't properly setting $search variables in search.php which was making us rerun a search twice before newly-modified results would show up
Robert Sesek [Sun, 8 Jul 2007 00:00:30 +0000 (00:00 +0000)]
r1568: We now properly tell MySQL to use utf8 and we send a content-type header along with it, though it's an option in config.php so that people who don't use utf8 MySQL don't have problems
Robert Sesek [Thu, 5 Jul 2007 00:10:02 +0000 (00:10 +0000)]
r1566: Fixed an issue where header names weren't translated due to the fact that $bugsys->columnNames[] was being loaded (with gettexed strings) before the language system was initialized
Robert Sesek [Tue, 3 Jul 2007 06:32:40 +0000 (06:32 +0000)]
r1565: New bug notifications would have a template-not-found error because the langcode wasn't being calculated because we're loading the NotificationCenter->users[] array too late
Robert Sesek [Sat, 30 Jun 2007 18:22:12 +0000 (18:22 +0000)]
r1562: - Moving email templates into the locale/ directory so they can be translated into different languages
- Adding FetchEmailPath() so that the email template path doens't have to be given every time (since it is rather long)
- Updating all the locations where we send emails to use the new paths
Robert Sesek [Sat, 2 Jun 2007 06:10:43 +0000 (06:10 +0000)]
r1551: In login.php, $message->items would never be filled because it doesn't actually exist in MessageReporter, instead we should use $message->hasErrors()
Robert Sesek [Sun, 20 May 2007 02:15:07 +0000 (02:15 +0000)]
r1545: Adding the text-align attribute to the mid box section of the showreport_comment.tpl so that RTL comments are displayed RTL. Fixes bug://report/80
Robert Sesek [Sun, 8 Apr 2007 01:22:20 +0000 (01:22 +0000)]
r1538: Rebuild all the caches in install/upgrade13.php just to be safe because I think there may be some bad data from pervious installs... and it can't hurt (actually, we may want to do it after every upgrade)
Robert Sesek [Sat, 7 Apr 2007 02:00:13 +0000 (02:00 +0000)]
r1533: Apparently some systems don't like our pass-by-reference use of ProcessBugDataForDisplay(), so change it to be used with an assignment operation instead. Closes bug://report/78.
Robert Sesek [Mon, 2 Apr 2007 19:06:29 +0000 (19:06 +0000)]
r1528: In install/installer.php:
- Move the data caching system up to be right after we load settings and default data
- Call build_usergroups() right before we insert the new admin user, removing the problem of the usergroup datastore not being built for build_assingedto()
Robert Sesek [Mon, 2 Apr 2007 18:32:10 +0000 (18:32 +0000)]
r1526: In includes/class_notification.php#fetch_user_cache(), we no longer want to clear the roles[] array because it would actually prevent emails from being sent due to the way we use set_bug_data() in editreport.php
Robert Sesek [Wed, 28 Mar 2007 00:22:21 +0000 (00:22 +0000)]
r1524: In BugAPI::set(), we can't use our pretty call_user_func_array() logic, but rather we now have to do a physical call to parent::set() because of stupid PHP4
Robert Sesek [Tue, 27 Mar 2007 02:28:12 +0000 (02:28 +0000)]
r1523: In passwordreset.xml.tpl, we need to enclose the trackertitle variable in curly braces so it doesn't come out as "Array['trackertitle']" in actual emails
Robert Sesek [Mon, 19 Mar 2007 17:39:47 +0000 (17:39 +0000)]
r1512: In the approve users section of admin/usergroup.php, we were still using the mailing system from ISSO 2.0. Switched to using template-based emailing (which requires us to load the template system in that one file). Added templates/email/accountapproved.xml.tpl
Robert Sesek [Mon, 19 Mar 2007 00:04:28 +0000 (00:04 +0000)]
r1510: In draw_cancel() [templates/global.js] we can't use double quotes for window.location because that wouldn't mesh well with being placed inside an onclick attribute... in fact I dare say it would down right break it.
Robert Sesek [Sun, 18 Mar 2007 18:01:33 +0000 (18:01 +0000)]
r1501: We can actually simplify Logging::compare_arrays() by removing the array_diff() business because it really isn't necessary it turns out and was actually responsible for adding a whole bunch of useless logs to the system
Robert Sesek [Sun, 18 Mar 2007 17:47:05 +0000 (17:47 +0000)]
r1500: In showhistory.php:
- Enable multi-group support for custom fields
- Do not show custom fields in the history if users don't have permission to see them
- When we have a useless log (the very first empty checks at the top of the loop), kill them with a database query
Robert Sesek [Sun, 18 Mar 2007 17:35:45 +0000 (17:35 +0000)]
r1499: In editreport.php:
- Only set the standard bug fields if we have permission to change them (thus data isn't cleared when we don't have permission to)
- When setting the bug data for the NotificationCenter, use array_merge() to combine objdata[] and values[] so it doesn't look like we cleared all the fields if we didn't set them