| ../irclogs/#mantishelp.2009-05-06.log | ||
| --- scribe started --- | 00:00 | |
| mantisbot | New bug: Bug 10457 - ischilling - open - new | 01:00 |
|---|---|---|
| mantisbot | New bug: Adding option to have Google Analytics JS or other, custom JS embedded - http://www.mantisbt.org/bugs/view.php?id=10457 | 01:00 |
| vb123 | hmm..... | 03:43 |
| rtyler | vb123: you seen any MantisConnect python bindings running about? | 03:43 |
| vb123 | the ordering of the versions in the bug tracker changelog looks strange: | 03:43 |
| vb123 | http://www.mantisbt.org/bugs/changelog_page.php | 03:43 |
| * rtyler wonders if vb123 remembers him | 03:43 | |
| vb123 | name is familiar, but can't remember | 03:44 |
| vb123 | I remember a mention of python bindings somewhere in the forums. | 03:44 |
| vb123 | however, not sure if the code was made available. | 03:44 |
| rtyler | not me, way back in the day I built the Cocoa MC bindings, and some other goofy crap with MC | 03:44 |
| vb123 | bugtrap? | 03:44 |
| rtyler | yarp | 03:44 |
| vb123 | yep, I remember now. | 03:45 |
| vb123 | welcome back. | 03:45 |
| rtyler | back before I ditched writing apple software :P | 03:45 |
| vb123 | :) why did you ditch that? | 03:45 |
| rtyler | politics, I don't support Apple's introduction of trusted computing with the iPhone | 03:45 |
| rtyler | (among other things) | 03:45 |
| rtyler | I'm planning on writing a Python script to /hopefully/ use Trac's XML-RPC bindings and MantisConnect to import stuffs | 03:46 |
| vb123 | yep, I don't like Apple's closed mentality and over charging because they can. | 03:46 |
| vb123 | import from track via XmlRpc and writes to MantisBT via MC? | 03:47 |
| vb123 | I mean Trc | 03:47 |
| vb123 | Trac | 03:47 |
| rtyler | yeah, something like that, easiest way I can think of to preserve as much of the object model as possible | 03:47 |
| vb123 | There are two options to consider: | 03:48 |
| vb123 | 1. Using MC | 03:48 |
| rtyler | or new plugin | 03:48 |
| rtyler | :D | 03:48 |
| vb123 | 2. Using XML and checking out the XML import functionality that was developed for 1.2.x. | 03:48 |
| vb123 | I personally prefer MC since this will add value to MC. | 03:48 |
| vb123 | However, the other option may be worth checking out as well. | 03:48 |
| rtyler | vb123: it'd be more feasible to add 'interactive' functionality to the MC version | 03:48 |
| rtyler | i.e. fetch ticket, present user what the ticket will look like in Mantis, then submit | 03:49 |
| vb123 | correct. | 03:49 |
| vb123 | but you can do the same with XML as well. | 03:49 |
| rtyler | that, and I just plain like webservices | 03:49 |
| vb123 | sounds good to me. | 03:49 |
| vb123 | I recently started adding php unit tests for MC. Before we only had unit tests via C# and Java. | 03:50 |
| vb123 | That provides an easy way to test and find regressions. | 03:50 |
| rtyler | it's only been what, 3-4 years? :P | 03:50 |
| vb123 | was it that long? | 03:51 |
| vb123 | You were planning to implement a rich client, right? | 03:51 |
| rtyler | yeah, I ditched that entirely after my other developer tool flopped entirely | 03:51 |
| rtyler | my prototype was neat, just not neat enough | 03:51 |
| * rtyler is a much better hacker now too >_> | 03:52 | |
| rtyler | maybe you can answer another question I've had kicking around | 03:52 |
| rtyler | why the hell is there like zero AJAX or live updating code running around in Mantis still? | 03:52 |
| rtyler | I can't believe this "click to proceed" stuff is still around :P | 03:53 |
| * rtyler set the redirect time to 0 | 03:53 | |
| vb123 | you will have to hide the query count and query list for it to disappear. | 03:53 |
| mantisbot | New bug: Bug 10458 - karthikeyan - open - new | 04:22 |
| mantisbot | New bug: defect retest - http://www.mantisbt.org/bugs/view.php?id=10458 | 04:22 |
| mantisbot | New bug: Bug 10459 - karthikeyan - open - new | 04:22 |
| mantisbot | New bug: defect retest - http://www.mantisbt.org/bugs/view.php?id=10459 | 04:22 |
| mantisbot | New bug: Bug 10460 - karthikeyan - open - new | 04:32 |
| mantisbot | New bug: defect retest - http://www.mantisbt.org/bugs/view.php?id=10460 | 04:32 |
| mantisbot | New bug: Bug 10461 - karthikeyan - open - new | 04:37 |
| mantisbot | New bug: defect retest - http://www.mantisbt.org/bugs/view.php?id=10461 | 04:37 |
| mantisbot | New bug: Bug 10462 - karthikeyan - open - new | 04:42 |
| mantisbot | New bug: defect retest - http://www.mantisbt.org/bugs/view.php?id=10462 | 04:42 |
| dhx_m | paulr: hey | 05:51 |
| CIA-31 | Mantisbt: giallu * r5ffe3a6688d4 /tests/ (Mantis/AllTests.php soap/AllTests.php): Fix inheritance | 09:04 |
| CIA-31 | Mantisbt: giallu * rd4f4e2136a52 /tests/Mantis/EnumTest.php: New stuff is not copyright kenito | 09:04 |
| CIA-31 | Mantisbt: giallu * re8652e7f9cc0 /tests/soap/AllTests.php: Skip SOAP tests if php extension is not loaded | 09:04 |
| CIA-31 | Mantisbt: giallu * r979802f5cda9 /tests/ (4 files in 2 dirs): Move string tests to a PHPUnit | 09:04 |
| mantisbot | New bug: Bug 10463 - aysha - open - new | 11:29 |
| mantisbot | New bug: i got error while filling the Installtion form - http://www.mantisbt.org/bugs/view.php?id=10463 | 11:29 |
| * daryn_away is away: Gone away for now | 17:46 | |
| * daryn is back. | 18:29 | |
| paulr | . | 18:43 |
| paulr | evening/afternoon/morning | 18:43 |
| rtyler | +1, Morning | 18:44 |
| paulr | I thought i recognised the nick btw | 18:48 |
| * paulr saw vb+rt conversation | 18:49 | |
| rtyler | ah | 18:49 |
| rtyler | heh | 18:49 |
| rtyler | I'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 installation | 19:01 |
| rtyler | since Trac is by *no* means better | 19:01 |
| paulr | hmm? | 19:10 |
| daryn | paulr...here goes | 19:13 |
| paulr | oh | 19:13 |
| paulr | hi daryn | 19:13 |
| daryn | hello | 19:14 |
| paulr | you are playing with dates? | 19:14 |
| daryn | upgrading now | 19:14 |
| daryn | still long | 19:15 |
| paulr | long? | 19:15 |
| paulr | it'll take a while | 19:15 |
| paulr | as it's doing like 30k db queries... | 19:15 |
| paulr | you took dates3 right? | 19:15 |
| daryn | oh...no. dates2 | 19:15 |
| daryn | didn't see 3 | 19:15 |
| daryn | you said 2 yesterday | 19:15 |
| paulr | yea, 2 | 19:15 |
| paulr | dates2 | 19:16 |
| daryn | yeah i got that | 19:16 |
| daryn | about 3:30 min | 19:17 |
| paulr | sounds fine | 19:17 |
| paulr | :P | 19:17 |
| paulr | asyou have like 50,000 bugs right? | 19:17 |
| daryn | 30000ish | 19:18 |
| paulr | + bug history | 19:18 |
| daryn | right | 19:18 |
| paulr | + users | 19:18 |
| paulr | etc | 19:18 |
| paulr | it's basically 1 query / row | 19:18 |
| daryn | every issue is highlighted as recently updated... | 19:18 |
| paulr | but with correct timestamps? | 19:19 |
| daryn | looks like it so far | 19:19 |
| daryn | hm...did you do anything with custom field dates? | 19:21 |
| paulr | iirc, no | 19:22 |
| daryn | it's displaying wrong in my current site too. the date is correct in the db but mantis seems to be mangling it | 19:27 |
| daryn | both new and old | 19:27 |
| paulr | for cf? | 19:27 |
| daryn | yeah | 19:27 |
| paulr | i've not really used date cf's | 19:28 |
| paulr | :) | 19:28 |
| paulr | what does a date cf store in db? | 19:28 |
| paulr | atm? | 19:28 |
| daryn | datetime | 19:28 |
| daryn | oh, no...it's a string. | 19:28 |
| daryn | everything is a varchar for custom field values | 19:28 |
| paulr | yes I know it's a string | 19:28 |
| paulr | a string containing what | 19:28 |
| paulr | :) | 19:28 |
| paulr | an int or a date strig? | 19:28 |
| daryn | 1997-03-03 00:00:00 | 19:29 |
| daryn | date string | 19:29 |
| paulr | wow? | 19:29 |
| daryn | wow what? | 19:29 |
| paulr | you gotta be kidding me :( | 19:29 |
| daryn | that it's storing a date string? | 19:29 |
| * paulr nods | 19:29 | |
| daryn | nope...that's what it's storing | 19:30 |
| paulr | do you think i've broken recently updated highlighting? | 19:30 |
| paulr | or was it just you've never logged ionto that db before | 19:30 |
| daryn | i'm not sure. it wasn't doing that before | 19:30 |
| daryn | doesn't it use last updated? | 19:30 |
| paulr | 9remember you just made a new db) | 19:30 |
| daryn | all that data is old though | 19:30 |
| * paulr wonders what api we use to display recently updatedi n bold | 19:31 | |
| daryn | don't know but you can change the value in filter | 19:31 |
| daryn | defaults to last 6 hours | 19:31 |
| paulr | so filter api | 19:32 |
| daryn | well...i don't think so. | 19:33 |
| daryn | i think it might be a print column function or something | 19:33 |
| daryn | print_column_last_updated | 19:34 |
| daryn | $t_last_updated = date( config_get( 'short_date_format' ), $p_row['last_updated'] ); | 19:34 |
| daryn | if( $p_row['last_updated'] > strtotime( '-' . $t_filter['highlight_changed'] . ' hours' ) ) { | 19:34 |
| paulr | yep tht's wrong | 19:34 |
| daryn | so column_api | 19:35 |
| paulr | daryn: that's fine | 19:37 |
| paulr | (what you paste) | 19:37 |
| paulr | so that just leaves | 19:37 |
| paulr | custom fields | 19:37 |
| daryn | so...it's not wrong? | 19:38 |
| paulr | I dont think so | 19:42 |
| paulr | date formats $t_last_updated for display | 19:42 |
| paulr | and we compare the int value | 19:42 |
| paulr | so erm | 19:42 |
| paulr | we need to convert custom fields too | 19:42 |
| paulr | cool | 19:42 |
| paulr | daryn: it stores a date? | 19:44 |
| paulr | as a string for CF's? | 19:44 |
| daryn | yes | 19:44 |
| paulr | // gpc_get_cf for date returns the value from strftime | 19:47 |
| paulr | // either false (php >= 5.1) or -1 (php < 5.1) for failure | 19:47 |
| paulr | $t_valid &= ( $p_value !== false ) && ( $p_value > 0 ); | 19:47 |
| paulr | it should be unixtimestamps i think............ | 19:47 |
| paulr | print_date_selection_set( 'custom_field_' . $p_field_def['id'], config_get( 'short_date_format' ), $p_custom_field_value, false, true ); | 19:47 |
| daryn | i'm just looking at the values in the db... | 19:48 |
| daryn | strftime is format time by locale | 19:48 |
| daryn | as a string | 19:48 |
| paulr | bah misread | 19:49 |
| paulr | great | 19:49 |
| paulr | cool ;P | 19:49 |
| paulr | so custom field dates | 19:49 |
| paulr | need their own function to fix as they dont use adodb dates | 19:49 |
| daryn | ya | 19:50 |
| gthomas | hi! | 19:57 |
| paulr | hi | 19:58 |
| gthomas | any idea how to show the last updater (message appender) with the bug (MyPage, Bugs List)? | 19:58 |
| gthomas | thought about a custom field (easy showing - just customisation) with an update hook | 19:59 |
| paulr | not sure you can do that atm | 19:59 |
| gthomas | any better? | 19:59 |
| * paulr pokes daryn | 20:00 | |
| daryn | hm? | 20:00 |
| paulr | daryn: gthomas's query | 20:00 |
| daryn | gthomas you want to display the last person who updated an issue? on the myview and view issues pages? | 20:01 |
| gthomas | exactly | 20:01 |
| gthomas | (updated = appended a message, if possible) | 20:02 |
| daryn | well...the history would have the info i think | 20:02 |
| daryn | you might be able to do a custom function for it...just a sec | 20:02 |
| daryn | well...it wouldn't be terribly difficult to add i don't think but a simple custom function probably won't do it | 20:06 |
| daryn | take a look at core/column_api.php | 20:08 |
| gthomas | what about a custom field (easy showing - just customisation) with an update hook, which updates it to the proper value? | 20:08 |
| gthomas | thanks the idea! | 20:09 |
| daryn | probably would work...maybe a little hacky | 20:09 |
| daryn | i thinkyou'd have to insert values into the post for it to work | 20:10 |
| gthomas | seems ugly. I thought some direct db insert could be possible - maybe too hacky. | 20:13 |
| gthomas | thanks! I'll come back if finds something/stucks. | 20:21 |
| * daryn_away is away: Gone away for now | 23:16 | |
Generated by irclog2html.py