Tuesday, 2010-08-17

*** Joins: kirillka (~Miranda@global-n01.vester.ru)01:12
*** Quits: siebrand (~beis@sm.xs4all.nl) ()01:31
*** Joins: davidinc (d5374b7b@gateway/web/freenode/ip.213.55.75.123)01:43
*** Quits: lhavelund (~lhavelund@ubuntu/member/menza) (Ping timeout: 265 seconds)02:10
*** Joins: lhavelund (~lhavelund@ubuntu/member/menza)02:12
*** Joins: CIA-100 (~CIA@208.69.182.149)02:13
*** Quits: CIA-103 (~CIA@208.69.182.149) (Ping timeout: 264 seconds)02:13
*** Joins: Cupertino (~Cupez@unaffiliated/cupertino)02:27
*** Joins: Rixie (~Rixie@0x4dd7390e.adsl.cybercity.dk)03:17
*** Joins: rolfkleef (~rolf@urtica.xs4all.nl)04:04
*** Joins: Jwv (~jwv@cdr03-84-91-9-242.netvisao.pt)04:59
*** Quits: Jwv (~jwv@cdr03-84-91-9-242.netvisao.pt) (Quit: Leaving)05:31
*** Joins: Samy (~Samy@cdr03-84-91-9-242.netvisao.pt)05:31
*** Quits: Samy (~Samy@cdr03-84-91-9-242.netvisao.pt) (Quit: Leaving)05:38
*** Joins: jwv (~jwv@cdr03-84-91-9-242.netvisao.pt)05:38
*** Quits: jwv (~jwv@cdr03-84-91-9-242.netvisao.pt) (Quit: Leaving)05:51
*** Joins: jwv (~jwv@cdr03-84-91-9-242.netvisao.pt)05:52
*** Quits: jwv (~jwv@cdr03-84-91-9-242.netvisao.pt) (Quit: Leaving)06:21
*** Joins: jwv (~jwv@cdr03-84-91-9-242.netvisao.pt)06:21
*** Quits: dhx_m (~anonymous@c122-107-170-247.eburwd5.vic.optusnet.com.au) (Remote host closed the connection)06:29
*** Quits: davidinc (d5374b7b@gateway/web/freenode/ip.213.55.75.123) (Ping timeout: 252 seconds)07:43
*** Quits: jwv (~jwv@cdr03-84-91-9-242.netvisao.pt) (Quit: Leaving)08:21
*** Joins: jwv (~jwv@cdr03-84-91-9-242.netvisao.pt)08:26
*** Joins: hcl2_ (~hardcorel@75.41.110.112)08:31
*** Joins: dhx_m (~anonymous@c122-107-170-247.eburwd5.vic.optusnet.com.au)08:50
*** Quits: rolfkleef (~rolf@urtica.xs4all.nl) (Quit: Leaving.)08:56
*** Quits: fanno (~Morten@90.184.93.233) (Read error: Connection reset by peer)09:12
*** Quits: Rixie (~Rixie@0x4dd7390e.adsl.cybercity.dk) (Quit: Rixie)09:48
*** Quits: kirillka (~Miranda@global-n01.vester.ru) (Quit: kirillka)10:01
*** Joins: istvanb (d917e473@gateway/web/freenode/ip.217.23.228.115)10:04
istvanbhi guys10:04
istvanbI need to get answer to a php question:10:04
istvanbin the manage_config_workflow_set.php there is a line:10:04
istvanb$t_valid_thresholds = array( 'bug_submit_status', 'bug_resolved_status_threshold', 'bug_reopen_status' );10:05
istvanbin another php file I'd like to get the resolved status threshold value, so I used this: echo ($t_valid_threshold[1]);10:06
istvanbbut it gives me back nothing10:06
istvanbwhats wrong?10:06
nuclear_eclipseistvanb: because that variable is only declared in that file10:07
istvanbI see10:08
istvanbso t means a local variable?10:08
nuclear_eclipsethat's just how we name variables that are "temporary" in nature, but in that context it's technically a global variable because of the way PHP works10:09
istvanbI see now10:09
istvanblet me ask you this question then:10:09
nuclear_eclipseyou should probably understand how PHP and CGI work 10:09
nuclear_eclipseunderstand/learn10:09
istvanbare you pissed off with all my questions?10:10
nuclear_eclipseno10:10
istvanb:)10:10
istvanbcause I know I can be a pain in the ass10:10
nuclear_eclipsebut learning about the CGI model for web applications would probably help you understand why mantis does things the way it does10:10
istvanbbut I am driven by the good goal: there is this show the status by percentage option in mantis, which is very useful, but it has one major problem: it also displays issues after the resolved phase10:11
istvanbin my workflow there is one more stage after resolved: closed10:11
istvanbbecause by time the waste majority of the issues will be closed, it makes no sense to have a graph showing 98% closed and 2% which is in various other stages10:12
istvanbso if I can get the resolved threshold by number I can easily modify the SQL query10:12
istvanbthis part is already tested with a hardwired number, I just want to get it dinamically10:13
istvanbthis also gives me no result: ==>echo ($g_bug_resolved_status_threshold);10:14
nuclear_eclipseyou should use config_get('bug_resolved_status_threshold')10:19
istvanbok, one more final question10:26
istvanbreally really final10:26
istvanbis there a simple way to create a new global variable?10:26
nuclear_eclipselike a new configuration option?10:28
istvanbyes10:32
nuclear_eclipseyou can add any $g_whatever to your config_inc.php, and use config_get('whatever') to retrieve the value10:34
*** Joins: daryn (~daryn@h158.249.190.173.static.ip.windstream.net)10:34
istvanboh, thats really easy. I have already modified the html_api.php to hide anything above the resolved status10:35
istvanbthanks for the help man!10:35
nuclear_eclipseyou're welcome10:35
istvanbI will not forget to mention you in my thank-you-speech when I get the nobel price of php coding!10:36
istvanb :)10:36
nuclear_eclipseheh10:37
istvanbwhat should I do if I'd like to promote my changes to a candidate change in a future release of Mantis?10:49
nuclear_eclipsehttp://docs.mantisbt.org/master/en/developers/dev.contrib.html10:53
istvanbthx10:54
*** Quits: Cupertino (~Cupez@unaffiliated/cupertino) (Quit: I give up...)11:02
*** Quits: jwv (~jwv@cdr03-84-91-9-242.netvisao.pt) (Ping timeout: 245 seconds)11:49
*** Joins: jwv (~jwv@cdr03-84-91-9-242.netvisao.pt)11:51
*** Quits: istvanb (d917e473@gateway/web/freenode/ip.217.23.228.115) (Quit: Page closed)12:06
*** Quits: daryn (~daryn@h158.249.190.173.static.ip.windstream.net) (Read error: Connection reset by peer)12:30
*** Joins: paulr (~paul@cpc1-enfi9-0-0-cust389.hari.cable.virginmedia.com)13:20
paulrmoo13:48
*** Joins: Shakra (d065b84e@gateway/web/freenode/ip.208.101.184.78)14:41
*** Joins: Renegade15 (Renegade@unaffiliated/renegade15)14:56
* Renegade15 pokes paulr 14:56
*** Joins: siebrand (~beis@sm.xs4all.nl)16:02
*** Joins: DigitallyB-rn (~patricks@72.236.65.179)16:06
*** Parts: Renegade15 (Renegade@unaffiliated/renegade15)16:06
DigitallyB-rnI know this is going to be a sore subject, but I'm having issues configuring mantis to send mail through gmail. I'm running 1.2.2 hosted on godaddy.16:07
DigitallyB-rnI've tried every combination of options I could think of .. searched the forums .. updated phpmailer16:07
DigitallyB-rnHas anybody here had any luck?16:09
nuclear_eclipseDigitallyB-rn: there was an email sent to the mantisbt-help mailing list telling how to configure mantis to send via gmail 16:18
DigitallyB-rnnuclear_eclipse: I'll look that up, thanks16:19
nuclear_eclipseDigitallyB-rn: http://sourceforge.net/mailarchive/forum.php?thread_name=m2ua6a9d7f21004301241y72422d5erb4a7a36737f6fbb0%40mail.gmail.com&forum_name=mantisbt-help16:20
nuclear_eclipseif that doesn't work, I'm not sure how to resolve it otherwise, I've never used anything but a local sendmail instance16:20
DigitallyB-rnI tried those settings (and just tried again for good measure) :(16:22
nuclear_eclipseoffhand, I'm thinking that gmail might have a different smtp port to use16:23
nuclear_eclipselike 587 or something odd like that16:23
DigitallyB-rnThey do. I tried both of the ports listed on google's help site.16:25
nuclear_eclipsemaybe godaddy is blocking outbound smtp connections? =\16:25
DigitallyB-rnI thought about that, but on another site I'm using similiar settings16:26
DigitallyB-rnIs there a way I can enable error messages .. so instead of it saying it's sent a confirmation email when I reset a password it will show smtp errors (if any)?16:30
nuclear_eclipsethere are a couple options you can set in your config_inc.php regarding errors, but I don't think that smtp errors are ever propagated to Mantis; I'm pretty sure phpmailer just silently eats them16:32
* giallu can't wait to ditch phpmailer :)17:08
nuclear_eclipsegiallu: so stop waiting and fix it already ;)17:10
giallunuclear_eclipse, working on the manual right now17:31
giallubut I could think about making it next on the list17:32
giallu:)17:32
paulrtime to break stuff17:45
paulrnuclear_eclipse/giallu: is the apache license compatible with gpl?17:46
* giallu is afraid of asking...17:47
gialluhttp://fedoraproject.org/wiki/Licensing#SoftwareLicenses17:47
giallubookmark it17:47
* paulr sighs17:48
paulris mantis 2 or 3 of gpl?17:48
paulrin fact giallu17:52
paulryou know licenses17:52
paulrwhat *exactly* do we have to do to drop gpl/17:52
gialluI don't really know17:52
gialluI guess a rewrite is the safer bet...17:53
gialluwhat do you propose instead?17:53
paulrlicense wise?17:54
paulrwell, atm, gpl just seems to generate grief imo :P17:54
paulrI mean, if someone writes a plugin17:54
paulrthat plugin might need to be gpl17:55
paulras it's a deritive or whatever17:55
paulrezcomponents has now been donated to apache17:55
paulrapache license apparently is only compatible with gpl 3 but not 217:55
paulrand that's only version 2 of the license17:55
paulrit just strikes me as more difficult then it needs to be17:57
gialluyes, I think plugins need to be GPL17:59
gialluwhich is not a problem.17:59
giallubut ez could17:59
gialluwhich apache license version are they using?18:00
paulrnot sure18:00
paulrbut we use gpl2 anyway :)18:00
gialludon't we have "or later" ?18:01
paulryes - but I'm sure there was a reason someone said we are still on 218:01
gialluI'd like to hear this reason18:01
gialluotherwise, for all effects we can be v318:02
gialluand compatible with apache18:02
micahgI thought v2 allows more flexibility for commercial usage18:02
gialluanyway. if ez stuff is in debian or fedora the package should list the license18:03
paulrmy point is more18:03
paulrfrom what I can tell (and correct me if i'm wrong)18:04
paulrbsd/mit/whatever tend to go 'do whatever'18:04
paulrgpl tends to go 'if you use me, everything else needs to be gpl too!'18:04
giallufrom 20K feet, yeah18:05
paulrso for example, if I look at ckeditor (aka browser based wysiwyg) they say http://ckeditor.com/license18:05
paulrCKEditor is distributed under the GPL, LGPL and MPL open source licenses. This triple copyleft licensing model avoids incompatibility with other open source licenses18:05
paulron top of that18:06
paulrthey also have some commercial license18:06
gialluthat's trickier18:06
gialluit all depends who's supposed to be forced to use the commercial license18:07
giallujpgraph is not in distros for this reason18:07
giallunon-free18:07
micahggiallu: jpgraph is in universe18:08
micahgoh, it's an older version18:08
paulrgiallu: I guess what i'm getting at is18:09
paulrif we were mit/lgpl/something else18:09
paulrwould that make life easier18:09
*** Quits: Shakra (d065b84e@gateway/web/freenode/ip.208.101.184.78) (Quit: Page closed)18:20
paulrgn18:30
*** Quits: paulr (~paul@cpc1-enfi9-0-0-cust389.hari.cable.virginmedia.com) ()18:30
*** Quits: djSupport (~djsupport@94-193-2-113.zone7.bethere.co.uk) (Read error: Connection reset by peer)18:36
*** Joins: Github (~Github@sh1-ext.rs.github.com)19:39
Githubmantisbt: publican Gianluca Sforna * 2b848af (0 files in 0 dirs): Create scheleton for new xml based admin guide with publican. ...19:39
Githubmantisbt: publican Gianluca Sforna * fa2f7c0 (4 files in 1 dirs): Import former SGML manual19:39
Githubmantisbt: publican commits 0000000...fa2f7c0 - http://bit.ly/bXTgDK19:39
*** Parts: Github (~Github@sh1-ext.rs.github.com)19:39
giallubed time now.19:41
*** Quits: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de) (Remote host closed the connection)20:00
*** Joins: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de)20:00
*** Quits: hcl2_ (~hardcorel@75.41.110.112) (Read error: Operation timed out)21:39

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!