Commits on Jul 29, 2012
  1. Some minor tweaks to the site.

    mde committed Jul 29, 2012
  2. Version 0.4.4

    mde committed Jul 29, 2012
Commits on Jul 26, 2012
  1. Removed unused requires throughout

    Moved 'lib/watch_files' into 'lib/utils/fileUtils', still works the same way just moved the functions to the fileUtils util
    Made a compat util so that easier manage differences in Node versions, it currently includes the exists and existsSync functions.
    In the compat util I included a method called 'dependency' that given a module name will try to require the given module globally then attempt to require it in the applications node_modules path. Also include a second argument being a custom message. All external dependencies now call this utility to require them.
    Made some internal templato changes to succumb to the new handlebars update, we now have to register helper functions using handlebars itself instead of including them in the data object.
    larzconwell committed Jul 26, 2012
  2. Updated /site to reflect new features related to generators and templ…

    Also made it so all modules can be installed globally and locally
    larzconwell committed Jul 26, 2012
Commits on Jul 25, 2012
  1. Created a file utils function that will search for a dir/file in up t…

    …o 5 parent
    directories(including current dir).
    When checking to see if config files exist in templates/Jakefile use the file
    search function to check if they exist, so you can run the geddy commands
    from up to 5 child directories in a geddy application.
    larzconwell committed Jul 25, 2012
Commits on Jul 24, 2012
  1. Data has a default params with an empty object so if no params are av…

    the functions can still complete
    larzconwell committed Jul 24, 2012
Commits on Jul 23, 2012
  1. Added more tests for urlFor helper and fixed a bug where empty contro…

    …ller option
    with ID and action options in urlFor would result in malformed URL's
    larzconwell committed Jul 23, 2012
  2. Added a few tests for helpers and changed the scaffold generator so t…

    …hat the
    environment uses a lowercase plural name for the database name.
    larzconwell committed Jul 23, 2012
  3. Unfuck tests

    mde committed Jul 23, 2012
  4. String util tests

    mde committed Jul 23, 2012
Commits on Jul 22, 2012
Commits on Jul 21, 2012
  1. Added custom templates in `lib/template/templates/`, these templates …

    special cases like empty layouts, etc.
    Made it so controller.respond's options are more consistent, and added more
    stability for different path cases.
    ex: this.respond(params, {template: 'index'}) // Takes current controller
    ex: this.respond(params, {template: 'app/views/main/index'})
    ex: this.respond(params, {template: 'main.index'})
    All the above examples also apply to `layout` option.
    Fixed a bug where the options object is a string and sets as the response type.
    Now setting the `layout` option to false will respond with only the template
    larzconwell committed Jul 21, 2012
Commits on Jul 19, 2012
  1. Added default option to model property arguments as @TechWraith sugge…

    ex: geddy resource user name:string:default
    ex: geddy resource user name:string:def
    ex: geddy resource user name:default
    ex: geddy resoruce user name:def
    All set the `name` property as the "default" value that will be used as the
    value that will be shown in views. It still uses the ID property in the background
    as it's more reliable then user input
    larzconwell committed Jul 19, 2012
Commits on Jul 18, 2012
  1. Finished generators

    Edit actions now include the value as it's value
    Show actions correctly show the properties saved
    larzconwell committed Jul 18, 2012
  2. Don't use mongo's native ID property (2)

    Techwraith committed Jul 18, 2012
  3. Don't use mongo's native ID property

    Techwraith committed Jul 18, 2012
Commits on Jul 16, 2012
  1. Made it so action helpers are created from used routes instead of jus…

    …t reading the created actions from controllers.
    This way it only creates the helpers they have created routes for.
    larzconwell committed Jul 16, 2012
  2. Created action helpers that get created when loading controllers

    ex: addUserPath // => {controller: "users", action: "add"}
    ex: userPath(10) // => {controller: "users", action: "show", id: "10"}
    ex: snowDogsPath // => {controller: "snowDogs", action: "index"}
    Also moved the generates _getInflections function into String utils so it
    can be used throughout the application when needed.
    Also added a `url` output to utils.string.inflection so that it will be URI safe.(underscores in our case)
    larzconwell committed Jul 16, 2012
Commits on Jul 14, 2012
  1. Fixed Inflection bug where plural names were used in singular areas.

    ex: geddy resource users name:string
    would generate plural versions of 'users' where they should've been singular(Model names)
    All helpers are _only_ loaded on init including the private registerData helper then
    get added to Templato when rendering(To register params data, we just call the helper function directly)
    larzconwell committed Jul 14, 2012
Commits on Jul 12, 2012
  1. Update master

    larzconwell committed Jul 12, 2012
Commits on Jul 11, 2012
  1. Updated readme to reflect new generators

    Completed scaffold generator and made refinements to the other generators
    larzconwell committed Jul 11, 2012
Commits on Jul 9, 2012
  1. Fix old Fleegix lib code for template adapters

    Created new command `scaffold` that generates a complete scaffold
    Model, Resource and Scaffold now have a new set of options that are model properties
    ex: geddy model user name admin:boolean
    The example above generates a user model with the given properties.
    Generated models have a default ID property with a 'string' type and if a custom ID property is given
    it overrides the default.
    If no type is given then it defaults to 'string'
    Note: This commit is mainly just to fix the fleegix errors found. Closes #124
    larzconwell committed Jul 9, 2012