Commit Graph

63 Commits

Author SHA1 Message Date
Sebastien Ros
b1c782004b Improving users management
--HG--
branch : dev
extra : transplant_source : %AA%18%27%A6%83%7B%E7o%24%CF%11%81%D7%84%9D%0C%FB%D11%FB
2011-01-15 09:33:29 -08:00
Andre Rodrigues
fa25bca5f5 #17280: Limiting access to media folder.
--HG--
branch : dev
2011-01-31 12:12:22 -08:00
Renaud Paquay
4dd978f304 Update the way we copy c++ run time for SqlCe
--HG--
branch : 1.x
2011-01-12 00:47:26 -08:00
Renaud Paquay
9a4c5d6c52 Fixing widget layer rule issue
Ensuring that the layer rule scripting engine supports more complex rules
such as (authenticated) and (url "~/notes").

Add a bunch of unit tests to ensure consistency between DLR based
engine and custom engine.

Work Item: 17186

--HG--
branch : 1.x
2011-01-07 21:44:50 -08:00
Sebastien Ros
2180db5c87 Adding lost tests for Orchard.Indexing and Lucene
--HG--
branch : dev
2010-12-11 15:40:08 -08:00
Suha Can
63cbb03b93 Adding unit tests for the Comments module.
--HG--
branch : dev
2010-12-04 17:33:02 -08:00
Sebastien Ros
fadcc4ef6e Adding IEncryptionServices
Implements symetric encoding/decoding services based on a per-tenant key generated randomly during setup in the ShellSettings.
Replaces MachineKey.Encode/Decode usages.
Adding ComputedField to wrap get/set calls from parts, making the Smtp password encrypted in the db automatically.

--HG--
branch : dev
2010-12-03 16:14:17 -08:00
Renaud Paquay
a206e1e119 Merge
--HG--
branch : dev
2010-11-28 18:53:03 -08:00
Sébastien Ros
e2adccc598 Refactoring users challenge emails
- Adding unit tests
- Creating a stub for email messages
- Adding tenant's name to nonces in order to prevent cross-tenants substitution

