Friday, 2012-08-10

*** Joins: dregad (~dregad@155.250.128.35)00:07
*** Joins: kirillka (~Miranda@195.242.142.17)01:39
*** Joins: Paul_46 (~IceChat09@cpc1-enfi15-2-0-cust580.hari.cable.virginmedia.com)02:05
GitHub164[mantisbt] dregad pushed 1 new commit to master-1.2.x: http://git.io/VGhdPw02:17
GitHub164[mantisbt/master-1.2.x] Fix #14574: MSSQL server 2005 as minimum version - Damien Regad02:17
GitHub184[mantisbt] dregad pushed 1 new commit to master: http://git.io/2f9TVw02:17
GitHub184[mantisbt/master] Fix #14574: MSSQL server 2005 as minimum version - Damien Regad02:17
Paul_46dregad: why?02:19
dregadbecause it does not work properly with earlier versions02:19
Paul_46tbh, i'd make 2008 the min02:21
Paul_46as 2005 is in extended support phase and mainstream support phase ended august 201102:21
dregadwell02:21
dregadwe still have PHP 5.1 as minimum, so :/02:22
Paul_46we have 5.3.2 in next/202:22
Paul_46:)02:22
dregadhttp://mantisbt.org/docs/master-1.2.x/en/administration_guide/admin.install.requirements.html#ADMIN.INSTALL.REQUIREMENTS.SOFTWARE.VERSIONS02:22
dregadI should probably update the databases section to clearly indicate that everything except MySQL has issues :P02:23
Paul_46i should make my branch push here if i haven't already02:26
* Paul_46 checks02:26
Paul_46shame we dont have a config_Get_bug function02:30
dregad?02:30
Paul_46well02:32
Paul_46config_get_for_bug_id02:32
Paul_46to save all the project override stuff02:33
Paul_46i.e. we basically do:02:35
Paul_46if ( $tpl_bug->project_id != helper_get_current_project() ) {02:35
Paul_46$g_project_override = $tpl_bug->project_id;02:35
Paul_46}02:35
Paul_46access_ensure_bug_level( config_get( 'update_bug_threshold' ), $f_bug_id );02:35
Paul_46in some cases we add a config_flush in the middle02:35
Paul_46dregad: I pushed updated branch btw02:40
dregadwhat's new ?02:41
Paul_46stuff ;/02:41
Paul_46it's still a work in progress02:41
dregadi think I found the problem with attachment upload we discussed a couple days ago02:44
dregadgoing from db_query to db_query_bound corrupted attachments02:44
dregadit was caused by use of db_prepare_binary_string which quoted the data02:45
dregadnot it seems to work02:45
dregadbut the db_prepare function is still needed to properly encode the file contents on pgsql02:46
dregadthere is also some encoding for mssql, but i have no idea if that's valid or not, and if it needs to be changed as I cannot test02:46
dregadPaul_46: re updating DB support doc, wdyt of02:49
dregadNote: There are known issues with all of the above platforms except MySQL; moreover, you should be aware that support for DB2, SQL server and Oracle is limited.02:49
Paul_46i'd say so02:50
Paul_46re the note02:50
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 276 seconds)02:50
Paul_46problem is, we worked out adodb is broken, decided to replace it, then started working on fixing adodb02:51
Paul_46so i've got no idea whats broken/works now02:51
Paul_46:/02:51
Paul_46before dhx removed the custom patches we had for pgsql/mssql both of those worked fine02:52
GitHub76[mantisbt] none pushed 3 new commits to master-2.0.x: http://git.io/mYmCcQ02:57
GitHub76[mantisbt/master-2.0.x] oops - Paul Richards02:57
GitHub76[mantisbt/master-2.0.x] fix undefined array error - Paul Richards02:57
GitHub76[mantisbt/master-2.0.x] remove unused variable - Paul Richards02:57
Paul_46dregad: cool that works02:57
GitHub20[mantisbt] grangeway pushed 1 new commit to master-2.0.x: http://git.io/hn58Ug02:57
GitHub20[mantisbt/master-2.0.x] helper_get_current_project handles the check for project_override internally - Paul Richards02:57
dregadwhat, the notices from github to IRC ?02:59
Paul_46ya02:59
*** Joins: giallu (~giallu@fedora/giallu)03:06
*** Joins: giallu_ (~giallu@fedora/giallu)03:35
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 246 seconds)03:38
*** giallu_ is now known as giallu03:38
GitHub110[mantisbt] grangeway pushed 1 new commit to master-2.0.x: http://git.io/ACUKOw03:40
GitHub110[mantisbt/master-2.0.x] the project id passed to version_get_id should be for the current bug in the loop as we may pass in ALL_PROJECTS - Paul Richards03:40
GitHub192[mantisbt] grangeway pushed 1 new commit to master-2.0.x: http://git.io/lGTN2Q03:40
GitHub192[mantisbt/master-2.0.x] remove non-required trim statement - Paul Richards03:40
GitHub120[mantisbt] dregad pushed 1 new commit to master: http://git.io/hekksA04:13
GitHub120[mantisbt/master] Documentation: RDBMS support note - Damien Regad04:13
GitHub125[mantisbt] dregad pushed 1 new commit to master-1.2.x: http://git.io/GAslzQ04:13
GitHub125[mantisbt/master-1.2.x] Documentation: RDBMS support note - Damien Regad04:13
GitHub124[mantisbt] grangeway pushed 1 new commit to master-2.0.x: http://git.io/treoig04:19
GitHub124[mantisbt/master-2.0.x] 1) throw exception in both case - Paul Richards04:19
GitHub165[mantisbt] grangeway pushed 1 new commit to master-2.0.x: http://git.io/n5Iwgg04:35
GitHub165[mantisbt/master-2.0.x] email api should use config_get to retrieve $g_path and not the global directly - Paul Richards04:35
Paul_46dregad: is bug -> build a string ?05:15
dregadI think so yes05:16
Paul_46if ( user_exists( $t_existing_bug->reporter_id ) ) {05:33
Paul_46bug_monitor( $f_bug_id, $t_existing_bug->reporter_id );05:33
Paul_46}05:33
Paul_46if ( user_exists ( $t_existing_bug->handler_id ) ) {05:33
Paul_46bug_monitor( $f_bug_id, $t_existing_bug->handler_id );05:33
Paul_46}05:33
Paul_46bug_monitor_copy( $f_bug_id, $t_updated_bug->duplicate_id );05:33
Paul_46do the first 4 lines of that code block look redundant ;/05:33
Paul_46or in fact, maybe wrong05:34
Paul_46bug_monitor_copy copies monitor's from bug id to updated bug id05:35
Paul_46so if you add a duplicate relationship to a bug, it automatically adds someone as a monitor of both bugs05:35
* Paul_46 ponders05:35
dregadthere is a difference05:49
dregadthe reporter and developer working on the old bug (being copied) may not (and likely will not) be the same as the target bug05:49
dregadso you want to add them to monitor list05:50
dregadmakes sense to me05:50
Paul_46but we add them to the monitor list of the existing bug05:56
Paul_46and we do it wouthout checking permissions05:57
Paul_46so if a permission is set such that a reporter can not monitor a bug05:57
Paul_46as soon as you clone the bug they are a monitor05:57
dregadi thought $f_bug_id was the new bug, since you had $t_existing_bug as the old one06:00
dregadbut you're right about permission check06:01
Paul_46i'm not 100% sure what the correct behaviour should be06:03
Paul_46i'd *like* to move access_has_bug_level( config_get( 'monitor_bug_threshold' ), $f_bug_id ) inside bug_monitor06:03
Paul_46was what I was evaluating06:04
dregadwas going to suggest that actually06:06
Paul_46but that would break this behaviour :P06:06
dregadcurrent user should also have monitor_add_others_bug_threshold i guess06:07
dregadwhy would it break the behavior, I don't follow you06:07
Paul_46well, in bug_reminder.php we add recipients via bug monitor if they are not handler/reporter, have monitor_bug_thrteshold and reminder_recipients_monitor_bug is on06:08
Paul_46in bug_monitor we add if monitor_bug_threshold is met if yourself, and monitor_add_others_bug_threshold is met otherwise06:09
Paul_46in bug_update.php we add reporter/handler to two bug, if you set up a duplicate06:10
Paul_46and we do similar stuff in bug_copy and bug_resolve06:11
dregadthe user list in bug_reminder is driven by bug_reminder_threshold which I guess should not be allowed to be lower than monitor_bug_threshold06:12
Paul_46if you sponsor an bug you also automatically get added as a monitor06:12
Paul_46so we've got 4-5 different ways you could get to monitor a bug06:13
Paul_46and they all check different types of access levels06:13
* Paul_46 sighs06:16
* Paul_46 just sighs06:16
Paul_46so what we should really have is a 'notifications to sponsors' of an issue06:18
Paul_46:)06:18
dregadwell, depends06:18
dregadin the current way, if a sponsor no longer wants to receive notifications, they can unmonitor the issue, while maintaining sponsorship06:18
dregadit's all centralized under a single functionality for monitoring06:19
Paul_46but then maybe they should have to sign up for notifications06:19
Paul_46i.e. if you sponsor an issue, you just sponsori t06:19
Paul_46if you want to get notifications/udpates you monitor it06:19
Paul_46where the monitor part checks you have permissions to add monitro06:20
Paul_46you know, two screens06:20
Paul_46"you've sponsored issue for 4$, would you also like to receive updates on this issue via email?"06:20
Paul_46yes/no06:20
dregadguess you're right06:21
dregadone more screen ;)06:21
Paul_46this is why i'm not too fussed about the "past"06:22
Paul_46as atm, there's a whole host of config options06:22
Paul_46that kick in in minor places06:22
Paul_46so you can have a plugin/config/access check via route A, and you can in some cases achieve the same task via route B with a completely different set of checks/plugins etc06:22
Paul_46the soap api is probably partly a case in point06:23
Paul_46some of the ui options atm another06:23
*** Quits: kirillka (~Miranda@195.242.142.17) (Quit: kirillka)07:14
*** Quits: dregad (~dregad@155.250.128.35) (Quit: Ex-Chat)08:00
GitHub61[mantisbt] rombert pushed 1 new commit to master-1.2.x: http://git.io/j3mH_A14:47
GitHub61[mantisbt/master-1.2.x] Fix #14558: Monitors get lost when calling mc_issue_update via SOAP  - Robert Munteanu14:47
GitHub70[mantisbt] rombert pushed 1 new commit to master: http://git.io/f44M2w14:47
GitHub70[mantisbt/master] Fix #14558: Monitors get lost when calling mc_issue_update via SOAP  - Robert Munteanu14:47
*** Joins: romer628 (~romer628@ip-64-134-181-135.public.wayport.net)16:02
*** Quits: romer628 (~romer628@ip-64-134-181-135.public.wayport.net) (Quit: Leaving.)16:09
*** Quits: Paul_46 (~IceChat09@cpc1-enfi15-2-0-cust580.hari.cable.virginmedia.com) (Quit: When the chips are down, the buffalo is empty)16:45
*** Quits: sdfjkljkdfsljkl (~sdfjkljkd@static.96.23.63.178.clients.your-server.de) (Remote host closed the connection)17:00
*** Joins: sdfjkljkdfsljkl (~sdfjkljkd@static.96.23.63.178.clients.your-server.de)17:00

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