Friday, 2009-04-10

../irclogs/#mantishelp.2009-04-10.log
--- scribe started ---00:00
nuclear_eclipsepaulr: what file is that diff for?00:03
nuclear_eclipseand what does it do, other than the obvious?00:04
paulrthe obvious00:14
paulr:)00:14
nuclear_eclipsehmm, I'm not sure I even understand the point of the obvious....00:17
paulrI think i've done conversion00:20
paulrin mysql at least00:20
paulr$upgrade[] = Array( 'AddColumnSQL', Array( db_get_table( 'mantis_bug_table' ), "00:20
paulrdate_submitted_intI  UNSIGNED     NOTNULL DEFAULT '1' " ) );00:20
paulr$upgrade[] = Array( 'UpdateFunction', "date_migrate", array( 'mantis_bug_table', 'id', 'date_submitted', 'date_submitted_int' ) );00:20
paulr$upgrade[] = Array( 'DropColumnSQL', Array( db_get_table( 'mantis_bug_table' ), "date_submitted" ) );00:20
paulr$upgrade[] = Array( 'RenameColumnSQL', Array( db_get_table( 'mantis_bug_table' ), "date_submitted_int", "date_submitted", "date_submitted_intI  UNSIGNED     NOTNULL DEFAULT '1' " ) );00:20
nuclear_eclipsethat's a lot of schema changes to convert a column type00:21
nuclear_eclipsewhat happens if you 'ALTER COLUMN date_submitted INT UNSIGNED NOTNULL' ?00:22
paulr:)00:22
paulrdunno, works in mysql ;p00:22
paulroh00:22
paulrhow would that work ?:)00:23
paulri'm pretty usre you can't just do that across all00:23
nuclear_eclipsewell, I assume that most databases would store datetimes as some sort of INT type anyways, so I hoped maybe they'd be smart enough to be able to convert datetime->int00:23
paulrmysql> ALTER TABLE mantis_bug_table ALTER COLUMN due_date INTEGER;00:24
paulrERROR 1064 (42000): You have an error in your SQL syntax; check the manual that00:24
paulrcorresponds to your MySQL server version for the right syntax to use near 'INTEG00:24
paulrER' at line 100:24
paulrwrong syntax?00:24
nuclear_eclipseI don't remember what the alter column syntax is =\00:25
paulrMsg 5074, Level 16, State 1, Line 100:26
paulrThe object 'DF__mantis_bu__due_d__7C1A6C5A' is dependent on column 'due_date'.00:26
paulrMsg 4922, Level 16, State 9, Line 100:26
paulrALTER TABLE ALTER COLUMN due_date failed because one or more objects access this column.00:26
paulrI just assumed/figured that datetime->int would generate whinging from adodb00:26
nuclear_eclipsesounds like a problem with an index perhaps?00:27
nuclear_eclipsebut I could be wrong00:27
nuclear_eclipseI was just hoping for "simple" solution... =\00:27
bartiksorry to intrude isn't it just simpler to do a SELECt UNIX_TIMESTAMP('due_date') FROM ... in PHP than to convert the whole datetime fields to int ? Most probably I have overlooked something then just ignore me.00:31
paulrmysql> ALTER TABLE mantis_bug_table CHANGE COLUMN due_date due_date INT;00:31
paulrERROR 1265 (01000): Data truncated for column 'due_date' at row 100:31
paulrbartik: we support >mysql00:31
paulrmysql> ALTER TABLE mantis_bug_table MODIFY due_date INT;00:32
paulrERROR 1265 (01000): Data truncated for column 'due_date' at row 100:32
paulrmysql> ALTER TABLE mantis_bug_table MODIFY due_date BIGINT;00:32
paulrERROR 1265 (01000): Data truncated for column 'due_date' at row 100:32
paulrmysql> ALTER TABLE mantis_bug_table MODIFY due_date VARCHAR(80);00:32
paulrQuery OK, 3725 rows affected (0.16 sec)00:32
paulrRecords: 3725  Duplicates: 0  Warnings: 000:32
paulrnuclear_eclipse: and i'll guarantee one thing00:32
paulrif mysql whinges00:32
paulrpgsql/mssql will have a tantrum00:33
paulroh00:33
paulrand you are right00:33
paulr[01:21:33] <nuclear_eclipse> that's a lot of schema changes to convert a column type00:33
paulrwe probably need to drop index + create index too ;p00:33
paulrbb00:35
paulrnn00:35
paulrfeel free to ocmment + mail ifyou have any better ideas ;000:36
nuclear_eclipseok, goodnight00:36
bartikI suppose other databases support something like that too. Just a matter of a wrapper ?00:37
nuclear_eclipsebartik: it's more a matter of finding the simplest/best method within the constraits of Mantis+ADOdb method of schema versioning/upgrading00:39
bartikYes I understand the difference between "Just works" and "Done right" :-)00:45
dhx_mnuclear_eclipse: I'm here now00:53
nuclear_eclipsedhx_m: you had ideas/questions about my Timecard plugin?01:36
dhx_mah yes01:36
dhx_mbasically what I'm looking for is a time tracking plugin which allows team members to keep track of how many hours of work they've contributed01:37
dhx_mwith the following requirements:01:37
dhx_m* no forced time estimation (time tracking and time estimation are different)01:37
nuclear_eclipseright, that's one reason that a) it's not enforced, and b) it can be disabled altogether01:38
dhx_m* track time per developer per issue01:38
dhx_m* allow developers to modify the start/end time of each stint of work they perform on an issue01:39
dhx_m* generate reports (weekly time sheets, total time spent within a single project/category within a month, etc)01:39
dhx_m</ul> :)01:40
nuclear_eclipsewell, 2 and 4 are doable simply by aggegrating the existing data01:41
nuclear_eclipseI'm not quite sure what you mean by 3...01:41
dhx_m3 is meant to indicate that work is recorded as having a start and end time01:41
dhx_mand the user can modify that (ie. don't assume that when they add time to the mantis ticket, that the work has just been completed)01:42
nuclear_eclipseah01:42
dhx_mmaybe it was completed a week ago, for example, and they have forgotten to track their time01:42
dhx_mmore importantly though I'm confused about the architecture of Timecard01:43
dhx_mdo you track time against a "Timecard"01:43
nuclear_eclipsewell, I gotta run out to the store, can we continue this topic tomorrow?01:43
dhx_mwhere a Timecard might be shared by multiple tickets?01:43
dhx_msure01:43
nuclear_eclipseok, cheers01:43
dhx_mthanks01:43
dhx_mcya01:44
mantisbotNew bug: Bug 10317 - eunice - open - new05:19
mantisbotNew bug: I just used mantis1.1.6, I found if update issue, will need 15sec, how can I improve it? - http://www.mantisbt.org/bugs/view.php?id=1031705:19
mantisbotNew bug: Bug 10318 - cigamit - open - new05:39
mantisbotNew bug: Allow for forcing of complex passwords - http://www.mantisbt.org/bugs/view.php?id=1031805:39
dhx_m10318 sounds like a dupe05:53
vb123hi dhx_m06:23
vb123do you have the dupe issue id?  If so, add a note.06:23
dhx_mah sorry, I must have heard about it on IRC06:25
dhx_mI just remember reading somewhere a few days ago a request for that feature06:25
dhx_mI find it amusing that the DHS policy has forced password expiry06:27
dhx_mthat is often considered bad security, because it forces people to use easier to remember passwords06:28
mantisbotNew bug: Bug 10319 - prabhurangan - open - new08:55
mantisbotNew bug: Revamp SVN integration with mantis 1.2.0a3? - http://www.mantisbt.org/bugs/view.php?id=1031908:55
[KK]Kirillpaulr: Hi10:18
paulrlo10:30
[KK]KirillI forgot what I want :)10:42
[KK]KirillI10:42
[KK]KirillO10:42
[KK]KirillDid MantisBT have rss for new issue?10:43
[KK]Kirillfor examples mantisbot post new issue10:44
[KK]Kirillwhere they take this news?10:44
paulrthere is some rss feed11:08
paulri think mantisbot might use the soap api though11:08
paulrhi milliams11:08
milliamsHey paulr11:08
paulrwhilst your tihnking of templates - have a look at 'quickskin' by the phpmailer guys11:09
paulri've probably made your life slightly harder by having 2 weeks off11:09
* paulr works @ uk school11:09
milliamsquickskin looks a lot like the way Smarty dos it11:11
paulrmilliams: i've started playing with: http://www.mantisforge.org:8080/cruisecontrol/buildresults/mantisbt11:12
milliamsAhh, cruisecontrol. We used that when I was interning at Barclays Capital11:13
mantisbotNew bug: Bug 10320 - prabhurangan - open - new11:45
mantisbotNew bug: Add Progress Bar to roadmap for mantis 1.2.0a3? - http://www.mantisbt.org/bugs/view.php?id=1032011:45
paulrmilliams: so, how come you started looking at mantis?11:48
milliamspaulr: Well I was looking around for a decent bug tracker for a project I'm involved with (http://thermite3d.org) and it seemed like every single bugtracker out there is lacking in some way11:49
milliamse.g. Trac can't have multiple projects, Nugzilla is _just_ bugtracking (no roadmap etc.)11:49
milliams*Bugzilla :)11:49
milliamsBut Mantis seemed to cover everyhing in a very simple but thorough way11:50
milliamsThen I looked at the code and was pleasantly surprised at how easy to read it was in most places (despite not having done much PHP in a while)11:50
milliamsAnd so I started 'scratching my itch' :)11:52
* paulr nods11:57
paulryou just chose an intersting area to start playing with11:57
paulr(personally, i dont really get the 'template' thing - /me wants email templates though11:58
milliamsHeh, I guess I did12:01
paulri'm trying to fix date handling atm ;/12:03
paulrare you into 'testing' ?12:14
nuclear_eclipse"prabhurangan" makes me wish I could stab people through the internet.....12:43
nuclear_eclipseSummary   0010320: Add Progress Bar to roadmap for mantis 1.2.0a3?12:44
paulrnuclear_eclipse: review patch later?12:44
paulr:)12:44
nuclear_eclipsewtf?  there already *is* a progress bar on the damn roadmap!12:44
nuclear_eclipseyeah, as soon as I get some time to eat breakfast...12:44
* nuclear_eclipse is off today for Good Fridap12:45
nuclear_eclipseFriday*12:45
paulr:)12:46
paulri'm rapidly converting dates12:46
paulr:)12:46
* paulr wonders what to do with db_helper_compare_days12:55
* nuclear_eclipse is done eating13:19
* paulr eats daryn14:02
paulrnuclear_eclipse: how do you see it working14:09
paulrusers choose their timezone?14:09
nuclear_eclipseI'd think the site admin selects a "default" timezone for the server, and users automatically inherit that, but can select a different timezone in their account prefs page14:11
paulrdo you have a test instance there with some data in ?14:12
paulrcan you try hitting /bug_graph_bystatus.php?show_table=true14:12
nuclear_eclipseI'm hitting max execution time on that....14:15
paulrcool so it's not just me14:40
paulr:)14:40
darynno...i think it's just you.  I don't know what 'it' is but i'm sure it's just you.14:41
paulrshutup and plan time in an hour to review patch14:41
darynhehe14:41
darynafter that comment? I'll review it all right14:41
paulrcool14:41
mantisbotNew bug: Bug 10321 - diathesis - open - new14:41
mantisbotNew bug: Real Name Validation Is Lame - http://www.mantisbt.org/bugs/view.php?id=1032114:41
paulrdaryn: then you can play with john's new friend14:42
nuclear_eclipse10:10 < paulr> do you have a test instance there with some data in ?14:42
nuclear_eclipse10:10 < paulr> can you try hitting /bug_graph_bystatus.php?show_table=true14:42
nuclear_eclipse10:14 < nuclear_eclipse> I'm hitting max execution time on that....14:42
nuclear_eclipse10:18 - - daryn [n=daryn@76.79.4.2] has joined #mantishelp14:42
nuclear_eclipse10:39 < paulr> cool so it's not just me14:42
darynneato14:44
darynpretty white page14:44
paulrdo you have jpgraph installed?14:45
nuclear_eclipsewell, that depends on how you have PHP configured :P14:45
nuclear_eclipsewith it set to show errors, and with XDebug installed, it's a lot of error information :D14:45
daryni don't think so14:45
nuclear_eclipseI know I don't....14:46
paulrWOW14:47
daryn10321 - nice bug14:47
nuclear_eclipselol, I'd have to agree with it though...14:47
nuclear_eclipsethat's one thing that's bugged me ever since I started working on Mantis...14:48
darynno, it's just early implentation of a new global government tracking rule.  Everyone has to have a unique name14:48
dhx_mlol @ 1032114:49
nuclear_eclipsetell that to my local phonebook....14:49
paulr$t_end = $t_interval->get_end_timestamp();14:49
paulr$t_start = $t_interval->get_start_timestamp();14:49
nuclear_eclipsethere are 10+ John Reese entries in Cincinnati Ohio, and 3 in Rochester, NY14:49
dhx_mwhat do you need to test?14:49
nuclear_eclipsehi dhx_m14:49
dhx_mhey14:50
paulrfor ($t_now = time() - $t_incr; $t_now >= $t_start; $t_now -= $t_incr) {14:50
paulrit loops14:50
nuclear_eclipsedhx_m: I'm available to chat about the plugin whenever you have the time14:50
dhx_m:)14:50
dhx_mI think we left last time on my question of "what is a time card"14:51
paulrfor ( time() - 7*86400 >= false; --14:51
paulrthat's gonna be a billion loops right?14:51
paulror well enough14:51
nuclear_eclipsedhx_m: I guess a good place to start is that Timecard is a combination of the needs of my employer, my personal needs for tracking time, and a superset of the existing time tracking capabilities already contained in Mantis14:53
darynnuclear_eclipse...do you migrate existing timetracking to the plugin?14:53
nuclear_eclipseno, it currently makes the assumption that you're starting from scratch, but it should be capable of an import/migration process if time was taken to implement that14:54
* paulr finds sledgehammer14:54
dhx_mnuclear_eclipse: is the "time card" field (I notice it is optional) designed so that time can be tracked according to a project "cost code" or something of that nature?14:54
nuclear_eclipseright, so where I work (or I would assume a lot of places), depending on the task you're working on, there are different time card numbers that you can assign your time to, in order to charge your time to various departments or projects14:56
dhx_mah hah :)14:56
dhx_mok14:56
paulrdo we require php5.1+ ?14:56
nuclear_eclipseso that field is just meant to track that value for each bug, with the ability to have a default value based on the project the bug is openen in14:57
nuclear_eclipsepaulr: yes14:57
dhx_min that case, wouldn't it be better to have an orthogonal field?14:57
dhx_mie. drop down list?14:57
nuclear_eclipsewell, in our case that dropdown would have about 5000 entries in it.... :P14:57
dhx_moh, I see ;)14:58
dhx_mis there a reason why it is possible to anonymously track time with a ticket?14:58
nuclear_eclipseand also in our case, it's there more as a reference in certain cases, and isn't always used14:58
dhx_mie. no author attached14:58
paulrnuclear_eclipse: how did you break timetracking :(14:58
dhx_mpaulr: it still works fine, this is the Timecard plugin we're talking about14:59
paulrnah, "Get Time TRacking information" button comes up with an error :)14:59
nuclear_eclipsepaulr: likely wasn't me ;)14:59
paulrA required parameter to this page (id) was not found. ;/14:59
paulri'm assuming it's something to do with forms stuff ;p15:00
dhx_mhmmm are you using the plugin paulr?15:00
nuclear_eclipsedhx_m: the only reason that it's "possible" to anonymously track time is because I have all the thresholds configurable15:00
nuclear_eclipseif you visit the plugin's configuration page via Manage Plugins, then you can set a bunch of options and thresholds15:00
dhx_myep15:00
paulrdhx_m: no15:04
dhx_mI just realised the graph pages don't work with lots of categories15:04
dhx_mpaulr: where is this button you speak of... I can't see it?15:06
dhx_moh15:06
nuclear_eclipsedhx_m: you have to enable the core time tracking system15:06
dhx_mBilling15:06
dhx_mI have15:06
dhx_mthe button works fine for me15:06
dhx_mwell I think I get the hand of Timecard now15:15
dhx_mmy only suggestion at the moment is to have an on/off toggle for the use of time cards15:16
dhx_min addition to the threshold15:16
nuclear_eclipsethere is, iirc15:16
paulrnuclear_eclipse: :(15:16
paulrthis is turning into more hassle then I wanted ;/15:16
dhx_mfunction update_bug_form( $p_event, $p_bug_id, $p_advanced ) {15:17
dhx_mif ( !access_has_bug_level( plugin_config_get( 'estimate_threshold' ), $p_bug_id ) ) {15:17
dhx_misn't it only checking the threshold, and not the value of 'use_timecard'?15:17
dhx_mdoh15:17
dhx_mforget that15:18
dhx_mI am mistaken15:18
dhx_mI was trying to talk about estimation, not time cards15:18
dhx_mthere is an estimation threshold, but not an on/off15:18
nuclear_eclipsehmm15:18
dhx_muse_updates and use_timecard are the only on/off settings15:19
nuclear_eclipseah15:19
paulrRevision 2009-04-10 16:14 by administrator15:19
dhx_min my project, we tend to only track time per project/category15:19
paulris it supposed to show time there?15:19
nuclear_eclipseok, so implement an on/off switch and I'll merge it in :)15:19
dhx_mok15:19
dhx_malso, are there plans for a page that creates time tracking reports/exports?15:20
dhx_mor is that also free game to try out?15:20
nuclear_eclipseeventually, but it's low-priority for me at the moment, so if you want to help out with that too, go right ahead :)15:20
nuclear_eclipsedhx_m: basically, most of what I get to work on is for my employer, so they tend to be the one's setting priorities, and atm, the priorities are on implementing features in other plugins that are important for our impending migration to Mantis15:22
dhx_mnuclear_eclipse: yep, I don't want to sound like I'm pressuring you :)15:23
dhx_mnuclear_eclipse: basically I just want to ensure I'm not going to duplicate anything that is already in development15:23
nuclear_eclipsethen no, I probably wouldn't be getting to that for a month or two15:23
dhx_mok15:25
dhx_mI'll see what I can do15:25
dhx_mgtg for now, thanks for your help :)15:25
nuclear_eclipsedhx_m: real fast15:25
nuclear_eclipseif you want a place to track your progress, feature requests, etc for my plugins, sign up at http://leetcode.net/mantis - that's where I'm tracking most of the stuff I'm working on beyond the scope of work15:26
dhx_mgreat, thanks :)15:28
dhx_mI was wondering where tickets for plugins were meant to be posted15:28
dhx_m(I know this is just for your plugins btw)15:28
nuclear_eclipseI really should put together some readmes saying where to post bugs, but takes effort :P15:29
dhx_myep :)15:30
paulrright15:30
paulrI think15:30
paulrhow do I push a brnahcn again15:31
daryna new branch to mantisforge?15:31
paulrgit push ssh://paul@git.mantisforge.org/mantisbt/paul.git dates:dates ?15:31
daryndon't you have paul set up as a remote repo?15:32
nuclear_eclipsethat, or you could create a named remote first, eg `git remote add pub ssh://paul@git.mantisforge.org/mantisbt/paul.git` and then do `git push pub dates:dates`15:32
paulrhttp://git.mantisforge.org/w/mantisbt/paul.git?a=shortlog;h=refs/heads/dates15:34
paulrfeedback on patch pls guys ;)15:34
darynit's big15:36
paulrnot really15:36
paulrI need to test the conversion on mssql/pgsql15:36
paulrbefore doing anything else15:37
paulrdaryn: thanks for volunteering to review this one though, it's really appreciated.15:37
daryngood lord...15:38
paulr[15:41:51] <daryn> after that comment? I'll review it all right15:38
daryncould we perhaps do a function that dumps the data to a temp table, alter the necessary fields and then load the data back in?  those table changes are ugly!15:39
paulrwho wants to bet the db scripts fail in mssql and pgsql15:39
paulrdaryn: more likely to break i'd have thought15:40
darynhow? seems simpler to me15:40
paulrI doubt adodb does temp tables15:40
paulrI suspect different db's handle temp tables in different ways15:41
paulrwe'd need to do a select into type thing (which we might be able to do already)15:41
paulrand we need to convert from datetime string to a int15:41
darynyou're doing that anway15:42
paulryes, but what i mean is15:42
paulrthe syntax to case datetime -> int will be different in different db's15:42
daryni'm talking about a php function not a stored procedure15:43
darynwait...i'm too tired15:44
daryni forget the temp tables are only accessible during the sql session15:44
paulrBAD15:44
paulrALTER TABLE mantis_bug_table DROP CONSTRAINT15:44
paulr[Microsoft][SQL Server Native Client 10.0][SQL Server]The object 'DF__mantis_bu__date___29572725' is dependent on column 'date_submitted'.15:44
* paulr sighs15:44
daryndo we not have a better error than ERROR_GENERIC?15:51
nuclear_eclipsedaryn: for what?15:51
darynpaulr's patch...an invalid date error15:51
paulrdaryn: that should never get hit :)15:52
paulrif that's in bug_update15:52
paulrerm, set_field15:53
darynfamous last words15:55
darynwhy are we using 86400 throughout? should it be a constant?  at least one place is 86400015:57
darynand why do we have a function that does nothing except return 1?15:58
nuclear_eclipsebecause who knows when the value of 1 might change?15:59
darynright...16:00
darynpaulr?16:02
paulrnever16:14
paulr:)16:15
darynso...<daryn> why are we using 86400 throughout? should it be a constant?  at least one place is 86400016:16
daryn <daryn> and why do we have a function that does nothing except return 1?16:16
paulrI edited old function16:16
paulri've not yet review due_Date16:16
paulrand yes, we probably should have a constant16:16
darynok16:16
paulrany suggestions on constant name?16:18
darynA_DAY_IN_SECONDS16:18
paulrDAYSSECONDS16:50
nuclear_eclipseONE_DAY > *SECONDS*16:51
* daryn_away is away: Gone away for now17:22
* daryn is back.17:23
paulrso ONE_DAY /17:38
* paulr sighs loudly17:42
* paulr hates mssql17:42
* paulr hates mssql more17:42
* paulr hates adodb more17:42
paulrdaryn: any other review comments17:46
paulrdid I break anything?17:47
paulrBAD17:47
paulrALTER TABLE mantis_bug_revision_table DROP CONSTRAINT DF__mantis_bu__times__39237A9A17:47
paulr[Microsoft][SQL Server Native Client 10.0][SQL Server]The index 'idx_bug_rev_id_time' is dependent on column 'timestamp'.17:47
paulroh ffs17:47
* paulr slaps john17:47
paulroh hmm17:50
darynnuclear_eclipse, paulr got time for a short patch check?18:54
daryn519:04
daryn419:04
daryn319:04
daryn219:05
darynlast chance...19:05
daryn119:05
CIA-11Mantisbt: daryn * ra0ff52e3a11f / (3 files in 3 dirs): =Implement bug 4723, display issues I've added notes to in a my view box19:11
mantisbotBug 4723 - kgrubbs - open - assigned19:11
mantisbotAdd new capability to "My View".... "Issues I've added Notes To" - http://www.mantisbt.org/bugs/view.php?id=472319:11
paulrdaryn: sure19:19
daryntoo late19:19
paulrhow you getting on with my patch?19:20
darynit was small anyway19:20
paulrcan i push ?19:20
daryni think i made all the comments I need to.19:20
* paulr doesn't think daryn with thourough19:20
paulr:P19:20
darynwhy, did you want me to spend hours on it?19:21
paulrno19:21
paulrwanted you to test it properly though :P19:21
daryn:P19:21
darynyou didn't say test it19:22
darynyou said look at the patch19:22
darynhang on...i'll run it19:24
paulrwait19:25
paulrWAIT19:25
paulrWAIT19:25
paulrWAIT19:25
paulrWAIT19:25
darynk...19:26
paulrmssql works19:27
paulrlet me test pgsql19:27
daryndo you have an updated version?  mantisforge doesn't show using constant19:27
paulrright, schema updates I think i've not fixed19:28
paulrlet me push19:28
paulr[17:18:59] <daryn> A_DAY_IN_SECONDS19:28
paulr[17:50:46] <paulr> DAYSSECONDS19:28
paulr[17:51:06] <nuclear_eclipse> ONE_DAY > *SECONDS*19:28
paulrdid we conclude a name?19:29
daryni was just being silly19:29
darynname it whatever makes sense19:29
darynbtw... i noticed you also have 86399 in the code too...19:29
darynwhat's up with that19:29
paulr23:59:5919:30
darynso...what are you going to name that?  ONE_SECOND_LESS_THAN_A_DAY?19:32
darynMIDNIGHT_MINUS_ONE19:32
darynhm...i just realized you're going to break my local customizations with this19:33
paulrdoubt it19:33
darynnope19:33
daryni do a bunch of reports and stuff with dates19:33
paulrit's easy thoughto fix19:34
darynso i'll have to account for the new field data19:34
darynsure. it's just one more thing19:34
paulrwtf does view_all_Set do19:34
paulr$t_one_day = 86399;19:34
paulrand then:19:34
paulrcase CUSTOM_FIELD_DATE_BETWEEN:19:34
paulr$t_start = $t_start_date;19:34
paulr$t_end = $t_end_date + $t_one_day - 1;19:34
darynit is the post page for view_all_bugs_page19:35
paulr$t_one_day = day - 119:35
paulrthen when we use it19:35
paulrwe take 1 off too19:35
paulr?19:35
darynsets up the filter params and queries19:35
darynseems odd19:35
paulrso it's SECONDS_PER_DAY-219:35
darynno...start and end are set to 119:36
darynnot zero19:36
darynweird19:36
darynso, there's your two seconds19:36
paulrright, pushed dates19:37
paulragain19:37
daryndo i have rights to your repo?19:38
paulr?19:38
paulryou should be able to pull no?19:38
darynprolly19:38
paulror do you need rights to pull19:38
darynjust been awhile since i set up a remote19:38
paulri'm tempted to make /admin/install.php go to /admin/check.php19:40
nuclear_eclipseall the mantisforge repos are available to anyone as read-only via git:// URL19:40
paulrnuclear_eclipse: can you have a look at my dates branch19:40
nuclear_eclipsein a short bit19:40
* nuclear_eclipse just got back home19:40
darynheh19:44
darynFatal error: Allowed memory size of 67108864 bytes exhausted19:44
darynhow much memory does that need?19:44
daryn128MB is not enough...19:47
daryn256MB is not enough...19:52
bartikwhat is the minimum php version supported by mantis ?20:08
darynhttp://www.mantisbt.org/requirements.php20:14
bartikdaryn: thanks. as a reward have a look at a curious code snippet in file_api.php there you can see a clever way how to reimplement "pathinfo($p_filename, PATHINFO_EXTENSION)" in the function file_get_extension.20:18
darynwhere?20:20
darynhm...paulr is the one who messes with phpmailer regularly20:24
darynbartik you have to remember...some of this code is ancient :)20:35
bartikI work on it a bit.20:48
darynnuclear_eclipse there?20:50
nuclear_eclipsesomewhat20:50
daryncould you take a quick look at the patch on 7205 and see if that seems an appropriate use of _SESSION?20:51
darynit's short20:51
nuclear_eclipseno, it should use the new session_api if it's trying to do something like that20:53
darynok.  i knew you would have an opinion on it :)20:53
nuclear_eclipseand the use of 'ON' and 'OFF' instead of ON and OFF is annoying, as is the one-line if else block20:54
darynright, i would change both of those20:54
nuclear_eclipsebeyond that, I'm not quite sure that's the best method of achieving that sort of behavior, but I could be misunderstanding the problem20:55
darynyeah...i'm not sure either. it's just been sitting there for awhile and I havent had time to look into it more20:56
paulr[20:44:30] <daryn> Fatal error: Allowed memory size of 67108864 bytes exhausted20:59
paulr[20:45:00] <daryn> how much memory does that need?20:59
paulr[20:47:43] <daryn> 128MB is not enough...20:59
paulr[20:52:28] <daryn> 256MB is not enough...20:59
paulrhmm?20:59
daryntrying to run the db upgrade...haven't made it through yet20:59
paulroh do i leak ram?20:59
darynit's running out of memory20:59
darynit's going somewhere21:00
paulrout of intreest21:00
paulrhow many bugs you have?21:00
daryn29000+21:01
paulrhmm21:01
nuclear_eclipselol21:02
paulr?21:02
paulrright, fine, will do it another way21:02
paulrhmm :)21:02
paulrdaryn: is that a test db ?21:03
darynya21:03
darynsort of21:03
darynit's a copy of live...why?21:03
paulrlet me do it a different way21:05
darynok21:05
paulrI just can't test as my db's are too small21:05
daryni should install xdebug...maybe that would help21:05
paulrno21:05
paulrgive me 30 mintues or so21:11
darynk21:11
darynpaulr i'm out probably for the evening if not the whole weekend21:58

Generated by irclog2html.py