Saturday, 2011-09-24

*** Joins: giallu (~giallu@fedora/giallu)03:58
*** Quits: sezuan (bouncer@irc.scheff32.de) (Quit: ...)04:13
*** Joins: sezuan (bouncer@irc.scheff32.de)04:13
*** Joins: Paul24 (~IceChat09@2001:470:9310:aaaa:ddec:3829:5564:9b8c)04:34
dhx1Paul24: hey04:34
Paul24.04:35
dhx1Paul24: trying out XSLT for a new ExceptionHandler04:38
dhx1Paul24: you'd love it haha04:38
Paul24mm04:39
Paul24for display?04:39
dhx1yeah04:39
dhx1there is a .xsl file that transforms the XML structure of an exception into XHTML5, SOAP, etc output04:40
dhx1it'd also be possible to plug in other exception handlers for JSON, php-cli, etc04:41
dhx1(that don't use XML formatting)04:41
Paul24i still want to have a look at twig04:41
dhx1an .xsl file can also take parameters from PHP (and can even call PHP functions)04:42
dhx1so the XML structure of the page is content only - no language strings, settings, configuration, etc04:42
dhx1those are handled with parameters04:42
dhx1much cleaner to the user that way because the XML output is consistent, clean, simple, etc04:42
dhx1Paul24: one of the main advantages of XSLT is that the templates/stylesheets are XML compliant04:44
dhx1this is an advantage because it makes it easier to execute scripts on our templates to replace content on bulk, automatically perform testing/checking for consistency, etc04:45
Paul24if you've got an xml script that is but yea04:46
Paul24[btw, i'd still like to look at 'twig' for email templates for endusers due to it's sandboxing stuff]04:46
dhx1well XSLT could be used to work with templates on a bulk/scripted basis04:46
dhx1whereas we'd have a trickier time with non-compliant markup like PHP templating, TWIG, etc04:47
dhx1XSLT again solves that issue - we specifically give each template a set of data to work with... it doesn't have access to the entire PHP "session" (globals, etc)04:48
dhx1so each page load of MantisBT performs instructions in this order:04:49
dhx11) perform access/data validation/sanity checks04:49
dhx12) perform actions (write to database, etc)04:50
dhx13) retrieve data to display to the user04:50
dhx14) build an XML structure of the data being returned04:50
dhx15) build a list of parameters/configuration settings/etc that the template needs04:50
dhx16) transform the XML structured data using the specified template04:51
dhx17) return the transformed output to the user04:51
dhx1I should have specified that HTML headers and so forth are handled right before output... giving us maximum possible time to add/remove/replace headers as needed04:51
dhx1this is important for error handling where we want full control over headers being returned04:52
dhx1at the moment an error could occur after we've called header() a few times... and we're forced to use those headers that have already been sent (even if they break the error page)04:52
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 260 seconds)06:24
*** Quits: siebrand (~siebrand@5353A6DC.cm-6-4c.dynamic.ziggo.nl) (Quit: siebrand)06:55
*** Quits: hardyNH (~hardyNH@c-24-128-108-178.hsd1.nh.comcast.net) (Quit: www.GaryJohnsonGrassRoots.com)07:36
Paul24dhx1: you still around?08:46
dhx1Paul24: yeah08:46
Paul24when you off?08:47
*** Joins: dregad1_ (~damien@98-251.76-83.cust.bluewin.ch)08:47
dhx1Paul24: trying to finish up my new exception handler :)08:47
Paul24I still think this is wrong approach or well08:48
dhx1Paul24: working on creating a detailed stack trace representation (+ pretty printed)08:48
dhx1Paul24: having individual exception classes, XSLT stuff, or both?08:48
Paul24well, doing it 'now'08:49
dhx1ah, more important things to do?08:52
Paul24yea :P08:53
Paul24I'm more interested to see where my playing with trying to make objects takes things08:53
dhx1oohh major rework08:54
dhx1IMO most things need to be done from scratch08:54
dhx1there is little point trying to hack the old code into OO08:55
dhx1just create new classes side-by-side with the existing code08:55
dhx1and slowly transition across to new classes08:55
*** Quits: dregad1_ (~damien@98-251.76-83.cust.bluewin.ch) (Read error: Connection reset by peer)09:03
*** Joins: dregad1 (~damien@98-251.76-83.cust.bluewin.ch)09:08
*** Joins: siebrand (~siebrand@188.200.34.66)09:14
dregad1hi everyone09:22
dhx1dregad: hi09:23
dhx1dregad1: hi09:23
dregad1dhx1: thanks for catching the ?> I inadvertantly deleted09:24
dhx1:)09:24
dregad1got sidetracked at work as I was testing the change, and when I got back I thought I had finished, but I had only done 1.2 :-/09:24
*** Quits: siebrand (~siebrand@188.200.34.66) (Ping timeout: 255 seconds)09:24
dhx1no worries09:26
dregad1sloppy though..09:26
dregad1Paul24: not sure if you saw my update following your comment in http://www.mantisbt.org/bugs/view.php?id=12544#c2969509:27
dregad1Paul24: do you think you'll be able to push your changes to master or next?09:28
*** Joins: siebrand (~siebrand@188.200.34.66)09:30
*** Quits: dregad1 (~damien@98-251.76-83.cust.bluewin.ch) (Ping timeout: 255 seconds)09:53
*** Joins: dregad1 (~damien@98-251.76-83.cust.bluewin.ch)09:55
GitHub45[mantisbt] dregad pushed 1 new commit to master: http://git.io/IcyqNA10:03
GitHub45[mantisbt/master] Enhanced plugin_config_get() function - Dominik Blunk10:03
GitHub91[mantisbt] dregad pushed 1 new commit to master-1.2.x: http://git.io/6GiA1w10:03
GitHub91[mantisbt/master-1.2.x] Enhanced plugin_config_get() function - Dominik Blunk10:03
*** Quits: dregad1 (~damien@98-251.76-83.cust.bluewin.ch) (Quit: Ex-Chat)10:03
*** Joins: giallu (~giallu@fedora/giallu)10:28
*** Quits: giallu (~giallu@fedora/giallu) (Ping timeout: 256 seconds)10:47
*** Joins: giallu (~giallu@fedora/giallu)11:01
*** Joins: JonMarkGo (~Jon@ool-18bfe16f.dyn.optonline.net)11:28
*** Joins: hippyjim (~chatzilla@82.71.235.93)12:48
hippyjimhi all - irc noob here, looking for some help with setting up svn integration in mantisbt on a windows server12:50
hippyjimi have a windows xp server, running mantis 1.2.6, and the latest version of the source control integration plugin. websvn is installed & happy, using local paths to read the repo from the same server. i tried several different ways to config the repo settings on mantis, but each time i try to import, I get 0 changesets. no errors or indication of the problem. tried both using the file paths...12:54
hippyjim...to the repo, and also using the https url. anyone got any suggestions either how to diagnose, or what the problem is?12:54
hippyjimI don't wish to be rude could someone acknowledge the question - or am I not using irc right?13:00
*** Quits: siebrand (~siebrand@188.200.34.66) (Ping timeout: 248 seconds)13:02
hippyjimok, can anyone suggest a web forum i can use for this? all my google seraches find are the same few blogs with basic howtos. i can't keep irc open very long as i share this pc13:09
hippyjimok, well thanks all for reading. not sure if it's my irc client, or if you're all just too busy being creative somewhere else. i give up now13:11
*** Quits: hippyjim (~chatzilla@82.71.235.93) (Quit: ChatZilla 0.9.87 [Firefox 6.0.2/20110902133214])13:12
*** Quits: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au) (Remote host closed the connection)15:22
*** Joins: kirillka (~Miranda@129-66-52-95.baltnet.ru)16:14
*** Quits: [KK]Kirill (~Miranda@239-64-52-95.baltnet.ru) (Ping timeout: 248 seconds)16:18
*** Quits: JonMarkGo (~Jon@ool-18bfe16f.dyn.optonline.net) (Ping timeout: 276 seconds)19:39
*** Quits: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de) (Remote host closed the connection)20:00
*** Joins: scribe9343423 (~scribe934@static.96.23.63.178.clients.your-server.de)20:00
*** Quits: Paul24 (~IceChat09@2001:470:9310:aaaa:ddec:3829:5564:9b8c) (Quit: IceChat - Keeping PC's cool since 2000)20:46
*** Quits: tsnfoo (~fulekia@ws-imac27.test.denison.edu) (Quit: tsnfoo)22:09
*** Joins: tsnfoo (~fulekia@ws-imac27.test.denison.edu)22:10
*** Joins: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au)22:43
*** Joins: mgomez244 (be374c68@gateway/web/freenode/ip.190.55.76.104)23:20
mgomez244hi all23:21
*** Quits: mgomez244 (be374c68@gateway/web/freenode/ip.190.55.76.104) (Client Quit)23:22

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