Wednesday, 2010-07-07

../irclogs/#mantishelp.2010-07-07.log
--- scribe started ---00:00
ToffeePopsHi, is it possible to prevent users from updating 'additional information' after an issue has been opened?01:00
geek745got a bunch of typo suggestions for coding rules on http://www.mantisbt.org/guidelines.php04:23
geek745should I just hit the -dev mailing list for that?04:23
geek745the phpinfo.net page linked from the guidelines page is also not loading for me at this time...04:25
ToffeePopsHi, is it possible to prevent users from updating 'additional information' after an issue has been opened?10:52
nuclear_eclipseToffeePops: not without hack11:35
nuclear_eclipsea hack*11:36
ToffeePopsah, ok.11:37
ToffeePopsnuclear_eclipse: problem is we have some staff who keep modifying that info at the start of an issue, rather than just adding new notes...11:41
ToffeePopsSure there are those 'revisions' links in the issue history area... but it's a pain to always have to go to those. Basically it's a staff training/disipline thing, but it'd be nice if we could just stop them!11:41
nuclear_eclipseToffeePops: oh, I know!11:42
nuclear_eclipseToffeePops: edit your config_inc.php to remove those fields from the update page11:43
ToffeePopsoh, how cool is that! I'll take a squizz...11:43
nuclear_eclipseI keep forgetting that we've added that feature :P11:44
ToffeePopsnuclear_eclipse: works great, thanks!11:56
nuclear_eclipseyou're welcome :)11:58
ToffeePopsIt's a bit of a bugger that the admin can't edit those fields now either, but I guess admin can sneak in, change the setting temporarily... or just hack the database direct ;-)11:58
nuclear_eclipseToffeePops: you could potentially add a config value to the database that overrides the default configuration for users with higher access values...12:00
ToffeePopscrikey I wouldn't know where to start ;-)12:02
nuclear_eclipse:P12:02
nuclear_eclipseundiscoverable features ftw12:02
ToffeePopsnuclear_eclipse: Oh - would I add a new row to mantis_config_table, with a config_id like 'update_issues_page_columns'?12:11
ToffeePopsAnd with a whole lotta stuff like a:19:{i:0;s:2:"id";i:1;s:10:"project_id";i:2;s:11:... ???12:11
ToffeePops(ftw??)12:11
nuclear_eclipseyep12:11
nuclear_eclipseand the access level setting would be 50 or 90 or whatever matches the level you'd want12:11
ToffeePopsthat's pretty cool12:12
ToffeePopsand is there any guide to what all the a:19:{i:0;s:2:"id";i:1;s:10:"project_id";i:2;s:11:... stuff means?12:12
ToffeePopsI mean, what do I start with?12:13
nuclear_eclipseI believe it's the PHP serialization format12:13
ToffeePopsI can see there are field names in there, but...12:13
ToffeePopsah, ok12:13
nuclear_eclipsephp> =serialize(array("foo" => "bar", 1 => 3))12:14
nuclear_eclipse"a:2:{s:3:\"foo\";s:3:\"bar\";i:1;i:3;}"12:14
ToffeePopsi=integer, s=string methinks?12:14
nuclear_eclipseit's just a recusive combination of <type>:<length>:<value>12:14
nuclear_eclipseyep12:14
nuclear_eclipsein the case of <type> == i, there is no length12:15
ToffeePopsgroovy12:15
ToffeePops(no, not that 'other' groovy12:15
ToffeePops:)12:15
nuclear_eclipse:P12:15
nuclear_eclipsehttp://us3.php.net/manual/en/language.oop5.serialization.php12:16
ToffeePopscheers. one last thing - does the 'config_id' value matter or is that pretty arbitrary?12:17
nuclear_eclipseif it's a number, it's probably just an auto-increment12:17
ToffeePopsconfig_id  varchar(64)12:18
ToffeePopswell I'll try it tomorrow after our nightly backup ;-)12:19
ToffeePopsNot sure if you know about this... I thought I saw a proposal to replace www.gravatar.com with something else (or provide an alternate means)... has anything been worked on in this area?12:19
nuclear_eclipseI know it's been proposed, but I don't think anyone ever actually started working towards it12:20
ToffeePopsok12:20
nuclear_eclipseafaik, the only people who really wanted it were unwilling to actually implement it12:20
nuclear_eclipseor the one person who submitted some code did a very incomplete job of it12:20
nuclear_eclipseI can't remember 100%12:20
nuclear_eclipseit's a complex problem :P12:21
ToffeePopsI was just curious... not a biggie for us :-)12:21
ToffeePopsHey, thanks heaps for your help. Am wrecked, need to get home and get some sleep, cheers12:22
nuclear_eclipseyou're welcome12:22
phr34khello i'm trying to interact with MantisConnect from c# - i'm getting this error; Element 'faultstring' with namespace name '' was not found. Line 6, position 117.12:39
phr34ki've found one blog entry where the author resolved the error by switching the layouts as to what .net expects i.e. exact ordering, i've tried to reproduce his but didn't work for me.12:41
bajkihi17:19
bajkii have a question connected to guest permissions17:28
bajkii can see that main mantis bugtracker is opened to guests, they can browse tickets, milestones, changelog etc17:28
bajkibut on my local mantis, there is no possibility to use tracker without logging in17:29
bajkii was searching for proper option in admin panel but i didn't found anything17:29
nuclear_eclipsebajki: you have to create a user account to be used as the anonymous user, and edit your config_inc.php to enable that functionality17:30
bajkioh17:30
nuclear_eclipselook at config_inc.php.sample17:30
bajkiok i'll check that17:30
bajkihmm17:31
bajkioh ok, you're right, thanks! :)17:32
nuclear_eclipseyou're welcome17:32
bajkiok it works, great, thanks again for help and take care17:41
phr34knobody any help on my problem/question?18:17
nuclear_eclipsephr34k: I don't have any useful experience with the SOAP API, esp not with C#, and I don't think anyone else is around atm18:19
nuclear_eclipsesorry18:19
nuclear_eclipseyou could send a message to the mantisbt-help@lists.sourceforge.net mailing list and see if someone can help you there18:19
phr34ki'll try my chances there i suppose then thanks18:23
nuclear_eclipsefoobot: bug 12318:31
foobotnuclear_eclipse: sorry, bug 123 was not found18:31
nuclear_eclipsefoobot: bug 12518:31
foobotnuclear_eclipse: sorry, bug 125 was not found18:31
nuclear_eclipsefoobot: bug 986518:31
foobotBug 9865 - dlgrasse - open - new18:31
foobotMain page to show all user news items if no project is selected - http://www.mantisbt.org/bugs/view.php?id=986518:31
paulrmo22:32

Generated by irclog2html.py