Saturday, 2009-05-16

../irclogs/#mantishelp.2009-05-16.log
--- scribe started ---00:00
paulrnuclear_eclipse: only thing i'm not sure is where to call the timezone command00:00
* paulr half tempted to commit and deal with that *later*00:01
nuclear_eclipsebtw, that's a *lot* of schema revisions....00:02
nuclear_eclipsejsut a random observation...00:03
nuclear_eclipselooks like it's almost as many revisions as there were in the entire schema file before that...00:03
paulr:)00:05
paulrwell00:06
paulrwe use DATETIME a lot00:06
paulrand if we are changing to INT00:06
djzhow would i go about not having to login to see the project info?00:07
nuclear_eclipsedjz: http://www.mantisbt.org/wiki/doku.php/mantisbt:enabling_anonymous_access00:09
djzdoesnt allow them to post right?00:09
nuclear_eclipsedepends on how you set it up00:09
paulrnuclear_eclipse: it's also why i'd like to get it in ;p00:09
paulror otherwise00:10
nuclear_eclipsewell, I completely agree with you00:10
paulras sitting around = no use :)00:10
paulrif we are happy with the schema changes00:12
paulrcan probably push changes00:13
paulrthen fix anything we break00:13
paulrassuming00:13
paulra) schema =ok00:13
paulrb) timestamps are gmt in db and not localised00:13
paulrc) timestamp conversion is fine for non-gmt counrties00:13
paulrd) I didn't just break stuff completely when looking at user pref's00:13
djz( nuclear_eclipse ): is there anyway to log them in annon by default instead of having them click "login annon"00:14
nuclear_eclipsedjz: it should do it automatically if you visit any page other than the login page00:14
nuclear_eclipsepaulr: it seems to be storing them *not* in GMT...00:17
djzhmm weird field for password is gone from signup00:18
nuclear_eclipseI updated an issue, and it has the correct date when viewing the issue, but the value stored in the DB matches the time shown, not the appropriate GMT time00:18
nuclear_eclipsedjz: it's never been ther afaik00:18
paulrnuclear_eclipse: sometimes I hate being GMT :)00:18
nuclear_eclipseI can set you up an account on my server in EST again if you'd like...00:19
djzokay only thing need to do is get the stupid email working00:19
paulrnuclear_eclipse: but that would make sense00:20
paulrmy change to db_now00:20
paulrwas return00:20
paulrtime()00:20
paulrthat's localised ofc...00:20
paulrI assume when you then view the issue00:20
paulrit gets localised so it's 2xtimezonediff?00:20
nuclear_eclipseI have no clue00:20
paulr(from gmt)00:21
djzwhats prefered, sendmain/mail/smtp?00:21
nuclear_eclipsethe times were all correct for my local time, but it's storing my local time in the database, not GMT00:21
nuclear_eclipsedjz: depends on your server00:21
djzanyway to change severity list?00:34
paulrnn00:56
paulrnuclear_eclipse: probably catch you tomorrow00:56
nuclear_eclipsek, cheers00:57
paulrbut yea01:00
paulrwe need two functions01:01
paulrdisplay_date01:01
paulr+01:01
paulrgenerate date for db01:01
nuclear_eclipseyep01:01
paulratm, the I just call date() to generate db date01:03
paulrI suspect that is affected bytimezone01:03
nuclear_eclipseyep01:03
paulrwhats date() return for you atm btw/01:04
nuclear_eclipseroot@mach[~] php                                                                          < 21:0001:04
nuclear_eclipse<?php var_dump( date() );01:04
nuclear_eclipseWarning: date() expects at least 1 parameter, 0 given in /home/jreese/- on line 101:04
nuclear_eclipsebool(false)01:04
nuclear_eclipse:P01:04
paulrtime()01:04
paulr1242435900 ?01:05
nuclear_eclipseroot@mach[~] php                                                                          < 21:0401:05
nuclear_eclipse<?php var_dump( time() );01:05
nuclear_eclipseint(1242435929)01:05
nuclear_eclipseroot@kepler[/srv] php                                                                                           < 21:0601:06
nuclear_eclipse<?php var_dump( time() );01:06
nuclear_eclipseint(1242435971)01:06
nuclear_eclipsedesktop and server, resp01:06
paulrright so that's gmt01:07
paulrso db should be fine I think01:07
nuclear_eclipseah, maybe date() takes local timezone into account when formatting date string?01:07
nuclear_eclipseroot@mach[~] php                                                                          < 21:0501:08
nuclear_eclipse<?php var_dump( date( 'Y-m-d H:i:s', 1242435929 ) );01:08
nuclear_eclipsestring(19) "2009-05-15 21:05:29"01:08
nuclear_eclipseand that timestamp matches my local time01:08
paulrso erm01:09
paulris it right atm? ;p01:09
nuclear_eclipsewell, I guess it's "right" in that it stores GMT in the database, and converts GMT to server-local timestamp01:10
paulr01:26 < nuclear_eclipse> the times were all correct for my local time, but it's storing my local time in the database, not GMT01:12
paulrdoes it store gmt in thedb01:12
paulror your local time01:12
nuclear_eclipsewell, running date() on the int resulted in a string representing local time, but assuming that date() does timevone conversions, then that int was probably GMT01:13
paulrright so you didn't actually look at db when stating it stores gmt in the db? :)01:13
paulrerm not storing01:14
nuclear_eclipsewell, I lookde at the DB, grabbed the int, and ran it through date() to see what it stored, not realizing that date() does timezone stuff automagically01:14
paulrright cool01:18
paulrwhat do you think of the timezone selector dropdown in options?01:18
nuclear_eclipsewhere's that at?01:19
paulrunder user prefs01:21
nuclear_eclipseI don't see anything there, is this in dates3?01:23
mib_ddmoxeHi everybody01:26
mib_ddmoxeI'm reading the documentation page http://www.mantisforge.org/dev/manual/en/administration_guide/c124.html01:26
mib_ddmoxeand i found a broken link: http://www.mantisforge.org/dev/manual/en/administration_guide/manual.configuration.html01:27
paulrnuclear_eclipse: account -> preferences01:27
paulrabove language selector01:27
nuclear_eclipsedef not showing in mine...01:28
paulr...01:28
paulrcan you see where you change language?01:28
nuclear_eclipseunless you did something funky and I've got a config option that's hiding it....01:28
nuclear_eclipseyeah, I can01:28
paulrtimezone should be above01:28
nuclear_eclipselemme paste screenie01:29
paulroops01:30
paulryou need email notificatoisn on :P01:30
paulr if ( ON == config_get( 'enable_email_notification' ) ) {01:30
* paulr moves ;p01:30
paulrfound it now?01:32
paulranyway nn01:32
nuclear_eclipselooks nice, but it'd be better IMO to a) default to the server's timezone, and b) show/sort by timezone offset, eg New York (-0500)01:32
nuclear_eclipsegoodnight01:33
paulrre a - i think that comes down to my 'where to set this stuff' thing01:34
paulrre b - yea, maybe - i was pulling timezones out of what php supports01:34
paulri.e. there's some gettimezone functions01:34
paulrnot sure if they give offset or not01:35
paulr(things change/improve between 5.1 and 5.2 and 5.3 re timezones iirc01:35
paulr*nn*01:35
mib_ddmoxewhat is the pass for the administrator default account??02:06
mib_ddmoxeanybody?02:11
mib_ddmoxeforgeret. I update the database for a personal md5 value ...02:15
paulrnuclear_eclipse: can you give us a poke if/when you start lurking today12:13
nuclear_eclipsepaulr: awake now, will likely be in and out all day14:12
paulrcan i put dates in trunk do you think?14:15
paulrand fix anything that comes up14:15
dhx_mhey14:16
nuclear_eclipsehowdy dhx_m14:16
dhx_mI don't mind testing it now14:16
dhx_mforgot to do it before14:16
nuclear_eclipselet dhx_m test it, and then if he says go, push it14:16
dhx_mis your branch up to date with trunk?14:17
dhx_m*master14:17
nuclear_eclipseit  merges cleanly14:17
dhx_mstupid SVN terminology ;)14:17
dhx_mok well I'll merge it into a test branch14:17
dhx_mand try it out14:17
dhx_manything in particular I should be checking?14:17
nuclear_eclipsedhx_m: it's dates3 btw14:17
nuclear_eclipsedhx_m: make sure it's storing GMT timestamps in the database, and displaying local timezone stamps when displaying14:18
nuclear_eclipseand just glance at the cade to make sure paulr isn't too insane14:18
dhx_mok :)14:18
nuclear_eclipseI'm unfortunately too busy with final bullshit for graduation14:19
paulrnuclear_eclipse: i'm fairly insane14:57
phl4kxhi all15:21
paulrlo15:49
paulrphl4kx: was it you that was asking about ldap last night?15:49
phl4kxproblem with OU15:50
phl4kxonly 1 one accept :(15:50
paulrahh yes15:51
paulrdhx_m: how you getting on? :P15:59
paulrgiallu: it's not crashed again yet has it? :(15:59
[KK]Kirillpaulr: lo16:35
paulrlo16:43
* paulr pokes nuclear_eclipse and dhx_m :)18:27
nuclear_eclipsepaulr: here in spirit... :P18:50
paulrso18:50
paulrreckon I can commit and we deal with afterwards?18:50
paulrsend mail to list warning it's unstable or something18:51
nuclear_eclipsewould like to wait for dhx_m since he said he'd test, but... I reckon so19:08
paulris it safe to empty /var/cache/apt/archies ?19:10
nuclear_eclipseiirc, yes19:26
dhx_moh ahhhhhhhhh I totally forgot... got busy with something else19:28
dhx_mI'm happy to deal with it later...19:28
dhx_mas I might not end up being able to give this a good test for ~1day19:29
* dhx_m hits multitasking with a baseball bat19:29
dhx_mgtg for now, sorry for the delay!19:30
dhx_mcya19:30

Generated by irclog2html.py