Monday, 2009-12-21

../irclogs/#mantishelp.2009-12-21.log
--- scribe started ---00:00
nexact_hey all, is there any existing theme for mantis ?00:17
dhx_mhey00:21
dhx_mwell you can play with CSS to change colours ,etc00:21
dhx_msomeone made a theme a little while ago (search for bugs related to that topic and you should find it)00:21
dhx_mbut it is still quite similar to the default Mantis look00:21
dhx_mand isn't very polished IMO00:22
nexact_mkay, thanks ;}00:22
nexact_is it possible to modify and/or remove some criteria when creating a new report ?00:22
dhx_mnexact_: yes, in 1.2.x00:23
nexact_ex: in my context, its not necessary to specify the Platform so i'd like to remove it00:23
nexact_okay, great, is it something complex ?00:23
dhx_mnexact_: check config_defaults_inc.php for options to disable those sorts of fields from being used00:23
dhx_mnexact_: nah, it's simple on/off sort of stuff... documented in config_defaults_inc.php00:24
dhx_mbut only for 1.2.x, not 1.1.x00:24
nexact_awesome00:25
nexact_another question, i think the answer is yes but, is it possible to automatically send an email with ticket info to the person i've assigned when i created my ticket ?00:27
dhx_myeah there is a notification setting in config_defaults_inc.php00:38
dhx_mhmmm actually maybe not00:38
dhx_myou'd have to send it to all users of a particular access level or higher afaik00:38
nexact_mkay00:45
nexact_mm, i've modified $g_project_status_enum_string to have different status but it's not reflecting any changes in http://localhost/manage_proj_create_page.php00:48
dhx_myou tried adding a new status?00:53
dhx_mthere is more to it than changing just that setting00:53
dhx_mcheck the user docs00:53
nexact_dhx_m, i think there's a bug...02:09
nexact_k nvm02:10
dhx_mok02:11
kirillkaHi all07:49
kirillkapaul__: around?07:49
kirillkagiallu_: mo07:54
kirillkagiallu_: did you receive my mail in mantisbt-dev maillist?07:55
giallu_kirillka, about LDP?08:01
giallu_LDAP08:01
kirillkagiallu: yes. Ok. I don't receive.08:02
gialluwhen you have doubts, check archives :)08:03
gialluso, another great commit...08:03
dhx_mwhy \x00 and \00....08:32
kirillkadhx_m: lo08:32
dhx_mkirillka: hey08:32
kirillkadhx_m: I don't kow :)08:32
kirillkaknow08:32
dhx_mohh08:33
dhx_mLDAP must treat \12 as 0x1208:33
dhx_mso we're converting from say 0x00 to \00 for LDAP, as it doesn't accept the real null character08:33
dhx_mmind you, I don't use LDAP so don't know much about it/don't care :p08:34
CIA-27Mantisbt: s.mazeland * r1b21ad18f278 / (37 files in 2 dirs): Localisation update from translatewiki.net (2009-12-21)08:54
paul__dhx_m: it should be $p_string not $t_string08:55
paul__anyway08:55
dhx_moh yeah08:56
paul__I spotted that ~4 minutes after the commit08:56
paul__on saturday08:56
paul__or friday or whenver08:57
paul__you know we were talking about columns the other day?08:58
dhx_myep08:58
paul__I also spotted our current column implementation for editing is somewhat broken08:58
paul__we call config_Get with project/user params the wrong way around08:59
paul__In LDAP filters these 5 characters should be escaped with the backslash escape character, following by the two digit ASCII hex representation of the character. The following table documents this:09:01
paul__* \2A09:01
paul__( \2809:02
paul__first hit on google for 'ldap escape'09:02
paul__) \2909:02
paul__\ \5C09:02
paul__NUL \0009:02
CIA-27Mantisbt: hickseydr * r4491908ade49 /core/ldap_api.php: Fix typo in ldap_escape_string that broke LDAP auth09:03
* paul__ hopes git is good with merges ;p09:03
dhx_mgit :)09:06
CIA-27Mantisbt: paul master-1.2.x * ref44819f5a10 /core/ldap_api.php: Update ldap_escape_string function to escape / and \x0009:06
dhx_mnice commit :p09:06
paul__still not that sure what to do about ldap api ;/09:10
dhx_mneither ;)09:13
CIA-27Mantisbt: hickseydr master-1.2.x * r39ea07ffe49b /library/ (317 files in 41 dirs): Revert "Update libraries to match those of 1.3.x branch"09:13
CIA-27Mantisbt: hickseydr master-1.2.x * r0cf2a36fad03 /library/ (244 files in 32 dirs): Resync libraries to versions used in the 1.3.x branch09:13
paul__there's 2 reasons I can't use it at work in it's current state (ignoring my own patches/additions that should be merged back in)09:14
paul__1) it stores md5 hash of password09:14
paul__2) it auto creates users09:14
paul__and there's no config option for either09:15
paul__and I don't particularly want to add a config option as the config option would be deprecated as soon as we make auth plugins09:15
dhx_mwell there has been some discussion on the ML/wiki about a new group/auth system09:19
paul__groups are kinda seperate09:22
paul__to auth plugins09:22
paul__iirc, even you said this09:22
dhx_mwell the problem was that if you want groups and LDAP at once09:22
dhx_mbut yeah, that's more access control I would have thought09:23
CIA-27Mantisbt: jreese master-1.2.x * r7fdb964b2b3b /core/filter_api.php: Fix edge cases with search terms15:23
CIA-27Mantisbt: jreese * rbd9fa3cff991 /core/filter_api.php: Fix edge cases with search terms15:23
paul__nice15:34
paul__nuclear_eclipse: dhx sync'd libs this morning15:35
paul__I need to learn how to use git more ;/15:35
nuclear_eclipseI noticed15:35
paul__it was giving me strange errors when i tried to cherry pick them15:35
nuclear_eclipseprobably was giving conflicts15:35
nuclear_eclipsecherry-pick in git is just a simple "try to apply commit as patch on top of existing code"15:36
paul__right15:36
paul__which should have worked15:36
paul__as I tried to pick the post-revert patches of the libs15:36
nuclear_eclipseah15:37
nuclear_eclipsewho knows15:37
paul__so in theory should have been the original15:37
paul__anyway15:37
paul__pls read through the ldap discussion if you haven't15:37
nuclear_eclipseI did15:38
paul__initial thoughts? would you agree we've got the current (new) behaviour slightly wrong?15:39
nuclear_eclipseI have no clue -- ldap is really beyond most of my understanding, and I tend to not have the time/energy to figure it all out15:39
paul__the way I see it is...15:40
paul__most popular ldap is probably MS Active Directory15:40
paul__you'd have a domain with 2-3+ domain controllers15:40
paul__in theory, only time ldap auth should fail is if 3 dc's are down15:41
nuclear_eclipseright, we should def support AD  in some format, be it as a separate selection from ldap, or as a config option to the current ldap support15:41
paul__if your domain controllers are all down15:41
nuclear_eclipseyou're pretty hosed anyways :P15:41
paul__you'd probably not have dns/ad etc15:41
paul__so we dont really need an md5 pass fallback15:41
paul__therefore storing md5 fallback ==>15:41
nuclear_eclipsethat I could pretty much agree with15:41
paul__a) potential security risk as the md5 hash might be less secure then how AD stores data15:42
paul__b) possible redundancy/desync issues15:42
nuclear_eclipsedepends on whether AD uses NTLANMAN :P15:42
paul__I'm also then thinking:15:42
paul__if we consider plugins'15:42
paul__you might want a situation where you have15:42
paul__MD5 for some users, LDAP for others15:42
paul__i.e. 'try ldap auth, then try md5'15:43
paul__and potentially want to allow different passwords or whatever15:43
nuclear_eclipseyeah15:43
nuclear_eclipsethat's starts to get into really complicated setups15:43
paul__I think it's probably 'ok' to sync realname15:43
paul__(although, it's possible that realname in AD could be longer then what mantis allows15:44
paul__so therefore you might not want to sync but allow people to override the realname15:44
paul__and in addition, we now auto create users by default15:45
paul__in my case, where I work in a school - staff have logons, students dont15:45
paul__so I we need some params for the auto creation15:46
paul__(incidently, auto creation fails if a user in ldap doesn't have an email address set, and stores the md5(pass) again)15:46
paul__I'm not really that happy about this as it really needs fixing for 1.2 now (imo)15:47
paul__and the ideal time to fix it is as part of thinking about auth plugin's15:47
paul__gonna drive home before it snows more15:48
paul__bbi15m15:48
nuclear_eclipsepaul__: can you take a few moments and review the patch on bug 11293?15:54
paul__1129316:22
paul__well i'm home safely :P16:22
paul__I dont get why we need both parts16:25
paul__-if( !isset( $g_cache_config_project ) ) {16:25
paul__+if( !isset( $g_cache_config_project ) || ( isset( $g_project_override ) && !in_array( $g_project_override, $g_cache_config_project ) ) )16:25
paul__i guess i'll need to read wtf this override shit does16:26
paul__which from the fact you've asked me to look probably means it's something retarded: (16:26
nuclear_eclipsefrom what I gather, the point of this is that when viewing a bug that's in a sub-project of the currently selected project, if the sub-project has config options set differently from the parent, the override is supposed to use the sub-project's settings when viewing the bug, but it currently uses the parent's settings because the override is ignored16:27
nuclear_eclipsebut since I don't know enough about how config_api is supposed to work, I wanted you to look at it to make sure it's going down the correct path16:29
paul__we use project override in 39 places16:29
paul__including the process bugnote callback functions16:29
* paul__ sighs16:30
paul__so basically16:30
paul__we need to review all 39 cases16:30
paul__for config_get calls before the override is set16:31
nuclear_eclipsepotentially, yes16:31
paul__bug_assign_reporter.php:16:32
paul__access_ensure_bug_level( config_get( 'update_bug_threshold' ), $f_bug_id );16:32
paul__$t_bug = bug_get( $f_bug_id, true );16:32
paul__if( $t_bug->project_id != helper_get_current_project() ) {16:32
paul__# in case the current project is not the same project of the bug we are viewing...16:32
paul__# ... override the current project. This to avoid problems with categories and handlers lists etc.16:32
paul__$g_project_override = $t_bug->project_id;16:32
paul__oh dear16:32
* paul__ thinks :)16:32
paul__I guess that's wrong then16:32
paul__for the config_get change16:36
mantisbotBug 11293 - cmfitch1 - open - new17:03
mantisbotView report page is ignoring project specific config settings - http://www.mantisbt.org/bugs/view.php?id=1129317:03
CIA-27Mantisbt: s.mazeland * rdc5bb9d053cd /lang/strings_english.txt: Fix #6816: disambiguate "Save login"17:32
CIA-27Mantisbt: s.mazeland * r0ddfc76a22f1 /admin/ (check.php index.php): Fix #11294: Fix PHP notices. Patch contributed by Krasnov Kirill17:47
ProfesseurHi, just a question, do I need a server to install Mantis or is there an other solution22:17

Generated by irclog2html.py