--HG--
branch : dev
2010-11-28 18:34:13 -08:00
Renaud Paquay
517725b5ce Moving scripting engine to Orchard.Scripting
--HG--
branch : dev
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Ast/AbstractSyntaxTree.cs => src/Orchard.Web/Modules/Orchard.Scripting/Ast/AbstractSyntaxTree.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Ast/AstNode.cs => src/Orchard.Web/Modules/Orchard.Scripting/Ast/AstNode.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Ast/AstVisitor.cs => src/Orchard.Web/Modules/Orchard.Scripting/Ast/AstVisitor.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Ast/BinaryAstNode.cs => src/Orchard.Web/Modules/Orchard.Scripting/Ast/BinaryAstNode.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Ast/ConstantAstNode.cs => src/Orchard.Web/Modules/Orchard.Scripting/Ast/ConstantAstNode.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Ast/ErrorAstNode.cs => src/Orchard.Web/Modules/Orchard.Scripting/Ast/ErrorAstNode.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Ast/IAstNodeWithToken.cs => src/Orchard.Web/Modules/Orchard.Scripting/Ast/IAstNodeWithToken.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Ast/MethodCallAstNode.cs => src/Orchard.Web/Modules/Orchard.Scripting/Ast/MethodCallAstNode.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Ast/UnaryAstNode.cs => src/Orchard.Web/Modules/Orchard.Scripting/Ast/UnaryAstNode.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Compiler/Interpreter.cs => src/Orchard.Web/Modules/Orchard.Scripting/Compiler/Interpreter.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Compiler/InterpreterVisitor.cs => src/Orchard.Web/Modules/Orchard.Scripting/Compiler/InterpreterVisitor.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Compiler/Lexer.cs => src/Orchard.Web/Modules/Orchard.Scripting/Compiler/Lexer.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Compiler/Parser.cs => src/Orchard.Web/Modules/Orchard.Scripting/Compiler/Parser.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Compiler/Token.cs => src/Orchard.Web/Modules/Orchard.Scripting/Compiler/Token.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Compiler/TokenKind.cs => src/Orchard.Web/Modules/Orchard.Scripting/Compiler/TokenKind.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/Compiler/Tokenizer.cs => src/Orchard.Web/Modules/Orchard.Scripting/Compiler/Tokenizer.cs
rename : src/Orchard.Web/Modules/Orchard.Widgets/SimpleScripting/ScriptingManager.cs => src/Orchard.Web/Modules/Orchard.Scripting/ScriptingManager.cs
2010-11-28 10:54:21 -08:00
Renaud Paquay
5cdb528d2b Step 2 in renaming Orchard.Scripting to Orchard.Scripting.Dlr
--HG--
branch : dev
rename : src/Orchard.Tests.Modules/Scripting/ScriptingTests.cs => src/Orchard.Tests.Modules/Scripting.Dlr/ScriptingTests.cs
rename : src/Orchard.Tests.Modules/SimpleScripting/EvaluatorTests.cs => src/Orchard.Tests.Modules/Scripting/EvaluatorTests.cs
rename : src/Orchard.Tests.Modules/SimpleScripting/ParserTests.cs => src/Orchard.Tests.Modules/Scripting/ParserTests.cs
rename : src/Orchard.Tests.Modules/SimpleScripting/SimpleScriptingTests.cs => src/Orchard.Tests.Modules/Scripting/SimpleScriptingTests.cs
rename : src/Orchard.Tests.Modules/SimpleScripting/TokenizerTests.cs => src/Orchard.Tests.Modules/Scripting/TokenizerTests.cs
rename : src/Orchard.Web/Modules/Orchard.Scripting.Dlr/Orchard.Scripting.csproj => src/Orchard.Web/Modules/Orchard.Scripting.Dlr/Orchard.Scripting.Dlr.csproj
2010-11-28 10:01:59 -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
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
Nathan Heskew
5393c5c825 Some test fixes and more test temp file cleanup
--HG--
branch : dev
2010-11-19 23:41:33 -08:00
Andre Rodrigues
376ba129a1 Fixing SqlServerCe reference.
--HG--
branch : dev
2010-11-19 14:44:42 -08:00
andrerod
9542da34ff Updating unit tests.
--HG--
branch : dev
2010-11-18 23:57:54 -08:00
andrerod
b911cbb13b Moving scripting outside of framework.
--HG--
branch : dev
2010-11-18 23:50:28 -08:00
Sebastien Ros
f349c6e926 Merge
--HG--
branch : dev
2010-11-18 16:04:40 -08:00
Sebastien Ros
75d3c5b13c Reorganizing modules for new build process
--HG--
branch : dev
2010-11-18 16:01:09 -08:00
andrerod
6eb257fc7c Updating project references with hint paths to avoid warnings on clean.
--HG--
branch : dev
2010-11-14 00:09:42 -08:00
Dave Reed
e869a4f467 Fixing some basic fx cop warnings
--HG--
branch : dev
2010-11-12 12:47:06 -08:00
Sebastien Ros
b9c143b82f Merge
--HG--
branch : nuget
2010-11-11 13:50:53 -08:00
Dave Reed
ca74da5ea5 Setting code analysis ruleset to paired down Security rules.
--HG--
branch : dev
2010-11-10 16:16:54 -08:00
Sebastien Ros
078fa69d13 Merge
--HG--
branch : nuget
2010-11-09 17:01:17 -08:00
Nathan Heskew
bb3e63b9d9 Updating XmlRpc functionality to clear up the confusion with Live Writer (WLW) and categories (since there is not category support)
- updated IXmlRpcHandler to also have a vvoid SetCapabilities(XElement element) so handlers can specify what capabilities they support
- updated the WLW manifest to have a thiner capability set (e.g. no category support) so handlers can light up what they support
- updated the XmlRpcHandlers to add what capabilities they support. there'a room for imporoving (adding/removing) specified capabilities here so the WLW only shows features for what's supported
- added WLW support for tags so a tags input can be used in place of the categories input in the WLW UI

--HG--
branch : dev
2010-11-17 15:36:57 -08:00
Sebastien Ros
77cc446f99 Preparing PackageExpander unit tests
--HG--
branch : nuget
2010-11-08 13:21:06 -08:00
Nathan Heskew
35d8f46d92 Making displayed size a bit more friendly
--HG--
branch : dev
2010-11-04 22:25:08 -07:00
Louis DeJardin
204bf60d18 Merge
--HG--
branch : nuget
2010-10-30 22:17:15 -07:00
Louis DeJardin
36c1a85b7d Updating NuGet integration
Using latest version
Namespace change from NuPack to NuGet
Adding tests for package creation

