Commit Graph

47 Commits

Author SHA1 Message Date
Lombiq
5406b17601 Converting all files stored as CRLF in git to be stored as LF
LF is the git default and all new files are stored as such. Old files from the hg to git conversion however were moved over as CRLF.
2015-12-13 22:21:02 +01:00
Piotr Szmyd
ce535797aa Updated ancient Castle libraries to version 3.2.0. Castle.DynamicProxy2 and Castle.MicroKernel are obsolete - have already been merged into Castle.Core. 2014-02-21 16:00:43 +01:00
Sebastien Ros
79a210a179 Fixing unit tests compilation 2014-02-03 16:40:02 -08:00
Sebastien Ros
d9e63b0e38 #19500: Fixing custom links selection path
Work Item: 19500

--HG--
branch : 1.x
2013-05-20 13:42:59 -07:00
Sebastien Ros
a9f1312b88 Removing clay usage in favor or pre-configured dynamic objects
--HG--
branch : clayless
extra : rebase_source : fe1f730585d0df763d4dd4215b11bace48bcd944
2012-11-20 17:21:52 -08:00
Sebastien Ros
d9ca0d0a45 #19145: Fixing how menu item permissions are checked
Work Item: 19145

--HG--
branch : 1.x
2012-10-16 15:54:18 -07:00
Sebastien Ros
43232e2c63 Adding INavigationFilter to alter the menu dynamically
--HG--
branch : 1.x
2012-05-22 17:48:19 -07:00
Sebastien Ros
5f5cf91421 Fixing compilation issues
--HG--
branch : 1.x
2012-05-17 10:22:20 -07:00
Dave Reed
5fa7535eb4 Added some basic unit tests for ResourceManager
--HG--
branch : 1.x
2011-04-07 12:10:14 -07:00
Sebastien Ros
15dbaaf355 Implementing the Warmup module
- Global.asax.cs looks for static pages in ~\App_Data\Warmup
- Orchard.Warmup module contains methods to generate those pages based on
scheduled times, and content publishing

--HG--
branch : dev
2011-03-17 11:06:23 -07:00
Dave Reed
82d286e8ea NavigationManager hardened against broken navigation providers.
--HG--
branch : dev
2011-03-14 12:54:26 -07:00
Louis DeJardin
be00e42637 Fixing some tests to examine TextHint on LocalizedString
--HG--
branch : dev
2011-02-27 18:05:48 -08:00
Louis DeJardin
4a4ac2ef07 Changing MenuItem .Text to LocalizedString
Updating comparer to avoid collapsing url and routevalue items together
Flattened the navigation admin controller to avoid using MenuItem class in editor model
HtmlEncode the text of the menu item to be displayed
Updated TheMenu templates to use .text and .hinttext properties of LocalizedString

--HG--
branch : dev
2011-02-26 18:29:00 -08:00
Andre Rodrigues
194874d707 Fixing UT.
--HG--
branch : dev
2011-02-25 15:49:16 -08:00
Andre Rodrigues
14a7ada113 Converting local navs to a new core shape (AKA making louis happy :))
--HG--
branch : dev
2011-02-11 14:13:38 -08:00
Andre Rodrigues
042968453b Adding local nav functionality.
--HG--
branch : dev
2011-02-11 12:45:28 -08:00
Suha Can
c97a8d26cb Cleanup (includes)
--HG--
branch : dev
2010-12-07 15:47:45 -08:00
Louis DeJardin
fb82b122f8 Fixing unit tests
Registering WorkContextModule to allow it to register the components it will use internally

--HG--
branch : dev
extra : rebase_source : 82c6712e0b465f57d080f751e36f5cc41a2158b9
2010-12-02 12:42:12 -08:00
Louis DeJardin
493fb03afe PERF: CreateWorkContextScope shouldn't call InstancePerMatchingLifetimeScope
http://orchard.codeplex.com/workitem/16869
CreateWorkContextScope now creates a child container with no alteration to the component registry
WorkContextModule added to group the related set of component registrations
HttpContextBase still injectable, but it's exposed in a way that doesn't require updating the child container per request

--HG--
branch : perf
2010-11-24 18:57:42 -08:00
Louis DeJardin
1d3813b9ab Merge
--HG--
branch : dev
2010-11-08 11:41:32 -08:00
Suha Can
1ce1cc9521 PERF: Fix for Dispel CurrentUser/CurrentSite magic
http://orchard.codeplex.com/workitem/16718

--HG--
branch : perf
2010-11-04 20:24:48 -07:00
Nathan Heskew
f2f739d935 Giving the admin menu an overhaul
Mainly consists of changes in top-level section positions and ordering. Also updated the position comparer (and tests) to work with negative numeric position parts.

--HG--
branch : dev
2010-11-01 15:57:20 -07:00
Suha Can
92916c66dd - Cleaning up/refactoring/removing some obsolete classes/flagged code.
--HG--
branch : dev
2010-10-18 14:56:17 -07:00
Nathan Heskew
1e22892c71 WorkContext.Page -> WorkContext.Layout to be consistent with the shape's template and type names
--HG--
branch : dev
2010-10-07 12:11:49 -07:00
Andre Rodrigues
2eabd9773d Fixed more Framework UT
--HG--
branch : dev
2010-09-17 17:20:03 -07:00
Louis DeJardin
6bfde2891c Some refactoring in DisplayManagement namespace
Removing unused IShapeTableFactory
ShapeTableBuilder has default Feature - components describing shapes from their own module do not need to pass feature in
Fixing some tests
IShapeDescriptorBindingStrategy becomes IShapeTableProvider

