Sunday, 2010-01-03

../irclogs/#mantishelp.2010-01-03.log
--- scribe started ---00:00
Renegade15good evening07:56
Renegade15could somebody give me a quick pointer on where I could find specific documentation for the API files under core/? I tried the wiki and the normal docs and got nowhere, and I can't search the forums 'cause it complains about the search terms being too short or too common...07:58
Cephei_hey11:51
Cephei_ I would like to have guests posting/submitting bugs with registration. How do I do this? Is there an option for this?11:52
Cephei_eh lol11:58
Cephei_without*11:58
* paul__ wonders where dhx is16:36
paul__victor needs to start coming on here ;/22:15
distaticaMaybe someone here can help. I'm trying to write a python client that simply creates a new ticket. I've got this part working, however some settings (eg. severity, priority, etc) are not getting the proper setting; they seem to be going to the default settings. I've tried quoting the numbers as well but that results in something like: priority @40@ iirc.23:02
distaticahere is the script: http://paste.pocoo.org/show/161768/23:03
distaticaany help would be greatly appreciated.23:03
paul__distatica: what mantis verison?23:15
paul__dhx_m: lo23:15
distatica1.1.823:16
paul__I might be wrong, but i suspect the mantisconnect service probably isnt' set to set them in the code; /23:16
paul__as I seem to recall some changes to trunk in that earlier23:16
paul__erm23:16
paul__area23:16
distaticaso this is a mantisconnect setting?23:17
distaticaor a bug in mantisconnect... (bug, or lack of feature...)23:17
distaticawhen I tried to do my soap request initially, the system complained that those variables weren't set..23:17
distaticaI had to set them just to get it to work.23:18
distaticathat was just for testing at first, of course in real world I would love to set those...23:18
paul__if you've got the time, i'd suggest trying against trunk23:18
distaticaunfortunately I don't have a lot right now, but I will check into it when I get this project done.23:20
distaticain the meantime, I suppose I can just have them go default.23:21
distaticathansk23:21
distaticathanks*23:21
dhx_mpaul__: hi23:27
distaticaI'm thinking anonymantis might work a bit better for me, since this is a small program (distributed in a small town) and the program creates a ticket when it encounters an error. Rather than requiring a password on each unit, that can't be changed. However, I can't seem to locate a README or something on how to install it.... at first glance it looks like it replaces the default mantis files in the root directory.23:32
paul__dhx_m: you busy?23:33
paul__distatica: not looked at anonymantis myself ;/23:33
dhx_mpaul__: not at the moment :)23:33
paul__I'm still trying to get into untangling mess ;/23:34
dhx_mthat's a pretty broad statement :p23:36
paul__well23:36
paul__ldap stuff23:37
dhx_mah23:44
paul__we've gone from never automatically creating accounts with ldap23:47
paul__to always automatically creating accounts23:47
dhx_mhmmm23:48
paul__In my case at least, never's better23:48
paul__so what we probably need is an ldap_create_accounts23:48
paul__field23:48
paul__on top of that23:48
dhx_mbut you may want to store extra information on users (view preferences, etc) that can't be stored via LDAP?23:48
paul__when you login with ldap now, it automatically updates db pass/email/realname23:48
paul__so we probably need to make that optional too23:48
paul__so quick fix now would be to add about 5 config settings23:49
paul__all of which i'd consider obsolete settings in 1.323:49
paul__that will no longer exist ;/23:49
paul__i've been quite direct with my comment on bugtracker about SHA1 auth23:51
dhx_mI don't know enough about the LDAP integration to really comment on this23:51
dhx_mSHA1 is deprecated as well23:51
dhx_msure, it's better than MD523:52
paul__but why are we encouraging a user with comments on a patch23:52
paul__when really we should be going "we need to sort auth plugins out"23:52
paul__2. I would prefer having a separate column for the encryption schema. This can be empty for upgraded entries and we can set it as well as the revised hash on successful login.23:53
paul__4. Do we want SHA1 to be the default? I assume that a installation that was using MD5, will automatically upgrade all entries to SHA1 on first login and will create new users as SHA1.23:53
paul__^^23:53
paul__we're gonna have lots of fun putting 4 into plugins!23:53
paul__(if you assume that someone could enable both md5 + sha1 auth plugin :)23:53
dhx_mI'm not so sure why that'd be part of a plugin23:55
dhx_mwell I guess the plugin would have it's own userid vs password hash table23:55
paul__if anything we probably want to be storing passwords like I believe openldap and some ircd's do23:55
paul__where password is MD5:<hash> or SHA1:<hash>23:55
paul__so one can identify the type of hash in use23:56
dhx_mif we're going the plugin approach23:57
dhx_mwe should really also allow for Mantis to pull passwords from any sort of database23:57
dhx_min case you want single sign on23:57
paul__that would be down for a plugin to implement23:57
paul__ii.e.23:58
paul__i'd expect we'd basically have a set of properties23:58
paul__e.g. allow_signup, allow_logout23:58
dhx_myeah23:58
paul__a 'login(user,pass)' function23:58
paul__and once your logged in23:58
paul__probably a set of return_realname, return_email type thing23:59
paul__so user_get_email23:59
paul__would basically be a plugin hook call23:59
paul__with the default being to look it up in mantis db23:59
paul__$g_use_ldap_email or whatever it's called23:59

Generated by irclog2html.py