Commit Graph
28 Commits
Author SHA1 Message Date
Piotr Szmyd 5f52748341 #20132: Updated NHibernate to 3.3.3 SP1
Work Item: 20132
2013-09-22 17:43:59 +02:00
Piotr Szmyd b95ce0cc7d #19235: Fixing possible multi-threading issues when striping characters from string.
This happened to be the reason for scripts/stylesheets not being included in the correct order sometimes. Char array passed might get corrupted when multiple string replacements were done in parallel, making the resulting string incorrect.
This method is most commonly used during shape name and alternate generation for resources, hence the issues.

Work Item: 19235
2013-08-20 23:00:53 +02:00
Piotr Szmyd 379c3c063a #19921: Media - fixing stereotype name typo.
Work Item: 19921

--HG--
branch : 1.x
2013-07-19 23:40:33 +02:00
Piotr Szmyd 5e6fe8e253 #19245: Adding missing permission check in ItemController for containers.
Work Item: 19245

--HG--
branch : 1.x
2013-06-21 22:36:05 +02:00
Piotr Szmyd 49e8b2f6b5 #19812: Event bus should not treat strings as IEnumerable<char> when returning combined handler results.
Work Item: 19812

--HG--
branch : 1.x
2013-06-21 16:27:47 +02:00
Piotr Szmyd f63772bf63 #19790: Fixing CSS issues when <li> elements are rendered on the same line. Each item is now rendered on a separate line.
Work Item: 19790

--HG--
branch : 1.x
2013-06-09 07:09:48 +02:00
Piotr Szmyd 1b05ed3ca0 #19695: Displaying site name in admin dashboard.
Work item: 19695

--HG--
branch : 1.x
2013-05-10 18:02:56 +02:00
Piotr Szmyd 723fc82247 Fixing exception caused by HostComponents.config (multiple items with same key).
--HG--
branch : 1.x
2013-05-10 17:51:04 +02:00
Piotr Szmyd 57339d5606 #19318: Fixing NavigationManager.Reduce.
Simplifying checks and moving debug check to outside scope.
Moving DebugShowAllMenuItems permission check to outside scope.

Work item: 19318

--HG--
branch : 1.x
2013-05-10 17:12:04 +02:00
Piotr Szmyd 81f0e03ab3 #19346: Fixing session state behavior setup.
Work Item: 19346

--HG--
branch : 1.x
2013-05-10 14:32:06 +02:00
Piotr Szmyd 56a4f0712c Shell settings updates
- adding missing space after each key name in the serialized file
 - trimming whitespace from deserialized theme names
 - code cleanup for readability

--HG--
branch : 1.x
2013-05-08 00:08:56 +02:00
Piotr Szmyd 65ae6c3400 Exposing table prefix information in SchemaBuilder.
Making DataMigrationImpl methods virtual for easier customization.

--HG--
branch : 1.x
2013-05-07 23:31:46 +02:00
Piotr Szmyd 7d6d384806 Support for custom properties in shell settings (Settings.txt) file.
--HG--
branch : 1.x
2013-05-07 20:52:23 +02:00
Piotr Szmyd 159fc5feec Implementing NHibernate session hooks
- Configuration events (ISessionConfigurationEvents) and
 - Interceptors (ISessionInterceptor/AbstractSessionInterceptor).

--HG--
branch : 1.x
2013-05-07 20:40:24 +02:00
Piotr Szmyd 19f287b5b2 #19625: Fixing Alias admin controller issues.
Fixing empty alias (homepage) handling.
Setting up checks for existing aliases and displaying error information if a new/changed alias would overwrite existing one.
Properly trimming back and forward slashes from the beginning of the provided alias.
All custom aliases should have "Custom" source set.

Work Item: 19625

--HG--
branch : 1.x
2013-04-20 23:30:49 +02:00
Piotr Szmyd 2b32652455 #19626: Fixing possible exceptions during Alias route lookup when custom route objects are used (eg. Owin).
Adding missing property implementations to LookupHttpRequest stub - this fixes problems with Owin.
Switching Select to Invoke when calling route methods to ignore erroneous custom routes.

Work Item: 19626

--HG--
branch : 1.x
2013-04-20 17:45:39 +02:00
Piotr Szmyd c7e0784b13 Further work on IWorkContextEvents. Swallowing all non-fatal exceptions. Events should be resolved once per context.
--HG--
branch : 1.x
2013-04-05 03:53:35 +02:00
Piotr Szmyd f68f72e416 Implemented IWorkContextEvents extension point. Allows plugging into work context lifetime events.
--HG--
branch : 1.x
2013-04-05 01:30:55 +02:00
Piotr Szmyd b2a7daf9f1 Transaction manager. Changing optional parameter to overloaded methods.
--HG--
branch : 1.x
2013-03-28 19:21:01 +01:00
Piotr Szmyd 6664483b02 Transaction manager. Adding optional isolation level argument.
--HG--
branch : 1.x
2013-03-27 21:37:18 +01:00
Piotr Szmyd 3a315d3b48 #19205: Fixing unit tests. Menu items with position X.0 should be treated as having a position X when searching for parent.
Work Item: 19205

--HG--
branch : 1.x
2012-12-14 21:53:32 +01:00
Piotr Szmyd 06625c20fd #19205: Fixing bug where menu items with same texts and urls, but under different parents, were treated as equal and merged into one.
Work Item: 19205

--HG--
branch : 1.x
2012-12-14 05:21:24 +01:00
Piotr Szmyd b2b3332a32 #18793: Added support for turning session-state or/off on routes implementing IRouteWithArea.
Fixed a bug with incorrect property from which the extensionId is retrieved.
Fixed unit tests to check if session state is parsed correctly.

Work Item: 18793

--HG--
branch : 1.x
2012-10-16 01:45:47 +02:00
Piotr Szmyd bda2dfb127 #19122: Added ICache.IsValid and ICache.TryGet methods.
Work Item: 19122

--HG--
branch : 1.x
2012-10-10 22:37:13 +02:00
Piotr Szmyd 7bd5c2851b Merge
--HG--
branch : 1.x
2013-02-23 05:40:01 +01:00
Piotr Szmyd 5bd459a68c #19476: Event bus refactoring. Interface name matching should be case-sensitive.
Work Item: 19476

--HG--
branch : 1.x
2013-02-23 05:39:01 +01:00
Piotr Szmyd b04d9ffb32 #19476: Refactoring DefaultOrchardEventBus for performance.
Added event handler filtering using Autofac's IIndex<K,V> and named registrations.
Replaced slow MethodInfo.Invoke with very fast, strongly-typed delegates. Each delegate is created at first usage and cached.
Updated unit tests to take changes into account.

Work Item: 19476

--HG--
branch : 1.x
2013-02-22 02:38:05 +01:00
Piotr Szmyd ec3ca6738e #19477: Refactoring navigation manager for performance.
Items with no permissions explicitly set should not undergo authorization checking.
Returning the same item instead of creating a copy
Folded part of Reduce method into LINQ query.

Work Item: 19477

--HG--
branch : 1.x
2013-02-22 02:43:55 +01:00