Thursday, 2010-06-10

../irclogs/#mantishelp.2010-06-10.log
--- scribe started ---00:00
CIA-22Mantisbt: daryn * rb4038b50a16c / (5 files in 3 dirs): Load common.js after jquery conflicts have been resolved.05:10
CIA-22Mantisbt: daryn * r2dc8409eb9d5 / (3 files in 3 dirs): Remove ToggleDiv call from the html and add jquery listener. Modify to use05:10
CIA-22Mantisbt: daryn * r1819bbdf8c2d / (54 files in 6 dirs): Add html_css_link function and convert hardcoded links to use the function.06:02
guneeHi everyone. Is there a way to configure Mantis so that the e-mails related to a same bug are threaded ?12:35
Cupertinohi davidinc12:45
CupertinoI see you updated reminder again12:45
davidincCupertino: hi12:58
Cupertino:)12:59
davidincCupertino: what can I help you/12:59
davidinc?12:59
Cupertinonothing m812:59
Cupertinojust wanted to say hi and say i uploaded your new version13:00
nuclear_eclipsegunee: they should all be part of a single thread afaik, or it at least works that way in Thunderbird13:01
davidincCupertino: Cool have fun!!13:02
guneenuclear_eclipse: thanks for the answer. I use thunderbird though, and messages do not appear as threads.13:03
guneeIs it possible that the Mantis version installed on our server is buggy ? It's 1.0.0 rc 213:03
nuclear_eclipseoh13:04
nuclear_eclipsethat's quite out of date...13:04
nuclear_eclipseyou should *really* try to upgrade to the latest stable versions13:04
guneeso it seems... I'll talk to the server admin about that. What would be the recommended version ?13:05
nuclear_eclipse1.2.1 is the latest stable version13:06
guneeok. I'll see what I can do...13:06
guneeHi again. I've read the documentation about e-mail notifications but I haven't really understood how to replace the $g_to_email parameter. Can someone help me ?15:57
nuclear_eclipsedaryn:16:18
darynlo16:18
nuclear_eclipsegunee: add a new line in your config_inc.php with $g_to_email = "wahatever";16:18
nuclear_eclipsedaryn: re your jquery changes in master16:19
darynya?16:19
nuclear_eclipsedoes that maintain the existing behavior of remembering what divs a user has collapsed for future page loads?16:19
darynyes16:19
nuclear_eclipseok, cool, it just wasn't immediately obvious from the diffs :P16:20
darynit still calls ToggleDiv, it just gets assigned from the script16:20
darynthere is one minor bug i found when hitting the report page the Ajax object is not found and then it forgets the settings. i'll be tracking that down soon16:22
daryni'm cleaning up filter changes now and piecing together the commits so hopefully you'll have something to look at real soon16:23
nuclear_eclipseawesome16:24
daryni updated your product matrix plugin as an example as well16:24
nuclear_eclipsewheee!16:24
darynit isn't 100% because i wasn't sure on a couple of things but at least it will give you an idea of what i'm doing16:25
nuclear_eclipsepvm filters are quite a workaround hack, very tightly tied to the way that mantis internals work... =\16:28
nuclear_eclipseeg, using a filter to specify a set of columns to force into the current configuration16:29
darynok, well, maybe that won't be necessary now. we can talk about it once i push to forge and figure out how it should work16:29
nuclear_eclipseok16:29
nuclear_eclipsetbh, I did it that way because I didn't like any way of integrating that as part of the core filter/plugin system16:30
nuclear_eclipseie, better to have the tacky stuff in a single plugin than part of the core APIs16:30
darynright16:30
guneenuclear_eclipse: thanks, but is this also valid for version 1.2.1 ? I've done what you suggested, but it doesn't seem to be working. What about the last bullet of this section http://docs.mantisbt.org/master/en/administration_guide.html#ADMIN.CUSTOMIZE.EMAIL ?18:44
nuclear_eclipsegunee: I don't see "to_email" anywhere in config_defaults_inc.php in 1.2.1, so I guess not18:49
guneeThis is what I understood when reading the doc I pointed above18:51
nuclear_eclipseunfortunately, much of the admin guide is leftover from 1.0.x and 1.1.x... =\18:52
ultra_blueHello, everybody. Mantis 1.1.8. Is there a way to prevent released versions from appearing in the Report Issues page? Thanks!18:52
ultra_blueIn the 'Target Version' drop down.18:53
guneeI created an account for our bug reports mailing list, but the mailing list still doesn't receive messages. I'm not sure if I configured the mailing properties for this user correctly...18:53
nuclear_eclipseultra_blue: a) that should only happen by default for developers or higher, and b) it's a configurable threshold that you could set to NOBODY18:53
nuclear_eclipseultra_blue: counter intuitively, I believe $g_report_issues_for_unreleased_versions_threshold controls that18:55
ultra_bluenuclear_eclipse: Understood. But I often get confused about which version I'm applying an Issue to, and since we never add Issues to released versions, it would be great if they didn't appear at all.18:55
ultra_bluenuclear_eclipse: sweet. I18:55
ultra_blue'll take a look.18:56
ultra_blueIt looks like $g_report_issues_for_unreleased_versions_threshold controls who can assign Issues to an unreleased version. I want to hide released versions in the 'Target Version' drop down.19:02
nuclear_eclipsehide individual released versions, or all of them?19:09
ultra_bluejust individual released versions.19:10
ultra_blueOnce we release, there's no need for them appear in that list anymore. Once a release has happened, we can't add any more Issues to it. Cause it's released.19:11
ultra_blue;)19:11
nuclear_eclipsein that case, you should be able to set the version as "obsolete", which will hide it from the various version dropdowns, as well as the roadmap/changelog, but I don't know of a way to hide individual versions from *only* the target version field, although IMO that sounds like a bug, because you shouldn't be able to set something to target a released version...19:12
nuclear_eclipseper chance, are you using versions inherited from a parent project?19:12
nuclear_eclipsenvm, inherited versions were added in 1.219:13
ultra_blueLemme see if obsolete is an option.19:14
nuclear_eclipseeither way, you might want to consider upgrading to version 1.2.1, first to see if it fixes the behavior, but also because it hasa lot of feature and security updates19:16
ultra_blueGood advice. I'll see if I can rattle the system folk chains a little. I don't see any way of setting the version to obsolete in our version.19:17
ultra_blueThanks for your help!19:17
nuclear_eclipseultra_blue: that might be yet another feature added in 1.2.x =\19:19
nuclear_eclipseit's hard to keep track19:19
ultra_blue<nods> But still, you're right, we should upgrade.19:19
ultra_blueHow painful is it?19:19
ultra_blueOn a scale of 1-10. ;)19:20
nuclear_eclipseabout 3 or 4, assuming you don't have any customizations to the code19:22
ultra_bluehardly any.19:22
nuclear_eclipsebackup your database/install, copy configs and custom_* to the fresh 1.2.1 install, point your browser at admin/install.php to upgrade the database schema, and that should be it19:23
ultra_blueIt took us awhile to realize that we can configure Mantis a lot, and that what comes out of the box isn't necessarily best practice but more of a guideline.19:23
nuclear_eclipsehttp://git.mantisbt.org/?p=mantisbt.git;a=blob;f=doc/INSTALL;h=e77fc6a7818d89e7ebbd748b345f3ba4b83b3c7c;hb=a6a8ed17748a91e019239beff77869c94198a23219:23
ultra_blueHa, sweet.19:24
ultra_blueSystems folk love short instructions.19:24
nuclear_eclipseI don't like writing long instructions :P19:25
ultra_blueAh, that's your work?19:27
nuclear_eclipseyep19:28
guneenuclear_eclipse: Still no idea of how to fix this problem ?19:29
nuclear_eclipsegunee: no, I'm not sure19:29
nuclear_eclipseI rarely deal withemail in mantis19:29
ultra_blueAh. Well thanks again for your attention.19:29
guneeok. Thanks anyway19:29
nuclear_eclipseultra_blue: np, hope the upgrade works out19:30
shruggarwhen trying to view rss feeds for mantis, I get: "APPLICATION WARNING #403: Database field "email" not found."  at the top of the xml output. I have already tried running the upgrade script under admin/, and have updated to 1.2.119:45
shruggarcan someone with a working install send me a mysql schema?19:55
guneenuclear_eclipse: I finally managed: I created an account with the bug reports ML address, set it up as a viewer account, and then I ticked all the boxes for "viewer" in the E-mail notifications page.20:09
guneeIt is cheesy, but it seems to be working. I wonder why the developers have decided to remove this g_to_email setting though...20:10
guneeAnd e-mails are still not threaded, but I think that comes from our mailing list system.20:11
shruggarapparently, somehow there were some issues with an invalid reporter_id20:19
slestakhi guys.  upgradign my 1.1.6 vm to 1.2.1  I have my backups and have copied the new code to the vm.  I am getting a 403 forbidden on install.php20:54
slestaki dont think i would need to modify my apache vhost for the upgrade.  I see the permission denied in apaches error.log20:55
slestaki tried this from localhost in lynx as well as from remote browser.21:06
pconradHi Everyone23:31
pconradI'm trying to do some custom reporting against the SQL tables for my Mantis install23:31
pconradand am wondering if anyone knows off the top of their head where the mapping between the bug status codes in the status field of mantis_bug_table and the text status codes lives?23:33
pconradI'm gonna start hunting through source code in a minute, but I figured I'd ask the room first in case someone just knows off the top of their head23:33
pconradOne of the things I'm trying to do in my custom reports is locate bugs that are either 'resolved' or 'closed'23:35
pconradI can hard code "90" and "80" in my SQL queries but I'm wondering if there is any reason not to do that... i.e. do these numbers live in a configuration file or a database table somewhere?23:38
pconradI see code such as config_get( 'bug_resolved_status_threshold' )   that makes me thing that there is some mapping somewhere I might be able to look up...23:38
pconradOk, core/config_api.php seems to be the code where the thresholds are looked up23:43
pconradand it seems you look first in cache, then database, then $GLOBALS23:44
pconradwhere are the $GLOBALS set?  that's what I haven't found yet23:44
pconradThe answer appears to be core/constant_inc.php23:49
pconradThat's not where $GLOBALS is defined---haven't found that yet---but it is where the relationship between "80" and "90" and "resolved" and "closed" is made23:51
pconradSounds like its ok to just hardcode 80 and 90 at least for now----can anyone at least say "yup, sounds ok"?23:52

Generated by irclog2html.py