*** 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 | |
istvanb | hi guys | 10:04 |
---|---|---|
istvanb | I need to get answer to a php question: | 10:04 |
istvanb | in 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 |
istvanb | in another php file I'd like to get the resolved status threshold value, so I used this: echo ($t_valid_threshold[1]); | 10:06 |
istvanb | but it gives me back nothing | 10:06 |
istvanb | whats wrong? | 10:06 |
nuclear_eclipse | istvanb: because that variable is only declared in that file | 10:07 |
istvanb | I see | 10:08 |
istvanb | so t means a local variable? | 10:08 |
nuclear_eclipse | that'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 works | 10:09 |
istvanb | I see now | 10:09 |
istvanb | let me ask you this question then: | 10:09 |
nuclear_eclipse | you should probably understand how PHP and CGI work | 10:09 |
nuclear_eclipse | understand/learn | 10:09 |
istvanb | are you pissed off with all my questions? | 10:10 |
nuclear_eclipse | no | 10:10 |
istvanb | :) | 10:10 |
istvanb | cause I know I can be a pain in the ass | 10:10 |
nuclear_eclipse | but learning about the CGI model for web applications would probably help you understand why mantis does things the way it does | 10:10 |
istvanb | but 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 phase | 10:11 |
istvanb | in my workflow there is one more stage after resolved: closed | 10:11 |
istvanb | because 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 stages | 10:12 |
istvanb | so if I can get the resolved threshold by number I can easily modify the SQL query | 10:12 |
istvanb | this part is already tested with a hardwired number, I just want to get it dinamically | 10:13 |
istvanb | this also gives me no result: ==>echo ($g_bug_resolved_status_threshold); | 10:14 |
nuclear_eclipse | you should use config_get('bug_resolved_status_threshold') | 10:19 |
istvanb | ok, one more final question | 10:26 |
istvanb | really really final | 10:26 |
istvanb | is there a simple way to create a new global variable? | 10:26 |
nuclear_eclipse | like a new configuration option? | 10:28 |
istvanb | yes | 10:32 |
nuclear_eclipse | you can add any $g_whatever to your config_inc.php, and use config_get('whatever') to retrieve the value | 10:34 |
*** Joins: daryn (~daryn@h158.249.190.173.static.ip.windstream.net) | 10:34 | |
istvanb | oh, thats really easy. I have already modified the html_api.php to hide anything above the resolved status | 10:35 |
istvanb | thanks for the help man! | 10:35 |
nuclear_eclipse | you're welcome | 10:35 |
istvanb | I 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_eclipse | heh | 10:37 |
istvanb | what should I do if I'd like to promote my changes to a candidate change in a future release of Mantis? | 10:49 |
nuclear_eclipse | http://docs.mantisbt.org/master/en/developers/dev.contrib.html | 10:53 |
istvanb | thx | 10: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 | |
paulr | moo | 13: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-rn | I 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-rn | I've tried every combination of options I could think of .. searched the forums .. updated phpmailer | 16:07 |
DigitallyB-rn | Has anybody here had any luck? | 16:09 |
nuclear_eclipse | DigitallyB-rn: there was an email sent to the mantisbt-help mailing list telling how to configure mantis to send via gmail | 16:18 |
DigitallyB-rn | nuclear_eclipse: I'll look that up, thanks | 16:19 |
nuclear_eclipse | DigitallyB-rn: http://sourceforge.net/mailarchive/forum.php?thread_name=m2ua6a9d7f21004301241y72422d5erb4a7a36737f6fbb0%40mail.gmail.com&forum_name=mantisbt-help | 16:20 |
nuclear_eclipse | if that doesn't work, I'm not sure how to resolve it otherwise, I've never used anything but a local sendmail instance | 16:20 |
DigitallyB-rn | I tried those settings (and just tried again for good measure) :( | 16:22 |
nuclear_eclipse | offhand, I'm thinking that gmail might have a different smtp port to use | 16:23 |
nuclear_eclipse | like 587 or something odd like that | 16:23 |
DigitallyB-rn | They do. I tried both of the ports listed on google's help site. | 16:25 |
nuclear_eclipse | maybe godaddy is blocking outbound smtp connections? =\ | 16:25 |
DigitallyB-rn | I thought about that, but on another site I'm using similiar settings | 16:26 |
DigitallyB-rn | Is 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_eclipse | there 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 them | 16:32 |
* giallu can't wait to ditch phpmailer :) | 17:08 | |
nuclear_eclipse | giallu: so stop waiting and fix it already ;) | 17:10 |
giallu | nuclear_eclipse, working on the manual right now | 17:31 |
giallu | but I could think about making it next on the list | 17:32 |
giallu | :) | 17:32 |
paulr | time to break stuff | 17:45 |
paulr | nuclear_eclipse/giallu: is the apache license compatible with gpl? | 17:46 |
* giallu is afraid of asking... | 17:47 | |
giallu | http://fedoraproject.org/wiki/Licensing#SoftwareLicenses | 17:47 |
giallu | bookmark it | 17:47 |
* paulr sighs | 17:48 | |
paulr | is mantis 2 or 3 of gpl? | 17:48 |
paulr | in fact giallu | 17:52 |
paulr | you know licenses | 17:52 |
paulr | what *exactly* do we have to do to drop gpl/ | 17:52 |
giallu | I don't really know | 17:52 |
giallu | I guess a rewrite is the safer bet... | 17:53 |
giallu | what do you propose instead? | 17:53 |
paulr | license wise? | 17:54 |
paulr | well, atm, gpl just seems to generate grief imo :P | 17:54 |
paulr | I mean, if someone writes a plugin | 17:54 |
paulr | that plugin might need to be gpl | 17:55 |
paulr | as it's a deritive or whatever | 17:55 |
paulr | ezcomponents has now been donated to apache | 17:55 |
paulr | apache license apparently is only compatible with gpl 3 but not 2 | 17:55 |
paulr | and that's only version 2 of the license | 17:55 |
paulr | it just strikes me as more difficult then it needs to be | 17:57 |
giallu | yes, I think plugins need to be GPL | 17:59 |
giallu | which is not a problem. | 17:59 |
giallu | but ez could | 17:59 |
giallu | which apache license version are they using? | 18:00 |
paulr | not sure | 18:00 |
paulr | but we use gpl2 anyway :) | 18:00 |
giallu | don't we have "or later" ? | 18:01 |
paulr | yes - but I'm sure there was a reason someone said we are still on 2 | 18:01 |
giallu | I'd like to hear this reason | 18:01 |
giallu | otherwise, for all effects we can be v3 | 18:02 |
giallu | and compatible with apache | 18:02 |
micahg | I thought v2 allows more flexibility for commercial usage | 18:02 |
giallu | anyway. if ez stuff is in debian or fedora the package should list the license | 18:03 |
paulr | my point is more | 18:03 |
paulr | from what I can tell (and correct me if i'm wrong) | 18:04 |
paulr | bsd/mit/whatever tend to go 'do whatever' | 18:04 |
paulr | gpl tends to go 'if you use me, everything else needs to be gpl too!' | 18:04 |
giallu | from 20K feet, yeah | 18:05 |
paulr | so for example, if I look at ckeditor (aka browser based wysiwyg) they say http://ckeditor.com/license | 18:05 |
paulr | CKEditor is distributed under the GPL, LGPL and MPL open source licenses. This triple copyleft licensing model avoids incompatibility with other open source licenses | 18:05 |
paulr | on top of that | 18:06 |
paulr | they also have some commercial license | 18:06 |
giallu | that's trickier | 18:06 |
giallu | it all depends who's supposed to be forced to use the commercial license | 18:07 |
giallu | jpgraph is not in distros for this reason | 18:07 |
giallu | non-free | 18:07 |
micahg | giallu: jpgraph is in universe | 18:08 |
micahg | oh, it's an older version | 18:08 |
paulr | giallu: I guess what i'm getting at is | 18:09 |
paulr | if we were mit/lgpl/something else | 18:09 |
paulr | would that make life easier | 18:09 |
*** Quits: Shakra (d065b84e@gateway/web/freenode/ip.208.101.184.78) (Quit: Page closed) | 18:20 | |
paulr | gn | 18: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 | |
Github | mantisbt: publican Gianluca Sforna * 2b848af (0 files in 0 dirs): Create scheleton for new xml based admin guide with publican. ... | 19:39 |
Github | mantisbt: publican Gianluca Sforna * fa2f7c0 (4 files in 1 dirs): Import former SGML manual | 19:39 |
Github | mantisbt: publican commits 0000000...fa2f7c0 - http://bit.ly/bXTgDK | 19:39 |
*** Parts: Github (~Github@sh1-ext.rs.github.com) | 19:39 | |
giallu | bed 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!