Commit Graph

10072 Commits

Author SHA1 Message Date
Sipke Schoorstra
e9f883c296 Removed unnecessary call to DistributedLockSchemaBuilder.
Also added code to commit the transaction if the schema was created so that it can be used in the same request (DataMigrationManager is doing the same after each migration).
2015-09-08 20:56:28 +01:00
Sébastien Ros
ce1df8d794 Merge pull request #5677 from dcinzona/Gulpfile-watch-assets.json
Enables gulp watch of Assets.json
2015-09-08 11:37:54 -07:00
Sébastien Ros
74be36d8a3 Merge pull request #5763 from phillipsj/1.9.x
Updating DynamicForms Module.txt
2015-09-08 11:11:12 -07:00
Jamie Phillips
2bb7eb2f91 Updating DynamicForms Module.txt
The CustomForms module name and website were listed.
2015-09-08 13:06:04 -04:00
Sebastien Ros
c4592aa65f Selecting the layer "Default" on the widgets start screen
Fixes a specflow bug which expect "Default" to be the default
selected layer. Appeared since layers are ordered alphabetically.
2015-09-08 09:27:36 -07:00
Sebastien Ros
9bac35b3f1 Removing duplicated using 2015-09-08 09:12:26 -07:00
Sipke Schoorstra
dcb340c3e6 Improved exception message.
When developers accidentally add recipes to a module with the same name, a "key already exists" error would be logged.
This message makes it easier to identify the issue.
2015-09-08 14:27:03 +01:00
Lombiq
2a0f866f26 Fixing exception when importing Projection Elements with the default layout selected
Fixed the export of this previously, this was remaining.
2015-09-08 01:01:23 +02:00
Sipke Schoorstra
4ad806af8e Refactored the way elements are instantiated.
Elements are now resolved using work context scope.
2015-09-07 18:22:56 +01:00
Sipke Schoorstra
a760f012f2 Optimized HomeAlias exported XML a bit.
Also fixed an issue when a custom route contains an empty value for a route value entry (e.g. id=null).
2015-09-07 17:57:36 +01:00
Sipke Schoorstra
d81e32d3b8 Added separator pipe between edit and delete (Alias UI). 2015-09-07 17:48:00 +01:00
Sipke Schoorstra
7ba273b4c4 Removed copy of SetupService from ImportExport.
Refactored ISetupService and SetupContext to work with an actual Recipe object so that client code can control what recipe to use.
2015-09-07 17:29:30 +01:00
Thierry Fleury
371238a882 Add parameterized tokens tests 2015-09-07 15:14:20 +02:00
Sipke Schoorstra
999a10b6e4 Shaving off a few microseconds per content item import. 2015-09-07 13:22:01 +01:00
Thierry Fleury
67e7d1074e Allow Text token chaining when possible.
Correct some errors on token descriptions.
2015-09-07 11:57:20 +02:00
Thierry Fleury
25c34d8bca Fixes #5563 : Allow token chaining on DynamicForms submissions. 2015-09-07 11:57:19 +02:00
Thierry Fleury
75f3a618f0 Enhances TaxonomyField's token chaining. 2015-09-07 11:57:18 +02:00
Thierry Fleury
9947f3973e Add new Chain method for tokens
The new method allows working with parameterized tokens.
2015-09-07 11:57:17 +02:00
Lombiq
a685517118 Normalizing all catch (Exception ex) lines and adding exception fatality check where applicable, fixes #3949 2015-09-07 00:17:57 +02:00
Daniel Stolt
49c772bf25 Removed redundant thread synchronization code from modules which now use distributed locks. 2015-09-06 21:41:30 +02:00
Daniel Stolt
86b9f35454 Refactored distributed locks. 2015-09-06 21:40:45 +02:00
Daniel Stolt
1da2d7e3e9 Added process ID to machine name. 2015-09-06 17:34:14 +02:00
Daniel Stolt
27f146d6a4 Fixed compiler warning. 2015-09-06 15:51:55 +02:00
Daniel Stolt
324709400f Cleaned up naming, formatting and comments in distributed locks. 2015-09-06 15:51:26 +02:00
Daniel Stolt
14482162fd Marked some tests as long-running. Fixes #5702. 2015-09-06 00:31:15 +02:00
Nicholas Mayne
1cfd5c497c Fixing bad delegate 2015-09-05 15:18:44 +01:00
Sébastien Ros
0f757655b8 Merge pull request #5736 from Codinlab/issue/5735
Fixes #5735 : ContentType name encoding in Lists
2015-09-04 16:35:03 -07:00
Sebastien Ros
4491ab8467 Fixing WorkContext resolution
c.f. https://github.com/OrchardCMS/Orchard/pull/5723#issuecomment-137846843
2015-09-04 16:31:09 -07:00
Sebastien Ros
3f5c6e49ef Revert "Fixing ShapeDesigner"
This reverts commit 6eb32a93df.
2015-09-04 16:20:02 -07:00
Sebastien Ros
39fb266221 Skipping DateTime tests until the right solution is found
c.f. #5702
2015-09-04 15:59:24 -07:00
Sebastien Ros
a1d06ec89e Adding missing changes to specflow web.config 2015-09-04 15:58:10 -07:00
Sebastien Ros
ee149191b9 Formatting web.config 2015-09-04 15:53:39 -07:00
Sebastien Ros
3f8e063d9c Fixing OrchardHost unit tests 2015-09-04 15:53:11 -07:00
Sebastien Ros
cb25be4444 More Json.NET binding redirections 2015-09-04 14:47:51 -07:00
Sebastien Ros
9b91b1b260 Removing unnecessary resolution 2015-09-04 13:20:08 -07:00
Sebastien Ros
428b44a900 Merge branch '1.9.x' into dev
Conflicts:
	src/Orchard.Web/Modules/Orchard.Autoroute/Drivers/AutoroutePartDriver.cs
	src/Orchard.Web/Modules/Orchard.Autoroute/Migrations.cs
	src/Orchard.Web/Modules/Orchard.Search/Drivers/AdminSearchSettingsPartDriver.cs
	src/Orchard/Environment/DefaultOrchardShell.cs
	src/Orchard/Mvc/HttpContextAccessor.cs
	src/Orchard/Orchard.Framework.csproj
	src/Orchard/Tasks/BackgroundService.cs
