Wednesday, 2009-04-08

../irclogs/#mantishelp.2009-04-08.log
--- scribe started ---00:00
slestaki am looking at teh wiki and the manual for info on installing plugins.  I see plenty of info for developing plugins, but not installing.02:08
slestaki am trying to install cvsimport plugin, and the readme says to "install like typical mantis plugins" lol02:09
slestakwait, think i have too new a version.  lemme make sure i have the right csvimport for 1.1.602:10
nuclear_eclipseslestak: plugins for 1.1.x are created by a third party, and are unsupported by us - we actually recommend that yo unot run any plugins for 1.1.x because they replace core code and are known to cause problems with upgrading mantis02:29
slestakhmm, can you give me any advice on converting data from my existing bugtracker?02:30
nuclear_eclipse1.2.x is the first version to have an official plugin system, and it is incompatible with the third party system for 1.1.x02:30
nuclear_eclipseslestak: what bugtracker?02:30
slestaktrac02:30
slestaki have not looked at your roadmap very closely.  Is 1.2a anywhere near rc or release?02:31
nuclear_eclipsewe don't have any official importing system, but you can a) try looking through our tracker and forums to see if anyone has posted a solution, or b) find a way to export data from Trac in XML to match the format expected by the ImportExport plugin included with 1.2.x02:31
slestakis the existing csv import (3rd party) a dangerous hack?02:32
nuclear_eclipseslestak: we are trying to solidify a release, but we have a small dev team with little spare time, so there's no definite timeframe02:32
nuclear_eclipseslestak: I can't comment on the CSV import, as I've never used it02:33
slestakhow about this, I may just run these issues out in trac.  Can you tell me a way to start my mantis numbering out at an arbitrary value.  I'd like to start with a number higher than my existing issue count02:34
nuclear_eclipseslestak: set your database's autoincrement value to what you want it to start at02:35
slestaknuclear_eclipse: thx.  makes sense02:35
nuclear_eclipseyou're welcome02:35
slestakwould you recommend against using 1.2 now?02:36
nuclear_eclipseI would recommend against it for anything highly critical, but we use 1.2.x for our official tracker, and I use it in multiple places of my own without much trouble02:38
* nuclear_eclipse is off to bed02:39
nuclear_eclipsecheers all02:40
slestakgnite02:40
[KK]Kirillhi all. John, you wake up?07:38
[KK]Kirillone question about git07:38
[KK]KirillHow I merge 2 branch with conflict?07:39
CIA-18Mantisbt: paul * rea8cb633033e /core/filter_api.php: Empty ?> <?php block can be removed.10:17
CIA-18Mantisbt: paul * rf34ebf2ba7c7 /bug_revision_view_page.php: Update for new top/bot naming10:17
fialarhi.. I want to upgrade an old Mantis from v1.0.7 to v1.1.6. Is there anything special I need to do for the databases?10:32
dhx_mhey paul, just a heads up that I'm getting this error with the latest git master:11:43
dhx_mParse error: syntax error, unexpected '}' in /var/www/localhost/htdocs/mantis-master/bug_view_advanced_page.php on line 9511:43
paulrbah ;/11:45
paulrlets see11:45
paulrdhx_m: i've been trying to set up http://www.mantisforge.org:8080/cruisecontrol/buildresults/mantisbt?tab=metrics11:46
paulrwith some 'rules' for codeformatting11:46
dhx_mvery nice :)11:46
dhx_mthat's a great idea11:47
paulrit also means I break everything11:47
dhx_myep no problems :)11:48
paulrwhats in your branch?11:48
paulr(on mantsiforge)11:48
dhx_mI just thought I'd give you a heads up because it is going to be hard to test all parts of the code11:48
dhx_mI have 1 branch per 'feature' or issue11:48
dhx_mjust a few fixes and improvements11:48
CIA-18Mantisbt: paul * r9d6ac1168534 /bug_view_advanced_page.php: missing ;11:49
dhx_mthe most useful one outstanding is probably a new 'stick'/'unstick' button11:49
dhx_mcommit messages are fairly in depth if you're interested in checking out the branches :)11:49
dhx_mthat commit fixed it :)11:50
dhx_mI'm interested mostly in jreese's commit that added revision control to the description field and bug notes11:52
* paulr nods11:53
paulri think there's probably some work to do11:53
dhx_myep, I'm finding a few minor things11:54
dhx_mfor instance, the "View Revisions" link shows even when there is only 1 revision11:54
paulrer11:54
paulrview revisions is only in history right?11:54
dhx_mand it seems you can edit a bug note (without changing anything) and it'll record a new revision and history log entry11:54
dhx_myep11:54
paulryes, in fact it will11:55
paulrlets see if i'm right in thinking we didn't move something11:55
dhx_mI suppose you add more queries if you start checking how many revisions a note has had11:55
paulrif ( bug_revision_count( $p_bug_id, REV_DESCRIPTION ) < 1 ) {11:56
paulr$t_revision_id = bug_revision_add( $p_bug_id, $t_current_user, REV_DESCRIPTION, $t_old_data->description, 0, $t_old_data->last_updated );11:56
paulr}11:56
paulr---11:56
paulrif( $t_old_data->description != $p_bug_data->description ) {11:56
paulr$t_revision_id = bug_revision_add( $p_bug_id, $t_current_user, REV_DESCRIPTION, $c_bug_data->description );11:56
paulrhistory_log_event_special( $p_bug_id, DESCRIPTION_UPDATED, $t_revision_id );11:56
paulr}11:56
paulrthat should be within the loop11:56
paulrI spotted that last night when reviewing it11:57
paulrbut didn't remember to tell john/remind john :)11:57
dhx_m;)11:57
paulrtry pulling now and seeing if that issue is fixed.11:58
CIA-18Mantisbt: paul * r7a19a5ced0dd /core/bug_api.php: Fix issue with revisions: we only add the initial revision if we are making a change and adding a new revision.11:58
dhx_mit still shows up the "View Revisions" link next to the history entry for "Bugnote added"11:59
dhx_mlet me check manually to make sure my bug_api.php file is correct11:59
dhx_mah, I think you may have fixed the description field12:02
dhx_mbut I was editing the bugnote12:02
dhx_mlet me check if the description field is ok12:02
paulralso, it won't fix 'stuff you've already done'12:03
dhx_myep, no duplicate description change history12:03
dhx_mbut I hadn't tested that before anyway, so I don't know if it was originally a problem12:04
paulrbut I think bugnotes needs fixing anyway12:04
paulrfor the same thing I had john fix in bugs last night12:04
dhx_mideally I recon Mantis should behave more like Medawiki12:05
dhx_mwhere you keep a revision history of the entire page12:05
dhx_m*entire bug12:05
dhx_mand you can diff between revisions12:05
dhx_mit is annoying having to click on "View Revisions" for each bugnote that has been modified, for the description field and other text fields, etc12:06
dhx_mthe "View Revisions" page only shows the differences for one field at a time12:06
dhx_moh my mistake12:12
dhx_mthere is a "View All Revisions" button that shows everything12:12
dhx_mI take that back12:13
paulrdhx_m: gitsync12:14
CIA-18Mantisbt: paul * r95ff20e990a9 /core/bugnote_api.php: 1. Handle bugnote revisions in same way as bug revisions12:14
dhx_mthat works ;) thanks12:15
dhx_myou fixed all the bugnote problems I have at once, nice :)12:16
dhx_msaving a bugnote edit without actually making changes no longer leaves a revision/history item behind12:16
dhx_mand the "View Revisions" only shows for bug notes that have been edited12:17
dhx_manother parse error: Parse error: syntax error, unexpected T_FOR in /var/www/localhost/htdocs/mantis-master/roadmap_page.php on line 30312:18
dhx_mand:12:18
dhx_mParse error: syntax error, unexpected '<' in /var/www/localhost/htdocs/mantis-master/account_page.php on line 17712:18
dhx_m(I have pretty much every feature turned on, which is why I'm finding a lot of these problems)12:19
dhx_malso:12:20
dhx_mFatal error: Call to undefined function ctype_space() in /var/www/localhost/htdocs/mantis-master/core/rssbuilder/class.RSSBase.inc.php on line 6412:20
dhx_mI think I've clicked on every link/button I can find now :D12:21
paulrFatal error: Call to undefined function ctype_space()12:22
paulrhuh?12:22
paulrwhat generates that12:22
dhx_mthe "RSS" link on the News page12:23
dhx_mI don't have any news items, which may be an issue12:23
dhx_mI'll create one and see if that resolves the problem12:23
dhx_mah nope, still an issue12:23
paulrnews_rss ?12:24
dhx_myep12:24
paulrhttp://uk.php.net/ctype_space12:25
paulrhmmm12:25
paulrBeginning with PHP 4.2.0 these functions are enabled by default. For older versions you have to configure and compile PHP with --enable-ctype. You can disable ctype support with --disable-ctype.12:25
paulrThe Windows version of PHP has built-in support for this extension. You do not need to load any additional extensions in order to use these functions.12:25
paulrok12:25
paulrwhat version of php you have exactly and where from? :)12:25
dhx_mah12:25
dhx_m5.2.8-r2 Gentoo Linux12:25
dhx_mand yes, I have the ctype USE flag disabled12:26
paulrwhy?12:26
dhx_mwhich is the cause of that problem it seems12:26
paulrand before you fix it12:26
dhx_mthat is the default state on Gentoo12:26
paulrreally?12:26
* paulr wonders why12:26
dhx_mthey must consider it non-essential12:27
dhx_mthe PHP ebuild for Linux has most things disabled by default12:27
dhx_mI know that RHEL4 is ok with ctype_space12:27
dhx_mI wonder if this is something to put in the installation documentation... or installation script12:29
nuclear_eclipsehowdy all12:30
dhx_mI guess it doen't affect many people though (I consider Gentoo users fairly crazy!)12:30
dhx_mhey12:30
paulrnuclear_eclipse: fail12:31
gialludhx_m, well, yes I think we are technically able to tell if a required extension is missing12:31
dhx_mI always thought PHP had an is_space function... I must be mistaken12:32
paulrwe could probably wrap ctype_space to is_blank12:33
dhx_mnot worth it IMO given this will really only affect people who compile their own version of PHP (most people won't)12:34
paulri'll add a check12:34
dhx_min the installation?12:35
dhx_mcore/adodb/adodb-datadict.inc.php also uses ctype_alnum12:35
dhx_mother than that, these functions are unused12:36
dhx_mI think the reason Gentoo doesn't include this feature in PHP is that it relies on having the standard C library installed12:37
dhx_mand maybe under very specialised circumstances, you might be using a strange C library (not GNU libc)... or maybe there is 32bit vs 64bit problems with PHP/libc12:38
CIA-18Mantisbt: paul * r3f2bc1a5ed7d /account_page.php: sigh12:38
paulrdhx_m: can you go to /admin/check.php and check the new test I just added fails12:38
CIA-18Mantisbt: paul * r3db07add07cf /admin/check.php: Add test to check that ctype in php is enabled for rss feeds.12:38
dhx_mok12:38
dhx_mcheck fails correctly, well done :)12:41
dhx_maccount_page also works ok now12:43
paulrhas john broken anything else?12:43
dhx_mthe only other thing I noted above was:12:43
dhx_mParse error: syntax error, unexpected T_FOR in /var/www/localhost/htdocs/mantis-master/roadmap_page.php on line 30312:43
dhx_m$t_count_ids = count( $t_issue_set_ids )12:44
* paulr isghs12:44
dhx_mline 30212:44
paulrnext job12:44
dhx_mmissing ;12:44
paulrmake a test script that visits every page12:44
dhx_myep, that'd be very handy :)12:45
dhx_malthough is the idea of this testing to test branches before merging them into the master?12:49
dhx_mas opposed to doing the merge and then making sure nothing broke?12:49
paulrtbh, we tend to test branches12:50
paulrit's when we do tidyups that stuff breaks :)12:50
dhx_myep12:51
dhx_mnot exactly major breakages though :)12:51
dhx_mwhich is good12:51
* paulr pokes nuclear_eclipse12:53
dhx_mI suppose a test would need to be create for each page the user might land on12:55
dhx_mand the test would require all user input parameters are hard coded into the test12:56
dhx_mand any database/file modifications are 'muted'?12:56
* paulr shrugs12:56
[KK]Kirillpaulr: John talk with me ;)12:57
paulrhi12:57
[KK]Kirillhi12:57
nuclear_eclipsehi paulr12:57
dhx_mhey12:57
paulrhi john12:57
* paulr confused now12:57
paulrnuclear_eclipse: talk to kirill12:57
nuclear_eclipseI am12:58
paulrwow13:02
paulrnuclear_eclipse: did siebrancd modifify some libs?13:04
nuclear_eclipseI don't remember13:06
dhx_msorry, don't want to nag... but just wanted to point out the missing ; on line 302 of roadmap_page.php again before it is forgotten ;)13:08
dhx_mit is one of those things I can't be bothered making a ticket/patch over :p13:08
dhx_mand I've gtg soon13:08
nuclear_eclipsedhx_m: no worries, it's good to bitch at paulr when he makes these mistakes; he does it enough to ours :P13:09
CIA-18Mantisbt: paul * r4b4e98c7c671 /roadmap_page.php: missing ;13:10
paulrnuclear_eclipse: new phpmailer version!13:10
paulrversion 5!13:10
nuclear_eclipseyay....13:10
dhx_mhaha, just as long as your code isn't front page thedailywtf.com you're ok!13:10
dhx_mthanks paulr :)13:11
dhx_mI've tested most of the major functionality of Mantis now with the cleanups13:12
dhx_mthere are a few things left over to check such as plugins, editing/updating information (so far I've mostly only tested viewing)13:12
dhx_mSVN integration and a few other minor things13:13
nuclear_eclipsedhx_m: you're testing help is greatly appreciated :)13:13
dhx_mnuclear_eclipse: no problems, I am trying to follow development as much as possible13:15
paulrdhx_m: does your test box having working mail?13:16
dhx_munfortunately not at the moment13:16
dhx_mbut I can set that up on another host easily enough13:17
dhx_mactually I can fix that now13:18
paulrdhx_m: wasn't you going ?;p13:26
dhx_min a moment, yep :)13:26
dhx_mif I don't setup mail now, I'll most likely forget13:27
dhx_mor not be bothered to do it later heh13:27
dhx_mok mail works ok13:31
dhx_mso I'll test that from now on as well13:31
dhx_mit seems I found an idea for a new patch... email notification when a bug note in a monitored issue is changed13:35
dhx_malso account_prefs_page.php has the string "E-mail on note Added" where the N should be capitalised to match the other strings13:35
nuclear_eclipsepaulr: drop the mantisbt/revisions.git and mantisbt/bug9856.git ?13:36
paulrnuclear_eclipse: there?13:36
paulrheh13:36
paulrI take that as yes13:36
paulrhttp://git.mantisforge.org/w/mantisbt.git?a=commitdiff;h=be5f1dda9128ae5e994f827660b93d747c5c0c2c13:36
paulrhttp://git.mantisforge.org/w/mantisbt.git?a=commitdiff;h=2f3156bcb18bd56c2a178a4856e0bfe69768f7ca13:36
paulrwhats your thoughts on those ?13:36
* nuclear_eclipse looks13:38
nuclear_eclipsehmm, if we're making changes to PHPmailer, shouldn't we be tossing them upstream for approval?13:39
paulrI did with mine13:39
* paulr mailed13:39
* paulr never got a reply13:39
paulrhowever13:39
paulrbetween 2.2->2.3 of php mailer13:39
paulrLE I think went to \r\n13:39
paulras per:13:40
paulr+* changed default of $LE to "\r\n" to comply with RFC 2822. Can be set by the user13:40
paulr+  if default is not acceptable13:40
paulrthat I think is back to \n now13:40
paulr;p13:40
dhx_mcheck RFC2822... it should be \r\n13:41
dhx_mnot just \n13:41
dhx_mhttp://tools.ietf.org/html/rfc2822 page 5, section 2.113:41
paulr:)13:41
dhx_mso I'd agree with the comment about following upstream13:42
paulrdhx_m: you mis understand here actually ;)13:43
paulrupstream seem to be a bit confused ;p13:43
dhx_mwell I guess they might not have replied to your emails because they no longer properly support PHPMailer 2.x13:44
paulrin 5.0:13:44
paulr   * Provides the ability to change the line ending13:44
paulr   * @var string13:44
paulr   */13:44
paulr  public $LE              = "\n";13:44
dhx_moh :o13:44
dhx_mthat looks wrong13:44
paulrin 2.3:13:44
paulr   * Provides the ability to change the line ending13:44
paulr   * @var string13:44
paulr   */13:44
paulr  public $LE              = "\r\n";13:44
paulrI *think* in 2.2 it was \n13:45
dhx_mah13:45
dhx_mlet's see what PHPMailer 6.x does13:45
paulryou mean 5.x13:45
paulrin 2.2.1 it was:13:46
paulrprivate $LE              = "\n";13:46
dhx_myep oops, was getting confused13:46
dhx_mso it seems they haven't ported that fix into their 5.0 version13:46
paulrand when they changed from \r\n to \n13:46
paulrthey broke stuff13:46
paulrerm13:47
paulr\n to \r\n13:47
paulrwhich is what I mailed about ;p13:47
paulrI made a possible fix for that13:47
paulrsiebrand has since modified by fix13:47
paulrso I dont know if my attempt at fixing broke something13:47
paulror :)13:47
dhx_mso 5.0 has \n as the line ending?13:47
nuclear_eclipseI'm confused; so is RFC2822 specifying '\r\n', and that causes everything to break?13:47
paulrno13:47
dhx_mnuclear_eclipse: RFC2822 will kill you if you use \n :p13:47
paulrRFC2822 specifies \r\n13:48
paulrmost mail daemons I think accept/allow either \r\n or \n nowadays13:48
paulriirc13:48
nuclear_eclipseso why is PHPmailer using just '\n', and why are we switching to '\n' ?13:48
paulrphpmailer sends \n (I think) - at least it has a variable defining LE's to \n13:48
paulrphpmailer:13:48
paulr2.2.1 set the $LE variable to \n13:48
dhx_mwhich is against what RFC2822 defines13:48
paulr2.3.0 set the $LE variable to \r\n (referencing RFC in changelog)13:48
paulr5.0.0 sets the $LE variable to \n13:49
dhx_mbut maybe they do that as a hack to get around a broken SMTP implementation from oh... Microsoft? someone else? :p13:49
paulrwhen phpmailer changed13:49
paulrwe got a bug report, which I attempted to fix by using \n in an encode function13:49
paulrand mailed upstream who didn't respond13:49
paulrsince then siebrand has made a subsequent patch to my patch to fix something else13:49
paulrhttp://www.mantisbt.org/bugs/view.php?id=1026913:50
paulrEmail subjects are generated incorrectly, up to 1.1.6 they were really wrong because you were splitting the resulting base64 line againts base64 rules, in 1.2.0a3 the situation is much better, you are apparently splitting the text before encoding it in base64 but you add an extra space for each encoded part even if there wasn't a space in the original text.13:50
[KK]Kirillbug 1030313:53
mantisbotBug 10303 - jreese - open - assigned13:53
mantisbotCreate and use string_api wrappers for multibyte string functions - http://www.mantisbt.org/bugs/view.php?id=1030313:53
dhx_mI thought maybe RFC822 (predecessor to RFC2822) didn't require CRLF... but it does13:55
dhx_mso I don't see a reason (unless there is another RFC spec I'm unaware of) why people shouldn't be using CRLF13:56
nuclear_eclipseI would agree13:56
nuclear_eclipseI think that using '\n' against spec is probably the "wrong" solution....13:56
nuclear_eclipseand I never saw any problems at all in any of my mail readers when using '\r\n'...13:57
dhx_mtheir mailing list looks rather dead13:57
dhx_mit sounds like they aren't really setup nicely to receive input from the wider community?13:57
nuclear_eclipseIIRC, phpmailer isn't really a community effort anyways?13:58
nuclear_eclipsemaybe I'm thinking of a diff lib though13:58
dhx_mthe last bug they closed on their sourceforge bugtracker was from November 200813:59
dhx_mand given that sourceforge is basically now a historical code museum (does anyone still use it for active projects?), that doesn't surprise me13:59
paulri'm going to reopen those 2 bugs I think14:00
paulrand commit new phpmailer14:00
paulrand leave dhx_m to test14:00
paulrwhether I've just broken it14:00
paulr:)14:00
dhx_mwell I'm not too sure what the original problem was... but I'll try ;)14:01
paulr'it' being mailing in general14:01
dhx_mit might be worth nothing RFC2822 section 2.1 in your commit14:01
paulrI think we might need to initise class with exceptions = false14:01
dhx_m*noting14:01
dhx_mso that others know why it is being reverted14:02
giallupaulr, if we are upgrading phpmailer, please stick to upstream14:04
paulrlol14:05
paulrwe do14:05
dhx_mgiallu: even if they ignore bug reports?14:05
paulrupstream is just broken :)14:05
dhx_mI do agree it is best to follow upstream... but it doesn't sound like they're being responsive14:05
* nuclear_eclipse agrees with giallu14:05
giallulol... an in their home page they sugget using the sf.net tracker..14:05
gialludhx_m, yeah. we planmned to change our mailer14:06
giallubut I never got to it really14:06
dhx_mis there another alternative to p... ah ok :)14:06
paulrwell, to be fair giallu14:06
paulrthey started doing releases again14:06
giallupaulr, who cares14:06
CIA-18Mantisbt: paul * r6405283d96ac /core/phpmailer/ (24 files in 3 dirs): Update PHP Mailer to 5.0.14:07
gialludoing releases is just _one_ metric for a healty upstream14:07
dhx_mthat's nice... but they need to be responsive to their mailing list and errmmm "bug tracker" (if you'd call it that)14:07
dhx_myep14:07
dhx_mMantis is great because it is very open to suggestions, changes, bug reports, etc14:07
nuclear_eclipsewtf is this 'metric' garbage you peoples talk about? :P14:07
dhx_mie. a very healthy development environment14:07
paulrnuclear_eclipse: http://www.mantisforge.org:8080/cruisecontrol/buildresults/mantisbt?tab=metrics14:08
* nuclear_eclipse kicks paulr 14:08
paulrapparently our test framework covers 100% of the code it tests14:08
nuclear_eclipselol14:08
dhx_mhah14:09
paulrand look at the number of codesniffer errors i've fixed today14:09
nuclear_eclipsepaulr: so how does that tell a "good" build from "bad"?14:09
paulrit's gone from 1500 to ~014:09
paulrnuclear_eclipse: broken builds are when the scripts to execute tests+phpdoc etc fail to run :)14:09
nuclear_eclipsemmk14:10
paulrI should really work out how to clear old logs14:10
dhx_mie. it tells you when you're missing a brace somewhere14:10
paulr:)14:10
dhx_mwell email stills works after the upgrade :)14:11
dhx_mwhich sounds like the 2.x -> 5.x version change is just a marketing ploy14:11
paulrnod14:12
dhx_mif it required that little work to jump 3 whole versions14:12
paulrwell from what i can tell14:12
gialluwell that's strange14:12
paulrhaving just diff'd the whole thing14:12
paulrthe main changes seem to be14:12
giallusince the tarball of 5.0 is twice as large14:12
paulra) using exceptions internally14:12
paulrgiallu: they added a test framework14:12
nuclear_eclipsedhx_m: coulda been like WinAmp: WA2 + WA3 = WA5 :P14:12
gialluah14:12
paulrgiallu: I didn't include it all14:12
paulras some of it seemed to be a .swf14:12
dhx_mnuclear_eclipse: haha14:12
paulrso i'm assuming the test thing has an interface for sending mails...14:13
* daryn_away is away: Gone away for now14:14
dhx_mpaulr: I checked with wireshark and it is indeed sending \r\n as line ends now14:14
paulrhmm14:15
paulrwonder what $LE=\n refers to then14:15
* paulr shrugs14:15
paulrunless thats 'line endings within body of mail'14:16
dhx_munless \0d\0a refers to something else :p14:16
nuclear_eclipseholy crap! a tester who even knows what Wireshark is!!!14:16
* nuclear_eclipse hugs dhx_m 14:16
paulrnuclear_eclipse: who is this dhx guy? :)14:16
dhx_mnah, it is \0d\0a for both header line endings and the ending of lines withint he message14:16
dhx_mhaha14:16
dhx_mwell yeah, I'm not your traditional PHP/web development person14:17
dhx_min that I code in assembler, C, C++, etc14:17
dhx_mso TCP packets don't scare me :p14:17
paulrdhx_m: do you code flash?14:18
dhx_mpaulr: I very much hate Flash, so nope14:18
dhx_mno offence hah14:18
nuclear_eclipsehooray!14:18
nuclear_eclipseI'm not the only one who hates flash!14:19
dhx_mlol14:19
dhx_mI've been testing Firefox 3.1 and nightly builds of Epiphany/Webkit solely for the new <video> and <audio> HTML5 tags14:19
dhx_mI can't wait for that to go mainstream14:20
dhx_mand replace Flash for good :p14:20
nuclear_eclipse+114:20
dhx_mpaulr: core/phpmailer/class.smtp.php:60 =   public $CRLF = "\r\n";14:20
nuclear_eclipseand for Canvas to replace the remaining uses of flash....14:20
dhx_mhmmm I haven't read much about that14:21
dhx_msounds bad from the Wikipedia entry... if it uses Javascript to do the drawing14:21
dhx_mwhat was wrong with SVG?14:21
nuclear_eclipsedhx_m: performance14:21
nuclear_eclipseand SVG lacks the ablity for high-level logic14:22
nuclear_eclipseeg, Canvas can be used for games, animations, etc that SVG doesn't really support14:22
dhx_mwhile it does sound like a large step up from Flash/Silverlight(lol)14:23
dhx_mit still maintains the whole concept of breaking usability so people can invent their own stupid web UIs14:23
nuclear_eclipsehehe14:23
dhx_mie. Flash based site navigation (GRRRRRRRRRR!)14:24
paulrright anyway14:24
paulrback to work!14:24
dhx_m:)14:24
paulrwhat we need to do next14:24
CIA-18Mantisbt: paul * rf89f1a0fde01 /core/rssbuilder/ (13 files in 2 dirs): Rssbuilder updated to 2.2.114:24
nuclear_eclipsegotta take the bad with the good I reckon, but at least canvas will be built into every browser, rather than requiring an opaque third party plugin....14:24
paulrcanvas?14:24
dhx_mhttp://en.wikipedia.org/wiki/Canvas_%28HTML_element%2914:24
dhx_mIt is going to get abused heavily by web developers that think code should run on the client's machine14:25
nuclear_eclipseI think the only thing that canvas can't do that flash can is combine sounds within the animation14:26
dhx_m"Canvas consists of a drawable region defined in HTML code with height and width attributes. JavaScript code may access the area through a full set of drawing functions similar to other common 2D APIs, thus allowing for dynamically generated graphics. Some anticipated uses of the canvas include building graphs, animations, games, and image composition."14:26
paulrnuclear_eclipse: what's plan for 1.2.0?14:27
nuclear_eclipseare you still doing anything with pluggable authentication?14:28
dhx_mnuclear_eclipse: do you write patches for Mantis?14:29
paulrlol14:29
paulrnuclear_eclipse: I guess I should really14:29
dhx_ma different username for committing?14:29
giallujrees14:29
paulrdhx_m: jreese14:29
dhx_mOOOOHHHH! :)14:30
dhx_mlol14:30
dhx_mthat makes a lot of sense now hah14:30
paulrI guess I should look at: auth, cf, duedate/times and utf814:30
dhx_mif you're bored, tell me what you think of:14:30
dhx_mhttp://git.mantisforge.org/w/mantisbt/dhx.git?a=commit;h=67476ec9cef810b0fc6cf1b4adca63512aac1f0f14:31
paulror something14:31
dhx_mthat is just a minor fix14:31
nuclear_eclipsedhx_m: I'll look at it shortly14:31
* paulr is already looking at it14:32
dhx_mthere are also a few other things I came up with... but I'm not 100% sure if they're correct/good:14:32
nuclear_eclipseis there an associated bug report?14:32
dhx_mhttp://git.mantisforge.org/w/mantisbt/dhx.git?a=commit;h=229a6848f6eb8a8847fa85c763b45451556b708f14:32
dhx_myep, I'll give you those links instead14:32
dhx_mneeds closing as "already fixed" / "invalid": http://www.mantisbt.org/bugs/view.php?id=1028214:33
dhx_mEmpty target version field is shown in advanced bug report screen when no versions exist for a project: http://www.mantisbt.org/bugs/view.php?id=1028114:33
nuclear_eclipseclosed14:33
dhx_mAdd new stick/unstick button to html_buttons_view_bug_page: http://www.mantisbt.org/bugs/view.php?id=1026814:33
dhx_mDisplay target release date next to target version: http://www.mantisbt.org/bugs/view.php?id=1027414:34
paulrclosed?14:34
dhx_mI reported it by accident14:34
dhx_mAdded ability to have the html buttons bar at the top, bottom or both of the bug view page: http://www.mantisbt.org/bugs/view.php?id=1021714:34
dhx_mthat last one (10217) is not my suggestion14:34
dhx_mand to be honest, I think it sucks14:35
dhx_m... a bit14:35
dhx_mbut it can be useful if the metadata of the bug scrolls off the screen14:35
paulrtarget_version makes sense14:36
paulrimo14:36
dhx_m(you have a lot of custom fields, attachments, a long description, etc)14:36
dhx_meven if you have no target versions to select?14:36
CIA-18Mantisbt: paul * rf28189be5521 /bug_report_advanced_page.php: Fix: #0010281: Empty target version field is shown in advanced bug report screen when no versions exist for a project14:37
paulrnuclear_eclipse: and yes, imo we should14:38
paulr6 days ago 10274 shortlog | log | tree (base | diff)14:38
paulr9 days ago 10217 shortlog | log | tree (base | diff)14:38
paulr10 days ago 10268 shortlog | log | tree (base | diff)14:38
paulr10 days ago 10263 shortlog | log | tree (base | diff)14:38
paulrdhx_m: those as well?14:38
dhx_m10263 is already merged14:38
dhx_mthose numbers refer to the issue # on the mantis bugtracker14:39
paulrnod14:39
dhx_mI've rebased all my commits into just one14:39
dhx_mso it is cleaner (no "oops... forgot a ;"14:39
paulr:(14:39
* paulr goes off to sulk14:39
dhx_m:)14:40
dhx_msome of those other patches may need work14:40
dhx_mthey're more the "feature changes"14:40
dhx_mrather than bug fixes14:40
dhx_mexample... for 10274, I was uncertain about whether the <td> cells should be printed for each html_button even if that button won't be displayed14:42
dhx_mI'm not sure the code was already consistent in that respect14:43
dhx_mgrangeway = paulr?14:47
dhx_mnuclear_eclipse: very nice work with the revisions on bug notes... I was really looking for that sort of feature :)14:50
* daryn is back.15:02
nuclear_eclipsedhx_m: thanks, so was my employer :)15:21
nuclear_eclipseand yes, paulr == grangeway15:21
dhx_m:)15:21
nuclear_eclipseI'm actually lucky enough that most of my work on mantisbt is part of my job :)15:22
nuclear_eclipsealthough unfortunately, most of my time lately has been to spend time on proprietary in-house plugins15:22
dhx_minterfacing with in-house stuff?15:23
nuclear_eclipseyeah15:23
dhx_mthe plugin system is a nice direction to head towards (at least I think so)15:24
nuclear_eclipselike using a set of perl scripts on top of SCCS for source control of our products (ugh)15:24
dhx_mis the aim to try and move core Mantis features into plugins where possible?15:24
dhx_mfor example... SVN integration, time tracking, the status page, emailing?15:24
nuclear_eclipseno, core Mantis features should generally stay in core Mantis15:24
nuclear_eclipseplugins are designed for a) modifying core outputs, and b) adding new features to Mantis15:25
dhx_mso is there still room for adding new features into the Mantis core?15:25
dhx_mor will most of that be forced into plugins now?15:25
nuclear_eclipsedepends on the feature, and how integral it is to the point of tracking bugs/issues/projects15:26
dhx_mI guess IRC notification would be considered non-core?15:26
nuclear_eclipsecorrect15:26
dhx_mand email notification is still 'core'?15:27
nuclear_eclipseright15:27
[KK]Kirillnuclear_eclipse: öðí,15:27
[KK]Kirillwhy?15:27
nuclear_eclipsealthough, we are "planning" to build a new pluggable notification system after 1.2.0, which will allow plugins to hook new notification systems beyond just emails15:27
[KK]KirillYes!!!!15:28
dhx_mcan more than one plugin use a hook at a time?15:28
nuclear_eclipseeg, a plugin could be created to hook notifications, and then you could use that for an IRC bot, Twitter, IM, etc15:28
dhx_myep15:28
nuclear_eclipseand yes, events can be hooked by any number of plugins15:28
dhx_mgreat15:28
dhx_mthe main thing I think I'd like to see changed is restructuring the database schema to be more orthogonal15:29
nuclear_eclipseI've already created a rather comprehensive source control integration framework that is probably the best example of what the plugin system can do in its current state15:29
dhx_m:)15:29
[KK]KirillJohn15:30
[KK]Kirill$ git checkout Kirill15:30
[KK]Kirillerror: You have local changes to 'core/phpmailer/README'; cannot switch branches.15:30
nuclear_eclipseit's the same source integration used on our official tracker, although our tracker is using an old copy, and not many of the extra features it contains15:31
[KK]KirillJohn?15:33
dhx_mI've actually noticed that commit f28a89be (http://www.mantisbt.org/bugs/plugin.php?page=Source/view&id=13900) doesn't show up in the corresponding bug 1028115:33
mantisbotBug 10281 - dhx - fixed - resolved15:33
mantisbotEmpty target version field is shown in advanced bug report screen when no versions exist for a project - http://www.mantisbt.org/bugs/view.php?id=1028115:33
nuclear_eclipseyou need to do `git checkout <filename>` to drop the local changes to that file before you can switch branches15:34
dhx_mbug 1028215:34
mantisbotBug 10282 - dhx - unable to reproduce - closed15:34
mantisbotAdvanced bug report screen doesn't factor in new options $g_enable_profiles and $g_enable_build - http://www.mantisbt.org/bugs/view.php?id=1028215:34
dhx_mahhh, I was wondering why that appeared all of a sudden :)15:34
[KK]Kirill:(15:34
* nuclear_eclipse pats mantisbot15:34
[KK]Kirillkkrasnov@FCN0062 /c/Pers/SVN/MantisBTGit (master)15:35
[KK]Kirill$ git checkout core/phpmailer/README15:35
[KK]Kirillkkrasnov@FCN0062 /c/Pers/SVN/MantisBTGit (master)15:35
[KK]Kirill$ git checkout Kirill15:35
[KK]Kirillerror: You have local changes to 'core/phpmailer/README'; cannot switch branches15:35
nuclear_eclipse!15:36
nuclear_eclipseI have no clue15:36
* giallu heading home15:37
nuclear_eclipsebye giallu15:37
[KK]Kirillbye15:37
[KK]KirillI go home too15:37
dhx_m[KK]Kirill: rm README15:38
dhx_mand check it out again15:38
nuclear_eclipsepaulr: your ':' after 'fix' killed the ability for source integration to detect the link....15:38
dhx_mthen switch branches15:38
[KK]Kirilltnx15:38
dhx_mI think15:38
nuclear_eclipsebtw paulr, when you use somebody's fix, you should do it in a way that gives them credit ;)15:39
[KK]Kirillnot work15:39
* paulr stops sulking15:39
dhx_mhmmm15:40
dhx_mI'm not a git expert (yet)15:40
nuclear_eclipseeg, if you had merged his branch into master, it would have kept his author info and commit message15:40
nuclear_eclipseand then you could have ssigned off on his commit15:41
dhx_mat least I don't get the blame now :p15:41
nuclear_eclipselol15:41
dhx_mI had *nothing* to do with it :p15:41
nuclear_eclipsewell, with a signoff in Git, paulr would have still gotten the blame ;)15:41
dhx_mhaha15:41
nuclear_eclipseI guess this just my queue to improve the developer guide with the needed info, and then rub everyone's nose in it...15:42
dhx_mone question I had is whether I need to continually merge the master back into my branches?15:43
nuclear_eclipseI'd generally say no15:44
paulrnuclear_eclipse: or you could not improve the guide and we just carry on using you15:44
nuclear_eclipseyeah, but then you go and do things without even asking me...15:44
paulrlike what?15:44
nuclear_eclipselike using dhx_m's fix without giving him author credit...15:45
paulroh15:45
dhx_mit's OK... no hard feelings! :)15:45
nuclear_eclipsethe whole point of Git is that we can pull changes from remote branches to maintain author information15:45
paulrwell, I was gonna do that last night with your stuff15:45
paulr:)15:45
paulrbtw, git bundle exists too15:45
nuclear_eclipseright, the diff between bundle and format-patch (IIRC) is that `git bundle` requires parent objects to already exist in the receiving repo, and `git am` just applies the commits on top of your current branch15:47
nuclear_eclipseand bundle is more or less a low-level call meant to be used by git fetch and friends, not as a method of passing around commits/branches by hand15:48
paulrbesides15:49
paulrif dhx is gonna be a regular commitor15:49
paulrshould add to authors15:49
dhx_mwell I wouldn't expect that straight away15:49
dhx_mI'm still a stranger here ;)15:49
dhx_mbesides, do you have any form of review/sign-off so that more than 1 person reviews a patch before it is committed?15:50
dhx_mie. person X authored it, person Y reviewed it15:50
dhx_mand they both signed off on the patch15:51
paulrdhx_m: asl?15:51
dhx_mhaha15:51
paulrnot that formally tbh15:52
dhx_m23/m/en15:52
paulrthe process is:15:52
paulrif john writes a patch15:52
paulrand asks for some feedback15:52
paulrhe might get some15:52
paulrwhen he commits it15:52
paulrI read through commit15:52
paulrand whinge about anything I dont like :)15:53
nuclear_eclipsenote the *might* part of that...15:53
dhx_mhaha15:53
paulrI read through the commits15:53
paulrwhat this means is15:53
paulryou can code any feature and commit it15:53
dhx_mshouldn't that process happen in branches instead?15:53
paulrif it's broken, it gets pulled ;)15:53
paulr(that was in svn)15:53
dhx_mso the git master always builds?15:53
paulrmantis+git is still quite 'new'15:53
dhx_myep15:53
paulrI tend not to code big features often15:54
nuclear_eclipsedhx_m: our general "policy" is that if you're committing anything large enough that changes how things work, ask for a review first, otherwise, try your best not to break master :P15:54
dhx_mit is new to most people in the open source community15:54
paulrbut fiddle with things15:54
dhx_myep15:54
paulrwhich means i normally do something (e.g. add replace space with tabs15:54
paulrfuck something up15:54
dhx_mwhen did you upgrade from SVN?15:54
nuclear_eclipsedhx_m: if we waited for formal reviews to get anything into master, we'd still be on version 1.1.2....15:54
paulrand follow up with 1-2 fixes to fix the commit i did15:54
dhx_mnuclear_eclipse: I fully agree15:54
nuclear_eclipsewe make the conversion around novermber-ish15:55
nuclear_eclipsemade*15:55
dhx_mwow, that really is recent then15:55
nuclear_eclipsefor the most part, it gets a lot like SVN, except that we can more easily handle asynchronous development with git, like pulling patches/branches15:55
nuclear_eclipses/gets/gets used/15:56
dhx_mthe main advantage is branching is very cheap15:56
nuclear_eclipseright15:56
* daryn loves git...15:56
dhx_mwhich is why I've been doing 1 branch per feature so far15:56
nuclear_eclipsethat, and merging actually works15:56
dhx_malthough I have been rebasing my commits into a single patch15:56
dhx_mto hide the fact that I continually forget closing braces, etc15:57
nuclear_eclipsebranching is easy in SVN; it's getting those branches to interact with each other that's the hard part :P15:57
dhx_myep15:57
nuclear_eclipsedhx_m: that's fine, we tend to do the same thing15:57
dhx_m1 branch per 3 line fix is going a bit too far15:57
nuclear_eclipseeg, the commit for 9856 was about 10 commits before I pushed it into master15:57
dhx_mbut for major cleanups, etc... that is really something for a branch15:57
dhx_myep15:57
dhx_mI guess the real problem is do you keep it in a branch for 3 months, or place it in the master ASAP and work on it there15:58
dhx_mLinux kernel development seems to say that you'd put it in the kernel ASAP so as many people as possible will see it, test it, develop on it15:58
paulrnuclear_eclipse: you need to tell me what to do here15:59
nuclear_eclipseright, that was the big trouble with 9856, it was too big a change to dump on master without review, but it sat for monthes on a branch waiting for review....15:59
paulrand then we got bored15:59
paulr:)15:59
nuclear_eclipsegotta get to lunch, be back shortly15:59
paulrjfdi!15:59
nuclear_eclipsecheers15:59
dhx_myep, but what you committed worked fine15:59
dhx_maccording to the original design specs16:00
dhx_mpaul just fixed a few minor things I picked up when I tested it16:00
dhx_mbut that isn't necessarily something you'd always find in a review of code style, etc16:00
dhx_myou can have 5 people review a patch and completely miss some bugs16:01
dhx_monly to find someone else reports a bug or two in the patch 2 weeks after it is committed16:01
paulrdhx_m: well, what's interesting is I spotted what you picked up or well16:07
paulrthe bugapi part16:07
dhx_myep16:07
dhx_mI remember you mentioned that before16:08
paulrit's more why I knew what it was when you mentioned it16:08
paulr[12:54:56] <dhx_m> and it seems you can edit a bug note (without changing anything) and it'll record a new revision and history log entry16:09
paulr[12:54:59] <dhx_m> yep16:09
paulr[12:55:24] <paulr> yes, in fact it will16:09
paulr[12:55:37] <paulr> lets see if i'm right in thinking we didn't move something16:09
paulr25 seconds to remember that16:09
dhx_myep very quick :)16:10
paulr[12:58:08] <CIA-18>16:10
paulr~3 minutes to fix16:10
paulrbut I guess when you've already reviewed patch, spotted it needed fixing and forgot to tell the person who you was talking to when reviewing it...16:10
paulrdhx_m: could you test the phpmailer stuff with an invalid mailer setup16:22
dhx_mwrong smtp host, username, etc?16:22
paulryea16:22
paulri.e. throw an exception16:23
dhx_mok16:23
dhx_minvalid password = silent... no hint at failure16:24
paulras it's queueing mails probably16:25
dhx_minvalid host = same16:25
dhx_mI'm using the direct SMTP method16:25
dhx_mnot php mail() or the other way (sendmail I think?)16:25
paulrok so it might be fine16:26
dhx_mI just get no warning that it is not sending an email16:26
dhx_moh actually16:26
dhx_mit does queue them16:27
dhx_mwhen I go back to the correct settings, I get all the emails again16:27
paulrWOW16:35
paulrnuclear_eclipse: mo?16:36
CIA-18Mantisbt: paul * rbe736c3b3d61 /core/user_api.php: Fix: PHP Notice: Undefined variable: p in user_api.php on line 851 generated on live site.16:39
* paulr wows more16:43
paulri've found something to optimise16:45
* paulr bounces16:45
* nuclear_eclipse is back now16:49
paulrnuclear_eclipse: our email processing is retarded16:50
paulrincidently16:51
paulris the wiki broken atm?16:51
nuclear_eclipseI dunno16:51
paulr$t_access_level_string = strtoupper( get_enum_to_string( config_get( 'access_levels_enum_string' ),  $t_access_level ) );16:51
paulrwe will get_enum_to_string iirc16:51
nuclear_eclipsewiki looks fine to me16:51
paulr[Wed Apr 08 12:30:32 2009] [error] [client 77.54.75.184] PHP Fatal error:  Call to undefined function get_enum_to_string() in /var/www/html/wiki/inc/auth/mantis.class.php on line 8016:52
nuclear_eclipseoh16:52
nuclear_eclipseprobably the live site was never updated after the MantisEnum class was added16:52
paulrnod16:52
nuclear_eclipsehad the same problem on our local install16:52
paulrbut that's wiki16:52
paulris there a quick fix?16:52
nuclear_eclipseyeah, find the cooresponding MantisEnum::function() and replace one line of code :P16:53
paulroh16:53
paulrget_enum_to_string16:53
paulrjust becomes16:53
paulrMantisEnum::get_enum_to_string ?16:53
nuclear_eclipseI dunno16:54
paulrMantisEnum::getValues16:54
nuclear_eclipseit's been a while since I had to fix it16:54
paulradm_permissions_report.php(39): $t_access_levels = MantisEnum::getValues( config_get( 'access_levels_enum_string' ) );16:54
paulrthat'll do16:54
* paulr copies and pastes16:54
nuclear_eclipseso, what about our email processing is retarded, aside from the usual16:56
paulr[Wed Apr 08 00:03:41 2009] [error] [client 65.55.208.196] PHP Fatal error:  Unknown function:  config_get_global() in /var/www/html/bugs/core/database_api.php on line 5916:56
paulrhmm16:56
paulrthat's a strange error16:56
nuclear_eclipseagreed16:57
paulrseems to happen quite a lot too16:57
paulrhmm16:57
paulr65.55.106.231 - - [06/Apr/2009:09:57:42 -0400] "GET /bugs/core/database_api.php?g_db_type=mysql:/root@localhost HTTP/1.0" 200 - "-" "msnbot/2.0b"17:00
paulrlol?17:00
Enisseohi everyone!17:00
nuclear_eclipsehello17:00
paulrnuclear_eclipse: .htaccess it *or* can we do it in php ;p17:01
nuclear_eclipsepaulr: I assume that's some sort of "hack" attempt trying to attack PHP's register_globals setting17:01
nuclear_eclipseie, harmless17:01
* daryn_away is away: Gone away for now17:02
nuclear_eclipseand we could do it in code similar to what other apps do, eg, in core.php, define( 'MANTISBT', 1 ), and in all the API's, check for if !defined( MANTISBT ) die() type of thing17:02
nuclear_eclipsebut I don't think it really matters17:03
Enisseoand it's overwritten anyway, no?17:03
nuclear_eclipsewell, assuming that register_globals is off, then it wouldn't ever make it into the code we use17:04
paulri can just .htaccess it out17:05
Enisseoyes, but if it wasn't (like on other websites), the value of $g_db_type would be replaced by the one that is in the config file?17:05
paulrEnisseo: iirc, our install requires registerglobals off17:05
paulr[Tue Apr 07 20:19:08 2009] [error] [client 65.55.208.190] PHP Parse error:  syntax error, unexpected '<' in /var/www/html/bugs/core/filter_api.php on line 370917:06
paulrdaryn_away broke filter api again :(17:06
nuclear_eclipsepaulr: those errors are my fault; I updated the live site forgetting that master was "broken"17:07
paulroh today?17:07
nuclear_eclipsebut I ended up updating it back to Siebrand's last translation update17:07
paulrrevisions are on live site?17:07
nuclear_eclipseno, that was last night17:07
nuclear_eclipsenot including revisions17:07
nuclear_eclipseI was coming across the portugese language misnaming issue17:08
nuclear_eclipseso I was updating the live site to fix that problem17:08
paulrnod17:08
paulrbut that issue is erm17:08
paulrwe dont deal with language renames right?17:09
paulri.e. you can't just rename a language file17:09
paulrand not update database17:09
nuclear_eclipseI dunno about that part, I was just bringing the codebase up to date - it's last update was middle of January :P17:09
paulr[Sun Apr 05 05:30:30 2009] [error] [client 72.30.79.119] PHP Fatal error:  Allowed memory size of 52428800 bytes exhausted (tried to allocate 151 bytes) in /var/www/html/bugs/core/database_api.php on line 35717:10
nuclear_eclipseyay17:11
nuclear_eclipsesometimes I think Mantis caches a bit *too* much; we eat a lot of memory with caching everything in static variables17:11
paulr1) we need to fix issues from renaming languages17:12
paulr2) we need to fix email17:14
paulrnuclear_eclipse: have you ever seen quickskin?17:14
paulrfrom phpmailer guys17:14
nuclear_eclipsenope17:15
* paulr wants mail templates ;p17:15
paulr3) optimise print_all_bug_page17:17
* paulr starts on 317:17
* nuclear_eclipse pokes paulr about pluggable auth for a 1.2.x release17:17
* paulr fixin broken shit first17:18
nuclear_eclipselies17:18
paulr[Mon Apr 06 03:45:22 2009] [error] [client 65.55.208.191] PHP Fatal error:  Allowed memory size of 52428800 bytes exhausted (tried to allocate 10240 bytes) in /var/www/html/bugs/print_all_bug_page_word.php on line 34217:18
paulrgoogle bot keeps hitting it!17:18
* paulr hates the browsersearchpage stuff17:19
* daryn is back.17:27
darynso how did I break filter_api?  I haven't committed in ages!17:28
nuclear_eclipseI was kind of wondering the same thing....17:29
paulrwow17:29
paulrprint all bug page is actually broken too17:29
darynpaulr I think you imagine broken things17:29
darynand then they break17:29
paulrdaryn: it's ok, john worked out i broke it17:30
darynic17:30
darynapology accepted17:30
daryn:P17:30
paulrdoes the mantis logo get downloaded via file_download or something17:31
nuclear_eclipsenot to my knowledge17:33
paulrI've worked it out17:33
nuclear_eclipseit's just a straight HTTP ref17:33
paulrchrome = i'll browse some pages you might browse to17:34
paulrIE = i'll download search page logic to see if it's changed17:34
paulrwhats mod in php17:37
paulrnuclear_eclipse: do you plan to update mantisbt.org to live code in 2 minutes?17:42
nuclear_eclipsewhy?17:42
paulr+if ( $t_row_count % 50 == 0 ) {17:42
paulr+# to save ram as report will list data once, clear cache after 50 bugs17:42
paulr+bug_text_clear_cache();17:42
paulr+bug_clear_cache();17:42
paulr+bugnote_clear_cache();17:42
paulr+}17:42
paulrshould fix print_all_bugs_word thing17:42
nuclear_eclipsefancy17:42
paulror at least reduce some ram17:42
paulr-$t_last_modified = date( config_get( 'normal_date_format' ), ( db_unixtimestamp( $t_bugnote->last_modified ) ) );17:42
paulr+$t_date_submitted = date( $t_date_format, $t_bugnote->date_submitted );17:42
paulreven fixed a bug too :)17:42
paulrso i want to test and see if it does enough ;p17:44
CIA-18Mantisbt: paul * rcf16fba204af / (core/bugnote_api.php print_all_bug_page_word.php): Fix: bugnote date was incorrect when printing bugs to word17:44
nuclear_eclipsehas the filter_api problem been fixed ?17:44
paulrI fixed known whitespaces problems hours ago :P17:44
nuclear_eclipseok, I wasn't sure if that fix was already committed or not17:45
nuclear_eclipseI blame you if live breaks now....17:45
paulr[Wed Apr 08 12:33:20 2009] [error] [client 77.103.37.178] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /var/www/html/bugs/core/email_api.php on line 1123, referer: http://www.mantisbt.org/bugs/view.php?id=428617:45
paulrI want to fix that )17:45
paulr:)17:45
paulrbut i'm not sure if I *really* want to17:45
nuclear_eclipsehelper_begin_long_process() ? ;)17:46
paulrit's not that17:46
paulrwe rebuild all the bug/note information17:46
paulrfor each user a bug gets emailed to17:46
paulrthe whole purpose of repeating that work seems to be17:46
paulra) so we can localize the header type strings17:46
paulrb) so we can check permissions17:47
paulrsite hasn't been updated yet?17:47
paulr[Wed Apr 08 13:46:41 2009] [error] [client 70.24.13.71] PHP Notice:  Undefined variable: p in /var/www/html/bugs/core/user_api.php on line 85117:47
paulrpretty sure I fixed that earlier17:47
paulr:)17:47
nuclear_eclipsepaulr: updated17:47
paulrahh youd alrady done db update?17:47
nuclear_eclipseI have now ;)17:48
nuclear_eclipseI still haven't 'fixed' the database for the portugese problem though17:48
paulrthat requires an upgrade step17:49
paulror17:49
paulrwe fix code to fallback to english17:49
paulrdepends if we want to be nice to users or just work17:49
nuclear_eclipseI thought it already did....17:49
paulrwell we'll see I guess17:49
nuclear_eclipselang_api should fall back to english for any language string not available in the requested language17:50
paulr[Wed Apr 08 13:49:29 2009] [error] [client 200.93.147.154] script not found or unable to stat: /var/www/git/gitweb.cgiinclude17:50
paulr[Wed Apr 08 13:50:08 2009] [error] [client 87.104.14.44] PHP Notice: A feed could not be found at http://twitter.com/statuses/user_timeline/7199732.rss in /var/www/html/main/files/simplepie.inc on line 1780, referer: http://projekt.kelacom.com/view.php?id=217:50
paulri need a large database17:56
paulrhmm17:56
paulrnuclear_eclipse: you gone?18:38
nuclear_eclipsenope18:39
paulrnuclear_eclipse: have you seen the mantisenum issue stuff?18:42
nuclear_eclipseno18:43
paulrnuclear_eclipse: http://www.mantisbt.org/bugs/view.php?id=1017018:43
nuclear_eclipseoh that one18:45
nuclear_eclipseI remember it now18:45
nuclear_eclipsethat is a *giant* workflow....18:46
* paulr is gonna look at that now though18:46
paulrnuclear_eclipse: ok, we *need* that patch ;p18:51
paulrnuclear_eclipse: are the custom function stuff 'legacy'?18:53
CIA-18Mantisbt: paul * r35759cea4669 /core/columns_api.php: Perf: use strncmp over strpos19:05
CIA-18Mantisbt: paul * r17093830cee6 /print_all_bug_page_word.php: cache config_get calls19:05
CIA-18Mantisbt: paul * rb6b90f672bd9 /core/classes/MantisEnum.class.php: Fix: #0010170: MantisEnum class is inefficient when dealing with more than a few tuples19:05
CIA-18Mantisbt: jreese * r8940888b8f51 /core/string_api.php: Fix #10228: Email linking boundaries changed to whitespace, to prevent linking in the middle of a URL.19:33
paulrhmm19:43
nuclear_eclipsehi giallu19:45
gialluhi nuclear_eclipse19:57
gialluso, what's next?20:05
darynhi giallu20:16
gialluhey daryn :)20:21
--- scribe started ---20:43
paulrI type xm restart then went off to play game an hour ago ;p20:43
darynsee, i told you!20:44
nuclear_eclipselol20:44
nuclear_eclipsepaulr!20:44
nuclear_eclipsejreese@iowa[/space/workspace/plugins/source-integration] git push                                                                    < 16:3120:44
nuclear_eclipsessh: connect to host git.mantisforge.org port 22: Connection refused20:44
nuclear_eclipsefatal: The remote end hung up unexpectedly20:44
nuclear_eclipseyou really need to set that up to start automatically....20:44
Enisseodoes anyone know on which page the notice.gif is used?21:12
moto-moiEnisseo: try 'grep' ?21:33
Enisseomoto-moi: tried on eclipse, no result (but I'm sure I've seen this icon somewhere...)21:33
Enisseoanyway, I've made some changes to my graphic design of mantis (http://enisseo.net/mantisbt/ login/mdp=test/test)21:34
moto-moinice :P21:34
moto-moidon't forget to delete the admin directory ;)21:34
Enisseoif you want a patch one day... ;)21:34
moto-moiI don't think it will ever meet out current design -> http://tweakers.net/21:35
Enisseodoing that right now21:35
moto-moi;)21:35
Enisseomoto-moi: it's mostly css21:35
Enisseojust a few minor changes to the html21:36
moto-moiwell, try to get it upstream :)21:36
Enisseoi should get git to do so, I guess21:37
moto-moinot a clue, but I guess they'll take ordinary patches as well :)21:37
Enisseolike svn patches?21:38
moto-moino, diff :)21:38
Enisseowhat does this format look like?21:39
moto-moihttp://en.wikipedia.org/wiki/Diff :)21:39
Enisseoyey, what I thought: I use Windows :S21:40
moto-moiAh21:40
moto-moipoor you :P21:40
moto-moibut afaik eclipse can also make these kind of diffs21:40
moto-moior else someone like paulr can tell you what kind of patches they like best21:40
EnisseoAnd then I send this patch to someone like paulr? Or is there a special way?21:41
darynunified diff21:42
darynattached to a bug21:42
Enisseookay, thank you daryn21:43
EnisseoI'll try to do so after a long sleep21:43
daryn:)21:43
Enisseobye everyone!21:44
moto-moibye :)21:44
paulrnuclear_eclipse: isn't it @reboot /root/sshd.sh21:46
nuclear_eclipseI don't know, you're the one who set up the box....21:47
nuclear_eclipseI have no clue how you set up anything on it21:47
paulr i mean, I have that in a crontab21:47
nuclear_eclipsewhy do you have that in a crontab rather than a some sort of init level system service?21:48
paulrtrue21:54
paulrI was lazy21:54
paulr:)21:54
paulri'm also used to not being root needing to run something21:54
paulrnuclear_eclipse: trying to work out how to improve print_all_bug_page_word22:03
paulrshould username's be hyperlinked when going to a word report?22:12
paulr;/22:28
nuclear_eclipsepaulr: doesn't matter to me how the word file is created, but I doubt it matters enough to hypelink usernames22:29
paulrwhy did we use 1970 for null due dates (23:16
paulr:(23:16
paulrnuclear_eclipse: i need to fix date handling ;/23:40

Generated by irclog2html.py