Tuesday, 2009-06-16

../irclogs/#mantishelp.2009-06-16.log
--- scribe started ---00:00
anon39845nuclear_eclipse: here now :)06:05
[KK]Kirillpaul_: I test jpGraph. in current git - not supported even replace EVENT to MENU07:23
dhx_mpaul_: 300 comments on a single bug! WHOOA!08:45
[KK]Kirilldhx_m: lo09:54
dhx_m[KK]Kirill: hey09:54
paul_[KK]Kirill: try my branch10:03
paul_dhx_m: ? :)10:03
paul_so like, I sent a mail to dev list last night10:03
paul_no replies yet ;/10:03
dhx_mpaul_: was reading your mailing list email :)10:03
paul_dhx_m: you probably see why I dont send many mails now ;p10:03
dhx_mhah10:03
dhx_mmy only comment is that it'd be easier to see all these changes in individual branches10:12
dhx_mbut then I guess you can't resolve conflicts between all the different branches10:12
paul_well, bugobjects was an individual branch10:13
paul_as was graphs10:13
dhx_myep10:13
paul_your argument is true for graphs10:13
paul_and probably the later phpdoc stuff10:13
paul_the earlier stuff - well I was told push bugobjects one day then mail list the next10:13
dhx_mit probably also works a bit like congress/parliament... try and attach bills to other ones :p10:14
paul_so branch got collapsed between those two events10:14
dhx_myep10:14
[KK]Kirillpaul_: lo10:20
[KK]Kirillpaul_: where you push your modify to master?10:40
[KK]Kirillwhen?10:40
mantisbotNew bug: Bug 10593 - jonathh - open - new10:44
mantisbotNew bug: Wrong category used when old one deleted. - http://www.mantisbt.org/bugs/view.php?id=1059310:44
[KK]Kirillany around?11:07
dhx_m[KK]Kirill: yep, a little busy at the moment though (hence the delayed replies)12:30
[KK]Kirilldhx_m: I forget what I want :(12:56
dhx_mpaul_: I noticed your email mentioned RC release... wouldn't it be beta instead?13:03
CIA-61Mantisbt: jreese * rd16476468234 /doc/CREDITS: Added dhx to the list of developers.13:11
dhx_mI'm itching to commit something now haha13:12
nuclear_eclipsedhx_m: commit paul's branch -- he'll be friends with you forever :P13:12
dhx_mlol13:12
dhx_mI didn't realise there were ads on mantisbt.org until I just checked the mantis-web.git tree13:20
dhx_mtoo many years of using Adblock Plus... :)13:20
dhx_mI was wondering if it'd be possible to put the config_inc.php and custom_* files into mantis-web.git?13:21
dhx_msensitive details like passwords, directory structures, etc can be included at the top from another php file outside the web root13:22
dhx_mit'd then be quite nice to have a stable and nightly demo site13:22
killefizdhx_m: use config_defaults.inc.php?13:23
dhx_mconfig_defaults_inc.php isn't meant to be edited though13:24
killefizdhx_m: are you talking about http://www.mantisbt.org/bugs/ or about http://www.mantisbt.org ?13:24
dhx_m(btw I'm not sure if you're aware that I'm talking about the bug tracker and demos on mantisbt.org?)13:24
dhx_myep /bugs and /demo13:25
killefizok - I thought you were talking about the site itself13:25
killefizjust ignore me then ;)13:25
dhx_mwell I guess I sort of was... :)13:26
nuclear_eclipsedhx_m: I guess I'm not seeing the point of putting config_inc.php under git for the website...13:28
dhx_mnuclear_eclipse: I guess it just lets everyone know when settings have been changed on the main tracker (and demo site)13:29
nuclear_eclipseah13:29
nuclear_eclipsewell, we coudl of course move more stuff out of config_inc.php and make sure it's all kept in config_defaults...13:30
nuclear_eclipsebut I think adding yet another layer of indirection for that data is not the best course of action =/13:30
dhx_mmaybe this is some confusion over naming.. but isn't config_defaults_inc.php meant to be left untouched?13:31
dhx_mand all user config is meant to be in config_inc.php?13:31
nuclear_eclipseyes, but config_inc is not meant to be in version control either :P13:32
dhx_mwell I guess I'm not asking for a full copy of the Mantis source code in mantis-web.git13:33
dhx_mjust the parts which are changed from the base source code (configuration, custom functions, etc)13:33
dhx_mthat way mantis-web.git is a better representation of what is actually on the server13:34
dhx_mand I guess it'd be a good example for people to follow?13:34
nuclear_eclipsewell, for /bugs, that's just a raw clone of the 'live' branch, with no custom_* stuff; the main site is just a checkout of mantisbt-web with a config_inc that overwrites values...13:35
dhx_mI guess it'd be fairly default as-is13:35
[KK]KirillI remeber13:36
[KK]Kirilldhx_m: did you have mantis on linux?13:36
dhx_mso if it is only a few lines of config (~20 or whatever) it isn't really worth putting it in mantis-web.git13:36
dhx_m[KK]Kirill: yes, multiple instances on Gentoo and one on RHEL13:36
[KK]KirillWhat's about 2 project with diff patch?13:37
[KK]Kirillpath*13:37
dhx_myep I do that too13:38
[KK]Kirillupload in one issue in project 113:38
[KK]Kirillthan move issue to project213:38
[KK]Kirillwhat with attach?13:38
[KK]Kirillhappend?13:39
dhx_mwell I run an instance of Mantis with 5 projects - is that what you're talking about?13:39
dhx_mor are you talking about two different front-ends for the same database?13:39
paul_nuclear_eclipse: I dont see point of mailing list13:47
paul_no one replies13:47
dhx_mto be honest, I agree13:48
dhx_mthe reason being that I think the bug tracker actually takes place of a mailing list13:48
dhx_mit is much easier to find information in one place13:49
dhx_mat the moment people can make suggestions in any of the following ways: mailing list, wiki, bug tracker, IRC13:49
killefizpaul_: your emai was three ours ago and had a subject of (no subject)13:50
dhx_mwith the exception of the bug tracker, most of those other mediums will quickly be forgotten13:50
paul_3 ?13:50
paul_i sent it last night13:50
paul_so 1513:50
mantisbotNew bug: Bug 10594 - eunice - open - new13:50
mantisbotNew bug: Create field: Date, Type: date, no set "Possible Values " and "Default Value ", why cannot enter date to update issue - http://www.mantisbt.org/bugs/view.php?id=1059413:50
killefizpaul_: right - I got confused by thunderbird showing 12:31 - missed the AM13:51
nuclear_eclipsedhx_m: biggest problem is that bug tracker cann't replace the mailing list as a centralized method of discussion13:51
dhx_mthere must have been a big delay, I only received it 2hrs ago, even though it is timestamped ~16hrs ago13:51
dhx_mnuclear_eclipse: but could it... if we change email notification for new bugnote messages to behave more like emails?13:51
dhx_mnuclear_eclipse: and have some sort of method of adding bugnotes via email?13:52
nuclear_eclipsereporting a bug basically guarantees that nobody will see it except for people your send to it, or looking for it; with a mailing list, everyone gets informed of the discussion without needing to look for anything13:52
dhx_mtrue13:52
[KK]Kirilldhx_m: I'm about one mantis installation and 2 project in one mantis13:52
dhx_m[KK]Kirill: yep, I do that with 5 projects... works well :)13:53
nuclear_eclipseon the outside, the two seem like similar, swapple components, but the semantics or how each is used are completely different and complementary13:53
[KK]Kirillproject has equal folders?13:53
dhx_m[KK]Kirill: when you copy an issue between projects I've found it is OK except the category remains the same as it was in the source project13:53
[KK]Kirillprojects has equal folders?13:53
dhx_m[KK]Kirill: no, different13:54
[KK]Kirillstrange13:54
[KK]KirillI move issue from one project to other13:54
dhx_mnuclear_eclipse: so is it fair to say that changes should be made in a Linux kernel method of sending an email to the mailing list?13:54
[KK]Kirilland I see attached missed13:54
dhx_mnuclear_eclipse: instead of having people attach things to bugnotes, etc13:54
dhx_mnuclear_eclipse: basically I just have concerns about information being in more than one place (and the chance of it being in each place is random)13:55
nuclear_eclipsedhx_m: isn't that how it already works?  that was the whole point of having `git format-patch` and `git am` :P13:55
dhx_mnuclear_eclipse: I actually thought patches should be attached to bugs on the tracker :o13:56
nuclear_eclipseI would actually agree with you on that13:56
dhx_mnuclear_eclipse: and for communication about a feature request/etc, the discussion happens in bugnotes on the tracker13:57
dhx_mthat way everything is in a central location13:57
dhx_m[KK]Kirill: oh, that sounds bad13:57
dhx_m[KK]Kirill: is there a bug ID for this?13:57
nuclear_eclipsethe problem here is that a) we tend to rarely open issues for features, and b) in the case of new features/modifications, you need more eyes on it than what a bug attachment can offer13:58
dhx_m[KK]Kirill: I can try replicating this when I get a bit of time13:58
[KK]Kirilldhx_m: I don't create yet13:58
[KK]Kirilldhx_m: I don't understand it's only for me or not13:59
dhx_mnuclear_eclipse: I'd generally say that major features should have a separate bug ID just for the purpose of keeping track of progress in one central place (list commits, comments from people that have tested it, etc)14:00
dhx_mnuclear_eclipse: but maybe I'm just thinking of a different style of development than what most people here are used to14:01
nuclear_eclipseonce again, I agree with you completely :P14:01
dhx_mnuclear_eclipse: in a project I'm working on at the moment we use custom statuses in Mantis to denote if a bug has been reviewed before committing, etc14:01
nuclear_eclipseit's a matter of organization and process, with the team has lacked as long as I've been here, probably for the side effects of org/process requiring time, which is the one thing that our team does not have enough of...14:02
dhx_mnuclear_eclipse: so it becomes very easy to find things that need reviewing, etc... whereas a mailing list makes this hard (you lose track of patches that were never committed)14:02
dhx_mI dislike using a web browser interface to comment on bugs (would much prefer to use an email client)14:03
dhx_mwhich is why I was suggesting some sort of interface that allows people to discuss bugs via email (with attachments that are automatically attached to the bug)14:04
nuclear_eclipsedhx_m: prod giallu on that; he's been working on a python app to interface between mail and mantis via the soap interface14:05
dhx_mnuclear_eclipse: oh nice, I'd be interested in that feature :)14:05
nuclear_eclipsedhx_m: I think the biggest problem with using the bug tracker as the point of discussion is the pure flood of issues reported14:05
dhx_mhigh signal to noise?14:06
dhx_mI mean... low14:06
nuclear_eclipsehigh noise to signal :P14:06
dhx_myeah haha14:06
dhx_mthat is a good point... I guess they have the same problem with the kernel ML14:06
dhx_mI use it as an example as it is the largest (?) open source project14:07
dhx_mand I'm trying to imagine what would happen if they wanted to use Mantis14:07
paul_when I decide to housekeep14:11
paul_some things dont really require abug id14:11
paul_e.g. i've been gradually doing phpdoc/querybound changes for months14:11
paul_as it's *so* boring14:11
dhx_myep14:12
paul_hence why you'll find you get14:12
paul_phpdoc14:12
paul_some random fix14:12
paul_work on feature i've been working on14:12
nuclear_eclipsepaul_: I'd agree on that, but some things (like bugobjects) really could stand to have an associated issue in the tracker...14:12
paul_query bound fixes14:12
paul_random fix14:12
paul_nuclear_eclipse: it does (kinda)14:12
dhx_mon my tracker we have the custom statuses New => Triaged => Assigned => Implementing => Implemented => Reviewing => Reviewed => Committed14:14
dhx_m(or close to that)14:14
dhx_mthat would be the typical workflow14:14
dhx_mI recon this project could benefit from a workflow similar to:14:16
dhx_mNew => Triaged => Implementing => Implemented => Reviewing => Reviewed => Committed14:17
dhx_mwith branches:14:17
dhx_mNew => Feedback Needed14:17
dhx_metc14:18
dhx_mthe main problem I see is that keeping track of which bug IDs have outstanding patches14:18
dhx_mand which patches need review14:18
dhx_mat the moment it seems that is all done on IRC?14:18
dhx_mor some are using the tag system to add a "patch" tag14:19
dhx_mbut there isn't a standard as such (at least from what I can see)?14:19
nuclear_eclipsedhx_m: correct, we could benefit from some sort of well-defined development process; it's rather ad-hoc atm...14:20
nuclear_eclipseif you can get paul and victor on board with any sort of defined process, that's probablp 95% of your opposition right there :)14:21
dhx_mwell I guess the first thing to do is come up with a proposal document :)14:22
nuclear_eclipseyep14:23
dhx_mI can understand why this would be a huge change14:24
dhx_mopen source projects traditionally just "go with the flow" and don't have formal development processes14:24
dhx_min reality little changes... it's mostly just changing documentation14:24
nuclear_eclipseespecially small ones with only a handful of developers14:25
dhx_myep14:25
dhx_mMantis already has a bit of a development process14:25
dhx_mie. the documentation on how to write patches, submit them, etc14:25
nuclear_eclipseright, wwell, it's more a defined process for how external developers should contribute fixes/features, but a) it's not complete, b) it doesn't define a process for the project/developers themselves, and c) is still part of the unreleased development guide for 1.2, which most people haven't yet done anything with...14:28
dhx_myep14:30
daryn\back14:32
dhx_mI'm getting a division by 0 error in the latest version of Mantis14:44
dhx_mlet me debug ;)14:44
nuclear_eclipsehooray!14:44
paul_dhx_m: my version?14:46
dhx_mnah master14:47
paul_try my branch14:47
dhx_mmight be my bad config, checking now14:47
paul_there's probably an outside chance it's fixed14:47
paul_i'd be interested to know if it is a bad config14:47
[KK]KirillWhy in db stored record with Excel header, but in issue show Text icon?14:48
dhx_mah actually it seems to be the "percentage complete by status" bar at the bottom of view_all_bug_page14:48
dhx_mwhen you don't have any bugs in the system14:48
paul_dhx_m: I thought that was fixed in master already?14:49
dhx_mI'm having a guess ;)14:49
paul_either that or14:49
dhx_mit isn't showing in my php_error.log file either14:49
paul_it's more complicated then it looks14:49
paul_:)14:49
dhx_moh my bad14:50
dhx_mI'll reset my config to defaults14:50
dhx_mjust to be safe14:50
paul_dont14:51
paul_we want to know what's wrong14:51
dhx_mnah my config had custom enum levels14:51
dhx_mthat have since changed in master14:51
dhx_mafter my patches were merged14:51
dhx_mactually14:51
dhx_mI'll try fixing it instead of starting fresh14:52
[KK]Kirill- Doctor, help me, all peoples ignored me...14:55
[KK]Kirill- Next14:55
dhx_mis there some way to turn off internal error handling in Mantis so that I can see the raw PHP/MySQL errors?14:56
dhx_mie. line numbers14:56
nuclear_eclipsecore/error_api14:56
nuclear_eclipsecomment out the set_error_handller call at the top of the api14:56
dhx_mthanks :)14:56
dhx_mok it seems that if you comment out the access levels in core/constant_inc.php and redefine it in custom_constant_inc.php15:04
dhx_mat custom_field_api.php:836 $t_private_access = config_get( 'private_project_threshold' );15:05
dhx_mthe value returned is 'ADMINISTRATOR'15:05
dhx_minstead of the integer 90?15:06
dhx_mdefining ADMINISTRATOR in constant_inc.php solves the issue15:06
dhx_malthough I don't see why commenting out constants in constant_inc.php (which have been defined in custom_constant_inc.php) should cause problems15:07
dhx_mohhh I see15:09
dhx_mlots of hardcoded uses of ADMINISTRATOR :(15:09
nuclear_eclipseyes, unfortunately15:10
dhx_mI'll fix that15:10
dhx_m$g_admin_site_threshold ?15:10
dhx_mthat is the most likely match I've found for an existing configuration option that means "superuser access"15:11
nuclear_eclipseI dunno15:12
dhx_myep seems like it according to manage_overview_page.php:29 that uses this setting for that purpose15:12
dhx_mno other uses of this setting so far15:12
paul_nuclear_eclipse: so15:47
paul_am I pushing branch tonight?15:47
paul_dhx_m: by 'administrator' you mean the code?15:47
dhx_mwell the problem I'm currently fixing is the use of the ADMINISTRATOR constant within the code15:48
nuclear_eclipsepaul_: I have no clue15:48
dhx_mwhen it really should be checking config_get_global( 'admin_site_threshold' )15:48
dhx_min all cases I've seen so far the use of the ADMINISTRATOR constant is on a global site level, hence config_get_global15:48
paul_imo, having an admin_site_threshold is dangerous / pointless15:49
paul_there's some stuff e.g. upgrades that should require an 'admin'15:49
nuclear_eclipsepaul_: the point being that some sites may want to use a different set of user access levels...15:50
dhx_mi see what you're getting at15:50
nuclear_eclipsenot that somebody would want to set admin threshhold to reporter level...15:50
dhx_mADMINISTRATOR is really something that can't be redefined15:50
dhx_mand at the moment it doesn't make sense to have multiple levels of ADMINISTRATOR15:51
paul_you've kinda hit my point between the two of you15:51
paul_if we define an 'admin_site_threshold'15:51
dhx_mwell it already is defined15:51
dhx_mso is manage_site_threshold15:51
paul_I'd be inclined to add a check to our 'admin checks'15:51
paul_that ensures that only admin's can access the admin_site and not reporters15:51
dhx_mwe have user_is_administrator(userid)15:51
paul_out of interest15:51
paul_did I define admin_site_threshold?15:51
dhx_mnot sure, it is only used once15:52
dhx_mI guess there is no real point in having admin_site_threshold15:53
dhx_manyone at that threshold can just change all other thresholds to give themselves access15:53
paul_where's it used atm?15:53
nuclear_eclipselunchtime15:54
nuclear_eclipsecheers15:54
dhx_mmanage_overview_page.php:2915:56
paul_dhx_m: did you review my branch yet? :P16:07
dhx_mnot yet, won't have time until Friday16:08
dhx_m~48hrs16:08
dhx_mbut I will :)16:08
paul_that'll be too late :P16:10
dhx_moh, well I don't mind fixing bugs afterwards :p16:10
dhx_mso would it be ok for me to remove $g_admin_site_threshold?16:16
dhx_mI've fixed the only instance of its use to use access_has_global_level or whatever that function is16:17
dhx_messentially ADMINISTRATOR is treated as "root"16:17
dhx_mand nothing is higher?16:17
dhx_mtherefore there is no need to ever define a threshold, because nothing will be higher?16:18
dhx_mahh actually16:21
dhx_mmaybe it could be useful if you want to have multiple levels of "administrator" for cosmetic reasons16:21
kenguestinteresting: http://code.google.com/p/baetle/16:31
dhx_mindeed16:34
dhx_malthough their current chart seems a little simple16:34
dhx_mRepository and Committing aren't linked for example16:36
kenguestit seems we're now using it in the RSS feed for the pear bug tracker16:36
dhx_mlink?16:37
dhx_mcan't find an RSS icon on their tracker :)16:38
kenguestlooking for one too16:40
phl4kxhola a todos17:29
phl4kxhi all17:29
phl4kxthe TIME when I report a incident is not correct, where I set the time in mantis?17:31
nuclear_eclipsephl4kx: what version of mantis are you using?17:31
phl4kx1.1.817:33
phl4kxthe stable17:34
nuclear_eclipsephl4kx: then you'll need to configure your server to use the appropriate timezone -- mantis just gets the time from the server itself, with no other method of handling it17:34
phl4kxi use apache server17:35
phl4kxI have to change in the PHP.INI or in the HTTPD.CONF?17:38
nuclear_eclipsephl4kx: it's probably not apache/php that you need to change, but the timezone used by the operating system...17:41
phl4kxnuclear_eclipse17:50
phl4kx:D17:50
phl4kxnow is Ok17:50
phl4kxI live in Lima Peru..I change in my PHP.ini17:50
phl4kxdateTimeZone = America/Lima17:50
phl4kxnow is ok :)....thanks17:50
phl4kxcorrect..not dateTimeZone...is TimeZone17:50
dhx_madmin/check.php doesn't work... is that intentional?17:59
dhx_mit includes a missing file: obsolete.php17:59
dhx_mbut more to the point, it is not reading constants :)18:00
nuclear_eclipsedhx_m: yell at paul_18:02
dhx_mok :p18:10
dhx_munder what conditions would config_get return the name of a constant rather than the value of it?18:33
dhx_mthis one has me confused18:34
nuclear_eclipsedhx_m: I can only imagine that something in config_* is set wrong... =\18:35
dhx_mthe odd thing is that18:37
dhx_mconfig_get( 'manage_project_threshold' ) returns the name of the constant18:37
dhx_mand config_get( 'view_configuration_threshold' ) returns the actual integer value18:38
nuclear_eclipseare you sure your local configuration is correct?18:38
dhx_myep might be my code changes, I'm narrowing it down18:39
nuclear_eclipsebtw, Eclipse + PDT + Firefox + Firebug = Fan-freakin-tastic for debugging Mantis18:43
nuclear_eclipseI always use Vim for my editor, but Eclipse has excellent integration with Xdebug/ZendDebugger18:44
dhx_myep I like Firebug too18:47
dhx_mand of course, vim :)18:47
dhx_mecho config_get( 'manage_project_threshold' );18:47
dhx_mreturns the name of the constant18:47
dhx_mgrrr18:47
nuclear_eclipseI seriously wish there was something like ViEmu available for Eclipse18:47
paul_dhx_m: obsolete.php exists18:47
paul_can i merge branch18:48
dhx_mpaul_: ah ok18:48
paul_cool!18:48
nuclear_eclipsepaul_: jfdi18:48
nuclear_eclipseno-one ever said an RC had to be perfectly stable, it just needs to be feature complete, amiright? :P18:49
dhx_mlol18:51
dhx_mI should be careful where I place my "ah ok" comments lol18:51
dhx_mwas referring to obsolete.php :p18:51
dhx_mOHHHHHHHHHHHHHHHH18:53
dhx_mit is custom_constant_inc.php and not custom_constants_inc.php18:54
dhx_mshouldn't it pluralised?18:54
nuclear_eclipseyeah, I just recently figured that out, and it's very confusing18:54
dhx_mok I vote we check for both? :)18:54
dhx_mwith a look to deprecate use of the non pluralised version?18:54
nuclear_eclipse+1 from me...18:55
dhx_mwhat I don't know is where we're keeping a record of things that are deprecated18:55
nuclear_eclipsegood question :P18:56
dhx_mbtw have we always had to enter an upload path when creating a new project?18:57
nuclear_eclipsethe box has been there *at least* in 1.2 for about a year now, but it's not mandatory18:59
dhx_mit was for me...?18:59
nuclear_eclipsemaybe it's only mandatory if you're not storing attachments in the database...19:00
[KK]Kirillnuclear_eclipse: you are using Eclipse?19:01
nuclear_eclipseonly for debugging19:01
[KK]Kirill:(19:01
nuclear_eclipseI'm a Vim guy :P19:01
[KK]Kirill)19:01
[KK]KirillI use vim, but only for quick server edit19:02
[KK]KirillI use your package and sftp for sync19:02
dhx_moh I see the bug... it tries to add a directory separator to the blank upload path19:02
dhx_mand THEN it checks if the upload path is blank (it isn't anymore)19:02
* nuclear_eclipse has been using vim for years, and has it highly customised to do a *lot* of nifty stuff that you can't ever get with standard text editors like what's in Eclipse19:02
nuclear_eclipse[KK]Kirill: I even went so far as to make my own color scheme for Vim because all the light background schemes available are ugly or not useful19:04
[KK]KirillI think too. But I don't have lot of time to config Eclipse.. I config Delphi for dark (classic) theme19:05
paul_nuclear_eclipse: well19:09
paul_wasn't point to get some feedback?19:09
* paul_ is confused19:09
paul_i'm going to eat19:09
paul_just tell me in 10 mintues what I'm doing19:09
dhx_mnuclear_eclipse: I was confused because I saw your recent change to gitignore which removed the ignore for custom_constant_inc.php19:13
nuclear_eclipsedhx_m: yeah, that was mistaken19:15
dhx_mI like it though :)19:15
nuclear_eclipseI'd prefer it that way, for sure19:15
nuclear_eclipseI made the commit because git wasn't ignoring my custom_constants_inc so I assumed the mistake was in .gitignore, not in how I nomed my file =\19:16
nuclear_eclipsethen I later realized that I was wrong on both counts, and never got around to fixing my "fix"... :(19:16
CIA-61Mantisbt: hickseydr * r1317d03ba014 /core/project_api.php: Make project upload path non-optional again19:19
dhx_mthat should fix it19:19
dhx_m:)19:19
nuclear_eclipseyour commit disagrees with your summary... ;)19:23
dhx_mlol19:31
dhx_mgood point19:31
dhx_mfixed19:33
dhx_mor not19:33
nuclear_eclipsenope, don't fix it19:33
dhx_mdoesn't like git commit --amend19:33
dhx_mok19:33
nuclear_eclipsefixing the summary would rewrite history, which would break anything that's already pulled from master since you made your commit19:34
dhx_myep good point19:34
nuclear_eclipsegenerally, rewriting commit history is perfectly fine if it's private history that you're touching -- once it's public, you shouldn't be changing it ever, because it will cause a *lot* of headaches19:35
dhx_myep19:35
nuclear_eclipsewe went through that once already when we ripped out the rpxnow stuff from master branch and force pushed the new master branch, and it caused way too many problems -- anyone following master had to reset/rebase onto the new history, and any branches based on it, etc19:38
dhx_mugly19:42
nuclear_eclipseyep19:42
paul_so19:44
paul_am I fixing19:44
* paul_ pokes nuclear_eclipse hard19:45
nuclear_eclipsepaul_: just commit it; I'm sick of pushing off the release19:45
paul_yay19:45
paul_I think i'll copy my working dir first19:45
nuclear_eclipseif noone wants to respond, then they can't complain :P19:45
paul_yea19:46
dhx_m:)19:46
nuclear_eclipsepaul_: just branch from your current point to handle the merge19:46
CIA-61Mantisbt: hickseydr * r1ae2c4fb0870 / (.gitignore core.php): Rename custom_constant_inc to custom_constants_inc19:46
dhx_mwait for me to break some stuff first please :p19:46
paul_they've had no19:46
paul_dhx_m: want to die?19:46
Reapazor2so heres a fun little factoid ... iwas running last nights build :) just copied over the most recent git version19:46
dhx_mlol19:46
Reapazor2and all i get ... is a white screen :)19:46
Reapazor2working on pulling some logs :)19:46
dhx_minteresting... I just reinstalled the latest git trunk with no problems19:47
Reapazor2serves me right :)19:47
paul_nuclear_eclipse: I agree - it's been 76423 seconds since I sent mail19:48
paul_nuclear_eclipse: that's a large number19:48
nuclear_eclipselol19:48
dhx_mhaha19:48
paul_so erm19:48
paul_when you say19:48
paul_branch from my current point19:48
paul_what19:48
nuclear_eclipseit's been 12345670000000000 picoseconds since you last complained, therefore you *never* complain, amiright?19:48
nuclear_eclipse`git checkout -b <new_branch_name>`19:49
dhx_mdoes anyone want to review my changes to remove hardcoded uses of the ADMINISTRATOR constant?19:49
nuclear_eclipsedhx_m: pop it on mantisforge, I'll try to get to it today or tomorrow before I roll the release19:49
paul_nuclear_eclipse: i've complained in the last 3.4 hours19:49
dhx_mnuclear_eclipse: great :)19:49
Reapazor2tis dying in the core init :)19:49
Reapazor2---still digging :D19:50
paul_nuclear_eclipse: then what19:50
nuclear_eclipseReapazor2: good luck ;)19:50
dhx_mnuclear_eclipse: I'll put it in a 'dhx-staging' branch on the official tracker for you?19:50
paul_no19:50
paul_on mantisforge19:50
nuclear_eclipsepaul_: then do `git merge master` and fix the conflicts, then do `git add` on all conflicted files, and then `git commit` to finish the merge19:50
dhx_mok19:50
paul_wait19:51
paul_atm, i have stuff in a branch19:51
paul_am i making new master19:51
paul_then pulling?19:51
Reapazor2and we find out it doesntlike my config file :)19:52
nuclear_eclipsepaul_: you're making a non-master branch with your latest development stuff, then you're updating your master branch to be identical to upstream (origin/master), then pulling that into your topic branch as a merge to put it all together19:52
paul_I have my development stuff in a non-master branch19:52
dhx_mI have my changes applied to the master branch (not committed yet) and would like to move those working changes to a new branch... is there an easy way?19:53
nuclear_eclipsepaul_: right, by making the second branch, you can pull master in, and if you bork the merge, you still have the old branch untouched19:53
paul_i've made a second branch19:53
paul_tried doing git fetch19:53
paul_and git rebase origin/master19:53
paul_and get errors19:53
nuclear_eclipsedhx_m: `git co -b <new branch>; git co master; git reset --hard origin/master`19:53
nuclear_eclipsepaul_: what error?19:54
paul_CONFLICT (content): Merge conflict in core/relationship_api.php19:54
dhx_mnuclear_eclipse: thanks19:54
paul_but surely19:54
paul_it shouldn't be merging yet19:54
nuclear_eclipsepaul_: so fix the conflict, `git add` the file when you're done, and then do `git rebase --continue`19:55
paul_hang on19:55
paul_i've aborted that merge19:55
paul_let me rebase master19:55
nuclear_eclipseit should be the same result19:55
paul_$ git rebase origin/master19:55
paul_It seems that I cannot create a rebase-apply directory, and19:55
paul_I wonder if you are in the middle of patch application or another19:55
paul_rebase.  If that is not the case, please rm -fr c:/mantis/git/mantisbt/.git/rebase-apply19:55
paul_hmm19:55
nuclear_eclipsedo `git rebase --abort`19:55
paul_'master' branch is now up to date19:56
paul_I have my code in 'branch'19:56
paul_so now when in master19:56
paul_I do git merge branch ?19:56
nuclear_eclipseyeah, that will work too19:56
paul_then fix conflicts?19:59
dhx_mnuclear_eclipse: pushed it to mantisforge :)20:00
Reapazor2classy :) i didnt notice the escape sequence in the smtp password string :) serves me right ...100characters long20:01
paul_GRRRRRRRRRRRR20:01
dhx_mdid I break something? :p20:01
nuclear_eclipseno, paul just has no clue how to merge anything :P20:02
paul_i think i'll cheat20:02
nuclear_eclipseuh oh20:02
nuclear_eclipsepaul_: I'd rather handle the merge for you than do any "cheating"20:02
paul_it'll be fine!20:02
nuclear_eclipsedepends on what "cheating" you're doing...20:03
Reapazor2famous last words : it'll be fine!20:03
paul_it'll be fine20:05
dhx_mis now a really bad time to commit a very minor documentation update?20:05
nuclear_eclipselol20:06
dhx_mcustom_constant_inc => custom_constants_inc20:06
paul_dhx_m: YES20:06
dhx_mah it's just 4 bytes added to one doc file :p20:06
* paul_ finds axe20:06
dhx_mI'll take my chances :p20:07
dhx_mbtw it won't break your stuff ;)20:07
CIA-61Mantisbt: hickseydr * rba06d06ad6cf /docbook/adminguide/en/customizing_mantis.sgml: Docbook updates for rename of custom_constant_inc20:07
paul_yea ok20:07
paul_i've not changed manual to .xml yet :p20:08
dhx_mI didn't think so :p20:08
dhx_myou didn't stike me as someone who reads and writes manuals :p20:08
paul_well, I can't find an editor that'll open .sgml and deal with closing tags etc20:09
paul_as they either require .xml20:09
paul_or whinge about the format of the existing stuff20:09
nuclear_eclipseno, he just complains about it constantly that he "can't" edit it because he doesn't want to write SGML by hand20:09
dhx_myep20:09
dhx_mnuclear_eclipse: I take it you're an admin at mantisbt.org... can you see the wiki docs OK? (if so... bug 6354 can be closed)20:12
mantisbotBug 6354 - mstolar - open - acknowledged20:12
mantisbotproject documentatnion not visible for manager and administrator - http://www.mantisbt.org/bugs/view.php?id=635420:12
nuclear_eclipsethat's not talking about the wiki20:13
dhx_mah ok20:13
dhx_mit's so old that terminology has most likely changed since20:14
nuclear_eclipselast I knew we were wanting to pull the docs feature into a non-core plugin...20:14
nuclear_eclipsebut I doubt that will happen anytime soon...20:14
dhx_m:)20:14
dhx_mthe other thing I noticed is that developer access on mantisbt.org doesn't let you link commits to bug IDs?20:16
nuclear_eclipsehmm, that's actually an unexpected consequence of how I designed the feature... :P20:18
nuclear_eclipseit checks the user's global access level, not their project levels20:18
dhx_mah I see :)20:18
nuclear_eclipseand in your case, I only gave you dev access to the project itself, and left your global access as reporter20:19
dhx_myep, makes sense now :)20:19
nuclear_eclipseI'll just up your global access20:19
nuclear_eclipsedone20:19
dhx_mok I'll try it out, thanks20:20
dhx_mbtw do I use "Fixes #12345" in commit messages to auto link?20:28
nuclear_eclipseas long as it matches this regex:20:29
nuclear_eclipse/(?:bugs?|issues?|reports?|fixe?s?)+\s+(?:#?(?:\d+)[,\.\s]*)+/i20:29
paul_AKJFDSAJKFLDSAJKF20:29
dhx_mok thanks :)20:30
[KK]Kirilldhx_m: where fix for gitignore? ;)20:35
dhx_m[KK]Kirill: sorry?20:36
dhx_m[KK]Kirill: I don't quite understand :)20:36
[KK]Kirilloh. It's I'm sorry20:36
[KK]KirillI don't understand diff20:36
[KK]KirillAll right20:36
[KK]Kirillbrr20:37
[KK]KirillI don't understand20:37
[KK]Kirill3 custom_constants_inc.php20:37
[KK]Kirill9 custom_constant_inc.php20:37
[KK]Kirill?20:37
[KK]KirillHow file mast named?20:38
[KK]Kirillmust*20:38
[KK]Kirillsiebrand: lo20:39
[KK]Kirillcan you push last translate?20:39
dhx_mcall it custom_constants_inc.php20:42
dhx_myou *could* maintain the custom_constant_inc.php name until 1.3 though20:42
[KK]Kirilloh.. I forgot this..20:43
dhx_mit is essentially a deprecation happening, so during this time you can use either the old or new approach20:43
dhx_mto give you time to upgrade :)20:43
paul_DHXXXXXXXXXXXXXXXXXXXXXX20:44
[KK]KirillI more time use last git and forgot what be in stable branch20:44
[KK]Kirillpaul_: where you push?20:44
[KK]Kirillwith new evens20:44
dhx_mpaul_: what? :p20:44
paul_wat's happened ;/20:45
dhx_mwhere?20:45
[KK]Kirillpaul_: nothing. and this bad20:46
[KK]Kirill:)20:46
paul_john ;(20:47
phl4kxI Love mantis :D20:47
paul_maybe I typed the wrong command20:47
paul_let me just try git push and see if it works20:47
* paul_ wonders if git push master would work20:48
paul_dhx_m: whats a refspec? :)20:50
dhx_mthis is going to be fun :p20:50
paul_well20:51
paul_tyour docbook updates commit20:51
paul_looks strange20:51
dhx_mhttp://blog.endpoint.com/2008/07/git-push-know-your-refspecs.html20:51
paul_right20:52
dhx_m?20:52
paul_so just git push master?20:52
dhx_mgit push origin master20:52
dhx_mif you want to be more paranoid :)20:52
paul_error20:52
paul_let me try git push master on it's own20:53
paul_ok20:53
paul_it's doing something20:53
dhx_m:)20:53
CIA-61Mantisbt: paul * reba305694fcf /core/ (bugnote_api.php email_api.php relationship_api.php): Adjust how we cache loaded bugnotes20:54
CIA-61Mantisbt: paul * rb39854a24240 /core/classes/MantisEnum.class.php: is_blank()20:54
CIA-61Mantisbt: paul * r97b67e4bbb2f / (23 files in 4 dirs): Changes to bug object20:54
CIA-61Mantisbt: paul * rb47f9245291c / (9 files in 3 dirs): split->explode20:54
paul_warning: too many files, skipping inexact rename detection20:54
CIA-61Mantisbt: paul * r172c77f1de21 /core/ (16 files): Whitespace found at end of line20:54
paul_what does that mean20:54
dhx_mhah wait for it :)20:54
CIA-61Mantisbt: paul * r0f47458541f7 /core/utility_api.php: Whitespace found at end of line20:54
CIA-61Mantisbt: paul * rdb5eb5ef8323 /library/adodb/drivers/ (21 files): fix php5.3 deprecation warnings in php5.3 - reported upstream.20:54
CIA-61Mantisbt: paul * r745719001c89 / (admin/check.php core/constant_inc.php): Add WARN to constant_inc.20:54
CIA-61Mantisbt: paul * ra7449b0d03bc /core/ (authentication_api.php file_api.php): md5 hashes are 32chars so no need to substr20:54
dhx_mthis will be PAGES :p20:54
CIA-61Mantisbt: paul * r9e256cc99d29 / (6 files in 4 dirs): Move projax into library dirs20:54
CIA-61Mantisbt: paul * r3fedeedd034d /tag_view_page.php: remove extra html tag20:54
paul_:P20:54
CIA-61Mantisbt: paul * r7b2c3817ad98 / (8 files in 2 dirs): php codesniffer validation fixes20:54
CIA-61Mantisbt: paul * r4dd10795c716 /core/tag_api.php: html validation20:54
CIA-61Mantisbt: paul * r96635571acfe /core/utility_api.php: php5.3 support - remove use of spliti20:54
CIA-61Mantisbt: paul * r19ab0cd8c3c3 / (9 files in 3 dirs): more db_query_bound updates20:54
CIA-61Mantisbt: paul * r2b38a584ef8a / (50 files in 13 dirs): misc tidy up - add a readme_mantis.txt for changes in each library (this is the approach moodle use)20:54
paul_i'd still like to know what warning: too many files, skipping inexact rename detection means :)20:54
CIA-61Mantisbt: paul * r442c7fa73aa9 /library/ezc/ (150 files in 24 dirs): Add library for graphs20:54
CIA-61Mantisbt: paul * r157048eb5318 / (14 files in 8 dirs): Update graph plugin.20:54
CIA-61Mantisbt: paul * r27213a2080fe / (7 files in 3 dirs): Misc. fixes for my bugobjects/duedate work20:54
CIA-61Mantisbt: paul * r4ef6665da5fb /core/html_api.php: check if empty20:54
CIA-61Mantisbt: paul * rf496f44b662d / (4 files in 3 dirs): Validate email on windows also.20:54
CIA-61Mantisbt: paul * rde3b3035ce36 /core/ (email_api.php user_pref_api.php): Fixes towards Issue #000856120:54
CIA-61Mantisbt: paul * rc72a2e88b91f /core/graphviz_api.php: PHPdoc for graphviz_api20:54
CIA-61Mantisbt: paul * rc83691f745f5 /core/filter_api.php: Filter api should just call utf8_strlen20:54
CIA-61Mantisbt: paul * r25595427939c /library/README.libs: update readme.libs20:55
CIA-61Mantisbt: paul * r42fc9d877638 /admin/test_langs.php: If include()ing language file returns data, display data to aid fixing20:55
CIA-61Mantisbt: paul * rc6080232b85c /core/ (6 files): db_query_bound changes20:55
CIA-61Mantisbt: paul * rdb05f6a95405 / (19 files in 7 dirs): Update gitignore to exclude jpgraph/FirePHPCore library20:55
CIA-61Mantisbt: paul * r8921e1f5cf15 /core/string_api.php: php codesniffer validation fixes20:55
CIA-61Mantisbt: paul * r748d601afe73 /docbook/adminguide/en/customizing_mantis.sgml: Merge branch 'master' of git@mantisbt.org:mantisbt20:55
* paul_ goes to get a drink ;/20:55
dhx_mlol20:55
CIA-61Mantisbt: paul * r68f34164347a / (63 files in 14 dirs): Support use of compressed jscript files. raw files go into javascript/dev, minimised files go into javascript/min20:55
CIA-61Mantisbt: paul * rac5f3072035a /admin/test_langs.php: update test_langs.php20:55
CIA-61Mantisbt: paul * r5e12dc69bf80 /core/email_api.php: Reduce number of database calls with large emails: Issue #0008561: THIS INSTALLATION: timeout on adding bugnote to issue428620:55
dhx_msee you in 10 minutes once the spam stops?20:55
CIA-61Mantisbt: paul * r632d590ea8df /core/string_api.php: Fix string_prepare_header20:55
CIA-61Mantisbt: paul * rba1949ee7c4e / (admin/email_queue.php core/email_api.php): 1) Add ability to clear email queue to admin/email_queue20:55
CIA-61Mantisbt: paul * r112d3c6ab2e5 / (core/date_api.php css/calendar-blue.css): move calendar css to /css20:55
CIA-61Mantisbt: paul * rde8cb41d009a /core/freemind_api.php: Remove freemind API - no need to phpdoc this - the functionality moved to a plugin20:55
CIA-61Mantisbt: paul * r0bbee26ac331 /core/ (html_api.php print_api.php): stop_on_errors is a global only configuration20:55
CIA-61Mantisbt: paul * r8a555e2c8097 /core/print_api.php: only cache project id's that user has accessible20:55
CIA-61Mantisbt: paul * rb34c2d3d5673 /core/error_api.php: oops20:55
CIA-61Mantisbt: paul * r0d17ca917494 / (54 files in 6 dirs): graphplugin (in progress)20:56
CIA-61Mantisbt: paul * re52d1a9aa3ae / (6 files in 2 dirs): split->explode, remove eregi20:56
CIA-61Mantisbt: paul * r4dcf7534bd18 /plugins/XmlImportExport/pages/ (import.php import_action.php): Fix: 0010585: string not found manage_import_issues_link20:56
CIA-61Mantisbt: paul * raa618485eaa3 /core/email_api.php: PHPmailer should throw exceptions + catch exception adding email addresses.20:56
nuclear_eclipsepaul_: it means that Git is not even trying to look through all the changed content looking for implicit renames -- it would take too long -- so it's just ignoring that step of the process20:56
CIA-61Mantisbt: paul * rb4cc29dcc07b /manage_tags_page.php: Fix php undefined variable warnings20:56
CIA-61Mantisbt: paul * r385f071ebd40 /core/email_api.php: PHPDoc email api20:56
CIA-61Mantisbt: paul * r166250e5b959 /core/ (44 files in 2 dirs): PHPdoc changes20:56
CIA-61Mantisbt: paul * re4fad0e09934 /core/ (33 files in 2 dirs): Php codesniffer formatting changes20:56
CIA-61Mantisbt: paul * r41a4ea5dcccc /admin/test_langs.php: Update test_langs to detect strings that are no longer defined in english, defined in translations20:56
CIA-61Mantisbt: paul * ra5bf55de3485 / (10 files in 2 dirs): merge20:56
CIA-61Mantisbt: paul * r08f36d719ae5 / (459 files in 69 dirs): Merge branch 'graph'20:56
CIA-61Mantisbt: paul * ra07e32d369dd /library/utf8/ (60 files in 8 dirs): add readme_mantis.txt to utf8 lib + tidy up20:56
CIA-61Mantisbt: paul * radfb2d24630f / (7 files in 4 dirs): Remove db_prepare_string from db_query_bound calls20:56
dhx_mnice work haha20:56
dhx_mthat was huge20:56
dhx_minstant front page @ cia.vc? :)20:57
paul_lol20:57
dhx_myou're currently 3rd20:57
paul_920:57
dhx_mhttp://cia.vc/stats/author/paul20:58
* paul_ spell checks mantis source20:58
dhx_mlol20:58
dhx_mlet's see if it still works :)20:59
* nuclear_eclipse is afraid to pull atm...20:59
paul_now21:00
paul_I want to fix sponsorship api21:00
nuclear_eclipsepaul_: in the future, please keep your commit queue a) broken up into smaller topic branches, and b) not gigantic to the point where no-one wants to review or have a "big-bang" type of merge...21:01
[KK]Kirillnice.. I think CIA go down after take this informations :)21:01
paul_nuclear_eclipse: Id o :)21:01
paul_bugobjects was a small topic branch :P21:01
paul_as was graphs :P21:01
paul_I just started merging them together to push then got told not to21:02
nuclear_eclipsepaul_: they should have stayed small topic branches then until you had gotten the OK to merge them to master...21:02
dhx_mnuclear_eclipse: so if a project file upload path is left blank and no default is specified in config_inc, are attachments stored in the database instead?21:02
paul_and family were on holiday at weekend21:02
paul_nuclear_eclipse: I did get the 'ok' :)21:02
paul_then 24 hours later got told 'wait'21:02
paul_so carried did stuff whilst waiting ;p21:02
nuclear_eclipsedhx_m: no, there's an explicit option to store them as files or in the db21:02
dhx_mnuclear_eclipse: ok thanks, that's all I needed to know :)21:03
nuclear_eclipseif storing as files and no project path added, I dunno21:03
paul_now to find 9 things to fix21:04
nuclear_eclipse9 ?21:04
paul_yep21:04
* nuclear_eclipse cries21:04
paul_?21:05
paul_nuclear_eclipse: what have i broken? ;/21:06
nuclear_eclipseI don't know yet, but the fact that you're *looking* for nine things to fix just makes me want to cry for the stability of this release....21:06
paul_it should be fine ;p21:06
paul_hopefully ;p21:07
nuclear_eclipsepaul_: two things -- a) bug 10565 is fixed now?  b) are you ever going to finish timezone stuff?21:08
mantisbotBug 10565 - jreese - open - assigned21:08
mantisbotUser input date strings are munged with new schema - http://www.mantisbt.org/bugs/view.php?id=1056521:08
paul_I think A - yes21:09
paul_B - remind what what's left to do?21:09
* paul_ needs to update notepad21:09
nuclear_eclipseactually handle the user's timezone prefs21:09
paul_in terms of display or?21:10
paul_I know off hand I was looking at email last21:10
nuclear_eclipseand then everywhere that we output a date, localize the date to the user's timezone, and convert from the user's timezone whenever taking user input21:10
paul_dates *should* be localised already21:10
mantisbotNew bug: Bug 10595 - jreese - open - assigned21:13
mantisbotNew bug: Allow plugins to define and add new filters - http://www.mantisbt.org/bugs/view.php?id=1059521:13
CIA-61Mantisbt: hickseydr * r7871f6cf2b94 / (manage_proj_create.php manage_proj_create_page.php): Show default upload path when creating project21:14
nuclear_eclipsetime to head home21:16
nuclear_eclipsecheers all21:16
dhx_mthanks for all the help :)21:17
dhx_mI'm off too21:17
dhx_mcya!21:17
dhx_mpaul_: user_pref_api.php:133 and 144 are screwed ;)21:29
dhx_mpaul_: missing entry in $g_default_mapping21:31
dhx_mpaul_: I'll work out which one21:31
paul_hmm/21:33
dhx_mpaul_: when $p_string is null you're checking a config option with a null name21:34
paul_no, if the result is null21:34
dhx_mpaul_: I'm not sure what you were trying to do there :)21:34
paul_that's old code21:35
paul_but21:35
paul_if( is_null( $this->{$p_string} ) ) {21:35
paul_i.e.21:35
paul_if the value stored in class is still null21:35
paul_i.e. hasn't been set21:35
dhx_mah in that case something must be calling __get/Get with a null argument21:35
paul_well you can't call __get with null can you? ;/21:36
CIA-61Mantisbt: paul * re80c06caa6c0 /core/sponsorship_api.php: Fixes towards issue #000856121:36
CIA-61Mantisbt: paul * r79f5bc2b87f6 / (manage_proj_create.php manage_proj_create_page.php): Merge branch 'master' of git@mantisbt.org:mantisbt21:36
dhx_mpaul_: you can call it with a blank string21:36
paul_Get() yes21:36
dhx_mwell I'll do a backtrace to find it21:37
dhx_m#0  config_get_global(, ) called at [/var/www/localhost/htdocs/mantis-git/core/config_api.php:167]21:38
dhx_m#1  config_get(, , 1, 0) called at [/var/www/localhost/htdocs/mantis-git/core/user_pref_api.php:133]21:38
dhx_m#2  UserPreferences->__get() called at [/var/www/localhost/htdocs/mantis-git/core/user_pref_api.php:135]21:38
dhx_m#3  UserPreferences->__get(language) called at [/var/www/localhost/htdocs/mantis-git/core/user_pref_api.php:488]21:38
dhx_m#4  user_pref_get_language(1) called at [/var/www/localhost/htdocs/mantis-git/core/lang_api.php:104]21:38
dhx_m#5  lang_get_default() called at [/var/www/localhost/htdocs/mantis-git/core/error_api.php:83]21:38
paul_when'd you generate that21:39
dhx_muser_pref_api.php:488 should be $t_lang = $t_prefs->Get( 'language' );21:42
dhx_m?21:42
paul_no doesn't matter21:43
paul_or shouldn't21:43
paul___get gets called21:43
dhx_mwell what is ->language21:43
dhx_mlanguage = function?21:43
paul___get('language');21:43
dhx_mbut it is just $t_prefs->language21:44
paul_i.e. 4 chars or something shorter then ->Get('language');21:44
paul___get is a special overloaded function thingy in php21:44
paul_hence the backtrace21:44
dhx_mthe bug is fixed when I change it to Get(..)21:44
paul_i.e. 2/3/21:44
dhx_mthe backtrace came from just before config_api.php:18721:45
paul_from doing what21:45
dhx_mgoing to the main page of my test bug tracker after your big merge :)21:45
dhx_mI notice that you use Get() at user_pref_api.php:474 as well21:46
dhx_mand in every other place, it seems to just use the direct $t_prefs->$t_pref_name approach21:47
paul_it should be irrelevant which we use21:47
dhx_mwell the backtrace shows that config_get is being called with the first two arguments being null21:48
dhx_mand that matches the error messages I'm seeing at config_api.php:18721:49
dhx_mnot too sure why21:49
* paul_ just sighs21:55
dhx_mI'm not too familiar with OO PHP21:56
dhx_ma backtrace within __get returns:21:56
dhx_m#0  UserPreferences->__get(language) called at [/var/www/localhost/htdocs/mantis-git/core/user_pref_api.php:489]21:56
dhx_m#1  user_pref_get_language(1) called at [/var/www/localhost/htdocs/mantis-git/core/lang_api.php:104]21:57
dhx_m#2  lang_get_default() called at [/var/www/localhost/htdocs/mantis-git/core/error_api.php:83]21:57
dhx_mechoing the argument to __get returns null21:57
paul_globals dont work in the auto type functions22:02
dhx_mnot too sure what that means :)22:04
dhx_maccount_prefs_page.php generates a ton of the same errors22:05
dhx_mis it ok for you?22:05
dhx_mmaybe this is a PHP 5.3 thing where I use PHP 5.2.9?22:06
paul_I think i've fixed it22:07
dhx_mI'll test for you if needed :)22:09
paul_there22:11
CIA-61Mantisbt: paul * r2f4565846186 /core/user_pref_api.php: Fix: global variables can't be used within overloaded functions22:11
CIA-61Mantisbt: hickseydr * r229a6848f6eb / (bug_stick.php core/html_api.php lang/strings_english.txt): Add Stick/Unstick button to html_buttons_view_bug_page22:15
CIA-61Mantisbt: hickseydr * re55c7c8c0ddd / (512 files in 27 dirs): Merge branch 'master' into 1026822:15
dhx_mthat fixed it, thanks :)22:16
CIA-61Mantisbt: hickseydr * rd7d911b0a3af /bug_stick.php: Remove trailing white space22:16
CIA-61Mantisbt: hickseydr * r1a96b94b7d5d /bug_stick.php: No need to specify core path anymore22:16
CIA-61Mantisbt: hickseydr * r8a246a481e6b / (bug_stick.php core/html_api.php lang/strings_english.txt): Merge branch '10268'22:16
CIA-61Mantisbt: hickseydr * rcf7e430979a3 /core/user_pref_api.php: Merge branch 'master' of git@mantisbt.org:mantisbt22:16
paul_wow22:16
paul_bugstick?22:16
dhx_muh 512 files?!22:16
dhx_msomething went wrong22:16
dhx_mor maybe that is ok22:17
paul_yep22:17
dhx_mjust looks scary :)22:17
dhx_mit'd probably be better to rebase those small branches instead22:18
* paul_ thinking about bugstick22:18
paul_anyway22:18
dhx_mthat's a new stick/unstick button22:18
dhx_mnext to monitor/unmonitor22:18
paul_yea22:18
paul_i'm thinking bout that :P22:18
paul_incidently22:18
paul_# helper_ensure_post();22:19
* paul_ tuts22:19
paul_pls commit fixed code :P22:19
dhx_mit is a direct copy of bug_monitor.php22:19
dhx_mnot sure whether it is safe to remove that22:20
dhx_mif so, it needs to be done in both files :)22:20
dhx_mit was victor's fault :p22:20
paul_we're supposed to be using some new api :P22:20
dhx_mso are there upgrades to make to use your new API?22:21
paul_not my new api22:21
paul_:P22:22
dhx_m:)22:26
* paul_ carries on testing utf8 api's22:33
dhx_mwe should really replace images/* with new icons22:35
dhx_ma lot of those icons aren't free22:35
paul_I was thinking of moving to png22:35
dhx_mand they're all .gif! :o22:35
dhx_myep22:35
dhx_mI guess we don't currently use mime types for file uploads22:36
mantisbotNew bug: Bug 10596 - jreese - open - assigned22:54
mantisbotNew bug: Allow plugins to define new column typess - http://www.mantisbt.org/bugs/view.php?id=1059622:54
mantisbotNew bug: Bug 10597 - dhx - open - assigned22:54
mantisbotNew bug: Remove hardcoded use of ADMINISTRATOR constant - http://www.mantisbt.org/bugs/view.php?id=1059722:54
mantisbotNew bug: Bug 10598 - dhx - open - assigned22:59
mantisbotNew bug: Shorten HTML button strings shown when viewing/updating a bug - http://www.mantisbt.org/bugs/view.php?id=1059822:59

Generated by irclog2html.py