Monday, 2010-04-19

*** Joins: kirillka (~Miranda@global01.vester.ru)00:17
*** Quits: wolog (~wolog@AOrleans-152-1-38-163.w90-21.abo.wanadoo.fr) (Remote host closed the connection)01:38
*** Quits: siebrand (~beis@sm.xs4all.nl) ()01:42
*** Joins: Cupertino (~Cupez@unaffiliated/cupertino)02:26
*** Joins: wolog (~wolog@195.6.104.193)02:39
*** Joins: giallu (~giallu@fedora/giallu)02:45
*** Quits: micahg (~micah@ubuntu/member/micahg) (Read error: Operation timed out)03:52
*** Joins: cisium_test (~781cc54d@gateway/web/freenode/x-pisuqllwrkmennmy)05:02
*** Parts: cisium_test (~781cc54d@gateway/web/freenode/x-pisuqllwrkmennmy)05:03
*** Joins: tester_ (~781cc54d@gateway/web/freenode/x-vezfdqpzkqjdwwxj)05:06
tester_could somebody help me here05:07
kirillkatester_: just ask05:08
tester_im asking if theres a link that i could read about sending a notification email when the task is due. Can you give me a link? because i try to search in the forum but came up none.05:09
kirillkatester_: read default_config_inc.php05:12
tester_Ok i will, thank you very for being kind.. thanks05:13
kirillkacan you write promblem wich you have?05:13
tester_i basically need to inform the user assigned to a certain issues about the due date of that issue, in order for him/her to prioritize more on issues that are about to due.05:17
kirillkaconfig notification on each changes05:18
tester_got no idea how to do that.. sorry. im not that good. but where could i find that.05:19
kirillka$g_default_notify_flags = array(  'reporter'      => ON,'handler'       => ON,'monitor'       => ON,'bugnotes'      => ON,'explicit'      => ON,);05:19
tester_ok let me check.. thanks again05:19
kirillkanot at all05:20
tester_$g_default_notify_flags= array('reporter'=> ON, 'handler'=> ON, 'monitor'=> ON, 'bugnotes'=> ON, 'explicit'  => ON, 'threshold_min'=> NOBODY, 'threshold_max' => NOBODY);05:25
kirillkayes05:25
tester_i got this, i am puzzled by what you said that configure notification on each changes05:25
tester_is this variable explained in you manual05:35
*** Quits: tester_ (~781cc54d@gateway/web/freenode/x-vezfdqpzkqjdwwxj) (Ping timeout: 248 seconds)05:40
*** Quits: paul__ (~paul@static.147.84.46.78.clients.your-server.de) (Read error: Operation timed out)06:01
*** Joins: paul__ (~paul@static.147.84.46.78.clients.your-server.de)06:01
*** Quits: wolog (~wolog@195.6.104.193) (Remote host closed the connection)06:02
*** Quits: kirillka (~Miranda@global01.vester.ru) (Quit: kirillka)06:44
*** Joins: wolog (~wolog@AOrleans-152-1-38-163.w90-21.abo.wanadoo.fr)06:48
*** Joins: kirillka (~Miranda@global01.vester.ru)07:50
*** Joins: mantisbt_97495 (~57ce6210@gateway/web/freenode/x-zexnlffjwgmfyvko)09:25
*** Quits: mantisbt_97495 (~57ce6210@gateway/web/freenode/x-zexnlffjwgmfyvko) (Client Quit)09:25
*** Quits: wolog (~wolog@AOrleans-152-1-38-163.w90-21.abo.wanadoo.fr) (Ping timeout: 264 seconds)09:27
nuclear_eclipsedhx_m: around?09:33
*** Joins: wolog (~wolog@AOrleans-152-1-29-130.w90-21.abo.wanadoo.fr)09:41
dhx_mnuclear_eclipse: hi :)09:45
nuclear_eclipsehttp://www.mantisbt.org/bugs/view.php?id=11534#c25152 09:56
dhx_mAh yes I agree with your comment about not making URL detection automatic09:57
dhx_mpatch looks good to me (not tested... just read)09:59
nuclear_eclipsedo you happen to have a windows server you can test it on?10:00
*** Quits: kirillka (~Miranda@global01.vester.ru) (Quit: kirillka)10:01
dhx_mno Windows anywhere near me :p10:02
nuclear_eclipseI'm pretty sure it should work the same on any webserver because PHP_SELF is populated by the PHP runtime, but I just want to make sure before I push it to main branches and then make 1.2.1 work worse than 1.2.0 :P10:03
dhx_mlol10:03
*** Joins: daryn (~daryn@rrcs-76-79-4-2.west.biz.rr.com)10:04
CIA-29Mantisbt: jreese * r956fe6bf9cd4 / (adm_config_report.php core/project_api.php): Fix #11812: Unknown project errors10:46
CIA-29Mantisbt: jreese master-1.2.x * re249d23795cc / (adm_config_report.php core/project_api.php): Fix #11812: Unknown project errors10:47
CIA-29Mantisbt: jreese * r4ec992b085eb /core/project_api.php: Issue #11812: Missed adding an API param10:50
CIA-29Mantisbt: jreese master-1.2.x * rde11008f5bbe /core/project_api.php: Issue #11812: Missed adding an API param10:50
*** Joins: micahg (~micah@ubuntu/member/micahg)11:01
*** Quits: Cupertino (~Cupez@unaffiliated/cupertino) (Quit: I give up...)11:05
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 265 seconds)11:36
nuclear_eclipsedhx_m: found a windows server to test on, and my changes indeed broke on Windows, but I'm pretty sure I've got everytihng worked out for good now :)11:39
nuclear_eclipsedhx_m: http://git.mantisforge.org/w/mantisbt/jreese.git?a=commit;h=acb5864e1162d3dbf2bf7df891e94f64c0c468aa11:41
CIA-29Mantisbt: jreese master-1.2.x * r0fc80e9f46fa /config_defaults_inc.php: Fix #11534: Incorrect path/short_path detection11:52
CIA-29Mantisbt: jreese * r5ac1fdf32717 /config_defaults_inc.php: Fix #11534: Incorrect path/short_path detection11:52
*** Joins: moto-moi (~hylke@cara.xs4all.nl)12:12
CIA-29Mantisbt: jreese * r79255f6ba84a /core/filter_api.php: Fix #11813: Filters error with deleted projects12:13
CIA-29Mantisbt: jreese master-1.2.x * r0ae56c0852e4 /core/filter_api.php: Fix #11813: Filters error with deleted projects12:13
paul__nuclear_eclipse: lo12:15
nuclear_eclipsehi paul__ 12:15
paul__the reason we did what we did and didn't use php_self was in some cases phpself was unreliable iirc12:15
paul__or more /me thinks12:15
nuclear_eclipseactually, I think it's because when that code was written, we were still supporting older PHP that didn't have it12:15
darynspeaking of supported php... the website says 1.2 only supports php 5.2.0 and higher.  The php api check has min of 5.1.212:18
nuclear_eclipsedaryn: the website is wrong12:18
darynok12:18
paul__I thought 1.2 supported 5.112:18
nuclear_eclipseyep, it does12:18
paul__oh sry :P12:18
daryn...i was hoping it moved to 5.212:19
paul__nuclear_eclipse: iirc, that code I originally ended up working out12:20
paul__and it was due to at some point phpself being wrong/incorrect or missing12:20
nuclear_eclipsepaul__: looking at the docs on php.net, it seems the only "problem" with PHP_SELF is that if you use URLs like '/foo.php/bar/' PHP_SELF includes the whole thing, rather than stopping at foo.php12:21
paul__http://bugs.php.net/bug.php?id=4982512:22
paul__also those12:22
paul__The variable:12:22
paul___SERVER["PHP_SELF"]/forums/adm/index.php/forums/adm/index.php12:22
paul__should be _SERVER["PHP_SELF"]/forums/adm/index.php12:22
paul__and i've seen that behaviour before ;p12:23
nuclear_eclipsehmm12:23
nuclear_eclipseeither way, it's no more broken than the previous method :P12:23
paul__what was broken in the previous method?12:24
nuclear_eclipsea lot12:24
nuclear_eclipsetrying to use vhost like http://mantis.host/foo.php was broken12:24
nuclear_eclipseand using symlinks was also broken12:24
nuclear_eclipsepaul__: do you have an IIS server to test on?12:30
paul__yes, but it depends what version of iis etc12:30
paul__work iis seems fine12:30
paul__and php12:30
paul__I also need to look at dhx's changes to the file download stuff12:31
paul__as he's pulled out a bunch of stuff that I added to avoid memory limits, on basis that it didn't seem to be required12:31
paul__Fixed bug #42523 (PHP_SELF duplicates path).12:33
paul__there was at least one bug fix12:33
paul__so it might be that it was a bug in php5.2.3 and since fixed12:34
* paul__ shrugs :)12:34
nuclear_eclipsewell, if we get any bug reports, we can always blame PHP ;)12:35
paul__I dont really get how it affects vhosts12:35
nuclear_eclipsebasically, it was duplicating the / (or \ on Windows) when you run Mantis in the docroot of a vhost12:36
paul__http://mantis.host//foo.php ?12:36
nuclear_eclipseor http://mantis.host/\/foo.php on windows12:36
paul__that sounds like we just need to trim something somewhere12:36
paul__(needed)12:37
nuclear_eclipsewell, yes, but symlinks were also inherently broken because it was all based on __FILE__ instead of the URL12:37
nuclear_eclipseeg, if I had /var/www/mantis symlinked to /usr/share/mantisbt, then it would try to use a path of http://host/mantisbt/foo.php instead of http://host/mantis/foo.php12:38
nuclear_eclipseafter more investigation though, it seems I should replace PHP_SELF with SCRIPT_NAME though, because PHP_SELF includes trailing crap from the URL12:39
paul__script_name iirc does't necessarily include the full path12:40
nuclear_eclipseit's not supposed to12:40
nuclear_eclipseand neither does PHP_SELF12:40
paul__php self sets itself to /foo/bar/php.php12:40
nuclear_eclipsethey both return paths relative to the docroot12:40
nuclear_eclipseso does script_name12:40
nuclear_eclipseor at least it always does in Apache, on both linux and windows12:40
paul__tbh, I've never liked that whole block of logic anyway12:42
paul__I think the solution however is to actually not require it in the first place and make a user set the url :)12:42
paul__would probably be less pain :P12:42
nuclear_eclipsewell, it sounds like less pain, but it breaks some usecases12:43
paul__how? ;l/12:43
nuclear_eclipsehttp://www.mantisbt.org/bugs/view.php?id=11534#c24757 12:43
*** Joins: cobexer (~cobexer@188-23-100-94.adsl.highway.telekom.at)12:43
paul__I mean12:43
paul__have users *have* to set config value12:44
paul__as opposed to trying to work it out12:44
nuclear_eclipseno, that's my point12:44
nuclear_eclipseI've set up Mantis installs that can be accessed from multiple URLs simultaneously12:44
nuclear_eclipseie, a single install can be accessed from different URLs depending on the location of the user, eg, onsite vvs offsite12:45
paul__ya12:45
paul__well, lets see in which cases php_self breaks :)12:45
nuclear_eclipsein those cases, forcing the site to configure a single URL would be a dealbreaker12:46
nuclear_eclipseor it would result in forcing the user to do those same detection routines in their own config_inc rather than having a well-tested routine in the core12:46
paul__less code is good I guess ;p12:47
paul__providing it works12:47
paul__what's there atm is because we did need it at one point12:48
nuclear_eclipsehttp://php.about.com/od/learnphp/qt/_SERVER_PHP.htm12:48
paul__I thought however that script_name came from the server itself?12:55
paul__The SCRIPT_NAME variable MUST be set to a URI path (not URL-encoded) which could identify the CGI script (rather than the script's output).12:57
paul__does that mean script_name isn't necessarily url? :P12:58
nuclear_eclipseno clue13:03
*** Joins: siebrand (~beis@sm.xs4all.nl)13:03
nuclear_eclipselunchtime for me though13:04
nuclear_eclipsecheers13:04
*** Joins: AzaToth (~azatoth@wikipedia/AzaToth)14:53
nuclear_eclipsedhx_m: 15:00
nuclear_eclipseany update on bug 11394?15:01
paul__nuclear_eclipse: know any ubuntu dev's?15:13
nuclear_eclipseno, unfortunately not15:23
*** Joins: \cobexer (~cobexer@188-23-105-0.adsl.highway.telekom.at)16:00
*** Quits: \cobexer (~cobexer@188-23-105-0.adsl.highway.telekom.at) (Remote host closed the connection)16:02
*** Quits: cobexer (~cobexer@188-23-100-94.adsl.highway.telekom.at) (Ping timeout: 276 seconds)16:05
*** Quits: AceSMcCloud (~acesmcclo@host86-147-170-150.range86-147.btcentralplus.com) (Ping timeout: 252 seconds)16:32
*** Joins: AceSMcCloud (~acesmcclo@host86-131-12-114.range86-131.btcentralplus.com)17:02
*** Quits: AceSMcCloud (~acesmcclo@host86-131-12-114.range86-131.btcentralplus.com) (Ping timeout: 276 seconds)17:18
*** Joins: AceSMcCloud (~acesmcclo@cpc4-craw6-2-0-cust461.croy.cable.virginmedia.com)17:18
*** Quits: moto-moi (~hylke@cara.xs4all.nl) (Quit: Ex-Chat)18:00
*** Quits: daryn (~daryn@rrcs-76-79-4-2.west.biz.rr.com) (Quit: daryn)18:05
*** Quits: siebrand (~beis@sm.xs4all.nl) (Ping timeout: 264 seconds)18:11
*** Quits: AzaToth (~azatoth@wikipedia/AzaToth) (Remote host closed the connection)19:48
*** Quits: scribe9343423 (~scribe934@mantisforge.org) (Remote host closed the connection)20:00
*** Joins: scribe9343423 (~scribe934@mantisforge.org)20:00
*** Joins: daryn (~daryn@h207.149.16.98.dynamic.ip.windstream.net)22:07
*** Quits: daryn (~daryn@h207.149.16.98.dynamic.ip.windstream.net) (Read error: Connection reset by peer)22:19
*** Joins: daryn (~daryn@h207.149.16.98.dynamic.ip.windstream.net)22:37
*** Quits: micahg (~micah@ubuntu/member/micahg) (Ping timeout: 260 seconds)23:20
*** Quits: daryn (~daryn@h207.149.16.98.dynamic.ip.windstream.net) (Quit: daryn)23:59

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