| ../irclogs/#mantishelp.2010-01-03.log | ||
| --- scribe started --- | 00:00 | |
| Renegade15 | good evening | 07:56 |
|---|---|---|
| Renegade15 | could 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_ | hey | 11: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 lol | 11:58 |
| Cephei_ | without* | 11:58 |
| * paul__ wonders where dhx is | 16:36 | |
| paul__ | victor needs to start coming on here ;/ | 22:15 |
| distatica | Maybe 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 |
| distatica | here is the script: http://paste.pocoo.org/show/161768/ | 23:03 |
| distatica | any help would be greatly appreciated. | 23:03 |
| paul__ | distatica: what mantis verison? | 23:15 |
| paul__ | dhx_m: lo | 23:15 |
| distatica | 1.1.8 | 23: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 earlier | 23:16 |
| paul__ | erm | 23:16 |
| paul__ | area | 23:16 |
| distatica | so this is a mantisconnect setting? | 23:17 |
| distatica | or a bug in mantisconnect... (bug, or lack of feature...) | 23:17 |
| distatica | when I tried to do my soap request initially, the system complained that those variables weren't set.. | 23:17 |
| distatica | I had to set them just to get it to work. | 23:18 |
| distatica | that 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 trunk | 23:18 |
| distatica | unfortunately I don't have a lot right now, but I will check into it when I get this project done. | 23:20 |
| distatica | in the meantime, I suppose I can just have them go default. | 23:21 |
| distatica | thansk | 23:21 |
| distatica | thanks* | 23:21 |
| dhx_m | paul__: hi | 23:27 |
| distatica | I'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_m | paul__: not at the moment :) | 23:33 |
| paul__ | I'm still trying to get into untangling mess ;/ | 23:34 |
| dhx_m | that's a pretty broad statement :p | 23:36 |
| paul__ | well | 23:36 |
| paul__ | ldap stuff | 23:37 |
| dhx_m | ah | 23:44 |
| paul__ | we've gone from never automatically creating accounts with ldap | 23:47 |
| paul__ | to always automatically creating accounts | 23:47 |
| dhx_m | hmmm | 23:48 |
| paul__ | In my case at least, never's better | 23:48 |
| paul__ | so what we probably need is an ldap_create_accounts | 23:48 |
| paul__ | field | 23:48 |
| paul__ | on top of that | 23:48 |
| dhx_m | but 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/realname | 23:48 |
| paul__ | so we probably need to make that optional too | 23:48 |
| paul__ | so quick fix now would be to add about 5 config settings | 23:49 |
| paul__ | all of which i'd consider obsolete settings in 1.3 | 23:49 |
| paul__ | that will no longer exist ;/ | 23:49 |
| paul__ | i've been quite direct with my comment on bugtracker about SHA1 auth | 23:51 |
| dhx_m | I don't know enough about the LDAP integration to really comment on this | 23:51 |
| dhx_m | SHA1 is deprecated as well | 23:51 |
| dhx_m | sure, it's better than MD5 | 23:52 |
| paul__ | but why are we encouraging a user with comments on a patch | 23: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_m | I'm not so sure why that'd be part of a plugin | 23:55 |
| dhx_m | well I guess the plugin would have it's own userid vs password hash table | 23:55 |
| paul__ | if anything we probably want to be storing passwords like I believe openldap and some ircd's do | 23:55 |
| paul__ | where password is MD5:<hash> or SHA1:<hash> | 23:55 |
| paul__ | so one can identify the type of hash in use | 23:56 |
| dhx_m | if we're going the plugin approach | 23:57 |
| dhx_m | we should really also allow for Mantis to pull passwords from any sort of database | 23:57 |
| dhx_m | in case you want single sign on | 23:57 |
| paul__ | that would be down for a plugin to implement | 23:57 |
| paul__ | ii.e. | 23:58 |
| paul__ | i'd expect we'd basically have a set of properties | 23:58 |
| paul__ | e.g. allow_signup, allow_logout | 23:58 |
| dhx_m | yeah | 23:58 |
| paul__ | a 'login(user,pass)' function | 23:58 |
| paul__ | and once your logged in | 23:58 |
| paul__ | probably a set of return_realname, return_email type thing | 23:59 |
| paul__ | so user_get_email | 23:59 |
| paul__ | would basically be a plugin hook call | 23:59 |
| paul__ | with the default being to look it up in mantis db | 23:59 |
| paul__ | $g_use_ldap_email or whatever it's called | 23:59 |
Generated by irclog2html.py