Commit Graph

43 Commits

Author SHA1 Message Date
Nathan Heskew
1b82ea74f9 #17238: A module's default route URL should be a valid URL without the need for further escaping.
- adding a Path property on ExtensionDescriptor that's used in place of the area name for default route URLs
- the Path property if not set will be the Name if it's a valid URL segment, otherwise it will be the Id
- if an *invalid* Path is given an error will be logged and the extension will not be loaded

--HG--
branch : dev
2011-02-01 15:56:12 -08:00
Renaud Paquay
99e4ed8857 Updating version #s to match 1.0 release
--HG--
branch : 1.x
2011-01-17 15:04:57 -08:00
Renaud Paquay
94563832d9 Updating version # to 1.0
--HG--
branch : 1.x
2011-01-11 16:47:30 -08:00
andrerod
a1ea9c307c Fixing some ignored UT. Adding comments. Welding content item parts conditionally.
--HG--
branch : 1.x
2010-12-28 19:44:14 +00:00
andrerod
7055183bf4 Removing duplicate UT.
--HG--
branch : 1.x
2010-12-28 19:26:17 +00:00
Renaud Paquay
8935efc96c Update version # to 0.9.0
--HG--
branch : dev
2010-12-13 21:56:39 -08:00
Renaud Paquay
2539da02a8 Fix unit tests
--HG--
branch : dev
2010-12-13 16:58:24 -08:00
Andre Rodrigues
f3f518b0db Replacing Module/Theme/Core strings.
--HG--
branch : dev
2010-12-01 17:37:11 -08:00
Renaud Paquay
4f95fc4a4c Merge perf => dev
--HG--
branch : dev
2010-11-21 12:27:22 -08:00
Suha Can
e5aef055cf PERF: Replacing YAML parser with a simpler implementation.
All external YAML references have been removed from Orchard.

--HG--
branch : perf
2010-11-19 18:41:38 -08:00
Suha Can
cc6b152b74 Removing unneeded Yaml reference from Orchard.Framework.Tests.
--HG--
branch : perf
2010-11-18 17:01:56 -08:00
Dave Reed
67cb21d12b Related to #16712. Rename Feature/ExtensionDescriptor Name -> Id, and DisplayName -> Name.
--HG--
branch : dev
2010-11-18 15:37:47 -08:00
Louis DeJardin
c4fefc4a44 Fixing tests
Adding StubCacheManager and Signal to various test container setups
Also ignoring some tests in extensionmanagertests until the semantics can be cleared up

--HG--
branch : perf
2010-11-17 01:36:01 -08:00
Louis DeJardin
30191928b5 Incremental improvement to extension manager
--HG--
branch : perf
extra : rebase_source : f2697bf60ab12c79e848e1794652e19ac5933d3a
2010-11-12 18:58:35 -08:00
Renaud Paquay
4f049161ce Change version # to 0.8.0
--HG--
branch : dev
2010-10-16 09:37:42 -07:00
Sebastien Ros
2836673667 Pascal casing manifest files
--HG--
branch : dev
2010-10-07 12:38:33 -07:00
Sebastien Ros
02759d0c5b Adding some unit tests on Themes unification with Modules
--HG--
branch : dev
2010-09-30 17:46:36 -07:00
Louis DeJardin
ceebc80d96 Updates to display management
Breaking out the shape binding strategies
Implements a ShapeAttribute based shape discovery
Implements a template file name based discovery
Adjusts webforms engine for fully-qualified view names to limit itself to known extensions

--HG--
branch : mvc3p1
2010-08-30 16:02:20 -07:00
Renaud Paquay
4bd6abe055 Replacing all version# with 0.5.0
--HG--
branch : dev
2010-07-19 14:04:53 -07:00
Renaud Paquay
baebaec05d Dynamic compilation bug fix
Symptom: One the first modification to a source file starts a dynamic
compilation. After that, changes are ignored.

Fix: The problem was that we need to override the "FileHash" value returned
for csproj files to include the hash of all source files. This is so that
any changes to any source file will notify ASP.NET that the .csproj file
needs to be recompiled using a the corresponding build provider.

--HG--
branch : dev
2010-07-15 17:30:07 -07:00
Renaud Paquay
81b93a6699 Small refactorings
--HG--
branch : dev
2010-07-06 11:25:39 -07:00
Sebastien Ros
9fb7ccaa11 Clean up some code
--HG--
branch : dev
2010-07-02 10:38:46 -07:00
Renaud Paquay
606d1869ab Add support for dynamic extension dependencies
Suppose Module A is loaded through its pre-compiled version
Suppose Module B is loaded through its pre-compiled version
Suppose Module A depends on Module B

