Sipke Schoorstra
ce630f980c
#5305 : Fixing the issue where httpcontext would be resolved from the wrong lifetime scope container in certain cases.
...
This changeset fixes a number of issues:
- Fixes the Autofac.Core.DependencyResolutionException: A delegate registered to create instances of 'System.Web.HttpContextBase' returned null error in VS 2015.
- Fixes indexing of layout part. The issue was that elements being rendered from a background task context and an element template uses an HTML helper, that would cause an exception since HttpContext.Current would normally be null.
- Replaces the need for injecting HttpContextBase with injecting IHttpContextAccessor (actually one should never inject HttpContextBase anymore - use IHttpContextAccessor instead).
2015-06-04 02:06:24 +02:00
Nicholas Mayne
6183c8783e
Rescoping where allroles is created in post
2015-06-02 13:50:05 +01:00
Nicholas Mayne
bb13163ac3
Changing scope for looking up all roles to after authorization check in admin
2015-06-02 13:47:23 +01:00
Nicholas Mayne
7415d6d5cc
Fixing issue where anon users can spam the SiteService on Content Authorization. Also changing scope of double part check.
2015-06-02 11:19:00 +01:00
Sipke Schoorstra
1e83068b8c
Fixed the immediate issue where setup fails.
...
This is a temporary fix falling back to original behavior of the HttpContextAccessor.
2015-05-28 00:59:48 +02:00
Sipke Schoorstra
34008c469e
Merge branch 'dev' into issue/4607-httpcontextaccessor
2015-05-27 16:20:26 +02:00
Sipke Schoorstra
9bf6ac5718
#4607 : Refactored HttpContextAccessor to return a valid HttpContextBase instance in background tasks.
2015-05-26 19:49:55 +02:00
Lombiq
801d58183a
Fixing that JobsQueue doesn't actually use Task Lease to prevent multiple server nodes from executing the same jobs
2015-05-23 23:54:08 +02:00
Lombiq
443b03fd67
Removing unused folders from TaskLease
2015-05-23 21:49:41 +02:00
Sipke Schoorstra
09d232612a
Removed unused enum values and consolidated SortDirection and OrderByDirection.
...
The unused enum values of the SortDirectionEnum were probably an artifact of a copy/paste operation.
2015-05-23 11:09:41 +02:00
Lombiq
d1ae7380e4
Removing empty Controllers folder from Autoroute
2015-05-22 00:19:16 +02:00
Lombiq
0283dc22c5
Warning users when they remove the home page, fixes #4843
2015-05-22 00:18:24 +02:00
Sébastien Ros
95221229ac
Merge pull request #5257 from keesd/dev
...
Fix for bugs #2536 and #5024
2015-05-21 12:11:30 -07:00
Sipke Schoorstra
f5b9a76675
#5309 : Simplified implementation and renamed helper method.
2015-05-21 13:53:55 +02:00
Sipke Schoorstra
5f30667df1
#5309 : Updated OutputCacheFilter to include a check for the OutputCacheAttribute.Location value.
2015-05-21 13:47:14 +02:00
Bertrand Le Roy
8976cc11d1
Update Readme to reflect the most recent mission statement and version number.
2015-05-20 17:38:37 -07:00
Bertrand Le Roy
c3c8edf300
Move the chat badge down on readme.
2015-05-20 17:33:55 -07:00
Lombiq
2a57a15363
Fixing that in Workflows localized outcomes were used as identifiers, breaking when a localization package was installed.
...
This is a breaking change for localized sites, see 1.10 release notes.
2015-05-20 01:31:15 +02:00
Lombiq
15ccba2b81
Fixing that Orchard.Email Workflows classes weren't actually under the corresponding feature
2015-05-20 00:27:57 +02:00
Lombiq
82602369c6
Formatting Taxonomies source files
2015-05-19 21:46:38 +02:00
Sébastien Ros
1f10abb9ea
Merge pull request #5301 from gitter-badger/gitter-badge
...
Add a Gitter chat badge to README.md
2015-05-19 12:06:49 -07:00
The Gitter Badger
f98c5e27f6
Added Gitter badge
2015-05-19 19:05:45 +00:00
Lombiq
3c94d48f59
Adding paging when listing Taxonomies and Taxonomy terms, fixes #4506
2015-05-19 15:32:09 +02:00
Lombiq
d4a8df3e99
Fixing oversight in previous
2015-05-18 20:52:39 +02:00
Bertrand Le Roy
3e2dfe0609
Merge branch 'dev' of https://github.com/OrchardCMS/Orchard into dev
2015-05-18 11:28:22 -07:00
Bertrand Le Roy
52c897fd02
Make the default favicon not suck on Firefox.
2015-05-18 11:26:03 -07:00
Lombiq
7ebaf2fd5c
Fixing that CombinedResult is not handled when updating an editor.
2015-05-18 17:19:54 +02:00
Lombiq
052a80474f
Fixing that driver editor posts are executed if grouping was set from placement but the shape hidden
2015-05-18 17:11:21 +02:00
Sebastien Ros
f2b8d68345
Merge branch '1.9.x' into dev
2015-05-14 10:26:10 -07:00
Sipke Schoorstra
f8c6feea86
#5216 : Added call to *InitHelpers*.
...
This will cause various helpers to be initialized, such as the *Html* property.
2015-05-14 10:24:04 -07:00
Lombiq
301792f5ed
Adding change password link to the dashboard #3588
2015-05-14 18:10:03 +02:00
Lombiq
3760e12029
Adding the ability to rename workflows, fixes #3570
2015-05-14 18:04:45 +02:00
Lombiq
b98d35305a
Revert "Indexing task creation now happens gradually in a background task, preventing timeout/out of memory when editing a content type with many items. Fixes #4729."
...
Commit moved to dev branch as it's not a completely safe change.
This reverts commit 40243f2224 .
2015-05-14 12:54:02 +02:00
Lombiq
1cfbfbce92
Indexing task creation now happens gradually in a background task, preventing timeout/out of memory when editing a content type with many items. Fixes #4729 .
2015-05-14 12:51:57 +02:00
Zoltán Lehóczky
f932cc394f
Adding Select all checkbox to all suitable admin lists, fixes #5026
2015-05-14 00:36:31 +02:00
Lombiq
40243f2224
Indexing task creation now happens gradually in a background task, preventing timeout/out of memory when editing a content type with many items. Fixes #4729 .
2015-05-11 23:17:58 +02:00
Lombiq
91e040e684
Fixing that the technical names of widgets couldn't contain hyphens, see #4981
2015-05-11 16:52:54 +02:00
Lombiq
c73d6c0a91
Removing empty RouteExtension, fixes #2509
2015-05-08 21:14:06 +02:00
Kees Damen
e963fac2b9
Merge branch 'dev' of https://github.com/OrchardCMS/Orchard into dev
2015-05-08 19:49:53 +02:00
Kees Damen
b4c578a2c5
Revert "added check for seeking-capability of inputStream in SaveStream before resetting the position"
...
This reverts commit 085feeb118 .
2015-05-08 19:38:46 +02:00
Lombiq
9e66ee6560
Revert "Rolling back streams in storage providers, fixes #4860 "
...
This reverts commit f8e82be4b9 .
There are Stream implementation that don't support seeking so we can't do Position resetting just every time.
2015-05-08 16:30:26 +02:00
Kees Damen
085feeb118
added check for seeking-capability of inputStream in SaveStream before resetting the position
2015-05-07 23:36:21 +02:00
Kees Damen
92de1f7207
Merge branch '1.9-int' into dev
2015-05-07 21:42:13 +02:00
Sébastien Ros
73336e19ba
Merge pull request #5255 from jtkech/patch-3
...
#5234 Duplicate lines in WorkflowManager
2015-05-07 12:30:58 -07:00
jtkech
61b8f82fd7
#5234 Duplicate lines in WorkflowManager
2015-05-07 21:24:08 +02:00
Daniel Stolt
9491a5750b
Added support for era names to date formatting/parsing framework (fixes failing unit tests on Windows 10).
2015-05-07 16:44:41 +02:00
Daniel Stolt
635abd7456
Fixed unit tests not being discovered due to CopyLocal=false on core references.
...
Having CopyLocal=false on references to Orchard.Core and Orchard.Framework in unit test projects prevented VS from discovering unit tests (at least when using the NUnit Test Adapter for Visual Studio). This change resets CopyLocal=true for these references in all unit test projects.
2015-05-07 14:16:56 +02:00
Sipke Schoorstra
fa3f1cbc70
Added NumericFieldBinding.
2015-05-06 21:38:41 +02:00
Sebastien Ros
a35cc754a4
Merge branch 'master' of https://github.com/OrchardCMS/Orchard
2015-05-05 21:51:13 -07:00
Sebastien Ros
02b889a925
Merge branch '1.8.x' into 1.x
2015-05-05 21:42:52 -07:00