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)

Tuesday, February 17 2009
62 SqlBuilder.class.php was updated
  • Kris Jordan
    Kris Jordan commented at 4:48 AM

    I've rewritten all unit tests from SimpleTest to PHPUnit and the process turned up some scenarios which needed to take this technique and use it in SELECTs as w...

68 $sql undefined in MysqlDataSourceProvider::getStatementForBuilder was updated
  • Kris Jordan
    • Milestone set to 0.11.1
    • State changed from hold to resolved
    by Kris Jordan at 4:46 AM

    Moved all tests from simpletest to PHPUnit this evening. Running the tests from PHPUnit now runs all tests on both MySQL and Sqlite. Much better testing facilit...

Monday, February 16 2009
71 Tools tries to instantiate abstract controllers was updated
  • Joshua Paine
    • Tag changed from controller, tools to controller, routing, tools
    by Joshua Paine at 5:10 PM

    It's not only Tools. Recess reads the routes from abstract controllers and tries to use them. It even seems to try to instantiate the abstract controller when y...

  • Joshua Paine
    Joshua Paine created the ticket at 4:32 PM

    and dies, of course.

57 Parse PUT data was updated
  • Kris Jordan
    Kris Jordan commented at 3:51 PM

    Also, the Git commit signature is 5c234f6!

  • Kris Jordan
    • State changed from open to resolved
    by Kris Jordan at 3:49 PM

    Thank-you for the suggested changes! This has been added into Recess Edge on GitHub with the changes suggested (actual code below).

    
    $putdata = file_get_conte...
68 $sql undefined in MysqlDataSourceProvider::getStatementForBuilder was updated
  • Joshua Paine
    Joshua Paine commented at 3:44 PM

    You can't reproduce b/c you're using sqlite:memory for the data source--this only occurs under MySQL. If you look at line 400 of the current /recess/lib/recess/...

  • Kris Jordan
    • State changed from new to hold
    by Kris Jordan at 3:20 PM

    Added a test case to /recess/test/lib/recess/database/orm/ModelTest.class.php

    This case was pushed to edge with commit 2131467.

    Test method is 'testTicket68Firs...

19 Route named parameters do not match, fallback was updated
  • Kris Jordan
    • Milestone cleared.
    • State changed from new to open
    by Kris Jordan at 3:25 PM
17 Authentication was updated
  • Kris Jordan
    • State changed from new to open
    by Kris Jordan at 3:25 PM
5 Add Helper Methods to Controller was updated
  • Kris Jordan
    • State changed from new to open
    by Kris Jordan at 3:24 PM
38 Support for Relationships in Model Builder was updated
  • Kris Jordan
    • Milestone cleared.
    • State changed from new to open
    by Kris Jordan at 3:24 PM
41 Clean up Code Browser UI was updated
  • Kris Jordan
    • Milestone cleared.
    • Tag set to tools
    • State changed from new to open
    by Kris Jordan at 3:24 PM
49 Check Smarty Compilation was updated
  • Kris Jordan
    • State changed from new to open
    by Kris Jordan at 3:23 PM
50 Databases was updated
  • Kris Jordan
    • State changed from new to open
    by Kris Jordan at 3:23 PM
47 Improve Formats Support was updated
  • Kris Jordan
    • State changed from new to open
    by Kris Jordan at 3:23 PM
44 Create Table from Existing Model was updated
  • Kris Jordan
    • State changed from new to open
    by Kris Jordan at 3:22 PM
69 http basic auth username and password should be copied to $forwardRequest was updated
  • Kris Jordan
    • State changed from new to resolved
    by Kris Jordan at 3:12 PM

    Great catch. Fix has been added to the source tree with commit d938e84. Forwarding is still a bit clunky as you've recognized, brainstorming on how to make it m...

70 getting a urlTo another controller's method should be much more concise, like... was updated
  • Kris Jordan
    • Milestone set to 0.11.1
    • State changed from new to resolved
    by Kris Jordan at 2:48 PM

    Thanks for the submission - great improvement in the API!

    This has been added to the source tree with commit 2c3b1a0.

