Monday, 2009-06-29

../irclogs/#mantishelp.2009-06-29.log
--- scribe started ---00:00
mantisbotNew bug: Bug 10637 - krejcim - open - new07:41
mantisbotNew bug: Option Attach Tags in View Issues page - http://www.mantisbt.org/bugs/view.php?id=1063707:41
mantisbotNew bug: Bug 10638 - krejcim - open - new08:01
mantisbotNew bug: Units of file size can not translate - http://www.mantisbt.org/bugs/view.php?id=1063808:01
mantisbotNew bug: Bug 10639 - krejcim - open - new08:21
mantisbotNew bug: Inserting and displaying news - http://www.mantisbt.org/bugs/view.php?id=1063908:21
mantisbotNew bug: Bug 10640 - krejcim - open - new08:21
mantisbotNew bug: Assign Project Documentation file to project - http://www.mantisbt.org/bugs/view.php?id=1064008:21
mantisbotNew bug: Bug 10641 - krejcim - open - new08:31
mantisbotNew bug: Wrong interpretation of break line characters - http://www.mantisbt.org/bugs/view.php?id=1064108:31
dhx_mwe're under attack!08:39
mantisbotNew bug: Bug 10642 - Buga - open - new08:41
mantisbotNew bug: Get time tracking information raises Application error 200 - http://www.mantisbt.org/bugs/view.php?id=1064208:41
mantisbotNew bug: Bug 10643 - krejcim - open - new08:41
mantisbotNew bug: Format of bug ID - http://www.mantisbt.org/bugs/view.php?id=1064308:41
Heady|Hi I just upgraded my testsystem to mantis 1.2rc. When I add ned tickets line breaks in text area fileds are missing in the bug reports. Notes still work like expected. Any idea whats wrong here?08:47
mantisbotNew bug: Bug 10644 - krejcim - open - new08:51
mantisbotNew bug: Date filters with international format - http://www.mantisbt.org/bugs/view.php?id=1064408:51
dhx_mHeady|: hi08:58
Heady|hi09:01
dhx_mHeady|: I'll test that out09:02
Heady|The mantisbt tracker dont have this problem09:02
Heady|I upgraded from 1.1.109:02
dhx_mline breaks work fine for me in the description field09:04
dhx_mwhat locale/language do you use?09:04
dhx_malso which browser?09:04
Heady|german09:10
Heady|and ie 709:10
Heady|i will test in firefox09:10
Heady|same for ff09:12
Heady|when I want to update the ticket the linebreaks in the text area are still there but in the normal view all linebreaks are erased.09:13
dhx_mso if you had 4 blank lines, they'd show as one when viewing the bug?09:13
Heady|jep09:13
Heady|test09:14
dhx_mare you able to view the source of the html09:14
Heady|yes09:14
dhx_mand find out if there is a <br /> for the line break?09:14
Heady|no br09:15
Heady|<textarea tabindex="10" cols="80" rows="10" name="description">test09:15
Heady|test09:15
Heady|test</textarea>09:15
dhx_mI think we're talking about different things now09:15
Heady|the linebreaks are in the html but without br09:15
Heady|are we?09:15
dhx_mtextarea (a white box) is where you edit the bug09:15
Heady|you mean the php file?09:15
dhx_mwhereas I was thinking that you were referring to view.php where you can see the text as if it were any other normal webpage09:16
Heady|oh my fault09:16
Heady|i checked the wrong page and simply copyed the past without noticing this09:16
dhx_mso you click on the edit/update issue button and get a description field without blank lines?09:16
Heady|<td colspan="5">09:17
Heady|test09:17
Heady|test09:17
Heady|test</td>09:17
Heady|tahst the one you asked for09:17
dhx_myeah that looks better09:17
dhx_mfor view.php?09:17
Heady|yes09:17
dhx_mhmm it seems you might be on to something here09:19
dhx_mnope... was just me09:20
Heady|its quite strange that the notes still have the line breaks09:20
dhx_mhmm09:21
dhx_mI can't reproduce this09:22
dhx_mlet me try setting the language to German09:22
Heady|hopefully you can set it back with german language :D09:23
dhx_mI'm just using a test install so I don't mind deleting the whole database if it breaks :)09:23
Heady|I tryed it with enlgish language and got the same behaviour09:26
Heady|hmm sorry but I have to leave now I will try to come back to irc in 15-20 minutes09:27
Heady|hi dhx_m09:45
Heady|any progress ?09:45
dhx_mI'm not sure where to start09:46
dhx_mwhat database do you use?09:46
Heady|mysql09:50
Heady|unix platform09:51
dhx_mdoes it affect both the simple and advanced view pages?09:54
Heady||back09:54
dhx_mok09:55
dhx_mdoes it affect both the simple and advanced view pages?09:55
Heady|yes both views10:02
Heady|ok I have to correct me :D It only appears in the simple view10:12
Heady|in the advanced view the line breaks are there10:12
ihmSelbsthi all11:52
ihmSelbsthow can i link issues? When i click on "View Issues" i can see "P", "ID", "#" and other.. Is it possible to add an automatic nummeration in "#" so i can link from other tickets?11:55
ihmSelbstnobody can help me?11:58
nuclear_eclipsegood morning dhx_m :P12:43
dhx_mhi :)12:44
dhx_mnuclear_eclipse: we got a barrage of bug reports before :o13:21
mantisbotNew bug: Bug 10645 - darthmal - open - new13:43
mantisbotNew bug: ok - http://www.mantisbt.org/bugs/view.php?id=1064513:43
dhx_msniped13:44
nuclear_eclipsedhx_m: I noticed13:44
dhx_mhaha got to be quick :p13:44
dhx_mnuclear_eclipse: do you have any thoughts on the possibility of changing CSRF to store all required information with the form that is sent13:54
dhx_mnuclear_eclipse: rather than keep a server/client state13:54
dhx_mnuclear_eclipse: ie. use a secret hashed with a nonce, etc13:55
dhx_mnuclear_eclipse: it wouldn't be single use I guess13:55
dhx_mbut I'm not sure that matters?13:55
Heady||you got any idea about my problem dhx_m? The mantisbt tracker dont use the simple view so perhaps the bug is there too?13:55
dhx_mHeady||: have you customised config_inc or any of the custom_ files much?13:56
Heady||define mutch;) I checked it and found no options linked to this problem13:57
dhx_mI'm not too sure what part of Mantis converts linebreaks to <br />13:58
dhx_mI imagine it is done before sending to the client each time13:58
Heady||I think that the whole storeing process is ok13:58
Heady||but the rendering when I open the page fails13:58
dhx_mwell you can check if you know how to access your database manually?13:59
Heady||I planned to compare the code for simple and advanced view tomorrow13:59
dhx_msimple view doesn't work... advanced view does?13:59
Heady||sure I know but as I can see the linebreaks in the advanced mode I am sure they are there :D13:59
Heady||yes13:59
dhx_mohhh that helps13:59
dhx_mlet me see13:59
Heady||Also I see them when I want to edit13:59
dhx_mok13:59
Heady||so there must be a dif between this 2 files14:00
Heady||atm I dont have time to check it but i will do this tomorrow or wednesday14:00
dhx_mthere is a difference14:00
dhx_mone uses string_display_line_links... the other uses string_display_links14:00
Heady||hmm question is why ;)14:01
Heady||looks like a bug or14:01
dhx_mI'm checking it now14:01
Heady||i gues string_display_line_links is for advanced14:02
dhx_mother way actually14:02
Heady||ok:D14:02
Heady||perhaps the second one is for normal input fields and someone mixed them up14:03
dhx_myep I think so14:03
dhx_mit's interesting that I can't reproduce14:03
Heady||you have the rc?14:03
Heady||or nightly build14:03
dhx_mactually I can reproduce14:04
dhx_m:)14:04
dhx_mthis'll be an easy fix14:04
dhx_mthanks for reporting :)14:04
Heady||:)14:04
Heady||will there be a new rc version?14:04
Heady||or do I only have to replace one file14:04
dhx_mthe part that made it easy for me to understand was when you said advanced = ok, simple = not ok14:04
dhx_mjust one file14:04
dhx_mbut yeah, they'll be another release soon14:05
dhx_mor you can pull the latest copy from git.mantisbt.org14:05
Heady||I also reported a bug about time tracking14:05
Heady||http://www.mantisbt.org/bugs/view.php?id=1064214:06
Heady||just as info :D14:06
dhx_mthanks I'll look at that too14:07
Heady||Just read the whole config today and found these new options. my company asked often for that feature14:08
dhx_mwhich options? :)14:09
dhx_mtime tracking?14:09
Heady||yes14:10
Heady||before we used mantis 1.1.1 so its new for me :D14:10
dhx_mah I see :)14:10
dhx_mI use the inbuilt time tracking as well14:10
dhx_mnuclear_eclipse has an alternative at git.mantisforge.org as a plugin14:11
dhx_min my case I was already using the built in one so couldn't be bothered switching :p14:11
Heady||will check that14:11
Heady||btw are there any docs for the provided plugins? for example I tested 2-3 times to import issues with the expor/import plugin14:13
Heady||but i dont know how the file should look like14:13
mantisbotNew bug: Bug 10646 - dhx - open - assigned14:13
mantisbotNew bug: Simple view shows description, additional info, steps to reproduce as single lines of text only - http://www.mantisbt.org/bugs/view.php?id=1064614:13
CIA-18Mantisbt: hickseydr * r37171c8c5c83 /bug_view_page.php: Fix #10646: description printed as single line14:17
CIA-18Mantisbt: hickseydr master-1.2.x * rf78881980d4d /bug_view_page.php: Fix #10646: description printed as single line14:19
dhx_mall fixed thanks... you can grab the latest 1.2.x version at http://git.mantisbt.org/?p=mantisbt.git;a=snapshot;h=master-1.2.x;sf=tgz14:19
dhx_mI'm not too sure about plugin docs14:19
dhx_mcheck out docbook/developers/en/plugins.sgml14:20
Heady||you changed more than one file?14:21
dhx_mwe have a development branch (1.3.x) as well as the soon-to-be-stable branch (1.2.x)14:21
dhx_mhence the two commits14:21
Heady||ok will check this later. dont have access from here to my mantis :D14:21
Heady||any new features planned for 1.3?14:22
dhx_mthe best place to be watching is http://git.mantisbt.org/?p=mantisbt.git;a=shortlog;h=refs/heads/master14:24
dhx_mand: http://www.mantisbt.org/bugs/roadmap_page.php14:24
dhx_mit's a bit early to say what will happen yet :)14:25
Heady||:D I just waited for 1.2 for the plugin system14:27
nuclear_eclipsedhx_m: biggest problem I see with your method is that losing the randomness makes it easier to attack14:28
dhx_mnuclear_eclipse: that is why you have the nonce... that is your randomness :)14:28
dhx_mnuclear_eclipse: the form would have two fields: "nonce=xzfhouweyf8972y9r32ho" and "key=sapiwsfjiwpefjwpieruj"14:29
nuclear_eclipseyou're not catching my drift - if the client has all of the info about how the hash is formed, anyone can forge a request with the appropriate pieces of the hash14:29
dhx_mnuclear_eclipse: the key is calculated by the server to be hash(nonce+form_type+userid+whatever_the_server_knows)14:30
dhx_msorry... the server has a secret too14:30
dhx_mthat only the server knows14:30
nuclear_eclipseisn't that what the token is? :P14:30
dhx_myep but not single use14:30
dhx_mat the moment the server has to remember lots of forms in session data14:30
dhx_mI'm not sure that is the best way of doing it, especially with 3 day timeout14:31
dhx_mbecause once I fix CSRF, we're going to be generating tokens on each bug view page where the user has the ability to edit/close/etc a bug14:31
dhx_mwell... for single click actions14:31
dhx_mif there are any14:31
nuclear_eclipsewell, if the server is storing some secret, what's the point of the nonce?14:31
dhx_mthe ability to set timeouts on forms?14:32
dhx_mnot sure why we really need that14:32
dhx_ma lot of CSRF protection just uses the PHP sessionid as the form secret token14:33
dhx_mand then compares it against the actual sessionid14:33
dhx_mif there is a difference, you have been CSRF'd14:33
dhx_mI'd rather the form token be a hash of the session ID though14:34
nuclear_eclipseI have a feeling session id is too vulnerable14:34
dhx_mas the page may be cached somewhere14:34
dhx_mcan't we set our own session ID in PHP?14:35
nuclear_eclipseI'd rather ignore session id altogether14:35
nuclear_eclipseyes, but I'd really prefer to touch PHP session stuff as little as possible14:35
nuclear_eclipsehowever, your idea for using a stateless form validation is at least interesting....14:35
dhx_mI just think it takes the burden off the server... which is better for scalability14:36
dhx_mand speed... (no looping through a massive list of session hashes to find the right one)14:37
nuclear_eclipseif we used the current form name as a server-side "nonce" + some other server "secret" (somehow), that would allow the form_* interface to remain the same while removing the need for storing all that data in the session...14:37
dhx_massuming of course that it isn't a hashmap :)14:37
dhx_myep, it only needs a change to forms_api14:37
nuclear_eclipsemy biggest concern is how to get the server secret14:38
dhx_mfor crypto reasons I think it may need to be generated separately for each user?14:38
nuclear_eclipseright, that's what worries me :P14:39
dhx_mmy main concern is with anonymous users14:39
dhx_mand making sure that doesn't break ;)14:39
dhx_mthat is why I suggested PHP session id's in some way14:39
dhx_mbecause we also need to prevent CSRF for anonymous users who don't have a proper unique user14:40
dhx_mwe could also just go the ghetto approach of having a single secret stored in config_inc14:41
dhx_mbut then we'd still need to identify anonymous users by some sort of session info when anonymous writing/editing is enabled14:42
nuclear_eclipsewell, I don't see how CSRF could ever be an issue for anonymous users...14:42
nuclear_eclipseie, the whole point of CSRF is to exploit a user's existing credentials/authority with a site to do malicious things -- anonymous users have no credentials or authority in the first place...14:42
dhx_mwell a malicious site could get any old anonymous users to mass spam a whole bunch of Mantis installations14:42
dhx_mhence giving the attacker 1000's of IPs to spam from... making it hard to block14:43
dhx_munless we require human verification from anonymous users on every action... they're going to need CSRF protection14:44
nuclear_eclipsewell, right, I didn't mean that we shouldn't have any CSRF protection for anonymous users -- I meant that Mantis treats an anonymous user just the same as any other, so I'm not sure what else we would need to do14:44
dhx_mwell we just need to make sure that one anonymous user with a valid session can't farm a whole bunch of tokens14:45
dhx_mand then later use those tokens to launch their CSRF attack14:45
nuclear_eclipseactually, the best thing that I can think of is to auto-generate a single secret string in the user's php session, and use that as the secret14:45
dhx_myep that'd work fine14:45
dhx_mif we're concerned about the PHP session ID not containing enough entropy14:45
nuclear_eclipseit's not the entropy that worries me about the session id, it's possibilities of session fixation because the id is getting passed around in the clear14:46
dhx_malthough I thought we could just set the PHP session ID ourselves via http://au.php.net/manual/en/function.session-id.php14:46
nuclear_eclipseby storing a secret string in the session itself, only the server can ever see/know the secret14:46
dhx_moh I see14:47
dhx_mmy bad heh14:47
dhx_mwasn't thinking :p14:47
dhx_mI'm all for that idea then14:47
nuclear_eclipsethe biggest issue is coming up with random-enough data to generate an appropriate secret for each new session14:47
nuclear_eclipseso I'm thinking hash(user_ip + user_id + time) ?14:48
dhx_mall predictable though14:48
nuclear_eclipseright14:48
dhx_mhard to guess still :)14:49
dhx_mI guess the question is whether we actually need a new form token each time14:49
dhx_mseeing as we don't keep any state, I guess there is no point14:49
nuclear_eclipseafk14:50
dhx_mk14:50
mantisbotNew bug: Bug 10647 - kc - open - new14:58
mantisbotNew bug: Can not close a problem - http://www.mantisbt.org/bugs/view.php?id=1064714:58
mantisbotNew bug: Bug 10648 - LokeshDhingra - open - new14:58
mantisbotNew bug: Fab Connect Bug Tracker - http://www.mantisbt.org/bugs/view.php?id=1064814:58
CIA-18Mantisbt: hickseydr master-1.2.x * raa047fe3657a / (core/print_api.php lang/strings_english.txt): Fix #10638: allow 'bytes' to be translated15:26
CIA-18Mantisbt: hickseydr * r5affdcfc3f26 / (core/print_api.php lang/strings_english.txt): Fix #10638: allow 'bytes' to be translated15:27
mantisbotNew bug: Bug 10649 - timj - open - new15:34
mantisbotNew bug: Adding bug note via SOAP API fails if project has single quotes in name - http://www.mantisbt.org/bugs/view.php?id=1064915:34
Reapazorso random problem : i have an updator trying to reopen a resolved bug15:53
Reapazorand its giving him access denied15:53
paul_moo17:31
nuclear_eclipsehowdy17:35
nuclear_eclipsedhx_m: back17:35
paul_nuclear_eclipse: hows you?17:44
nuclear_eclipsealright17:45
paul_bugs in 1.1.8 we do what with?17:47
nuclear_eclipsedepends on severity17:47
paul_asisgn to john17:48
nuclear_eclipsepretty much :P17:48
Kirill_Krasnovhi18:27
[KK]Kirillhi all18:28
[KK]KirillI can unpack one file from tar-arch without unpacking all files?18:28
* [KK]Kirill slaps paul_ around a bit with a large trout18:30
* [KK]Kirill slaps nuclear_eclipse around a bit with a large trout18:30
mantisbotNew bug: Bug 10650 - bpfennig - open - new18:35
mantisbotNew bug: Mantis ignore e-mail notification setting for "e-mail on new" in account preferences - http://www.mantisbt.org/bugs/view.php?id=1065018:35
paul_anyone got a google voice invite?18:49
[KK]Kirillwhat?18:49
nuclear_eclipsepaul_: wish I did19:03
nuclear_eclipse[KK]Kirill: a quick look through `man tar` doesn't turn up anything saying you can do that19:05
[KK]Kirillnuclear_eclipse: I start unpack all and break when needed file is unpacked19:05
[KK]Kirillnuclear_eclipse: tomorrow release php19:20
paul_[KK]Kirill: yes19:28
paul_5.3.019:28
Branwhat's a quick way to construct the IssueData data structed used to insert a new issue thru SOAP?20:07
escamoteurHi, I'm evaluating mantis at the moment. My question ist: Is the feature voting already implemented?20:56
escamoteurmotd21:04
paul_not currently21:04
escamoteurthat' sad, any Idea when this will be the case, or can it be simulated in some way?21:07
Brandoes anyone know a page that shows some examples of how to use mantis's SOAP API?22:25
nuclear_eclipseBran: my best suggestion is to look at Eclipse's Mylyn connector for Mantis22:26

Generated by irclog2html.py