Saturday, 2009-06-20

../irclogs/#mantishelp.2009-06-20.log
--- scribe started ---00:00
[KK]Kirillsiebrand: mo04:12
mantisbotNew bug: Bug 10609 - Kirill - open - new07:20
mantisbotNew bug: Move notice to admin workgroup - http://www.mantisbt.org/bugs/view.php?id=1060907:20
dhx_mhey09:30
dhx_mlol @ japanese translation of my new s_stick_bug_button string being: Sticky設定09:33
dhx_mhybrid english-japanese09:33
paul_moo09:59
paul_dhx does weekends? ;/09:59
dhx_mall day every day :p10:08
dhx_mI don't do this for work ;)10:08
dhx_mare you on overtime at the moment? :p10:08
paul_no10:09
paul_I don't do this for work ;)10:09
dhx_mah that sucks, I was hoping I could say "GET BACK TO WORK SLACKER!" :p10:09
paul_you still testing mantis?10:09
dhx_mto which you could make a "PHP is compiling" comeback10:10
dhx_mwell I have tested the basic parts10:10
dhx_mand [KK]Kirill has done a lot of testing too10:10
dhx_m1.2 seems close? :)10:10
paul_well10:10
dhx_mI'm just adding a few bits and pieces10:10
dhx_mbut nothing breakable10:10
paul_depends if someone breaks smothing10:10
dhx_mwhat did you have in mind? :p10:11
dhx_mactually one thing I couldn't work out is why we need an event in string_display_line10:11
paul_mm?10:11
paul_so you can add bbcode and stuff10:12
dhx_mah, gotcha :)10:12
dhx_mdoes the event know the bug ID, etc?10:12
dhx_mor does it only get the string being printed?10:13
dhx_mie. there must be some sort of context for the event?10:13
dhx_mI haven't done anything with events before10:13
dhx_mbut that is what I'm used to in other programs (c)10:13
paul_did you see 10607 ?10:22
dhx_mnope, let me check10:24
dhx_myou can't be serious... MS SQL doesn't support Unicode text? :o10:25
dhx_mnot even UTF16 (the default on Windows)10:25
dhx_m?10:25
dhx_mdo I really need to drive on over to Microsoft and let them know it is 2009 already? :p10:25
paul_it supports ucs-2 or something?10:26
paul_(which i think might be utf16?)10:26
dhx_myep10:26
dhx_mthat's what it is10:26
dhx_mand it gets more fun, because UTF16 still has multibyte characters10:27
dhx_mso we'd technically need a UTF16 library to handle that10:27
dhx_mI assume MS SQL supports surrogate pairs for UTF16 (2x 16bit characters)10:28
dhx_ms/multibyte/surrogate pairs10:28
dhx_mok I replied10:35
dhx_mbug 1060710:38
mantisbotBug 10607 - cbasset - open - new10:38
mantisbotNon-ASCII characters, collation and MS SQL Server - http://www.mantisbt.org/bugs/view.php?id=1060710:38
dhx_mdriver?11:19
dhx_mah I see11:19
dhx_mhttp://blogs.msdn.com/sqlphp/11:19
paul_I need to write an irc plugin for mantis11:34
dhx_mthat'd be nice :)11:35
dhx_mbut how would it communicate with IRC?11:36
dhx_myou'd need a separate daemon running wouldn't you?11:36
paul_i mean to replace the mibbit one we have atm11:36
dhx_mah I see11:36
dhx_mI thought you meant IRC announcing (mantisbot)11:36
nuclear_eclipsepaul_: other than the current breakdown between freenode and mibbit, why do you want to replace it?12:16
nuclear_eclipsedhx_m: how long will you be around?12:16
dhx_mnuclear_eclipse: 2hrs?12:16
nuclear_eclipsek12:17
nuclear_eclipsewhat time is it there, on the ass-end of the world? :P12:17
dhx_mlol12:19
dhx_mjust after 10PM12:19
nuclear_eclipseoh, lol12:19
nuclear_eclipseI *just* woke up at 8AM :P12:19
dhx_mhaha12:20
nuclear_eclipseyou silly ausies12:20
dhx_mwe're ahead of you :p12:21
dhx_mbtw if we ever have an award for worst configuration variable name.... I'd like to nominate show_product_version and show_version12:21
nuclear_eclipseI talked with victor and siebrand yesterday about the succinct buttons, and they both agree with the idea, and siebrand will coordinate getting translatinos handled between the RC and final releases12:22
dhx_mnuclear_eclipse: ok sounds good by me... although I don't really see the need to translate this one12:22
dhx_mnuclear_eclipse: unless of course the translators are under direction to pick whatever single word in their language describes the button best12:23
nuclear_eclipseso if you could get 10274 rebased onto master, and push all three of your remaining proposals before you head out, that'd be great12:23
dhx_mnuclear_eclipse: yep, rewriting 10274 as we speak... almost done actually12:23
nuclear_eclipseok12:23
dhx_mnuclear_eclipse: I'll fix the others too (can't remember what they are heh) in a moment12:24
dhx_mah, not much else to do (yay for no work!)12:24
nuclear_eclipseI'm assuming that siebrand will probably just advise translators to remove any rendundant verbage if possible; but you're right, it's not really pressing that the translations happen, etc12:24
dhx_myep12:25
dhx_mI'm surprised with how many translators we have12:25
nuclear_eclipseonce that stuff gets committed, I'm going to work on rolling an official RC release sometime today in my free time12:25
dhx_mthose new stick/unstick strings got translated in no time at all12:25
nuclear_eclipsetranslatewiki does wonders :)12:25
dhx_mexciting! :)12:25
dhx_mI was thinking about extending that email notification thing to also let users know when their access level to a project has changed12:26
dhx_many thoughts on that... or leave it until later?12:26
nuclear_eclipsethe key is that translatewiki is used for MediaWiki translations, so we're piggy-backing off their hard work :P12:26
dhx_mis that for Mantis only?12:26
nuclear_eclipseI say leave it the way it is for now12:26
dhx_myep12:26
nuclear_eclipseI think they do some other projects too, but (iirc) siebrand is actually a member of the mediawiki translation team as well, which helps a lot :P12:27
nuclear_eclipseanywho, I gotta go grab some breakfast, bbiab12:27
dhx_mhaha, was wondering why we had such an A grade translation team :)12:27
dhx_mok12:28
dhx_mversion_get_all_rows isn't very scalable (having to search through all versions in a project doesn't seem nice to me)12:32
dhx_mI might see about making a better query in version_api for that12:35
dhx_mor maybe not... seems like I'd have to bother with caching, etc12:36
paul_right, what to do this weekend12:37
dhx_mbreak Mantis once 1.2 is branched? :p12:37
paul_well12:37
paul_I have 3 choices12:37
dhx_mwe've had bugobjects... now what about ... htmlobjects12:37
paul_no12:37
dhx_mor something else :p12:37
paul_I want to play with utf8/sql stuff12:37
dhx_mthat sounds like a good cause12:38
paul_i.e. test against the various db's12:38
dhx_myep12:38
dhx_mahhh @ count( version_get_all_rows (project_id ) )12:39
dhx_minefficiency to the extreme :p12:39
paul_?12:40
dhx_mlooping through every version for a project, and then placing those results from cache into an array12:40
dhx_mthen returning it... then counting the number of elements in the array12:40
dhx_mas opposed to just having a function like count_versions_in_project that does count() on the global cache?12:41
paul_where is that?12:41
dhx_mgrep -Rn version_get_all_rows12:41
dhx_ma few places12:42
paul_well first off12:42
paul_it should be !empty ?12:42
dhx_mprobably12:42
dhx_mat the moment it is count (...) > 012:42
paul_right so we need to further review use of count() accross mantis12:43
dhx_msounds like a good idea to me12:43
dhx_mit is generally a sign of inefficiency I guess12:43
paul_I can imagine john cringing already12:43
dhx_mhah12:43
dhx_mhe's having breakfast... if we type fast enough he won't have time to read all the scrollback, and might not notice :p12:44
paul_ok!12:44
paul_more importantly12:44
paul_we should fix nusoap class12:44
dhx_mwhat's up with it?12:44
paul_what i'd like to do12:44
* dhx_m wiki's SOAP12:44
paul_on a seperate note12:45
paul_is have12:45
paul_mantis repo12:45
paul_then seperate repo's for the libraries12:45
paul_but then when you checkout the mantis repo12:45
paul_it does what hg/svn do and include the 'library' repos12:45
dhx_msplitting into other repo's sounds like a good idea to me12:45
dhx_mit can do that? :)12:45
dhx_mhow does it know where to store them locally?12:46
dhx_mwhen you do the initial pull, does it create it's own directory structure (1 directory per project)12:46
dhx_mas opposed to letting you choose what name you want to give the local repo directory?12:46
nuclear_eclipsedhx_m: you have to realize that i have an android phone with ssh access to my server, where i have my irc connection running in screen -- I can read irc from anywhere at any time ;)12:47
dhx_mnuclear_eclipse: geeky! :p12:47
nuclear_eclipsethat's me :=12:47
paul_nuclear_eclipse: git can do what I describe yes?12:48
nuclear_eclipseand btw paul_, add submodule repos and i will kill you...12:48
paul_why? :)12:48
nuclear_eclipsegit submoduels is *not* something i want to use....12:49
nuclear_eclipseafk12:49
paul_:)12:49
paul_dhx_m: so yea submodules12:51
dhx_mlol12:51
paul_if it's anything like what i've used with hg/svn12:51
paul_you'd have a repo for 'adodb'12:51
paul_then when you clone the 'mantis' repo12:52
paul_it clones mantis12:52
paul_and automatically clones in 'adodb'12:52
dhx_mand that would appear as mantis-git/adodb ?12:52
dhx_mor as mantis-git/* and separately as adodb/*12:52
paul_well, for example12:53
paul_when you cvs co http://cvs.php.net/viewvc.cgi/php-src/12:53
paul_you also get a Zend dir12:53
paul_that contains http://cvs.php.net/viewvc.cgi/ZendEngine2/12:53
paul_lunch brb12:53
dhx_mhmm interesting12:55
dhx_mok12:55
dhx_mpaul_: the new calendar widget seems broken (firefox 3.5)13:10
dhx_mpaul_: it works... but the popup has no background (it is just text-on-text)13:12
dhx_mpaul_: being able to drag it around is cool though :)13:13
paul_it's not new?13:13
paul_are you on latest trunk?13:13
dhx_mpaul_: oh... I thought it was sorry13:13
dhx_myep13:13
dhx_mmaybe I'm thinking of some other javascript thingy that was upgraded recently13:14
dhx_mI'll double check13:14
paul_right13:19
paul_what db's do we spport13:19
paul_a) mysql13:19
dhx_mall of them? :p13:19
paul_b) postgres13:19
dhx_msqlite I heard mention of13:21
dhx_mas in... not working or currently supported... but a TODO item13:21
paul_db213:21
paul_mssql13:23
paul_oracle13:23
* paul_ ponders13:28
paul_I think first i might tidy my desk13:28
dhx_mhaha13:32
dhx_mversion_add doesn't add the new version to cache... is that OK?13:34
nuclear_eclipseyeah13:35
paul_well the cache(s) are just there to reduce some DB calls13:35
paul_php6 doesn't work :(13:35
nuclear_eclipsegenerally, versiod_add will be one of the last calls on a page, so it would be "useless" to cache that inof13:35
dhx_mbut if you did a version_add followed by version_get_all_rows, I don't think you'd get the new version in the output array?13:35
nuclear_eclipsepaul_: stop fretting about php613:35
* paul_ isn't talking about mantis ;P13:36
dhx_myeah I think it is a bug that wouldn't really ever get noticed13:36
paul_php5.3 next week :)13:36
dhx_m.. good? :)13:36
paul_well, imo ew could drop php5.1 support once php5.2+5.3 are stable :P13:37
* paul_ shrugs13:37
dhx_myeah it's not like any of the users will notice... they're still using mantis 0.6 on PHP 313:38
paul_there wasn't a a mantis 0.6, first release of mantis was 0.9.0 in december 20013:40
nuclear_eclipsemantisbt.org still runs php5.1 because that's what is in stable RHEL/CentOS distros13:40
nuclear_eclipsein these days of linux distros, the obvious php version number doesn't really mean much, because most distro apply patches from later versions to a known-stable older version13:41
paul_which isn't necessarily helpful :)13:42
nuclear_eclipseI would agree with that13:42
dhx_mPHP package maintainers must have a lot of time13:42
dhx_mor alternatively, it might explain why it takes so long to see new releases :p13:43
nuclear_eclipseI'm just pointing out that we shouldn't drop "support" for php 5.1 until it's no longer used by a lot of people13:43
paul_the 'stats' I used to look at13:43
paul_seem to have stopped getting updated monthly ;/13:43
dhx_mI think CentOS 5 is a good benchmark for what the oldest version of PHP in use is :p13:43
paul_http://www.nexen.net/images/stories/phpversion/200810/evolution.milieu.png13:44
paul_basically says no one uses 5.113:44
paul_http://www.nexen.net/images/stories/phpversion/200810/mineure5.en.png13:45
paul_as of 0ct2008, ~15% of php5 was 5.113:45
paul_(wiht a 50-50 php4/5 split)13:46
nuclear_eclipsethat's still a good percentage...13:46
paul_as of 6 months ago :P13:46
dhx_mis it even supported by PHP?13:46
nuclear_eclipseyep13:46
nuclear_eclipsePHP4 only recently got EOL'i13:46
dhx_mbut PHP 4 is a major version as opposed to 5.1 which is minor13:48
paul_i'd say php dont support 5.113:48
dhx_mI can't find any info on 5.1 (where to download, etc) on the PHP website13:48
paul_dhx_m: http://www.php.net/releases/13:48
nuclear_eclipseanyways, I think the important part is that major distros still support it13:48
dhx_mpaul_: those are unsupported though :)13:49
dhx_mnuclear_eclipse: fair enough, but which distros are we officially going to support?13:49
paul_dhx_m: well13:50
paul_I dont have 5.1 installed on any of my boxes :)13:50
nuclear_eclipsewell, at least Debian, Fedora, and RHEL/CentOS13:50
dhx_malso the 1.3/trunk would be for a few months time13:50
* paul_ has php5.2.8, php5.3 and phpsnapshots of dev stuff 13:50
paul_as my versions13:50
dhx_mafaik it is easy to get 5.2/5.3 packages for CentOS13:51
dhx_mnot sure if they're supported by the CentOS people though13:51
dhx_mI know RHEL wouldn't support it13:51
nuclear_eclipseI personally have 5.2.x on all of my machines/servers, but considering even mantisbt.org is running CentOS 5 with php5.1, I think it makes sense to keep upport for it13:51
dhx_m(officially)13:51
paul_I'm just wondering who's supporting php5.1 :)13:52
paul_given we've just concluded that all core dev's seem to be running 5.2, or 5.313:52
dhx_mbtw RHEL is officially supported for 7 years after release13:53
paul_dhx_m: they must have fun :)13:53
dhx_mpaul_: yeah I think they probably stick with php 5.1 for 7 years from the release of RHEL 5... and do their own patching?13:55
dhx_mmy theory is that anyone wanting that sort of "stability" probably wouldn't want to be using a new version of Mantis either?13:56
nuclear_eclipselies :P13:57
paul_dhx_m: well13:57
nuclear_eclipsemy pov is: what do we actually *gain* by dropping support for 5.1?13:57
paul_nothing13:57
dhx_mnuclear_eclipse: let's say that PHP X.Y comes out that supports Unicode properly... do we wait 7 years to use that in Mantis? :p13:57
paul_until we find out we've commited some code tht doesn't work in 5.1 :)13:58
paul_dhx_m: nope!13:58
paul_dhx_m: I tend to test/fix mantis for new php releases before the new release happens13:58
dhx_mifdefs!13:58
dhx_myep13:58
dhx_mthat is a good point about how many developers are using 5.113:58
nuclear_eclipsewell, when php6 comes out, that' a completely different story -- we would actually *gain* something by supporting only php6, that being native utf8 support13:59
dhx_myep13:59
dhx_mis PHP 6 vapourware or is it real?13:59
nuclear_eclipsebut between 5.1 and 5.2, there's really nothing that we would actually gain by dropping support for 5.1 afaik13:59
dhx_myeah I think the few minor features we could use like:14:00
nuclear_eclipsebut like paul said, if we commit something and later find out it doesn't work in php5p1 for some weird reason, then we can reconsider what we want to support14:00
dhx_m"Hooks for tracking file upload progress were introduced."14:00
paul_dhx_m: http://wiki.pooteeweet.org/PhP60 http://cvs.php.net/viewvc.cgi/php-src/unicode-progress.txt?view=markup http://www.php.net/~scoates/unicode/render_func_data.php14:00
dhx_m"Introduced DateTime and DateTimeZone objects with methods to manipulate date/time information."14:01
dhx_metc14:01
dhx_mcould be worked around fairly easily?14:01
nuclear_eclipseanywho, dhx_m, commit your stuffs!14:02
dhx_moh yeah, forgot :p14:02
paul_dhx_m: I believe the *main* changes in 51->52 were memory/stability/performance improvements14:02
dhx_mpaul_: looks like PHP 6 is a way off then14:03
paul_dhx_m: well, will find out in a couple of weeks I reckon14:03
paul_i.e. after 5.314:03
nuclear_eclipseafterwards, 1) backup and update live site to latest master and test, 2) prepare final release builds, 3) release!14:03
dhx_myep14:03
paul_they'll need to decide whether next release is 5.4 or 6.014:03
paul_nuclear_eclipse: does all the date stuff work correctly now?14:04
dhx_mah HTML 5 is going to be a real pain in the arse14:04
paul_mm?14:04
dhx_m"web worker threads" are the worst thing I've ever tried14:05
paul_wtf?14:05
dhx_mmultithreaded javascript14:05
paul_if(( null === $p_truncated_length ) || ( utf8_strlen( $c_field_name ) != $p_truncated_length ) ) {14:05
paul_$query = "SELECT id FROM $t_custom_field_table WHERE name = '$c_field_name'";14:05
paul_} else {14:05
paul_/** @todo This is to handle the case where we only have a truncated part of the name.  This happens in the case where14:05
paul_ * we are getting the custom field name from the history logs, since history is 32 and custom field name is 64.14:05
paul_ * This fix will handle entries already in the database, future entries should be handled by making the field name max lengths match.14:05
paul_ */14:05
paul_btw14:05
paul_can we fix that? ;/14:05
nuclear_eclipseI dunno14:05
nuclear_eclipsebut dates seem to be working completely now14:06
paul_/** @todo This is to handle the case where we only have a truncated part of the name.  This happens in the case where14:06
paul_ * we are getting the custom field name from the history logs, since history is 32 and custom field name is 64.14:06
dhx_m"web worker threads" = "consume 100% CPU and make the browser completely unusable" in Firefox 3.514:06
paul_describe mantis_bug_history_table;14:06
paul_| field_name    | varchar(64)      | NO   |     | NULL    |                |14:06
paul_| old_value     | varchar(255)     | NO   |     | NULL    |                |14:06
paul_| new_value     | varchar(255)     | NO   |     | NULL    |                |14:06
nuclear_eclipseyeah, I think that may no longer be a problem :P14:07
paul_are people likely to have fieldlengths>32 ?14:08
paul_it's tempting to just drop that code14:09
dhx_mI'm confused as to why changing $g_roadmap_update_threshold = 999;14:09
dhx_mwould prevent the target version showing in the advanced view page14:09
paul_because admin = 100?14:09
dhx_mbut update_threshold isn't used in bug_view_advanced_page14:10
dhx_mI have:14:10
dhx_m$t_can_view_roadmap = access_has_bug_level( config_get( 'roadmap_view_threshold' ), $f_bug_id );14:10
dhx_mas the check14:10
paul_nod14:10
* paul_ thinks14:11
paul_did I want john to fix something14:11
dhx_mpaul_: with bugobjects, what do you think of adding checks inside __get14:13
paul_to check what?14:13
dhx_mpaul_: for instance, roadmap_view_threshold and show_product_version ?14:14
paul_I'm not sure14:14
dhx_mroadmap_update_threshold has me confused14:15
paul_(we'd have to trigger an error if someone tried to request it that shouldn't - (which could be a good thing), but we'd still need to check for it in the code14:15
dhx_myep14:16
dhx_mwell what I was thinking towards was try/catch errors?14:16
dhx_mso we have all our access checks in one place14:17
dhx_minstead of scattered all over the codebase14:17
dhx_mit'd be 1000000 times easier to maintain that way14:17
dhx_m(I think)14:17
dhx_mor better yet, maybe it could just follow the lead of the custom fields14:18
nuclear_eclipseme is in favor of waiting until after 1.2 for considering that14:18
dhx_mand have a threshold for viewing and updating14:18
dhx_moh yeah, not for 1.214:18
paul_didn't we release 1.2 already?14:18
* dhx_m gets back to working out why roadmap_update_threshold is messing my code up (when it isn't referenced at all in my checks)14:18
nuclear_eclipselol, no14:19
paul_dhx_m: what yare your commits?14:19
dhx_mpaul_: nuclear_eclipse was going to RC it today I gather :)14:19
dhx_mpaul_: bug 1027414:19
mantisbotBug 10274 - dhx - open - new14:19
mantisbotDisplay target release date next to target version - http://www.mantisbt.org/bugs/view.php?id=1027414:19
paul_dhx_m: I'd hate to try co-ordinate an RC :P14:19
dhx_mbug 1059814:19
mantisbotBug 10598 - dhx - open - assigned14:19
mantisbotShorten HTML button strings shown when viewing/updating a bug - http://www.mantisbt.org/bugs/view.php?id=1059814:19
dhx_mbug 477214:19
mantisbotBug 4772 - hugopedersen - open - assigned14:19
mantisbotChanging username doesn't advice user - http://www.mantisbt.org/bugs/view.php?id=477214:19
dhx_mthose 314:19
dhx_mand 1 more (:p) which is my missing part from 10330 to handle the effectiveness ratings on the summary page14:20
dhx_mI needed to give it a bit of a cleanup14:20
nuclear_eclipsedhx_m: eta on all that?14:20
dhx_mnuclear_eclipse: very soon... just stumped on this roadmap_update thingy14:20
dhx_mI'm testing these before I commit :)14:21
* paul_ starts to code14:21
paul_testing?14:21
nuclear_eclipseif you need me to wait for tomorrow to RC, that's fine; just want to know how much I should get into my WoW session :P14:21
paul_heh14:21
paul_well14:21
dhx_mactually tomorrow would be good :)14:21
paul_yay14:21
paul_I can break stuff today!14:21
dhx_mbecause I can give it more testing14:21
dhx_mI was planning on going "live" with the current RC14:22
dhx_mafter a round of testing14:22
nuclear_eclipsepaul_: no breaking anything!14:22
dhx_mso that should find bugs fairly quickly (if there are any)14:22
paul_why do we have @require_once in instal.php ?14:22
nuclear_eclipsedhx_m: perhaps you'll be waking up before I'll be going to bed? :P14:22
dhx_mnuclear_eclipse: there seems to be a silent failure somewhere when you start setting config values to NOBODY?14:23
nuclear_eclipsedunno14:24
nuclear_eclipseso stop doing that! :P14:24
nuclear_eclipse"doctor, my knee hurts when I bend it backwards..."14:24
dhx_mnuclear_eclipse: I can set $g_roadmap_update_threshold to random numbers like 77 and my administrator can still view the roadmap14:24
dhx_mhaha14:24
paul_nuclear_eclipse: i've concluded that phputf8 classes fail btw :P14:25
dhx_myet values over my admin threshold will prevent things from showing14:25
nuclear_eclipsefail how?14:25
paul_try comparing php-compat functions to mb ones for all unicode chars14:25
dhx_mGRRRRRRRRRRRRRRRRRRRRRR14:26
dhx_mohhh14:29
dhx_msilent error I missed14:29
dhx_mbug_update_advanced_page.php37--gpc_get_int( <string>'bug_id' )14:33
dhx_mcore/gpc_api.php108--call_user_func_array( <string>'gpc_get', <Array> { [0] => 'bug_id' } )14:33
dhx_m--gpc_get( <string>'bug_id' )14:33
dhx_m50--trigger_error( <string>'200', <integer>256 )14:33
dhx_mno one would have noticed this before, as it only shows up embedded within the raw html output14:36
dhx_mnot on a new page14:36
dhx_mA required parameter to this page (bug_id) was not found.14:38
paul_nuclear_eclipse: .?14:39
nuclear_eclipsehi paul_14:39
paul_forms api14:39
paul_we need to finish14:39
nuclear_eclipsewhat's not finished?14:39
paul_it's not used everywhere right?14:40
nuclear_eclipseI prenny sure it is14:40
paul_we dont use it in account_prefs_reset.php14:40
nuclear_eclipseok14:40
dhx_mif someone is running a test version of Mantis, can you check the HTML output of bug_update_advanced_page.php14:40
paul_nuclear_eclipse: nor 35 other locations14:41
dhx_mand see if there is an error showing up in there?14:41
paul_do we need to add it for these locations?14:41
* paul_ thought it was a security thing?14:41
nuclear_eclipsedhx_m: check leetcode.net/mantis14:41
nuclear_eclipsepaul_: it's only needed for any page that actually performs an *action*14:41
dhx_mnuclear_eclipse: thanks14:42
paul_doesn't bugnote_add preform an action?14:42
nuclear_eclipseif it's just a post/get form to gather information or view something, you don't need to have form security involved14:42
nuclear_eclipseyes, bugnote_add would be an action14:42
dhx_mnuclear_eclipse: hmm can't update any :p14:42
paul_nuclear_eclipse: could you have a look and see if i'm right14:42
nuclear_eclipseliar14:42
paul_that we've missed 35 locations14:42
nuclear_eclipsedhx_m: missed the fact that you said *update*_page :P14:43
dhx_mah :)14:43
paul_nuclear_eclipse: also14:43
paul_whos writing release note documentation?14:43
nuclear_eclipseI was planning to14:43
paul_show me the draft14:44
nuclear_eclipsepushy much? :P14:44
paul_yep :P14:44
paul_if we're gonna do an RC not a beta14:44
paul_:P14:44
nuclear_eclipsepaul_: email a list of topics you think should be covered in the notes, just so I'm not missing anything14:45
paul_to do that i'd need to review the changelog14:45
dhx_mnuclear_eclipse: never mind, I think it is a Firefox 3.5 bug14:46
dhx_mnuclear_eclipse: except the part where the error occurs after HTML output has started?14:47
dhx_mcan't reproduce when using links from the command line14:47
paul_HMM14:48
* paul_ edits install.php14:49
* paul_ wants to remove INSERT admin account db upgrade ;/14:51
nuclear_eclipsewhy?14:51
paul_have users specify password during initial install14:51
dhx_mthat's a good idea14:51
nuclear_eclipseyes, but not for 1.2 please14:52
paul_1.2rc notes cover 1.1->1.2 or 1.2a3->1.2?14:53
paul_nuclear_eclipse: well can you branch git then :P14:53
nuclear_eclipsepaul_: I'm waiting for dhx_m's fixes before branching 1.214:54
dhx_mworking on it :)14:54
paul_branch then merge14:54
paul_we'll have a bunch of stuff to merge anyway14:54
nuclear_eclipseand I think the RC notes should cover 1.1->1.214:54
dhx_mugly14:54
dhx_mwhat is left to merge into RC?14:54
nuclear_eclipsepaul_: merging wouldn't work if you started committing stuff14:55
nuclear_eclipsewould have to start cherry-picking, which I'd rather not do14:55
paul_we'll end up needing to do that anyway i'm sure14:55
nuclear_eclipsejust keep your install thing in a local branch or on mantisfogre until we branch 1.214:55
paul_nuclear_eclipse: I did that last week14:55
paul_erm14:55
paul_weekend14:55
paul_and you saw what happened :P14:56
nuclear_eclipsejust make a new branch for every new thing you want to do, and it will make everything *far* easier to handle....14:56
paul_nuclear_eclipse: where is irc plugin?14:56
paul_can you rename it14:57
paul_:P14:57
paul_Mibbit->IRC14:57
dhx_mok big question...14:57
paul_dhx_m: YES14:57
dhx_mwhy can users without roadmap_update_threshold permission changed the "Fixed in" field14:57
dhx_mcurrent ehmm... "documentation": threshold for updating roadmap, target_version, etc14:58
dhx_mmaybe we'll fix that later14:58
nuclear_eclipsepaul_: why not create a different irc plugin if you don't want to use mibbit?14:58
dhx_mseems any fix we do now breaks the traditional meaning of that variable14:58
paul_as i'm going to make mibbit one of the options14:59
paul_mibbit|qwebirc14:59
paul_so it's going to a copy/paste of mibbit one14:59
paul_and renamed :)14:59
paul_there's a good chance freenode won't let mibbit back on14:59
paul_imo14:59
nuclear_eclipsefork it and do the renaming stuffs, and I'll pull it in at some point15:00
paul_well, we need to rename the repo15:00
nuclear_eclipseah15:00
nuclear_eclipseright15:00
paul_as current one is 'mibbit'15:00
nuclear_eclipseI'll put it on my todo list15:00
paul_I know a reasonable amount of thep olitics behind mibbit15:00
nuclear_eclipseit seems to me the problem is more on freenode's side15:01
nuclear_eclipsethey are blaming mibbit for not doing things that he's been trying to get them to let him do for the past few months...15:01
dhx_malso show_product_version option doesn't cover the Build field15:01
dhx_mso you can disable all versions from showing... but the build is still shown15:01
nuclear_eclipsedhx_m: write up a bug on the tracker about those inconsistencies, and we'll see what people say about it?15:02
dhx_mand the roadmap/etc links in the toolbar still show15:02
dhx_myep will do15:02
paul_grr15:07
paul_who broke tests ;/15:07
paul_dhx_m: warn me before you push pls15:21
dhx_mpaul_: ok15:21
dhx_mpaul_: when showing dates, do I have to use a special function now?15:37
dhx_mor is date() ok?15:37
dhx_mI would assume it isn't anymore :)15:37
paul_date is fine15:38
paul_iirc15:38
dhx_mso the time zone of the user isn't factored in?15:38
dhx_mor is there a global set_timezone() thingy instead?15:38
paul_yep15:39
paul_the later15:39
dhx_mok thanks :)15:39
dhx_mcan I commit then? :D15:39
paul_go for it15:42
dhx_mok15:42
dhx_mI hate working in the wrong branch ;/15:50
CIA-17Mantisbt: hickseydr * r20c59001f25e / (13 files in 3 dirs): Option to show scheduled version release dates15:51
CIA-17Mantisbt: hickseydr * rd62c08e3b682 / (5 files in 3 dirs): Notify user if an admin updates their account15:57
CIA-17Mantisbt: hickseydr * r63e4dbcb6a77 / (5 files in 3 dirs): Merge branch 'manage-user-email-notify'15:57
dhx_mWarning: Illegal offset type in isset or empty in /var/www/localhost/htdocs/mantis-git/core/user_api.php on line 5116:02
dhx_mWarning: Illegal offset type in /var/www/localhost/htdocs/mantis-git/core/user_api.php on line 7516:02
dhx_mon manage_user_edit_page16:02
dhx_mah I see16:05
paul_you broke trunk?16:06
dhx_mmy ADMINISTRATOR thing the other day had an error16:06
dhx_mfixing now16:06
paul_wow16:06
paul_dont you test?16:06
paul_:P16:06
dhx_m(and reviewing my patch from yesterday again)16:06
dhx_mlol16:07
dhx_mI was sending a user object instead of a user id :o16:07
CIA-17Mantisbt: hickseydr * r70a687a08c69 /manage_user_edit_page.php: Fix invalid argument to user_is_administrator16:11
paul_dhx_m: your running 3.4?16:24
paul_3.516:24
CIA-17Mantisbt: paul * r226eb0fe7c0b /core/classes/MantisEnum.class.php: actually go back to not using is_blank -> this change broke my phpunit test setup.16:24
CIA-17Mantisbt: paul * rdb4c72a09ef1 / (core.php core/html_api.php core/wiki_api.php): Only load wiki support if wiki is enabled16:25
dhx_m3.4 of what? :)16:25
nuclear_eclipsepaul_: http://git.mantisforge.org/w/irc.git16:34
CIA-17Mantisbt: hickseydr * re877da171c03 / (3 files in 3 dirs): Custom reporter effectiveness multipliers17:48
dhx_mnuclear_eclipse: everything except the string shortening patch is now applied17:49
dhx_mnuclear_eclipse: so from me, I have nothing left :)17:49
nuclear_eclipseok17:51
nuclear_eclipsethanks17:51
dhx_mwait17:52
dhx_mI might apply Victor's suggestions17:52
dhx_mdoes that sound ok?17:53
nuclear_eclipsewhat suggestions?17:56
dhx_m1. How about if we use an access level threshold rather than a bool.17:57
dhx_mThe default of NOBODY will give same functionality as now.17:57
dhx_m2. $g_show_scheduled_release_dates -> $g_show_version_dates_threshold.17:57
dhx_m The word "scheduled" only applies for future releases, but you use17:57
dhx_mthe same configs for released ones.  From other configs, I think we17:57
dhx_muse "version" as the entity and "release" as the action of releasing a17:57
dhx_mversion.  However, feel free to double check.  I just had a quick17:57
dhx_mlook.17:57
nuclear_eclipsedhx_m: whatever you think is good18:16
dhx_mok18:16
paul_build successful18:21
dhx_mpaul_: you need to include wiki_api.php into bug_view_advanced_page now :)18:22
dhx_mpossibly others... I haven't checked18:23
paul_shouldn't need to if it's disabled...18:23
dhx_mwell it makes a wiki_enabled() call18:23
dhx_mwhich is in wiki_api18:23
paul_huh18:23
paul_I grepped18:23
paul_we need an is_enabled('wiki' type function imo18:32
paul_I probably grepped for wiki_is_enabled not wiki_enabled as we normally use *IS*18:32
dhx_myep18:32
dhx_mbug_view_page also affected18:33
paul_so yea18:40
paul_constant naming of api functions ftw18:40
paul_feature_is_enabled('news')18:41
paul_feature_is_enabled('wiki')18:41
paul_or something :P18:41
paul_imo18:41
paul_thoughts?18:43
dhx_mguess so... I take it plugins are included?18:43
dhx_mmy only question is why check strings like 'news' when you can check constants instead?18:44
dhx_mok I'm done for today18:48
CIA-17Mantisbt: hickseydr * r2c22ce06979c / (5 files in 3 dirs): Change show_scheduled_release_dates to threshold18:48
dhx_mnuclear_eclipse: all good to go, victor's changes are done18:48
dhx_mcya :)18:48
paul_dhx_m: oi18:48
paul_dhx_m: did you fix what I broke then? ;p18:49
paul_or shall I quickly revert that patch18:49
paul_and rename it18:49
dhx_mpaul_: nope... want me to include it?18:49
paul_well, could be useful18:49
dhx_mohh18:49
dhx_mI see18:49
paul_before john does a release ;p18:49
dhx_mI like your patch better18:50
paul_mm?18:50
dhx_mjust do a config_get18:50
dhx_minstead of using the wiki_enabled thing18:50
paul_k18:50
dhx_munless18:50
dhx_mwiki_enabled does other checks?18:50
paul_nope18:50
dhx_mmaybe in the future... but I think it needs the overhaul you mentioned18:51
dhx_mso that a new event hook can be created that lets plugins/etc disable certain features18:51
nuclear_eclipsedhx_m: one last thing that I just remembered -- config option adimn_site_threshold needs to be documented still18:51
dhx_mnuclear_eclipse: oh yep, will do that quickly18:51
paul_I thought we dropped that threshold?18:51
nuclear_eclipsenope, we expanded it18:52
paul_I thought we concluded that18:52
dhx_mpaul_: in case you have multiple admin access levels :p18:52
paul_ADMINISTRATOR was the only value you could set18:52
dhx_mnope18:52
dhx_myou could have multiple administrators still18:53
dhx_mfor cosmetic reasons18:53
dhx_mor potentially other reasons such as controlling enum levels18:53
paul_well18:53
dhx_mrare cases18:53
paul_so admin_site_threshold is level you can do an install at ?18:53
dhx_myes18:54
dhx_mit is essentially what the ADMINISTRATOR constant used to be18:54
paul_we should add a check to make sure that admin_site_threshold is >= ADMINISTRATOR18:54
dhx_malso it'd be better to use existing functions like user_is_administrator or current_user_is_administrator18:54
dhx_mgood point18:54
paul_or more18:55
dhx_mwait... no18:55
dhx_msomeone might unset the ADMINISTRATOR constant completely18:55
dhx_mand define their own18:55
dhx_mso we can't really18:55
paul_well18:56
paul_this is why I thought we agreed not to add the threshold18:56
paul_imo, we *need* to add a check to ensure that only administrators can run installer18:56
paul_and that users dont set it to anybody by accident (security risk potentially)18:56
paul_which is why I thought we agreed 'ADMINISTRATOR' was really a defined constant we couldn't change ;/18:57
dhx_mI don't know why they would...?18:57
nuclear_eclipse say if they configure it wrong, we can't hand-hold them18:57
nuclear_eclipseit's more of a security problem to have attachments in the webroot, and we can't possibly do any proper checks for that...18:57
dhx_m * Threshold at which a user is considered to be a site administrator.18:59
dhx_m * These users have "superuser" access to all aspects of Mantis including18:59
dhx_m * the admin/ directory. WARNING: DO NOT CHANGE THIS VALUE UNLESS YOU18:59
dhx_m * ABSOLUTELY KNOW WHAT YOU'RE DOING! Users at this access level have the18:59
dhx_m * ability to damage your Mantis installation and data within the database.18:59
dhx_m * It is strongly advised you leave this option alone.18:59
dhx_mis that ok for a warning then?18:59
nuclear_eclipse+118:59
paul_dhx_m: your doing the wiki stuff?19:09
paul_right?19:09
dhx_muhmm nope :p19:12
dhx_mdocumenting19:12
dhx_mmaybe just revert it until we fix it properly for 1.3?19:16
paul_go for it19:16
CIA-17Mantisbt: hickseydr * r37ebe80af11f / (2 files in 2 dirs): Document g_admin_site_command config option19:17
CIA-17Mantisbt: hickseydr * rff31b8e7f61b / (3 files in 2 dirs): Replace all instances of wiki_enabled19:23
dhx_mok all done19:23
dhx_mI'm REALLY out of here now :)19:23
dhx_mcya19:23
paul_good night19:23
dhx_m:)19:23
nuclear_eclipsegn dhx_m19:23
CIA-17Mantisbt: jreese * rce10860b00c9 /core/constant_inc.php: Version bump.21:27
CIA-17Mantisbt: hickseydr * r0d1db44e853b /lang/strings_english.txt: Make HTML button strings shorter21:31
paul_nuclear_eclipse: you've branched?21:53
paul_The ManTweet plugin isn't currently working because it relies22:15
paul_on the old-style date handling routines; Victor will need to either22:15
paul_follow the existing Mantis schema upgrades and such, or do whhat I did22:15
paul_for the source integration plugins22:15
paul_surely22:15
paul_*surely*22:15
paul_that's a bad idea22:15

Generated by irclog2html.py