Bjarke Berg
ef7af69731
https://github.com/umbraco/Umbraco-CMS/issues/7138 - Injected IIOHelper ( #7581 )
...
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com >
2020-02-10 11:23:23 +01:00
Benjamin Carleski
fd3ef48367
Use dependency injection for config classes
2020-01-21 17:25:03 -08:00
Benjamin Carleski
fceac19f04
Update controllers to include UmbracoMapper
2020-01-20 14:15:54 -08:00
Andy Butland
bd5b344a57
Merge branch 'netcore/dev' into feature/7371-short-string-helper
...
# Conflicts:
# src/Umbraco.Core/StringExtensions.cs
# src/Umbraco.Core/TypeExtensions.cs
# src/Umbraco.Infrastructure/Packaging/PackageDataInstallation.cs
# src/Umbraco.Infrastructure/Persistence/Factories/DataTypeFactory.cs
# src/Umbraco.Infrastructure/Persistence/Repositories/Implement/DataTypeRepository.cs
# src/Umbraco.ModelsBuilder.Embedded/Compose/ModelsBuilderComponent.cs
# src/Umbraco.ModelsBuilder.Embedded/UmbracoServices.cs
# src/Umbraco.Tests/LegacyXmlPublishedCache/XmlStore.cs
# src/Umbraco.Tests/Persistence/Repositories/DocumentRepositoryTest.cs
# src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
# src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
# src/Umbraco.Tests/Routing/RenderRouteHandlerTests.cs
# src/Umbraco.Tests/Strings/StringExtensionsTests.cs
# src/Umbraco.Tests/Web/Controllers/ContentControllerTests.cs
# src/Umbraco.Tests/Web/Controllers/UsersControllerTests.cs
# src/Umbraco.Web/Editors/CodeFileController.cs
# src/Umbraco.Web/Editors/ContentController.cs
# src/Umbraco.Web/Editors/ContentControllerBase.cs
# src/Umbraco.Web/Editors/ContentTypeController.cs
# src/Umbraco.Web/Editors/CurrentUserController.cs
# src/Umbraco.Web/Editors/DashboardController.cs
# src/Umbraco.Web/Editors/EntityController.cs
# src/Umbraco.Web/Editors/MacroRenderingController.cs
# src/Umbraco.Web/Editors/MacrosController.cs
# src/Umbraco.Web/Editors/MediaController.cs
# src/Umbraco.Web/Editors/MemberController.cs
# src/Umbraco.Web/Editors/RelationTypeController.cs
# src/Umbraco.Web/Editors/TinyMceController.cs
# src/Umbraco.Web/Editors/UsersController.cs
# src/Umbraco.Web/Macros/PublishedContentHashtableConverter.cs
# src/Umbraco.Web/Models/Mapping/UserMapDefinition.cs
# src/Umbraco.Web/Mvc/RenderRouteHandler.cs
# src/Umbraco.Web/PropertyEditors/RichTextEditorPastedImages.cs
# src/Umbraco.Web/Runtime/WebInitialComponent.cs
# src/Umbraco.Web/Templates/TemplateRenderer.cs
2019-12-24 09:08:47 +01:00
Andy Butland
d469a2153b
Removed (almost) all instances of Current.ShortStringHlper and replaced with constructor injection.
2019-12-20 17:36:44 +01:00
Bjarke Berg
7f9fbe9877
AB4227 - Removed StringExtensions from core..
2019-12-18 18:55:00 +01:00
Bjarke Berg
c9a99f52aa
Can't have the path info on IOHelper, because that leads to a cycle between config and IOHelper. Now you need to go directly to config, if you need a path
2019-11-13 14:15:50 +01:00
Bjarke Berg
683c0da468
Moved stuff from SystemDirectories into constants and IOHelper to avoid a circular dependency
2019-11-13 11:56:32 +01:00
Bjarke Berg
0fcf8325e3
Changed SystemDirectories from static to instance, Added interface in abstractions and create a static property on current.
2019-11-12 15:25:21 +01:00
Shannon
545a427d11
abstracts out IScript, stops casting stuff
2019-11-12 13:49:56 +11:00
Shannon
38986f3bfd
Abstracts out IStylesheet, IStylesheetProperty
2019-11-12 13:33:02 +11:00
Bjarke Berg
13507c0e13
AB3653 - Static IOHelper -> IIOHelper (Moved into Current as a first step 😭 )
2019-11-08 07:51:14 +01:00
Stephan
c5f934930e
Merge branch 'v8/dev' into v8/feature/284-auto-mapper
2019-04-02 12:03:05 +02:00
leekelleher
f4bd0cd1f5
Swapped all System.Root string conversions
...
to use the `System.RootString` constant.
This saves on integer parsing and reduces the number of
new strings being created.
Since the `System.Root` is `-1`, it didn't need the culture invariant
conversion.
2019-03-29 12:06:23 +00:00
Stephan
ef5646fa3b
Cleanup, reduce AutoMapper exposure
2019-03-27 09:15:31 +01:00
Bjarke Berg
1770a0abec
Inject IUmbracoContextAccessor instead of UmbracoContext
2019-02-14 12:40:45 +01:00
Shannon
c2ff32aaab
Fixing tests, don't expose UmbracoContext on UmbracoHelper, fixing all of the editor constructors
2019-02-01 15:24:07 +11:00
Kenn Jacobsen
2f146934d3
Show the error message and localize it
2019-01-29 22:11:17 +01:00
Kenn Jacobsen
1002113e7d
Server side validation of illegal chars in folder names
2019-01-29 22:11:17 +01:00
Chris Houston
193e24afd2
Fixing all the TODO, FIXME & HACK comments so they all follow the same layout.
2019-01-27 11:16:00 +01:00
Chris Houston
0b6ba5aa52
Temp8 - Fixing spelling / typos etc in Umbraco.Web ( #4148 )
2019-01-26 16:52:19 +01:00
Kenn Jacobsen
de8516d2c7
Make it possible to create folders for stylesheets
2019-01-26 14:58:47 +01:00
Shannon
57074d3545
some code cleanup
2018-11-22 15:26:10 +11:00
Kenn Jacobsen
1336aa2c0b
Refactor create script to reuse the generic method used by stylesheet
2018-11-02 09:31:17 +01:00
Kenn Jacobsen
57232c9c48
Implement delete
2018-11-01 16:01:34 +01:00
Kenn Jacobsen
4b79819a8c
Move the style sheet manipulation back to CodeFileController
2018-11-01 15:49:30 +01:00
Kenn Jacobsen
68f05e05d1
Initial create and edit
2018-10-27 21:18:03 +02:00
Stephan
3495331005
Cleanup, get rid of warnings
2018-05-03 15:11:57 +02:00
Stephan
c76403077f
Normalize cr/lf/tab
2017-07-20 11:21:28 +02:00
Stephan
7ea9c9c8e2
Move Web.Current to Composing
2017-05-30 18:13:11 +02:00
Stephan
d34a425dd1
porting 7.6@5c5baca into 8
2017-05-30 12:54:22 +02:00
Stephan
8561d85f7a
porting 7.6-rc1 into 8
2017-05-24 12:25:39 +02:00