Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Activity (RSS)

Saturday, July 16 2011
Add requirements in README [#50 state... was committed by Fabrice Luraine at 8:15 AM
Prevents flash sweep for HEAD request... was committed by Fabrice Luraine at 8:15 AM
Fix backward compatibilty function li... was committed by Fabrice Luraine at 8:15 AM
Wednesday, June 15 2011
56 default options example doesn't work for me was created
  • dojohnso
    dojohnso created the ticket at 10:54 PM

    that example doesn't work for me, but if i do this, it does: http://pastebin.com/gxQLUxGW

    assuming I fix the double quote issue that I just opened a ticket for,...

55 PHP quote error in README was created
  • dojohnso
    dojohnso created the ticket at 10:50 PM

    on the README page, the default options section should have double quotes, like so: return "Hello $firstname $name";

Monday, May 30 2011
Merge branch 'for-php5.1.x' of github... was committed by Fabrice Luraine at 5:30 PM
Fix fatal error if memory_get_usage()... was committed by Fabrice Luraine at 5:27 PM
Fix PHP Parse error when running test... was committed by Fabrice Luraine at 5:27 PM
Fix a small PHP notice in a test (und... was committed by Fabrice Luraine at 5:27 PM
Fix warning in tests on PHP5.2.3 < . ... was committed by Fabrice Luraine at 5:27 PM
Add a way to manage fallbacks for not... was committed by Fabrice Luraine at 5:27 PM
Remove from the README file the link ... was committed by Fabrice Luraine at 4:56 PM
50 Add requirements in README and website was updated
Add requirements in README [#50 state... was committed by Fabrice Luraine at 4:38 PM
Fix backward compatibilty function li... was committed by Fabrice Luraine at 4:29 PM
Prevents flash sweep for HEAD request... was committed by Fabrice Luraine at 4:29 PM
Friday, May 27 2011
52 Expose current_request() was updated
53 Allow dispatch to handle class methods was updated
  • Fabrice Luraine
    • State changed from new to invalid
    by Fabrice Luraine at 7:01 AM

    dispatch methods handle a pseudo-type callback. It can be a function, an object method, a static method or a closure. See php documentation to learn more about...

Thursday, May 26 2011
54 Wrong example for xml() section in the README was updated
Fix wrong example for xml() section i... was committed by Fabrice Luraine at 7:55 PM
51 Content-type header was updated
Updated document to fix spelling/gram... was committed by Adam T. Diehm at 7:41 PM
Fixing the spelling of Limonade in ex... was committed by Adam T. Diehm at 7:41 PM
Thursday, May 19 2011
54 Wrong example for xml() section in the README was created
  • Fabrice Luraine
    Fabrice Luraine created the ticket at 7:42 PM

    The example uses html() instead of xml()

Tuesday, April 05 2011
53 Allow dispatch to handle class methods was updated
  • xangelo (at gmail)
    xangelo (at gmail) commented at 5:00 PM

    I stand corrected:

    # Static class method call, MyClass::hello();
    dispatch('/hello', array('MyClass', 'hello'));
    
    # Object method call, $obj->hello();
    dispatch(...
Monday, April 04 2011
51 Content-type header was updated
  • xangelo (at gmail)
    xangelo (at gmail) commented at 10:49 PM

    Sorry, ignore this. Feature is present in request_method() and $_SERVER['REQUEST_METHOD']

53 Allow dispatch to handle class methods was updated
  • xangelo (at gmail)
    xangelo (at gmail) commented at 10:44 PM

    I would think this poses a limitation that is too strict. Anything added through this system would require that you need to have that feature as a static functi...

  • Gustavo Di Pietro
    Gustavo Di Pietro created the ticket at 11:30 AM

    It would be a great improvement to allow dispatch to accept class methods other than functions, like:

    class Admin
    {
        public static function new_post()
        {...
52 Expose current_request() was updated
  • xangelo (at gmail)
    xangelo (at gmail) commented at 9:38 PM

    This is already in place with request_uri

    using your example

    function before() {
        if(request_uri() == '/blog') {
    
        }
        else if(request_uri() == '/') {...
  • Gustavo Di Pietro
    Gustavo Di Pietro created the ticket at 7:57 AM

    It would be useful to have a globally accesible function or variable that returns what the currently requested route is.

    Example:

    dispatch('/', 'home');
    dispat...
Thursday, March 31 2011
51 Content-type header was created
  • xangelo (at gmail)
    xangelo (at gmail) created the ticket at 6:12 PM

    It would be nice to provide a complete RESTful compliant application using limonade-php by utilizing the Content-type in the request header to figure out what k...

Monday, March 14 2011
Raise warning if try to use json_enco... was committed by Fabrice Luraine at 4:00 PM
Fix a small PHP notice in a test (und... was committed by Fabrice Luraine at 3:43 PM
Fix PHP Parse error when running test... was committed by Fabrice Luraine at 3:43 PM
Fix warning in tests on PHP5.2.3 < . ... was committed by Fabrice Luraine at 3:43 PM
Fix fatal error if memory_get_usage()... was committed by Fabrice Luraine at 3:26 PM
Saturday, March 12 2011
50 Add requirements in README and website was created
  • Fabrice Luraine
    Fabrice Luraine created the ticket at 8:39 AM

    PHP 5.1.6 > (successfully tested with PHP 5.1.6 but it might work with oldest)

Friday, February 25 2011
Start getting started section in docu... was committed by Fabrice Luraine at 9:05 AM
Merge branch 'documented' of github.c... was committed by Fabrice Luraine at 9:05 AM
Start section about restful structur... was committed by Fabrice Luraine at 9:05 AM
49 redirect_to() using &amp; instead of & was updated
using htmlspecialchars_decode on uri ... was committed by neochrome at 8:54 AM
added pre php 5.1.0 support for htmls... was committed by neochrome at 8:54 AM
Tuesday, February 15 2011
Merge branch 'master' into documented... was committed by Fabrice Luraine at 2:18 PM
[Fix] Only wrap <pre> on HTML output.... was committed by kematzy at 2:15 PM
Monday, January 31 2011
49 redirect_to() using &amp; instead of & was updated
  • Fabrice Luraine
    Fabrice Luraine commented at 7:27 PM

    We can use builtin htmlspecialchars_decode() for PHP5.1.x > but we'll write our own html special chars decode function for PHP5.0.x versions

  • Fabrice Luraine
    Fabrice Luraine created the ticket at 7:22 PM

    Because it uses url_for to construct url, it escapes & in &amp;, so target url might be broken.

    url_for is an html helper, so it's better to keep its output htm...

Saturday, January 22 2011
Redéfinition de la constante E_RECOVE... was committed by Gaël-Ian HAVARD at 3:11 PM
Monday, January 10 2011
Merge branch 'master' of git@github.c... was committed by Fabrice Luraine at 11:20 AM
Fix htaccess in README: comments may ... was committed by Fabrice Luraine at 11:12 AM