Commit Graph

9299 Commits

Author SHA1 Message Date
Sébastien Ros
e709593197 Merge pull request #5321 from Xeevis/1.9.x
#5109: Email field shouldn't specify email type in design mode
2015-06-04 12:23:18 -07:00
Sébastien Ros
1b8e00a9c6 Merge pull request #5256 from jtkech/patch-4
#5235: Awaiting activities not cleared on saving
2015-06-04 12:04:31 -07:00
Bertrand Le Roy
55f2fb24c2 Fix the case of protocol-less stylesheet URI.
.NET's Uri.IsWellFormedUriString doesn't understand protocol-less URI, resulting in the stylesheet binding strategy mistaking those for local resources, and trying to find alternates. This is wasteful and can lead to subtle bugs. If the method is ever fixed, the new code will die, and everything sill continue to work as expected.
2015-06-04 11:01:46 -07:00
Sipke Schoorstra
071733495e Fixed unit tests. 2015-06-04 11:33:53 +02:00
Skrypt
13b012d212 Fix unneeded files changes/add 2015-06-03 22:45:26 -04:00
Skrypt
202dbc3866 Adding the option to activate patterns per culture or not. Falling back to the default culture pattern(s) if not activated. 2015-06-03 22:37:29 -04:00
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
Rob King
67de77fe08 Moved ToList after Where clause 2015-06-02 14:43:54 +01: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
Rob King
99f7285e80 Added logging for invalid recipe files 2015-06-02 11:03:13 +01:00
qt1
5b468b0ce0 remove fix for automatic addition of is null (maybe a different PR) 2015-06-01 03:33:14 +03:00
qt1
6e94264df2 Provide full table name prefix for migrations 2015-06-01 02:07:42 +03:00
Lombiq
917fd8425f Fixing ComponentNotRegisteredException during setup, fixes #4159
Added fix by jtkech.
2015-05-31 18:15:29 +02:00
Lombiq
ee0bd03c04 Fixing that Output Cache storage providers could fail with an ObjectDisposedException due to a deferred delegate execution causing the usage of dependencies from a disposed lifetime scope. 2015-05-30 01:37:31 +02:00
Skrypt
61fe66d806 Incremental work 2015-05-29 15:01:38 -04:00
Sébastien Ros
3d25ca42c9 #5327: Fixing Orchard.Roles web.config file 2015-05-28 12:50:07 -07:00
jtkech
c2d18f216a Update AdminController.cs 2015-05-28 21:33:08 +02:00
Sébastien Ros
7b6e7deea7 Merge pull request #5314 from Skrypt/Fixing-#4963
Fixing #4963
2015-05-28 12:20:17 -07:00
Sébastien Ros
52038c677e Merge pull request #5313 from Skrypt/fixed-#5281
Fixing #5281
2015-05-28 12:19:48 -07:00
Skrypt
4da549abf3 Merge branch 'dev' of https://github.com/OrchardCMS/Orchard into autoroute-patterns-localization 2015-05-27 19:38:57 -04: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
Skrypt
059b6c38e0 Merge branch 'dev' of https://github.com/OrchardCMS/Orchard into autoroute-patterns-localization 2015-05-27 14:55:39 -04:00
Sipke Schoorstra
53e58f60fe #5306: Minor refactoring of background http context factory. 2015-05-27 16:36:51 +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
jtkech
ff9d7aca51 Update Edit.cshtml 2015-05-25 21:42:00 +02:00
jtkech
1c81a77302 Update AdminController.cs 2015-05-25 21:37:37 +02:00
Xeevis
3b5de0679f #5109: Email field shouldn't specify email type in design mode
When email type is specified on an input it triggers browser validation on that field which prevents administrator from inserting tokens like {User.Email}.
2015-05-25 01:08:59 +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
Sipke Schoorstra
ef2abe14cb #5306: Implemented a background HttpContext factory.
This change instantiates an actual HttpContext object during background sweeps so that Razor templates using Html Helpers (that require HttpContext.Current to be not-null) won't fai lwhen being rendered.
2015-05-22 15:37:51 +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
Skrypt
754114c8e6 Rebase on 1.9.x since this is a bug fix
Fixing #4963
2015-05-21 16:23:27 -04:00
Skrypt
6eb9e0d457 Fixing #5281 2015-05-21 16:10:09 -04:00
Sébastien Ros
3e55c1649e Merge pull request #5273 from Xeevis/1.9.x
#5224: Fix for missing charset in response header for cached output
2015-05-21 12:21:59 -07: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
ce36e115d0 Removed unnecessary field. 2015-05-21 17:25:50 +02:00
Sipke Schoorstra
4d242e83df #5306: Injecting HttpContextBase directly.
This will ensure that an actual HttpContext object will be available in case of background task operations thanks to the way HttpContextBase is registered (providing a placeholder object in case of background operations).
2015-05-21 17:24:45 +02: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
Sipke Schoorstra
064ee72d6d Fixed versioning issues. 2015-05-21 00:12:46 +02:00
Sipke Schoorstra
cb7a52b25c Merge branch 'dev' into feature/dashboard 2015-05-20 23:47:19 +02:00
Sipke Schoorstra
bcf457d3f3 Fixed default dashboard layout string. 2015-05-20 19:12:38 +02:00
Sipke Schoorstra
22b961f7d4 Improved TokensFilter.
Since null is an allowed value anyway.
2015-05-20 18:56:19 +02:00