Wednesday, 2009-05-06

../irclogs/#mantishelp.2009-05-06.log
--- scribe started ---00:00
mantisbotNew bug: Bug 10457 - ischilling - open - new01:00
mantisbotNew bug: Adding option to have Google Analytics JS or other, custom JS embedded - http://www.mantisbt.org/bugs/view.php?id=1045701:00
vb123hmm.....03:43
rtylervb123: you seen any MantisConnect python bindings running about?03:43
vb123the ordering of the versions in the bug tracker changelog looks strange:03:43
vb123http://www.mantisbt.org/bugs/changelog_page.php03:43
* rtyler wonders if vb123 remembers him03:43
vb123name is familiar, but can't remember03:44
vb123I remember a mention of python bindings somewhere in the forums.03:44
vb123however, not sure if the code was made available.03:44
rtylernot me, way back in the day I built the Cocoa MC bindings, and some other goofy crap with MC03:44
vb123bugtrap?03:44
rtyleryarp03:44
vb123yep, I remember now.03:45
vb123welcome back.03:45
rtylerback before I ditched writing apple software :P03:45
vb123:) why did you ditch that?03:45
rtylerpolitics, I don't support Apple's introduction of trusted computing with the iPhone03:45
rtyler(among other things)03:45
rtylerI'm planning on writing a Python script to /hopefully/ use Trac's XML-RPC bindings and MantisConnect to import stuffs03:46
vb123yep, I don't like Apple's closed mentality and over charging because they can.03:46
vb123import from track via XmlRpc and writes to MantisBT via MC?03:47
vb123I mean Trc03:47
vb123Trac03:47
rtyleryeah, something like that, easiest way I can think of to preserve as much of the object model as possible03:47
vb123There are two options to consider:03:48
vb1231. Using MC03:48
rtyleror new plugin03:48
rtyler:D03:48
vb1232. Using XML and checking out the XML import functionality that was developed for 1.2.x.03:48
vb123I personally prefer MC since this will add value to MC.03:48
vb123However, the other option may be worth checking out as well.03:48
rtylervb123: it'd be more feasible to add 'interactive' functionality to the MC version03:48
rtyleri.e. fetch ticket, present user what the ticket will look like in Mantis, then submit03:49
vb123correct.03:49
vb123but you can do the same with XML as well.03:49
rtylerthat, and I just plain like webservices03:49
vb123sounds good to me.03:49
vb123I recently started adding php unit tests for MC.  Before we only had unit tests via C# and Java.03:50
vb123That provides an easy way to test and find regressions.03:50
rtylerit's only been what, 3-4 years? :P03:50
vb123was it that long?03:51
vb123You were planning to implement a rich client, right?03:51
rtyleryeah, I ditched that entirely after my other developer tool flopped entirely03:51
rtylermy prototype was neat, just not neat enough03:51
* rtyler is a much better hacker now too >_>03:52
rtylermaybe you can answer another question I've had kicking around03:52
rtylerwhy the hell is there like zero AJAX or live updating code running around in Mantis still?03:52
rtylerI can't believe this "click to proceed" stuff is still around :P03:53
* rtyler set the redirect time to 003:53
vb123you will have to hide the query count and query list for it to disappear.03:53
mantisbotNew bug: Bug 10458 - karthikeyan - open - new04:22
mantisbotNew bug: defect retest - http://www.mantisbt.org/bugs/view.php?id=1045804:22
mantisbotNew bug: Bug 10459 - karthikeyan - open - new04:22
mantisbotNew bug: defect retest - http://www.mantisbt.org/bugs/view.php?id=1045904:22
mantisbotNew bug: Bug 10460 - karthikeyan - open - new04:32
mantisbotNew bug: defect retest - http://www.mantisbt.org/bugs/view.php?id=1046004:32
mantisbotNew bug: Bug 10461 - karthikeyan - open - new04:37
mantisbotNew bug: defect retest - http://www.mantisbt.org/bugs/view.php?id=1046104:37
mantisbotNew bug: Bug 10462 - karthikeyan - open - new04:42
mantisbotNew bug: defect retest - http://www.mantisbt.org/bugs/view.php?id=1046204:42
dhx_mpaulr: hey05:51
CIA-31Mantisbt: giallu * r5ffe3a6688d4 /tests/ (Mantis/AllTests.php soap/AllTests.php): Fix inheritance09:04
CIA-31Mantisbt: giallu * rd4f4e2136a52 /tests/Mantis/EnumTest.php: New stuff is not copyright kenito09:04
CIA-31Mantisbt: giallu * re8652e7f9cc0 /tests/soap/AllTests.php: Skip SOAP tests if php extension is not loaded09:04
CIA-31Mantisbt: giallu * r979802f5cda9 /tests/ (4 files in 2 dirs): Move string tests to a PHPUnit09:04
mantisbotNew bug: Bug 10463 - aysha - open - new11:29
mantisbotNew bug: i got error while filling the Installtion form - http://www.mantisbt.org/bugs/view.php?id=1046311:29
* daryn_away is away: Gone away for now17:46
* daryn is back.18:29
paulr.18:43
paulrevening/afternoon/morning18:43
rtyler+1, Morning18:44
paulrI thought i recognised the nick btw18:48
* paulr saw vb+rt conversation18:49
rtylerah18:49
rtylerheh18:49
rtylerI've got to figure out what my coworkers had against mantis, I'm willing to bet that it had to deal with a poorly configured installation19:01
rtylersince Trac is by *no* means better19:01
paulrhmm?19:10
darynpaulr...here goes19:13
paulroh19:13
paulrhi daryn19:13
darynhello19:14
paulryou are playing with dates?19:14
darynupgrading now19:14
darynstill long19:15
paulrlong?19:15
paulrit'll take a while19:15
paulras it's doing like 30k db queries...19:15
paulryou took dates3 right?19:15
darynoh...no. dates219:15
daryndidn't see 319:15
darynyou said 2 yesterday19:15
paulryea, 219:15
paulrdates219:16
darynyeah i got that19:16
darynabout 3:30 min19:17
paulrsounds fine19:17
paulr:P19:17
paulrasyou have like 50,000 bugs right?19:17
daryn30000ish19:18
paulr+ bug history19:18
darynright19:18
paulr+ users19:18
paulretc19:18
paulrit's basically 1 query / row19:18
darynevery issue is highlighted as recently updated...19:18
paulrbut with correct timestamps?19:19
darynlooks like it so far19:19
darynhm...did you do anything with custom field dates?19:21
paulriirc, no19:22
darynit's displaying wrong in my current site too.  the date is correct in the db but mantis seems to be mangling it19:27
darynboth new and old19:27
paulrfor cf?19:27
darynyeah19:27
paulri've not really used date cf's19:28
paulr:)19:28
paulrwhat does a date cf store in db?19:28
paulratm?19:28
daryndatetime19:28
darynoh, no...it's a string.19:28
daryneverything is a varchar for custom field values19:28
paulryes I know it's a string19:28
paulra string containing what19:28
paulr:)19:28
paulran int or a date strig?19:28
daryn1997-03-03 00:00:0019:29
daryndate string19:29
paulrwow?19:29
darynwow what?19:29
paulryou gotta be kidding me :(19:29
darynthat it's storing a date string?19:29
* paulr nods19:29
darynnope...that's what it's storing19:30
paulrdo you think i've broken recently updated highlighting?19:30
paulror was it just you've never logged ionto that db before19:30
daryni'm not sure. it wasn't doing that before19:30
daryndoesn't it use last updated?19:30
paulr9remember you just made a new db)19:30
darynall that data is old though19:30
* paulr wonders what api we use to display recently updatedi n bold19:31
daryndon't know but you can change the value in filter19:31
daryndefaults to last 6 hours19:31
paulrso filter api19:32
darynwell...i don't think so.19:33
daryni think it might be a print column function or something19:33
darynprint_column_last_updated19:34
daryn $t_last_updated = date( config_get( 'short_date_format' ), $p_row['last_updated'] );19:34
darynif( $p_row['last_updated'] > strtotime( '-' . $t_filter['highlight_changed'] . ' hours' ) ) {19:34
paulryep tht's wrong19:34
darynso column_api19:35
paulrdaryn: that's fine19:37
paulr(what you paste)19:37
paulrso that just leaves19:37
paulrcustom fields19:37
darynso...it's not wrong?19:38
paulrI dont think so19:42
paulrdate formats $t_last_updated for display19:42
paulrand we compare the int value19:42
paulrso erm19:42
paulrwe need to convert custom fields too19:42
paulrcool19:42
paulrdaryn: it stores a date?19:44
paulras a string for CF's?19:44
darynyes19:44
paulr// gpc_get_cf for date returns the value from strftime19:47
paulr// either false (php >= 5.1)  or -1 (php < 5.1) for failure19:47
paulr$t_valid &= ( $p_value !== false ) && ( $p_value > 0 );19:47
paulrit should be unixtimestamps i think............19:47
paulrprint_date_selection_set( 'custom_field_' . $p_field_def['id'], config_get( 'short_date_format' ), $p_custom_field_value, false, true );19:47
daryni'm just looking at the values in the db...19:48
darynstrftime is format time by locale19:48
darynas a string19:48
paulrbah misread19:49
paulrgreat19:49
paulrcool ;P19:49
paulrso custom field dates19:49
paulrneed their own function to fix as they dont use adodb dates19:49
darynya19:50
gthomashi!19:57
paulrhi19:58
gthomasany idea how to show the last updater (message appender) with the bug (MyPage, Bugs List)?19:58
gthomasthought about a custom field (easy showing - just customisation) with an update hook19:59
paulrnot sure you can do that atm19:59
gthomasany better?19:59
* paulr pokes daryn 20:00
darynhm?20:00
paulrdaryn: gthomas's query20:00
daryngthomas you want to display the last person who updated an issue? on the myview and view issues pages?20:01
gthomasexactly20:01
gthomas(updated = appended a message, if possible)20:02
darynwell...the history would have the info i think20:02
darynyou might be able to do a custom function for it...just a sec20:02
darynwell...it wouldn't be terribly difficult to add i don't think but a simple custom function probably won't do it20:06
daryntake a look at core/column_api.php20:08
gthomaswhat about a custom field (easy showing - just customisation) with an update hook, which updates it to the proper value?20:08
gthomasthanks the idea!20:09
darynprobably would work...maybe a little hacky20:09
daryni thinkyou'd have to insert values into the post for it to work20:10
gthomasseems ugly. I thought some direct db insert could be possible - maybe too hacky.20:13
gthomasthanks! I'll come back if finds something/stucks.20:21
* daryn_away is away: Gone away for now23:16

Generated by irclog2html.py