Commit Graph

1280 Commits

Author SHA1 Message Date
agrath@gmail.com
1a2bba4b2b Added data type detection for MNTP/CSV to return List<int> and fix for NodeById/MediaById to handle List<int> correctly 2011-03-12 15:19:54 -13:00
agrath@gmail.com
44bfcaf373 Changed the decimal.TryParse code slightly to replace , with . before parse attempt
This is because strings like this: "2442,5453,5366" were incorrectly parsing to be "244254535366"
2011-03-12 15:07:17 -13:00
agrath@gmail.com
073053aa33 Work Item: 30160 (DataType lookups not working correctly) 2011-03-12 13:21:34 -13:00
agrath@gmail.com
b624d7479a Fixes work item: 30156, using prop.Contains(string) || !prop.Contains(string)
Added ContainsInsensitive extension method for use inside .Where (fixed method finder too)
2011-03-12 12:33:09 -13:00
matt
5b353d7b4c Work Item: 30153 2011-03-10 15:14:25 +00:00
hartvig
3f3c4a78d7 4.7 it is... 2011-03-10 13:25:44 -01:00
hartvig
a5e2d1e107 Work items: 30152 2011-03-10 13:17:40 -01:00
agrath@gmail.com
b189b70214 Merge 2011-03-09 07:55:54 -13:00
agrath@gmail.com
1716b94449 Added some extra properties/functions to DynamicNull to provide a way to check to see if a child doc type actually exists.
.HasProperty will check for a property existence but because the child types are returned as DynamicNull, you couldn't check for null equality.
Use DynamicNull's .IsNull (true) or .HasValue (false) or .Count() (0) or a typeof check
2011-03-09 07:52:05 -13:00
agrath@gmail.com
f5a7001859 Fixed handling of get properties on DynamicNode when used in a BinaryExpression and neither side is a LambdaExpression 2011-03-09 07:42:43 -13:00
starfighter83
111dee7187 Merge 2011-03-09 16:28:42 -01:00
starfighter83
df04d6ce22 Fixes issue with breadcrumb razor cshtml template 2011-03-09 16:28:25 -01:00
hartvig
5fdfc0d1f8 Work items: 30072 2011-03-09 09:23:08 -01:00
agrath@gmail.com
ddcf34b80c Added .Sibling to DynamicNodeWalker which is a shorthand for checking both .Next() and .Previous()
overloads are .Sibling(int) [which you can pass negative to and is equivilent to .Previous(+int) ] or .Sibling(string) which checks nodeTypeAlias
.Sibling(string) will start walking forward at the current node and then wrap back to 0 until it reaches the starting point again
2011-03-08 19:54:55 -13:00
agrath@gmail.com
a02aca0f62 Added support to DynamicNodeWalker for finding nodes that are Up/Down/Previous/Next by NodeTypeAlias
Up and down are similar to Ancestors(string nodeTypeAlias)/Descendants(string nodeTypeAlias) but return the first match
2011-03-08 19:42:59 -13:00
agrath@gmail.com
d7e83cb1ee Added support to DynamicNodeWalker so that .Next() and .Previous() can be called on nodes which did not come from a DynamicNodeList (e.g. a node you have from @Model) - assuming it has a parent 2011-03-08 19:22:41 -13:00
agrath@gmail.com
fa5b85557f Added support to DynamicNodeList for .Add and .Remove methods to support this use case:
http://our.umbraco.org/forum/developers/razor/17934-Creating-a-DynamicNodeList-with-a-'for'-loop
2011-03-08 19:06:55 -13:00
agrath@gmail.com
042e373b6a Added support for iterating over DynamicXml
e.g. @foreach(var level in @Model.someXmlProperty.Book)
2011-03-08 19:00:44 -13:00
agrath@gmail.com
150d4648c1 Added support for chaining properties if a previous property access returns DynamicNull 2011-03-08 19:00:04 -13:00
agrath@gmail.com
017ed3635a Fixed .Ancestors(int) to return ancestors where the level <= int rather than level = int to match .Descendants(int) >= behaviour 2011-03-08 18:43:59 -13:00
agrath@gmail.com
9949420c6d Change HasAccess and IsProtected to be getters so they can be used in .Where
http://umbraco.codeplex.com/workitem/30096

Add support to DynamicQueryable for accessing properties that are not dynamic and are actually defined on DynamicNode
2011-03-08 18:38:06 -13:00
agrath@gmail.com
9b74eee10c Ensure that getdatatype doesn't throw an exception
http://our.umbraco.org/forum/developers/razor/18085-Access-custom-node-properties-with-Razor
2011-03-08 18:22:31 -13:00
agrath@gmail.com
bc8f21f92d Added implementation for .Visible which wraps umbracoNaviHide != 1 2011-03-08 18:09:06 -13:00
hartvig
1bf6604da9 Work items: 30124 2011-03-08 11:19:06 -01:00
hartvig
5c8eec28c2 Work items: 30088 2011-03-08 11:17:44 -01:00
hartvig
c7e1c439ff Work items: 30125 2011-03-08 11:12:49 -01:00
hartvig
8d19cf6925 Work items: 30143 2011-03-08 11:00:16 -01:00
hartvig
b52e347396 Work items: 30142 2011-03-08 10:30:58 -01:00
PerPloug
c12e2e8e77 symbol files 2011-03-04 13:05:23 -01:00
PerPloug
18ec3850da Merge 2011-03-04 12:15:37 -01:00
PerPloug
5ca7822262 Build file symbols 2011-03-04 12:14:13 -01:00
hartvig
634aaf757f Add support for finding app_code extensions in subfolders for xslt/rest extension discovery 2011-03-03 09:16:03 -01:00
hartvig
1e8bf4ff83 Work items: 30110 2011-03-03 08:41:05 -01:00
starfighter83
dec48c7442 Merge 2011-03-02 13:57:44 -01:00
starfighter83
b566324e7a Merge 2011-03-02 13:57:15 -01:00
starfighter83
bd09b21bb8 Fixes: Splitbuttons in edit template should only be activated on click
Work Items: 30097
2011-03-02 13:56:37 -01:00
hartvig
45ee50ed0f Adding HasCookieValue back to StateHelper and marking it obsolete 2011-03-02 13:50:29 -01:00
hartvig
ea30785baf Work items: 30101 2011-03-02 13:17:30 -01:00
Elijah
7edd9e92e5 DLR Editor Now Saves Files In Sub Dirs 2011-03-02 01:48:58 -11:00
PerPloug
cd170a18ab Removes python folder and empties macroScripts folder 2011-03-01 12:19:19 -01:00
starfighter83
90539868f3 style updates to splitbutton 2011-03-01 09:18:18 -01:00
starfighter83
1121c7ca79 changes width of splitbutton menu 2011-03-01 09:08:28 -01:00
starfighter83
3d8144c617 changes position of razor splitbutton in template editor menu 2011-03-01 08:58:44 -01:00
starfighter83
914ccf873a splitbutton finetuning 2011-03-01 08:35:34 -01:00
starfighter83
8666742004 Merge 2011-03-01 07:24:32 -01:00
starfighter83
f91013618f changes to splitbutton js 2011-03-01 07:24:07 -01:00
hartvig
3239ae8adb Missing updates to legacy and dlr projects 2011-02-28 19:41:06 -01:00
starfighter83
e8093526d0 Merge 2011-02-28 14:37:53 -01:00
starfighter83
905a55a5ee Adds some js so that the macro dropdown in template editor doesn't go outside the screen 2011-02-28 14:37:15 -01:00
hartvig
931aef0265 Merge 2011-02-28 13:03:58 -01:00