67 need good way to define/load default table contents and/or testing table cont... was updated
  • Joshua Paine
    Joshua Paine commented at 2:45 PM

    Do you think this is a function in Tools?

    I'm not sure. When I wrote this bug, I was still trying to use Tools for setting up my app. Eventually I decided I n...

  • Kris Jordan
    • Milestone cleared.
    • State changed from new to open
    by Kris Jordan at 2:32 PM

    Leaving this bug open and moving to next milestone. Do you think this is a function in Tools? What format(s) are most useful? CSV, SQL?

    One addition to Tools wh...

66 need convenient links to documentation blog posts was updated
  • Kris Jordan
    • Milestone set to 0.11.1
    • State changed from new to open
    by Kris Jordan at 2:30 PM

    Leaving this ticket open. Should have a documentation section and flat HTML documentation included with the distribution shortly. Thanks for the suggestion!

65 need easy way to (re)generate tables from existing models in tools was updated
  • Kris Jordan
    • Milestone set to 0.11.1
    • State changed from new to open
    by Kris Jordan at 2:29 PM

    Turning this ticket's status to 'open'. This is a top priority. Thank you for the bug submission!

64 CreatedResponse doesn't redirect was updated
  • Kris Jordan
    • Milestone set to 0.11.1
    • Tag set to headers, http, rest
    • State changed from new to resolved
    by Kris Jordan at 2:28 PM

    Adnan,

    Thank-you for the bug report. This behavior is expected with the CreatedResponse. In a controller the shortcut method for created takes two parameters: $...

63 SqlBuilder.class.php #2 was updated
  • Kris Jordan
    • Milestone set to 0.11.1
    • State changed from new to open
    by Kris Jordan at 2:20 PM

    Good catch. I will add a specific test case to the suite for MySQL and find a work around. First thought is we could use PHP's type checking to determine if it ...

62 SqlBuilder.class.php was updated
  • Kris Jordan
    • Milestone set to 0.11.1
    • State changed from new to resolved
    by Kris Jordan at 2:18 PM

    Luiz - Thanks for the changeset! Your additions have been added to the source tree at git hub with commit 077dc79. Really appreciate your input!

Saturday, February 14 2009
70 getting a urlTo another controller's method should be much more concise, like... was updated
  • Joshua Paine
    Joshua Paine commented at 5:31 PM

    ick--just noticed what lighthouse did to my code. But more importantly, the args of strpos are reversed. Let's try this again:

    if(strpos($methodName,'::')!==fa...
Friday, February 13 2009
70 getting a urlTo another controller's method should be much more concise, like... was created
  • Joshua Paine
    Joshua Paine created the ticket at 11:00 PM

    Already can call $this->urlTo('methodName'), but to get the path for a method of another class requires instantiating it and using urlTo on the new instance. It...

Wednesday, February 11 2009
69 http basic auth username and password should be copied to $forwardRequest was created
  • Joshua Paine
    Joshua Paine created the ticket at 6:31 PM

    Http basic auth values don't get communicated to $forwardRequest's, leading them to believe the user is not authenticated. Easy to fix. In Recess.class.php, jus...

Monday, February 09 2009
68 $sql undefined in MysqlDataSourceProvider::getStatementForBuilder was created
  • Joshua Paine
    Joshua Paine created the ticket at 5:26 PM

    This query triggers the problem:

    Make::a('Retailer')->equal('phone','321-456-7890')->first();

67 need good way to define/load default table contents and/or testing table cont... was created
  • Joshua Paine
    Joshua Paine created the ticket at 12:11 PM

    some tables will have only certain specific rows according to application design. some need to be prefilled with live or testing data to be useful. there should...

66 need convenient links to documentation blog posts was created
  • Joshua Paine
    Joshua Paine created the ticket at 12:07 PM

    currently no way to get to older blog posts without scrolling through full text of all. Ideally there'd be a list of the documentation posts. (Ideally ideally t...

65 need easy way to (re)generate tables from existing models in tools was created
  • Joshua Paine
    Joshua Paine created the ticket at 12:05 PM

    Seems like models know how to generate their own tables, but there's no easy way to access this ability for existing models in recess tools.

Saturday, February 07 2009
64 CreatedResponse doesn't redirect was created
  • adnan.
    adnan. created the ticket at 8:35 PM

    The "Location:" header requires that the http response code be 3xx, and HTTP_CREATED is 201. Therefore the redirect doesn't work.

    I changed it to HTTP_FOUND for...

Friday, February 06 2009
63 SqlBuilder.class.php #2 was created
  • Luiz Alberto Zaiats
    Luiz Alberto Zaiats created the ticket at 3:38 PM

    Hi Kris,

    I've just found another BUG ('cause i am full time using you framework here ;) When using a column of type Float, the query builder renders my_column =...

