*** Quits: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au) (Read error: Connection timed out) | 01:22 | |
*** Joins: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au) | 01:22 | |
*** Joins: daryn (~daryn@h239.83.88.75.dynamic.ip.windstream.net) | 01:26 | |
dhx1 | daryn: hey :) | 01:26 |
---|---|---|
daryn | mornin | 01:26 |
daryn | https://github.com/tmaiaroto/li3_access | 01:26 |
dhx1 | have been looking at XSLT templates (used by Symphony CMS) | 01:26 |
daryn | uhg... | 01:27 |
dhx1 | seems OK to me? :) | 01:28 |
daryn | ya | 01:28 |
dhx1 | better option that PHPTAL I think | 01:29 |
dhx1 | in the sense that it is a more widely accepted standards | 01:29 |
daryn | right | 01:29 |
dhx1 | doing much the same work | 01:29 |
dhx1 | li3_access seems quite abstract to me | 01:31 |
dhx1 | adapters, objects, etc | 01:31 |
daryn | i just happened to see it has a roles based adapter | 01:31 |
dhx1 | $result = Access::check('test_check', $guest, $request, array('checkSession' => false)); | 01:32 |
dhx1 | seems like decent syntax | 01:32 |
dhx1 | there are a few issues I've seeen, i18n support is lacking, example" | 01:34 |
dhx1 | throw new ConfigException("Configuration `{$name}` has not been defined."); | 01:34 |
daryn | what is the difference between g11n and i18n? | 01:34 |
daryn | i have translations working by the way | 01:35 |
dhx1 | this was inside li3_access... so we'd need to work out how to translate those error messages better | 01:35 |
daryn | that should be easy | 01:36 |
dhx1 | not sure what g11n (globalisation) is meant to be | 01:36 |
dhx1 | they're all just silly acronyms meaning much the same thing | 01:37 |
dhx1 | typically though, i18n = translations, l10n = unit conversions, currency | 01:37 |
daryn | does translations, validation, currency, and dates | 01:37 |
daryn | G11n data is not just translated messages, it's validation rules, formats and a lot more, too. Data is grouped into 4 different kinds of categories: inflection, validation_, message and list. | 01:37 |
daryn | from the docs | 01:38 |
dhx1 | hmm ok | 01:38 |
daryn | i think inflection is not implemented yet | 01:39 |
dhx1 | validation can be quite complex... for instance, selecting the Unicode code page to validate against, etc | 01:39 |
dhx1 | most people just use loose validation rules for Unicode so that you can mix and match English, Russian, Chinese, etc scripts in the same message | 01:40 |
daryn | i'm heading to bed. it's late here. i'd like to commit some updates to lithium branch sometime this weekend for your perusal. | 01:47 |
dhx1 | sure, I'm interested in reviewing :) | 01:47 |
dhx1 | cya later | 01:47 |
daryn | k...hopefully by tomorrow evening | 01:48 |
daryn | gn | 01:48 |
dhx1 | :) | 01:48 |
dhx1 | cya | 01:48 |
*** Parts: daryn (~daryn@h239.83.88.75.dynamic.ip.windstream.net) () | 01:48 | |
*** Joins: dhx_z (~anonymous@60-242-108-164.static.tpgi.com.au) | 04:01 | |
*** Quits: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au) (Ping timeout: 255 seconds) | 04:01 | |
*** dhx_z is now known as dhx1 | 04:01 | |
*** Joins: bretonium (~breton@89.146.69.124) | 05:00 | |
bretonium | hello. Is it possible to disable displaying graphical attachments as images (forbid auto formatting with <img>) and display them as usual attachments? | 05:02 |
bretonium | oh, nevermind, already found in documentation | 05:07 |
*** Joins: Paul_ (~IceChat09@2001:470:9310:aaaa:c70:4a68:1be1:a05c) | 05:09 | |
dhx1 | Paul_: hi | 05:14 |
Paul_ | mo | 05:14 |
*** Quits: Paul_ (~IceChat09@2001:470:9310:aaaa:c70:4a68:1be1:a05c) (Quit: OUCH!!!) | 05:24 | |
*** Joins: Paul_ (~IceChat09@2001:470:9310:aaaa:442:cc38:e5ed:a201) | 05:30 | |
dhx1 | Paul_: have you seen Symphony CMS? | 05:40 |
dhx1 | Paul_: not Symfony the framework... they're totally different things | 05:40 |
Paul_ | no | 05:40 |
dhx1 | Symphony CMS uses XSLT templates to generate HTML output | 05:41 |
dhx1 | so it takes an XML file (generated by PHP), an XSL template and converts them both (using inbuilt PHP functionality, default in PHP 5.3) to generate HTML | 05:42 |
Paul_ | got a demo of the backend? | 05:42 |
dhx1 | http://www.php.net/manual/en/xsltprocessor.transformtoxml.php | 05:45 |
* Paul_ ponders :P | 05:46 | |
dhx1 | I only refer to Symphony CMS because it uses XSLT... there really isn't much code to look at because it's all built into PHP | 05:46 |
Paul_ | right | 05:46 |
dhx1 | http://en.wikipedia.org/wiki/XSLT#Example_2_.28transforming_XML_to_XHTML.29 | 05:48 |
dhx1 | actually | 05:48 |
dhx1 | better to start from /xsltprocessor.transformtoxml.php | 05:48 |
dhx1 | * Paul_ ponders :P | 05:48 |
dhx1 | it seems like a nice-ish way of decoupling the output layer | 05:50 |
Paul_ | seen lithium? | 05:50 |
dhx1 | yep daryn is working on a demo | 05:50 |
dhx1 | (it's on github) | 05:50 |
dhx1 | there is a lot to like... but it seems a little too abstract in places? | 05:51 |
Paul_ | i've been trying to use it | 05:53 |
Paul_ | and pointed it out to daryn | 05:53 |
Paul_ | using 7.5GB of ram atm :) | 05:55 |
dhx1 | cache? | 05:56 |
Paul_ | nah | 05:56 |
Paul_ | games, vmware | 05:56 |
Paul_ | etc :) | 05:56 |
dhx1 | ah, VMware would do it | 05:57 |
Paul_ | 3 copies of eve = 2-3gb | 05:57 |
dhx1 | hah | 06:01 |
GitHub30 | [mantisbt] davidhicks pushed 2 new commits to master: http://bit.ly/pF3ZhD | 06:40 |
GitHub30 | [mantisbt/master] Only use array_merge() on subproject_ids when required - Sebastian Kayser | 06:40 |
GitHub30 | [mantisbt/master] Merge pull request #7 from skayser/master - David Hicks | 06:40 |
GitHub93 | [mantisbt] davidhicks pushed 1 new commit to master-1.2.x: http://bit.ly/rjBbZ2 | 06:44 |
GitHub93 | [mantisbt/master-1.2.x] Only use array_merge() on subproject_ids when required - Sebastian Kayser | 06:44 |
GitHub198 | [mantisbt] davidhicks pushed 1 new commit to master: http://bit.ly/nYSybt | 06:54 |
GitHub198 | [mantisbt/master] Use placeholder attribute for stopwatch on bug update page - David Hicks | 06:54 |
*** Joins: vilarion (~chatzilla@i59F4F4DE.versanet.de) | 07:09 | |
vilarion | hi | 07:10 |
vilarion | I have a problem with github integration | 07:10 |
vilarion | after setting up the repository, I can load the latest two commits, but the next one always fails | 07:11 |
vilarion | is there a way to get more information why? | 07:11 |
*** Quits: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au) (Ping timeout: 258 seconds) | 07:33 | |
*** Joins: vilarion_ (~vilarion@illarion.org) | 07:33 | |
*** Quits: vilarion (~chatzilla@i59F4F4DE.versanet.de) (Quit: ChatZilla 0.9.87 [Firefox 5.0/20110615151330]) | 07:34 | |
*** vilarion_ is now known as vilarion | 07:34 | |
*** Quits: bretonium (~breton@89.146.69.124) (Ping timeout: 250 seconds) | 07:38 | |
*** Joins: dhx1 (~anonymous@60-242-108-164.static.tpgi.com.au) | 07:42 | |
*** Joins: asm89 (~asm89@unaffiliated/asm89) | 08:12 | |
*** Quits: vilarion (~vilarion@illarion.org) (*.net *.split) | 08:17 | |
*** Joins: vilarion (~vilarion@illarion.org) | 08:19 | |
*** Quits: asm89 (~asm89@unaffiliated/asm89) (Quit: bye!) | 08:22 | |
jreese | vilarion: it might be because of the API rate limiting | 08:26 |
vilarion | php? | 08:26 |
jreese | no, the Gtihub integration uses Github's API to retrieve information abotu the repository, and Github sometimes has rate limiting on their API | 08:27 |
jreese | although they say the limit is currently 60 API calls per minute | 08:28 |
vilarion | okay, so there is no workaround? | 08:29 |
jreese | just wait some time and press import latest data again, and it should pick up where it left off | 08:29 |
vilarion | okay, I tried several times over the last hours, but it is still stuck. | 08:30 |
jreese | hmm, then that might be an issue with the repo data itself | 08:30 |
jreese | is it a public repo that I can look at, or is it private? | 08:31 |
vilarion | I am not familiar with json, php is not even my field of work, maybe there is a way to print more info why it fails | 08:31 |
vilarion | yes | 08:32 |
vilarion | https://github.com/vilarion/Illarion-Server | 08:32 |
vilarion | i.e. yes it is public :) | 08:33 |
jreese | thanks, I'll see if I can find something obvious | 08:34 |
vilarion | thank you very much! | 08:34 |
vilarion | it is commit 1ee that fails | 08:35 |
jreese | ok | 08:35 |
jreese | hmm, I wonder if that's a problem on Github's end? that seems to be a big commit :P | 08:36 |
vilarion | yes it is | 08:36 |
vilarion | global formatting change :D | 08:36 |
jreese | ah, I also notice it has utf8 characters in it | 08:36 |
jreese | that tends to be a sticking point for the svn plugins too | 08:36 |
vilarion | hm, okay | 08:37 |
vilarion | there is not much I can do about utf-8 in old commits though | 08:44 |
jreese | I'm not sure that's the problem actually | 08:51 |
jreese | it looks like it's a problem with php itself | 08:51 |
jreese | or rather, it's ability to run json_decode() on the giant blob from Github | 08:52 |
jreese | basically, the plugin is fetching that data from the API, and running json_decode() to translate it into an object, but for some reason, json_decode() is returning NULL for that data | 08:56 |
vilarion | okay | 08:56 |
* jreese is still investigating | 08:56 | |
jreese | JSON_ERROR_UTF8 | 08:58 |
jreese | "Malformed UTF-8 characters, possibly incorrectly encoded." | 08:58 |
jreese | the question is whether that's fixable on the plugin's part | 08:58 |
vilarion | or if it is a github problem | 08:59 |
vilarion | in their api | 08:59 |
jreese | ok, so utf8_encode() and utf8_decode() don't fix it | 09:00 |
vilarion | their may be some weird character encodings in some source files, since someone cluttered them with german comments a long time ago | 09:00 |
jreese | vilarion: the only thing I can suggest for the time being would be to insert a commit manually into the database | 09:01 |
vilarion | but since it was just in comments I never cared and just deleted them occasionally | 09:01 |
vilarion | okay | 09:01 |
jreese | I can try submitting a bug report to Github, but the Github integration isn't using their newest API version, so I don't know if they'll be willing to help | 09:02 |
vilarion | I understand | 09:03 |
jreese | oh wait | 09:03 |
jreese | my test was incorrect | 09:03 |
jreese | I never actually used the correct variable when I tested utf8_encode :P | 09:03 |
jreese | I think that was the fix | 09:03 |
vilarion | hehe | 09:04 |
jreese | lol, it just reminded me there's a patch for mantis itself that's been sitting in my queue to fix this problem | 09:05 |
jreese | vilarion: apply this patch to your copy of mantis: https://github.com/mantisbt/mantisbt/pull/1/files | 09:05 |
vilarion | okay | 09:06 |
GitHub172 | [mantisbt] jreese pushed 1 new commit to master: http://bit.ly/qiJr4Q | 09:07 |
GitHub172 | [mantisbt/master] Merge pull request #1 from 01-Scripts/master - John Reese | 09:07 |
vilarion | it does something | 09:07 |
vilarion | all commits were imported, nice | 09:08 |
vilarion | thank you very much! | 09:08 |
jreese | you're welcome | 09:09 |
jreese | sorry it took me that long to figure it out, I should have known that already | 09:09 |
GitHub29 | [mantisbt] jreese pushed 1 new commit to master-1.2.x: http://bit.ly/nPgT0M | 09:09 |
GitHub29 | [mantisbt/master-1.2.x] Problems if the json-message contains special characters like german umlauts (äöü). Commit should fix that problem. - 01-Scripts | 09:09 |
jreese | that fix will be part of the next release now :P | 09:10 |
vilarion | okay, great :D | 09:10 |
vilarion | I just upgraded from 1.2.3 today | 09:10 |
vilarion | there was something else during that process | 09:12 |
vilarion | the post installation checker warned me that it couldn't find jpgraph | 09:12 |
vilarion | but when I set the vars, there was another warning, that they were deprecated | 09:13 |
jreese | lol, graphs, don't even get me started on that mess =/ | 09:13 |
vilarion | and there is a Graph plugin in the core installation | 09:13 |
dhx1 | heh :) | 09:13 |
vilarion | hehe | 09:13 |
jreese | dhx1: your turn | 09:14 |
vilarion | so in the end I just ignored it | 09:14 |
dhx1 | Paul_: I've rebased db-on-restructure to the latest master... fixing up Exception handling now (converting from trigger_error to custom Exception classes) | 09:14 |
jreese | vilarion: should be fine I think | 09:14 |
vilarion | guessed so, hehe | 09:15 |
dhx1 | Paul_: I've had to make Error::exception_handler accept a variable of any type | 09:15 |
dhx1 | Paul_: then I'm checking that it's an object, then using ReflectionClass to see if it's a subclass of Exception | 09:15 |
dhx1 | Paul_: I don't think it's possible to pass something like MyCustomException (extension of Exception) as an argument to a function: exception_handler( Exception $exception ) | 09:17 |
dhx1 | Paul_: as part of this... I have had to make a pseudo error within the error handler for invalid arguments passes into exception_handler()... | 09:18 |
dhx1 | Paul_: the fun error message at the moment is: $errorInfo->message = 'An invalid exception type was caught by the exception handler. Unfortuantly no further information can be obtained.'; | 09:18 |
dhx1 | Paul_: this will never be noticed unless someone calls exception_handler() directly (stupid idea!) | 09:18 |
*** Quits: siebrand (~siebrand@5353A6DC.cm-6-4c.dynamic.ziggo.nl) (Read error: Connection reset by peer) | 09:27 | |
*** Joins: siebrand (~siebrand@5353A6DC.cm-6-4c.dynamic.ziggo.nl) | 09:27 | |
GitHub132 | [mantisbt] davidhicks created next (+51 new commits): http://bit.ly/pJjxEu | 10:07 |
GitHub132 | [mantisbt/next] Move config files to application/config directory. This will be out of the web tree once restructuring is complete. - Daryn Warriner | 10:07 |
GitHub132 | [mantisbt/next] Move core files to application/core. The .htaccess file will not be needed as this will not be reachable - Daryn Warriner | 10:07 |
GitHub132 | [mantisbt/next] Move Soap api to application/services/soap. - Daryn Warriner | 10:07 |
dhx1 | "next" = work that Paul, daryn and myself have been doing on the following areas: | 10:10 |
dhx1 | 1) restructure MantisBT directories | 10:10 |
dhx1 | 2) replace ADOdb with PDO equivalent | 10:10 |
dhx1 | 3) replace error_api with modern OO exception handling | 10:10 |
dhx1 | 4) + other misc 'rewrite' stuff | 10:11 |
dhx1 | the branch is often in a semi broken state as a result (until all the rewriting is complete) | 10:12 |
* Paul_ confused | 10:31 | |
dhx1 | Paul_: easier for us to commit to... common location for everyone to make chagnes to | 10:33 |
Paul_ | not sure that matches what I got locally though :( | 10:34 |
dhx1 | I suggest rebasing your local branch to the current master | 10:34 |
dhx1 | then comparing it to this 'next' branch | 10:34 |
dhx1 | or just push your local branch to Github and I can do it? :) | 10:35 |
Paul_ | tbh, nothing much has changed in master | 10:37 |
Paul_ | I just think i'd done some tidying up of random stuff | 10:38 |
Paul_ | need to copy files off old pc | 10:38 |
Paul_ | and mess about | 10:38 |
dhx1 | the point of 'next' is that you can push your changes there straight away | 10:39 |
dhx1 | and not have to worry about it breaking things | 10:39 |
dhx1 | if the 3 of us (and anyone else interested) are working on this branch at the same time it's going to be much easier if we're committing things "as they happen" instead of storing them up | 10:39 |
GitHub141 | [mantisbt] davidhicks pushed 2 new commits to next: http://bit.ly/r1GMO1 | 10:53 |
GitHub141 | [mantisbt/next] Replace additional access denied errors - David Hicks | 10:53 |
GitHub141 | [mantisbt/next] Replace error_string calls with calls to the Error class - David Hicks | 10:53 |
Paul_ | I think i'd already done some of that ;p | 10:54 |
Paul_ | before | 10:54 |
Paul_ | as access denied = obvious exception | 10:54 |
Paul_ | I dont really get what 'next' got created from | 10:55 |
Paul_ | or is next based on lithium? | 10:55 |
dhx1 | nah, it's based on your db branch and daryn's restructure branch | 10:57 |
GitHub104 | [mantisbt] davidhicks pushed 1 new commit to next: http://bit.ly/rqbhUg | 11:08 |
GitHub104 | [mantisbt/next] Remove test error from start of access_api - David Hicks | 11:08 |
*** Quits: siebrand (~siebrand@5353A6DC.cm-6-4c.dynamic.ziggo.nl) (Read error: Connection reset by peer) | 11:09 | |
*** Joins: siebrand (~siebrand@5353A6DC.cm-6-4c.dynamic.ziggo.nl) | 11:10 | |
*** Quits: siebrand (~siebrand@5353A6DC.cm-6-4c.dynamic.ziggo.nl) (Read error: Connection reset by peer) | 11:50 | |
*** Joins: kirillka (~Miranda@235-218-55-95.baltnet.ru) | 11:57 | |
*** Joins: Cupertino (~Cupez@unaffiliated/cupertino) | 12:01 | |
*** Quits: vilarion (~vilarion@illarion.org) (Quit: leaving) | 12:13 | |
*** Joins: daryn (~daryn@h239.83.88.75.dynamic.ip.windstream.net) | 12:58 | |
*** Quits: daryn (~daryn@h239.83.88.75.dynamic.ip.windstream.net) (Quit: Ex-Chat) | 13:18 | |
*** Joins: daryn (~daryn@h239.83.88.75.dynamic.ip.windstream.net) | 13:42 | |
*** Quits: kirillka (~Miranda@235-218-55-95.baltnet.ru) (Quit: kirillka) | 16:10 | |
*** Quits: Cupertino (~Cupez@unaffiliated/cupertino) (Quit: I give up...) | 16:29 | |
*** Joins: siebrand (~siebrand@5353A6DC.cm-6-4c.dynamic.ziggo.nl) | 17:06 | |
*** Joins: roentgen (~arthur@openvpn/community/support/roentgen) | 18:43 | |
*** 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: Paul_ (~IceChat09@2001:470:9310:aaaa:442:cc38:e5ed:a201) (Quit: Easy as 3.14159265358979323846...) | 20:58 | |
dhx1 | daryn: hey | 21:17 |
GitHub29 | [mantisbt] davidhicks pushed 20 new commits to next: http://bit.ly/r8mhsG | 23:19 |
GitHub29 | [mantisbt/next] Implement EmptyField exception - David Hicks | 23:19 |
GitHub29 | [mantisbt/next] Merge empty field and GPC empty var errors - David Hicks | 23:19 |
GitHub29 | [mantisbt/next] Remove unused error ERROR_SQL - David Hicks | 23:19 |
*** Quits: roentgen (~arthur@openvpn/community/support/roentgen) (Ping timeout: 264 seconds) | 23:21 | |
*** Joins: roentgen (~arthur@openvpn/community/support/roentgen) | 23:26 | |
*** Quits: daryn (~daryn@h239.83.88.75.dynamic.ip.windstream.net) (Ping timeout: 260 seconds) | 23:30 | |
*** Joins: daryn (~daryn@h239.83.88.75.dynamic.ip.windstream.net) | 23:31 | |
daryn | dhx1, hello | 23:32 |
dhx1 | daryn: hi | 23:32 |
daryn | lots of commits, eh | 23:32 |
dhx1 | :) | 23:33 |
dhx1 | working on redoing error handling | 23:33 |
daryn | cool | 23:34 |
dhx1 | trying to remove all trigger_error stuff, remove error constants, use standard translation strings for error messages, etc | 23:34 |
daryn | nice | 23:34 |
dhx1 | and using new Exception classes to build the message string, take arguments for error messages, specify HTTP return codes, etc | 23:35 |
*** Joins: micahg (~micahg@24-148-38-99.c3-0.arm-ubr3.chi-arm.il.cable.rcn.com) | 23:35 | |
*** Quits: micahg (~micahg@24-148-38-99.c3-0.arm-ubr3.chi-arm.il.cable.rcn.com) (Changing host) | 23:35 | |
*** Joins: micahg (~micahg@ubuntu/member/micahg) | 23:35 | |
GitHub174 | [mantisbt] davidhicks pushed 1 new commit to next: http://bit.ly/oWDGP6 | 23:50 |
GitHub174 | [mantisbt/next] Implement HTTP response codes for exceptions - David Hicks | 23:50 |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!