2015-09-04 13:15:43 -07:00
Sebastien Ros
c2194381f8 Removing unused usings 2015-09-04 12:12:13 -07:00
Sebastien Ros
c860b89e23 Removed erroneous HttpContextBase registrations 2015-09-04 12:12:02 -07:00
Sebastien Ros
04f29ba70c Revert "Cherry picked ce630f980c7a79ae17b36598f3834c4ffd523739."
This reverts commit aba53e122d.

Conflicts:
	src/Orchard.Web/Modules/Orchard.Layouts/Handlers/LayoutPartHandler.cs
	src/Orchard/Mvc/HttpContextAccessor.cs
	src/Orchard/Mvc/IHttpContextAccessor.cs
	src/Orchard/Mvc/MvcModule.cs
	src/Orchard/Orchard.Framework.csproj
	src/Orchard/Tasks/BackgroundService.cs
2015-09-04 10:59:31 -07:00
Sébastien Ros
e118695ea7 Merge pull request #5738 from harmony7/4852-orchardshellevents-workcontext
#4852: Wrap IOrchardShellEvents in a work context
2015-09-04 10:09:36 -07:00
Sipke Schoorstra
94db186b37 Minor polishing. 2015-09-04 14:43:30 +01:00
Thierry Fleury
894e90f485 Use new ActionLink extension method. 2015-09-04 15:08:30 +02:00
Sipke Schoorstra
3efc38dc65 Refactored distributed locks to support existing installations. 2015-09-04 14:06:08 +01:00
Thierry Fleury
97bb52bbdd Add LinkExtensions
Allows using IHtmlString as linkText
2015-09-04 15:05:25 +02:00
Sebastien Ros
1c3e253edb Remove broken tests 2015-09-03 15:37:27 -07:00
Sébastien Ros
65c3b2ab2e Merge pull request #5734 from OrchardCMS/feature/morelocking
Refactoring locking strategy
2015-09-03 15:05:42 -07:00
Sebastien Ros
9ea87837c3 Refactoring locking strategy
Adding support for tenants
Removed ThreadId field
Removed Count field
Optimized db access by using Monitor for the local machine/tenant checks
Removed Machine/Thread scopes
2015-09-03 15:03:42 -07:00
Sébastien Ros
f3d08d61c4 Merge pull request #5741 from mvarblow/patch-2
Mark the npm repository as private
2015-09-03 14:24:05 -07:00
Sébastien Ros
22697edeec Merge pull request #5742 from mvarblow/patch-3
Suppressed warning CS0436 in Orchard.Framework
2015-09-03 14:23:26 -07:00
mvarblow
e0fc576f9e Suppressed warning CS0436 in Orchard.Framework
Daniel changed the Orchaard.Framework project to ignore the JetBrains.Annotations conflicts for debug builds several months back. See http://orchard.codeplex.com/workitem/21056 and 78901ba . However, the problem still exists for release builds. This pull request applies the same fix (ignoring the warning) to release builds.
2015-09-03 16:07:06 -04:00