Renaud Paquay
b299c73824
Implement parsing of method calls
...
Parsing methods calls of the form:
<identifier> '(' arg [, arg, ...] ')'
<identifier> arg [, arg, ...]
--HG--
branch : dev
2010-11-27 23:04:30 -08:00
Renaud Paquay
98abc18658
Refactor/simplify interpreter
...
--HG--
branch : dev
2010-11-27 22:18:56 -08:00
Renaud Paquay
8fa1af1939
Initial interpreter implemenation
...
--HG--
branch : dev
2010-11-27 19:57:33 -08:00
Renaud Paquay
289ba2ff5e
More renames and re-org
...
--HG--
branch : dev
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/AbstractSyntaxTree.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Ast/AbstractSyntaxTree.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/AstNode.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Ast/AstNode.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/BinaryAstNode.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Ast/BinaryAstNode.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/ConstantAstNode.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Ast/ConstantAstNode.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/ErrorAstNode.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Ast/ErrorAstNode.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/IAstNodeWithToken.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Ast/IAstNodeWithToken.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/UnaryAstNode.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Ast/UnaryAstNode.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Lexer.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Compiler/Lexer.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Parser.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Compiler/Parser.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Terminal.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Compiler/Token.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/TerminalKind.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Compiler/TokenKind.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Tokenizer.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Compiler/Tokenizer.cs
2010-11-27 17:56:32 -08:00
Renaud Paquay
847cf5fb66
Bunch of renames and class re-organization
...
--HG--
branch : dev
2010-11-27 17:49:20 -08:00
Renaud Paquay
19504f2d40
Bunch of renames and class re-organization
...
--HG--
branch : dev
rename : src/Orchard.Tests.Modules/SimpleScriptingTests/ExpressionEvaluatorTests.cs => src/Orchard.Tests.Modules/SimpleScripting/EvaluatorTests.cs
rename : src/Orchard.Tests.Modules/SimpleScriptingTests/ExpressionParserTests.cs => src/Orchard.Tests.Modules/SimpleScripting/ParserTests.cs
rename : src/Orchard.Tests.Modules/SimpleScriptingTests/SimpleScriptingTests.cs => src/Orchard.Tests.Modules/SimpleScripting/SimpleScriptingTests.cs
rename : src/Orchard.Tests.Modules/SimpleScriptingTests/ExpressionTokenizerTests.cs => src/Orchard.Tests.Modules/SimpleScripting/TokenizerTests.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/TokenKind.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/AbstractSyntaxTree.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/TokenKind.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/IAstNodeWithToken.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/ExpressionLexer.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Lexer.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/ExpressionParser.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Parser.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/TokenKind.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/TerminalKind.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/ExpressionTokenizer.cs => src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Tokenizer.cs
2010-11-27 17:49:12 -08:00
Renaud Paquay
93835cba2a
Rename tests
...
--HG--
branch : dev
rename : src/Orchard.Tests.Modules/SimpleScriptingTests/ExpressionLexerTests.cs => src/Orchard.Tests.Modules/SimpleScriptingTests/ExpressionTokenizerTests.cs
2010-11-27 17:39:01 -08:00
Renaud Paquay
334726e08a
A few fixes and renames
...
--HG--
branch : dev
2010-11-27 17:36:55 -08:00
Renaud Paquay
ca1d1987bf
Initial implementation of simple scripting parser
...
--HG--
branch : dev
2010-11-27 16:00:45 -08:00
Sébastien Ros
a376b7b40b
Preventing anti forgery tokenized forms to be cached
...
Work Item: 16538
--HG--
branch : dev
2010-11-27 10:54:44 -08:00
Renaud Paquay
112e23243d
Merge
...
--HG--
branch : dev
2010-11-26 18:10:18 -08:00
Renaud Paquay
5e03cf781f
Adding Orchard.Core.csproj to the list of project to validate
...
--HG--
branch : dev
2010-11-26 18:09:51 -08:00
Sébastien Ros
4631207f51
Adding UI to change password
...
- new Lost Password link in LogOng view
- sends a reset link by mail
Work Item: 16341
--HG--
branch : dev
2010-11-26 17:02:22 -08:00
Nathan Heskew
b2eb5e2f66
Fixing how the default home page is configured during setup
...
--HG--
branch : dev
2010-11-26 14:46:37 -08:00
Renaud Paquay
4a4ff6049a
Add Microsoft.Web.Infrastructure to ~/bin
...
This is necessary for deployment, as System.Web.Mvc loads this assembly
at startup (before Orchard extension manager has the opportunity to copy
the assembly to ~/App_Data/Dependencies
--HG--
branch : dev
2010-11-26 14:15:19 -08:00
Renaud Paquay
463a215107
Remove unused files
...
--HG--
branch : dev
2010-11-26 14:14:06 -08:00
Renaud Paquay
23741cbeec
Merge
...
--HG--
branch : dev
2010-11-26 00:09:49 -08:00
Nathan Heskew
b08c5c69d4
Merge
...
--HG--
branch : dev
2010-11-25 22:10:32 -08:00
Nathan Heskew
79fbacf0b6
Updating the RoutableHomePageProvider to use the relevant display action for the given content item.
...
This lets unique display actions, like Blog/Item, do their own thing. In the case of the blog, its posts are once again showing up on the home page.
The routing problem (where the home page'd item still is seen as having its own path) still needs to be fixed so the item on the home page can't be hit at different URLs (and so something like paging works on the home page)
work item: 16720
--HG--
branch : dev
2010-11-25 22:10:07 -08:00
Nathan Heskew
b532569eb4
Unblocking the use of Html.RenderAction and Html.Action in Orchard views
...
--HG--
branch : dev
2010-11-25 22:04:12 -08:00
Renaud Paquay
2cae64ec8d
Merge
...
--HG--
branch : dev
2010-11-25 18:36:27 -08:00
Renaud Paquay
85bf6158fc
Make TagRecord class safer to use
...
--HG--
branch : dev
2010-11-25 18:30:15 -08:00
Renaud Paquay
f466efda4a
Fix bug in item admin
...
The link can't go to the front-end since we are showing all content
items, even the ones that are not published.
--HG--
branch : dev
2010-11-25 18:28:54 -08:00
Renaud Paquay
be9646daa1
Cleanup tags modules
...
Move code to remove content item in ITagService
Admin page for a tag shows all content items (even the ones
that are not published)
--HG--
branch : dev
2010-11-25 18:25:18 -08:00
Renaud Paquay
51c03b08f5
Deleting useless code
...
--HG--
branch : dev
2010-11-25 17:25:20 -08:00
Renaud Paquay
bea037b31a
Fixing migration to reflect new persistance format
...
--HG--
branch : dev
2010-11-25 17:16:51 -08:00
Renaud Paquay
c24b987f79
Cleaning up tag persistance layer (ITagService)
...
Also added unit tests
--HG--
branch : dev
rename : src/Orchard.Web/Modules/Orchard.Tags/Models/TagsContentItems.cs => src/Orchard.Web/Modules/Orchard.Tags/Models/ContentTagRecord.cs
2010-11-25 17:07:20 -08:00
Sébastien Ros
0b76f00394
Changing "Technical Name" to "Content Type Id"
...
--HG--
branch : dev
2010-11-25 13:30:01 -08:00
Renaud Paquay
fc9e733857
Fix NullReferenceException
...
Not all content types have a definition in metadata!
--HG--
branch : dev
2010-11-25 09:29:50 -08:00
Renaud Paquay
a32765d653
First step at simplifying Tags implementation
...
--HG--
branch : dev
rename : src/Orchard.Web/Modules/Orchard.Tags/Models/Tag.cs => src/Orchard.Web/Modules/Orchard.Tags/Models/TagRecord.cs
2010-11-25 09:26:44 -08:00
Nathan Heskew
5e1a3cb3ac
Fixing widget layer editing and tidying up the widget management index template.
...
work item: 16837
--HG--
branch : dev
2010-11-24 23:31:49 -08:00
Renaud Paquay
a7a6067497
Merge
...
--HG--
branch : dev
2010-11-24 19:16:14 -08:00
Renaud Paquay
80a4c43ded
Feature list not refreshed when adding a new module
...
Update cache manager to rely on a thread static variable to
keep track of nested calls to ICacheManager.Get().
This fixes this particular bug of IExtensionManager caching the list
of available features: instead of storing the result of the computation
in a field (which is incorrect), use the cache manager.
Work Items: 16867
--HG--
branch : dev
2010-11-24 19:14:29 -08:00
Sebastien Ros
e9220fa517
Including Theme.png in theme scaffolding command
...
Work Item: 16682
--HG--
branch : dev
2010-11-24 18:05:02 -08:00
Andre Rodrigues
e038c14b85
Merge
...
--HG--
branch : dev
2010-11-24 17:26:06 -08:00
Andre Rodrigues
11fae965cb
Replacing tabs in spec flow tests.
...
--HG--
branch : dev
2010-11-24 16:50:23 -08:00
Nathan Heskew
8edd27b884
Updating Shapes.txt
...
--HG--
branch : dev
2010-11-24 16:18:02 -08:00
Andre Rodrigues
eb49c10881
Merge
...
--HG--
branch : dev
2010-11-24 16:11:22 -08:00
Andre Rodrigues
d94666aac0
Replace tabs for spaces in views, css and cs files.
...
--HG--
branch : dev
2010-11-24 16:10:08 -08:00
Renaud Paquay
c8fbbbe53e
Adding Unit Test to very case insensitive behavior
...
--HG--
branch : dev
2010-11-24 16:03:08 -08:00
Renaud Paquay
de0a072492
Fix unit tests
...
--HG--
branch : dev
2010-11-24 15:58:48 -08:00
Andre Rodrigues
b84a4f74e8
Fixing a few more unlocalized exceptions.
...
--HG--
branch : dev
2010-11-24 15:50:01 -08:00
Renaud Paquay
e2fb055f59
Merge
...
--HG--
branch : dev
2010-11-24 15:25:58 -08:00
Sebastien Ros
67a45f1c09
Validating content type names, and displaying technical names
...
Work Item: 16471
--HG--
branch : dev
2010-11-24 15:24:11 -08:00
Andre Rodrigues
fd4c58d4b4
Initializing localizer
...
Adding information notifications
Adding localization invocations where necessary
Replacing tabs for spaces in views
--HG--
branch : dev
2010-11-24 15:19:14 -08:00
Renaud Paquay
81018a76d2
Orchard.exe commands should be case-insensitive
...
Make commands and switch case insensitive. Also change the property value
code to use "System.Convert" instead of hand-coded convertion code.
Work Items: 16590
--HG--
branch : dev
2010-11-24 14:28:15 -08:00
Andre Rodrigues
2652425378
#16864 Making invalid rename to fail.
...
--HG--
branch : dev
2010-11-24 14:10:33 -08:00
Andre Rodrigues
bce90313af
Merge
...
--HG--
branch : dev
2010-11-24 13:46:10 -08:00
Andre Rodrigues
b77e52244b
Moving permissions to initial validations. Removing if/else for form post and using annotation instead.
...
--HG--
branch : dev
2010-11-24 13:45:49 -08:00
Andre Rodrigues
9143df72fd
#16847 : Moving readonly fields outside of form post.
...
--HG--
branch : dev
2010-11-24 13:44:17 -08:00