Commit Graph

5103 Commits

Author SHA1 Message Date
Suha Can
34755f6205 Adding field name and field type name information to PartFieldDefinitionBuilder to allow field settings to be used and persisted correctly. Naively written code in external modules such as DateTimeField,ImageField drivers
can be updated. Also removed previous workaround.

--HG--
branch : 1.x
2011-06-01 13:36:33 -07:00
Andre Rodrigues
e353220ecf Fixing broken UT.
--HG--
branch : 1.x
2011-06-01 01:12:01 -07:00
Suha Can
07dbc2b136 #17879: Export a field duplicate settings for all field types
The bug was lower in the stack, in ContentDefinitionWriter. So besides Import/Export, the Experimental
module was also susceptible to the same. There may still be some loose end related to FieldSettings in
general, doesn't seem to be a well explored area.

--HG--
branch : 1.x
2011-05-31 18:09:45 -07:00
Sebastien Ros
487b04e6b6 Owner Editor is displayed by default for visual compatibility
--HG--
branch : 1.x
2011-05-29 10:51:37 -07:00
Louis DeJardin
331a36a703 Small mistakes in last commit
--HG--
branch : 1.x
2011-05-27 19:35:28 -07:00
Louis DeJardin
252cc00196 Refactoring OwnerEditor and DateEditor breakout
Splitting OwnerEditor and DateEditor settings apart. Breaking off any knowledge
in the CommonPart of the OwnerEditor and DateEditor.

Changed the settings to appear as TypePart definition instead of Type.

Based the ViewModel on Shape instead of EditorTemplates.

The goal of these changes is to illustrate how a 3rd party module would
accomplish the same kind of ContentPart extension w/out changing core code.

--HG--
branch : 1.x
rename : src/Orchard.Web/Core/Common/Drivers/DateEditorPartDriver.cs => src/Orchard.Web/Core/Common/DateEditor/DateEditorDriver.cs
rename : src/Orchard.Web/Core/Common/Handlers/DateEditorPartHandler.cs => src/Orchard.Web/Core/Common/DateEditor/DateEditorHandler.cs
rename : src/Orchard.Web/Core/Common/Settings/CommonEditorsSettings.cs => src/Orchard.Web/Core/Common/DateEditor/DateEditorSettings.cs
rename : src/Orchard.Web/Core/Common/Drivers/OwnerEditorPartDriver.cs => src/Orchard.Web/Core/Common/OwnerEditor/OwnerEditorDriver.cs
rename : src/Orchard.Web/Core/Common/Settings/CommonEditorsSettings.cs => src/Orchard.Web/Core/Common/OwnerEditor/OwnerEditorSettings.cs
rename : src/Orchard.Web/Core/Common/ViewModels/OwnerEditorViewModel.cs => src/Orchard.Web/Core/Common/OwnerEditor/OwnerEditorViewModel.cs
rename : src/Orchard.Web/Core/Common/Views/DefinitionTemplates/CommonEditorsSettings.cshtml => src/Orchard.Web/Core/Common/Views/DefinitionTemplates/DateEditorSettings.cshtml
rename : src/Orchard.Web/Core/Common/Views/DefinitionTemplates/CommonEditorsSettings.cshtml => src/Orchard.Web/Core/Common/Views/DefinitionTemplates/OwnerEditorSettings.cshtml
rename : src/Orchard.Web/Core/Common/Views/EditorTemplates/Parts.Common.CreatedUtc.cshtml => src/Orchard.Web/Core/Common/Views/Parts.Common.Date.Edit.cshtml
extra : transplant_source : %D1%21c%ACa%F0%0FO%A1%9A%88YS%1Bk9.%CB%04%08
2011-05-27 19:02:45 -07:00
Sebastien Ros
fd041c3c2e #17842: Exception when content type name contains special chars
Work Items: 17842

--HG--
branch : 1.x
2011-05-27 14:59:45 -07:00
Sebastien Ros
5677c4dba9 Changing CreatedUtc behavior to be also set the first time it is published.
Relies on DateEditorPartDriver to be enabled.

--HG--
branch : 1.x
2011-05-27 12:11:31 -07:00
Andre Rodrigues
fc6821cb8c Merge
--HG--
branch : 1.x
2011-05-26 13:40:51 -07:00
Andre Rodrigues
2e2e193905 #17297: Setting default container sorting to be by CreatedUtc.
--HG--
branch : 1.x
2011-05-26 13:39:03 -07:00
Suha Can
9c6e953ba7 #17823 Import/Export doesn't export the Display Name of a content type
--HG--
branch : 1.x
2011-05-26 11:29:44 -07:00
Dave Reed
ee35e138a3 #17860: WidgetsService.GetZones can return duplicate zones
--HG--
branch : 1.x
2011-05-25 14:06:24 -07:00
Dave Reed
c17488d329 Merge
--HG--
branch : 1.x
2011-05-25 12:13:53 -07:00
Dave Reed
0aa6757b08 Moving list content to position 7
--HG--
branch : 1.x
2011-05-25 12:07:12 -07:00
Dave Reed
ab71f4cc7f #17426: Content item with Container part renders without other parts
--HG--
branch : 1.x
2011-05-25 12:06:19 -07:00
Dave Reed
f10f1215e6 #17867: OrchardControllerFactory exception on 404s
--HG--
branch : 1.x
2011-05-25 12:03:30 -07:00
Louis DeJardin
39d22e4ec4 Merge
--HG--
branch : 1.x
2011-05-25 11:10:59 -07:00
Andre Rodrigues
e137d146db Removing unused IWorkContextAccessor, logger and localizer.
--HG--
branch : 1.x
2011-05-24 18:46:56 -07:00
Louis DeJardin
c771be816c Using better argument variable names
--HG--
branch : 1.x
2011-05-24 17:39:47 -07:00
Louis DeJardin
08ec2d3674 Adding tests to assert Autofac's expected behavior
--HG--
branch : 1.x
2011-05-24 17:35:31 -07:00
Sebastien Ros
742bafcd39 Merge
--HG--
branch : 1.x
2011-05-24 16:35:10 -07:00
Sebastien Ros
e193b4e3c7 Adding Shape debug viewers
--HG--
branch : 1.x
2011-05-24 16:34:42 -07:00
Louis DeJardin
80bfa368c1 Reversing order of IEnumerable<TService> resolved from IoC
Components are registered in dependency/priority order and
this is also the order events and hooks should fire. The default
order of Autofac is opposite what we need for enumerable services.

