Commit Graph

83 Commits

Author SHA1 Message Date
Tom Fulton 03e7b2956a Add tests for Models and ValueConverter 2014-02-03 19:50:47 -07:00
Tom Fulton 121cac5798 Add .Tests project, install packages 2014-01-28 00:26:11 -07:00
Tom Fulton 1fb5ab489e Merge branch 'develop' of github.com:imulus/Archetype into develop 2014-01-27 23:29:56 -07:00
Tom Fulton 3cff83af72 Quick UI update 2014-01-27 22:54:56 -07:00
Taylor Smith b78b4627db Merge branch 'master' into develop 2014-01-21 20:16:14 -07:00
Taylor Smith 0a5b3f9c37 Merge pull request #15 from leekelleher/issue-14-packages.json
Added 'repository' field to `packages.json`.
2014-01-21 17:10:12 -08:00
Kevin Giszewski b94a6048e7 Merge pull request #16 from imulus/feature/refactors
Refactor the code
2014-01-19 05:52:46 -08:00
Kevin Giszewski 12428c71a9 Use JSON.parse in favor of eval() 2014-01-19 08:51:49 -05:00
Kevin Giszewski ffc876eed2 Update comments 2014-01-19 08:14:27 -05:00
Kevin Giszewski 41c43f1b7e Remove function no longer used 2014-01-19 08:14:19 -05:00
Kevin Giszewski acc27c1976 Add missing closing tokens 2014-01-19 08:13:47 -05:00
Kevin Giszewski 41dfac827a Remove deep watch b/c we are no longer tracking real-time changes of the config/default value 2014-01-19 08:12:51 -05:00
Kevin Giszewski d5d05cef2f Rename the propertyEditorService to propertyEditorResource 2014-01-19 08:00:09 -05:00
Kevin Giszewski 4900dcc5b6 Rename getPropertyIdByAlias, convert getFieldsetByAlias to underscore notation 2014-01-17 14:16:49 -05:00
Kevin Giszewski eb2cbf7a8f Update README.md v0.1-alpha 2014-01-17 12:16:35 -05:00
Kevin Giszewski 8a42c6fdbd Update README.md 2014-01-17 12:04:03 -05:00
leekelleher 1443149264 Added 'repository' field to packages.json.
This removes npm's nag warning.
2014-01-17 16:42:13 +00:00
Kevin Giszewski 8a4f3de023 Update README.md 2014-01-17 10:49:43 -05:00
Tom Fulton 5a092daca9 Mark package versions as prelease 2014-01-17 03:22:03 -07:00
Tom Fulton e9f710ea9e Include C# solution in build/package outputs 2014-01-17 02:54:59 -07:00
Tom Fulton 9d3f4e76db Quick cleanup of packaging tasks 2014-01-17 02:20:54 -07:00
Tom Fulton 489628451b Merge branch 'develop' into feature/packaging
Conflicts:
	.gitignore
	Gruntfile.js
	package.json
2014-01-16 23:33:53 -07:00
Tom Fulton 0c4c04f84e Merge branch 'develop' into feature/nuget
Conflicts:
	.gitignore
	Gruntfile.js
	package.json
2014-01-16 23:30:38 -07:00
Kevin Giszewski d46ae5b993 Fix validation bug, rename labelExpression, change error style 2014-01-16 19:43:15 -05:00
Kevin Giszewski b73b728780 Merge pull request #13 from imulus/feature/default-value
Feature/default value
2014-01-16 12:05:03 -08:00
Kevin Giszewski deb771e456 Alter config and defaultValue
- Turn into strings and try to eval on render
2014-01-16 15:03:41 -05:00
Kevin Giszewski d80f828b29 Fix validation.requiredAliases ini error 2014-01-16 14:43:46 -05:00
Kevin Giszewski c0e867b547 Merge pull request #10 from imulus/feature/configUI
Feature/config ui
2014-01-16 11:27:01 -08:00
Kevin Giszewski bd3cb98fe3 Rename the DLL Assembly (remove Imulus) 2014-01-16 14:26:10 -05:00
Kevin Giszewski 847c42238b Remove Imulus References from Archetype except for C# and Property Alias
- Default to only one fieldset
- Move all other options to 'advanced'
2014-01-16 14:23:02 -05:00
Kevin Giszewski 77084d5ce3 Rename views.js to config.views.js 2014-01-16 14:03:39 -05:00
Kevin Giszewski 758b479f2e Merge branch 'feature/fieldset-label-expressions' into feature/configUI 2014-01-16 13:47:19 -05:00
Kevin Giszewski a8cb0613cf Rename renderItem to renderFieldset 2014-01-16 13:42:08 -05:00
Kevin Giszewski 9424230452 Convert config to underscore 2014-01-16 13:41:51 -05:00
Kevin Giszewski ab6361f4ab Complete Feature Required
- Also switch to underscore.js for controller.js
2014-01-16 12:37:01 -05:00
Tom Fulton 963447ba38 Replace fieldset label expressions with basic templates
The Label Expr. field can now be defined like this:  Person: {{firstName}} {{lastName}}

Where firstName and lastName are the property alias of a property on the current fieldset
2014-01-15 23:27:33 -07:00
Kevin Giszewski e44a448f62 Removed the hasValue propotype, caused issues on save 2014-01-15 20:23:59 -05:00
Kevin Giszewski 5b0cb2c4ba Merge branch 'feature/configUI' of github.com:imulus/Archetype into feature/configUI 2014-01-15 19:44:53 -05:00
Kevin Giszewski b07d2c03ec Add Fieldset Highlight when !isValid 2014-01-15 19:44:27 -05:00
Kevin Giszewski 22bd3429df Update README.md 2014-01-15 19:21:24 -05:00
Kevin Giszewski 8fb49fab56 Merge branch 'develop' into feature/configUI 2014-01-15 19:19:14 -05:00
Kevin Giszewski d6dcf217e6 Merge pull request #11 from imulus/feature/template-helper
Template Helpers
2014-01-15 16:18:44 -08:00
Kevin Giszewski c540f90e4a Remove Sample Model 2014-01-15 19:17:22 -05:00
Tom Fulton e5f8dc5634 Add methods to access specific properties from a Fieldset
* GetValue("alias") - gets the value as a string
* GetValue<T>("alias") - attempts to convert to the specified types using some of Umbraco's built in TypeConverter logic.  If conversion fails, returns default(T).  Note this doesn't utilize PropertyValueConverters (yet?)
* GetProperty("alias") - gets a reference to the entire property object.  Leaving this private for now, but there may be a reason to publicize someday if we add more properties to the Property object.
2014-01-15 16:17:32 -07:00
Kevin Giszewski 4548c185d9 WIP on 'Required' 2014-01-15 17:31:31 -05:00
Tom Fulton eea861bb28 Pull in Kevin's PropertyValueConverter project 2014-01-15 15:00:47 -07:00
Tom Fulton 2e0a84852b Add grunt task for creating umbraco package 2014-01-15 14:16:17 -07:00
Kevin Giszewski 67d727647a Persist (don't collapse) a config FS if it's the only one. 2014-01-15 15:42:35 -05:00
Kevin Giszewski e42d86d594 Add Collapser to Property Configs 2014-01-15 15:31:52 -05:00
Kevin Giszewski 14455ad9a2 Add propertyEditorService
- using a static json file for now (could not find any way to get a list)
2014-01-15 14:36:06 -05:00