--HG--
branch : nuget
extra : transplant_source : H%D0%91G%21%E4%22x%00%B6eX%8E%98%04%FE%2B%B57%28
2010-10-29 12:17:26 -07:00
Nathan Heskew
c8f90ab6c4 Fixing a bug with "~/something/*" url's in the UrlRuleProvider
--HG--
branch : dev
2010-10-28 07:02:18 -07:00
Suha Can
92916c66dd - Cleaning up/refactoring/removing some obsolete classes/flagged code.
--HG--
branch : dev
2010-10-18 14:56:17 -07:00
Louis DeJardin
70426a89b9 Overloading ContentPart to optionally have new shape passed in
If lambda takes an argument, it is dynamic, and is an uninitialized shape of the named type
ShapeHelper and IShapeHelperFactory are obsolete - IShapeFactory itself is now dynamic

--HG--
branch : dev
2010-10-15 17:24:30 -07:00
Andre Rodrigues
a37f967556 Widget and layer administration.
--HG--
branch : dev
2010-10-11 10:15:15 -07:00
Nathan Heskew
7b36d725b5 Adding a BaseTheme property to Theme
--HG--
branch : dev
2010-10-05 13:55:29 -07:00
Suha Can
ce208c44f2 - RuleEngine implementation for widget layer rules.
- The ResultFilter uses the rule manager to filter out layers and widgets.
- Added rules to default layers.
- RuleManager with callback injection into the dlr scripting sandbox.
- RuleProvider implementations for Url and Authenticated. Anonymous is just "not Authenticated".
- RuleContext.
- Renaming Layer.Rule to Layer.LayerRule. NHibernate bug for SqlCe most likely, couldn't escape "Rule" as expected.
- Unit tests.

--HG--
branch : dev
2010-10-04 12:27:59 -07:00
Andre Rodrigues
d0d60f2c1f Added the codegeneration module.
--HG--
branch : dev
2010-09-29 15:56:18 -07:00
Nathan Heskew
69a18e8a53 Pulling references to a bunch of modules not necessary for a minimum configuration
--HG--
branch : dev
2010-09-01 11:31:26 -07:00
Nathan Heskew
69c901e5c0 Starting the move to ASP.NET MVC 3 Preview 1
--HG--
branch : mvc3p1
2010-08-16 15:37:51 -07:00
Nathan Heskew
cd6043aeb3 Removing Orchard.Pages (Page type covered by core app features: Contents, Common, PublishLater, Route, Comments, Tags & Localization)
--HG--
branch : dev
2010-07-23 09:46:02 -07:00
Renaud Paquay
2ce8a58cdc Cleanup build for SqlCe
No need to mark test assemblies as x86
No need to copy nunit to a temporary directory
Also remove unused file

--HG--
branch : dev
2010-07-13 22:04:02 -07:00
Renaud Paquay
d70f391d93 Fix AfterBuild task to work on TeamCity
--HG--
branch : dev
2010-07-13 20:25:36 -07:00
Renaud Paquay
62f900b5d8 Completely remove support from SQLite, use SqlCe instead
--HG--
branch : dev
rename : src/Orchard/Data/Migration/Interpreters/SqLiteCommandInterpreter.cs => src/Orchard/Data/Migration/Interpreters/SqlCeCommandInterpreter.cs
2010-07-13 19:49:42 -07:00
Sebastien Ros
b3b48fa3df Split Indexing in two disctint modules
- Added new Lucene module with Lucene.NET reference
- Banner message is displayed if no index service is enabled when Orchard.Indexing is active
- Added new MetadataExtensions for settings
- Blogs, Page and Sandbox aredefined as indexed during setup

--HG--
branch : dev
2010-07-09 13:16:02 -07:00
Sebastien Ros
40769d6f2a Complete refactoring on Indexing module
Changed Parse() to use lucene syntax
Moved everything to Orchard.Indexing
New filters for search

--HG--
branch : dev
2010-06-17 16:21:29 -07:00
Louis DeJardin
e2af46ed71 Changing folder paths to follow namespaces
--HG--
branch : dev
2010-06-11 17:28:46 -07:00
Louis DeJardin
596729a2ce Removing obsolete eventbus interface, firing shell activated/terminated events in isolated scope, fixing tests
--HG--
branch : dev
2010-05-28 16:24:57 -07:00
Renaud Paquay
0f96552ecc Fix for SQLite bitness
Force unit test to be x86, since we are using SQLite 32-bit. This is temporary
until we find a better solution.

--HG--
branch : net40
2010-05-06 11:50:05 -07:00