Thursday, 2010-06-24

*** Joins: daryn (~daryn@h63.157.16.98.dynamic.ip.windstream.net)00:21
*** Quits: daryn (~daryn@h63.157.16.98.dynamic.ip.windstream.net) (Quit: Ex-Chat)01:14
*** Joins: dhx_m (~anonymous@c122-107-185-177.eburwd5.vic.optusnet.com.au)02:26
*** Joins: Cupertino (~Cupez@unaffiliated/cupertino)02:44
*** Quits: micahg (~micah@ubuntu/member/micahg) (Read error: Operation timed out)03:08
*** Quits: siebrand (~beis@sm.xs4all.nl) ()03:17
*** Joins: Rixie (~Rixie@0x4dd7390e.adsl.cybercity.dk)03:24
*** Joins: kirillka (~Miranda@42-216-55-95.baltnet.ru)03:39
*** Joins: Rixie_ (~Rixie@0x4dd7390e.adsl.cybercity.dk)04:23
*** Quits: Rixie (~Rixie@0x4dd7390e.adsl.cybercity.dk) (Read error: Connection reset by peer)04:23
*** Rixie_ is now known as Rixie04:23
*** Joins: rolfkleef (~rolf@82-204-82-162.fttx.bbeyond.nl)04:27
*** Quits: Rixie (~Rixie@0x4dd7390e.adsl.cybercity.dk) (Read error: Connection reset by peer)04:32
*** Joins: Rixie (~Rixie@0x4dd7390e.adsl.cybercity.dk)04:33
*** Quits: rolfkleef (~rolf@82-204-82-162.fttx.bbeyond.nl) (Remote host closed the connection)06:18
*** Joins: rolfkleef (~rolf@82-204-82-162.fttx.bbeyond.nl)06:33
*** Quits: fanno (~Morten@90.184.93.233) (Read error: Connection reset by peer)07:30
*** Quits: rolfkleef (~rolf@82-204-82-162.fttx.bbeyond.nl) (Ping timeout: 240 seconds)08:04
*** Joins: rolfkleef (~rolf@82-204-82-162.fttx.bbeyond.nl)08:47
*** Quits: rolfkleef (~rolf@82-204-82-162.fttx.bbeyond.nl) (Read error: Connection reset by peer)08:47
*** Joins: rolfkleef (~rolf@82-204-82-162.fttx.bbeyond.nl)09:08
*** Parts: Rixie (~Rixie@0x4dd7390e.adsl.cybercity.dk)09:23
*** Quits: kirillka (~Miranda@42-216-55-95.baltnet.ru) (Ping timeout: 260 seconds)09:37
*** Joins: daryn (~daryn@rrcs-76-79-4-2.west.biz.rr.com)09:42
*** Quits: Cupertino (~Cupez@unaffiliated/cupertino) (Quit: I give up...)11:05
*** Joins: orac1 (~jb_buldog@082-146-096-170.dyn.adsl.xs4all.be)11:22
*** Joins: micahg (~micah@ubuntu/member/micahg)11:24
*** Joins: siebrand (~beis@sm.xs4all.nl)12:05
*** Quits: rolfkleef (~rolf@82-204-82-162.fttx.bbeyond.nl) (Ping timeout: 240 seconds)12:08
*** Joins: moto-moi (~hylke@cara.xs4all.nl)12:12
*** Quits: dhx_m (~anonymous@c122-107-185-177.eburwd5.vic.optusnet.com.au) (Remote host closed the connection)12:32
*** Quits: micahg (~micah@ubuntu/member/micahg) (Ping timeout: 265 seconds)12:37
*** Joins: dhx_m (~anonymous@c122-107-185-177.eburwd5.vic.optusnet.com.au)13:02
*** orac1 is now known as Orac|away13:41
*** Joins: socorropc (~socorropc@190.131.162.18)14:34
socorropchello, I recently upgraded to version 1.2.1. Installation worked fine before under 1.2rc2. Now I have problem opening issues in spite custom field is showed and required only when resolving the issue... any suggestions?14:39
socorropcget an error # 11 "required field ..." is empty14:40
*** Quits: Orac|away (~jb_buldog@082-146-096-170.dyn.adsl.xs4all.be) (Ping timeout: 245 seconds)14:45
socorropcanother question, any way of improving queries performance? sometimes mantis take ages to save changes... installation with 1400 projects, 10 users, now has only 2500 issues and already slow...14:48
nuclear_eclipse1400 projects?!14:50
nuclear_eclipseand only 10 users?14:50
socorropcyeap, being used as a call center tracking system, for client support and equipment maintenance purposes...14:51
socorropcprojects are clients being attended...14:52
darynthe slowness is most likely due to trying to build a select list with 1400 project entries.14:52
nuclear_eclipseyeah, that's my though14:52
nuclear_eclipset14:52
darynwe have about 40 projects, 50000 plus entries, 50 users and not slow at all14:53
darynbut i did notice when we loaded up the project list for testing that slowed it down quite a bit.  mainly on the html rendering14:53
socorropcany tweaks could be done in php.ini or mysql? mantis is hosted under xampp in the local network14:53
darynthat problem is likely the browser client14:54
darynnothing php or mysql14:54
socorropcwhat would you recommend? well projects are divided into subprojects, because are divided into a regional classification, so the region that has more subprojects has about 600...14:56
nuclear_eclipsesocorropc: depending on your requirements, perhaps you could replace some of the project segmentation with categories or tagging14:57
nuclear_eclipseie, rather than having 1400 projects, have 50-100 projects that each have a number of categories associated with them?14:57
nuclear_eclipsebut without knowing the context of how your hierarchy is designed, it's hard to give much else as a suggestion14:58
socorropci dont have a long list of 1400 projects, have about 20 projects and subprojects below them. but cannot reduce to more subprojects, since they are already divided to cities...14:59
nuclear_eclipsesocorropc: perhaps at the city project level, rather than having subprojcets under that, you could use categories instead?15:01
socorropcno, because it is important to identify the client being attended at that moment... i will continue trying to enhance the code using ajax filters instead of a dropdown for subprojects...15:02
socorropcgot another question, I recently upgraded to version 1.2.1. Installation worked fine before under 1.2rc2. Now I have problem opening issues in spite custom field is showed and required only when resolving the issue... any suggestions? got error 11, required field is empty...15:03
nuclear_eclipsesocorropc: maybe the client's name could be a custom field?15:03
nuclear_eclipserather than a project?15:03
nuclear_eclipseno clue about that error15:03
darynnuclear_eclipse that is the error where dhx_m change the validation on the custom fields15:06
darynit is pissing me off right now too15:07
nuclear_eclipseok15:07
daryndidn't you have a discussion with him regarding that?15:07
socorropcthe solution of custom fields for clients I have already reviewed, but the case is that I have additional custom fields to be shown depending to the client. For example, client 1 has 3 equipments being checked. So, if I choose client 1, system should show only equipments for that client...15:07
nuclear_eclipsedaryn: if I did, I don't remember it15:11
darynok15:11
darynfilters? :)15:11
nuclear_eclipsenot yet... =\15:11
*** Joins: slestak (~sromanow@63-144-86-130.dia.static.qwest.net)15:14
socorropcI have already unchecked the required when resolved, and still does not work... what should I do? go back to 1.2rc2?15:17
socorropcor is there any available atch I could get?15:18
nuclear_eclipsesocorropc: iirc, 1.2.0 does not have that behavior15:18
socorropcare there database changes from 1.2.0 to 1.2.1 that I should fix?15:19
*** Joins: micahg (~micah@ubuntu/member/micahg)15:20
nuclear_eclipseno15:22
nuclear_eclipsewe have a policy of not changing database schema between minor versions15:22
socorropcgreat, where is version 1.2.0 located? do you know the link? in mantisbt.org website I dont see it...15:23
nuclear_eclipsethe download link for 1.2.1 will take you to source forge, where you'll find teh older releases15:23
socorropcfound it, great guys, thank you very much for your time and help15:25
nuclear_eclipseyou're welcome15:25
*** Quits: socorropc (~socorropc@190.131.162.18) (Quit: What?! Open source isn't good enough for you? Bersirc 2.2 [ http://www.bersirc.org/ - Open Source IRC ])15:34
*** Joins: john (~john@75-142-199-138.static.rvsd.ca.charter.com)16:34
*** john is now known as johnd16:34
*** johnd is now known as John-_d16:34
John-_dHello All,  I have searched google with no avail. When I do an export and I am using the field for date_submitted or last_updated.  However, when I export these there is no timestamp on them, only a date.  Is there a way to export them with the time16:38
*** Joins: adalwolf (~john@75-142-199-138.static.rvsd.ca.charter.com)16:38
*** Joins: fanno (~Morten@90.184.93.233)16:47
*** Joins: socorropc (~socorropc@190.131.162.18)17:16
socorropchi, in version 1.2.0, I have config_inc.php variable set $g_enable_profiles = OFF; but still showing profiles, any way of disabling them?17:17
socorropcthis feature works okay in 1.2.1 & 1.2rc217:17
*** Quits: micahg (~micah@ubuntu/member/micahg) (Ping timeout: 265 seconds)17:18
nuclear_eclipsesocorropc: that's one of the bugs that was fixed in 1.2.117:22
nuclear_eclipseyou could find and apply the patch by hand17:22
socorropcgreat, where can I find it?17:23
nuclear_eclipsehttp://www.mantisbt.org/bugs/view.php?id=11565 17:24
*** Quits: moto-moi (~hylke@cara.xs4all.nl) (Quit: Ex-Chat)17:31
*** Joins: micahg (~micah@ubuntu/member/micahg)17:31
John-_dHello All,  I have searched google with no avail. When I do an export and I am using the field for date_submitted or last_updated.  However, when I export these there is no timestamp on them, only a date.  Is there a way to export them with the time17:31
socorropcdont understand the fix, I changed $tpl_show_profiles = ON == config_get( 'enable_profiles' ); into $tpl_show_profiles = config_get( 'enable_profiles' ); but still nor working17:32
nuclear_eclipsesocorropc: that's only part of the fix17:33
nuclear_eclipsehttp://git.mantisbt.org/?p=mantisbt.git;a=commitdiff;h=19b969e99ed0d8e5be2ee114fa814a3f7521cbe417:33
John-_dnuclear_eclipse, I know you have the answer.  is it possible to export timestamps?17:35
nuclear_eclipseI've never used the exports, sorry17:35
nuclear_eclipseJohn-_d: a first glance at excel_xml_export.php sounds like changing $g_short_date_format in your config_inc.php should change how it exports17:36
John-_dthanks I will look there17:37
socorropcJohn, I have already dealed with this timestamps, there is a function in mysql to convert timestamp into datetime, I think its unixtime. The easiest way is to create a view of the data you need to export, using that command to convert dates17:37
nuclear_eclipseJohn-_d: alternatively, if you update that file to use normal_date_format instead, that would also work17:37
John-_dso $t_short_date_format = config_get( 'short_date_format' );  would be $t_short_date_format = config_get( 'normal_date_format');17:38
nuclear_eclipseyep17:39
John-_dsweet thanks17:39
John-_dsry im pretty new at this17:39
nuclear_eclipsenp17:39
socorropcnuclear_eclipse, you are great, thanks for your help, worked fine17:39
nuclear_eclipsesocorropc: congrats :)17:39
John-_ddamn17:40
John-_dthis only changed the date format to SQL type17:40
John-_dno time17:40
nuclear_eclipse00:00 you mean?17:40
John-_dsry I may have edited the wrong file let me try again17:41
John-_dnvm I am seeind this17:41
adalwolfsorry network problems (I am John-_d)17:42
adalwolfI am seeing: Date Submitted17:42
adalwolf2010-06-2417:42
nuclear_eclipsewhat export format are you using?17:42
adalwolfexcel17:42
nuclear_eclipsehmm17:42
adalwolfisnt excel and xml the same?17:42
nuclear_eclipseah ha17:43
nuclear_eclipseyou need to edit core/excel_api.php17:43
nuclear_eclipsethere are two instances where you'd need to change short_date_format to normal_date_format17:44
adalwolfsry same thing17:45
nuclear_eclipse=\17:45
nuclear_eclipseI'm not sure then, I'm sorry17:46
darynnuclear_eclipse sounds like those should be configurable17:46
nuclear_eclipseand I don't have Excel to test anything with, either17:46
adalwolfhehe no problem17:46
nuclear_eclipsedaryn: the date formats are17:46
adalwolfeven as CSV export id like to see it17:47
daryni mean which format gets used in various places17:47
adalwolfon the View Issue page,  that might be a good start17:47
*** Parts: slestak (~sromanow@63-144-86-130.dia.static.qwest.net)17:47
adalwolfAHA!~17:48
adalwolfnuclear_eclipse: Turns out I did not save the file (dumb me) that API trick worked17:48
nuclear_eclipselol17:48
nuclear_eclipseok17:48
adalwolfyay vi17:49
adalwolfI went to :q and it told me I hadnt saved17:49
nuclear_eclipsedaryn: sounds to me like those fields should just default to using normal_date_format instead; I'm not sure why less info on an export is "better"?17:49
adalwolfis normal_date_format a php function?17:49
* nuclear_eclipse <3 vim17:49
adalwolfya actually im using vim.  tbh I hate vi but vim is nice :D  I liek to use arrow keys17:50
darynyeah...17:50
adalwolfand a quick google of normal_date_format reveals: http://www.mantisbt.org/forums/viewtopic.php?t=78617:50
nuclear_eclipseshort/normal_date_format are configurable strings in Mantis that get passed to php's date() function17:50
adalwolfgotcha17:51
adalwolfwhere do they live?17:51
* adalwolf ducks17:51
nuclear_eclipseconfig_defaults_inc.php17:51
adalwolfty sir17:51
nuclear_eclipseif you want to modify them, copy them to your config_inc.php and change them there17:51
adalwolfgotcha17:51
socorropcIs there a way of showing a custom defined field when an issue is "confirmed" by the assigned user? I need the user to input that information only when that happens...17:54
nuclear_eclipsesocorropc: not currently17:54
socorropcokay, so, only would work when updating the issue?17:55
darynyes there is17:55
darynwrite a custom function17:55
socorropchmm how could I write one?17:56
darynjust a sec. it's been awhile since i wrote ours17:56
socorropcthanks daryn17:57
darynk. the file you need to add is custom_functions_inc.php17:57
darynif it isn't there already17:57
darynthere are default functions available17:57
darynfor example custom_function_default_issue_update_validate17:58
darynyou override that function with custom_function_override_issue_update_validate17:58
socorropchave not the file...17:58
socorropchave only custom_function_api under core folder17:59
darynthen the defaults are in core/custom_functions_api.php17:59
darynoverride them in a new file named as i gave you17:59
adalwolfdo you make a file name custom_functions_inc.php in the core or in the /17:59
socorropcgreat, I will have a look at it17:59
darynin the /18:00
*** Quits: fanno (~Morten@90.184.93.233) (Read error: Connection reset by peer)18:01
adalwolfI like the name of this function: custom_function_default_print_bug_view_page_custom_buttons18:03
darynwe like simple names18:03
adalwolfhehe18:03
nuclear_eclipse:P18:03
adalwolfat least there are nice comments18:03
* nuclear_eclipse is glad he wasn't around for that design decision18:03
nuclear_eclipsedinner time18:03
nuclear_eclipsecheers al18:03
daryni think custom functions might be added to my list of things to review...18:04
adalwolflucky18:04
daryncheers18:04
darynps...don't forget to review filters18:04
daryn:)18:04
adalwolfthis mantis bt is sure sweet18:04
adalwolfI got a lot to learn bout it tho18:04
adalwolfarg18:05
adalwolfit got angry at me making custom_functions_inc.php18:05
adalwolfredeclaring functions18:05
darynyou have to change the name to override18:06
darynreplace default with override18:06
adalwolfill play with it later :D18:06
darynhave fun18:06
adalwolfI will :D18:08
*** Quits: John-_d (~john@75-142-199-138.static.rvsd.ca.charter.com) (Quit: Leaving)18:09
*** Parts: socorropc (~socorropc@190.131.162.18)18:12
*** Quits: daryn (~daryn@rrcs-76-79-4-2.west.biz.rr.com) (Quit: Ex-Chat)18:15
*** Quits: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de) (Remote host closed the connection)19:59
*** Joins: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de)20:00
*** Quits: dhx_m (~anonymous@c122-107-185-177.eburwd5.vic.optusnet.com.au) (*.net *.split)20:50
*** Joins: dhx_m (~anonymous@c122-107-185-177.eburwd5.vic.optusnet.com.au)20:51
*** Quits: adalwolf (~john@75-142-199-138.static.rvsd.ca.charter.com) (Quit: Lost terminal)21:00
*** Quits: micahg (~micah@ubuntu/member/micahg) (Ping timeout: 265 seconds)21:10
*** Quits: PennStater (Aaron@unaffiliated/pennstater) (Quit: Never look down on someone unless you're helping them up.)22:26
*** Joins: PennStater (Aaron@unaffiliated/pennstater)22:32
*** Joins: micahg (~micah@ubuntu/member/micahg)22:47

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