*** Joins: asm89 (~asm89@unaffiliated/asm89) | 02:02 | |
*** Joins: ToffeePops (~chatzilla@202.20.3.13) | 02:23 | |
*** Quits: asm89 (~asm89@unaffiliated/asm89) (Quit: bye!) | 02:28 | |
*** Joins: Cupertino (~Cupez@unaffiliated/cupertino) | 02:29 | |
*** Joins: giallu (~giallu@fedora/giallu) | 02:37 | |
*** Joins: soustruh (~Miranda@ip-86-49-121-75.net.upcbroadband.cz) | 02:45 | |
*** Quits: ToffeePops (~chatzilla@202.20.3.13) (Quit: ChatZilla 0.9.87 [SeaMonkey 2.4.1/20110928161145]) | 03:21 | |
*** Joins: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au) | 03:22 | |
*** Joins: kirillka (~Miranda@195.242.142.17) | 03:35 | |
*** Quits: soustruh (~Miranda@ip-86-49-121-75.net.upcbroadband.cz) (Quit: visit http://wormscesky.cz) | 04:05 | |
*** Joins: soustruh (~Miranda@ip-86-49-121-75.net.upcbroadband.cz) | 04:08 | |
*** Joins: asm89 (~asm89@unaffiliated/asm89) | 04:48 | |
*** Joins: bezourox (~bezou_rox@130.171.64.86.rev.sfr.net) | 04:49 | |
bezourox | Hi, I have a problem on Mantis with confidenticality | 04:49 |
---|---|---|
asm89 | hm | 04:50 |
asm89 | ping jreese dhx1 | 04:50 |
asm89 | i'm not sure what you should do then | 04:50 |
bezourox | If I send a note on a a new report, with status "Private", just Administrators see this note | 04:50 |
dhx1 | bezourox: hi | 04:50 |
dhx1 | asm89: hi | 04:50 |
bezourox | Hi gyz | 04:50 |
bezourox | If I send a note in public, everyone can see this note | 04:51 |
bezourox | I would like that just the user that opened this report could see this note | 04:51 |
asm89 | oh, i thought you found a nasty bug ;P | 04:51 |
bezourox | Admin group and the user in question | 04:51 |
dhx1 | * access level needed to view private bugs | 04:52 |
dhx1 | * Look in the constant_inc.php file if you want to set a different value | 04:52 |
dhx1 | * @global int $g_private_bug_threshold | 04:52 |
dhx1 | */ | 04:52 |
dhx1 | $g_private_bug_threshold = DEVELOPER; | 04:52 |
dhx1 | change that to a lower level in config_inc.php? | 04:52 |
asm89 | dhx1: did i talk to you the other day about "user mentions" in bug notes? | 04:52 |
dhx1 | asm89: not me ;) | 04:52 |
bezourox | not me | 04:52 |
asm89 | dhx1: ah sorry :P i have a hard time remembering who it was, i believe it was one of the mantis devs in this channel | 04:53 |
bezourox | If I set $g_private_bug_threshold = RAPPORTER; just the rapporter in question will see this note ? | 04:53 |
asm89 | dhx1: it was you! i guess i'll get back to it some other time :) | 04:55 |
asm89 | dhx1: -> http://mantisforge.org/irclogs/%23mantishelp.2011-07-26.log.html | 04:57 |
dhx1 | REPORTER :) | 04:58 |
dhx1 | asm89: must have been a while ago... yeah | 04:58 |
dhx1 | bezourox: not just the REPORTER, but anyone at REPORTER level _or higher_ | 04:58 |
asm89 | well i ran into a 'problem' regarding the representation of the 'mentions' | 05:00 |
asm89 | it's not easy to extend the current "my view" page? | 05:00 |
bezourox | arf the problem is that I would like that just administrators and the user that opened the report could read this note | 05:05 |
bezourox | is it possible ? | 05:05 |
asm89 | bezourox: i think that's tricky | 05:05 |
asm89 | not sure though | 05:05 |
bezourox | Because we don't want that a user can read ticket that don't concern him | 05:06 |
dhx1 | bezourox: from function access_has_bug_level( $p_access_level, $p_bug_id, $p_user_id = null ) { | 05:12 |
dhx1 | # check limit_Reporter (Issue #4769) | 05:12 |
dhx1 | # reporters can view just issues they reported | 05:12 |
dhx1 | $t_limit_reporters = config_get( 'limit_reporters' ); | 05:12 |
dhx1 | if(( ON === $t_limit_reporters ) && ( !bug_is_user_reporter( $p_bug_id, $p_user_id ) ) && ( !access_has_project_level( REPORTER + 1, $t_project_id, $p_user_id ) ) ) { | 05:12 |
dhx1 | return false; | 05:12 |
dhx1 | } | 05:12 |
dhx1 | try $g_limit_reporters = ON; | 05:13 |
dhx1 | otherwise, $g_private_bug_threshold can be changed to a higher level (administrators) -- users that have reported a private bug (you would need to adjust the bug report form to make all reported bugs private) would still be able to see the bugs they've reported | 05:14 |
bezourox | Ok I have to edit config_inc.php | 05:18 |
bezourox | I set all reported bugs private | 05:19 |
dhx1 | ok | 05:21 |
bezourox | dhx1 : where can I found access_has_bug_level() | 05:49 |
bezourox | ok I found $g_limit_reporters = ON; | 05:55 |
bezourox | I think that it's that I want | 05:55 |
bezourox | And i set $g_source_control_notes_view_status = VS_PRIVATE; | 05:56 |
*** Quits: Cupertino (~Cupez@unaffiliated/cupertino) (Quit: I give up...) | 05:56 | |
bezourox | So when I post a new note, I have to set note in Pulib or Private ? | 05:56 |
dhx1 | $g_source_control_notes_view_status is unrelated | 06:01 |
dhx1 | the access_has_bug_level function is in access_api.php | 06:01 |
dhx1 | afaik you don't need to make bugnotes private if the bug is private | 06:01 |
dhx1 | it is inherited from the bug | 06:01 |
bezourox | ok so | 06:09 |
bezourox | $g_limit_reporters = ON; | 06:09 |
bezourox | $g_source_control_notes_view_status = VS_PUBLIC; | 06:09 |
bezourox | and all wil ok | 06:10 |
bezourox | when my user will open a new report, he will be notified by mail, and administrators too | 06:10 |
bezourox | and when administrators add a note, just administrators and the user that opened this reports will be notified | 06:11 |
bezourox | ? | 06:11 |
bezourox | dhx1 : Hum I tested and my reporter don't recieve a mail :s | 06:16 |
bezourox | admin group yes | 06:16 |
dhx1 | bezourox: not sure about that... does the reporter get an email with $g_limit_reporters = OFF ? | 06:16 |
bezourox | Hum I din't understand what you say | 06:19 |
bezourox | my level in english is poor :) | 06:19 |
bezourox | When I affect the new ticket to one of administrator | 06:19 |
bezourox | my user recieve an email | 06:19 |
bezourox | but when an administrtor add a note, nothing recieive by user | 06:20 |
bezourox | curently : $g_limit_reporters= ON; | 06:20 |
dhx1 | what happens if you turn that off? | 06:22 |
dhx1 | ah | 06:22 |
dhx1 | there are actually two email checks | 06:22 |
dhx1 | one for the reporter, and a separate threshold for people that have posted reply notes | 06:22 |
bezourox | ok | 06:23 |
bezourox | so I would like that when an admin add a note, the reporter be informed by mail | 06:23 |
bezourox | I turned $g_limit_report to OFF and will test | 06:24 |
dhx1 | read config_defaults_inc.php, specifically: $g_default_notify_flags, $g_notify_flags[...] and $g_email_receive_own | 06:25 |
dhx1 | ok, good start | 06:25 |
bezourox | Ok so | 06:27 |
bezourox | With these param | 06:27 |
bezourox | When I add a note | 06:27 |
bezourox | I I uncheck "Private", my user recieve an email | 06:27 |
bezourox | but not the admin group | 06:28 |
bezourox | when "Private" stay checked (by default), my user don't recieve an email | 06:28 |
bezourox | Hum sorry, when a note is added with "Public", user and admins recieve the email | 06:29 |
bezourox | so it's good for me | 06:29 |
bezourox | last problem, how to specify by default a public status for a new note | 06:29 |
dhx1 | there is a private bugnote threshold that is different to the private bug threshold | 06:31 |
dhx1 | so it sounds like the private bugnote threshold is lower than the private bug threshold | 06:31 |
dhx1 | read config_defaults_inc.php for the best documentation on all the settings you can use to configure MantisBT | 06:32 |
dhx1 | it is best to go through the entire file from top to bottom so you can get the most of of MantisBT | 06:32 |
dhx1 | it'll let you know what you can and can't do ;) | 06:32 |
bezourox | Yes I will search no problem | 06:35 |
bezourox | I set $g_source_control_notes_view_status = VS_PRIVATE; , else all reporters can see the reports that they don't have report | 06:36 |
dhx1 | that has nothing to do with bug reports and bug notes | 06:37 |
dhx1 | it is related to an old/deprecated in-built CVS integration system (CVS = version control system) | 06:38 |
dhx1 | if you commit to a repository it is meant to update the relevant bug with the commit message | 06:38 |
dhx1 | $g_default_bugnote_view_status = VS_PUBLIC; | 06:38 |
dhx1 | $g_private_bugnote_threshold = DEVELOPER; | 06:39 |
dhx1 | $g_private_bug_threshold = DEVELOPER; | 06:39 |
dhx1 | $g_default_bug_view_status = VS_PUBLIC; | 06:39 |
dhx1 | those are the 4 settings you'll most likely want to use | 06:40 |
dhx1 | (change values as appropriate) | 06:40 |
bezourox | APPLICATION ERROR #203 | 06:44 |
bezourox | A number was expected for view_state. | 06:44 |
bezourox | arf bad | 06:44 |
bezourox | $g_default_bug_view_status = VS_PUBLIC | 06:44 |
dhx1 | VS_PRIVATE or VS_PUBLIC | 06:44 |
*** Quits: asm89 (~asm89@unaffiliated/asm89) (Quit: bye!) | 06:47 | |
*** Joins: asm89 (~asm89@unaffiliated/asm89) | 08:08 | |
*** Quits: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au) (Remote host closed the connection) | 09:37 | |
*** Quits: kirillka (~Miranda@195.242.142.17) (Quit: kirillka) | 09:56 | |
*** Quits: asm89 (~asm89@unaffiliated/asm89) (Quit: bye!) | 11:13 | |
*** bezourox is now known as bezourox`away | 11:47 | |
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 248 seconds) | 11:56 | |
*** Quits: hardyNH (~hardyNH@c-24-128-108-178.hsd1.nh.comcast.net) (Quit: hardyNH) | 12:07 | |
*** Joins: hardyNH (~hardyNH@c-24-128-108-178.hsd1.nh.comcast.net) | 12:08 | |
*** Joins: giallu (~giallu@fedora/giallu) | 12:25 | |
jreese | giallu: can you set my user account as a site admin on the forums? | 13:17 |
jreese | giallu: nvm, I think I figured out how to do it in sql | 13:23 |
*** Joins: Paul24 (~IceChat09@2001:470:9310:aaaa:a8e6:11b4:5730:3ef1) | 13:23 | |
jreese | ok, maybe not... | 13:26 |
Paul24 | mo | 13:26 |
jreese | howdy | 13:27 |
*** Joins: ec (~chatzilla@67.21.0.146) | 14:36 | |
ec | is it possible to import a bugzilla .sql file into mantis | 14:37 |
jreese | there might be some migration scripts floating around on the net, but it's not officially supported | 14:38 |
ec | i found one but i had some problems.... | 14:39 |
ec | thanks for the help though | 14:39 |
jreese | you're welcome | 14:40 |
*** Joins: saparvia (50dd01d5@gateway/web/freenode/ip.80.221.1.213) | 14:50 | |
saparvia | Hi, I want to create a bunch of Mantis instances from a shell script. I've installed one instance, and my idea is to just make copies of that one, but I'd like to change the password of the administrator user from the script | 14:51 |
saparvia | Is this easily possible? | 14:51 |
saparvia | I can modify the password directly in the sql script that creates the database (it seems to be an MD5 hash of the plaintext password?) | 14:52 |
jreese | saparvia: should be a matter of running an sql query to `update mantis_user_table set password=MD5("whatever") where id=1` or somethng similar | 14:52 |
saparvia | What about the cookie string? | 14:52 |
saparvia | Can it be the same everywhere? | 14:52 |
jreese | I'm not sure off hand, sorry | 14:53 |
jreese | I feel like you should regenerate that for security | 14:53 |
saparvia | And isn't it BTW a bit insecure to use MD5? | 14:53 |
saparvia | jreese: OK, thanks anyway | 14:53 |
saparvia | jreese: That's mu suspicion too | 14:53 |
jreese | yes, we've just never had the chance to implement a proper replacement | 14:54 |
jreese | ideally, we'd use php's bcrypt support | 14:54 |
jreese | it's just a matter of writing code that can automatically update old user credentials as they log in, and or forcing a password reset for any users still using MD5 method | 14:55 |
saparvia | Does it matter what the cookie string actually looks like? I gather it should be base64 encoded, but does the actual content matter? | 14:55 |
saparvia | I'm a bit clueless about cookies, so forgive me if it's a stupid question | 14:55 |
jreese | saparvia: I believe it's just arbitrary | 14:57 |
saparvia | "Random and unique 384bit cookie string" basically means it's a hash right, so it can be anything of that length? | 14:57 |
jreese | looking at core/auth_api, it's just md5(something).md5(somethingelse) | 14:57 |
saparvia | jreese: OK, thanks for the help! | 14:57 |
jreese | you're welcome | 14:57 |
*** Quits: ec (~chatzilla@67.21.0.146) (Quit: ChatZilla 0.9.87 [Firefox 7.0.1/20110928134238]) | 15:26 | |
*** Joins: asm89 (~asm89@unaffiliated/asm89) | 15:43 | |
*** Joins: roentgen (~arthur@openvpn/community/support/roentgen) | 16:04 | |
*** Quits: saparvia (50dd01d5@gateway/web/freenode/ip.80.221.1.213) (Quit: Page closed) | 16:04 | |
*** Joins: agronholm (~demigod@nblzone-211-37.nblnetworks.fi) | 16:21 | |
agronholm | I'm having problems with file attachments | 16:21 |
agronholm | I attached a PDF to an issue, but when I try to download it, its size has doubled and contents are garbled | 16:22 |
agronholm | mantis 1.2.8 w/ postgresql | 16:22 |
agronholm | the size is displayed correctly in the issue itself | 16:23 |
agronholm | not only that but it does not give me the proper MIME type when sending it to me | 16:23 |
*** Quits: roentgen (~arthur@openvpn/community/support/roentgen) (Remote host closed the connection) | 16:37 | |
jreese | agronholm: are you storing attachments in the database, or on the filesystem? | 16:37 |
agronholm | jreese: not sure, it's been a while since I set it up | 16:40 |
agronholm | how do I check? | 16:40 |
agronholm | ok, database apparently | 16:41 |
*** Quits: wolog_ (~wolog@wolog.info) (Ping timeout: 256 seconds) | 16:41 | |
jreese | agronholm: it may be an issue with our support for postgres, best thing I can suggest at the moment is to switch to storing them on disk | 16:42 |
*** Joins: wolog_ (~wolog@wolog.info) | 16:43 | |
*** wolog_ is now known as Guest28430 | 16:44 | |
agronholm | jreese: I copied the raw data directly from the db, it's broken there already | 16:46 |
jreese | agronholm: unfortunately, I'm not sure how to help on that | 16:47 |
agronholm | I'll file a bug in github | 16:47 |
*** Quits: asm89 (~asm89@unaffiliated/asm89) (Quit: bye!) | 17:08 | |
*** Joins: smithpg1002 (~smithpg10@65.119.51.224) | 17:52 | |
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 248 seconds) | 17:53 | |
*** Quits: smithpg1002 (~smithpg10@65.119.51.224) (Quit: smithpg1002) | 18:04 | |
*** Quits: Paul24 (~IceChat09@2001:470:9310:aaaa:a8e6:11b4:5730:3ef1) (Quit: For Sale: Intergalactic Proton Powered Electrical Tentacled Advertising Droids) | 18:44 | |
*** Joins: ec (~chatzilla@67.21.0.146) | 19:10 | |
ec | i've been trying to import a bugzilla db saved in .xml but get errors when i do | 19:11 |
ec | Importing file, please wait... | 19:11 |
ec | SYSTEM WARNING: XMLReader::read() [xmlreader.read]: /var/tmp/phpYkhBdU:49920: parser error : Opening and ending tag mismatch: column line 709 and database | 19:11 |
ec | SYSTEM WARNING: XMLReader::read() [xmlreader.read]: </database> | 19:11 |
ec | SYSTEM WARNING: XMLReader::read() [xmlreader.read]: ^ | 19:11 |
ec | SYSTEM WARNING: XMLReader::read() [xmlreader.read]: An Error Occured while reading | 19:11 |
ec | anyone seen this before? | 19:19 |
*** Quits: bezourox`away (~bezou_rox@130.171.64.86.rev.sfr.net) (Read error: Connection reset by peer) | 19:31 | |
*** Joins: bezourox`away (~bezou_rox@130.171.64.86.rev.sfr.net) | 19:31 | |
ec | hello? | 19:45 |
ec | anyone there? | 19:45 |
*** Quits: sdfjkljkdfsljkl (~sdfjkljkd@static.96.23.63.178.clients.your-server.de) (Remote host closed the connection) | 20:00 | |
*** Joins: sdfjkljkdfsljkl (~sdfjkljkd@static.96.23.63.178.clients.your-server.de) | 20:00 | |
ec | ? | 20:02 |
ec | hello? | 20:02 |
ec | can someone help me? | 20:07 |
ec | i was able to get a bugzilla db file converted to xml | 20:28 |
ec | but when i import it into mantis it seems theres nothing being imported | 20:28 |
*** Quits: bezourox`away (~bezou_rox@130.171.64.86.rev.sfr.net) (Ping timeout: 255 seconds) | 20:30 | |
*** Quits: ec (~chatzilla@67.21.0.146) (Remote host closed the connection) | 20:31 | |
*** Quits: soustruh (~Miranda@ip-86-49-121-75.net.upcbroadband.cz) (Quit: visit http://wormscesky.cz) | 23:00 |
Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!