Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 21, 2012
  1. @larzconwell
  2. @larzconwell

    Added custom templates in `lib/template/templates/`, these templates …

    larzconwell authored
    …handle
    
    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
Commits on Jul 19, 2012
  1. @larzconwell
  2. @larzconwell
  3. @larzconwell

    Added default option to model property arguments as @TechWraith sugge…

    larzconwell authored
    …sted
    
    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
Commits on Jul 18, 2012
  1. @larzconwell

    Finished generators

    larzconwell authored
    Edit actions now include the value as it's value
    Show actions correctly show the properties saved
  2. @Techwraith
  3. @Techwraith
Commits on Jul 16, 2012
  1. @larzconwell
  2. @larzconwell

    Made it so action helpers are created from used routes instead of jus…

    larzconwell authored
    …t reading the created actions from controllers.
    
    This way it only creates the helpers they have created routes for.
  3. @larzconwell

    Created action helpers that get created when loading controllers

    larzconwell authored
    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)
Commits on Jul 14, 2012
  1. @larzconwell
  2. @larzconwell

    Fixed Inflection bug where plural names were used in singular areas.

    larzconwell authored
    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)
Commits on Jul 12, 2012
  1. @larzconwell

    Update master

    larzconwell authored
Commits on Jul 11, 2012
  1. @larzconwell
  2. @larzconwell

    Updated readme to reflect new generators

    larzconwell authored
    Completed scaffold generator and made refinements to the other generators
  3. @larzconwell
Commits on Jul 9, 2012
  1. @larzconwell

    Fix old Fleegix lib code for template adapters

    larzconwell authored
    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
Commits on Jul 7, 2012
  1. @larzconwell

    Made some changes to the cli argument parser

    larzconwell authored
    Abbreviations can now include arrays and each item get's set as a short option
    Also included a "args" option for parser, if false it won't check for arguments and just set value to true
Commits on Jul 6, 2012
  1. @larzconwell

    Deleted bare controller template

    larzconwell authored
    Instead of having to seperate files the resource controller template uses a option called `bare` that
    if false will render the other actions, and will only include the index action if true
Commits on Jul 4, 2012
  1. Moved model tests into subdir.

    mde authored
  2. Added de-capitalizing.

    mde authored
Commits on Jul 2, 2012
  1. @larzconwell
Commits on Jul 1, 2012
  1. @Techwraith

    added config/after_start.js so you can put code in there that will be…

    Techwraith authored
    … run after the server starts listening. Also added a socket.io example app.
  2. @Techwraith

    Socket.io support; Add 'socketIo: true' to your config, 'npm install …

    Techwraith authored
    …socket.io', and use 'geddy.io' to access sockets.
Commits on Jun 29, 2012
  1. @larzconwell

    Closes #127

    larzconwell authored
    Geddy will run in up to 5 child directories, then will show the usage
  2. @mde

    Merge pull request #152 from larzconwell/extending_template_engine_su…

    mde authored
    …pport
    
    Extending template engine support
  3. Fixed test task to install needed libs.

    mde authored
Commits on Jun 28, 2012
  1. Version 0.4.3

    mde authored
  2. More Node 0.8 support.

    mde authored
Commits on Jun 27, 2012
  1. @larzconwell
  2. @larzconwell
Something went wrong with that request. Please try again.