The behavior of resolving a single TService is unchanged - the
last-registered of TService is the only returned.

--HG--
branch : 1.x
extra : transplant_source : %87%22%FC%84%A1%0FP%3C%20w%B4%1EQ%CC%90%20%97%C1%EC%BF
2011-05-24 15:52:15 -07:00
Andre Rodrigues
3e74f4a4d6 #17816: Avoiding unecessary allocations and comparisons in the DefaultCacheManager.
--HG--
branch : 1.x
2011-05-24 14:10:40 -07:00
Andre Rodrigues
62c94648ec #17816: Caching current theme name as a way to avoid up to 2 queries per request.
--HG--
branch : 1.x
2011-05-24 12:34:27 -07:00
Sebastien Ros
e3a3753d53 #17841: Fixing page sie selector in admin
The <select /> element might not be in a <form />

Work Items: 17841

--HG--
branch : 1.x
2011-05-23 13:25:56 -07:00
Sebastien Ros
de6fc72d8e Merge
--HG--
branch : 1.x
2011-05-23 10:34:28 -07:00
Andre Rodrigues
984c11a80f #17825: Showing created instead of published datetime.
--HG--
branch : 1.x
2011-05-20 16:10:34 -07:00
Nathan Heskew
0fba396da1 Merge
--HG--
branch : 1.x
2011-05-19 09:52:15 -07:00
Andre Rodrigues
a6bee4cdab Addinf fluentnhibernate patches.
--HG--
branch : 1.x
2011-05-18 14:47:33 -07:00
Nathan Heskew
07a69a6bdf Adding a "Delete" button on the blog edit page. Keeping consistent with what we're doing with widgets.
work item: 17769

--HG--
branch : 1.x
2011-05-18 14:00:43 -07:00
Andre Rodrigues
6a88f44e73 #17830: Registering ServiceRoutes after MVCRoutes. Using existing WorkContext in OrchardFactory in case of aspnetcompatibilitymode.
--HG--
branch : 1.x
2011-05-18 13:25:57 -07:00
Dave Reed
eed3340e89 MediaPicker: refactor
--HG--
branch : 1.x
2011-05-18 10:51:52 -07:00
Nathan Heskew
4ee831b974 Merge
--HG--
branch : 1.x
2011-05-16 15:56:45 -07:00
Dave Reed
1114c3ebf0 Merge
--HG--
branch : 1.x
2011-05-16 14:25:19 -07:00
Dave Reed
7fd4a55a82 #17808: Getting 404 after editing the home page.
A content item had a RoutePartRecord but its content type did not have the RoutePart anymore. Null ref ensued.

--HG--
branch : 1.x
2011-05-16 14:22:12 -07:00
Suha Can
6313fecf0d #17824
--HG--
branch : 1.x
2011-05-16 13:45:07 -07:00
Dave Reed
b666feda89 #17839: MediaPicker insert button is always disabled
--HG--
branch : 1.x
2011-05-16 10:40:26 -07:00
Dave Reed
8b9d524105 #17838: Remove uses of T() in calls to Logger
--HG--
branch : 1.x
2011-05-16 10:24:40 -07:00
Andre Rodrigues
5d31f5b8d9 #17820: Extension descriptor parser keyword comparisons should be case insensitive.
--HG--
branch : 1.x
2011-05-14 17:34:13 -07:00
Andre Rodrigues
744ddf1c61 Fixing UT.
--HG--
branch : 1.x
2011-05-13 11:18:03 -07:00
Renaud Paquay
8e8b919dfe Merge
--HG--
branch : 1.x
2011-05-12 22:03:39 -07:00
Renaud Paquay
ad01bc5dcb Consistency in log level
--HG--
branch : 1.x
2011-05-12 22:03:14 -07:00
Dave Reed
7224c10658 #17708: Media views use bad translations
--HG--
branch : 1.x
2011-05-12 14:51:41 -07:00
Dave Reed
84e2853f82 #17796: Migrate jQuery to 1.6
--HG--
branch : 1.x
2011-05-12 14:25:14 -07:00
Dave Reed
816f954384 #17803: Null WidgetPartRecord after removing WidgetPart from ContentType
--HG--
branch : 1.x
2011-05-12 13:47:13 -07:00
Dave Reed
765cf34b83 #17714: Authentication in dev environments can bleed from other local sites.
Changed all instances of IsAuthenticated to WorkContext.CurrentUser != null, etc.

--HG--
branch : 1.x
2011-05-12 11:06:11 -07:00
Renaud Paquay
10eb02d887 Merge
--HG--
branch : 1.x
2011-05-12 10:50:04 -07:00
Renaud Paquay
130f9d3c80 PERF: Adding various logging calls related to startup performance
--HG--
branch : 1.x
2011-05-12 10:47:08 -07:00
Andre Rodrigues
435b688816 Merge
--HG--
branch : 1.x
2011-05-11 14:30:46 -07:00