Thursday, February 05 2009
60 Creating Models from existing tables doesn't work was updated
  • Luiz Alberto Zaiats
    Luiz Alberto Zaiats commented at 6:27 PM

    Just wondering why:

    modelName=Category&tableExists=no&existingDataSource=Default&existingTableName=sn_categorys

    Doesn't make sense to me... How could it have a...

  • Schirkan
    Schirkan commented at 4:14 PM

    Hello,

    I'm using the latest version of Firefox, but I don't think, that's the problem.

    I think I found the problem in the HTML-code:

    
    <h3><input name="tableEx...
Wednesday, February 04 2009
62 SqlBuilder.class.php was created
  • Luiz Alberto Zaiats
    Luiz Alberto Zaiats created the ticket at 8:34 PM

    Kris,

    Problem 1

    I think that escape column names with (s) is a great idea! My app uses a column named DELETE (a reserved name in MySQL) and i needed to change t...

59 recess tools should handle magic_quotes was updated
  • Kris Jordan
    • Tag set to magic, quotes
    • State changed from new to open
    by Kris Jordan at 6:00 PM

    Need to spend some quality time with magic_quotes turned back on and identify the best path forward for addressing this at the framework level.

    Thanks for the r...

61 scaffolding tools redirect to localhost after insert was updated
60 Creating Models from existing tables doesn't work was updated
  • Kris Jordan
    • State changed from new to open
    by Kris Jordan at 5:41 PM

    Interesting and unable to reproduce. Which internet browser are you using? This is likely an issue with the Javascript client side improperly submitting the for...

57 Parse PUT data was updated
  • Kris Jordan
    • State changed from new to open
    by Kris Jordan at 5:38 PM

    This does indeed look correct. Great find and thanks for a fix. My only concern is for folks without the mb extension installed. Will look into a solution for t...

55 SQLSTATE[HY000]: General error: 26 file is encrypted or is not a database was updated
  • Kris Jordan
    • State changed from new to open
    by Kris Jordan at 5:34 PM

    Appreciate this very useful tip on how to determine the version of an SQLite database. Will use this method for the fix.

    Currently this ticket remains open.

56 modelsPrefix included twice in application scaffold was updated
  • Kris Jordan
    • State changed from new to resolved
    by Kris Jordan at 5:32 PM

    Fixed in commit 1372039f113a08d4d3d3e1802614bc18d2c029b6

    Great catch on this duplication in scaffolding. Thanks!

54 Undefined offset notice when generating scaffolding was updated
  • Kris Jordan
    • State changed from new to resolved
    by Kris Jordan at 5:29 PM

    Fixed with a bounds check in commit 1372039f113a08d4d3d3e1802614bc18d2c029b6

    When Table annotation incorrectly specified an exception is thrown.

    Thanks for the ...

52 Check for database extensions was updated
  • Kris Jordan
    • Tag changed from error handling, databases to error handling, setup experience, databases
    • State changed from new to open
    by Kris Jordan at 5:21 PM

    Marking ticket as open.

    To do: Additional checks in recess/lib/recess/database/pdo/PdoDataSource constructor's catch block to determine whether the desired PDO ...

53 Create SQLite database if it does not exist was updated
  • Kris Jordan
    • Milestone set to 0.11.1
    by Kris Jordan at 5:18 PM

    Todo: Add check in SQLite driver to determine if the file exists and if not ensure the directory exists and is writeable.

    Thanks for the report!

  • Kris Jordan
    • State changed from new to open
    • Milestone cleared.
    by Kris Jordan at 5:16 PM
58 scaffolding form labels all incorrect was updated
  • Kris Jordan
    • State changed from new to resolved
    by Kris Jordan at 5:13 PM

    Issue should be resolved in commit #e099dde1edd4e3ec1e3c44aefe6807e9148d90c3

51 Strict Standards: Declaration of ModelDataSource::createTableSql() should be ... was updated
  • Kris Jordan
    • Tag changed from api, databases, model to setup experience, api, databases, model
    • State changed from new to resolved
    by Kris Jordan at 4:18 PM

    Fixed in commit ff2686a6ee37b3e753c85341f022a32c994d87f3

    Thank you for the report!