If the csproj of Module B is updated, Module B will be dynamically compiled.
We have to ensure Module A is also dynamically compiled, because Module A can't
reference the pre-compiled version of B anymore.

The way we enforce this is by asking every loader if they are compatible
with all module references of a module before picking it as the actual loader.
If a loader decides it's not compatible with the module references, the next
loader in order of priority will be considered.

--HG--
branch : dev
2010-06-30 23:41:44 -07:00
Renaud Paquay
65c3ff3cd7 Rename
--HG--
branch : dev
2010-06-30 20:57:40 -07:00
Renaud Paquay
afc5979c10 Rename ReferenceDescriptor to DependencyReferenceDescriptor
--HG--
branch : dev
2010-06-30 20:01:44 -07:00
Renaud Paquay
c43e87662c Support for dynamic loading of module references
--HG--
branch : dev
2010-06-30 18:18:11 -07:00
Renaud Paquay
253126957d Removed unused parameter
--HG--
branch : dev
2010-06-18 18:35:19 -07:00
Renaud Paquay
a7841bd919 Slightly refactor ExtensionLoader.Load method implementations
--HG--
branch : dev
2010-06-18 14:27:04 -07:00
Renaud Paquay
9444fc83f5 Add unit test for IDepdendenciesFolder
--HG--
branch : dev
rename : src/Orchard.Tests/Environment/Configuration/AppDataFolderTests.cs => src/Orchard.Tests/FileSystems/AppData/AppDataFolderTests.cs
2010-06-15 14:04:55 -07:00
Renaud Paquay
cd3a537396 work on extension loading
* Add a "ExtensionLoaderCoordinator" class
* Rework the way loaders are notified of extensions being loaded,
  (de)activated, etc.

--HG--
branch : dev
2010-06-14 09:01:31 -07:00
Renaud Paquay
695f001f0f Add ability for OrchardHost to reset its state when Extensions change
OrchardHost calls into all extension loaders to all extensions descriptor,
allowing each loader to add the set of resource to monitor for change.
OrchardHost resets its list of shells at the beginning of a request if
any monitored resources has changed.

--HG--
branch : dev
2010-06-12 12:38:49 -07:00
Renaud Paquay
9b9efe02a2 Removing obsolete method
--HG--
branch : dev
2010-06-11 21:20:13 -07:00
Renaud Paquay
75efa67b61 Make extension loading a 2 pass process
First pass is "probing": any loader who thinks it can load a
given extension returns a descriptor for it. The descriptor contains
information about how old the extension is.

The extension manager sorts the descriptor list return by probing all
loaders, and picks the most recent entry.

During the 2nd pass, each loader is called again, with the candidate extension
entry as argument. This allows each loader to be notified that, if they don't
load an extension, they might still need to cleanup some state related to
previous loading.

In essence, this is implementing a complete state machine of loaders and
extension "active/inactive" states/transitions.

--HG--
branch : dev
2010-06-11 17:12:27 -07:00
Renaud Paquay
98e676800d Fix unit test
--HG--
branch : dev
2010-05-19 13:56:00 -07:00
Renaud Paquay
bbb3363519 Fix unit tests
--HG--
branch : dev
2010-05-19 13:44:53 -07:00
Renaud Paquay
98e6ae9c76 Fix unit tests
--HG--
branch : dev
2010-05-19 13:42:01 -07:00
Renaud Paquay
803d040732 Fix unit test
--HG--
branch : dev
2010-05-18 14:32:05 -07:00
Louis DeJardin
c138cc996d Incremental work towards cache/volatile system
--HG--
branch : dev
2010-05-14 22:30:16 -07:00
Suha Can
4eb92e63ec - IExtensionManager refactoring: LoadFeature is obsoleted and internal in favor of LoadFeatures.
- Related changes to callers.

--HG--
branch : dev
2010-04-26 16:21:06 -07:00
Suha Can
dbc43a3a5c - Fixing some broken tests (table prefix and extension manager refactoring side effects)...
--HG--
branch : dev
2010-04-20 13:42:32 -07:00
Louis DeJardin
78d5711e1a Creating feature for extension name implicitly
Supports existing module.txt file format
Reduces the size of a minimalistic descriptor file

--HG--
branch : dev
2010-04-19 16:34:35 -07:00
Louis DeJardin
1cfaae90b8 Building out composition strategy
Four main component types are populated from topology
Additional information for table/area/controller name populated
Some core types for records added automatically

--HG--
branch : dev
2010-04-17 17:03:07 -07:00
Louis DeJardin
6fb6ef0033 Relocating extensions to environment namespace
--HG--
branch : dev
2010-04-17 16:09:53 -07:00