Tuesday, 2009-06-02

../irclogs/#mantishelp.2009-06-02.log
--- scribe started ---00:00
MkJackson1for some reason my mantis server fails to shoot out e-mails to the users when I create them nor does it shoot e-mails to users when they request their password01:36
nuclear_eclipsedo notifications work when reporting/updating issues?01:37
MkJackson1hmm haven't really set up anything yet but I'll give that a shot01:37
nuclear_eclipseMkJackson1: if you're runnig Mantis on a Windows server, you'll need to configure Mantis to use an existing SMTP server to send mail01:38
MkJackson1any way to do that via the mantis web interface01:47
nuclear_eclipseno, you'll need to copy the settings from config_defaults_inc into your config_inc.php and make the modifications there01:48
mantisbotNew bug: Bug 10550 - mravcek - open - new08:13
mantisbotNew bug: Report issue via email - http://www.mantisbt.org/bugs/view.php?id=1055008:13
mantisbotNew bug: Bug 10551 - aliang - open - new09:13
mantisbotNew bug: all list is MULTIPLE - http://www.mantisbt.org/bugs/view.php?id=1055109:13
mantisbotNew bug: Bug 10552 - datacompboy - open - new09:28
mantisbotNew bug: Add working timer - http://www.mantisbt.org/bugs/view.php?id=1055209:28
mantisbotNew bug: Bug 10553 - datacompboy - open - new09:53
mantisbotNew bug: Mantis on www.mantisbt.org/bugs/ sends mails in wrong encoding - http://www.mantisbt.org/bugs/view.php?id=1055309:54
mantisbotNew bug: Bug 10554 - Clifton - open - new10:44
mantisbotNew bug: Enroll causes "Sytem Error" and crashes - http://www.mantisbt.org/bugs/view.php?id=1055410:44
mantisbotNew bug: Bug 10555 - Clifton - open - new11:04
mantisbotNew bug: Sale with product 5 fails - http://www.mantisbt.org/bugs/view.php?id=1055511:04
sbshi all14:13
sbsI am looking for a project version manager for mantis but haven't be able to find one14:13
nuclear_eclipsewhat do you mean?14:13
sbswe have many projects in a kind of top down hierarchy, so version management is a pain since I have to setup the version of each projec by hand14:14
sbsI would like to setup the version on the top project and have it flow down automagically to all subprojects14:14
nuclear_eclipsesbs, that's not possible currently, but there is an option to copy versions from one project to another; you could define versions at the top-level project and just copy it to all the subprojects...14:15
sbsI have seen and have used that14:22
sbsbut coping from 1 project to twenty some project is just such a pain and so much error prone that I wonder how people manage version in real life14:23
nuclear_eclipsea) most people probably don't have large project hierarchies, b) a very similar problem is why I created the ProductMatrix plugin for Mantis 1.2, which allows you to define products and versions outside of the project hierarchy, and set statuses against more than one version on the same issue, and it builds a roadmap/changelog for each product/version, while still allowing you to use the standard project/milestone system as well14:25
sbsso that's basically what I am looking for :)14:26
sbsis thta publicly available?14:26
nuclear_eclipsehttp://git.mantisforge.org/w/product-matrix.git14:26
nuclear_eclipserequires development builds of 1.2 though14:26
sbshow much risks does that put on my install?14:27
d1bhi mantis is amazing! but how can i stop useres from signing up / using stuff without an admin auth ?14:27
nuclear_eclipsesbs: depends on how important/critical your install is :P14:29
sbsd1b: iirc there is an option flag to disable the sign-up page14:29
d1bsbs: where do i find that + where do i find this twitter thing?14:29
nuclear_eclipsed1b: set `$g_allow_signup = OFF;` in your config_inc.php14:30
d1b(i see it on the maintsbt wiki. oh so mantis is mostly configured by that file ?14:30
d1bi just install it and i'm really really impressed.14:30
nuclear_eclipsefor the twitter plugin, you'll need to be running a development version of mantis 1.2, and you can get the mantweet plugin from git.mantisbt.org14:31
sbsnuclear_eclipse:  this install is our "production" install, but it's mostly used internally14:31
sbscustomer have access, but there are very few actually using it14:31
nuclear_eclipsesbs: as anecdotal evidence, we've been running version 1.2 on mantisbt.org for a long time14:32
d1bi'm running nuclear_eclipse i'm running that i will checkout the git repo. any other neat plugins to use / test?14:32
nuclear_eclipseI've also been using 1.2 on my own sites, and we're using it at my company14:33
nuclear_eclipsed1b: look at http://git.mantisforge.org for a comprehensive list of public plugins14:33
sbsok so the "this is not good for production... " is just for noobs :p14:33
sbsI'll upgrade and try the matric stuff thanxs14:33
nuclear_eclipsesbs: it's for people who expect things to never have growing pains :P14:33
nuclear_eclipsesbs: also note that the matrix plugin has a soft dependency on jquery, which allows for a collapsible version hierarchy...14:35
nuclear_eclipsejquery plugin can also be found on git.mantisforge.org14:35
sbsnuclear_eclipse:  I have at the moment no clue about the impact of jquery soft dependancy, but I'll find soon enough. :) Thanks for the info and the link. I'll sign in back some time later if I can't figure out how to get this running14:37
d1bso with these publics how do i install them14:42
d1bdo i need to set configs as well as dropping files?14:43
nuclear_eclipseeither a) download a snapshot from gitweb and extract into your mantisbt/plugins/ directory, or b) make a local git clone, and set up symlinks in the plugins directory14:43
d1bnuclear_eclipse: is there a plugin for csv / text email import for users ?14:44
nuclear_eclipsed1b: most configuration for a plugin (if any) should be contained within a UI in the manage plugins page in mantis14:44
d1bthank you.14:44
nuclear_eclipsed1b: not that I know of14:44
d1bum i cannot git clone the entire git.mantisforge.org or is that my fault...14:48
nuclear_eclipseyou need to clone an individual plugin's repository14:49
nuclear_eclipseeg, `git clone git://git.mantisforge.org/<plugin>.git`14:49
d1bOH14:49
d1bok.14:49
d1bi have only used git over ssh atm ;)14:50
d1bfetch-pack from 'git://git.mantisforge.org/w/ical.git' failed.14:50
d1boh i dind't remove the w14:51
d1bk ignore me14:51
d1bbtw i'm interested in what drives mantis14:55
d1bgiven that there are so many uses of this kind of software.14:56
nuclear_eclipsePHP drives it, and sheer willpower :P14:56
d1bnuclear_eclipse: pitty i don't know php yet ^^14:57
sbsis it possible to update a mantis mysql db to sqlserver? does that have side effects? is this a manual operation or is there some kind of automated script for that?14:58
nuclear_eclipsesbs: you'll probably need to do some sort of manual work to make the conversion; try looking for existing tools that might ease the conversion process...14:59
d1bAPPLICATION WARNING #2400: Event "EVENT_ACCOUNT_PREF_UPDATE" has not yet been declared.15:07
d1bdid i do something wrong?15:07
nuclear_eclipsed1b: you need a nightly build of 1.2 - the a3 release is not new enough15:09
nuclear_eclipseI'm implementing events at the same time that I'm implementing individual plugins :)15:10
d1boh ...15:11
d1bah  can i upgrade this to a nightly then.15:11
d1b can i git ini and then clone minus the config ?15:11
d1binit*15:11
d1b ah merge15:11
d1bor is there an older version that does need nightly related / introduced things?15:15
nuclear_eclipsed1b: you should be fine just pulling the latest from Git15:20
d1bnuclear_eclipse: how often will this be updated / break on me tho.15:22
nuclear_eclipsed1b: sporadic, but we're trying to push for an RC release, so things should hopefully be rather stable on it15:23
d1bok.15:24
d1bi find it funny how  i was looking for a project management suite and ended up with mantis15:25
d1bthis is for a comp society tho15:25
d1ber is it possible to modify the description of an issue?15:28
d1bah found it15:28
d1bcan i colour issues by priority?15:32
nuclear_eclipseno, it's hardcoded to color by status15:33
d1bnuclear_eclipse: oh.15:35
d1bpitty that was the one thing i was after.15:35
d1boh well back tolooking15:35
d1bmight get my friend to help code a php plugin if i can't find anything else.15:35
d1bor can i file a feature request?15:36
nuclear_eclipsejust make sure you look to see if it's already been requested :P15:41
d1bnuclear_eclipse: k15:43
d1bnuclear_eclipse:  is there a method of confirming many issues at a time?15:50
nuclear_eclipsed1b: from the View Issues page, select multiple issues and choose a group action from the dropdown15:51
d1bok15:52
d1b+ what's with all the clicking ... seems silly to me to have to click to reload a page ;)16:21
CIA-61Mantisbt: jreese * r209070a7ff3f /core/email_api.php: Remove old email_api functions that are no longer used.17:57
mantisbotNew bug: Bug 10556 - aik099 - open - new18:51
mantisbotNew bug: Function "config_get" used in plugin "init" function gives fatal error. - http://www.mantisbt.org/bugs/view.php?id=1055618:51
mantisbotNew bug: Bug 10557 - erick - open - new19:01
mantisbotNew bug: MUESTRA - http://www.mantisbt.org/bugs/view.php?id=1055719:01
nuclear_eclipsepaul_: there?19:30
nuclear_eclipsethraxisp: got a moment?19:37
thraxispnuclear_eclipse: A few19:41
nuclear_eclipsejust sent a mail to dev list about testing a fix for emails/bugnotes; can you take a few to try and test/verify the fix?19:48
nuclear_eclipsehttp://git.mantisforge.org/w/mantisbt/jreese.git?a=commit;h=a6e8a4b1e1cd23607080048345a8dc9ddd3835b019:49
paul_moo20:00
nuclear_eclipsehi paul_20:00
paul_that looks dangerous20:01
nuclear_eclipsepaul_: the only thing that calls bugnote_get_all_bugnotes is bugnote_get_visibile_bugnotes =\20:01
paul_anyway20:02
nuclear_eclipseso changing the semantics of that function doesn't affect anything else20:02
* paul_ playing with graphs :P20:02
paul_or about to20:02
paul_we stop breaking trunk on saturday right?20:02
nuclear_eclipseright20:02
paul_so annoying20:06
* paul_ wonders if theres any docs on this plugin rubbish :P20:13
nuclear_eclipsehttp://docs.mantisbt.org/master/en/developers/dev.plugins.html20:14
nuclear_eclipsewhether or not you consider those sparse pages documentation is an exercise for  the reader :P20:14
paul_erm20:23
paul_I dont like how you've done lang api for pugins20:23
* paul_ slaps nuclear_eclipse 20:23
nuclear_eclipsepaul_: thanks for letting me know that about 10 months after plugins were in core :P20:23
paul_well20:24
paul_np20:24
paul_:)20:24
nuclear_eclipseyou *were* consulted on plugins before they went into core, you know....20:24
paul_:)20:24
nuclear_eclipseand you never complained back then...20:24
paul_i'm not pcomplaining20:24
paul_i'm just observing20:24
paul_atm20:24
paul_if you define a language string within a plugin20:24
paul_that matches another plugins language string20:25
nuclear_eclipsepaul_: that was an explicit design decision20:28
paul_one should use plugin.php to reference pages within the plugin?20:29
nuclear_eclipseit allows plugins to redefine core language strings as needed, which is already useful in product-matrix.git to differentiate between product-versions and project-versions (renamed to milestones)20:29
nuclear_eclipsepaul_: if you want to reference a page, use the plugin_page() function to get a URL to the page20:30
paul_so erm, how do I add something to a menu bar?20:30
nuclear_eclipsehook EVENT_MENU_MAIN and return a link20:31
paul_john20:31
paul_need a new EVENT :)20:32
* paul_ likes the copy/paste job so far20:32
paul_nuclear_eclipse: what arguments get passed to menu events?20:39
nuclear_eclipseevent_name is always the first parameter passed to any event hook20:40
nuclear_eclipsefor menu events, there aren't any other parameters passed20:40
paul_it needs to take in page name20:43
paul_so you can hide menu item if it's already selected?20:43
paul_or mroe hmm20:43
nuclear_eclipsehmm, what?20:43
paul_atm20:44
paul_we remove the link20:44
paul_if your on the page20:44
paul_so yea20:50
paul_atm on the menu's20:50
paul_we show <a>Users</a> | Projects | <a>Tags</a>20:51
paul_Note the missing hyperlink on 'Projects' as its the page we are on20:51
* nuclear_eclipse thinks paulr is splitting hairs....20:51
paul_well20:51
paul_we either need to consistently leave links there always20:51
paul_or pass page name into menu events20:51
nuclear_eclipsepaul_: I'm sure there's a better way than passing a param to the event....20:53
paul_what would you suggest :)20:53
nuclear_eclipseeg, why pawn off the processing to the plugin when you can handle it in the menu function?20:53
nuclear_eclipseeg, a plugin could just call print_manage_menu( plugin_page( ... ) )20:53
nuclear_eclipseI dunno, just a thought20:54
nuclear_eclipseanyways, I don't think it's too terribly important of a problem...20:54
paul_is there an event to make submenus? :P20:56
nuclear_eclipseno20:56
nuclear_eclipseanywho, time to head home20:57
nuclear_eclipsecheers20:57
paul_cya20:57
paul_nuclear_eclipse: do you agree with thraxisp we should also keep jpgraph support?20:59
nuclear_eclipsepaul_: I have no preference on graphs, but back-compatibility is always nice to keep22:07
thraxispnuclear_eclipse: I looked at your patch. If you reverse the order and limit the number of notes, does it still work?22:29
MkJacksonhey folks, after I change the config_inc.php file do I have to restart any services (running via Windows)22:29
thraxispI have an install with bug notes in reverse order and it works fine BTW.22:30
thraxispMkJackson: no. It's picked up on the next page access.22:30
MkJacksonfor some reason e-mails aren't being sent out via my smtp account (gmail)22:31
MkJacksonI've set the mailer method to 2 (SMTP)22:31
MkJacksonalso set the host as 'smtp.gmail.com:587', user name as full address (with @gmail.com) and the password is right as well22:32
nuclear_eclipseMkJackson: I think gmail SMTP support only works correctly in 1.2 atm22:38
paul_thraxisp: do you really think we need to keep jpgraph support?22:48
paul_(data needs to be structured slightly differently between the graph apis)22:48
thraxispodd. As I recall,I separated the data extraction and graph,  It passes arrays of data points and labels.22:58
paul_yes22:58
paul_but the array structure is different22:58
paul_with ezc i'm doing:22:59
paul_$t_metrics[0][$t_date] = $t_last_opened = $metrics[$i][0] + $t_last_opened;22:59
paul_$t_metrics[1][$t_date] = $t_last_resolved = $metrics[$i][1] + $t_last_resolved;22:59
paul_$t_metrics[2][$t_date] = $t_metrics[0][$t_date] - $t_metrics[1][$t_date];22:59
paul_compared to23:00
paul_$t_metrics[$t_date][0] = $t_last_opened = $metrics[$i][0] + $t_last_opened; with jpgraph23:00
* paul_ doesn't mind keeping both but that just makes code slightly more complicated23:00
thraxispI'd be disappointed if jpGraph disappeared altogether. It takes some work to get it going.23:04
thraxispIs there a reason to change it? I need to look at the code, but I think that the arrays are unpacked in the rendering part.23:05
thraxispbbl23:05
MkJacksonstill no love, I've changed my smtp to another account and e-mails are still not showing up23:20
MkJackson set the host as 'smtp.cbeyond.com:587', user name as full address and the password is right as well23:23

Generated by irclog2html.py