Wednesday, 2013-04-10

*** Quits: micahg (~micahg@ubuntu/member/micahg) (Ping timeout: 255 seconds)01:24
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 252 seconds)04:09
*** Joins: giallu (~giallu@fedora/giallu)06:48
*** Quits: kirillka (~Miranda@195.242.142.17) (Quit: kirillka)06:59
GitHub66[mantisbt] dregad pushed 2 new commits to master-1.2.x: http://git.io/hwQnnQ08:50
GitHub66mantisbt/master-1.2.x 2cbd52d Damien Regad: Revert "Fix #2971: add reminder events to the bug history"...08:50
GitHub66mantisbt/master-1.2.x 5683625 Damien Regad: Create reminder bugnote even if no message text provided...08:50
GitHub106[mantisbt] dregad pushed 2 new commits to master: http://git.io/1-HiDw08:50
GitHub106mantisbt/master 0ff9acd Damien Regad: Revert "Fix #2971: add reminder events to the bug history"...08:50
GitHub106mantisbt/master 49406e5 Damien Regad: Create reminder bugnote even if no message text provided...08:50
*** Joins: paulr__ (~IceChat09@cpc5-enfi19-2-0-cust776.20-2.cable.virginmedia.com)08:55
*** Joins: jasonr (454c00b2@gateway/web/freenode/ip.69.76.0.178)10:21
jasonrIs is possible to search for multiple bug ids at once from the View Issues screen?10:22
*** Quits: jasonr (454c00b2@gateway/web/freenode/ip.69.76.0.178) (Ping timeout: 245 seconds)10:31
*** Joins: micahg (~micahg@ubuntu/member/micahg)14:27
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 252 seconds)15:38
*** Joins: dregad (~dregad@127-233.193-178.cust.bluewin.ch)15:46
dregadpaulr__: moo15:48
paulr__dregad!15:48
paulr__atrol made me checkout 1.2.14 ;/15:48
dregadWoot!15:48
paulr__did you just see my reply to his reply?15:49
dregadNot yet just came home after dinner at friend's place15:49
paulr__cool15:49
paulr__you dont hate me yet then :P15:49
paulr__http://sourceforge.net/mailarchive/forum.php?thread_name=CAA2mj%3DdTdS3nE1JNCVNckNfUjPv%3DDssHFTGAbmacPatmM7ouRQ%40mail.gmail.com&forum_name=mantisbt-dev15:50
dregadOoooo15:50
* dregad fires up newsreader15:51
paulr__short version: atrol said he started thinking about context, then thought "that'll just delay a 2.x"15:51
paulr__my response was to start reviewing our use of config_get to find examples of why I dislike the current approach :)15:52
dregadNo reason for hate15:56
paulr__with the push/pop concept, you could even make add a pop to the end of html_end()15:57
paulr__and look for non-empty arrays15:57
paulr__i.e. insist that anything gets pop'd15:58
paulr__and throw an exception in developer mode if something does't15:58
dregadWhat happens if context not set? Current user/project?15:58
paulr__you'd make auth etc set a context15:59
paulr__so it was always set to something15:59
paulr__even if it was set to 'any_project'15:59
paulr__you could basically make bug_is_read_only something like try { context_set(bug->project); if access_check_threshold( 'read only' ) (true ) else (false) catch () finally ( context_pop(); ) return true|false16:02
paulr__and if the context set arrays are greater then 0 or 1 (Depending how you look at it) at end of a page request or whatever, you could consider that a code error16:03
paulr__so it would probably be quite easy to make sure that we remembered to cmoe out of the context at appropriate points16:04
dregadMakes sense i guess16:05
dregadBut what about atrol's point that concept of context applies to other things than user/project?16:06
paulr__yes16:07
paulr__whilst I didn't write it, lang_push  / lang_pop would be something obvious to mvoe to that model16:07
paulr__(albeit, with the locale stuff that dhx did it's slightly different probably, but)16:07
paulr__apart from user, lang and project I can't think of anything that we do that would be candidates16:08
paulr__maybe timezone16:08
paulr__and thinking about it16:09
paulr__language/timezone are not needed16:09
paulr__at least, you'd probably want to look up language/timezone from a user16:09
paulr__however, in any case, user,lang,project,timezone would be the things that I think might vary16:09
dregadNot familiar with new locale stuff but lang is derived from user, and sometimes needs to fall back to default16:11
dregadTimezone is strictly user-dependent16:11
paulr__the only time you need to change timezone/language is for displaying information to users16:12
paulr__anyway, am i right that my two exampples are bugs that need fixing?16:12
dregadDunnoneed tocheck in detail16:22
dregadRight now i'd rather focus on 1.2.1516:22
paulr__they 1.2.15 bugs :P16:25
paulr__with access checks not working right :p16:26
paulr__could allow a user in one project to edit stuff in a different project ;p16:26
paulr__maybe ;p16:26
paulr__right no though, I need sleep as it' 00:3016:26
paulr__so nn16:26
dregadWait16:27
paulr__:(16:27
dregadHey its 1.24 for me :P16:27
paulr__your clock is wrong16:27
dregadNo its not i'm CEST16:28
paulr__p.s. expect next commit from me to probably be the context idea ;p16:28
paulr__yea, but it's 1.28 in cest i think16:28
dregadAbout the reminders16:28
paulr__not 1.2416:28
dregadGimme a break16:28
paulr__:)16:28
paulr__you did walk into that though ;p16:29
paulr__anyway, reminders16:29
dregadRe: |a|b|c|16:29
dregadI know its a hack16:29
dregadBut do you see any other way?16:29
paulr__well, I can't actually see someone sending a reminder to 50 people :P16:30
* dregad thinks he should actually change 50 to 1016:30
paulr__so personally, i'd probably rather a limit of say 30 people [and see if anyone complains]16:31
paulr__then the hack on the length16:31
paulr__(if people are really sending reminders to 50 people16:31
paulr__what that says to me is we really really really really need a 'group concept'16:31
paulr__which we dont have, have never decided best way to implement etc16:32
dregadFollowing throuhg on vctor's idea, that number should be a config option16:32
dregadWhich makes sense16:32
dregadBut if we leave it open we do need the safety check of the hack16:33
paulr__I can think of like 4 times you'd use a mail/reminder thing:16:33
paulr__a) to poke an individual16:33
paulr__b) to poke the 'developer' team of a project [aka group support]16:33
paulr__c) to poke anyone linked to a bug16:33
paulr__in case of c, you'd probably just add a bug note16:34
paulr__you'd use b to say, poke all of us on a security issue16:34
paulr__and a, would be the 'can you look at this'16:34
dregadGroup support - now THAT's a killer user benefit for next release16:35
paulr__so in a way, only reason you need a config/option/hack is because you don't have groups ;p16:35
dregadWhat about d) ? You mention 4 cases16:35
paulr__which makes me think there's probably little point adding a config option, and just adding a hard limit of 51-X to avoid the truncation issue16:36
paulr__and tbh, I dont think I got to 4 :P16:36
dregadBut X depends on length of user ids...16:37
paulr__[side note: group support should be easy to add, as i'd probably say what you'd want to do is add make config_get more complicated by adding 'group' as an option and you'd be a good step there]16:37
paulr__if user id's are linked to autonumber field and padding is irrelevant, 5-6 is gonna be max number of digits16:38
paulr__so 6+| = 716:38
paulr__255/7 = 3616:38
paulr__==> 30 people on a reminder :)16:38
paulr__which is quite similar to number I randomnly pulled out air earlier16:39
dregad30 is still too high imo16:39
paulr__I need to go to bed16:40
paulr__but yea, pick a number16:40
dregadBut anyway capping max recipients is the only alternative16:40
paulr__all i'm thinking is it seems silly to rely on effectively an extra comma to identify a truncation16:40
paulr__would almost be better just doing |T|1|2|3|16:41
paulr__if 'T' appears in string, truncated16:41
paulr__or something16:41
paulr__but i'm still thinking it's getting random and messy for something that i'd really like to know if anyone has hit16:41
paulr__(if you use 'reminders' to make up for the fact we miss a 'send email to all users' feature, that's a case of needing to add that feature not fix reminders16:42
paulr__and if you assume that the point of sending a reminder is to ask someone to update an issue16:43
paulr__asking 30 people to update an issue is gonna generate lots of bug notes16:43
paulr__anyway, i'm running :)16:43
paulr__nn16:43
dregadCiao16:43
*** Quits: paulr__ (~IceChat09@cpc5-enfi19-2-0-cust776.20-2.cable.virginmedia.com) (Quit: Depression is merely anger without enthusiasm)16:43
GitHub39[mantisbt] dregad pushed 1 new commit to master: http://git.io/bb7U5A17:11
GitHub39mantisbt/master d95eeae Damien Regad: Revised reminder_list_truncated string...17:11
GitHub35[mantisbt] dregad pushed 1 new commit to master-1.2.x: http://git.io/l3rHaw17:11
GitHub35mantisbt/master-1.2.x bb6b113 Damien Regad: Revised reminder_list_truncated string...17:11
*** Quits: dregad (~dregad@127-233.193-178.cust.bluewin.ch) (Quit: Bye)17:24

Generated by irclog2html.py 2.10.0 by Marius Gedminas - find it at mg.pov.lt!