giallu | nuclear_eclipse, no, I'm wondering myself; I suggest to send a mail to the authors. | 00:47 |
---|---|---|
*** Quits: giallu (~giallu@fedora/giallu) (Quit: Leaving) | 00:47 | |
*** Quits: micahg (~micah@ubuntu/member/micahg) (Ping timeout: 264 seconds) | 01:08 | |
*** Quits: wolog (~wolog@AOrleans-152-1-85-26.w90-21.abo.wanadoo.fr) (Remote host closed the connection) | 01:29 | |
*** Joins: bodie (~bodie@fcnoos-nd-fw01.freecode.no) | 02:38 | |
bodie | Hi all | 02:38 |
bodie | is excel_xml_export.php supposed do print something more then headers by itself? | 02:38 |
bodie | it looks like it's doing something similar like csv export plugin, but on my system it just prints headers, but csv plugin prints what is needed by default | 02:39 |
*** Joins: davidinc (~d5374b12@gateway/web/freenode/x-tcjonhucybvfzpzl) | 02:45 | |
*** Joins: wolog (~wolog@195.6.104.193) | 02:52 | |
*** Joins: sunny_pirate_ (~tws13@219.64.91.134) | 03:02 | |
sunny_pirate_ | hello, how do you create a road map in Mantis? | 03:02 |
*** Quits: sunny_pirate_ (~tws13@219.64.91.134) (Remote host closed the connection) | 03:03 | |
*** Joins: sunny_pirate_ (~tws13@219.64.91.134) | 03:05 | |
*** Quits: sunny_pirate_ (~tws13@219.64.91.134) (Read error: Connection reset by peer) | 03:05 | |
*** Quits: moto-moi (~hylke@cara.xs4all.nl) (Read error: Connection reset by peer) | 04:37 | |
*** Joins: moto-moi (~hylke@cara.xs4all.nl) | 04:39 | |
*** Quits: moto-moi (~hylke@cara.xs4all.nl) (Ping timeout: 260 seconds) | 04:46 | |
*** Quits: davidinc (~d5374b12@gateway/web/freenode/x-tcjonhucybvfzpzl) (Ping timeout: 252 seconds) | 05:04 | |
*** Joins: rolfkleef (~rolf@urtica.xs4all.nl) | 05:27 | |
*** Joins: kirillka (~Miranda@global01.vester.ru) | 05:39 | |
*** Joins: AzaToth (~azatoth@wikipedia/AzaToth) | 06:27 | |
*** Joins: fanno (~Morten@90.184.93.233) | 06:32 | |
*** Joins: davidinc (~d5374b72@gateway/web/freenode/x-cqopkdquamavygtu) | 07:23 | |
*** Joins: nuclear_eclipse_ (~jreese@cpe-65-27-219-71.cinci.res.rr.com) | 08:33 | |
*** Parts: bodie (~bodie@fcnoos-nd-fw01.freecode.no) | 08:35 | |
*** Joins: daryn (~INTERACT\@rrcs-76-79-4-2.west.biz.rr.com) | 09:14 | |
*** Quits: nuclear_eclipse_ (~jreese@cpe-65-27-219-71.cinci.res.rr.com) (Quit: Bai) | 09:15 | |
paul_ | yay, john left | 09:21 |
paul_ | davidinc: mo? | 09:22 |
*** Quits: daryn (~INTERACT\@rrcs-76-79-4-2.west.biz.rr.com) (Remote host closed the connection) | 09:22 | |
nuclear_eclipse | paul_: no I didn't ;) | 09:23 |
paul_ | bah | 09:23 |
*** Joins: daryn (~INTERACT\@rrcs-76-79-4-2.west.biz.rr.com) | 09:23 | |
paul_ | nuclear_eclipse: hate you | 09:24 |
paul_ | ! | 09:24 |
nuclear_eclipse | I know | 09:24 |
paul_ | so svn client in php | 09:24 |
paul_ | easy or not :P | 09:24 |
paul_ | also | 09:24 |
paul_ | i'm thinking about dropping the wingraphviz com object support | 09:24 |
nuclear_eclipse | paul_: haven't had the chance to look into it much yet | 09:24 |
paul_ | i'll look | 09:25 |
paul_ | it'll help me to hate you | 09:25 |
paul_ | :) | 09:25 |
nuclear_eclipse | at least you're up front about your hatred :P | 09:28 |
nuclear_eclipse | hooray for screen-inside-screen | 09:40 |
*** Quits: rolfkleef (~rolf@urtica.xs4all.nl) (Ping timeout: 265 seconds) | 09:46 | |
dhx_m | hi | 09:57 |
*** Quits: kirillka (~Miranda@global01.vester.ru) (Quit: kirillka) | 09:58 | |
nuclear_eclipse | hi dhx_m | 10:03 |
* nuclear_eclipse is upgrading to Lucid via 80x24 console :P | 10:03 | |
dhx_m | it seems Lucid hasn't been as popular as the last release? | 10:04 |
nuclear_eclipse | ? really? it seems to be all I've seen or heard about for the past couple weeks | 10:07 |
nuclear_eclipse | esp the uproar around the change in titlebar button positions about a month ago | 10:07 |
nuclear_eclipse | irssi is a bit cramped when it only gets 22 lines to display itself... =\ | 10:08 |
dhx_m | well maybe it was just the release time didn't coincide well with when people were awake | 10:09 |
nuclear_eclipse | perhaps | 10:09 |
dhx_m | from what I heard mirror operators weren't seeing as much traffic as last time | 10:09 |
nuclear_eclipse | I know the release yesterday was delayed | 10:09 |
dhx_m | it could be any number of reasons though (more mirrors, more reliance on torrents, delay, etc) | 10:09 |
nuclear_eclipse | I don't think many people realize there are mirrors available... =\ | 10:09 |
dhx_m | it's turning into the biggest Mac OS X ripoff in the world :p | 10:10 |
nuclear_eclipse | the worst traffic is probably from package updates, and I bet 98% of users don't ever use anything other than archive.ubuntu.com | 10:10 |
dhx_m | that'd probably be a round robin though | 10:10 |
nuclear_eclipse | only partially | 10:11 |
nuclear_eclipse | not all the mirrors are in the archive's rotation | 10:11 |
daryn | still no ati driver for my laptop :( | 10:11 |
nuclear_eclipse | mirrors.us.kernel.org being one of them, I'm getting significantly better performance on that mirror | 10:11 |
dhx_m | have you tried Gnome Shell yet? | 10:11 |
nuclear_eclipse | not recently | 10:11 |
nuclear_eclipse | last I tried was about 2.24 or 2.26 | 10:12 |
nuclear_eclipse | wasn't impressed | 10:12 |
nuclear_eclipse | I might actually get all the packages downloaded in less than an our from this mirror :) | 10:13 |
dhx_m | nah I meant Gnome Shell as in the new user interface for Gnome | 10:13 |
nuclear_eclipse | us.archive.ubuntu.com was saying it would be 2.5 *days*... | 10:13 |
dhx_m | it shares a lot in common with OS X when you move your cursor to the corner of the screen to show all the windows | 10:13 |
nuclear_eclipse | dhx_m: yep, I know, I wasn't impressed | 10:13 |
nuclear_eclipse | tries to simplify too much | 10:14 |
dhx_m | it doesn't work with multiple monitors | 10:14 |
dhx_m | makes it harder to open apps (more clicks) | 10:14 |
nuclear_eclipse | and it's still not technically the "new interface for gnome" since it's only an experiment, and no official plan to move away from metacity | 10:14 |
dhx_m | is frustrating to task switch, etc | 10:14 |
dhx_m | yep | 10:14 |
nuclear_eclipse | I'm much more impressed by the Netbook Remix interface if you're wanting a single-window-focus style | 10:15 |
dhx_m | they're heavily pushing zeitgest as well (a standardised "recently used" list across applications) | 10:15 |
dhx_m | that kind of thing could be useful | 10:16 |
nuclear_eclipse | yeah, assuming it works well enough that any old Gtk app can pick it up and have everything "just work", and I still haven't seen that happen | 10:16 |
dhx_m | although I tend to find things based on something I know about the item | 10:16 |
dhx_m | rather than remembering which day of the week I did something | 10:16 |
nuclear_eclipse | yeah, I can barely remember what day of the week today is... :P | 10:17 |
dhx_m | yep :) | 10:17 |
*** Joins: Kornel^aardvark (~kornel@fw1.aardvarkmedia.co.uk) | 10:18 | |
nuclear_eclipse | 20 minutes and I'm already 60% through the download phase :D | 10:18 |
dhx_m | sloooow! :) | 10:19 |
nuclear_eclipse | not slow for 1.4G of data on the busiest day for downloading packages of the year... :P | 10:20 |
nuclear_eclipse | I'm frankly quite amazed that I could find a mirror that would run this fast today | 10:21 |
dhx_m | a lot of them are sitting idle (mainly in Europe) | 10:21 |
Kornel^aardvark | Hello. I'm trying to make Mantis more CSS-friendly (#0011257 #0010034). Is there any preferred naming scheme for classes? Would you accept patch that replaces some layout tables with CSS? | 10:21 |
dhx_m | umu.se is 4gbps+ afaik (for example) | 10:21 |
nuclear_eclipse | dhx_m: question is then whether latency from there to here would kill that speed | 10:22 |
dhx_m | there are probably some 10gbps servers too now | 10:22 |
dhx_m | nuclear_eclipse: yep international transit is expensive so your ISP probably doesn't buy enough of it :) | 10:22 |
dhx_m | Kornel^aardvark: we're currently looking into redesigning the UI using HTML5/CSS3/jQuery/etc (ie. a modern interface) | 10:23 |
dhx_m | Kornel^aardvark: however I'd be happy to apply patches that add classes and ids to elements as needed | 10:23 |
daryn | Kornel^aardvark: i'm working on converting to template system (phptal). we don't really have a naming scheme so if you would like to offer one i'd be interested in taking a look | 10:24 |
Kornel^aardvark | daryn: That's awesome. I'm PHPTAL maintainer, BTW :) | 10:24 |
daryn | sweet! | 10:24 |
dhx_m | wow, great timing :) | 10:24 |
nuclear_eclipse | well, hi there, mr maintainer :P | 10:25 |
nuclear_eclipse | for php.net guy's in here, now phptal guy :) | 10:25 |
nuclear_eclipse | s/for/first | 10:25 |
Kornel^aardvark | dhx_m: is there some code written yet? (I don't see it in git) | 10:25 |
daryn | we better get this thing updated... | 10:25 |
* nuclear_eclipse cracks the whip at daryn | 10:26 | |
nuclear_eclipse | mush! | 10:26 |
* daryn grunts and pulls | 10:26 | |
daryn | Kornel^aardvark, large part of the problem is so much is printed throughout the codebase | 10:26 |
dhx_m | Kornel^aardvark: daryn did some initial work @ http://git.mantisforge.org/w/mantisbt/daryn.git?a=tree;f=templates/default;h=abb4f5f95e4263e149025eca7ac7e7951080edea;hb=refs/heads/phptal | 10:27 |
daryn | so, logic needs to be separated | 10:27 |
daryn | Kornel^aardvark, was a first attempt at moving from html_api functions that print to temporary template_api functions that just return the data | 10:28 |
daryn | was not complete a complete removal of printing in the code but got most of the layout functions for most of the pages converted to be able to use the layout template | 10:29 |
Kornel^aardvark | Perhaps first you could refactor existing PHP files to first collect data (in some array, object), and then output it? Just logic at top of the file, HTML at the bottom. | 10:30 |
daryn | yeah...dhx_m mentioned that yesterday | 10:30 |
Kornel^aardvark | it would be easier to go from that to templates by cutting off bottom part when ready | 10:30 |
dhx_m | Kornel^aardvark: I'd personally like to start using some draft HTML5 however... "Ian Hickson, editor of the HTML5 specification, expects the specification to reach the W3C Candidate Recommendation stage during 2012, and W3C Recommendation in the year 2022 or later." | 10:30 |
Kornel^aardvark | That's deadline for *complete* bug-free implementations. | 10:30 |
dhx_m | maybe it's a little early to rely upon HTML5 features (ie. <datalist> and friends) but we could implement some of the backwards compatible ones | 10:31 |
dhx_m | yep | 10:31 |
Kornel^aardvark | by Ian's criteria, HTML4 isn't ready yet. | 10:31 |
dhx_m | Kornel^aardvark: the main problem I have with our proposed migration to PHPTAL was to do with including templates | 10:32 |
dhx_m | Kornel^aardvark: I imagine many of the benefits of PHPTAL are lost when templates include each other over and over as you can no longer open up a page in a standard HTML editor and see the entire thing | 10:32 |
*** Joins: micahg (~micah@ubuntu/member/micahg) | 10:33 | |
dhx_m | so I guess we really need to be duplicating the code more than having dozens of small templates | 10:33 |
dhx_m | "duplicating" is a strong word for that though | 10:33 |
Kornel^aardvark | dhx_m: for such large system like Mantis I wouldn't even try. | 10:33 |
Kornel^aardvark | Many small templates may be needed, and I think that's fine. | 10:33 |
Kornel^aardvark | You might want to have main layout template (which contains headers/basic body layout) editable | 10:34 |
Kornel^aardvark | but it would probably be insane to try to cram all other layout elements all in one file | 10:34 |
dhx_m | yep for instance, the header and footer :) | 10:35 |
nuclear_eclipse | Kornel^aardvark: while you're here... | 10:35 |
nuclear_eclipse | one of the biggest additions to Mantis recently was plugins, which were designed ounder the current methods of echo everywhere you need output, any idea of a way to migrate that to templates without having to re-design the plugin system from scratch, or without requiring all-new plugins to be written? | 10:37 |
Kornel^aardvark | nuclear_eclipse: PHPTAL allows <?php ?> blocks that behave more or less like in raw PHP | 10:38 |
Kornel^aardvark | nuclear_eclipse: so you could probably use that for plugin hooks. Code echoed that way would work. | 10:38 |
dhx_m | Kornel^aardvark: are you aware of any other projects which are heavily using PHPTAL at the moment? | 10:38 |
Kornel^aardvark | and inside PHPTAL template there's $ctx object that's access point for template variables. | 10:39 |
nuclear_eclipse | ok, so if you had "<div><?php event() ?></div>" and event() ended up echo'ing at some point, it would put the output where it "belongs"? | 10:39 |
Kornel^aardvark | nuclear_eclipse: yes | 10:39 |
nuclear_eclipse | ok | 10:39 |
nuclear_eclipse | daryn: remember that :P | 10:39 |
daryn | i told you that yesterday...:P | 10:39 |
nuclear_eclipse | see?! | 10:39 |
nuclear_eclipse | I can't remember anything! | 10:39 |
daryn | :) | 10:39 |
daryn | but it is nice to have confirmation | 10:40 |
nuclear_eclipse | alternately, I might have not been paying attention, but if I don't remember it, it didn't happen | 10:40 |
daryn | lol...sounds like my wife | 10:40 |
Kornel^aardvark | I don't collect info about PHPTAL sites, so honestly I don't know. At aardvarkmedia we're using it for all new development, so e.g. squaremeal.co.uk is 95% PHPTAL, imbibe.com is 100% PHPTAL | 10:41 |
* nuclear_eclipse beats daryn with a rusty bat | 10:41 | |
daryn | my what violence | 10:42 |
dhx_m | Kornel^aardvark: OK thanks, was just asking to see if there were any good existing open source reference "implementations" | 10:43 |
paul_ | I'm still not convinced | 10:43 |
paul_ | out of interest | 10:43 |
paul_ | can you turn OFF the phptal support for php tags? | 10:43 |
paul_ | i.e. I'd like to allow users to define templates for emails for example | 10:44 |
Kornel^aardvark | paul_: no. PHPTAL assumes template author is trusted. | 10:44 |
paul_ | right | 10:44 |
paul_ | so if we want templated emails | 10:44 |
paul_ | we can't use phptal for the engine for that | 10:44 |
nuclear_eclipse | paul_: that's the same as any other template package, afaik | 10:44 |
dhx_m | paul_: afaik PHPTAL evals conditions anyway so it doesn't like like it's possible (PHPTAL would have to implement it's own PHP parser otherwise which is stupid :p) | 10:44 |
paul_ | nuclear_eclipse: well, only if you base it on php | 10:44 |
nuclear_eclipse | well, that's what I meant at least | 10:45 |
dhx_m | paul_: we could use it to generate HTML emails I think | 10:45 |
Kornel^aardvark | It's not hard to cut away support for <?php?> and php: syntaxes, | 10:45 |
Kornel^aardvark | but since this wasn't supposed to be secure at that level, I can't guarantee security there. | 10:45 |
paul_ | nuclear_eclipse: http://sourceforge.net/projects/quickskin/ | 10:46 |
nuclear_eclipse | dhx_m: oh noes! my upgrade has stalled at 97%! | 10:46 |
* nuclear_eclipse cries | 10:46 | |
paul_ | wondering whether that would work for email templates | 10:46 |
paul_ | it's at least by same people as phpmailer. | 10:46 |
Kornel^aardvark | paul_: also PHPTAL is for HTML/XML only. It would be painful for plaintext. | 10:46 |
paul_ | and just so you know | 10:47 |
Kornel^aardvark | it depends how configurable templates you want, and whether you want plaintext only, plaintext+html or HTML only | 10:47 |
dhx_m | paul_: just write our own plaintext email search-and-replace method :) | 10:47 |
nuclear_eclipse | sprintf ftw :P | 10:47 |
paul_ | i'm very much of the point atm that I don't really see the point of something like phptal for mantis | 10:47 |
Kornel^aardvark | you can do some metaprogramming in PHPTAL using macros | 10:47 |
paul_ | most of the core stuff builds itself from some config | 10:48 |
Kornel^aardvark | tal:repeat="macro macros_to_call" metal:use-macro="${macro}" | 10:48 |
paul_ | and the rest is in plugins | 10:48 |
nuclear_eclipse | :P | 10:48 |
paul_ | ;/ | 10:48 |
Kornel^aardvark | paul_: I understand you might be sceptic about PHPTAL, but I think separation of logic and presentation would be great. | 10:49 |
Kornel^aardvark | we're using mantis internally and want to cut out every UI feature that our customers don't use | 10:49 |
Kornel^aardvark | and add few own | 10:49 |
paul_ | for adding you can use plugins | 10:50 |
daryn | we've never been able to get paul_ to understand the point through many long discussions... | 10:50 |
Kornel^aardvark | e.g. time tracking currently looks awful (and it's not a plugin) | 10:50 |
paul_ | for turning off features - imo, that should be done via config | 10:50 |
dhx_m | paul_: I like this feature: http://phptal.org/manual/en/split/i18n-translate.html | 10:50 |
Kornel^aardvark | and we use pretty complicated CSS for that | 10:50 |
paul_ | nod, but you can turn off time tracking via a config item | 10:50 |
Kornel^aardvark | and what if I don't like having [ ] around half of the links? | 10:50 |
dhx_m | paul_: it lets us put full text messages within the template rather than vague language strings | 10:50 |
Kornel^aardvark | I want rounded CSS buttons, not ASCII art. | 10:50 |
nuclear_eclipse | but ascii art looks nice in elinks! | 10:51 |
dhx_m | Kornel^aardvark: the inbuilt time tracking system is something I'd love to deprecate in favour of TimeCard :) | 10:51 |
dhx_m | Kornel^aardvark: afaik we all want to use valid HTML/CSS (no unnecessary tables, ASCII link brackets, etc) | 10:52 |
paul_ | nod | 10:53 |
Kornel^aardvark | dhx_m: we've looked into such solutions and concluded that we've already got all our clients/projects and tasks in mantis db, so it's easier to extract reports from mantis, than to use another tool and copy all issues, etc. to it | 10:53 |
dhx_m | Kornel^aardvark: I think the main issue is working out if we need a template engine to achieve that | 10:53 |
dhx_m | although my main argument against the "let's just use <?php echo" argument is for loops... | 10:53 |
Kornel^aardvark | If you're not completely sold on PHPTAL, that's fine - if you separate logic from presentation, and even use plain PHP for templates, then others will be able to hook up template engines easily | 10:54 |
paul_ | my issue is more the point it's more | 10:54 |
paul_ | mantis seems to basically do | 10:54 |
dhx_m | paul_: see the last example in http://phptal.org/manual/en/split/tal-repeat.html and let me know if you can make it look better using plain PHP :p | 10:54 |
paul_ | check some config values | 10:54 |
paul_ | build some table | 10:54 |
paul_ | check for some plugin hooks for extra columns for above table | 10:54 |
paul_ | end | 10:55 |
paul_ | so if one said | 10:55 |
paul_ | "I want a template for that so that someone could convert table from table tags to divs+css" | 10:55 |
paul_ | as the things dynamic, I'm not sure: | 10:55 |
paul_ | a) whether the template ends up being <?phptal buildtable?> or something anyway | 10:56 |
paul_ | b) some horrendous template you can't actually edit to changes to divs | 10:56 |
dhx_m | paul_: what you'd do is generate the data in advance in a multi-dimensional array which is then outputted by the template | 10:56 |
paul_ | c) whether it's possible to actually convert the table to divs/css as positioning would be a nightmware as the template is dynamic | 10:56 |
daryn | paul_ isn't going to be convinced. we've talked for hours about this and nothing get's done... | 10:57 |
paul_ | :) | 10:57 |
Kornel^aardvark | and what if I wanted to have issue titles as links (on my_view_page.php)? would plugin hook be really appropriate for that? | 10:57 |
paul_ | daryn: the problem is i think of 'template' as something a user edits :P | 10:57 |
daryn | yes, that is the problem | 10:57 |
nuclear_eclipse | then stop thinking that way | 10:57 |
daryn | that isn't what we're talking about | 10:57 |
daryn | never has been | 10:57 |
nuclear_eclipse | template is something the site admin edits | 10:57 |
daryn | and we can still use the config to enable/disable features | 10:58 |
nuclear_eclipse | or site admin chooses from a set of existing templates even | 10:58 |
dhx_m | paul_: so if you want a grid like layout of fields as is the case currently on view.php, you'd make an array like $fields[row][column][] where the last part contains elements name, value, etc | 10:58 |
paul_ | nuclear_eclipse: I dont really see a site admin editing as we have a config value for everything under the sun | 10:58 |
dhx_m | paul_: the sorting of the fields for the grid output is done in PHP before the template engine is loaded | 10:58 |
nuclear_eclipse | paul_: I mean more for cosmetic differences, ie, to fit into a site's theme/layout | 10:59 |
Kornel^aardvark | paul_: it might be crazy to have config value for everything. Do you have config value for displaying project name as separate column on my_view_page.php? | 10:59 |
Kornel^aardvark | or config value for hiding print links? | 10:59 |
paul_ | Kornel^aardvark: we have a config value that defines what columns to show on my view page | 10:59 |
paul_ | that end users can personalise | 10:59 |
daryn | uh huh... | 10:59 |
dhx_m | paul_: that would roll over into a new system using templates | 10:59 |
nuclear_eclipse | Kornel^aardvark: don't bother trying to reason with him, it's hard enough for us to do that :P | 11:00 |
paul_ | for hiding print links - no - although there is a config value controlling whether things like usernames show up as links to emails :P | 11:00 |
* paul_ sits next to nuclear_eclipse | 11:00 | |
dhx_m | I'm banning all "print page" features if we move to using templates... that is what CSS stylesheets are meant to handle | 11:00 |
daryn | yah | 11:01 |
dhx_m | ie. you have a web display stylesheet and a print stylesheet for each page | 11:01 |
paul_ | yea, aka .print or whatever it is | 11:01 |
dhx_m | oh right, the print_ functions? | 11:01 |
daryn | those are going away too | 11:01 |
nuclear_eclipse | no | 11:01 |
daryn | oh, yes they are | 11:01 |
dhx_m | yep please kill them quickly :p | 11:01 |
dhx_m | most are useless | 11:01 |
daryn | i've removed the use of them in filter | 11:01 |
dhx_m | or could be replaced by a small template at least | 11:01 |
nuclear_eclipse | I just meant "no" in that print_* has nothing to do with formatting for a printer | 11:01 |
daryn | yah, macro | 11:01 |
nuclear_eclipse | would be better named echo_* | 11:02 |
nuclear_eclipse | or output_* | 11:02 |
Kornel^aardvark | paul_: if you had very neat markup and *lots* of display-oriented config options, then that would be pretty good for 90% of cases | 11:02 |
daryn | or null | 11:02 |
Kornel^aardvark | but this would also make your default HTML generation pretty complex (`if config-this-and-that` on every line) | 11:02 |
Kornel^aardvark | and some odd use-cases still wouldn't be possible | 11:03 |
paul_ | complex atm, or complex with a template engine? | 11:03 |
daryn | have you looked at our codebase? pretty is not in the vocabulary | 11:03 |
Kornel^aardvark | with a template engine, you can just tell people to tweak templates if they don't like something | 11:03 |
dhx_m | I think the general rule of thumb should be that users can select their desired template (traditional grid, fields-shown-in-a-sidebar) and can then select what information they see (which fields are shown) | 11:04 |
Kornel^aardvark | or eventually plugin hooks will turn into template engine :) | 11:04 |
dhx_m | ie. just keep it very simple | 11:04 |
paul_ | Kornel^aardvark: haha | 11:04 |
paul_ | yes ;p | 11:04 |
dhx_m | perhaps we could find a way to let template authors add template configuration options? | 11:04 |
paul_ | on the flip side to that | 11:04 |
paul_ | if we move to plugins more and more | 11:04 |
daryn | my plan is to have a default layout/style/page templates...then allow users to config a different template directory to override specific templates | 11:04 |
paul_ | and plugin authors are gonna do whatever | 11:04 |
dhx_m | in case they want to add fancy features to their templates that the user should be able to toggle | 11:05 |
paul_ | I wonder if people would use templates | 11:05 |
daryn | and plugins can use templates to insert also | 11:05 |
paul_ | or you know what i mean | 11:05 |
paul_ | The only thing I do wonder (and no disrecpect to phptal here) is whether phptal is the right choice of an engine if we want '1 engine fits all' | 11:05 |
Kornel^aardvark | I'm biased :) | 11:06 |
paul_ | And what I mean by that is | 11:06 |
paul_ | a) there's probably a case to say we should/must have template emails text/html | 11:06 |
Kornel^aardvark | it's certainly not good for plaintext emails and don't even try to use it there | 11:06 |
dhx_m | paul_: just look at the last example @ http://phptal.org/manual/en/split/tal-repeat.html | 11:06 |
paul_ | b) there's probably a case to say we might want to template mantis | 11:06 |
Kornel^aardvark | phptal for plaintext is as good as raw php for HTML :) | 11:06 |
dhx_m | paul_: that is what I call a clean template :) | 11:06 |
paul_ | c) I wonder if there's a case to say we should allow a user to define template for the bug report form | 11:06 |
daryn | they could do that anyway... | 11:07 |
daryn | well...the admin could | 11:07 |
Kornel^aardvark | You could make code PHPTAL-agnostic | 11:07 |
daryn | i'd say no to individual users | 11:07 |
dhx_m | paul_: that's like giving drivers control over the engine management system settings in their car via an in-dash LCD screen | 11:07 |
daryn | although we could provide various layouts and let the users choose between them | 11:08 |
dhx_m | paul_: it's wayyyy overkill :) | 11:08 |
Kornel^aardvark | user? no, but page admin would definitely like it | 11:08 |
dhx_m | there should be a focus on making it easy to customise templates | 11:08 |
Kornel^aardvark | I would love to have special bugreport page for some of the most technophobic clients we have | 11:08 |
dhx_m | ie. for a basic customisation of MantisBT most users would only want to change the header, footer and colour scheme | 11:09 |
dhx_m | what I mean is that we should reuse the same colours throughout where possible | 11:09 |
dhx_m | based off just a few settings | 11:09 |
dhx_m | rather than force them to set 500 CSS color: properties throughout all the templates | 11:10 |
Kornel^aardvark | things like color scheme are more CSS problem, than HTML template problem | 11:10 |
Kornel^aardvark | if you use class="bug-status-resolved" rather than td bgcolor=#123456 | 11:11 |
Kornel^aardvark | at most you'll have <style>.bug-status-resolved {background: ${bugcolor}}</style> in HTML templates | 11:11 |
dhx_m | yep | 11:15 |
dhx_m | I also like optional attributes @ http://phptal.org/manual/en/split/tal-attributes.html#optional-attrs | 11:16 |
Kornel^aardvark | Arrrgh. Globals are evil. I've moved HTML around in view_all_inc.php and print_all_bug_action_option_list() stopped working, because print_column_selection() has side-effect of setting global switch. | 11:29 |
dhx_m | Kornel^aardvark: yep, MantisBT's codebase is over 10 years old so there are some old outdated programming techniques within | 11:29 |
Kornel^aardvark | before moving to templates you really should have rule that print_* cannot have any side effects. | 11:29 |
dhx_m | Kornel^aardvark: the idea would be to remove print_ functions afaik | 11:30 |
dhx_m | Kornel^aardvark: or more precisely... change them into functions that prepare the right template variables | 11:30 |
daryn | hm... fyi, i'm working heavily on filter api including view_all_inc | 11:31 |
Kornel^aardvark | daryn: is it in git master? | 11:31 |
daryn | no...it's a major change so i'm planning to push to a branch for review hopefully by ... monday night | 11:32 |
*** Quits: davidinc (~d5374b72@gateway/web/freenode/x-cqopkdquamavygtu) (Ping timeout: 252 seconds) | 11:40 | |
*** Quits: wolog (~wolog@195.6.104.193) (Remote host closed the connection) | 11:58 | |
*** Quits: daryn (~INTERACT\@rrcs-76-79-4-2.west.biz.rr.com) (Ping timeout: 260 seconds) | 12:06 | |
*** Quits: micahg (~micah@ubuntu/member/micahg) (Read error: Operation timed out) | 12:23 | |
*** Joins: wolog (~wolog@AOrleans-152-1-85-26.w90-21.abo.wanadoo.fr) | 12:31 | |
Kornel^aardvark | thanks. cya | 12:39 |
*** Parts: Kornel^aardvark (~kornel@fw1.aardvarkmedia.co.uk) | 12:39 | |
*** Joins: daryn (~INTERACT\@rrcs-76-79-4-2.west.biz.rr.com) | 12:48 | |
*** Joins: micahg (~micah@ubuntu/member/micahg) | 14:09 | |
paul_ | moo | 15:24 |
paul_ | dhx_m / nuclear_eclipse btw | 15:25 |
paul_ | did i mention it's my bday today? | 15:25 |
nuclear_eclipse | happy bday | 15:25 |
daryn | bathday? | 15:25 |
daryn | jk, happy birthday | 15:26 |
paul_ | daryn: wanna die? | 15:31 |
daryn | :) | 15:31 |
paul_ | I need a new target from john :) | 15:31 |
daryn | big ocean to cross | 15:31 |
paul_ | not a problem | 15:32 |
daryn | like Dr. House says "Nebraska...like that's really a place" good luck finding me :) | 15:32 |
paul_ | anyway, yea, bday today | 15:33 |
daryn | so you make it to the pub yet? | 15:33 |
paul_ | ya | 15:34 |
paul_ | it's 8pm | 15:35 |
paul_ | pub was at 4pm | 15:35 |
paul_ | i've got beer here now | 15:35 |
paul_ | php.net guy hasn't been back has he? | 15:35 |
daryn | not that i know of | 15:36 |
paul_ | anyone seen siebrand recently | 16:03 |
siebrand | paul_: nope | 16:04 |
paul_ | k | 16:04 |
paul_ | siebrand: plan still same re langapi? | 16:04 |
paul_ | i.e. you can organise parsing array? | 16:04 |
siebrand | paul_: yep | 16:04 |
paul_ | kk | 16:04 |
paul_ | should I do initial convert? | 16:05 |
siebrand | paul_: lemme have a look at some of the details I'd like. | 16:05 |
paul_ | you around in say 1h from now to 10h from now? | 16:05 |
siebrand | paul_: unlikely. | 16:06 |
paul_ | (i'll be sleeping in between) | 16:06 |
siebrand | paul_: probably going to bed in 2h | 16:06 |
paul_ | ok let me play aoe with mate | 16:06 |
paul_ | then talk to you hopefulll | 16:06 |
siebrand | paul_: oki. | 16:06 |
siebrand | paul_: I think you converting everything would be best. | 16:07 |
siebrand | paul_: otherwise I'd have to do a lot of renaming. Importing whatever has changed is easier, I think. Expecting many key changes. | 16:07 |
siebrand | paul_: one thing I might want to do is run an export of the current translatewiki contents omitting everything tagged outdated. | 16:08 |
siebrand | paul_: that's currently in the files, but not tagged, so that information would be lost. Just throwing it out is the cleanest solution. | 16:08 |
siebrand | paul_: for a language like Romanian, that would for example mean that 31 of 930 translations would be removed. | 16:10 |
paul_ | siebrand: WELL, | 16:41 |
paul_ | I have this weekend + monday | 16:41 |
siebrand | paul_: that should work :) | 16:41 |
*** Quits: daryn (~INTERACT\@rrcs-76-79-4-2.west.biz.rr.com) (Remote host closed the connection) | 16:59 | |
*** Joins: Watergad (~Watergad@watergad.pereslavl.ru) | 17:25 | |
Watergad | excuse me, is it possible to manage system settings via web? | 17:26 |
Watergad | there is $g_set_configuration_threshold setting | 17:27 |
Watergad | commented with smth like users "MUST be trusted" | 17:27 |
Watergad | It is set to ADMINISTRATOR, I log in with ADM. access and I cant change settings, only view and delete is possible | 17:28 |
Watergad | I have to define "trusted" users somehow, or what should I do? | 17:29 |
nuclear_eclipse | Watergad: there should be a form at the bottom of teh Manage Configuration Report page that allows you to enter new configuration values into the database | 17:29 |
Watergad | oh | 17:29 |
Watergad | I see | 17:29 |
Watergad | Thanks | 17:29 |
Watergad | sorry for such a silly question | 17:29 |
Watergad | I expected for a button in the "actions" column and hadn't look below | 17:31 |
nuclear_eclipse | no worries :) | 17:31 |
Watergad | I'm trying to add custom access level | 17:35 |
Watergad | config file says: | 17:35 |
Watergad | "status from $g_status_index-1 to 79 are used for the onboard customization (if enabled) directly use MantisBT to edit them." | 17:35 |
Watergad | I'm quite confused where to do it | 17:36 |
Watergad | I was going to edit config.php as usual | 17:37 |
Watergad | but decided to try "directly use MantisBT" (: | 17:38 |
Watergad | I have to create option on the configuration page? | 17:39 |
Watergad | "access_levels_enum_string" and define the whole enumeration including standard access levels? | 17:40 |
nuclear_eclipse | if you want to add an access level, you need to copy $g_access_level_enum_string from config_defaults into your config_inc and edit that list to add the level in the appropriate place, and then copy $s_access_level_enum_string from strings/foo.txt into custom_strings_inc.php and add the display name of that access level there | 17:40 |
nuclear_eclipse | it's a bit confusing at first, and it's not documented well | 17:41 |
Watergad | I see, thanks | 17:41 |
Watergad | I've added custom statuses before, but I thought access levels are possible to manage via web by what I read | 17:42 |
Watergad | So if it's via configs too its ok | 17:43 |
* paul_ yawns | 17:50 | |
paul_ | siebrand: right, i'll just comit for now then | 17:50 |
*** Quits: fanno (~Morten@90.184.93.233) (Quit: Leaving.) | 17:53 | |
Watergad | thanks, nuclear_eclipse, I did just like you say | 17:58 |
Watergad | works fine | 17:58 |
Watergad | btw now I know that I must not silly edit lang file and what is custom_strings_inc for )) | 17:59 |
siebrand | paul_: sure. | 18:11 |
micahg | what's the stick option for? | 18:12 |
siebrand | zzz... | 18:12 |
Watergad | set/unset sticky? | 18:20 |
micahg | what does that mean in the context of a bugtracker though | 18:21 |
Watergad | these issues are always on top on the "view issues" page | 18:22 |
Watergad | useful for the important issue or smth like that | 18:22 |
Watergad | on mantisbt its used for the FAQ as I see | 18:23 |
micahg | Watergad: ah, ok thanks | 18:24 |
Watergad | AFAIK it doesn't affect any issue workflow, just "visual" feature | 18:24 |
*** Quits: micahg (~micah@ubuntu/member/micahg) (Read error: Operation timed out) | 18:26 | |
*** Quits: Watergad (~Watergad@watergad.pereslavl.ru) (Quit: Just left.) | 18:28 | |
paul_ | nuclear_eclipse: mo? | 18:37 |
*** Quits: scribe9343423 (~scribe934@mantisforge.org) (Remote host closed the connection) | 20:00 | |
*** Joins: scribe9343423 (~scribe934@mantisforge.org) | 20:00 | |
*** Quits: AzaToth (~azatoth@wikipedia/AzaToth) (Remote host closed the connection) | 20:42 | |
*** Joins: daryn (~INTERACT\@h244.67.29.71.dynamic.ip.windstream.net) | 22:17 | |
*** Quits: daryn (~INTERACT\@h244.67.29.71.dynamic.ip.windstream.net) (Client Quit) | 22:19 | |
*** Joins: daryn (~INTERACT\@h244.67.29.71.dynamic.ip.windstream.net) | 22:20 |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!