Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 8, 2012
  1. @larzconwell

    Fix a bug in generators where searching for Coffee config variants di…

    larzconwell authored
    …dn't work because utilities.file.searchParentPath changed working directory so it didn't look in the correct directories.
  2. @larzconwell

    Closes 210, Generators will use `name` and `title` properties as the …

    larzconwell authored
    …default if they exist, falling back to ID or the explicitly set default.
Commits on Oct 6, 2012
Commits on Oct 1, 2012
Commits on Sep 29, 2012
  1. @Techwraith
Commits on Sep 28, 2012
  1. Added basic console feature

    mde authored
Commits on Sep 26, 2012
  1. @larzconwell

    Moved helper tests into their own subject directories. Added tests fo…

    larzconwell authored
    …r action helper generation.
    
    Also made it so when creating applications a app/helpers directory is created.
Commits on Sep 25, 2012
  1. @larzconwell

    Merge master

    larzconwell authored
  2. @larzconwell
  3. @MiguelMadero

    Removed usage of fs.existsSync for compatibility with node 0.6 and ch…

    MiguelMadero authored
    …anged formatting as requested
  4. @MiguelMadero

    Changed the generator to create the directory in case it doesn't exis…

    MiguelMadero authored
    …t. GIT won't add empty folders (eg models) and the generator wasn't creating them
Commits on Sep 5, 2012
  1. Merge branch 'master' of github.com:mde/geddy into remove-model

    mde authored
    Conflicts:
    	lib/app.js
    	templates/Jakefile
Commits on Aug 28, 2012
  1. @larzconwell

    Default ID attribute is now 'int', if scaffold model template the def…

    larzconwell authored
    …ault adapter is sqlite(which will hopefully be added to model soon), and if the ID property is an 'int' it'll set this.autoIncrementId to true.
    
    The scaffold controller template doesn't loop and add all properties on the update action, it now just calls updateAttributes, also in the create action if the ID property is a string it'll add params.id = params.id || geddy.string.uuid(10);
Commits on Aug 26, 2012
  1. @larzconwell

    Move type checks for generatirs into a switch statement so can be eas…

    larzconwell authored
    …ily changed and added to later. Also removed empty try..catch in server.js
Commits on Aug 25, 2012
  1. @larzconwell

    If text attribute is given it switches to string, also took out place…

    larzconwell authored
    …holder text in template views as we're using a label, and included text type option in template views for one day when we do have a text type
Commits on Aug 21, 2012
  1. @larzconwell
  2. @larzconwell
Commits on Aug 20, 2012
  1. Cleaned up env init process a little more

    mde authored
Commits on Aug 17, 2012
  1. Got generators working.

    mde authored
Commits on Aug 16, 2012
  1. Formatting

    mde authored
  2. Misc. fixes to get generators working

    mde authored
  3. Fixed DB adapter connect/disconnect

    mde authored
Commits on Aug 15, 2012
Commits on Aug 14, 2012
  1. @larzconwell
Commits on Aug 2, 2012
  1. Get generators working

    mde authored
Commits on Jul 26, 2012
  1. @larzconwell

    Removed unused requires throughout

    larzconwell authored
    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.
  2. @larzconwell

    Updated /site to reflect new features related to generators and templ…

    larzconwell authored
    …ates.
    
    Also made it so all modules can be installed globally and locally
Commits on Jul 25, 2012
  1. @larzconwell
  2. @larzconwell

    Created a file utils function that will search for a dir/file in up t…

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

    Added a few tests for helpers and changed the scaffold generator so t…

    larzconwell authored
    …hat the
    
    environment uses a lowercase plural name for the database name.
Commits on Jul 19, 2012
  1. @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 16, 2012
  1. @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

    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 11, 2012
  1. @larzconwell

    Updated readme to reflect new generators

    larzconwell authored
    Completed scaffold generator and made refinements to the other generators
Something went wrong with that request. Please try again.