Paul Johnson
4ae329589a
NetCore: MSDI refactor remove IFactory & IRegister ( #9308 )
...
* Replace IFactory with IServiceProvider
* Replace IRegister with IServiceCollection
* Fix Rte.cshtml so the view can service locate.
* Replace Composing Lifetime with MSDI ServiceLifetime
* Remove ServiceProvider AddMultipleUnique extension
* Remove Umbraco.Web.Composing.Current.Reset and any calls
* Remove LightInject from net framework projects
* Brought back a helper for setting MediaFileSystem underlying IFileSystem
2020-10-30 12:16:17 +01:00
Paul Johnson
ec66990e72
NetCore: MSDI refactor phase 2 ( #9280 )
...
* Moved adapters from Infra -> Core
* Allow Composition to accept a service collection instead of an IRegister
* Composition no longer takes IRegister as constructor arg
all tests passing
* Composition no longer implements IRegister
* Lose _uniques in Composition
* lose Composition OnCreatingFactory actions
* Clean up UmbracoCoreServiceCollectionExtensions & Composition
Less IFactory
* LightInject gone where TFW == netstandard2.0 || TFW == netcoreapp3.1
* Resolve dead code issues
* Rename IFactory methods to match IServiceProvider so they can be trivially swapped later.
* Rename IFactory methods to match IServiceProvider so they can be trivially swapped later (continued)
Thought the counts were low, it's mostly extension method usage
2020-10-27 11:53:01 +01:00
Bjarke Berg
fc054e6546
Merge remote-tracking branch 'origin/netcore/dev' into netcore/netcore
...
# Conflicts:
# build/NuSpecs/UmbracoCms.Web.nuspec
# src/SolutionInfo.cs
# src/Umbraco.Infrastructure/Logging/Serilog/LoggerConfigExtensions.cs
# src/Umbraco.Infrastructure/PropertyEditors/NestedContentPropertyEditor.cs
# src/Umbraco.Tests.AcceptanceTest/cypress/integration/Tour/backofficeTour.ts
# src/Umbraco.Tests.AcceptanceTest/package.json
# src/Umbraco.Tests/TestHelpers/TestObjects.cs
# src/Umbraco.Web.BackOffice/Controllers/ContentTypeController.cs
# src/Umbraco.Web.BackOffice/Controllers/ImageUrlGeneratorController.cs
# src/Umbraco.Web.BackOffice/Controllers/ImagesController.cs
# src/Umbraco.Web.BackOffice/Controllers/MediaController.cs
# src/Umbraco.Web.BackOffice/Controllers/MemberTypeController.cs
# src/Umbraco.Web.BackOffice/Controllers/RelationTypeController.cs
# src/Umbraco.Web.BackOffice/Controllers/TemplateController.cs
# src/Umbraco.Web.UI.Client/src/common/services/formhelper.service.js
# src/Umbraco.Web.UI.Client/src/installer/steps/database.html
# src/Umbraco.Web.UI.Client/src/less/components/tree/umb-tree.less
# src/Umbraco.Web.UI.Client/src/less/components/umb-property-actions.less
# src/Umbraco.Web.UI.Client/src/less/forms.less
# src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/querybuilder/querybuilder.html
# src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/treepicker/treepicker.html
# src/Umbraco.Web.UI.Client/src/views/components/application/umb-navigation.html
# src/Umbraco.Web.UI.Client/src/views/components/property/umb-property-actions.html
# src/Umbraco.Web.UI.Client/src/views/content/overlays/publish.controller.js
# src/Umbraco.Web.UI.Client/src/views/content/overlays/publishdescendants.html
# src/Umbraco.Web.UI.Client/src/views/dictionary/edit.html
# src/Umbraco.Web.UI.Client/src/views/dictionary/list.html
# src/Umbraco.Web.UI.Client/src/views/logViewer/search.html
# src/Umbraco.Web.UI.Client/src/views/media/media.edit.controller.js
# src/Umbraco.Web.UI.Client/src/views/mediaTypes/edit.controller.js
# src/Umbraco.Web.UI.Client/src/views/member/member.edit.controller.js
# src/Umbraco.Web.UI.Client/src/views/memberTypes/edit.controller.js
# src/Umbraco.Web.UI.Client/src/views/packages/views/repo.html
# src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/dialogs/layoutconfig.html
# src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/dialogs/rowconfig.html
# src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/layouts.prevalues.html
# src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/layouts/list/list.listviewlayout.controller.js
# src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.controller.js
# src/Umbraco.Web.UI.Client/src/views/propertyeditors/userpicker/userpicker.controller.js
# src/Umbraco.Web.UI.NetCore/umbraco/UmbracoBackOffice/Default.cshtml
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/da.xml
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en.xml
# src/Umbraco.Web.UI.NetCore/umbraco/config/lang/en_us.xml
# src/Umbraco.Web.UI/Umbraco/config/lang/cs.xml
# src/Umbraco.Web.UI/Views/Partials/Grid/Editors/Media.cshtml
# src/Umbraco.Web.UI/config/umbracoSettings.config
# src/Umbraco.Web/Editors/BackOfficeServerVariables.cs
# src/Umbraco.Web/Editors/DictionaryController.cs
# src/Umbraco.Web/Editors/LogController.cs
# src/Umbraco.Web/Editors/MediaTypeController.cs
# src/Umbraco.Web/Editors/MemberGroupController.cs
2020-09-09 19:13:37 +02:00
Bjarke Berg
d14e2a99bc
Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
...
# Conflicts:
# .gitignore
# build/NuSpecs/tools/Web.config.install.xdt
# src/Umbraco.Core/ContentExtensions.cs
# src/Umbraco.Infrastructure/Intall/InstallHelper.cs
# src/Umbraco.Infrastructure/Models/Blocks/BlockEditorModel.cs
# src/Umbraco.Infrastructure/Models/Blocks/BlockItemData.cs
# src/Umbraco.Infrastructure/Models/Blocks/BlockListLayoutReference.cs
# src/Umbraco.Infrastructure/Models/Mapping/CommonMapper.cs
# src/Umbraco.Infrastructure/PropertyEditors/BlockEditorPropertyEditor.cs
# src/Umbraco.Infrastructure/PropertyEditors/BlockListConfigurationEditor.cs
# src/Umbraco.Infrastructure/PropertyEditors/NestedContentPropertyEditor.cs
# src/Umbraco.Tests/PropertyEditors/BlockListPropertyValueConverterTests.cs
# src/Umbraco.Web.UI.Client/package-lock.json
# src/Umbraco.Web/Compose/NestedContentPropertyComponent.cs
2020-09-09 14:16:46 +02:00
Ronald Barendse
a5f4252f09
Change grid view @Html.If to conditional statement
2020-08-26 18:23:04 +02:00
Bjarke Berg
3d55dcd3c4
Merge remote-tracking branch 'netcore/dev' into netcore/netcore
2020-08-26 08:05:15 +02:00
Bjarke Berg
ca3f65891d
Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
2020-08-25 14:00:59 +02:00
Lars-Erik Aabech
e8bb3b01aa
Better crop mechanism for the grid image editor ( #8023 )
2020-07-24 16:47:09 +02:00
Bjarke Berg
6012d6749e
Fix views
2020-04-01 11:31:21 +02:00
Bjarke Berg
1ea39f2762
Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
...
# Conflicts:
# src/Umbraco.Core/Models/PublishedContent/IPublishedContent.cs
# src/Umbraco.Core/Models/PublishedContent/PublishedContentBase.cs
# src/Umbraco.Core/Models/PublishedContent/PublishedContentWrapped.cs
# src/Umbraco.Core/Packaging/ConflictingPackageData.cs
# src/Umbraco.Core/Packaging/PackagesRepository.cs
# src/Umbraco.Core/PublishedCache/PublishedMember.cs
# src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MacroRepository.cs
# src/Umbraco.Infrastructure/PropertyEditors/RichTextEditorPastedImages.cs
# src/Umbraco.PublishedCache.NuCache/PublishedContent.cs
# src/Umbraco.Tests/Persistence/Repositories/MacroRepositoryTest.cs
# src/Umbraco.Tests/PublishedContent/SolidPublishedSnapshot.cs
# src/Umbraco.Web/Macros/PublishedContentHashtableConverter.cs
# src/Umbraco.Web/PublishedContentExtensions.cs
# src/Umbraco.Web/Trees/MediaTypeTreeController.cs
2020-03-02 08:34:52 +01:00
abi
a7ad464b40
Remove Empty Statements
2020-02-12 15:11:18 +01:00
Benjamin Carleski
bcd26b9243
Merge remote-tracking branch 'umbraco/temp-7538-image-url-generator' into netcore/dev
...
# Conflicts:
# src/Umbraco.Abstractions/IImageUrlGenerator.cs
# src/Umbraco.Abstractions/ImageUrlGenerationOptions.cs
# src/Umbraco.Core/Composing/Current.cs
# src/Umbraco.Core/Models/UserExtensions.cs
# src/Umbraco.Core/PropertyEditors/ValueConverters/ImageCropperValue.cs
# src/Umbraco.Core/Umbraco.Core.csproj
# src/Umbraco.Tests/PropertyEditors/ImageCropperTest.cs
# src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
# src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
# src/Umbraco.Tests/Runtimes/StandaloneTests.cs
# src/Umbraco.Tests/Testing/UmbracoTestBase.cs
# src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
# src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
# src/Umbraco.Web/Runtime/WebInitialComposer.cs
# src/Umbraco.Web/Templates/TemplateUtilities.cs
2020-02-11 16:53:13 -08:00
Benjamin Carleski
a7ff20de6e
Introduce Image URL Generator abstraction
2020-02-07 15:01:03 -08:00
Bjarke Berg
1ee09af4f3
7368 - Updated view to use the new name of ReplaceLineBreaksForHtml
2020-01-21 09:01:11 +01:00
Bjarke Berg
44a36227f9
Merge pull request #7356 from umbraco/netcore/feature/AB4227-move-files-to-infrastructure
...
Netcore/feature/ab4227 move files to infrastructure
2020-01-06 14:59:17 +01:00
Warren Buckley
ed0aa7f14a
Use DetectIsJson string extension as opposed to a horrible try/catch
2019-12-20 09:55:03 +00:00
Warren Buckley
1fc2c89ea6
Updates the HTML Razor Partial View for grid cell items that use Embed
...
It has been recently updated in 8.2.0 that the Value stored is a JSON object containing width, height & the raw HTML returned by the oEmbed
Fixes #7178
2019-12-19 16:01:55 +00:00
Bjarke Berg
76e1f30594
Fixed broken view
2019-12-10 15:01:11 +01:00
Claus
5e684487c0
fixes images not showing up when rendering rte from the grid.
2019-10-22 16:00:39 +02:00
Bjarke Berg
e2baf50364
Removing boostrap2 stuff
2019-02-18 12:02:03 +01:00
Bjarke Berg
dbb82cb3f8
Fixed views
2019-02-18 11:32:09 +01:00
Bjarke Berg
eab1e46a4b
Bugfix in view after UmbracoContext refactoring
2019-02-15 09:58:54 +01:00
Bjarke Berg
a4a437a746
Fixed view after UmbracoHelper ctor changes
2019-02-06 11:18:52 +01:00
Bjarke Berg
46f7c76c0b
Fixes for broken view..
...
- Create new UmbracoHelper (Missing parameter)
- string.replace can't handle string and IHtmlString
2019-01-21 07:54:35 +01:00
Sebastiaan Janssen
2613d0b5ac
Pass UrlProvider in from grid editor too
2018-07-30 16:18:59 +02:00
Stephan
c2e1ba21b2
Port v7@2aa0dfb2c5 - WIP
2018-03-27 16:18:51 +02:00
Stephan
9a28250a8d
Port 7.7 - WIP
2017-09-15 18:22:19 +02:00
Stephan
8561d85f7a
porting 7.6-rc1 into 8
2017-05-24 12:25:39 +02:00
Claus
6f39439e3d
removing string.empty checks for attributes.
...
removing the redundant clean for outputting model.value in TextString.cshtml.
2016-11-15 12:10:36 +01:00
Claus
8bb069e996
U4-9134 XSS security issue in the grid
...
exposing xss clean method on templateutilities.
making the clean xss string extensions public instead of internal.
ensuring the included grid renderers clean for xss.
ensuring the included grid editors using html.raw with value directly, cleans for xss.
2016-11-08 09:55:24 +01:00
Søren Kottal
b84f17ce5e
U4-8579: Replace linebreaks
...
Uses Umbraco Helper to replace linebreaks for html in model.value
2016-07-01 21:32:09 +02:00
Claus
37986f0ed5
Fixes: U4-6193 Inserting an image into grid layout ignores alternative text
...
AltText is used for alt tag instead of caption text which is used below the media.
Ensured the altText set in the dialog is saved to the value object.
2015-09-01 10:28:35 +02:00
Jason Prothero
32bedfaa6a
Changed the surrounding quotes for Grid custom settings/styles to be double quotes
2015-02-27 10:06:45 -08:00
per ploug
935436203e
Adds razor helper comments to all grid razor views
2014-11-25 14:41:43 +01:00
per ploug
1b83c5c180
Fluid grid views in seperate files
2014-11-19 10:37:17 +01:00
per ploug
ee6c9a3b05
Updates grid render cshtml
...
Better single/multi section layout support
Cleaned up the templates with a helper for cleaner code
2014-11-18 23:40:53 +01:00
per ploug
d12162cca5
Grid Media rendering + sets save url correct
2014-11-18 23:39:56 +01:00
per ploug
163a03986c
force add base.cshtml
2014-11-18 13:22:56 +01:00
per ploug
5c17201006
Fixes custom grid view lookup
2014-11-13 15:42:36 +01:00
per ploug
ed8cccdf5a
Minor visual annoyances + changed output html
...
changes made due to feedback from Adam, Rune and Simon on how to make
the grid as flexible as possible
2014-11-06 22:58:35 +01:00
per ploug
990f271c63
Merge
2014-11-05 20:10:06 +01:00
Shannon Deminick
f5ec2139f0
Renaming to correct file naming conventions
2014-10-08 09:34:24 +11:00
Shannon Deminick
983d7610e4
Renaming to correct file naming conventions
2014-10-08 09:33:57 +11:00
Shannon Deminick
504c477037
Renaming to correct file naming conventions
2014-10-08 09:33:37 +11:00
Shannon Deminick
7b8932a5d6
Renaming to correct file naming conventions
2014-10-08 09:33:14 +11:00
Shannon Deminick
504f53439a
Renaming to correct file naming conventions
2014-10-08 09:32:42 +11:00
Shannon Deminick
e58c7f46c7
Renaming to correct file naming conventions
2014-10-08 09:32:16 +11:00
Shannon Deminick
1953e23560
Rename src/Umbraco.Web.UI/Views/Partials/grid/bootstrap2.cshtml to src/Umbraco.Web.UI/Views/Partials/Grid/Bootstrap2.cshtml
2014-10-08 09:31:40 +11:00
per ploug
0f32283601
Renames Grid to canvas
2014-09-23 16:30:27 +02:00
Stephan
a3ad8e2cab
Die, Marco, die.
2014-09-11 08:24:01 +02:00