--HG--
branch : theming
2010-09-13 20:57:37 -07:00
Louis DeJardin
bb9ba92f9d Adding some shape definitions into Orchard.Shapes
A few details of Layout/Document/Zone shapes are described
Three utility shapes are provided as [Shape] methods
An IOrchardViewPage interface is introduced to ensure all base view classes have the same minimum number of methods and properties available

--HG--
branch : theming
2010-09-07 22:15:33 -07:00
Louis DeJardin
ef7abae721 Adding Frames collection to shape descriptor and metadata
--HG--
branch : theming
2010-09-06 20:51:24 -07:00
Louis DeJardin
77c48fb42a More theming work
Continued work towards making zone classes obsolete
Shape table construction per theme
Adding display helper to webforms view classes

--HG--
branch : theming
2010-09-05 04:06:18 -07:00
Nathan Heskew
043bcf54ee Retiring ContentItemViewModel
...and all that entails
- things like IZone and IZoneCollection are barely roughed in

--HG--
branch : theming
2010-09-03 16:04:42 -07:00
Nathan Heskew
a40ebd5f7e Cleaned out remaining dependencies on BaseViewModel (sln builds once again - yay)
--HG--
branch : dev
2010-09-01 15:51:41 -07:00
Louis DeJardin
b85a6ed122 Moving Orchard.Framework.Tests back into a runnable state
See #if REFACTORING in code for blocks that referenced obsolete BaseViewModel
This preprocessor symbol will not be present when this stage is complete

--HG--
branch : dev
2010-09-01 14:33:02 -07:00
Renaud Paquay
ad54ffdbb2 Remove implicit conversion from string to LocalizedString
In most cases, relying on the implicit conversion is a sign
of a missing call to "T".

--HG--
branch : dev
2010-06-12 13:33:35 -07:00
Louis DeJardin
93c18ac293 Starting to deprecate the AdminViewModel
All references are changed to BaseViewModel
AdminViewModel class still present, but only temporarily as a stepping stone to smooth transition
BaseViewModel.Menu now represents either the "admin" or "main" navigation depending on location
MenuFilter now uses the AdminFilter.IsApplied flag to determine which primary nav to use
IsApplied property moved to AdminFilter which is a better location for a universal flag than the theme selector

--HG--
branch : dev
2010-02-26 13:58:09 -08:00
Louis DeJardin
a25f68ae90 Updated Admin filter and access control
AdminController convention or [Admin] attribute activates both the security
check and "TheAdmin" theme

--HG--
branch : dev
2010-02-26 03:09:52 -08:00
Louis DeJardin
fe29853912 Implementing AdminAuthorizationFilter to test for AccessAdminPanel
Authorization will be required for a controller named "Admin"
or when an [Admin] attribute is on controller, base controllers, or action
Result will be HttpUnauthorizedResult if current user does not
have StandardPermissions.AccessAdminPanel

--HG--
branch : dev
2010-02-26 00:50:19 -08:00
Erik Porter
cb89bf818c Made changes to enable resolving of urls for menu items on the front end.
Supported examples:
~/something <-- app relative url
/something <-- site relative url
something <-- app relative url
http(s)://something <-- absolute url

--HG--
branch : dev
2010-02-15 17:13:31 -08:00
loudej
ac6e2a5961 Fixing a unit test that was broken when menus started cropping empty sections
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045948
2010-01-25 05:01:09 +00:00
loudej
e9b32d59ca Extending security model for owned/other content permission support
Added an IContent parameter to IAuthorizationService and IAuthorizer
Added an IAuthorizationServiceEvents interface for modules to participate in the process
Updated the role-based authorization service to fire events and recheck access based on adjustments
Added hook in Orchard.Pages/Security/Authorization.cs with "pages" specific auth adjustments

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045861
2010-01-22 22:11:10 +00:00
loudej
7f09516e8c Updating security processing. Adding a base for an OrchardException hierarchy.
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045830
2010-01-22 06:32:54 +00:00
loudej
27098815f3 Changes to tests for MVC 2 value provider changes
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4044578
2009-12-25 09:03:03 +00:00
loudej
e8a4646a03 Adding simple permissions attached to menu items
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4042808
2009-12-01 07:48:20 +00:00
loudej
0cc64ebe1c Moving xmlrpc method to upload files into media module. Updating some localized string tests.
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4040921
2009-11-17 03:19:46 +00:00
suhacan
5f659dbedb - Fixing some broken unit tests (due to Localizer/Authorize changes).
- Refactoring Media module (Authorize,Localize).
- Minor cleanup...

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4040469
2009-11-14 21:34:37 +00:00
rpaquay
958c61ac69 Code review feedback
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4040237
2009-11-13 22:45:26 +00:00
loudej
df24fa629a Fixing namespace in Notify components. Adding nunit project to list.
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4039949
2009-11-12 19:19:45 +00:00
loudej
d5a78a53ed Implementing a navigation menu system for admin pages.
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4039716
2009-11-11 23:36:29 +00:00