Compare commits

...

4038 Commits

Author SHA1 Message Date
Shannon 8db18bf82e Updates examine to latest version 2019-03-05 13:53:22 +11:00
Stephan 31b293aa4d Fix distributed cache handler for medias (#4751) 2019-03-04 16:39:34 +01:00
Pete Duncanson f1d1c95709 Removed System.Web.WebPages reference in nonodes.aspx as was failing a clean build 2019-03-04 14:21:38 +01:00
Stephan eace918258 Merge pull request #4782 from kjac/v8-fix-create-content-template
V8: Fix "ambient scope" error when creating content template from content
2019-03-04 10:40:40 +01:00
Stephan 8961e8b4be Merge pull request #4834 from umbraco/temp-4609-rte-not-rendering-macros-correctly
Bugfix: Could not render macros in RTE
2019-03-04 09:29:06 +01:00
Stephan b526b8f246 Merge pull request #4823 from Brianmanden/patch-1
Update Utf8ToAsciiConverter.cs
2019-03-04 09:15:00 +01:00
Bjarke Berg ed6d54e64a Bugfix: Don't use ToString :'( 2019-03-04 08:43:19 +01:00
Brian Juul Andersen 57290c4180 Update Utf8ToAsciiConverter.cs
Fix minor grammatical error.
2019-03-02 21:44:28 +01:00
Kenn Jacobsen 84b60f8b9f V8: Make variant state clickable in various dialogs (#4760)
* Fix publish dialog

* Fix publish with descendants dialog

* Fix save dialog

* Fix scheduled publishing dialog

* Fix send to publish dialog

* Fix unpublish dialog

* Add missing magic IDs to send to publish dialog so the labels actually work.

* Add missing magic IDs to unpublish dialog
2019-03-01 15:21:34 +01:00
Shannon Deminick cfc04a9df0 Merge pull request #4799 from robertjf/dev-v8-uduf-4749
v8 - uduf - Changed all references of umbracoUseSSL to Umbraco.Core.UseHttps to f…
2019-02-28 18:20:25 +11:00
Shannon 3e4ff05d37 removes unused params 2019-02-28 17:18:47 +10:00
Shannon Deminick 28034d664e Merge pull request #4793 from dinc5150/4489
v8 - uduf - Redirect away from page under the settings section when the page is deleted
2019-02-28 18:16:33 +11:00
David Sheiles edf3fd5d31 remove test code 2019-02-28 18:15:41 +11:00
David Sheiles f7705ef134 Move logic from navigation service to controller 2019-02-28 18:10:03 +11:00
David Sheiles f0caa6be4b Update null check 2019-02-28 17:57:05 +11:00
Robert Foster 5aa38c1f43 Changed all references of umbracoUseSSL to Umbraco.Core.UseHttps to fix issue #4749 2019-02-28 16:48:56 +10:00
Shannon Deminick b809f9f03a Merge pull request #4798 from emmanueltissera/v8-uduf2019-issue-4757
v8 - uduf - Fixes hotkey for navigation between apps and content apps
2019-02-28 17:45:16 +11:00
Shannon Deminick eabc05d6f8 Merge pull request #4796 from skartknet/4790_-_Content_and_media_overloads_for_Udis
4790 - added Content and Media Udi overloads
2019-02-28 17:33:05 +11:00
David Sheiles d3fb614d25 Move logic to tree service and navigarion service 2019-02-28 17:29:40 +11:00
Emmanuel Tissera 0eb7d404a1 Fixes hotkey for navigation between apps and content apps
Fixes https://github.com/umbraco/Umbraco-CMS/issues/4757
2019-02-28 17:10:39 +11:00
Mario Lopez 093b57505a simplified GuidUdi checking. 2019-02-28 16:50:28 +11:00
Shannon Deminick 2a7cd4d94a Merge pull request #4797 from iofsauron/4766-list-view-selected-bug
4766 list view selected bug
2019-02-28 16:31:56 +11:00
iofsauron 4503967778 4766 fixed up other instances where nodeSelectHandler was being passed incorrect number of arguments 2019-02-28 15:02:53 +10:00
Mario Lopez f227f2ed61 added Content and Media Udi overloads 2019-02-28 13:55:14 +11:00
iofsauron 553bf6d304 4766 Fixed list view selected item issue by uncommenting out the umb-table-body__fileicon and umb-table-body__checkicon. Fixed call to nodeSelectHandler in selectListViewNode by removing erroneous first parameter 2019-02-28 12:33:49 +10:00
David Sheiles 45dfef78bd Redirect away from page under the settings section when the page is deleted. Affects DataTypes, DocTypes, Macros, MediaTypes, Membertypes, PartialViewMacro,PartialViews, Scripts, Stylesheet & Templates 2019-02-28 13:33:45 +11:00
Shannon Deminick b172a5f847 Merge pull request #4791 from robertjf/dev-v8-uduf-4787
Fix for Content App badges not being displayed (#4787)
2019-02-28 13:05:56 +11:00
Shannon 41f80b942a Merge branch 'dev-v8' of https://github.com/umbraco/Umbraco-CMS into dev-v8 2019-02-28 11:02:12 +10:00
Robert Foster 055f983cbf Fix for Content App badges not being displayed (#4787) 2019-02-28 11:01:59 +10:00
Shannon 3e9556fead Adds TODO note 2019-02-28 11:01:53 +10:00
Kenn Jacobsen b403272389 Fix "ambient scope" error when creating content template from content 2019-02-27 18:54:53 +01:00
Kenn Jacobsen b5bda772af Make it possible to upload the same file twice or more (#4755) 2019-02-27 09:51:11 +01:00
Mikkel Holck Madsen 02ccd45bf6 Merge pull request #4767 from umbraco/temp8-4711-update-web-config-transformations-to-v8
Updated versions and added new dependencies to transformation file
2019-02-27 09:47:12 +01:00
Bjarke Berg b86e7dc0e8 Ensure we dont double insert 2019-02-27 09:44:28 +01:00
Bjarke Berg 578eb8b32c Updated versions and added new dependencies to transformation file 2019-02-27 09:30:15 +01:00
Bjarke Berg f2d7ed69ca Fix for printing html in uninstall package readme 2019-02-27 09:10:33 +01:00
Claus 746573d28b Merge pull request #4744 from kjac/v8-fix-selectable-search-results
V8: Fix the "selected" checkmark in tree picker search results
2019-02-26 10:36:07 +01:00
Kenn Jacobsen 09dc908332 Fix the "selected" checkmark in tree picker search results 2019-02-26 09:56:07 +01:00
Sebastiaan Janssen 35bf75bc82 Do the version dance 2019-02-26 09:28:51 +01:00
Sebastiaan Janssen cb0268dfdd Merge branch 'dev-v8-fix' into dev-v8 2019-02-26 09:17:47 +01:00
Sebastiaan Janssen 9186b392c9 Merge branch 'dev-v7' into dev-v8
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/imaging/umbimagecrop.directive.js
#	src/Umbraco.Web/Routing/PublishedContentRequestEngine.cs
2019-02-25 19:57:18 +01:00
Skid Vis 4f30dd32f1 Updates link to dev-v8
Was linked to temp8 which no longer exists and results in 404
2019-02-25 17:20:35 +01:00
Anders Bjerner bac2b1cb71 Updated reference to dev-v7 as dev-v8 is now the default branch 2019-02-25 17:19:55 +01:00
Bjarke Berg 57af355d85 Bugfix: get installStateComplete variable from labels 2019-02-25 14:37:25 +01:00
Carole Rennie Logan 9bcce48df3 still reference to temp8 2019-02-25 07:43:35 +01:00
Skid Vis c83630b376 Updates branch to checkout when trying v8
The branch specified, 'temp8', no longer exists. Updates to the current 'dev-v8' branch name.
2019-02-23 16:32:33 +01:00
Sebastiaan Janssen e1856bf851 Update README.md 2019-02-23 16:30:18 +01:00
Sebastiaan Janssen fe3525bc54 Update README.md 2019-02-23 16:27:18 +01:00
Sebastiaan Janssen 452dcbd016 Update README.md 2019-02-23 16:26:48 +01:00
Sebastiaan Janssen 4b489b52ef Bump version again 2019-02-23 14:21:44 +01:00
Stephan aa86dfa956 Bugfix exception during install, live models collision 2019-02-22 19:13:48 +01:00
Stephan 04e916b41c Fix test 2019-02-22 10:42:43 +01:00
Stephan e167388e74 Make UniqueMediaPathScheme deterministic 2019-02-22 09:44:25 +01:00
Claus b8db430615 Revert "Fix UmbracoDatabaseFactory"
This reverts commit 716fc582a0.
2019-02-21 21:01:24 +01:00
Sebastiaan Janssen f9d51ba415 fix version 2019-02-21 19:32:11 +01:00
Stephan e07a17db29 Merge branch 'dev-v8' of https://github.com/umbraco/Umbraco-CMS into dev-v8 2019-02-21 19:17:01 +01:00
Stephan ad62983327 Introduce ILivePublishedModelFactory 2019-02-21 19:15:35 +01:00
Bjarke Berg fc8ae1b228 Merge remote-tracking branch 'origin/dev-v8' into dev-v8-fix 2019-02-21 16:24:31 +01:00
Stephan 48f27afbc9 Merge branch 'dev-v8' of https://github.com/umbraco/Umbraco-CMS into dev-v8 2019-02-21 16:23:20 +01:00
Stephan e1532f9215 Merge branch 'temp8-saving-event-cannot-publish-values' into dev-v8 2019-02-21 16:22:44 +01:00
Bjarke Berg a2279d03f6 Materializing the TypeContentSources before iterating them. 2019-02-21 16:13:21 +01:00
Bjarke Berg e52ff0ea03 merge fix 2019-02-21 14:57:41 +01:00
Bjarke Berg aaa8e881f8 Version number revert 2019-02-21 14:45:12 +01:00
Bjarke Berg 14ec6b8792 Merge branch 'dev-v8' into dev-v8-fix
# Conflicts:
#	src/Umbraco.Core/IO/ShadowWrapper.cs
2019-02-21 14:43:18 +01:00
Stephan 90feb463aa Cleanup 2019-02-21 14:13:37 +01:00
Stephan 73c4e734b3 Move to UniqueMediaPathScheme 2019-02-21 13:48:33 +01:00
Stephan c85b90d65d Combined Guids media path scheme 2019-02-21 13:48:14 +01:00
Stephan e923b940f9 Cleanup Url token encoding 2019-02-21 13:47:10 +01:00
Bjarke Berg d29d629eae Merge pull request #4688 from umbraco/temp8-4674-media-paths
Fix media paths length issues
2019-02-21 13:21:39 +01:00
Stephan 50b076ce38 Merge branch 'dev-v8' into temp8-saving-event-cannot-publish-values 2019-02-21 13:03:36 +01:00
Stephan badb55476b Merge branch 'dev-v8' of https://github.com/umbraco/Umbraco-CMS into dev-v8 2019-02-21 13:03:19 +01:00
Stephan 9ecd63eaed Move to UniqueMediaPathScheme 2019-02-21 12:20:10 +01:00
Stephan 5edd61107f Combined Guids media path scheme 2019-02-21 11:28:51 +01:00
Stephan c21039f1af Fix SqlServer bulk insert / unwrapping commands 2019-02-21 11:17:41 +01:00
Stephan 51f6c639bf Cleanup Url token encoding 2019-02-21 09:35:38 +01:00
Shannon d9a3fa443d fixes test 2019-02-21 15:29:36 +11:00
Shannon 13a1c02507 Fixes content service Saving events so that they are fired before the model's values are published when the service is publishing 2019-02-21 14:46:14 +11:00
Shannon 7a9bc19ffd Adds notes + unit test showing the problem 2019-02-21 12:08:00 +11:00
Stephan 3dfe653ef4 Better throwing on long path in filesystems 2019-02-20 17:04:29 +01:00
Stephan db4dc9006a Shorten filepaths 2019-02-20 17:04:29 +01:00
Stephan 212244b9f2 Hopefully fix PublishedMember 2019-02-20 17:04:29 +01:00
Stephan 12f7492d80 Reorg code 2019-02-20 17:04:29 +01:00
Claus d9d68cf6bf The content service is not returning the invalid properties when publishing fails
(cherry picked from commit d94e383ed7)
2019-02-20 16:17:39 +01:00
Claus d94e383ed7 The content service is not returning the invalid properties when publishing fails 2019-02-20 16:05:42 +01:00
Stephan 716fc582a0 Fix UmbracoDatabaseFactory 2019-02-20 15:52:21 +01:00
Stephan 50c9625cc6 Oops fix previous commit 2019-02-20 15:01:32 +01:00
Stephan 5cbc428590 Fix UserRepository 2019-02-20 15:00:23 +01:00
Stephan db4d88b2dc Shorten shadow filesystems identifiers 2019-02-20 14:10:15 +01:00
Stephan d9d54f7982 Merge branch 'temp8-fixes-published-content-children-method' into dev-v8
(cherry picked from commit 735d759208)
2019-02-20 13:36:10 +01:00
Shannon a61a2b4d97 Removes notes
(cherry picked from commit 717efb6b09)
2019-02-20 13:35:50 +01:00
Stephan 735d759208 Merge branch 'temp8-fixes-published-content-children-method' into dev-v8 2019-02-20 12:56:14 +01:00
Shannon 65f99a9bfd renames the method params to be consistent 2019-02-20 21:06:36 +11:00
Shannon 6c23066fb7 Fixes the Content.Children conundrum with ChildrenOfType method 2019-02-20 21:03:36 +11:00
Shannon 717efb6b09 Removes notes 2019-02-20 20:37:10 +11:00
Sebastiaan Janssen 91c52cffc8 And revert again 2019-02-19 15:57:40 +01:00
Sebastiaan Janssen 03e7779afb Update install screen 2019-02-19 15:57:06 +01:00
Sebastiaan Janssen 15562ec12f Bump version 2019-02-19 15:01:26 +01:00
Sebastiaan Janssen 6e8862954a Bump version 2019-02-19 15:00:58 +01:00
Warren Buckley 9c7ab96c92 Typo FilderedControllerFactory (#4650) 2019-02-19 14:23:26 +01:00
Sebastiaan Janssen 8f17d6fcd2 Merge branch 'patch-7.13.2' into dev-v7
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/colorpicker/colorpicker.controller.js
2019-02-19 11:22:59 +01:00
Stephan 49ca4bbc91 Fix MB in nuspec 2019-02-19 09:42:42 +01:00
Stephan 5121142760 Merge remote-tracking branch 'origin/temp8' into temp8 2019-02-19 08:48:59 +01:00
Stephan 4c53604bd0 Merge branch 'temp8-fixes-publishing-new-content' into temp8 2019-02-19 08:48:28 +01:00
Stephan bf329aa431 Merge branch 'temp8' into temp8-fixes-publishing-new-content 2019-02-19 08:45:54 +01:00
Bjarke Berg d456ee9a31 Merge pull request #4632 from umbraco/temp8-4438
Fixes 4438: Local variant picker squeezes the width of node-name-input, to make it scroll instead of disappear behind.
2019-02-19 08:36:33 +01:00
Stephan f06d720dbd Fix SqlServer detection 2019-02-19 08:12:48 +01:00
Bjarke Berg 87839f4f6a Merge pull request #4643 from umbraco/temp8-show-notification-msg-client-validation
v8 - Shows a notification message when client validation fails in the content editor, else it's not clear there are any problems
2019-02-19 07:54:55 +01:00
Shannon 02f8c4a106 Adds TODO note 2019-02-19 16:55:57 +11:00
Shannon 71ad7df787 adds code comments 2019-02-19 12:23:08 +11:00
Shannon 4b7520b6f8 Updates the validation warning for media and members 2019-02-19 12:06:55 +11:00
Shannon c06c996ccf Shows a notification message when client validation fails in the content editor, else it's not clear there are any problems. 2019-02-19 11:46:46 +11:00
Sebastiaan Janssen 9fe4d9c44e Make "add group" shortcut consistent 2019-02-18 22:00:25 +01:00
Carole Rennie Logan 560174a21f V8: Changing tab to group (#4391) 2019-02-18 21:44:32 +01:00
Kenn Jacobsen e34a0ec73b Update/fix the blur handling for the tags editor 2019-02-18 20:54:55 +01:00
Jan Skovgaard 152b318d78 v8: Remove open sans font (#4613) 2019-02-18 20:52:18 +01:00
BatJan 414c6b8788 Remove old preview functionality 2019-02-18 20:50:57 +01:00
SimonHilo 1300389ce6 Skip the check for approved/locked out members if not using Umbracos built-in MembershipProvider (#4607) 2019-02-18 20:49:27 +01:00
Kenn Jacobsen ea8d8ba771 Make the image crop slider move at 66 hertz 2019-02-18 20:39:16 +01:00
Kenn Jacobsen 1eb6ae10c9 Fix the initial zoom offset for new crops in the image cropper 2019-02-18 20:38:11 +01:00
Jan Skovgaard 5d3e1fb95f v7: User history showing even if it's empty (#4524) 2019-02-18 20:36:36 +01:00
Kenn Jacobsen 19fb1a55e3 Add missing dirty checks to mediatypes 2019-02-18 20:34:16 +01:00
Kenn Jacobsen b02a9c3e7a Add missing dirty checks to content type dirty checking 2019-02-18 20:22:19 +01:00
Shannon e6f8309d54 reverts the list view changes so they open normally 2019-02-18 17:01:34 +01:00
Shannon 3ecf4144e7 Fixes publishing new variant content that has validation errors 2019-02-19 02:51:05 +11:00
Sebastiaan Janssen 817dd21155 Allow for unselecting a color in the color picker 2019-02-18 16:42:05 +01:00
Sebastiaan Janssen 34216fd635 Create a valid date picker datatype 2019-02-18 16:16:31 +01:00
Shannon c81ff85b41 Merge branch 'kjac-v8-fix-dont-retain-cculture' into temp8 2019-02-19 01:52:26 +11:00
Shannon ca1ec0e4a3 Merge branch 'v8-fix-dont-retain-cculture' of https://github.com/kjac/Umbraco-CMS into kjac-v8-fix-dont-retain-cculture 2019-02-19 01:49:27 +11:00
Shannon f2ae41ada2 Fixes the culturerequest.interceptor so that it works in tests (and so circular deps aren't caused), internalizes ClientCulture and makes it a little less error prone. 2019-02-19 01:44:00 +11:00
Shannon 90cbd69373 Merge remote-tracking branch 'origin/temp8' into temp8 2019-02-19 01:21:40 +11:00
Shannon 16629c78d2 Merge branch 'kjac-v8-fix-use-client-culture' into temp8 2019-02-19 01:20:03 +11:00
Shannon 04487557d7 Merge branch 'v8-fix-use-client-culture' of https://github.com/kjac/Umbraco-CMS into kjac-v8-fix-use-client-culture 2019-02-19 01:05:11 +11:00
Sebastiaan Janssen 5955ede1dc Merge branch 'dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/colorpicker/colorpicker.controller.js
2019-02-18 14:58:49 +01:00
Mathieu Deslauriers 62463ecc21 Issue 4634 : Fixed colorpicker unselection condition
When the user remove the selection the model is set to null.
When the user tries to select another value after that, the condition is trying to check the "value" property for a null object.
2019-02-18 14:52:13 +01:00
Stephan 5a11b1bcac Upgrade ModelsBuilder 2019-02-18 14:43:15 +01:00
Shannon e1c22ef02c bumped to examine 1.0.0 2019-02-19 00:17:23 +11:00
Niels Lyngsø e1d990e6e8 Only show wrapper when it has content to show 2019-02-18 14:13:23 +01:00
Niels Lyngsø ce8b29bfcc Fixes #4438, makes variant-picker push the width of input, moed border of input to input-wrapper. 2019-02-18 13:35:16 +01:00
Kenn Jacobsen 1c554a8770 Add generic section icon in section picker + clean up legacy section icon stuff 2019-02-18 13:35:08 +01:00
Bjarke Berg 4cc68912ce Merge pull request #4630 from umbraco/temp8-sections
Move sections to their own namespace
2019-02-18 12:20:45 +01: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
Stephan 11506e5548 Merge branch 'temp8' into temp8-sections 2019-02-18 11:24:41 +01:00
Stephan 7185089f1d Move sections to their own namespace 2019-02-18 11:22:25 +01:00
Bjarke Berg 050616f446 nullref fixes 2019-02-18 10:58:06 +01:00
Bjarke Berg 08d4747824 nullref fix 2019-02-18 10:55:13 +01:00
Bjarke Berg ecfc8d819f #4379 - Merged Umbraco.Date into Umbraco.Datetime property editor (#4608) 2019-02-18 09:54:01 +01:00
Stephan 30b5dd4d04 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-02-18 09:49:05 +01:00
Bjarke Berg 6b8fc66858 Merge pull request #4605 from umbraco/temp8-injection-ihttpcontextaccessor-instead-of-controller
Injecting `IUmbracoContextAccessor` instead `UmbracoContext` in constructors
2019-02-18 09:48:37 +01:00
Stephan d7ce71f6a7 Merge branch 'temp8-fixes-rendering-content-without-template' into temp8 2019-02-18 09:48:34 +01:00
Stephan c2bf3d0d53 Merge branch 'temp8' into temp8-fixes-rendering-content-without-template 2019-02-18 09:47:45 +01:00
Stephan ed6167fb0a Document Serilog per-source level 2019-02-18 09:46:43 +01:00
Bjarke Berg aef83b86d4 Merge branch 'temp8' into temp8-injection-ihttpcontextaccessor-instead-of-controller
# Conflicts:
#	src/Umbraco.Tests/Routing/RenderRouteHandlerTests.cs
#	src/Umbraco.Tests/TestHelpers/ControllerTesting/TestControllerActivatorBase.cs
2019-02-18 09:10:47 +01:00
Shannon 8ea6e2b855 If a content item has no template (i.e. route hijack), it will fail to render 2019-02-18 19:07:51 +11:00
Bjarke Berg 8c9d115986 Merge pull request #4626 from umbraco/temp8-remove-Created-service-events
v8 - removal of "Created" events that shouldn't exist
2019-02-18 08:58:57 +01:00
Shannon 79c67e9c1b Fixes logging message 2019-02-18 18:06:54 +11:00
Shannon aa90e61a97 Forgot to remove the ContentService, MediaService and MemberService Created events - these should have been removed a very long time ago! 2019-02-18 16:38:55 +11:00
Shannon 59f51767b5 Forgot to remove the ContentService, MediaService and MemberService Created events - these should have been removed a very long time ago! 2019-02-18 16:38:37 +11:00
Shannon f079f3d66b Fixes a null ref if a url provider returns null 2019-02-18 16:29:57 +11:00
Shannon Deminick 2958b42b31 Merge pull request #4600 from aaronpowell/temp8-3935-clientdependency
Improved fix for non-web Umbraco hosts
2019-02-18 16:13:28 +11:00
Shannon 876336d9fd Fixes more of #4478 2019-02-18 15:02:38 +11:00
Stephan d8a9bfc22c Bugfix variation context in background tasks 2019-02-16 17:25:24 +01:00
Stephan 7641e7a521 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-02-15 22:45:46 +01:00
Stephan 834a30b5c7 Fix tests 2019-02-15 22:45:30 +01:00
Stephan 6a5f8c0ab8 Fix #4578 2019-02-15 19:32:13 +01:00
Stephan 4ab6ab1a1f Merge branch 'temp8-umbhelper-vs-umbcontext-cleanup' into temp8 2019-02-15 14:20:39 +01:00
Stephan 94a44a2609 Cleanup 2019-02-15 14:20:31 +01:00
Bjarke Berg 8e29dbd494 #4569 - Rename TinyMCE property editor alias (From TinyMCEv3)
#379 - Rename Label property editor alias (From NoEdit)
2019-02-15 13:52:02 +01:00
Robert a0896f168c Merge pull request #4562 from umbraco/temp8-ui-listview-as-infinity-editing-v2
Temp8 ui listview as infinity editing v2
2019-02-15 11:45:58 +01:00
Robert 0555f0868b Merge remote-tracking branch 'origin/temp8' into temp8-ui-listview-as-infinity-editing-v2 2019-02-15 11:24:26 +01:00
Bjarke Berg 5dc3cf45ec Merge remote-tracking branch 'origin/temp8' into temp8-injection-ihttpcontextaccessor-instead-of-controller 2019-02-15 11:13:18 +01:00
Bjarke Berg 8631136444 Merge remote-tracking branch 'origin/temp8' into temp8 2019-02-15 11:05:41 +01:00
Bjarke Berg 7f764a4557 Bugfix for checkboxlist 2019-02-15 11:03:38 +01:00
Robert e29b47069c Show save and publish in infinite mode 2019-02-15 10:54:00 +01:00
Bjarke Berg 73e0e3547c Merge remote-tracking branch 'origin/temp8' into temp8-injection-ihttpcontextaccessor-instead-of-controller 2019-02-15 10:53:23 +01:00
Stephan 6f0ba2236f Fix IGlobalSettings.LocalTempPath in tests 2019-02-15 10:52:30 +01:00
Stephan a46d40e9ef Fix UmbracoContext issue (with a TODO) 2019-02-15 10:52:30 +01:00
Bjarke Berg 2adec8ee74 Merge pull request #4599 from umbraco/temp8-fix-umbeditornavigation-4478
v8 Fixes umbeditornavigation.directive
2019-02-15 10:35:28 +01:00
Robert 68662e271d Merge remote-tracking branch 'origin/temp8' into temp8-ui-listview-as-infinity-editing-v2
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/components/content/edit.html
2019-02-15 10:28:04 +01:00
Stephan cdae0adf52 Merge branch 'temp8' into temp8-umbhelper-vs-umbcontext-cleanup 2019-02-15 10:17:14 +01:00
Bjarke Berg f0dd69d95c Yet another change from injecting UmbracoContext to IUmbracoContextAccessor 2019-02-15 10:10:20 +01:00
Bjarke Berg 90c1fa4a10 Merge remote-tracking branch 'origin/temp8' into temp8-injection-ihttpcontextaccessor-instead-of-controller 2019-02-15 09:59:17 +01:00
Bjarke Berg eab1e46a4b Bugfix in view after UmbracoContext refactoring 2019-02-15 09:58:54 +01:00
Bjarke Berg a29f7b764f Merge remote-tracking branch 'origin/temp8' into temp8-injection-ihttpcontextaccessor-instead-of-controller
# Conflicts:
#	src/Umbraco.Tests/Web/Mvc/RenderIndexActionSelectorAttributeTests.cs
#	src/Umbraco.Tests/Web/Mvc/SurfaceControllerTests.cs
#	src/Umbraco.Web/Editors/Filters/UserGroupAuthorizationAttribute.cs
#	src/Umbraco.Web/Mvc/EnsurePublishedContentRequestAttribute.cs
#	src/Umbraco.Web/Mvc/RedirectToUmbracoPageResult.cs
2019-02-15 09:48:55 +01:00
Stephan 47ee3bf3e4 Move things around 2019-02-15 09:47:35 +01:00
Stephan 64154da4e4 Get LocalTempPath in GlobalSettings 2019-02-15 09:45:51 +01:00
Bjarke Berg 4879e7164e Merge pull request #4413 from kjac/v8-fix-invariant-variant-redirect-tracking
V8: Redirect tracking for invariant content under variant content
2019-02-15 09:10:39 +01:00
Bjarke Berg ed0769f74b Fix for invariant previews 2019-02-15 08:51:03 +01:00
Aaron Powell 0aae5c1df1 Lifting up where the hosted test is 2019-02-15 16:41:50 +11:00
Shannon 3223f23ce4 Dont throw if a property editor isn't found, this prevents the user from doing anything (i.e. if a DLL is removed for some reason like package uninstall), instead default to label so that the admin can actually make changes. 2019-02-15 14:41:20 +11:00
Shannon 9292254aa8 Fixes umbeditornavigation.directive which doesn't listen for any changes to the navigation collection which means it can't dynamically resize or show/hide the items 2019-02-15 14:20:42 +11:00
Shannon 52548316aa adds IPublishedMembersCache to the container and updates MembershipHelper to be request based 2019-02-15 13:36:46 +11:00
Shannon 45f7e71787 Merge remote-tracking branch 'origin/temp8' into temp8-umbhelper-vs-umbcontext-cleanup 2019-02-15 13:09:26 +11:00
Shannon Deminick a87ca8fa1e Merge pull request #4577 from umbraco/temp8-contexts
Refactor UmbracoContext
2019-02-15 12:55:29 +11:00
Shannon 6f7e1cac3e Merge branch 'temp8' into temp8-contexts 2019-02-15 12:55:17 +11:00
Shannon Deminick 997b96e9d4 Merge pull request #4557 from umbraco/temp8-no-restart
Use ChangesMonitor to prevent unwanted restarts during install/upgrade
2019-02-15 12:32:48 +11:00
Shannon afbfc0034d Fixes tests 2019-02-15 12:19:42 +11:00
Shannon 02e3a8f19c Removes all inter-dependencies between UmbracoContext, UmbracoHelper and MembershipHelper and moves Html methods to HtmlHelper extensions. This simplifies UmbracoHelper and MembershipHelper to not require huge dependencies and splits the logic in a nicer fashion instead of wrapping everything 2019-02-15 11:43:56 +11:00
Shannon 6a49f1f99d no need for a Current. usage here 2019-02-15 11:27:33 +11:00
Shannon 4fb0414db3 Removes DisposableObject and uses DisposableObjectSlim where necessary, renames Nul to Null 2019-02-15 10:42:02 +11:00
Bjarne Fyrstenborg 9a5d6afaef Update navigation icons in package section 2019-02-14 21:02:31 +01:00
Bjarne Fyrstenborg 90e3b4273a v8: Adjust Umbraco Forms dashboard (#4589) 2019-02-14 21:01:06 +01:00
Kenn Jacobsen 4662b2e5d4 Fix missing crops on images 2019-02-14 20:55:02 +01:00
Sebastiaan Janssen 3704bfcfe8 Update to latest ImageProcessor 2019-02-14 20:45:34 +01:00
Kenn Jacobsen 013fa2e454 Don't let the image cropper reuse crop states between crops 2019-02-14 20:31:12 +01:00
Kenn Jacobsen 8fe8a0dfa3 Make the image crop slider move at 66 hertz 2019-02-14 20:31:03 +01:00
Kenn Jacobsen 4249f3d1ec Fix the initial zoom offset for new crops in the image cropper 2019-02-14 20:29:43 +01:00
Daniël Knippers 759940b48f Fixes typo defualt -> default 2019-02-14 18:22:04 +01:00
Kenn Jacobsen 5cf0a3adb0 Add the missing right hand side margin for name fields 2019-02-14 18:19:12 +01:00
Kenn Jacobsen 19f884e196 Make sure to show the "No allowed types" for applicable media items 2019-02-14 18:17:35 +01:00
Kenn Jacobsen c1de832c4b Fix: Allowed types for creation don't update 2019-02-14 18:17:00 +01:00
Sebastiaan Janssen 5a482a49bf Merge branch 'dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Web/PropertyEditors/MultiUrlPickerPropertyEditor.cs
2019-02-14 18:14:46 +01:00
Rasmus John Pedersen 46b5c18cc5 V8: Multi Url Picker fixes (#4528)
*  Fix not being able to save link with only an anchor

* Don't allow Multi Url Picker as a Macro Parameter Editor

* Fix anchor/querystring not being saved
2019-02-14 18:12:55 +01:00
Rasmus John Pedersen 3a469cdc77 Multi Url Picker fixes (#4527)
*  Fix not being able to save link with only an anchor

* Don't allow Multi Url Picker as a parameter editor
2019-02-14 18:11:44 +01:00
Kenn Jacobsen f4a0546dba V8: Add user state and filter localization (#4510) 2019-02-14 18:07:09 +01:00
Kenn Jacobsen 04525b014e Styling for the item edit link in the media picker 2019-02-14 18:04:32 +01:00
Jan Skovgaard 8079b64684 v8: Remove uneeded vendor prefixes (#4502) 2019-02-14 18:03:30 +01:00
Jan Skovgaard 53e6528e6d v8: Remove IE7 CSS hacks (#4500) 2019-02-14 17:55:42 +01:00
Kenn Jacobsen 8a676947bc Don't show the content navigation dropdown if there is only one group of properties 2019-02-14 17:53:32 +01:00
Jan Skovgaard 177a84273f V8: Simplify font setup (#4475) 2019-02-14 17:35:06 +01:00
Kenn Jacobsen 02281a0ee2 Add "back to list" button on edit user 2019-02-14 17:21:35 +01:00
Bjarne Fyrstenborg 9cf4b7b063 v8: Fix closing infinite editors through Escape key (#4462) 2019-02-14 17:19:42 +01:00
Bjarne Fyrstenborg f130fcc390 v8: inifiteediting hide return to list (#4463) 2019-02-14 17:19:02 +01:00
Kenn Jacobsen 9205d2f514 Don't show all children of a selected node as selected 2019-02-14 17:07:54 +01:00
Bjarne Fyrstenborg d76d9b8bcf v8: Fix dictionary items overview (#4456) 2019-02-14 17:04:11 +01:00
Bjarne Fyrstenborg 20e12644e5 v8: Fix saving infinite spinner (#4453) 2019-02-14 16:48:39 +01:00
Bjarne Fyrstenborg 2f377dbefa v8: Update examine management dashboard (#4447) 2019-02-14 16:40:58 +01:00
Bjarne Fyrstenborg fef604d551 v8: Update NuCache dashboard (#4435) 2019-02-14 16:36:44 +01:00
Bjarne Fyrstenborg 822d6cb4c0 v8: Add no relations message (#4431) 2019-02-14 16:33:09 +01:00
Bjarne Fyrstenborg 0d507612cc v8: Fix package options view (#4424) 2019-02-14 16:30:46 +01:00
Bjarne Fyrstenborg 0d36151e53 v8: Macro partial view picker (#4412) 2019-02-14 16:15:00 +01:00
Bjarne Fyrstenborg 280a6d79b4 v8: Add package contributors (#4385) 2019-02-14 16:00:58 +01:00
Robert 2f68853802 Removed console.log 2019-02-14 15:48:39 +01:00
Kenn Jacobsen a8f4cf73d8 V8: Use "Email" instead of "Username" on the login screen (#4383)
* Use "Email" instead of "Username" on the login screen when using email as username in config

* Fix placeholder too
2019-02-14 15:48:20 +01:00
Warren Buckley a7afb2784c Update main UmbracoCms NuSpec for ModelsBuilder update - SK uses the main UmbracoCMS nuget pkg in the example site & wont boot/upgrade without this updated nuspec 2019-02-14 14:28:23 +00:00
Bjarne Fyrstenborg 0a486de6a2 v8: Redirects confirm overlay (#4378) 2019-02-14 15:10:28 +01:00
Kenn Jacobsen 1fe1762724 Retain cculture in breadcrumbs 2019-02-14 15:02:54 +01:00
Stephan 6943be9726 Upgrade ModelsBuilder 2019-02-14 14:23:48 +01:00
Kenn Jacobsen d4a76f1bea V8: Align dialogs in the Settings section (#4344)
* Show the cancel button on macro delete confirm

* Hide "Do something else" when creating folders

* Remove "Do something else" on create relation type
2019-02-14 14:21:21 +01:00
Robert 8cf73e4ecd Merge pull request #4570 from umbraco/temp8-js-test-fixing
v8 - fixing js unit tests + build + CI
2019-02-14 14:18:03 +01:00
Kenn Jacobsen 65670ab539 Merge branch 'temp8' into v8-fix-dont-retain-cculture 2019-02-14 14:01:16 +01:00
Bjarke Berg c4ab4688c7 Merge remote-tracking branch 'origin/temp8' into temp8 2019-02-14 13:50:39 +01:00
Bjarke Berg 92dd1b0f8f Use the url from the object 2019-02-14 13:48:57 +01:00
Stephan 19ac18d13a Really import missing files 2019-02-14 13:48:47 +01:00
Warren Buckley 609786e0c3 Merge pull request #4573 from umbraco/temp8-reorg-composing
Reorganize composition code
2019-02-14 12:44:03 +00:00
Stephan 382a3aba81 Merge branch 'temp8' into temp8-reorg-composing 2019-02-14 13:38:41 +01:00
Warren Buckley de189e506f Merge pull request #4568 from umbraco/temp8-4408-ability-to-add-trees-dynamically
Adds the ability to add tree definitions dynamically on startup
2019-02-14 12:20:06 +00:00
Warren Buckley 29ca926c50 Merge pull request #4574 from umbraco/temp8-4426-fix-for-js-console-error-in-rollback
Added track by $index for `Repeatable Textstrings`
2019-02-14 12:16:58 +00:00
Kenn Jacobsen 684bacb937 V8: Handle element types in the content editor (#4193)
* Don't allow preview for element types

* Don't show the "save and publish" button group for element types + apply primary button state to the "save" button

* Hide templates and URLs for element types

* Fix null error

* Use same notation for negation
2019-02-14 13:13:19 +01:00
matthew-hair 6665695986 Added null check for context.Identity
Signed-off-by: matthew-hair <matthew.hair@sedgwick.gov>
2019-02-14 12:55:56 +01:00
Warren Buckley a643f6d1f0 Merge pull request #4551 from umbraco/temp8-ui-umb-tree-grey-out-icon-when-not-published-or-allowed
grey out icons in umb-tree when not published or allowed
2019-02-14 11:54:01 +00:00
Stephan aef9cb807d Import missing files 2019-02-14 12:51:46 +01:00
Stephan fa9dae93b9 Merge branch 'temp8' into temp8-no-restart 2019-02-14 12:47:12 +01:00
Kenn Jacobsen 7b03bc20cc Support localization of template and content type names in the content mapper 2019-02-14 12:46:27 +01:00
Bjarke Berg 1770a0abec Inject IUmbracoContextAccessor instead of UmbracoContext 2019-02-14 12:40:45 +01:00
Kenn Jacobsen 494bdfef1e Allow invariant languages to be resolved by specific cultures 2019-02-14 12:37:03 +01:00
Kenn Jacobsen 0ac196bec6 Add some missing localization for content info 2019-02-14 12:29:06 +01:00
Stephan d933724e39 Cleanup, document 2019-02-14 12:26:50 +01:00
Stephan 186e8fc58b Introduce IUmbracoContextFactory 2019-02-14 12:11:06 +01:00
Claus 30386cc96e adding some translations. 2019-02-14 11:32:23 +01:00
Claus 1bed04f384 Merge branch 'nathanwoulfe-temp8-4548' into temp8 2019-02-14 10:52:41 +01:00
Stephan e5142e4915 Make IPublishedSnapshot IDisposable 2019-02-14 10:50:08 +01:00
Claus 866fdadbe2 Merge branch 'temp8-4548' of https://github.com/nathanwoulfe/Umbraco-CMS into nathanwoulfe-temp8-4548 2019-02-14 10:49:48 +01:00
Claus 7edd338dd0 Merge branch 'kjac-v8-fix-localize-content-apps' into temp8 2019-02-14 10:44:32 +01:00
Stephan abceda7750 Kill UmbracoContext.Current 2019-02-14 10:39:49 +01:00
Stephan 969c2aa184 Bugfix component collection 2019-02-14 10:39:27 +01:00
Claus a37512ffb4 Merge branch 'v8-fix-localize-content-apps' of https://github.com/kjac/Umbraco-CMS into kjac-v8-fix-localize-content-apps 2019-02-14 10:35:52 +01:00
Kenn Jacobsen 7045eb196c Use InvariantContains instead of Contains when looking for culture in the querystring 2019-02-14 10:14:56 +01:00
Kenn Jacobsen 825d8421ed Don't use a hardcoded /umbraco path 2019-02-14 10:12:59 +01:00
Claus 466642af26 Merge pull request #4565 from kjac/v8-fix-remove-console-log
V8: Remove leftover console.log from #4469
2019-02-14 09:39:56 +01:00
Bjarke Berg 71f128d796 #4426 - Added track by $index for Repeatable Textstrings 2019-02-14 09:39:42 +01:00
Kenn Jacobsen 2927ff0af7 Merge branch 'temp8' into v8-fix-use-client-culture 2019-02-14 09:36:54 +01:00
Claus e098b9c184 removing using statements. 2019-02-14 09:28:15 +01:00
Stephan 7660e9fb25 Reorganize composition code 2019-02-14 09:15:47 +01:00
Stephan fe9b964ffe Cleanup IPublishedCache.GetByContentType 2019-02-14 08:54:00 +01:00
Stephan 01b82ee4e8 Bugfix HttpRequestAppCache locking 2019-02-14 08:48:20 +01:00
Bjarke Berg 026094c1b9 Merge pull request #4558 from umbraco/temp8-implement-GetByContentType-nucache
v8 - the GetByContentType methods for the content cache were not implemented
2019-02-14 08:36:24 +01:00
Shannon 2c34979ee8 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-02-14 18:25:07 +11:00
Shannon 65ce753925 Fixes issue with loading in the correct view for package options 2019-02-14 18:24:52 +11:00
Stephan 94cb6cb668 Bugfix NuCache #4547 2019-02-14 08:05:50 +01:00
Shannon d1624fab2d Merge branch 'temp8' into temp8-implement-GetByContentType-nucache 2019-02-14 16:51:07 +11:00
Shannon 64df1d040f Fixes how tests are run, fixes up the content picker, removes unecessary tests 2019-02-14 15:09:28 +11:00
Shannon Deminick 7e9d8e5de8 Merge pull request #4534 from aaronpowell/temp8-3935-clientdependency
Removing ClientDependency setup for non-web runtimes
2019-02-14 14:04:27 +11:00
Aaron Powell c50daf87a5 Moving to using IOHelper.IsHosted 2019-02-14 13:44:24 +11:00
Shannon 5e38cadacc publishes js test results to xml so that Azure DevOps can read the results, re-enables js test building, fixes an issue with one of the tests 2019-02-14 12:30:36 +11:00
Shannon f814a80ab7 Fixes the ContentSaveValidationAttribute since it was capturing a request based object in it's ctor when it's a singleton, moves the OnlyLocalRequestsAttribute to the correct namespace, WebSecurity shouldn't be IDisposable 2019-02-14 11:37:27 +11:00
Shannon 6644fc790a dont null check tree title 2019-02-14 11:15:43 +11:00
Shannon fd5a2f355b Also exposes the SearchableTreeCollectionBuilder since that's required to be able to replace the ISearchableTree implementations 2019-02-14 11:08:39 +11:00
Shannon f385e1d01d fixes #4408 2019-02-14 11:01:34 +11:00
Shannon Deminick 9a264a120b Merge pull request #4552 from umbraco/temp8-ui-datepicker-style
UI datepicker style updated
2019-02-14 10:28:08 +11:00
Shannon 286730c65e Merge remote-tracking branch 'origin/temp8' into temp8-ui-datepicker-style 2019-02-14 10:25:14 +11:00
Shannon Deminick 6d372fa609 Merge pull request #4556 from umbraco/temp8-4308-styling-of-doc-type-editor
Dimmed overlay on property preview + removed background from "add pro…
2019-02-14 10:23:03 +11:00
Shannon 672f57de5e Merge branch 'temp8' into temp8-4308-styling-of-doc-type-editor 2019-02-14 10:19:57 +11:00
Shannon Deminick e0fa99ee56 Merge pull request #4561 from umbraco/temp8-4451-default-ordering-of-tinymce-toolbar
Changed the default ordering of toolbar in tinymce
2019-02-14 09:55:12 +11:00
Shannon c62ce2ab4b Merge remote-tracking branch 'origin/temp8' into temp8-implement-GetByContentType-nucache 2019-02-14 09:52:09 +11:00
Kenn Jacobsen 30434eacea Remove leftover console.log from #4469 2019-02-13 18:47:29 +01:00
Robert b3a0cd4dd6 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-02-13 17:24:21 +01:00
Robert 3e0f3bc782 Fixing some tests up by adding the missing _dataTypeService.Setup. 2019-02-13 17:24:02 +01:00
Kenn Jacobsen 9003314d56 Make sure the sticky sub header do not clash with the actions menu (#4503) 2019-02-13 16:43:13 +01:00
Niels Lyngsø 2001487c1e Dont show back button in infinity mode 2019-02-13 16:16:41 +01:00
Stephan d7c8112a7a Merge branch 'temp8' into temp8-no-restart 2019-02-13 16:12:48 +01:00
Warren Buckley df41813ce2 Update the help drawer/sidebar to work with custom dashboards section targeting user-help. Starterkit is the only thing that seems to use this 2019-02-13 15:12:25 +00:00
Bjarke Berg 2b0cfdb143 #4451 - Changed the default ordering of toolbar in tinymce, to be the same as the ordering in config 2019-02-13 15:33:48 +01:00
Niels Lyngsø 95f154cc59 open item in list view as infinity editors 2019-02-13 14:58:48 +01:00
Warren Buckley 375fc62414 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-02-13 13:45:26 +00:00
Warren Buckley 0a7a42383d Fixed up build output of nupkg & package ZIP containing the Release config files for serilog 2019-02-13 13:44:26 +00:00
Bjarke Berg fa1c360000 Merge pull request #4553 from umbraco/temp8-post-migrations
Refactor post-migrations
2019-02-13 14:23:39 +01:00
Shannon 3ffeb751b9 Implements GetByContentType in nucache 2019-02-14 00:17:33 +11:00
Shannon Deminick 412c9ffa6e Merge pull request #4484 from umbraco/temp8-sk-installer
V8 Installer Steps for starter kit re-enabled
2019-02-13 23:56:21 +11:00
Shannon b5da6c876b makes sure the package file is removed after install 2019-02-13 23:55:05 +11:00
Robert c318bc55dc Merge pull request #4554 from umbraco/temp8-4542-bugfix-for-edit-property-type
Get the editor from the new dataType instead of the old propertyEditor
2019-02-13 13:50:55 +01:00
Warren Buckley 7aebfce579 Update gitignore to exclude serilog config files 2019-02-13 12:43:26 +00:00
Stephan a9c2ec76f7 Merge remote-tracking branch 'origin/temp8' into temp8-post-migrations 2019-02-13 13:32:09 +01:00
Stephan 0c475aa174 Merge branch 'temp8-post-migrations' of https://github.com/umbraco/Umbraco-CMS into temp8-post-migrations 2019-02-13 13:31:19 +01:00
Stephan d16bcdc841 Bugfix NuCache reload during upgrades 2019-02-13 13:30:13 +01:00
Stephan f2472c321d Use ChangesMonitor to prevent unwanted restarts during install/upgrade 2019-02-13 13:29:27 +01:00
Warren Buckley 3415332504 Remove serilog config files from repo the build in Web.UI CSProj will create them from the Release versions like ClientDependancy does 2019-02-13 12:28:01 +00:00
Warren Buckley 0a4502af60 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-02-13 12:03:56 +00:00
Warren Buckley 0176e2f2e0 Adds in some .Release.config files for Serilog config files - so the build script in the CSProj will reset the config files back 2019-02-13 12:03:46 +00:00
Robert ac44823ebb Merge pull request #4540 from umbraco/temp8-4440-get-children-for-single-culture-when-only-one-culture-exists
Fix for vary by culture when only one culture exists
2019-02-13 12:35:56 +01:00
Stephan 4443465e74 Merge branch 'temp8' into temp8-post-migrations 2019-02-13 12:04:15 +01:00
Stephan b5a90bf26a Fix SqlServer detection 2019-02-13 12:02:53 +01:00
Bjarke Berg 3e9113f1ef Clean up 2019-02-13 11:39:09 +01:00
Niels Lyngsø ff8f9083ec Dimmed overlay on property preview + removed background from "add property group" + adjust sizes for umb-panel-header and added hovers. 2019-02-13 11:37:09 +01:00
Robert 5d5e411219 Merge pull request #4539 from umbraco/temp8-default-logging
V8 - Default logging set to JSON
2019-02-13 11:23:04 +01:00
Bjarke Berg d0c4e44e9e Rebuild cache after migration 2019-02-13 11:02:07 +01:00
Bjarke Berg 1b6fd92087 #4542 - Get the editor from the new dataType instead of the old propertyEditory 2019-02-13 10:49:32 +01:00
Stephan 3c9770c6b6 Refactor post-migrations 2019-02-13 10:14:01 +01:00
Stephan 169e93ed81 Refactor post-migrations 2019-02-13 09:53:17 +01:00
Claus 4a17702849 Merge pull request #4389 from kjac/v8-fix-repeatable-string-styling
V8: Repeatable string hover + move handle styling
2019-02-13 09:39:24 +01:00
Warren Buckley c6da0f3b96 Merge pull request #4543 from umbraco/temp8-ui-clear-distinguish-property-groups
Temp8 ui clear distinguish property groups
2019-02-13 08:30:33 +00:00
Niels Lyngsø cc50a7a3ba grey out icons in umb-tree when not published or allowed 2019-02-13 09:27:24 +01:00
Bjarke Berg e19cd5f49f Merge pull request #4459 from kjac/v8-fix-rte-code-editor-width
V8: Don't open the RTE code editor in "small" sized overlay
2019-02-13 08:12:57 +01:00
Kenn Jacobsen 730a2f7768 Localize content app names 2019-02-13 08:11:01 +01:00
Nathan Woulfe 3c2b2e2963 fix height of editor sub-nav to prevent vertical overflow of borders 2019-02-13 17:10:43 +10:00
Bjarke Berg 7b36e89bd3 Merge pull request #4457 from kjac/v8-fix-remove-obsolete-translations
V8: Remove weird and unused translations
2019-02-13 07:35:45 +01:00
Nathan Woulfe 7aac3dc1bf notifications are full-width on all screen sizes 2019-02-13 16:33:02 +10:00
Shannon 775ea0de3c Merge branch 'temp8' into temp8-sk-installer 2019-02-13 17:15:30 +11:00
Nathan Woulfe 1f7092e2a8 Merge pull request #2 from umbraco/temp8
Temp8
2019-02-13 15:56:36 +10:00
Shannon ee4c751423 fix typo 2019-02-13 15:30:39 +11:00
Niels Lyngsø f016d04c1f V8 UI - umb-sticky-bar corrected width and height set by JS. 2019-02-12 16:52:52 +01:00
Warren Buckley 44929e5512 Remove InstallPackageFiles function as it was installing the package XML & NOT the files 2019-02-12 15:46:57 +00:00
Warren Buckley d7d37e3d63 Revert "Need to install the physical files from the package that was missing in this installer flow"
This reverts commit 00082a87fa.
2019-02-12 15:28:58 +00:00
Warren Buckley 00082a87fa Need to install the physical files from the package that was missing in this installer flow 2019-02-12 14:22:26 +00:00
Warren Buckley 47aec9768c Set the packagepath when saving the SK file - as need to know the location when we fetch it in next install step 2019-02-12 14:11:47 +00:00
Bjarke Berg 1def9014cd Reload templates when creating a doc type with template 2019-02-12 15:11:07 +01:00
Niels Lyngsø 385a86b3b3 V8: UI datepicker style update 2019-02-12 14:52:21 +01:00
Niels Lyngsø 7d589eb607 V8: datepicker style matching the light interface of v8 2019-02-12 14:39:12 +01:00
Niels Lyngsø 7b5ff7b2eb distinguish property groups from properties 2019-02-12 14:37:12 +01:00
Warren Buckley 22918b40bf Merge branch 'temp8' into temp8-sk-installer 2019-02-12 13:35:01 +00:00
Warren Buckley 06a8569570 Merge pull request #4535 from umbraco/temp8-4490-tours
Updated the tours to match v8
2019-02-12 13:32:09 +00:00
Stephan e6b77cf307 Merge origin/temp8 into temp8 2019-02-12 13:42:27 +01:00
Stephan 88e11396b4 Merge branch 'temp8-drop-xml-tables' into temp8 2019-02-12 13:39:55 +01:00
Warren Buckley 2ca5c1d94a Removed extra lines to make Claus happy :) 2019-02-12 12:28:12 +00:00
Bjarke Berg 0cfe1b8348 Merge pull request #4504 from kjac/v8-fix-media-picker-always-show-folder-names
V8: Always show folder names in the media picker
2019-02-12 12:51:08 +01:00
Claus ca39531f45 Merge pull request #4533 from umbraco/temp8-4477-radiobutton-must-store-text-value
WIP v8 radio buttons and check box list need to store strings, not INT
2019-02-12 12:45:04 +01:00
Bjarke Berg cdef97efba Merge pull request #4514 from umbraco/temp8-4430-grid-settings-to-use-editorservice
#4430 change grid-editor settings to use editorService
2019-02-12 12:39:13 +01:00
Bjarke Berg 786c9ff3cc form horizontal 2019-02-12 12:38:43 +01:00
Bjarke Berg 3820457536 Merge remote-tracking branch 'origin/temp8' into temp8-4430-grid-settings-to-use-editorservice 2019-02-12 12:30:41 +01:00
Robert 7cd600e58a Merge pull request #4532 from umbraco/temp8-remove-list-view-settings-3199
removes/renames list view settings that don't make sense for v8
2019-02-12 12:27:09 +01:00
Warren Buckley f7c37fecdc Merge pull request #4520 from umbraco/temp8-4476-selection-colors-for-users
V8: corrected selection colors for users, fixes #4476
2019-02-12 11:16:47 +00:00
Bjarke Berg 1677442fad #4440 - If we only have one culture, we sets that's culture when requesting children. Fixes issue where a document type is varing by culture, but we don't show the mculture picker. 2019-02-12 11:58:38 +01:00
Niels Lyngsø ddc88af809 Merge branch 'temp8-4476-selection-colors-for-users' of https://github.com/umbraco/Umbraco-CMS into temp8-4476-selection-colors-for-users 2019-02-12 11:58:19 +01:00
Warren Buckley 4a1c36c8d0 Update src/Umbraco.Web.UI.Client/src/views/users/views/users/users.controller.js 2019-02-12 10:57:47 +00:00
Niels Lyngsø 20dc1b5c10 Corrected colors for buttons + disable select-image button in media-picker if nothing is selected 2019-02-12 11:57:43 +01:00
Warren Buckley 810d8fa87a Update src/Umbraco.Web.UI.Client/src/views/users/views/users/users.controller.js 2019-02-12 10:57:39 +00:00
Stephan 11f4e2429a Merge branch 'temp8' into temp8-drop-xml-tables 2019-02-12 11:43:06 +01:00
Bjarke Berg 7b84c755b3 #4477 - Fixed tests 2019-02-12 11:20:10 +01:00
Bjarke Berg bb27a3f42e #4477 - Migration of radio button, checkbox and dropdown to align underlying data structures 2019-02-12 10:36:36 +01:00
Warren Buckley 6593b704d5 Moves the JSON & TXT logging out of the C# setup of the Serilog logger pipeline into the appsetting XML config file - however its not possible to then have both enabled together anymore 2019-02-12 08:59:12 +00:00
Bjarke Berg f4db356511 WIP - Handle migration of Checkbox list data 2019-02-12 08:58:49 +01:00
Bjarke Berg f5d31a4c5a Merge remote-tracking branch 'origin/temp8' into temp8-4477-radiobutton-must-store-text-value 2019-02-12 08:23:38 +01:00
Bjarke Berg fd01f4e7c6 Merge remote-tracking branch 'origin/temp8-4477-radiobutton-must-store-text-value' into temp8-4477-radiobutton-must-store-text-value
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Core/Migrations/Upgrade/V_8_0_0/RadioButtonAndCheckboxPropertyEditorsMigration.cs
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/checkboxlist/checkboxlist.controller.js
2019-02-12 08:17:38 +01:00
Bjarke Berg 724eca7575 #4490 - Fixed the TextArea configuration, to match the text in the tour 2019-02-12 08:10:18 +01:00
Bjarke Berg 3f314fe5be #4490 Updated the tour to match v8 2019-02-12 08:09:42 +01:00
Bjarke Berg 7f7afef976 Merge pull request #4522 from umbraco/temp8-Forms-section-reintrodution
Reintroduced the forms section
2019-02-12 07:36:11 +01:00
Shannon c4eb76faad Updates the checkbox html editor to store the string values, not int ids, renames the underlying confg editor and updates comments, updates the migration and we'll need to migrate the checkbox data too. 2019-02-12 15:02:27 +11:00
Shannon ed2743d570 Merge branch 'temp8' into temp8-4477-radiobutton-must-store-text-value
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
2019-02-12 14:59:59 +11:00
Aaron Powell 88a2878cf2 Removing ClientDependency setup for non-web runtimes 2019-02-12 14:48:49 +11:00
Shannon 118e31d647 removes/renames list view settings that don't make sense for v8 2019-02-12 14:03:22 +11:00
Shannon 54aa1924c0 ok, properly fixes dirty tracking on the tags editor 2019-02-12 13:55:50 +11:00
Shannon c00f805ea2 Fixes dirty tracking on tags editor when it's csv format 2019-02-12 13:36:32 +11:00
Shannon 1a1222905b reverts the formsInstaller alias, fixes the ApplicationTreeController to allow full screen sections without trees, removes the forms tree controller 2019-02-12 12:22:36 +11:00
Shannon 77d70c7e7f Fixes test 2019-02-12 11:43:34 +11:00
Shannon 3d729eb2c3 updates umb plan 2019-02-12 10:54:18 +11:00
Shannon 978f59ffe8 Removes the xml cache tables - we don't use them apart from in unit tests 2019-02-12 10:53:30 +11:00
Shannon Deminick f71fe3f78d Merge pull request #4511 from umbraco/temp8-4466-bugfix-for-creating-macros-from-partial-views
Sets the MacroType when created from Partial View Macro Files
2019-02-12 10:17:49 +11:00
Robert 21d1b7c599 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-02-11 22:13:30 +01:00
Robert b5bd138bf7 Taking composite PropertyType's into consideration when creating content from xml (PackageInstallation) 2019-02-11 22:13:04 +01:00
Shannon 59f437ebf8 update to latest examine 2019-02-12 02:03:21 +11:00
Shannon d8574248fc Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-02-12 01:58:56 +11:00
Shannon 0d963d3c4d Fixing package installation for content templates 2019-02-12 01:58:42 +11:00
Bjarke Berg 5fb4e40c3b Merge remote-tracking branch 'origin/temp8-Forms-section-reintrodution' into temp8-Forms-section-reintrodution 2019-02-11 15:32:46 +01:00
Bjarke Berg 60ca85fe25 Introduced the forms section in the sections menu. 2019-02-11 15:32:24 +01:00
Bjarke Berg 944c8d59d7 Need to clone the object before removing $-prefixed variables. Otherwise we are modifying the same data as the views are using 2019-02-11 15:30:11 +01:00
Niels Lyngsø e4a492dc57 Disable button dont hide them + dont select current user 2019-02-11 14:30:01 +01:00
Stephan 154b59c84b Fix redirect tracking 2019-02-11 14:11:13 +01:00
Niels Lyngsø a77b0fc51f Merge remote-tracking branch 'origin/temp8' into temp8-4476-selection-colors-for-users 2019-02-11 13:46:25 +01:00
Kenn Jacobsen 64f41541fe Fix the tree item state annotations (#4497) 2019-02-11 13:33:52 +01:00
Bjarne Fyrstenborg a6fc9f4ede v8: Fix users layout switcher (#4458)
* Localize edit link, remove duplicate class attributes and only make remove link red

* Revert "Localize edit link, remove duplicate class attributes and only make remove link red"

This reverts commit 63cc250c0f929b1f7e6f9f05fae2fd302682d418.

* Use built-in $id function for tracky by since users doesn't have name property

* Set active layout to card layout

* Update onLayoutSelect

* Format document
2019-02-11 13:27:50 +01:00
Niels Lyngsø 5342e65f7c V8: update selection colors for users section 2019-02-11 12:46:23 +01:00
Stephan 0bdd1131bb Add missing file 2019-02-11 11:57:36 +01:00
Bjarke Berg 18c8911164 Merge remote-tracking branch 'origin/temp8' into temp8 2019-02-11 11:55:09 +01:00
Bjarke Berg e08a7c3ea8 Need to clone the object before removing $-prefixed variables. Otherwise we are modifying the same data as the views are using 2019-02-11 11:54:51 +01:00
Stephan a892ae1567 Add missing index on UserLogin table (prevents deadlocks) 2019-02-11 11:36:13 +01:00
Bjarke Berg 14f878b690 #4477 - Align Dropdown, checkbox list and radio button list 2019-02-11 10:36:54 +01:00
Niels Lyngsø 153b665d0a #4430 change grid-editor settings to use editorService 2019-02-11 09:39:54 +01:00
Bjarke Berg e62de9561b #4466 - Sets the MacroType when created from Partial View Macro Files snippets 2019-02-11 07:54:39 +01:00
Shannon e35436225f Fixes JS with the content picker 2019-02-11 15:47:13 +11:00
Shannon dd54b0324c fixes up some comments 2019-02-11 14:13:44 +11:00
Kenn Jacobsen 6fdada69eb Always show folder names in the media picker 2019-02-10 18:55:16 +01:00
Stephan 99887cb362 Bugfix IdkMap 2019-02-10 11:25:46 +01:00
Kenn Jacobsen c75ac83c98 Show missing translations as "(name)", not "((name))" 2019-02-09 18:42:55 +01:00
Kenn Jacobsen 0c860e999b Reimplement after merge 2019-02-09 18:26:03 +01:00
Kenn Jacobsen 3587a774f3 Merge with temp8 2019-02-09 18:03:53 +01:00
Kenn Jacobsen 462a6168b3 Don't show the language selector in content pickers (use the current client culture) 2019-02-09 17:56:13 +01:00
Kenn Jacobsen cb33442e7c Tidy up a bit 2019-02-09 17:50:29 +01:00
Kenn Jacobsen 0dd5ba61ab Clean up unused culture attribute 2019-02-09 17:48:45 +01:00
Kenn Jacobsen 89a701c865 Initial PoC 2019-02-09 15:41:30 +01:00
Bjarke Berg 4f53cfc855 #4477 - Added fixme for cache rebuild 2019-02-08 14:18:24 +01:00
Stephan b177607d47 Suspend JS tests - can we build? 2019-02-08 14:14:30 +01:00
Warren Buckley f549522573 Merge pull request #4469 from umbraco/temp8-ui-umb-editor-navigation-content-apps-dropdown
#4359 + #4360 umb editor navigation content apps anchor-dropdown
2019-02-08 13:04:40 +00:00
Warren Buckley 521fc227ba TYPO - Update src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbtabbedcontent.directive.js 2019-02-08 13:04:30 +00:00
Niels Lyngsø 612a63b6bb fix if scrollTween not defined issue 2019-02-08 13:30:20 +01:00
Niels Lyngsø 1860a175d1 remove eventlisteners on destroy 2019-02-08 13:06:56 +01:00
Stephan b5c803b5ed Cleanup TreeEntityPath 2019-02-08 12:42:46 +01:00
Warren Buckley 393b8f08c8 Adds the plumbing back for when the new V8 compat SK is on our.umb 2019-02-08 11:09:09 +00:00
Stephan 8f39cd605a Fix MacroMapperProfile 2019-02-08 11:47:42 +01:00
Warren Buckley 9eaa0361be Merge pull request #4437 from umbraco/temp8-4302-bugfix-for-media-validation
Bugfixes for media validation
2019-02-08 09:50:26 +00:00
Bjarke Berg 354c45e0e2 #4477 - also refresh cache after migration 2019-02-08 10:32:21 +01:00
Stephan 67e90ca21b Cleanup configuration editors 2019-02-08 09:56:24 +01:00
Bjarke Berg 065cc69f51 #4477 - Changed the saved value from the radio button list to the text value. + Migration of old values 2019-02-08 09:45:36 +01:00
Niels Lyngsø 14db9da57c removed proposal comment 2019-02-08 09:45:33 +01:00
Niels Lyngsø e5a27a2108 removed misleading documentation 2019-02-08 09:39:01 +01:00
Stephan 88b0dccfa1 Fix TreeEntityPath 2019-02-08 09:02:27 +01:00
Shannon 73ce546f0c ensures idType in JS is always udi by default instead of int 2019-02-08 16:12:30 +11:00
Shannon 964447d546 fixes up the web.config view file with the right mvc version 2019-02-08 16:08:29 +11:00
Shannon 40097c441a Ensure the same logic for property editors is executed for parameter editors to get the final configuration object 2019-02-08 16:07:03 +11:00
Shannon 63b3c06b3a Ensures the correct DefaultConfiguration values are specified for any editor that is actively overriding ToValueEditor and setting these values there 2019-02-08 16:00:59 +11:00
Shannon ccaaa9ab93 Ensures everything doesn't explode if a non-found property editor alias exists in the db 2019-02-08 16:00:02 +11:00
Shannon b08218240c updates package json ... lets see how the build server does with the new build 2019-02-08 10:26:21 +11:00
Shannon e67bbdc25f Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-02-08 10:09:39 +11:00
Kenn Jacobsen 2ab3889b23 Don't retain cculture when navigating away from the current content 2019-02-07 18:15:21 +01:00
Warren Buckley d9ac1868e6 Merge pull request #4465 from umbraco/temp8-fix-for-non-root-start-node-for-media
V8: Bugfix for loading paths Ids into TreeEntityPath
2019-02-07 15:25:42 +00:00
Robert a9b7c649ae Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-02-07 15:44:42 +01:00
Robert 1095948c27 Sets prop's prefixed with "$" to undefined. 2019-02-07 15:44:17 +01:00
Warren Buckley 7bd0a8edc2 Merge pull request #4429 from umbraco/temp8-4398
#4398 - Added validation to the grid editor, such that columns must b…
2019-02-07 14:38:59 +00:00
Niels Lyngsø 5c8fad330e motion added for umb-editor-navigation-item anchor-dropdown 2019-02-07 15:10:31 +01:00
Warren Buckley 4a2b6116f2 Merge pull request #4418 from kjac/v8-feature-allow-all-at-root
V8: Allow all content types at root if none are explicitly allowed
2019-02-07 13:47:33 +00:00
Warren Buckley 2c0fc737a7 Merge pull request #4421 from umbraco/temp8-4405-reload-history-on-rollback
#4405 - Load history on init if the active tab is info
2019-02-07 13:29:52 +00:00
Stephan df53b93ae0 Fix nuspec 2019-02-07 13:59:43 +01:00
Niels Lyngsø 0b19eab5a9 umb-group-panel for umbtabbedcontent 2019-02-07 13:59:20 +01:00
Claus 7c3b5d1086 Merge remote-tracking branch 'origin/temp8-update-deps' into temp8 2019-02-07 13:40:17 +01:00
Niels Lyngsø 42803ff006 V8: umb-editor-navigation anchor-dropdown refined, remembers last active anchor, 2019-02-07 13:26:23 +01:00
Stephan dbd6e0adbb Merge remote-tracking branch 'origin/temp8' into temp8 2019-02-07 13:10:26 +01:00
Stephan c607c7e259 Merge branch 'temp8-contentAndType' into temp8 2019-02-07 13:09:56 +01:00
Stephan 29334ed2d5 Fix ModelsBuilder changes 2019-02-07 12:57:10 +01:00
Stephan 990e82d183 Upgrade ModelsBuilder, cleanup dashboard 2019-02-07 12:37:52 +01:00
Stephan 2092156db3 Cleanup 2019-02-07 12:27:19 +01:00
Bjarke Berg f7ee8c0899 Merge pull request #4411 from kjac/v8-fix-redirect-tracking-composer
V8: Fix the redirect tracking composer
2019-02-07 11:09:22 +01:00
Stephan a9adc4eee5 Merge branch 'temp8' into temp8-contentAndType 2019-02-07 10:10:55 +01:00
Stephan c59ff8d995 Merge branch 'temp8-fix-default-userid-param' into temp8 2019-02-07 10:02:13 +01:00
Stephan 4a8e5935c2 Merge branch 'temp8' into temp8-fix-default-userid-param 2019-02-07 10:01:15 +01:00
Stephan 8ed2dcb8bf Don't capture content caches! 2019-02-07 09:59:16 +01:00
Bjarke Berg fc6548d87b Fix issue where Id was not set when loading all entity paths 2019-02-07 09:56:14 +01:00
Warren Buckley 5944ea20cc Merge remote-tracking branch 'origin/temp8' into temp8-fix-default-userid-param
# Conflicts:
#	src/Umbraco.Core/Services/IContentService.cs
#	src/Umbraco.Core/Services/Implement/ContentService.cs
2019-02-07 08:24:03 +00:00
Niels Lyngsø fb070928f7 V8: umb-editor-navigation-anchor-dropdown first version 2019-02-07 08:57:20 +01:00
Stephan 8329097974 Review PR, adjustments 2019-02-07 08:53:49 +01:00
Stephan d15f20f560 Merge branch 'temp8' into temp8-contentAndType 2019-02-07 08:40:46 +01:00
Bjarke Berg 87c85341fb Merge remote-tracking branch 'origin/temp8' into temp8 2019-02-07 08:20:02 +01:00
Bjarke Berg f6da7e4444 JS error, handle user dialog in the same way as help dialog. Don't close on change of section. Before was a js error with missing method 2019-02-07 08:19:44 +01:00
Stephan d11fd67a09 Bugfix PublishedContentTypeFactory 2019-02-07 08:04:53 +01:00
Shannon 977250dcdd tests as part of build 2019-02-07 17:15:49 +11:00
Shannon 1703c918d9 test pass now 2019-02-07 17:06:50 +11:00
Shannon d76f7db700 fixes the runTest build so that it properly builds the babel js and fixes one of the tests 2019-02-07 16:59:25 +11:00
Shannon 261ddfbcd6 Gets unit tests running again and added a task runTests 2019-02-07 16:22:29 +11:00
Shannon 86b31c2782 fixes test.js to point to the correct karma config 2019-02-07 15:41:20 +11:00
Shannon Deminick cb309e7f9e Merge pull request #4432 from kjac/v8-fix-rename-umbraco-domains-table
V8: Rename umbracoDomains table to umbracoDomain (singular)
2019-02-07 15:28:37 +11:00
Shannon ed5023e431 Adds some null checks to Examine's value set builders in case some of the data is strangely incorrect 2019-02-07 15:13:45 +11:00
Shannon fcec180dc4 Ship with correct skipIIsCustomeerrors setting 2019-02-07 14:54:22 +11:00
Shannon a9045c254e Removes the need to do any lookup for GetNonGroupedProperties, we already know if they belong to a non-group based on the ID 2019-02-07 14:01:00 +11:00
Shannon 03eaf3aa3d So yup ISimpleContentType needs the IUmbracoEntity, so we'll explicitly implement essentially hiding the implementation from the API unless it's explicitly cast 2019-02-07 13:29:01 +11:00
Shannon 3b12e0b72a Updates ContentBase to track the original PropertyType's which means we don't ever need to look them up again, adds notes about this too since it seems it is probably unnecessary to begin with. 2019-02-07 13:28:23 +11:00
Shannon 123daed990 Removes the need for .Current in some places, adds TODO notes to test a theory, removes IUmbracoEntity from ISimpleContentType since all tests seem to pass without it and because the SimpleContentTypeMapper doesn't actually use ISimpleContentType i don't think it's needed, we'll see what the tests say. 2019-02-07 12:43:11 +11:00
Shannon 9df0f384af Removes the need for another .Current and a lookup, simplifies the whole GetUrl for media 2019-02-07 12:02:47 +11:00
Shannon 562855a687 removes fixme, adds comments and null checks 2019-02-07 11:53:43 +11:00
Shannon 030b626350 Removes the need for a .Current, removes an unused method 2019-02-07 11:49:30 +11:00
Shannon 78849bb7ff removes unused methods and internalizes methods we can't expose yet 2019-02-07 11:42:16 +11:00
Shannon c04da30547 Merge branch 'temp8' into temp8-contentAndType
# Conflicts:
#	src/Umbraco.Core/Models/Content.cs
#	src/Umbraco.Core/Models/ContentBase.cs
#	src/Umbraco.Tests/Models/ContentTests.cs
2019-02-07 11:41:06 +11:00
Shannon Deminick 0606d1bc8b Merge pull request #4341 from umbraco/temp8-3640
Support culture in content Saving and Publishing events
2019-02-07 11:26:45 +11:00
Shannon 4655acfdeb Fixes ambiguous call 2019-02-07 11:26:09 +11:00
Kenn Jacobsen 68f34d5643 Don't open the RTE code editor in "small" sized overlay 2019-02-06 22:09:22 +01:00
Kenn Jacobsen 8d305b2c6a Remove weird and unused translations 2019-02-06 19:45:07 +01:00
Stephan 37c130194f Merge branch 'temp8' into temp8-3640 2019-02-06 16:31:04 +01:00
Stephan 162e691828 Bugfix PublishedContentTypeFactory 2019-02-06 16:26:32 +01:00
Warren Buckley 51ad0f75d1 Fix up unit test but also uses constant for -1 as the parent id aka System Root Node Id 2019-02-06 15:16:11 +00:00
Warren Buckley de5b32749e Merge branch 'temp8' into temp8-fix-default-userid-param 2019-02-06 14:56:52 +00:00
Stephan 19d8796c40 Merge branch 'temp8' into temp8-3640 2019-02-06 15:07:49 +01:00
Stephan 0be5ff64bc Be friendly 2019-02-06 15:05:56 +01:00
Warren Buckley 8b4315cd46 🦸🦸 Is it a bird, is it a plane, no it's SuperUser 🦸🦸 2019-02-06 14:01:14 +00:00
Stephan 48e11ab439 Fix 8.0 migration 2019-02-06 14:53:49 +01:00
Shannon f98727e08d fixing tests 2019-02-07 00:15:47 +11:00
Stephan 7863cd3ab7 Refactor OrderedCollectionBuilderBase AppendAfter to InsertAfter 2019-02-06 14:11:33 +01:00
Shannon 34c65a94bf dont allocate an empty object if the collection is empty 2019-02-07 00:07:43 +11:00
Shannon e2c86a96fe Ensures change collections are cleared on clone 2019-02-07 00:05:25 +11:00
Shannon b95b02d0c0 ensure the culture is bumped if a property of that culture is modified, fixes up the AdjustDates method and tests 2019-02-06 23:51:12 +11:00
Shannon bcfbab2add fixing tests 2019-02-06 23:12:01 +11:00
Stephan b260c18056 Refactor IContent vs IContentType 2019-02-06 13:06:31 +01:00
Shannon 5b33416b7b adds fixme notes 2019-02-06 23:02:28 +11:00
Shannon 5b3f21c541 fixes tests 2019-02-06 22:12:00 +11:00
Shannon 3f8efed392 updates nuspecs to have the correct target framework 2019-02-06 21:55:59 +11:00
Shannon 68cdbf50b2 removes old unused dependency from tests 2019-02-06 21:48:33 +11:00
Shannon 47d660041e updates test proj dependencies 2019-02-06 21:47:21 +11:00
Shannon 817ce71e83 updates threading libs 2019-02-06 21:44:12 +11:00
Shannon 4c2ea81c53 updates Light Inject 2019-02-06 21:41:46 +11:00
Shannon 7c21a42804 Update serilog 2019-02-06 21:39:09 +11:00
Shannon e556e39cd1 latest HtmlAgility 2019-02-06 21:31:50 +11:00
Niels Lyngsø c813aafb38 Merge remote-tracking branch 'origin/temp8' into temp8-ui-refactoring-of-umb-editor-navigation 2019-02-06 11:26:52 +01:00
Niels Lyngsø 64d2940c3b refactoring of umb-editor-navigation 2019-02-06 11:26:39 +01:00
Bjarke Berg a4a437a746 Fixed view after UmbracoHelper ctor changes 2019-02-06 11:18:52 +01:00
Shannon 0947a1a109 Automapper upgraded 2019-02-06 21:14:50 +11:00
Shannon b4bf1cb01c puts the profiler back to the right 2019-02-06 19:58:56 +11:00
Shannon 4b9a13c3a1 Updates mini profiler 2019-02-06 19:04:52 +11:00
Niels Lyngsø 2f0d8b75df Merge remote-tracking branch 'origin/temp8' into temp8-ui-refactoring-of-umb-editor-navigation 2019-02-06 08:24:19 +01:00
Bjarke Berg 48531c6193 #4302 - Sets the default values for Media File and Image File as mandatory 2019-02-06 08:07:50 +01:00
Bjarke Berg b82dde240b #4302 - Bugfixes for media validation. 2019-02-06 08:07:04 +01:00
Shannon 5bf0b143d9 another owin update and nuspec fix 2019-02-06 17:08:47 +11:00
Shannon 33bc979cfc Fixes binding of FormDataCollection for GET requests which fixes the compatibility with the latest WebApi 5.2.7 version (cherry picked from https://github.com/umbraco/Umbraco-CMS/pull/3851), fixes a binding redirect 2019-02-06 17:03:23 +11:00
Shannon 50d1b9ddfd Latest MVC, WebApi, Owin and Signalr 2019-02-06 16:53:15 +11:00
Shannon 1bbb9c2b6e updates to latest newtonsoft 2019-02-06 16:43:04 +11:00
Shannon 3b60ffeb28 fixes test 2019-02-06 16:27:19 +11:00
Shannon 92606e7122 Fixes up dirty tracking of cultures and published cultures the same way we handle that with other entities which uses observable collection events. This simplifies the dirty tracking logic and means we dont require lookup the original object, but now we need to figure out the fixme stuff 2019-02-06 16:10:20 +11:00
Stephan 0f85c921e3 Merge pull request #4433 from umbraco/nul800sebastiaan-patch-1
Why so sad! :-)
2019-02-05 20:02:09 +01:00
Stephan f752861e10 Bugfix null timer in CoreRuntime 2019-02-05 20:01:20 +01:00
Stephan b403e9b3b7 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-02-05 20:00:30 +01:00
Sebastiaan Janssen eafb9a46f7 Why so sad! :-) 2019-02-05 19:59:13 +01:00
Kenn Jacobsen 1e24981576 Rename umbracoDomains table to umbracoDomain (singular) 2019-02-05 19:48:13 +01:00
Warren Buckley 4c79269081 Merge pull request #4422 from umbraco/temp8-ui-refactoring-infinity-editing-to-css-animation
V8: UI refactoring infinity editing to css animation
2019-02-05 15:49:49 +00:00
Warren Buckley a1a3267c0b Merge pull request #4366 from kjac/v8-fix-icon-picker-color-selection
V8: Doctype icon color picker selection is broken
2019-02-05 15:15:23 +00:00
Bjarke Berg 6f9be482be #4398 - Added validation to the grid editor, such that columns must be at least as large as the layouts. 2019-02-05 14:52:02 +01:00
Stephan 29f2f34f9b Refactor IContent vs IContentType 2019-02-05 14:06:48 +01:00
Stephan 6125643c3f Bump copyright year 2019-02-05 13:43:04 +01:00
Robert 9e8e62dc71 Merge pull request #4346 from kjac/v8-fix-nested-content-elements-with-culture-variance
V8: Make Nested Content resilient towards culture variance in elements
2019-02-05 12:57:51 +01:00
Stephan d2692a2ff5 NuCache respects global local temp storage 2019-02-05 12:20:13 +01:00
Stephan d3b0913047 Fix UmbracoHelper preventing upgrades 2019-02-05 12:19:57 +01:00
Bjarke Berg 4290249719 #4405 - Load history on init if the active tab is info 2019-02-05 11:55:10 +01:00
Niels Lyngsø ff497b413e V8: UI, refactoring of infinity editing to use CSS to fix issue regarding stacking of layers. 2019-02-05 11:54:23 +01:00
Robert ea95b4f454 Merge pull request #4345 from kjac/v8-fix-relation-types-editor
V8: Relation type editor crashes for root relations and is using excessive XHR
2019-02-05 10:35:25 +01:00
Robert bec61a00c9 Merge pull request #4336 from kjac/v8-fix-disappearing-thumbnails
V8: Fix disappearing thumbnails in the media grid
2019-02-05 10:05:14 +01:00
Robert 4054e0ab72 Merge pull request #4357 from kjac/v8-fix-media-picker-upload-button
V8: Media picker upload button does nothing
2019-02-05 09:54:01 +01:00
Stephan f07a2715b4 Add assembly-level composer attributes 2019-02-05 08:37:48 +01:00
Kenn Jacobsen 9579b42330 Allow copying/moving any content type to root if none are marked as "AllowAsRoot" 2019-02-05 07:54:59 +01:00
Kenn Jacobsen c9936058b5 Allow creating any content type at root if none are marked as "AllowAsRoot" 2019-02-05 07:54:42 +01:00
Shannon b65dac946f Merge branch 'temp8-IContentService-SaveAndPublish-4324' into temp8-3640
# Conflicts:
#	src/Umbraco.Core/Models/Content.cs
#	src/Umbraco.Core/Models/ContentBase.cs
#	src/Umbraco.Core/Models/IContent.cs
#	src/Umbraco.Tests/Services/ContentServiceTests.cs
2019-02-05 16:14:46 +11:00
Shannon f1b23ba0e9 Merge remote-tracking branch 'origin/temp8' into temp8-3640
# Conflicts:
#	src/Umbraco.Core/Models/Content.cs
2019-02-05 14:27:40 +11:00
Shannon 3dab68b70d adds note 2019-02-05 14:15:03 +11:00
Shannon 9f612465cf Cleans up IContent/IContentBase, no more internal methods or setters, moves manipulation used by the DocumentRepository to ext methods 2019-02-05 14:13:03 +11:00
Kenn Jacobsen b9d554908d Track redirects for invariant content under variant content 2019-02-04 21:03:45 +01:00
Kenn Jacobsen be881ba9ca Fix the redirect tracking composer 2019-02-04 20:09:17 +01:00
Warren Buckley cd566a6397 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-02-04 17:21:16 +00:00
Warren Buckley 0061f997e9 Fix up logviewer - search error/mesage drodpwon button to search on Goggle, GitHub, Our.Umb etc 2019-02-04 17:12:41 +00:00
Stephan 1e8b8feee8 Make ContainerControllerFactory exceptions more explicit 2019-02-04 17:59:12 +01:00
Stephan 2e5967ff9e Make TypeLoader less verbose 2019-02-04 17:58:36 +01:00
Shannon a5947356e7 Removes WasCulturePublished from IContent 2019-02-05 01:58:18 +11:00
Shannon 09255019b2 removes CommitDocumentChanges from the public interface 2019-02-05 01:22:52 +11:00
Shannon c20e597115 Merge remote-tracking branch 'origin/temp8' into temp8-IContentService-SaveAndPublish-4324 2019-02-05 01:13:43 +11:00
Stephan 3c65770008 Upgrade ModelsBuilder, cleanup 2019-02-04 14:08:35 +01:00
Stephan e636f12459 Fix leak in BackgroundTaskRunner 2019-02-04 13:39:32 +01:00
Niels Lyngsø bd4b4620d4 First part of refactoring umb-editor-navigation 2019-02-04 13:34:26 +01:00
Sebastiaan Janssen d3eb48cef9 Fixes #4388 File uploads no longer has dragover styles 2019-02-04 13:29:02 +01:00
Bjarke Berg 825b07b823 Merge pull request #4332 from umbraco/temp8-macros-dont-render-and-other-macro-bugs
v8 Macros don't render in the RTE and various
2019-02-04 13:23:46 +01:00
Bjarke Berg 2d2862517a Merge pull request #4327 from umbraco/temp8-4229-validation-from-main-variant-does-not-prevent-publishing
#4229 - If the property do not support variantions, we need to valida…
2019-02-04 13:14:14 +01:00
Bjarke Berg 327b820a25 Fixed broken test 2019-02-04 12:59:58 +01:00
Stephan 3c3b9e3946 Fixes 2019-02-04 12:55:04 +01:00
Bjarke Berg dccea19847 Merge pull request #4370 from kjac/v8-fix-default-dropdowns
V8: Fix the default dropdowns
2019-02-04 11:42:37 +01:00
Stephan 23159ce9a6 Merge branch 'temp8' into temp8-4229-validation-from-main-variant-does-not-prevent-publishing 2019-02-04 11:11:34 +01:00
Niels Lyngsø b13be6840b Merge pull request #3485 from dawoe/temp-3434
V8 - #3434 - change checkboxes on property type settings to toggle
2019-02-04 10:19:25 +01:00
Stephan dbab435f1e Merge branch 'temp8-fixes-allocations-for-property-selectors' into temp8 2019-02-04 10:09:43 +01:00
Stephan bc987a825a Cleanup 2019-02-04 10:09:32 +01:00
Stephan d6181b042b Merge branch 'temp8' into temp8-fixes-allocations-for-property-selectors 2019-02-04 09:58:55 +01:00
Shannon 80165c3c0f Fixes allocations of property selectors, with nameof we save a bunch of both memory and initial reflection lookups 2019-02-04 19:52:04 +11:00
Stephan 7fd51a298d Upgrade ModelsBuilder, following changes in Umbraco 2019-02-04 09:47:37 +01:00
Niels Lyngsø 93dbbd6bbe Merge pull request #4384 from kjac/v8-fix-actions-menu
V8: Fix the editor actions menu
2019-02-04 08:37:10 +01:00
Niels Lyngsø 72f6b2fd11 removing comments from temp8-4257-refactoring-of-infinite-editor-layers 2019-02-04 08:12:27 +01:00
Shannon b51d3036e3 Adds overload of SaveAndPublish to accept multiple cultures, renames SavePublishing to CommitDocumentChanges, removes IContent.ChangeContentType 2019-02-04 16:55:35 +11:00
Shannon 30452f0b17 Fixes rte toolbar pinning in the grid 2019-02-04 14:00:01 +11:00
Shannon 9fba7345aa When rendering macro contents, be sure to use the preview published content since the item 2019-02-04 13:48:53 +11:00
Shannon a0cda4075d Fixes issue with rendering macro content when the page doesn't exist 2019-02-04 13:42:07 +11:00
Shannon c5819ca702 Merge branch 'temp8' into temp8-macros-dont-render-and-other-macro-bugs
# Conflicts:
#	src/Umbraco.Web/Editors/EntityController.cs
#	src/Umbraco.Web/Editors/MediaController.cs
#	src/Umbraco.Web/Runtime/WebRuntimeComposer.cs
2019-02-04 12:42:07 +11:00
Shannon 9be6acf449 Oops forgot to remove the IconClosed and IconOpen TreeAttribute props 2019-02-04 12:09:04 +11:00
Kenn Jacobsen 5566afbabb Add move cursor to umb-multiple-textbox move handle 2019-02-03 22:08:40 +01:00
Kenn Jacobsen c045d4774a Add the correct hover style to umb-multiple-textbox 2019-02-03 22:08:20 +01:00
Kenn Jacobsen 6141d88407 Don't set the menu state until the action is about to be carried out. 2019-02-03 17:05:27 +01:00
Kenn Jacobsen 4b69a7859d Make sure the app menu state is set 2019-02-03 13:56:00 +01:00
Kenn Jacobsen 5d15db8468 Make sure the default dropdowns are created correctly 2019-02-02 13:42:24 +01:00
Kenn Jacobsen 6874a5486b Fix selected color 2019-02-01 20:28:27 +01:00
Kenn Jacobsen 90a282c083 Fix the icon color picker 2019-02-01 20:09:54 +01:00
Stephan c53258a7d2 Merge branch 'temp8-oembed-collection' into temp8 2019-02-01 17:57:21 +01:00
Stephan df61a76868 Cleanup PR 2019-02-01 17:52:29 +01:00
Stephan 3a0f80fc7e Merge branch 'temp8' into temp8-oembed-collection 2019-02-01 17:44:53 +01:00
Stephan add9ee73db Merge branch 'feature/IContentType-removale-from-IContent' into temp8 2019-02-01 17:42:32 +01:00
Stephan 132c3c0c8e Cleanup PR, document and rename things 2019-02-01 17:19:12 +01:00
Stephan e88443e549 Merge branch 'temp8' into feature/IContentType-removale-from-IContent 2019-02-01 16:25:36 +01:00
Warren Buckley e17d6df023 It helps if you put in a valid value - it expects Information and not Info as the loglevel 2019-02-01 15:13:41 +00:00
Warren Buckley 0a9bc82551 Merge pull request #4347 from umbraco/temp8-4068-grid-fixes
Grid fixes
2019-02-01 14:13:23 +00:00
Claus 7d17b1be16 Merge pull request #4337 from umbraco/temp8-appsetting-conventions-constants
Web.Config AppSetting key conventions & move to constants class
2019-02-01 15:11:54 +01:00
Niels Lyngsø 59c43fe8cb Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-02-01 14:54:54 +01:00
Niels Lyngsø d4b2ac3f1e V8: UI — changed color for focus point on medias 2019-02-01 14:54:49 +01:00
Claus 05a40b32c6 Merge pull request #4361 from kjac/v8-media-items-default-property-descriptions
V8: Add descriptions to properties on default media items
2019-02-01 14:35:36 +01:00
Kenn Jacobsen bf87ecb818 Add descriptions to properties on default media items 2019-02-01 14:32:17 +01:00
Bjarke Berg 9acf913872 #3545 - Added IContentTypeServiceBaseFactory to create a IContentTypeServiceBase (E.g. IContentTypeService or IMediaTypeService) based on the type of the IContentBase 2019-02-01 14:07:31 +01:00
Warren Buckley fec046347b Merge pull request #4352 from umbraco/temp8-4257-refactoring-of-infinite-editor-layers
Temp8 4257 refactoring of infinite editor layers
2019-02-01 12:43:31 +00:00
Niels Lyngsø 7261432461 V8: UI — changed look of media-picker upload button 2019-02-01 13:23:09 +01:00
Niels Lyngsø b645cc8e54 Merge pull request #4355 from umbraco/temp8-4354-publish-fix
Fix for javascript's strict equality
2019-02-01 13:21:40 +01:00
Kenn Jacobsen 712a260159 Fix wrong class name in media picker element selector 2019-02-01 13:01:42 +01:00
Bjarke Berg bfc2d53fa4 Merge remote-tracking branch 'origin/temp8' into feature/IContentType-removale-from-IContent
# Conflicts:
#	src/Umbraco.Web/Macros/PublishedContentHashtableConverter.cs
2019-02-01 12:52:20 +01:00
Niels Lyngsø 0c34de4524 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-02-01 12:38:59 +01:00
Niels Lyngsø f5d904c88c V8: add spacing around tabs 2019-02-01 12:38:12 +01:00
Bjarke Berg ab5c33e340 #4354 - Fix for stupid javascript's strict equality 2019-02-01 12:34:56 +01:00
Warren Buckley a6d0449671 Merge pull request #4335 from umbraco/temp8-3648-retain-cculture-in-urls
#3648 - Besides mculture also retain cculture in querystring on navig…
2019-02-01 10:40:17 +00:00
Warren Buckley d1edc45d4d Merge pull request #4304 from umbraco/temp8-3645-change-culture-in-preview
Allow changing culture in the preview bar
2019-02-01 10:27:37 +00:00
Warren Buckley fde9e9b654 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-02-01 10:14:39 +00:00
Warren Buckley d38dba1660 Update nuspec to include new hosted image/icon for Nuget packages from .com site 2019-02-01 10:14:29 +00:00
Niels Lyngsø 0bb69aeeee V8: preview colors changed for brandcolors 2019 2019-02-01 11:10:20 +01:00
Warren Buckley 3fac16eda8 Fix count bug - so it works with two languages 2019-02-01 09:58:10 +00:00
Niels Lyngsø 979f7b404c V8: refactoring of layers add and removal methods 2019-02-01 10:51:14 +01:00
Niels Lyngsø 4ab42e0dc7 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-02-01 10:49:22 +01:00
Niels Lyngsø fc6e17f3f9 V8: UI — umb-content-grid color change 2019-02-01 10:49:09 +01:00
Stephan a6d04aa5bb Merge branch 'temp8' into temp8-3640 2019-02-01 10:47:34 +01:00
Bjarke Berg 045020e739 #4068 - Changed save event triggered when save dialog is opened. save is still broadcasted on the actual save.
Changed the grid event listener to only execute on `save` events
2019-02-01 08:37:06 +01:00
Shannon Deminick ed734d0f80 Merge pull request #4232 from umbraco/temp8-member-search-and-tags
Fixes for search of members + Removed fixme in member that apparently…
2019-02-01 17:11:10 +11:00
Shannon c0ab9d9e59 Merge branch 'temp8' into temp8-member-search-and-tags
# Conflicts:
#	src/Umbraco.Web/Editors/MemberController.cs
2019-02-01 16:43:03 +11:00
Shannon bb64141207 removes obsolete method 2019-02-01 16:35:10 +11:00
Shannon ad5b166f3f Fixes tests, simplifies constructors 2019-02-01 15:44:32 +11:00
Shannon 036ca7f1e5 fixing tests 2019-02-01 15:30:38 +11: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
Shannon 493ee63cb9 Merge branch 'temp8' into temp8-macros-dont-render-and-other-macro-bugs 2019-02-01 14:57:13 +11:00
Shannon c846d69507 Merge branch 'kjac-v8-fix-copy-media-types' into temp8 2019-02-01 14:52:06 +11:00
Shannon e540902ee1 Merge branch 'v8-fix-copy-media-types' of https://github.com/kjac/Umbraco-CMS into kjac-v8-fix-copy-media-types 2019-02-01 14:51:42 +11:00
Shannon d7d82ea98d Allows grid rte to be distraction-free, the parameter was not being passed but it can be configured 2019-02-01 14:02:45 +11:00
Shannon 3eb6cd9e21 Macros are now working inline in the rte with both the Classic and Distraction free modes 2019-02-01 13:50:39 +11:00
Shannon e79e07af77 Merge branch 'temp8' into temp8-macros-dont-render-and-other-macro-bugs 2019-02-01 13:50:10 +11:00
Shannon 7614ba42df Fixes the tag editor and tag suggestions 2019-02-01 13:32:17 +11:00
Shannon dae8dfdc59 fix merge 2019-02-01 11:34:28 +11:00
Shannon 0c4712de56 Merge branch 'temp8' into temp8-macros-dont-render-and-other-macro-bugs
# Conflicts:
#	src/Umbraco.Tests/Testing/TestingTests/MockTests.cs
#	src/Umbraco.Tests/Web/Mvc/SurfaceControllerTests.cs
#	src/Umbraco.Web/Templates/TemplateRenderer.cs
2019-02-01 11:33:13 +11:00
Shannon d8fbbeccfe Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-02-01 11:27:53 +11:00
Shannon 452badab41 Fixes tag editor for proper dirty tracking and model updating, the models weren't being updated correctly 2019-02-01 11:27:40 +11:00
Shannon f74a49f5a3 Gets the macros being able to be updated, now to fix the Classic mode, since this now only works in distraction free mode 2019-02-01 10:18:53 +11:00
Kenn Jacobsen eeaf8d594d Make NC resilient towards culture variance in elements 2019-01-31 19:43:57 +01:00
Bjarke Berg 4a480ab391 #4068 - Added interceptor to remove $ variables from post data 2019-01-31 15:10:19 +01:00
Bjarke Berg 6bf3b19d86 #4068 - Fix for ordering of grid 2019-01-31 15:09:57 +01:00
Stephan 3199aa6693 Support culture in content Saving and Publishing events 2019-01-31 15:06:24 +01:00
Warren Buckley 14c43d76c1 Adds OEmbedProviders to the composition extension to make it easier to add/append the collection 2019-01-31 13:37:47 +00:00
Warren Buckley bc7748aed6 Adds in XML docs summary - still need assitance with a few keys so put in some TODOs 2019-01-31 12:37:54 +00:00
Warren Buckley 3f8f1a215e Merge remote-tracking branch 'origin/temp8' into temp8-appsetting-conventions-constants 2019-01-31 12:06:29 +00:00
Warren Buckley 69f7a1b7b9 Finish up remaining AppSetting keys as Constants 2019-01-31 12:05:56 +00:00
Niels Lyngsø d59bddfe9a Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-31 12:58:21 +01:00
Niels Lyngsø d45d0a816e V8: UI — changed colors for selection state for rows in list-view 2019-01-31 12:58:17 +01:00
Warren Buckley 34be548aec Start work on adding AppSettings keys into a constants class & use new prefix of Umbraco.Core. 2019-01-31 10:56:09 +00:00
Kenn Jacobsen 1a64c0a803 Fix disappearing media thumbnails 2019-01-31 11:45:08 +01:00
Warren Buckley 14b97b6abe Fix up JS as the API model had changed 2019-01-31 10:24:15 +00:00
Warren Buckley 8d55340325 Fix up youtube URL regex matching 2019-01-31 10:23:54 +00:00
Bjarke Berg 92d53eb527 #3648 - Besides mculture also retain cculture in querystring on navigation 2019-01-31 11:10:27 +01:00
Stephan a6f9598a23 Introduce IPublishedRouter 2019-01-31 11:07:45 +01:00
Kenn Jacobsen 26e0c6cb79 Don't break for root relations + minimize number of XHR 2019-01-31 10:43:34 +01:00
Warren Buckley ad9c4ec9a5 Merge remote-tracking branch 'origin/temp8' into temp8-oembed-collection 2019-01-31 09:34:10 +00:00
Warren Buckley a36b1962c6 Last of providers moved across & the old config file gone 2019-01-31 09:32:50 +00:00
Niels Lyngsø b65e042b4c Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-31 10:13:11 +01:00
Niels Lyngsø b558023f9e V8: UI interact vs. select 2019-01-31 10:13:07 +01:00
Bjarke Berg 169221a5da Merge pull request #4188 from umbraco/v8/bugfix/temp8-fe-infinityediting-fixing-contentapps-after-edit-doctype
V8/bugfix/temp8 fe infinityediting fixing contentapps after edit doctype
2019-01-31 09:52:23 +01:00
Warren Buckley 160d01e783 Merge remote-tracking branch 'origin/temp8' into temp8-oembed-collection 2019-01-31 08:50:34 +00:00
Bjarke Berg 228480a2ef Merge remote-tracking branch 'origin/temp8' into v8/bugfix/temp8-fe-infinityediting-fixing-contentapps-after-edit-doctype 2019-01-31 09:50:30 +01:00
Bjarke Berg 9d9597dbc3 Merge remote-tracking branch 'origin/temp8' into v8/bugfix/temp8-fe-infinityediting-fixing-contentapps-after-edit-doctype
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/media/media.edit.controller.js
2019-01-31 09:39:43 +01:00
Niels Lyngsø 01ecd49256 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-31 09:37:14 +01:00
Niels Lyngsø 2ab391eb69 V8: UI select colors 2019-01-31 09:37:04 +01:00
Sebastiaan Janssen a1f72826c7 Remove duplicate css class 2019-01-31 08:39:59 +01:00
Bjarne Fyrstenborg 3ba32dafa5 Localize edit link, remove duplicate class attributes and only make remove link red 2019-01-31 08:34:54 +01:00
Bjarne Fyrstenborg d55262b322 Revert "Localize edit link, remove duplicate class attributes and only make remove link red"
This reverts commit 63cc250c0f929b1f7e6f9f05fae2fd302682d418.
2019-01-31 08:34:54 +01:00
Bjarne Fyrstenborg 7b3623a9d9 Localize edit link, remove duplicate class attributes and only make remove link red 2019-01-31 08:34:54 +01:00
Shannon 9abd72f623 gets macro content loading on rte load 2019-01-31 17:12:44 +11:00
Shannon f9e673ca4c Updates tinymce, adds back the styles for the rendered macro in the rte, properly uses tinymce's noneditable plugin and removes a ton of code relating to the old work arounds we had, now just need to get the macro re-rendering 2019-01-31 16:54:17 +11:00
Shannon 2f1c39ab96 Removes the old/strange "pageElements" thing, it's no longer needed 2019-01-31 15:44:39 +11:00
Shannon 7b55d2f1b2 New IMacroRenderer and ITemplateRenderer and hides underlying logic for these in internal classes. Massively cleans up the macro rendering logic (almost makes sense now), removes unused macro code, injects UmbracoHelper wherever it's needed (not creating manually), fixes UmbracoHelper to have it's services injected, no more empty services, allows setting the AssignedContentItem on the UmbracoHelper and ensures it's lifespan is Transient, updates all corresponding ctors. Fixes macro rendering, ensures the correct culture variation is assigned, and that we can render macros for any given IPublishedContent, not just the one assigned in the request. 2019-01-31 15:09:31 +11:00
Shannon Deminick 7f9ca716e7 Merge pull request #4210 from umbraco/temp8-fixme-get-all-entities-with-postfilter
Fixme - Handle not implemented exception on pick of macro
2019-01-31 14:51:55 +11:00
Shannon d9cb605f22 Fixing getting the macro to render in the rte, incorrect params being set 2019-01-31 14:48:43 +11:00
Shannon 8c813fa40d Merge branch 'temp8' into temp8-fixme-get-all-entities-with-postfilter 2019-01-31 11:10:01 +11:00
Shannon 0e9eae6f73 removes a bunch of console.log that was recently added 2019-01-31 11:05:41 +11:00
Shannon dcacff0124 Updates user section routing so that it has nice urls 2019-01-31 11:03:25 +11:00
Warren Buckley fe9700b3f7 A handful more providers moved across & removed any that no longer supported 2019-01-30 21:52:12 +00:00
Callum Whyte 2036da5e84 V8: kill usercontrol support, cleanup macros (#4329) 2019-01-30 18:37:07 +01:00
Sebastiaan Janssen 74a1bb9123 Update .net version, don't insert examine nor defaultuilanguage 2019-01-30 18:02:48 +01:00
Sebastiaan Janssen 781f63b805 There is no log4net.config 2019-01-30 18:01:16 +01:00
Sebastiaan Janssen b7a788e219 There is no trees.config 2019-01-30 18:01:01 +01:00
Sebastiaan Janssen 396fa73283 There is no UI.xml 2019-01-30 18:00:40 +01:00
Warren Buckley 880faeebd3 Adds a few more providers to the collection 2019-01-30 16:50:08 +00:00
Sebastiaan Janssen 1a298be9fa Removes obsoleted settings that prevent v8 startup 2019-01-30 17:47:54 +01:00
Sebastiaan Janssen 2353863092 Fix merge error 2019-01-30 17:35:06 +01:00
Sebastiaan Janssen 5ebe1b19ee Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-30 17:28:07 +01:00
Sebastiaan Janssen 8be93f91ba Merge branch 'dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Core/Services/Implement/MemberGroupService.cs
#	src/Umbraco.Web.UI.Client/src/common/directives/components/imaging/umbimagegravity.directive.js
#	src/Umbraco.Web.UI.Client/src/common/directives/components/umbcolorswatches.directive.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/boolean/boolean.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/colorpicker/colorpicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/colorpicker/colorpicker.html
2019-01-30 17:27:34 +01:00
Warren Buckley 74dcaea879 Merge remote-tracking branch 'origin/temp8' into temp8-oembed-collection 2019-01-30 16:02:02 +00:00
Kenn Jacobsen f2e1978ddb Support start node IDs for media picker in infinite editing 2019-01-30 16:46:33 +01:00
Kenn Jacobsen 19aae9ffdc Make sure the color picker label is stored on first select (#4325)
(cherry picked from commit 4dd51f645a)
2019-01-30 16:14:09 +01:00
Kenn Jacobsen 4dd51f645a Make sure the color picker label is stored on first select (#4325) 2019-01-30 16:12:50 +01:00
Shannon f8fd255239 Last cleanup of unused umbraco settings 2019-01-31 01:37:38 +11:00
Shannon 6b2831c606 kill more useless umbraco settings 2019-01-31 01:30:17 +11:00
Shannon 2a54b2931c Removes providers section from umbraco settings 2019-01-31 01:20:19 +11:00
Shannon f28c60ced3 Removes all irrelevant logging settings from umbraco settings 2019-01-31 01:11:15 +11:00
Shannon a20c75d3c7 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-31 00:57:39 +11:00
Shannon 1c8b4412e3 Removes scheduled tasks 2019-01-31 00:57:10 +11:00
Bjarke Berg 5561029e07 Merge pull request #4070 from kjac/v8-fix-redirects-search-box-styling
V8: Fix the styling of the search box on the Redirect URL Management dashboard
2019-01-30 14:41:19 +01:00
Shannon 7a50856d32 Removes AutoLegacy routing and the legacy UseDomainPrefixes from umbraco settings 2019-01-31 00:33:02 +11:00
Shannon d1d9779a71 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-31 00:30:44 +11:00
Shannon 9571f48bd3 Removes AutoLegacy routing and the legacy UseDomainPrefixes from umbraco settings 2019-01-31 00:30:28 +11:00
Bjarne Fyrstenborg 0016962bc2 v8: Edit macro parameters (#4317) 2019-01-30 14:27:58 +01:00
Shannon 82ba360435 removes defaultDocumentTypeProperty from umbraco settings 2019-01-31 00:16:15 +11:00
Shannon 36d7c26120 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-31 00:09:46 +11:00
Shannon d852422328 removes CloneXmlContent from umbraco settings 2019-01-31 00:09:30 +11:00
Kenn Jacobsen 14a216778e V8: Align delete dialogs with the other dialogs (take two) (#4288) 2019-01-30 14:08:50 +01:00
Shannon 06cf8abfee Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-31 00:03:20 +11:00
Shannon 357da8ac6e removes PropertyContextHelpOption from umbraco settings 2019-01-31 00:03:03 +11:00
Stephan c8d9e59436 Fix SqlServer version detection 2019-01-30 14:02:45 +01:00
Bjarne Fyrstenborg 69af591b78 v8: Fix general localization (#4274) 2019-01-30 14:01:22 +01:00
Shannon f1b168fc46 removes ForceSafeAliases from umbraco settings, etc... 2019-01-30 23:58:54 +11:00
Bjarke Berg fe2af90caa #4229 - If the property do not support variantions, we need to validate the default language 2019-01-30 13:56:50 +01:00
Shannon 3dce2c870e removes XmlCacheEnabled, ContinouslyUpdateXmlDiskCache, XmlContentCheckForDiskChanges from umb settings 2019-01-30 23:52:35 +11:00
Shannon a123bc7084 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-30 23:42:39 +11:00
Shannon fccfa4f412 Removes umbraco settings: ImageTagAllowedAttributes, UploadAllowDirectories, ensureUniqueNaming, ImageTagAllowedAttributes, ScriptEditorDisable, ScriptFolderPath, UploadAllowDirectories 2019-01-30 23:42:25 +11:00
Kenn Jacobsen 31765a7a47 Remove the tooltip position flickering 2019-01-30 13:26:21 +01:00
Warren Buckley 88eb29e199 Removes EmbedProviders.config & moves into C# types (As its a config file that is rarely ammended IMO) 2019-01-30 11:46:15 +00:00
Callum Whyte 0cdccc1a9b V8: Removing legacy content tree menu items (#4278) 2019-01-30 12:01:57 +01:00
Shannon 19633b8d70 Merge branch 'temp8' into temp8-fixme-get-all-entities-with-postfilter 2019-01-30 20:41:37 +11:00
Shannon a331632800 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-30 20:33:26 +11:00
Shannon 90eae73d9b By default allow all trees to support both main and dialog usages 2019-01-30 20:33:14 +11:00
Shannon 7bb0eb109a moves class to separate file 2019-01-30 20:31:44 +11:00
Shannon c213408b92 Changes OperatorFactory to internal 2019-01-30 20:24:42 +11:00
Niels Lyngsø 0b0371af7e Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-30 10:17:05 +01:00
Bjarke Berg b1b71a4444 Merge pull request #4300 from kjac/v8-fix-respect-template-casing
V8: Respect the name casing when creating a new template
2019-01-30 10:16:40 +01:00
Niels Lyngsø ab77623248 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-30 10:16:36 +01:00
Niels Lyngsø bf7372c6ba V8: Color corrections for several components 2019-01-30 10:16:32 +01:00
Shannon 273441a2fb Merge branch 'temp8' into temp8-fixme-get-all-entities-with-postfilter
# Conflicts:
#	src/Umbraco.Web/Editors/EntityController.cs
2019-01-30 20:09:07 +11:00
Shannon 6ff787046b Fixing trees regression issue 2019-01-30 19:52:24 +11:00
Shannon df5c685bc2 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-30 19:48:55 +11:00
Shannon 6c0321ce72 Fixing trees regression issue 2019-01-30 19:48:42 +11:00
Stephan aa20584588 Merge branch 'temp8-move-xml-published-cache-to-tests' into temp8 2019-01-30 08:40:08 +01:00
Stephan 99ec2d18f2 Merge branch 'temp8' into temp8-move-xml-published-cache-to-tests 2019-01-30 08:37:42 +01:00
Stephan 7ba4fd7ad1 Cleanup Umbraco module 2019-01-30 08:35:50 +01:00
Bjarke Berg 2287c0e402 #3645 - remove badge again in preview mode + added spinner 2019-01-30 08:24:47 +01:00
Shannon Deminick e960d06449 Merge pull request #4298 from umbraco/temp8-fix-partialview-templates
PartialView & PartialViewMacros template generation fix
2019-01-30 18:10:26 +11:00
Shannon 134cc176ff Moves the Xml published cache to the tests project since that is the only place it is used, removes the xml data integrity check since it's not needed, removes the xml published cache benchmark since it's not needed. Now we don't include the old xml published cache at all in the shipped product. 2019-01-30 17:50:13 +11:00
Bjarke Berg 126c91fe51 Merge remote-tracking branch 'origin/temp8' into temp8-3645-change-culture-in-preview 2019-01-30 07:50:02 +01:00
Bjarke Berg cf0095dc1c #3645 - removed viewmodel and uses ILanguage directly in the view 2019-01-30 07:49:45 +01:00
Shannon 3371dbaa48 Merge remote-tracking branch 'origin/temp8-remove-legacy-controls' into temp8 2019-01-30 17:40:00 +11:00
Shannon Deminick f11d22f43a Merge pull request #4249 from umbraco/temp8-remove-unused-filesystem-config
V8 Remove unused filesystemproviders.config
2019-01-30 17:37:38 +11:00
Shannon f02da1fdd2 nucache bug fix 2019-01-30 17:36:33 +11:00
Shannon 08a886b724 nucache bug fix 2019-01-30 17:35:57 +11:00
Bjarke Berg ae9141f9e7 Merge remote-tracking branch 'origin/temp8' into temp8-3645-change-culture-in-preview
# Conflicts:
#	src/Umbraco.Web/Editors/PreviewController.cs
2019-01-30 07:34:19 +01:00
Shannon f49516ff13 fix csproj building 2019-01-30 17:14:04 +11:00
Shannon c2f82d184f Merge branch 'temp8' into temp8-remove-unused-filesystem-config
# Conflicts:
#	src/Umbraco.Web.UI/web.Template.config
2019-01-30 16:58:57 +11:00
Shannon 35b78cc224 Adds notes 2019-01-30 16:56:14 +11:00
Shannon 16b655fd62 Adds null check to SingleServerRegistrar 2019-01-30 16:47:48 +11:00
Shannon Deminick ac19aa4f91 Merge pull request #4243 from umbraco/temp8-remove-legacy-controls
🔥🔥 V8: Bye bye legacy stuff 🔥🔥
2019-01-30 15:22:27 +11:00
Shannon febc788c20 Merge remote-tracking branch 'origin/temp8' into temp8-remove-legacy-controls
# Conflicts:
#	src/Umbraco.Web/UI/Pages/UmbracoEnsuredPage.cs
2019-01-30 14:36:40 +11:00
Shannon 45bfaee590 fixing tests 2019-01-30 14:26:41 +11:00
Kenn Jacobsen a025568196 Handle element types in the multi URL picker 2019-01-29 22:30:06 +01:00
Kenn Jacobsen 9d3d4b77a0 Handle element types in the MNTP 2019-01-29 22:30:06 +01:00
Kenn Jacobsen 10fbffcfcc Handle element types in the conten picker 2019-01-29 22:30:06 +01:00
Vigan Shemsiu cca1393f2b Validate both width and height
Make sure to validate both width and height before running "setDimensions();". 

The focus point will not work if we have "img { width: 100%; }" in the stylesheet. 

This pull request will fix the bug.
2019-01-29 22:26:26 +01:00
Kenn Jacobsen 69548aed20 Fix the offset in the crop editor 2019-01-29 22:22:34 +01:00
Kenn Jacobsen 27ce8c8ebc Add a few missing localizations for edit media 2019-01-29 22:21:59 +01:00
Kenn Jacobsen 3f080ab277 Remove the annoying menuDialogTitle tooltip 2019-01-29 22:20:15 +01:00
Damiaan Peeters 7656de693c Add unittest 2019-01-29 22:18:53 +01:00
Damiaan Peeters 4806920179 Do not allow a empty name with for the MemberGroup 2019-01-29 22:18:53 +01: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
Kenn Jacobsen 55aec0bf07 Make sure the install doesn't fail if the user opts out of a custom machine key 2019-01-29 22:03:33 +01:00
Niels Lyngsø 9d37e7ceda Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-29 21:28:29 +01:00
Niels Lyngsø 106c044ba5 V8: Color corrections 2019-01-29 21:28:25 +01:00
Kenn Jacobsen bda8128e93 Proper handling of the selected color 2019-01-29 21:00:40 +01:00
Kenn Jacobsen 4915efbb8d Re-select selected color on reload 2019-01-29 21:00:40 +01:00
Kenn Jacobsen c778249fed Fix the approved color styling 2019-01-29 21:00:40 +01:00
Callum Whyte 1340a5ce4b Removing support for legacy webservices 2019-01-29 20:23:20 +01:00
Kenn Jacobsen 5637c44f69 Explicitly set the form dirty when toggling a boolean 2019-01-29 17:41:28 +01:00
Sebastiaan Janssen 218995f9e0 Set version to 7.13.2 2019-01-29 17:34:05 +01:00
Bjarke Berg 414f838476 #3645 - Lists available languages in the preview bar (if more than 1)
Reads the culture from hash instead of query and updates the hash when changing culture.
2019-01-29 15:30:25 +01:00
Niels Lyngsø d75cace85d color variable clean up 2019-01-29 15:23:21 +01:00
Niels Lyngsø 2fa2e0109d Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-29 15:14:41 +01:00
Niels Lyngsø 78c3797e5a V8: colors for tags 2019-01-29 15:14:38 +01:00
Stephan 5d65ba3147 Merge branch 'temp8-fixtree' into temp8 2019-01-29 14:59:45 +01:00
Stephan cd5dc410cc Refactor IDataTypeConfigurationConnector for Deploy 2019-01-29 14:49:41 +01:00
Niels Lyngsø f94e0fd3ec V8: CSS — variable correction 2019-01-29 14:38:33 +01:00
Niels Lyngsø d39045caef V8: CSS — adding missing unit for umb-loader in umb-tree 2019-01-29 14:31:27 +01:00
Kenn Jacobsen 0d167c4f2d Fix callback
(cherry picked from commit 99f0e6c05a)
2019-01-29 14:13:22 +01:00
Kenn Jacobsen d44e0d8664 Set form dirty on color picker value change + update selected item label + clean up unused code
(cherry picked from commit 2c40e46d56)
2019-01-29 14:13:14 +01:00
Kenn Jacobsen 99f0e6c05a Fix callback 2019-01-29 14:11:04 +01:00
Kenn Jacobsen 2c40e46d56 Set form dirty on color picker value change + update selected item label + clean up unused code 2019-01-29 14:11:04 +01:00
Niels Lyngsø d2934f6be4 Merge remote-tracking branch 'origin/temp8-ui-update-color-to-2019-brandcolor-pink' into temp8 2019-01-29 14:10:18 +01:00
Niels Lyngsø b573b9a50a brandcolor 2019 corrections 2019-01-29 14:09:48 +01:00
Shannon c0026d3c23 Removes UseDirectoryUrls, have better defaults for reserved paths, don't ship with values in them just have them blank 2019-01-29 23:58:43 +11:00
Niels Lyngsø f0b4f31a9e Merge remote-tracking branch 'origin/temp8-ui-niels-adjustments' into temp8-ui-update-color-to-2019-brandcolor-pink
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/less/buttons.less
#	src/Umbraco.Web.UI.Client/src/less/components/editor.less
#	src/Umbraco.Web.UI.Client/src/less/components/html/umb-expansion-panel.less
2019-01-29 13:33:44 +01:00
Shannon 1897c0f162 moves package actions to correct namespace, no more _Legacy namespace 2019-01-29 23:31:59 +11:00
Niels Lyngsø 34f93331bd brandcolor 2019 corrections 2019-01-29 13:31:54 +01:00
Shannon 2e527163f9 no more umbraco.presentation namespace! no more "page" class, has been refactored and renamed to what it actually is and internalized 2019-01-29 23:27:00 +11:00
Sebastiaan Janssen 7a778d4c42 Merge branch 'dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Core/StringExtensions.cs
#	src/Umbraco.Web/Models/Mapping/UserModelMapper.cs
2019-01-29 13:11:03 +01:00
Shannon eef86689c8 Removes booting.aspx and creates embedded html pages for booting and failed (if those are ever seen ), renames some classes and namespaces, removes old cdf bundle classes 2019-01-29 23:05:59 +11:00
Benjamin Carleski 2c3a2b29b2 Obsolete direct hash generation methods, and switch to generic GenerateHash
As noted in https://github.com/umbraco/Umbraco-CMS/issues/4292, using direct hash methods can break compliance when on restricted systems that require FIPS compliance.  This has been addressed in a few commits.  This commit goes further to obsolete methods not previously obsoleted relating to direct hashing calls, and switches a direct call to one of these methods to use the correct, generic GenerateHash.
2019-01-29 12:58:51 +01:00
Shannon e7b0e43d98 removes scripting.config, EnableSplashWhileLoading, RenderingEngine, and more! 2019-01-29 22:38:03 +11:00
Kenn Jacobsen 66ca8c6018 Respect the name casing when creating a new template 2019-01-29 12:25:23 +01:00
Niels Lyngsø 6bf7db79e3 frontend design update for brandcolors 2019 2019-01-29 12:05:52 +01:00
Shannon cf1bf123da Merge branch 'temp8' into temp8-remove-legacy-controls
# Conflicts:
#	src/Umbraco.Web/Editors/DashboardController.cs
2019-01-29 22:02:37 +11:00
Shannon Deminick 19686496e6 Merge pull request #4228 from umbraco/temp8-3396-fix-YSOD-for-publishing
Publish a variant without a name gives YSOD
2019-01-29 21:57:07 +11:00
Shannon 1f7a0600c6 Merge remote-tracking branch 'origin/temp8' into temp8-3396-fix-YSOD-for-publishing 2019-01-29 21:48:09 +11:00
Warren Buckley e2d4110685 When creating a PartialView we do a string.replace for Model.Content. to be Model. as MacroPartialViews work with Model.Content and PartialViews like Model. 2019-01-29 10:46:10 +00:00
Shannon Deminick de237c36aa Merge pull request #4227 from umbraco/temp8-fixme-no-caching-of-url-and-inject-umbraco-context-accessor
Fixme - No caching of url and inject IUmbracoContextAccessor
2019-01-29 21:29:53 +11:00
Shannon 649aa82c63 Merge branch 'temp8' into temp8-fixme-no-caching-of-url-and-inject-umbraco-context-accessor 2019-01-29 21:29:32 +11:00
Shannon 9bcb2bfb38 removes unused code 2019-01-29 21:27:22 +11:00
Shannon c272c2ad3b Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-29 21:22:17 +11:00
Shannon fd80aecb20 fixes more of the ConvertRelatedLinksToMultiUrlPicker migration 2019-01-29 21:22:01 +11:00
Warren Buckley 7d2024d3fd Merge pull request #4295 from umbraco/temp8-macro-picker-fixes
Fixes UI for macropicker and added submit button
2019-01-29 09:31:41 +00:00
Stephan d24b7f2aba Refactor enums 2019-01-29 10:17:26 +01:00
Niels Lyngsø 9cd2e36c4b more color corrections for brandcolors 2019 2019-01-29 10:00:38 +01:00
Shannon 47bde0f507 Merge branch 'temp8' into temp8-fixme-no-caching-of-url-and-inject-umbraco-context-accessor 2019-01-29 19:58:40 +11:00
Shannon 7b85ebab56 Adds migration to convert start nodes for picker configuration to UDIs 2019-01-29 19:54:32 +11:00
Bjarke Berg 9c3e501a60 Fixes UI for macropicker and added submit button 2019-01-29 09:46:24 +01:00
Niels Lyngsø 08a8e0793e Design & color changes for 2019 brand colors 2019-01-29 09:30:42 +01:00
Stephan 5135635bf8 Cleanup 2019-01-29 09:15:10 +01:00
Shannon 89a99e1c5f Makes IDashboard IDiscoverable 2019-01-29 18:10:50 +11:00
Shannon 70f23b2245 Merge branch 'temp8' into temp8-fixme-no-caching-of-url-and-inject-umbraco-context-accessor 2019-01-29 17:56:11 +11:00
Shannon ee693b63bd Fixes issue with ConvertRelatedLinksToMultiUrlPicker migration since it produces invalid SQL if there are no values in the .Contains calls 2019-01-29 17:52:48 +11:00
Shannon 86d8bc0c62 fix merge 2019-01-29 17:19:58 +11:00
Shannon 22d879ab35 Merge branch 'temp8' into temp8-fixme-no-caching-of-url-and-inject-umbraco-context-accessor
# Conflicts:
#	src/Umbraco.Tests/PublishedContent/NuCacheTests.cs
#	src/Umbraco.Web/Models/PublishedContentBase.cs
#	src/Umbraco.Web/PublishedCache/NuCache/ContentNode.cs
#	src/Umbraco.Web/PublishedCache/NuCache/PublishedSnapshotService.cs
2019-01-29 17:12:35 +11:00
Stephan c2f51be0a1 Bugfix 2019-01-28 22:44:00 +01:00
Niels Lyngsø 052cee31b3 color corrections for pink theme 2019-01-28 21:36:04 +01:00
Warren Buckley 4a5eca3c6a Adds in Composition Extension Methods to allow Setting the LogViewer without having to know the composition.RegisterUnique syntax 2019-01-28 15:39:49 +00:00
Stephan 9eabc1fb3f More NuCache/PublishedContent cleanup 2019-01-28 16:23:10 +01:00
Warren Buckley 633d9c6fb4 Merge pull request #4218 from umbraco/temp8-dashboards-collection
V8 - Remove dashboards.config - use CollectionBuilder
2019-01-28 14:47:44 +00:00
Stephan 9b4b8b9d86 Cleanup NuCache/PublishedContent 2019-01-28 14:15:47 +01:00
Stephan 85d4b4a61d Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-28 14:07:19 +01:00
Stephan d901e14e4f Merge branch 'temp8-ispublished-again' into temp8 2019-01-28 14:06:17 +01:00
Stephan 27fd908517 Refactor IPublished 2019-01-28 14:05:59 +01:00
Niels Lyngsø d262b524df Merge remote-tracking branch 'origin/temp8-ui-overlay-button-style' into temp8-ui-update-color-to-2019-brandcolor-pink 2019-01-28 13:18:04 +01:00
Niels Lyngsø f619b03b04 Correct spelling 2019-01-28 13:17:38 +01:00
Niels Lyngsø 1f09292ee3 Merge remote-tracking branch 'origin/temp8-ui-overlay-button-style' into temp8-ui-update-color-to-2019-brandcolor-pink 2019-01-28 13:15:52 +01:00
Niels Lyngsø 9a0f50291c color adjustments for proposal 2019-01-28 13:15:40 +01:00
Stephan a344a2f240 Merge branch 'temp8' into temp8-ispublished-again 2019-01-28 13:08:30 +01:00
Stephan fac25b5971 Bugfix 2019-01-28 13:04:37 +01:00
Stephan c675708388 Refactor dashboards 2019-01-28 12:38:58 +01:00
Warren Buckley 117b836cd7 Merge pull request #4259 from umbraco/temp8-remove-related-links-with-migration
Remove related links and migrate existing data to Multi URL Picker
2019-01-28 09:42:56 +00:00
Stephan 918908a785 Merge branch 'temp8' into temp8-dashboards-collection 2019-01-28 10:35:34 +01:00
Stephan c2a404c02d Update ModelsBuilder 2019-01-28 10:34:57 +01:00
Stephan e410b8b067 Fix TreeUse 2019-01-28 10:27:36 +01:00
Stephan 27ecd795b2 Merge branch temp8 into temp8-fixtree 2019-01-28 10:19:36 +01:00
Warren Buckley e7181915ff Merge remote-tracking branch 'origin/temp8' into temp8-remove-legacy-controls 2019-01-28 08:40:25 +00:00
Warren Buckley 9f79f1833f Merge remote-tracking branch 'origin/temp8' into temp8-dashboards-collection
# Conflicts:
#	src/Umbraco.Web/Services/DashboardService.cs
2019-01-28 08:33:52 +00:00
Niels Lyngsø df00cfab40 Merge remote-tracking branch 'origin/temp8-ui-update-colors-to-2019-brandcolors' into temp8-ui-update-color-to-2019-brandcolor-pink 2019-01-28 09:31:24 +01:00
Niels Lyngsø f0611fff90 correct color variable for variant switcher 2019-01-28 09:30:08 +01:00
Niels Lyngsø da3a5d35c1 make unpublish button in overlay appear as button-style warning 2019-01-28 09:00:38 +01:00
Bjarke Berg 3c24aac81d Merge remote-tracking branch 'origin/temp8' into temp8-ispublished-again 2019-01-28 08:46:17 +01:00
Bjarke Berg 9b01910d44 Removed isPublished stuff from XmlPublishedContent. 2019-01-28 08:27:42 +01:00
Niels Lyngsø 6b0158f761 color update 2019-01-27 18:14:55 +01:00
Sebastiaan Janssen 7e8c0ed369 Apply changes from PR #4197 to v8 too 2019-01-27 15:17:08 +01:00
Sebastiaan Janssen cebf1e6c22 Merge branch 'dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.controller.js
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/Umbraco.Web/Routing/PublishedRequest.cs
2019-01-27 13:47:22 +01:00
Sebastiaan Janssen d174499e50 Fixes #4260 incorrect permissions required for Notifications sign up 2019-01-27 13:30:44 +01:00
Sebastiaan Janssen 647d92775c Make right-click menu work in Firefox 2019-01-27 12:02:39 +01:00
Kenn Jacobsen a185d56ae5 Ensure that element types can't be assigned as allowed children to other content types 2019-01-27 11:46:55 +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
Kenn Jacobsen d31e25281d Fix infinite loop when saving multiple variants using list view 2019-01-27 10:41:50 +01:00
Kenn Jacobsen df20feb703 Make cache properties on PublishedContentRequest public 2019-01-27 10:39:34 +01:00
Sebastiaan Janssen ae25e4564e Fix the tests 2019-01-27 10:26:41 +01:00
Kenn Jacobsen 1955409582 Don't allow creation of element types in the content tree 2019-01-26 18:30:50 +01:00
Kenn Jacobsen b709ed4aa3 Don't attempt to resolve URLs for element types 2019-01-26 18:27:53 +01:00
Kenn Jacobsen 57fb9888a2 Add localization to Flatpickr 2019-01-26 18:22:12 +01:00
Kenn Jacobsen 54bb3384b2 Add "time" and "bigint" to value types 2019-01-26 17:48:30 +01:00
Kenn Jacobsen 9f2477ad75 Remove the hover underline from grid items 2019-01-26 17:47:23 +01:00
Kenn Jacobsen 35a6d721ee Make sure to inform the content editor of an app change when split view is opened 2019-01-26 17:38:59 +01:00
Nathan Woulfe a4c5b7118d check for editorstate.current before attempting to access properties object 2019-01-26 17:33:45 +01:00
Niels Lyngsø 0194ccdad7 corrected on-edit method for MultiUrlPicker, Fixes #4171 2019-01-26 17:30:42 +01:00
Kenn Jacobsen a2f0ad67ab Fix the flickering tooltip 2019-01-26 17:30:27 +01:00
Sebastiaan Janssen 8d4da215fa Merge branch 'dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Core/Models/PublishedContent/PublishedContentType.cs
#	src/Umbraco.Tests/CodeFirst/StronglyTypedMapperTest.cs
#	src/Umbraco.Tests/LibraryTests.cs
#	src/Umbraco.Tests/Membership/DynamicMemberContentTests.cs
#	src/Umbraco.Tests/PublishedContent/DynamicDocumentTestsBase.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentDataTableTests.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentMoreTests.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTestElements.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
#	src/Umbraco.Tests/TestHelpers/BaseWebTest.cs
#	src/Umbraco.Web.UI/Umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/nl.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/es.xml
#	src/Umbraco.Web/Scheduling/HealthCheckNotifier.cs
#	src/Umbraco.Web/WebBootManager.cs
2019-01-26 17:24:21 +01:00
Ronald Barendse 52a56c8852 Only add TLS 1.2 if explicit protocols are defined 2019-01-26 17:09:47 +01:00
Kenn Jacobsen 32f228fa7c Use the media file name as display name in the file link 2019-01-26 17:05:38 +01:00
Chris Houston 8d2c1332d3 Fixed a few typos I spotted in the last commit :) (#4215) 2019-01-26 16:56:30 +01:00
Chris Houston 0b6ba5aa52 Temp8 - Fixing spelling / typos etc in Umbraco.Web (#4148) 2019-01-26 16:52:19 +01:00
Chris Houston a13a38a482 Updated all the TODO: comments in the Umbraco.Core project so they are all in the same format. ( // TODO: ) (#4220)
Also moved some of the comments so they are will work better / are not within Code Documentation comments
2019-01-26 15:42:14 +01:00
Ronald Barendse 7a2f09643a Changed health check to indicate HTTPS endpoint connectivity using TLS 1.2 2019-01-26 15:30:47 +01:00
Paul Seal c9819b2d89 - disabled the duplicated community health checks (#4175) 2019-01-26 15:01:03 +01:00
Kenn Jacobsen 43a97185b6 Clean up file system tree controller handling of no-op for nodes 2019-01-26 14:58:47 +01:00
Kenn Jacobsen de8516d2c7 Make it possible to create folders for stylesheets 2019-01-26 14:58:47 +01:00
Niels Lyngsø 98cee55dda Merge remote-tracking branch 'origin/temp8' into temp8-ui-update-colors-to-2019-brandcolors 2019-01-25 16:35:56 +01:00
Niels Lyngsø dfaa297104 V8: Color refactoring up + first draft to fit with 2019 brand colors. 2019-01-25 16:33:06 +01:00
Sebastiaan Janssen 5a896e7417 Remove obsoleted RelatedLinks picker (replaced by Multi URL Picker)
(cherry picked from commit fedf0c78de)
2019-01-25 16:06:49 +01:00
Sebastiaan Janssen 2c6b5f21b0 Migrates RelatedLink data to MultiUrlPicker and changes all RelatedLink datatypes to MultiUrlPicker ones 2019-01-25 16:06:32 +01:00
Warren Buckley b1f94c66dc Remove name property from dashboard package.manifest collection 2019-01-25 12:18:15 +00:00
Warren Buckley 4b3cd91188 Remove Name property from IDashboardSection & the C# types (We use localization of dashboardTabs_alias) 2019-01-25 12:17:52 +00:00
Warren Buckley 19d084e086 Localize dashboard tabs with a convention of dashboardsTabs_dashboardAlias as the localization key 2019-01-25 12:11:07 +00:00
Bjarke Berg 66959baabe Reimplemented IsPublished on PublishedContent 2019-01-25 12:56:53 +01:00
Stephan e8cb30fbc4 Fix exception when replacing IServerRegistrar 2019-01-25 12:33:20 +01:00
Stephan 427ac259f4 Refactor datatype configuration connector 2019-01-25 11:57:42 +01:00
Stephan bb07921363 KeyValueService supports more weird situations 2019-01-25 11:57:08 +01:00
Warren Buckley a8e8832a75 Bye bye dashboard.config.install XDT transform as part of NuGet install 2019-01-25 10:17:40 +00:00
Bjarke Berg 11f8192e52 Merge pull request #4248 from umbraco/temp8-dashboards-collection-review
Dashboards collection review
2019-01-25 11:07:37 +01:00
Bjarke Berg 15c197abd3 public AccessRule.cs, to let third party create dashboards from code without having to implement there own 2019-01-25 11:04:56 +01:00
Warren Buckley b88ca1db49 Remove FIleSystemProviders.config from web.config XML files 2019-01-25 09:22:02 +00:00
Warren Buckley 6ee8ef0a07 Fix the build! Sorry Stephan 👌 2019-01-25 09:18:19 +00:00
Warren Buckley bee2776035 Bye bye FileSystemProvider.config - we no longer use you 2019-01-25 09:10:49 +00:00
Bjarke Berg 1c55f4ed4f changed correct file 2019-01-25 10:09:28 +01:00
Bjarke Berg 8926e28706 revert 2019-01-25 10:08:52 +01:00
Bjarke Berg 6626edbfa8 unused using 2019-01-25 10:04:18 +01:00
Bjarke Berg 87a5b63492 Merge branch 'temp8-dashboards-collection' into temp8-dashboards-collection-review 2019-01-25 09:57:59 +01:00
Bjarke Berg 0f8784b9f5 Merge remote-tracking branch 'origin/temp8' into temp8-dashboards-collection-review 2019-01-25 09:56:06 +01:00
Bjarke Berg 51d2c3f351 Merge remote-tracking branch 'origin/temp8-dashboards-collection' into temp8-dashboards-collection 2019-01-25 09:55:19 +01:00
Bjarke Berg 544b13f05d Merge remote-tracking branch 'origin/temp8' into temp8-dashboards-collection 2019-01-25 09:54:49 +01:00
Bjarke Berg 5f80faa725 Review fix suggestions for dashboards. 2019-01-25 09:52:18 +01:00
Stephan d5c2e21c4a Merge branch 'temp8' into temp8-fixtree 2019-01-25 09:51:08 +01:00
Stephan 585abf2902 Cleanup trees 2019-01-25 09:49:55 +01:00
Warren Buckley d257396013 Missing Serilog.Formatting.Compact.Reader from Nuspec for the Logviewer stuff- thanks Twitter for the heads up 👍 2019-01-25 08:21:43 +00:00
Bjarke Berg d9c6d8c568 Merge remote-tracking branch 'origin/temp8' into temp8-dashboards-ciollection-review 2019-01-25 07:35:07 +01:00
Stephan 4067ac7d93 Merge branch temp8 into tmp8-fixtree 2019-01-24 18:34:25 +01:00
Stephan 0ffa4702ba Bugfix install 2019-01-24 18:26:08 +01:00
Warren Buckley 3e69ceb487 Remove dashboard from web.config 2019-01-24 15:52:56 +00:00
Warren Buckley 79eaeef258 Fixup NuSpec as we no longer ship with default.aspx 2019-01-24 15:44:47 +00:00
Warren Buckley 37b614a577 Another file that can be gone as was used by LegacyDialogTask 2019-01-24 15:41:38 +00:00
Niels Lyngsø 874c89656c action colors 2019-01-24 15:57:28 +01:00
Warren Buckley 7257d19445 Merge remote-tracking branch 'origin/temp8' into temp8-remove-legacy-controls 2019-01-24 14:45:57 +00:00
Warren Buckley 1ad0c88731 👻👻 Nightmares of writing WebForms controls with CSS markup & attributes in a .cs file 👻👻 2019-01-24 14:34:18 +00:00
Stephan e4c644e745 Consistent PublishedContentExtensions, culture always optional 2019-01-24 15:29:50 +01:00
Warren Buckley 1f79d9e635 🔪🔪Next on the chobbing block is config/create/ui.xml & references back to it which was Legacy Controller, DialogTask etc🔪🔪 2019-01-24 14:29:00 +00:00
Stephan 38ec97bbe3 Need to refactor IsPublished 2019-01-24 15:22:20 +01:00
Niels Lyngsoe 74bd8fa0db added 2019 brand colors 2019-01-24 15:11:34 +01:00
Warren Buckley 85da2a94b9 Bye 404Handlers XML config file - add/remove IContentFinders in your own composer/component 2019-01-24 14:09:28 +00:00
Warren Buckley ba098f49c4 ☠️☠️ Bye bye feedproxy.config ☠️☠️ 2019-01-24 13:59:17 +00:00
Warren Buckley c7bbad3c0c Lots or removal & tidy up - still WIP & may break build 2019-01-24 13:58:16 +00:00
Stephan a6d3078638 Improve CoreRuntime handling of boot fails 2019-01-24 14:04:31 +01:00
Stephan 31a6f2d67c Add runtime hooks for Deploy 2019-01-24 14:04:31 +01:00
Niels Lyngsø b9fd04c8b9 Merge remote-tracking branch 'origin/temp8-ui-resizeable-handler' into temp8 2019-01-24 13:31:02 +01:00
Bjarke Berg 5f1ddad835 Merge remote-tracking branch 'origin/temp8' into temp8-dashboards-collection 2019-01-24 13:27:15 +01:00
Warren Buckley def6d67fcc Merge branch 'temp8' into temp8-remove-legacy-controls 2019-01-24 12:21:49 +00:00
Warren Buckley 26f0090fd0 Merge pull request #4205 from umbraco/temp8-fixmes-add-ispublished-to-ipublished-content
Added IsPublished(culture) to IPublishedContent
2019-01-24 12:12:52 +00:00
Warren Buckley 344026ec23 Merge pull request #4240 from umbraco/temp8-update-fixme-comments-to-todo-with-link-to-task
Changed Fixme/task to TODO [Link]
2019-01-24 12:06:38 +00:00
Warren Buckley db3116ff9c Merge pull request #4212 from umbraco/temp8-fixme-only-allow-local-keep-alive-pings
Fixme - Only allow local KeepAlive Pings requests
2019-01-24 11:49:05 +00:00
Bjarke Berg 49b2a9a080 Fixes for search of members + Removed fixme in member that apparently are not necessary after tags refactoring 2019-01-24 12:17:30 +01:00
Warren Buckley 6e1a860e77 Merge pull request #4211 from umbraco/temp8-PublishedContentExtensions-handling-methods-hidden-by-overload
Fixme - Handled "Method with optional parameter is hidden by overload" issues
2019-01-24 11:07:12 +00:00
Niels Lyngsø eef6c783ea updated package-lock.json 2019-01-24 11:59:33 +01:00
Sebastiaan Janssen 9e0d2e5873 Revert "Remove obsoleted RelatedLinks picker (replaced by Multi URL Picker)"
This reverts commit fedf0c78de.
2019-01-24 11:37:28 +01:00
Bjarke Berg ec8c455635 Fixes for search of members + Removed fixme in member that apparently are not necessary after tags refactoring 2019-01-24 11:28:27 +01:00
Warren Buckley f70df699db Merge pull request #4114 from umbraco/temp8-ui-expansion-panel-hover
Temp8 ui expansion panel hover
2019-01-24 10:03:00 +00:00
Bjarke Berg 3eb01a1557 Merge remote-tracking branch 'origin/temp8' into temp8-3396-fix-YSOD-for-publishing 2019-01-24 10:27:47 +01:00
Warren Buckley d8751365c8 Merge pull request #4206 from umbraco/temp8-fixme-children-wrong-merge-and-unused-file
Fixme - Wrong merge in PublishedContentExtensions and renamed prevalue connector
2019-01-24 09:24:58 +00:00
Bjarke Berg 5842337d02 3396 - Fix for when clearing the name again 2019-01-24 09:42:49 +01:00
Bjarke Berg cc897285c9 3396 - Force publish for all mandatory langauges that has not yet beed published 2019-01-24 08:31:42 +01:00
Bjarke Berg b389e6c07f 3396 - don't let user determine whether to publish mandatory languages on first publish. All mandatory languages with data is saved. If a mandatory language does not have data we cannot publish anything. 2019-01-24 08:16:55 +01:00
Warren Buckley 0480242532 Some sneaky MasterPages kill the last of them off with fire 🔥 2019-01-23 18:56:33 +00:00
Warren Buckley 31509beb1c 🙈 WOW this was super old Umbraco V3 days of <umbraco:item runat="server" /> WebForms days 2019-01-23 18:17:10 +00:00
Warren Buckley fcb3f8e791 Remove Umbraco.Web.UI.Controls folder & classes - Controis reek of WebForms era 2019-01-23 17:57:20 +00:00
Warren Buckley 03498b3c61 Update comment about this Interface usage - maybe we can remove this later on 2019-01-23 17:56:44 +00:00
Warren Buckley 5e9f861991 Cleanup of WebRuntimeComposer 2019-01-23 15:09:31 +00:00
Warren Buckley f2cc0eebf5 Remove the dashboard XML config file 2019-01-23 14:43:05 +00:00
Warren Buckley 5d34ee271c Forgot to remove my test App_Plugin Dashboard 2019-01-23 14:42:49 +00:00
Warren Buckley 26f43cda97 Merge remote-tracking branch 'origin/temp8' into temp8-dashboards-collection 2019-01-23 14:38:26 +00:00
Warren Buckley 69a3c85bbc Refactor of dashboards
* Remove dashboards from Configs().Dashboards
* Remove dashboard.config XML file & associated code reading from XML
* Load Dashboards from TypeLoader into a CollectionBuilder
* Load merge/concat C# Dashboard Types with package.manifest
* Add buildercolletion to an extension method on Composition
2019-01-23 14:37:33 +00:00
Bjarke Berg f8b9fb039f Handle culture not set in HasCulture. 2019-01-23 15:35:20 +01:00
Niels Lyngsø d16aa91a5e remove extra border from MCE-edit-area 2019-01-23 15:13:42 +01:00
Bjarke Berg f8b52a57c3 Injecting Umbraco Context Accessor and not saving the url on the class 2019-01-23 14:16:42 +01:00
Bjarke Berg ca76a5424a Only allow local KeepAlive Pings requests 2019-01-23 12:34:41 +01:00
Bjarke Berg d2d852f0f3 Handled "Method with optional parameter is hidden by overload" issues 2019-01-23 10:39:51 +01:00
Bjarke Berg f10b35780c - Removed PostFilterParams
- Handling of PostFilter using Expression trees
2019-01-23 10:22:29 +01:00
Sebastiaan Janssen fedf0c78de Remove obsoleted RelatedLinks picker (replaced by Multi URL Picker) 2019-01-23 09:01:53 +01:00
Bjarke Berg 6f25bc7c37 Reintroduced a interface for deploy 2019-01-23 08:17:39 +01:00
Bjarke Berg e871392405 Added IsPublished(culture) to IPublishedContent 2019-01-23 07:54:45 +01:00
Bjarke Berg dcb616157d Removed unused IPreValueConnector 2019-01-23 07:52:24 +01:00
Bjarke Berg ddace54f45 Fixed wrong merge in Children() method 2019-01-23 07:51:43 +01:00
Christian Alkærsig 7acafe67a4 Delete template2.cshtml
Auto-generated test file
2019-01-23 00:28:21 +01:00
Alkaersig 9eb2b28232 Added (Doctype) Name and Description to PublishedContentType 2019-01-23 00:28:21 +01:00
Paul Seal 832ec68140 - tls check to check if the site is set up to use at least TLS 1.2 for outgoing connections.
- added translations for all languages which have a healthcheck section in the language file.
2019-01-23 00:11:35 +01:00
Chris Houston 78319bae9e Temp8 fix typos 2 (#4130) 2019-01-23 00:03:39 +01:00
Bjarne Fyrstenborg 01de2eb266 Synctree in log viewer overview 2019-01-22 23:05:17 +01:00
Bjarne Fyrstenborg ca98fad918 Update box heading in log viewer overview 2019-01-22 23:02:05 +01:00
Bjarne Fyrstenborg d8f0af1a94 Fix plural localization 2019-01-22 22:59:52 +01:00
Bjarne Fyrstenborg fc12f2b802 Add track by on package lists 2019-01-22 22:57:46 +01:00
Bjarne Fyrstenborg 977423e094 Remove old delete dialog, add new dialog view + set delete button state 2019-01-22 22:57:46 +01:00
Bjarne Fyrstenborg c405d1b6d1 Fix localization of buttons in modals 2019-01-22 22:52:01 +01:00
Kenn Jacobsen 6983f3d43a V8: Clean up trashed content options (#4136) 2019-01-22 22:50:12 +01:00
Sebastiaan Janssen d380f75d31 Merge branch 'dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/Umbraco.Web/Trees/ContentTreeControllerBase.cs
#	src/Umbraco.Web/WebApi/Filters/EnsureUserPermissionForContentAttribute.cs
2019-01-22 22:46:15 +01:00
Sebastiaan Janssen 8e61276b8a Merge branch 'dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/datepicker/datepicker.controller.js
#	src/Umbraco.Web/PropertyEditors/DatePreValueEditor.cs
#	src/Umbraco.Web/WebBootManager.cs
2019-01-22 22:06:19 +01:00
Kenn Jacobsen a8d5bd6d1f Don't let the users empty the recycle bin without delete permissions (#3699) 2019-01-22 22:05:12 +01:00
Kenn Jacobsen e252a0849b Add "default empty" prevalue to date and datetime 2019-01-22 21:58:17 +01:00
Bjarne Fyrstenborg 45735a5529 v8: Add missing localizations (#4199) 2019-01-22 21:57:16 +01:00
Stephan d9cc1f4cb8 Fix more tests 2019-01-22 18:25:02 +01:00
Stephan ce4fc6654e Fix NestedContent tests now we have isElement 2019-01-22 17:32:46 +01:00
Rasmus John Pedersen e1175b814e Add Multi Url Picker 2019-01-22 16:00:15 +01:00
Warren Buckley 9b9c9ef455 Adds Sections() ordered collection to the Composition, so devs can ammend the collection, change order etc 2019-01-22 14:59:32 +00:00
Stephan 917b83be92 Merge branch 'temp8' into temp8-fixtree 2019-01-22 15:11:55 +01:00
Stephan b54155d1c9 Merge remote-tracking branch 'origin/temp8' into temp8 2019-01-22 15:05:23 +01:00
Stephan 6d6828eaaf Merge branch 'temp8-pr4102' into temp8 2019-01-22 15:04:32 +01:00
Niels Lyngsø e651d5917a Finds and set the active ContentApp when running init, fixing the issue of retuning to a node after editing the DocType in infinity editing.
Fixes #4185
2019-01-22 14:38:10 +01:00
Stephan fd0ee6bb11 Merge branch 'v8-fix-nested-content-only-elements' of https://github.com/kjac/Umbraco-CMS into temp8-pr4102 2019-01-22 14:30:38 +01:00
Robert 1fc2ea9345 Fixes composition in Media Types 2019-01-22 14:30:23 +01:00
Stephan 9628d6f761 Merge branch 'temp8-pr4117' into temp8 2019-01-22 14:28:47 +01:00
Stephan c1e81fe40c Merge branch 'v8-fix-remove-element-type-template-assignment' of https://github.com/kjac/Umbraco-CMS into temp8-pr4117 2019-01-22 14:22:36 +01:00
Stephan e36ca2e957 Merge branch temp8 into temp8-fixtree 2019-01-22 14:08:14 +01:00
Stephan ad026e25d7 Cleanup trees 2019-01-22 13:55:31 +01:00
Stephan e349ead8b5 Better error message 2019-01-22 13:08:47 +01:00
Bjarke Berg 4981f0e828 Merge pull request #2926 from umbraco/temp8-logviewer
Merged V8 LogViewer
2019-01-22 12:04:32 +01:00
Bjarke Berg 7b0acf9844 Merge pull request #4179 from umbraco/tem8-logviewer-review
Temp8 logviewer review fixes
2019-01-22 11:29:51 +01:00
Warren Buckley 626b9e8f7b Remove a TODO comment that was hanging around 2019-01-22 10:07:56 +00:00
Warren Buckley 62617537fa Change icon from scary bug to box-alt 2019-01-22 10:05:14 +00:00
Bjarke Berg 70315d4a5f Make as must of the log viewer internal as possible 2019-01-22 10:36:44 +01:00
Bjarke Berg c8daf1d8db Merge branch 'temp8-logviewer' into tem8-logviewer-review 2019-01-22 10:20:26 +01:00
Bjarke Berg 70010bc344 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer
# Conflicts:
#	src/Umbraco.Core/Migrations/Install/DatabaseSchemaCreator.cs
2019-01-22 10:19:43 +01:00
Bjarke Berg 025d0eae18 Logviewer code cleanup. 2019-01-22 10:14:07 +01:00
Stephan c840895f90 Deal with more fixme 2019-01-22 09:49:35 +01:00
Stephan a53a15f4d8 Merge branch 'temp8-remove-mysql' into temp8 2019-01-22 08:30:35 +01:00
Stephan 04a4e2d00e cleanup 2019-01-22 08:30:08 +01:00
Bjarke Berg 2c86e87917 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2019-01-22 08:23:07 +01:00
Stephan 0c07af9a41 Merge branch temp8 into temp8-remove-mysql 2019-01-22 08:15:24 +01:00
Stephan 53d767e978 Fix clearing property values #4119 2019-01-22 08:09:21 +01:00
Stephan afd6236406 Merge pull request #4164 from umbraco/temp8-broken-view-fixes
Fixes for broken views..
2019-01-21 18:55:24 +01:00
Stephan 6fb41e364b Fix query builder 2019-01-21 18:50:27 +01:00
Stephan 76d2421f0c Restore some InternalsVisibleTo that we do need 2019-01-21 18:02:31 +01:00
Warren Buckley 6d0f505e2d Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2019-01-21 16:39:51 +00:00
Stephan 706b865a5f Merge branch 'temp8-3668-query-builder-snippits' into temp8 2019-01-21 17:38:39 +01:00
Stephan 9e811ddd50 Fix fallback 2019-01-21 17:38:06 +01:00
Warren Buckley dda9c5183c Updates the composer/registration of JSONLogViewer - Can't use default parameters with DI hence needed to use factory & new up an instance 2019-01-21 16:36:47 +00:00
Warren Buckley 8ab5142357 Moves tree into Settings group as opposed to third party trees & positions last 2019-01-21 16:36:00 +00:00
Warren Buckley 3af859e020 Updates default log levels that we ship out of the box for V8 - It was a very chatty Verbose, now set to Info 2019-01-21 16:29:59 +00:00
Stephan 358a36dd87 Merge branch temp8 into temp8-3668-query-builder-snippits 2019-01-21 16:07:20 +01:00
Stephan ee0c868687 Misc fixes for PR and Fallback 2019-01-21 16:02:16 +01:00
Stephan 9522ee826f Deal with fixme in Umbraco.Web 2019-01-21 16:01:37 +01:00
Stephan 4a0b969777 Deal with fixme in Umbraco.Core 2019-01-21 16:01:37 +01:00
Warren Buckley 9407c85d71 Remove TreesAndSection tests (must have been a funky merge gone wrong) 2019-01-21 12:40:19 +00:00
Niels Lyngsø 735c2ccfd7 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-21 13:30:55 +01:00
Niels Lyngsø dd29deec6a V8 Gulp — only run imagemin in production mode. 2019-01-21 13:30:49 +01:00
Warren Buckley 1d39c177cc Adds in private method EnsureFileExists as it was removed from IOHelper 2019-01-21 11:48:55 +00:00
Warren Buckley f6154a38d9 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer
# Conflicts:
#	src/Umbraco.Core/Migrations/Install/DatabaseSchemaCreator.cs
#	src/Umbraco.Web.UI.Client/gulpfile.js
#	src/Umbraco.Web.UI/config/trees.Release.config
#	src/Umbraco.Web.UI/config/trees.config
2019-01-21 11:17:14 +00:00
Bjarke Berg a32c8b3a68 Merge pull request #4167 from umbraco/temp8-3417-macro-crud
Macro delete stuff
2019-01-21 11:36:10 +01:00
Niels Lyngsø 82d6af2013 Merge remote-tracking branch 'origin/temp8' into bugfix/temp8-media-could-not-be-moved-to-root
# Conflicts:
#	src/Umbraco.Web/Trees/ApplicationTreeController.cs
2019-01-21 11:13:08 +01:00
Sebastiaan Janssen ba4b84d7f4 Fixes #4166 - Outgoing connections sometimes fail because they require TLS 1.2 2019-01-21 11:10:01 +01:00
Bjarke Berg 57902892f9 Constructor injection 2019-01-21 10:55:48 +01:00
Stephan d4664fbae6 Merge branch 'temp8' into temp8-3668-query-builder-snippits 2019-01-21 10:50:40 +01:00
Bjarke Berg 252d31a5f5 Delete macros 2019-01-21 10:44:11 +01:00
Bjarke Berg 269273f294 Merge pull request #4165 from umbraco/temp8-3417-macro-crud
Macro CRUD angularized
2019-01-21 09:55:26 +01:00
Matthew-Wise 2744afab00 Disable LastPass on page heading (#4153) 2019-01-21 09:49:00 +01:00
Niels Lyngsø 60d86354f3 Media Picker adjustments 2019-01-21 09:46:00 +01:00
Bjarke Berg 566895d3cd Merge branch 'temp8' into temp8-3417-macro-crud 2019-01-21 09:14:40 +01:00
Bjarke Berg 3fd8c63542 - Show Ids
- Hide "Render in rich text editor and the grid" if "Use in rich text editor and the grid" is false
2019-01-21 09:10:39 +01:00
Bjarke Berg d5c6e0c6e7 - Saving paramters 2019-01-21 09:10:08 +01:00
Bjarke Berg ec57f35374 Named arguments cannot precede positional 2019-01-21 08:03:12 +01:00
Bjarke Berg 333c143005 GetPropertyValue change to Value 2019-01-21 07:59:05 +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
Bjarne Fyrstenborg a502be606b v8: Fix package localization (#4159) 2019-01-20 21:27:32 +01:00
Sebastiaan Janssen 0b19c07756 Merge branch 'dev-v7' into temp8
# Conflicts:
#	.github/README.md
#	src/Umbraco.Core/Constants-PropertyEditors.cs
#	src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs
#	src/Umbraco.Web.UI.Client/src/views/media/media.restore.controller.js
#	src/Umbraco.Web/Cache/DataTypeCacheRefresher.cs
#	src/Umbraco.Web/PropertyEditors/RelatedLinks2PropertyEditor.cs
2019-01-20 21:23:51 +01:00
Bjarne Fyrstenborg d6855d18f9 v8: Nicer delete language confirm (#4108) 2019-01-20 21:19:06 +01:00
Rasmus John Pedersen e1c9b1818e Add Multi Url Picker to core (#2323) 2019-01-20 21:12:00 +01:00
Abi Noda 76bece07ef add pull reminders badge to readme 2019-01-20 21:10:02 +01:00
Matthew Wise ba85681f8c updated css file location 2019-01-20 21:07:58 +01:00
Kenn Jacobsen 09cc3f89ed Make sure the decimal field value converter can handle double values when converting 2019-01-20 21:05:20 +01:00
Kenn Jacobsen 2c1ba1d23d Make sure the style preview text does not overlap for large font sizes 2019-01-20 21:01:32 +01:00
Bjarne Fyrstenborg 07329103b1 v8: Fix doctype iconpicker (#4053) 2019-01-20 20:56:49 +01:00
Dave Woestenborghs 7729dc946e Fix 4058 : restore from recycle bin when item has multiple relations (#4073) 2019-01-20 20:47:13 +01:00
Callum Whyte da58673b44 Removing unused insertMasterpage dialog language dictionary keys 2019-01-20 20:44:57 +01:00
Callum Whyte f8b382ea0a Eliminating bower (#4146) 2019-01-20 20:43:47 +01:00
Kenn Jacobsen abbd45c476 Remove hardcoded "Root" when restoring to tree root 2019-01-20 20:34:36 +01:00
Sebastiaan Janssen c56e84af2d Merge branch 'dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/content/content.restore.controller.js
#	src/Umbraco.Web.UI.Client/src/views/media/media.restore.controller.js
#	src/Umbraco.Web.UI/config/umbracoSettings.Release.config
2019-01-20 20:28:52 +01:00
Stephan ed97dbc1a0 Merge branch 'temp8-appCaches' into temp8 2019-01-18 15:51:39 +01:00
Stephan 1506d8c3fa Kill AppCaches.StaticCache 2019-01-18 15:49:54 +01:00
Sebastiaan Janssen 9e7eb2ad75 Remove MySQL support 2019-01-18 15:47:22 +01:00
Stephan 3982732b7d Fix merge + cleanup 2019-01-18 15:05:20 +01:00
Dave Woestenborghs 2dc9eb3a90 #3417 handle saving of general macro data 2019-01-18 15:02:18 +01:00
Stephan 876056f0bb Merge branch temp8 into temp8-appCaches 2019-01-18 14:54:08 +01:00
Kenn Jacobsen 5b285f71fa Remove hardcoded "Root" when restoring to tree root 2019-01-18 14:39:54 +01:00
Stephan cdf38af171 Bugfix the installer 2019-01-18 14:39:39 +01:00
Bjarke Berg e637854149 Merge pull request #4057 from umbraco/temp8-4037
Manual tested, all tests are green, and code changes at fine :) Merged
2019-01-18 13:49:16 +01:00
Bjarke Berg 6fce8810fc Merge remote-tracking branch 'origin/temp8' into temp8-4037
# Conflicts:
#	src/Umbraco.Web/PropertyEditors/MultiNodePickerConfigurationTreeSource.cs
2019-01-18 13:28:57 +01:00
Niels Lyngsø 4bf17c8a4e V8 UI Color adjustments 2019-01-18 13:19:16 +01:00
Niels Lyngsø 4fbeac48eb Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-18 13:17:12 +01:00
Niels Lyngsø 8f64d8d70c correction of editorconfig for *.js and *.less 2019-01-18 13:16:59 +01:00
Stephan 01e70648ba Merge branch 'temp8-packaging-view-3996' into temp8 2019-01-18 13:04:04 +01:00
Dave Woestenborghs 7fd7d7a582 #3417 also send id of parameter with api response 2019-01-18 12:37:04 +01:00
Stephan 6f9a63d035 Merge branch 'temp8' into temp8-packaging-view-3996 2019-01-18 11:04:28 +01:00
Stephan 07238b54e1 Merge branch 'temp8-tree-sections-no-more-xml' into temp8 2019-01-18 10:59:04 +01:00
Stephan 437385fd61 Bit of cleanup 2019-01-18 10:53:51 +01:00
Callum Whyte cee1171d39 Removing masterpages support from V8 (#3971) 2019-01-18 10:53:38 +01:00
Niels Lyngsø 6dd4d7f475 V8 FE Gulp Fastdev script 2019-01-18 10:12:24 +01:00
Dave Woestenborghs a83ac4a24d #3417 retreive data for edit screen 2019-01-18 09:31:38 +01:00
Stephan a7a3fca8a8 Merge branch 'temp8' into temp8-tree-sections-no-more-xml 2019-01-18 09:23:55 +01:00
Bjarke Berg 59fe603ef7 Merge remote-tracking branch 'origin/temp8' into temp8-3668-query-builder-snippits
# Conflicts:
#	src/Umbraco.Web/PublishedContentExtensions.cs
2019-01-18 08:34:14 +01:00
Bjarke Berg 7a74a329ab Merge remote-tracking branch 'origin/bugfix/temp8-media-could-not-be-moved-to-root' into bugfix/temp8-media-could-not-be-moved-to-root 2019-01-18 08:32:21 +01:00
Bjarke Berg 0daca21b51 Merge remote-tracking branch 'origin/temp8' into bugfix/temp8-media-could-not-be-moved-to-root 2019-01-18 08:31:54 +01:00
Bjarke Berg 8e597aabf3 Merge remote-tracking branch 'origin/temp8' into feature/IContentType-removale-from-IContent 2019-01-18 08:29:43 +01:00
Stephan ec58532f7b More renaming of caches 2019-01-18 08:29:16 +01:00
Stephan f952fe7aeb More renaming of caches 2019-01-18 08:14:08 +01:00
Stephan 5aba1a6bd2 IAppPolicedCache is IAppPolicyCache 2019-01-18 07:56:38 +01:00
Mikkel Holck Madsen 6e3618f627 Merge pull request #4129 from umbraco/temp8-gridcellvalueconnector
Redecided on renaming
2019-01-17 21:38:21 +01:00
Kenneth Jakobsen 9fed610902 Redecided on renaming 2019-01-17 21:32:08 +01:00
Mikkel Holck Madsen 1d349f9eb0 Merge pull request #4128 from umbraco/temp8-gridcellvalueconnector
Removed Property parameter from IGridCellValueVConnector
2019-01-17 21:16:30 +01:00
Kenneth Jakobsen 27a1e51f80 Removed Property parameter from IGridCellValueVConnector 2019-01-17 21:12:10 +01:00
Kenn Jacobsen fa8a754f88 Don't reset templates for element types 2019-01-17 20:57:39 +01:00
Kenn Jacobsen 8f205e7d8f Hide list view config for element types 2019-01-17 20:57:18 +01:00
Kenn Jacobsen a01c313345 Hide "allow as root" and "allowed child node types" for element types 2019-01-17 20:56:47 +01:00
Kenn Jacobsen f394bed017 Change StartNodeId from string to Udi 2019-01-17 20:38:03 +01:00
Kenn Jacobsen 1ceab77aef Fix start node configuration for tree pickers 2019-01-17 20:38:03 +01:00
Stephan b3d6de5994 Merge branch 'temp8' into temp8-appCaches 2019-01-17 19:05:56 +01:00
Stephan fc29422b8d Merge remote-tracking branch 'origin/temp8' into temp8 2019-01-17 19:01:06 +01:00
Stephan 32c0d04b1b Merge branch 'temp8-3305-filter-for-current-culture-in-ipublishedcontent-linq' into temp8 2019-01-17 19:00:23 +01:00
Stephan 8ea76a92c3 Merge branch 'temp8' into temp8-3305-filter-for-current-culture-in-ipublishedcontent-linq 2019-01-17 19:00:03 +01:00
Mikkel Holck Madsen 7a68df36a3 Merge pull request #4124 from umbraco/temp8-deploy-valueconnector
- Added PropertyType parameter to IValueConnector.FromArtifact
2019-01-17 18:57:12 +01:00
mclausen 537b7e5ce9 - Added PropertyType parameter to IValueConnector.FromArtifact 2019-01-17 18:52:08 +01:00
Stephan e42995cf10 Fixes for the IPublishedContent Linq/Culture PR 2019-01-17 18:23:23 +01:00
Mikkel Holck Madsen 4234d316fe Merge pull request #4123 from umbraco/temp8-deploy-valueconnector
- Added PropertyType to The IValueConnector
2019-01-17 17:24:07 +01:00
mclausen 42f32e61e9 - Added PropertyType to The IValueConnector 2019-01-17 17:15:22 +01:00
Niels Lyngsø 89a2c1b32d Fix merge of pull request #4120 2019-01-17 17:02:12 +01:00
Warren Buckley 207bcbc10d Merge pull request #4120 from umbraco/temp8-gulp-refactoring
V8 Client Gulp factoring
2019-01-17 15:47:22 +00:00
Warren Buckley e1f1336205 Merge branch 'temp8' into temp8-gulp-refactoring
# Conflicts:
#	src/Umbraco.Web.UI.Client/gulpfile.js
#	src/Umbraco.Web.UI.Client/package-lock.json
2019-01-17 15:46:53 +00:00
Niels Lyngsø b9812ca5c4 Added processJs 2019-01-17 16:37:33 +01:00
Niels Lyngsø 9d2c4d7b08 Stick to the same approach on as used on media move dialog 2019-01-17 15:57:43 +01:00
Callum Whyte e60417925b Consistency is king! Fix up " vs ' in installer service facts array 2019-01-17 15:41:44 +01:00
Callum Whyte 5a78c000a0 Correcting punctuation in installer screen facts 2019-01-17 15:41:44 +01:00
Callum Whyte 54faeee837 Updating number of active Umbraco sites in installer screen facts 2019-01-17 15:41:44 +01:00
Nicholas-Westby cefa2c9040 Typo ("thist"). 2019-01-17 15:34:52 +01:00
Kenn Jacobsen b6f6a4015a Style the content links in the info app 2019-01-17 15:33:17 +01:00
Kenn Jacobsen adc9957504 Show the media link in the info app 2019-01-17 15:32:04 +01:00
Bjarne Fyrstenborg 74a7fd50dd v8: Fix validation error label (#4094) 2019-01-17 15:25:07 +01:00
Kenn Jacobsen 2ac175135a Fix linkpicker overlay issues - manual merge of #3718 to V8 2019-01-17 15:18:49 +01:00
Kenn Jacobsen 367fceb3cb Handle selection from treepicker search result 2019-01-17 15:15:26 +01:00
Kenn Jacobsen 2f408e1a01 Style the dialog search results 2019-01-17 15:14:17 +01:00
Kenn Jacobsen 8b178d1be7 Allow linkpicker to select items from search/list view 2019-01-17 15:13:41 +01:00
Kenn Jacobsen aca14c14ca Add some comments 2019-01-17 15:12:20 +01:00
Kenn Jacobsen 56c4dbf77f Ensure that the link picker tree always loads 2019-01-17 15:12:20 +01:00
Niels Lyngsø 5cc0f58f7d Git will now ignorer files that contains *.ignorer.* 2019-01-17 15:10:58 +01:00
Niels Lyngsø 591d100726 Corrected paths 2019-01-17 15:07:18 +01:00
Kenn Jacobsen bf9284089d Update a comment 2019-01-17 15:03:05 +01:00
Kenn Jacobsen 651006fbaf Make sure to update cculture to the last open culture when closing the split view 2019-01-17 15:03:05 +01:00
Sebastiaan Janssen 87a3350cd6 Merge pull request #4074 from kjac/v8-fix-select-content-app-for-split-view
V8: Force select the content app for both views when opening split view
2019-01-17 14:59:51 +01:00
Stephan 640b21d802 Merge branch temp8 into temp8-3305-filter-for-current-culture-in-ipublishedcontent-linq 2019-01-17 14:49:02 +01:00
Stephan b2d22f5650 Merge branch 'temp8' into feature/IContentType-removale-from-IContent 2019-01-17 14:22:45 +01:00
Stephan 650f668edb Improve PublishedModelFactory error message on collisions 2019-01-17 14:21:35 +01:00
Stephan 2eabdbb55b Improve PublishedModelFactory error message on collisions 2019-01-17 14:19:52 +01:00
Stephan e56ad2d312 Fix migration from 7.14 2019-01-17 14:14:08 +01:00
Bjarke Berg ae3c8fe08c 3908 - removed tests for legacy up and down methods 2019-01-17 14:09:17 +01:00
Bjarke Berg 37b826b82f 3908 - Fix for multiple dropdowns opening when clicking on one. 2019-01-17 14:07:56 +01:00
Niels Lyngsø d744d6aabe Gulp factoring
- Moved tasks into separate files
- Moved all configuration into gulp/config.js
2019-01-17 13:57:59 +01:00
Stephan e6bff12337 Merge branch temp8 into feature/IContentType-removale-from-IContent 2019-01-17 13:33:55 +01:00
Bjarke Berg 174db65714 3908 - Query build returns v8 valid statement - and examples of returned items 2019-01-17 13:33:44 +01:00
Stephan 2c3b65c8b1 Fix migrations from 7.14 2019-01-17 13:24:19 +01:00
Chris Houston 941ede776b Corrected all the miss spellings of:
Seperator -> Separator
Seperate -> Separate
2019-01-17 13:16:43 +01:00
Kenn Jacobsen bcda4c186f Don't allow templates on element types 2019-01-17 12:42:38 +01:00
Kenn Jacobsen 57b8a187b8 Add "Move" option for deleted items in the media tree 2019-01-17 12:27:42 +01:00
Sebastiaan Janssen 98fe3e823c Merge branch 'dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/media/media.restore.controller.js
#	src/Umbraco.Web.UI.Client/src/views/media/restore.html
2019-01-17 12:22:01 +01:00
Kenn Jacobsen 77cf071e04 Add "Move" option for deleted items in the media tree (#3914) 2019-01-17 12:20:13 +01:00
Sebastiaan Janssen 0d0179cb47 Use constants in upgrade migration 2019-01-17 12:14:17 +01:00
Sebastiaan Janssen effed9efa7 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-17 12:08:27 +01:00
Sebastiaan Janssen e6a99c5097 Merge branch 'dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbcontentnodeinfo.directive.js
#	src/Umbraco.Web.UI.Client/src/views/components/content/umb-content-node-info.html
#	src/Umbraco.Web/PropertyEditors/MemberGroupPickerPropertyEditor.cs
#	src/Umbraco.Web/Routing/PublishedContentRequestEngine.cs
#	src/Umbraco.Web/Scheduling/ScheduledTasks.cs
#	src/Umbraco.Web/Trees/ContentTreeController.cs
2019-01-17 12:05:56 +01:00
Stephan d4c714eccd Stop injecting the runtime cache, use AppCaches 2019-01-17 11:19:06 +01:00
Stephan 0bee01e0ee Great AppCaches renaming 2019-01-17 11:01:23 +01:00
Niels Lyngsø d6c2fec5d2 Added UI hover for expansion panel 2019-01-17 10:16:04 +01:00
Niels Lyngsø 8aaaf4439a Changed UI for resizable handler 2019-01-17 10:12:28 +01:00
Shannon 1667e914cd Allows the tree collection to be manipulated by devs on startup, renames some things 2019-01-17 18:38:55 +11:00
Stephan 67e4703821 CacheHelper becomes AppCaches 2019-01-17 08:34:29 +01:00
Robert 4ff714ae94 Merge remote-tracking branch 'origin/temp8' into temp8-4037 2019-01-17 08:10:02 +01:00
Shannon 3f89558ddb Fixing tests 2019-01-17 17:51:38 +11:00
Shannon 6b9ba3c53c Fixing tests 2019-01-17 17:50:59 +11:00
Shannon 356209e013 renames ApplicationTree to just Tree 2019-01-17 17:33:38 +11:00
Shannon 1a734141f1 Allows package manifest to declare a section 2019-01-17 17:31:29 +11:00
Shannon 9df1773b78 more cleanup 2019-01-17 17:08:58 +11:00
Shannon 77dd816c51 more cleanup 2019-01-17 17:06:22 +11:00
Shannon 0160f141f4 cleanup and explicitly registering sections 2019-01-17 17:04:53 +11:00
Shannon cfe1b17eec Gets trees and sections loading now in a much more simplified way without any xml, now to cleanup 2019-01-17 16:40:11 +11:00
Shannon 355ac09d90 WIP - moved out the tree and section service from Core, these are web only things, removes their xml parsing, fixes base controller ctor params with UmbracoContext, need to implement tree/section collections taking into account controllers and not scanning so much 2019-01-17 13:20:19 +11:00
Shannon 67c571fb28 Fixes tests 2019-01-17 10:56:24 +11:00
Stephan 5f7bf3a211 Ignore failing test 2019-01-16 17:04:15 +01:00
Dave Woestenborghs c0e62c4c5f #3417 retreive a list with parameter editors from API 2019-01-16 16:37:33 +01:00
Dave Woestenborghs b6a8ad1b6e #3417 load available partial views from api 2019-01-16 16:21:19 +01:00
Shannon Deminick c9ddd783f9 Merge pull request #4080 from umbraco/temp8-auto-install
install for Deploy
2019-01-17 01:44:27 +11:00
Shannon 899bb812aa Creates RuntimeStateOptions and pre-loads the error page on the installer 2019-01-17 01:42:56 +11:00
Bjarke Berg 664a892fd5 3305 - fixed tests 2019-01-16 15:25:42 +01:00
Stephan 3ed1b44710 Try to bugfix a failing test 2019-01-16 15:21:10 +01:00
Shannon c5da10cf10 Merge remote-tracking branch 'origin/temp8' into temp8-auto-install 2019-01-17 00:45:25 +11:00
Shannon ddcead2658 Updates EntityController to support stylesheets, languages and dictionary items GetAll so we can use it for the packager without worrying about security access to sections 2019-01-17 00:29:43 +11:00
Shannon 9ac47d6e85 Merge remote-tracking branch 'origin/temp8' into temp8-packaging-view-3996 2019-01-16 23:54:28 +11:00
Shannon 7bb3588889 Adds the whole package definition to the scope model for devs to use, adds a custom query string parameter when redirecting to the angular view after install (so devs know its a new install) 2019-01-16 23:53:10 +11:00
Stephan d170e4b5c3 Merge branch 'temp8-packages-ui' into temp8 2019-01-16 13:52:24 +01:00
Stephan 9f41457f45 Public composition.UrlProviders 2019-01-16 13:44:19 +01:00
Stephan ba84d95308 Merge branch 'temp8' into temp8-packages-ui 2019-01-16 13:27:14 +01:00
Stephan b5bda0b637 Some things have to be public for service events 2019-01-16 13:26:30 +01:00
Stephan a60bdf5c01 HttpContext VariationContextAccessor fails nicely 2019-01-16 13:26:13 +01:00
Bjarke Berg 35650536c8 3305 - Use the VariationContext instead of thread directly 2019-01-16 13:23:19 +01:00
Stephan 8347fd79a3 Reviewing packages PR, various fixes 2019-01-16 13:20:49 +01:00
Kenn Jacobsen 9ffeb34643 Whoops. Spelling. 2019-01-16 13:17:14 +01:00
Kenn Jacobsen ae97ec4277 Update the doctypes configuration help text 2019-01-16 13:16:41 +01:00
Shannon 70574b6564 Merge remote-tracking branch 'origin/temp8-packages-ui' into temp8-packaging-view-3996
# Conflicts:
#	src/Umbraco.Web.UI/umbraco/config/lang/nb.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/zh_tw.xml
2019-01-16 23:15:09 +11:00
Bjarke Berg 5f3596c7d9 Fixes after merge of temp8 2019-01-16 13:11:46 +01:00
Kenn Jacobsen 4303b4eb80 Ensure that all items passed to rendering are element types 2019-01-16 13:05:54 +01:00
Kenn Jacobsen 93f991b140 Only allow element types in the NC editor 2019-01-16 13:05:16 +01:00
Kenn Jacobsen e924a8ef83 Only return element types for the NC configuration 2019-01-16 13:04:46 +01:00
Bjarke Berg 4ccc468cb6 Merge remote-tracking branch 'origin/temp8' into feature/IContentType-removale-from-IContent
# Conflicts:
#	src/Umbraco.Web/Models/Mapping/ContentMapperProfile.cs
2019-01-16 12:53:58 +01:00
Bjarke Berg fe0d0ce1c7 Merge remote-tracking branch 'origin/temp8' into temp8-3668-query-builder-snippits 2019-01-16 12:49:23 +01:00
Bjarke Berg 00158b42e7 Merge remote-tracking branch 'origin/temp8' into bugfix/temp8-media-could-not-be-moved-to-root
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/content/move.html
#	src/Umbraco.Web.UI.Client/src/views/media/restore.html
2019-01-16 11:47:13 +01:00
Bjarke Berg b4f2d514be #3305 - changed new method to be internal 2019-01-16 11:44:27 +01:00
Shannon c4418185ec Gets the angular view loading and allows navigating back to the view, cleans up non used lang keys 2019-01-16 21:27:14 +11:00
Stephan da079cf393 Merge branch 'temp8' into temp8-packages-ui 2019-01-16 10:42:52 +01:00
Stephan d0016d6a7e Upgrade to MB -alpha.33 supporting elements 2019-01-16 10:40:04 +01:00
Stephan f56e2f0c72 Merge branch temp8 into temp8-packages-ui 2019-01-16 10:02:43 +01:00
Stephan 26b31f1fc8 Fix Git repository issue with casing of some filepaths 2019-01-16 10:01:04 +01:00
Shannon 903d90aff2 Merge remote-tracking branch 'origin/temp8-packages-ui' into temp8-packaging-view-3996 2019-01-16 19:30:58 +11:00
Shannon 572c6989ce Changes control to view for the package view 2019-01-16 19:30:07 +11:00
Shannon 31545db91e Fixes routing with the packages section 2019-01-16 19:29:42 +11:00
Stephan ef3b542ff3 Merge branch temp8 into temp8-packages-ui 2019-01-16 08:54:40 +01:00
Dave Woestenborghs 5ebf51e6df #3417 added mockup of parameter editing 2019-01-16 08:40:00 +01:00
Stephan 8f9813d597 Merge branch 'temp8' into temp8-auto-install 2019-01-16 08:34:46 +01:00
Bjarke Berg 8ad998ab12 #3305 - Clean up and xml-comments 2019-01-16 08:21:24 +01:00
Bjarke Berg c71f438e62 #3305 - Uncommented irrelevant tests. These tests are irrelevant because they use the legacy XmlPublishedContent and not the NuCache 2019-01-16 08:08:13 +01:00
Bjarke Berg 5687287453 Merge remote-tracking branch 'origin/temp8' into temp8-3305-filter-for-current-culture-in-ipublishedcontent-linq
# Conflicts:
#	src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
2019-01-16 07:47:06 +01:00
Bjarke Berg a27577c17d #3305 - Handle invariants 2019-01-16 07:46:10 +01:00
Shannon e8dead52c7 renames tests 2019-01-16 17:43:12 +11:00
Shannon 94da9a6681 Gets package upgrading working along with package uninstallation with multiple versions 2019-01-16 17:25:46 +11:00
Shannon 90be93d948 Got upgrade status showing in the ui, started implementing merging the package definitions for upgrades but have decided to have an element for each install like we currenlty have in case there are problems installing. 2019-01-16 16:27:51 +11:00
Stephan d4edbc8e79 Fix tests 2019-01-15 19:38:52 +01:00
Stephan eb3d3e129c Bugfix package service 2019-01-15 19:15:06 +01:00
Stephan 4770756621 Bugfix ContentCacheRefresher 2019-01-15 18:41:02 +01:00
Stephan 1bd5127bcf Actually run HealthCheck notifier 2019-01-15 17:27:18 +01:00
Shannon 00e951c394 fixes installer with async 2019-01-16 02:35:21 +11:00
Shannon d97b100bab fixes merge 2019-01-16 02:18:02 +11:00
Shannon b34582b35c Merge remote-tracking branch 'origin/temp8' into temp8-packages-ui
# Conflicts:
#	src/Umbraco.Core/Services/Implement/PackagingService.cs
2019-01-16 02:00:44 +11:00
Shannon b7c15dc393 gets readme and our package install working 2019-01-16 01:53:08 +11:00
Robert 561ce94398 Merge pull request #3933 from umbraco/temo8-3895-infinite-editor-shortcut
Close an infinite editor through Escape key
2019-01-15 15:43:43 +01:00
Robert f9cd22d908 Added a comment explaining why we need the delay 2019-01-15 15:43:10 +01:00
Bjarke Berg f70aea4f8a Merge remote-tracking branch 'origin/temp8' into temp8-3305-filter-for-current-culture-in-ipublishedcontent-linq
# Conflicts:
#	src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
2019-01-15 15:20:56 +01:00
Bjarke Berg be02d33fd6 Merge pull request #4082 from umbraco/temp8-elements-again
Merged
2019-01-15 15:15:48 +01:00
Bjarke Berg 0b9705ca3f Revert "Revert "Support IContentType.IsElement""
This reverts commit a5efc25c
2019-01-15 15:13:10 +01:00
Bjarke Berg 11ffafacdf Revert "Revert "Identify element types""
This reverts commit ff6a9ba9
2019-01-15 15:12:59 +01:00
Robert 2e782a4f11 Mapping IsContainer into AdditionalData using IEntitySlim to EntityBasic mapper 2019-01-15 15:10:50 +01:00
Bjarke Berg 0436fb3699 Merge pull request #4081 from umbraco/tem8-elements-again
unrevert of Identify "element" content types. #4076
2019-01-15 15:07:47 +01:00
Bjarke Berg 5995a7ec84 a small change to let Git see changes 2019-01-15 15:05:04 +01:00
Shannon 20d6a3b4b4 some cleanup and ensure the package file is deleted after install 2019-01-16 01:02:21 +11:00
Bjarke Berg 16eae7c4fc #3305 Added optional culture parameter to Children and Descendants extension methods 2019-01-15 14:54:34 +01:00
Shannon db2a003444 change how the install status works, fixes infinite loop 2019-01-16 00:54:25 +11:00
Shannon 709df804e5 Updates tests and better type support for importing content 2019-01-16 00:13:40 +11:00
Shannon f6fdc9ae2d Updates test, fixes some other issues during testing 2019-01-15 23:46:58 +11:00
Stephan 62fcbd8e84 Handle max runtime level for components 2019-01-15 13:43:56 +01:00
Stephan 2a36d2625b Merge branch 'temp8' into temp8-auto-install 2019-01-15 13:38:09 +01:00
Stephan 93ba694106 Upgrade ModelsBuilder (bugfix) 2019-01-15 13:36:30 +01:00
Shannon 56ab88983a updates a test 2019-01-15 23:10:08 +11:00
Shannon 8c7d29bd02 file update missing 2019-01-15 23:03:23 +11:00
Shannon 430c95dfad Merge remote-tracking branch 'origin/temp8' into temp8-packages-ui 2019-01-15 22:59:49 +11:00
Shannon a5ff29ccc7 Gets package uninstall working, fixes other UI issues with packages 2019-01-15 22:59:13 +11:00
Bjarke Berg 2d2d0b200b Merge pull request #4014 from umbraco/temp8-40120tags-validation-bug
Fixes - temp8-40120 tags-validation-bug
2019-01-15 12:27:02 +01:00
Bjarke Berg ff6a9ba97f Revert "Identify element types"
This reverts commit 4ad2505b
2019-01-15 12:23:45 +01:00
Bjarke Berg a5efc25c81 Revert "Support IContentType.IsElement"
This reverts commit ba38b67b
2019-01-15 12:23:14 +01:00
Bjarke Berg 87b4254e39 Merge remote-tracking branch 'origin/temp8' into temp8-40120tags-validation-bug 2019-01-15 12:16:52 +01:00
Bjarke Berg 5b1ca92184 Fixes for tag validation and build 2019-01-15 12:12:35 +01:00
Bjarke Berg bdeee95300 Merge remote-tracking branch 'origin/temp8-40120tags-validation-bug' into temp8-40120tags-validation-bug 2019-01-15 12:09:41 +01:00
Shannon 44ab0991ce Package installing is working 2019-01-15 22:08:08 +11:00
Stephan ba38b67b9d Support IContentType.IsElement 2019-01-15 11:30:30 +01:00
Robert 0092cac394 DRY 2019-01-15 10:31:12 +01:00
Warren Buckley e27ea962d9 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2019-01-15 09:30:09 +00:00
Robert 9bc047c03f Adding code to re-validate on value change 2019-01-15 10:17:26 +01:00
Kenn Jacobsen 64469fcb5c Force select the content app for both views when opening split view 2019-01-15 10:03:10 +01:00
Bjarke Berg 1f87ce02a1 Merge remote-tracking branch 'origin/temp8' into feature/IContentType-removale-from-IContent 2019-01-15 09:26:00 +01:00
Sebastiaan Janssen f7671ec9a7 Fixes #4071 - Error executing scheduled task - This instance has already started one or more requests. 2019-01-15 08:39:43 +01:00
Kenn Jacobsen 862d522758 Fix the styling of the search box on the redirect url management dashboard 2019-01-14 22:53:19 +01:00
Stephan 4ad2505bea Identify element types 2019-01-14 16:56:44 +01:00
Warren Buckley 525175c939 Merge pull request #4059 from umbraco/temp8-fs
Cleanup Filesystems registrations
2019-01-14 14:56:16 +00:00
Stephan 9ba3f47690 Cleanup 2019-01-14 15:55:18 +01:00
Stephan e2fe1c8260 Refactor IValueConnector for Deploy 2019-01-14 15:01:24 +01:00
Stephan a68b19f1ee More composition / filesystems fixes 2019-01-14 14:28:19 +01:00
Robert 8e4090fb84 Added proper memberPicker in the editorService 2019-01-14 14:00:17 +01:00
Robert 1ac8bbc570 Fixes MNTP member selection tree 2019-01-14 13:23:57 +01:00
Robert 2ce3249c5e Renaming variable to allow MNTP media selection 2019-01-14 13:23:00 +01:00
Warren Buckley a8638f5f43 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer
# Conflicts:
#	src/Umbraco.Web.UI.Client/package-lock.json
2019-01-14 11:10:58 +00:00
Kenn Jacobsen b9430158ce Move member group picker property data store from NVarchar to NText (#3712) 2019-01-14 09:25:59 +01:00
Robert 6ee1c96bf0 Merge remote-tracking branch 'origin/temp8' into temp8-4037 2019-01-14 09:05:05 +01:00
Stephan c912feff28 Merge remote-tracking branch 'origin/temp8' into temp8-fs 2019-01-14 08:53:11 +01:00
Stephan 561b359a72 Name change 2019-01-14 08:53:04 +01:00
Kenn Jacobsen db8954e0a5 Verify that the current member is approved and not locked out (#3588) 2019-01-14 08:52:02 +01:00
Sebastiaan Janssen 05f1a24caf Fix duplicate IIS Express settings 2019-01-14 08:28:58 +01:00
Kenn Jacobsen b08e922600 Only allow setting up scheduled publishing if the user has the correct permissions to do so 2019-01-14 08:21:58 +01:00
Bjarke Berg aaedfe0309 Added access to the dictionary tree with we have access to the templates tree. 2019-01-14 08:14:10 +01:00
Kenn Jacobsen fbf60fbac4 Don't add the "Notification" tree menu item if Umbraco can't send emails 2019-01-14 08:13:10 +01:00
Stephan 05fbf6c38a Fix DistributedCacheBinder ContentService.TreeChanged event 2019-01-14 08:09:43 +01:00
Stephan c17ee34edb Support enlisting in exiting scope contexts (why not?) 2019-01-14 08:09:43 +01:00
Stephan eb6b172be2 Cleanup 2019-01-14 08:09:43 +01:00
Shannon b3585b0083 some cleanup 2019-01-14 18:03:06 +11:00
Shannon aa6342cc30 adds test 2019-01-14 17:56:41 +11:00
Shannon 65e98928d4 Package data installation is now all migrated 2019-01-14 17:46:12 +11:00
Sebastiaan Janssen 92c278c593 Adds missing translation, fixes #4054 2019-01-14 07:12:21 +01:00
Shannon 18c90c5325 Package file installation logic all migrated and tests are running, now to do the package data installation 2019-01-14 14:28:00 +11:00
Sebastiaan Janssen b865c6b476 Merge branch 'dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Tests/Web/Mvc/HtmlHelperExtensionMethodsTests.cs
#	src/Umbraco.Web.UI.Client/src/common/resources/codefile.resource.js
#	src/Umbraco.Web.UI.Client/src/less/components/umb-table.less
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/linkpicker/linkpicker.controller.js
#	src/Umbraco.Web.UI/Umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web/HtmlHelperRenderExtensions.cs
2019-01-13 23:22:10 +01:00
Kenn Jacobsen 941baf09ce Fix linkpicker overlay issues (#3718) 2019-01-13 16:17:44 +01:00
Anders Bjerner be44741bf9 Localized parts of the codefile and template resources (#3495) 2019-01-13 15:58:31 +01:00
Kenn Jacobsen 3b8a570c3c V8: Safeguard against invalid culture in UMB_MCULTURE cookie (#4051) 2019-01-13 15:53:42 +01:00
Kenn Jacobsen 74986d24f1 V8: Add "Move" option for deleted items in the content tree (#3931) 2019-01-13 15:49:37 +01:00
christophnz 282ac2b9c5 Added 2 HtmlHelper extension methods for rendering RelatedLinks, including Unit tests 2019-01-13 15:17:13 +01:00
Jannik Anker 1224f68297 Issue 3018 - non-admin users cannot create groups (derpness cleanup) 2019-01-13 15:13:26 +01:00
Jannik Anker 8d1733fd12 Issue 3018 - non-admin users cannot create groups 2019-01-13 15:13:26 +01:00
Bjarne Fyrstenborg 1213551ca9 Only show extension if media item has a file
(cherry picked from commit 168febae24)
2019-01-13 14:55:44 +01:00
Bjarne Fyrstenborg 9968cd257d Rename wrapper class on umb-file-dropzone 2019-01-13 14:51:59 +01:00
Bjarne Fyrstenborg 168febae24 Only show extension if media item has a file 2019-01-13 14:51:59 +01:00
Bjarne Fyrstenborg b354eda7ac Add styles for umb-property-file-upload and move styles for umb-upload-big-button 2019-01-13 14:51:59 +01:00
Steve f620d0deca Fixes #4016 unpublished content styling in list view 2019-01-13 14:43:24 +01:00
Kenn Jacobsen d350ab0789 Ensure some spacing between properties within Nested Content items 2019-01-13 14:42:58 +01:00
Kenn Jacobsen 0f7cb7c177 Use built-in localization for Nested Content + fix element picker title 2019-01-13 14:40:38 +01:00
Sebastiaan Janssen c94a6b1777 Merge branch 'dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/imaging/umbimagegravity.directive.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/imagecropper/imagecropper.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/imagecropper/imagecropper.html
2019-01-13 14:22:00 +01:00
Kenn Jacobsen d1cfe84723 Set the form dirty when changing focal point and editing crops 2019-01-13 14:01:11 +01:00
Kenn Jacobsen cd6cdcfda4 Visualize image transparency in upload and image cropper thumbnails (#4050) 2019-01-13 13:54:30 +01:00
Sebastiaan Janssen c40d30d2dc Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-13 13:29:24 +01:00
Sebastiaan Janssen ef8ffc5149 Merge branch 'dev-v7' into temp8 2019-01-13 13:29:06 +01:00
Bjarne Fyrstenborg 2ebd7a077c Fix placeholder text when empty alias input after generating alias (#4032)
(cherry picked from commit c619b79276)
2019-01-13 13:16:00 +01:00
Bjarne Fyrstenborg c619b79276 Fix placeholder text when empty alias input after generating alias (#4032) 2019-01-13 13:06:16 +01:00
Kenn Jacobsen 291d58900f V8: Remember editor language between sessions (#4035) 2019-01-13 12:42:42 +01:00
Claus 1c401b9589 Merge branch 'kjac-v8-fix-tags-remove-setdirty' into temp8 2019-01-13 01:04:35 +01:00
Claus 5715b26bb7 Merge branch 'v8-fix-tags-remove-setdirty' of https://github.com/kjac/Umbraco-CMS into kjac-v8-fix-tags-remove-setdirty 2019-01-13 01:02:05 +01:00
Claus 21ffb5cdb9 Merge branch 'kjac-v8-fix-contentnodeinfo-js-error' into temp8 2019-01-13 00:54:40 +01:00
Kenn Jacobsen e88c789b88 Add some defensive coding to avoid JS errors 2019-01-11 15:44:54 +01:00
Robert 8f41fe8d38 Fixes MNTP only being able to open contentPicker 2019-01-11 15:17:29 +01:00
Robert 29390a3624 Fixes string to int conversion error 2019-01-11 15:15:59 +01:00
Stephan ca75b2f4d3 Fix recent Examine changes 2019-01-11 14:54:56 +01:00
Warren Buckley fded793f8e Removes the accidently Web.UI.csproj V7 port numbers for IISExpress when merging up from V7 to V8 2019-01-11 13:32:45 +00:00
Warren Buckley 5a23ca9de7 Merge pull request #4045 from umbraco/temp8-chartjs
Chartjs
2019-01-11 13:30:32 +00:00
Warren Buckley 8f1cd8110d Adds in the missing chart.js & wrapper lib (part of it was put in the solution it seems but not fully merged in correctly perhaps?!) 2019-01-11 13:27:39 +00:00
Bjarke Berg 4566b88e37 #3668 - Fixed test that was failing due to wrong setup 2019-01-11 14:21:03 +01:00
Warren Buckley 250c24de40 Adds in chart.js & the angular wrapper library 2019-01-11 12:54:50 +00:00
Warren Buckley ab565f1d27 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2019-01-11 12:18:29 +00:00
Bjarke Berg b6f4ec3cbc #3668 - Handle fallback strategy with default value and ancestor + Handle fallback strategy when the ancestor is invariant and the item is variant 2019-01-11 11:47:42 +01:00
Bjarke Berg f02bd4bca4 #3668 - Generate v8 code from "insert value" 2019-01-11 11:46:23 +01:00
Sebastiaan Janssen dcf2e4830f Merge branch 'dev-v7' into temp8
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Configuration/UmbracoVersion.cs
#	src/Umbraco.Core/IO/MediaFileSystem.cs
#	src/Umbraco.Core/Media/Exif/ImageFile.cs
#	src/Umbraco.Core/PropertyEditors/ValueConverters/TagsValueConverter.cs
#	src/Umbraco.Core/Services/MediaService.cs
#	src/Umbraco.Web.UI.Client/src/canvasdesigner.loader.js
#	src/Umbraco.Web.UI.Client/src/common/directives/components/buttons/umbtoggle.directive.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/colorpicker/colorpicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/contentpicker/contentpicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.controller.js
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/translation/details.aspx.cs
2019-01-11 10:23:27 +01:00
Sebastiaan Janssen 9e33581391 Merge branch 'patch-7.13.1' into dev-v7
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Configuration/UmbracoVersion.cs
2019-01-11 09:53:50 +01:00
Stephan d0153b1105 Merge branch 'temp8' into temp8-auto-install 2019-01-11 08:57:59 +01:00
Bjarke Berg 586a7a167a Merged v8 2019-01-11 08:55:25 +01:00
Stephan 798c01c514 Merge pull request #4034 from aaronpowell/temp8-4033
Fixing default ProfilingLogger
2019-01-11 08:49:43 +01:00
Stephan a3fc321296 Merge branch 'temp8-examine-updates-3920' into temp8 2019-01-11 08:29:41 +01:00
Bjarke Berg 0330be4e6b Merge remote-tracking branch 'origin/temp8' into feature/IContentType-removale-from-IContent
# Conflicts:
#	src/Umbraco.Core/ContentExtensions.cs
#	src/Umbraco.Core/Models/Content.cs
#	src/Umbraco.Tests/Models/ContentTests.cs
#	src/Umbraco.Tests/Models/Mapping/ContentWebModelMappingTests.cs
#	src/Umbraco.Tests/Models/VariationTests.cs
#	src/Umbraco.Tests/Scoping/ScopedNuCacheTests.cs
#	src/Umbraco.Tests/Services/ContentTypeServiceVariantsTests.cs
#	src/Umbraco.Tests/Web/Controllers/ContentControllerTests.cs
#	src/Umbraco.Web.UI/Umbraco/dialogs/ChangeDocType.aspx.cs
2019-01-11 08:29:29 +01:00
Stephan ba282ab81a Comments 2019-01-11 08:26:53 +01:00
Stephan 19233c2e5f Merge branch temp8 into temp8-examine-updates-3920 2019-01-11 08:24:36 +01:00
Stephan 677311aa49 reduce allocs 2019-01-11 08:06:12 +01:00
Aaron Powell a5630a3448 Fixing 4033 by using the right Logger instance 2019-01-11 14:35:24 +11:00
Shannon c89b50f0b8 large refactor/cleanup of most of the old package installer logic dealing with persisting the installedPackages.config which is now in the services, creates new parsers and removes a ton of old code, changes fetching packages to be async, uses XElement instead of old XmlNode apis, next we need to do the actual package installer updates 2019-01-11 14:30:04 +11:00
Shannon 687aa8cc99 Merge remote-tracking branch 'origin/temp8' into temp8-packages-ui 2019-01-11 10:37:22 +11:00
Shannon 74c01af369 Splits logic for IPackageBuilder into ICreatedPackagesRepository and IInstalledPackagesRepository since it's nearly the same for both 2019-01-11 10:35:37 +11:00
Shannon Deminick 7dbd8a3515 Merge pull request #4024 from umbraco/temp8-4005
Temp8 4005
2019-01-11 10:17:22 +11:00
Warren Buckley 2e8a6c88a6 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2019-01-10 19:18:28 +00:00
Quan Tran 59349dd355 Fix - refine code 2019-01-10 19:35:51 +01:00
Quan Tran 4170faf76e add null checking 2019-01-10 19:35:51 +01:00
Sebastian Hoffback cc13b99787 Removed already deleted file canvasdesigner.panel.js from canvasdesigner.loader.js 2019-01-10 19:32:59 +01:00
Stephan 4586a55571 Merge branch 'temp8-pr3583' into temp8 2019-01-10 18:38:07 +01:00
Stephan 2baf3b5b41 Fixes 2019-01-10 18:37:48 +01:00
Stephan 09d28f720a Merge branch 'temp8' into temp8-fs 2019-01-10 16:45:50 +01:00
Stephan ed7c8da81f Merge branch 'temp8' of https://github.com/StefanoChiodino/Umbraco-CMS into temp8-pr3583 2019-01-10 16:29:36 +01:00
Stephan 003907358d Better runtime state detection, to support auto-install 2019-01-10 16:01:13 +01:00
Stephan 95ef6cd249 Merge branch 'temp8' into temp8-examine-updates-3920 2019-01-10 15:44:16 +01:00
Sebastiaan Janssen d69f0fe9dd #3993 Move color picker fix to correct method and update backwards compatibility test 2019-01-10 15:35:48 +01:00
Stephan 4700d8a69c Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-10 15:33:22 +01:00
Stephan 167084b39e Merge branch 'temp8-removes-config-based-indexes-3901' into temp8 2019-01-10 15:32:07 +01:00
Claus 875b7fc354 Merge remote-tracking branch 'origin/temp8-3642-content-templates-fixes' into temp8 2019-01-10 14:45:44 +01:00
Bjarke Berg 10d0c79c1d #3642 - also save all languages with content on publish 2019-01-10 14:28:22 +01:00
Claus 7ed66f41dc Merge branch 'temp8-3642-content-templates-fixes' into temp8 2019-01-10 14:20:51 +01:00
Stephan 7db3644fcd Merge remote-tracking branch 'origin/temp8' into temp8-removes-config-based-indexes-3901 2019-01-10 14:04:52 +01:00
Robert b000ead96b CTRL+K+D 2019-01-10 12:09:44 +01:00
Robert eafbf6dcae Update current urls on 'node.updateDate' 2019-01-10 12:07:53 +01:00
Bjarke Berg 228fca04ec #3642 - moved functionality to frontend about saving all variants the first time. 2019-01-10 10:06:42 +01:00
Kenn Jacobsen d2baf03119 Fix content picker dirty checking (#4003)
(cherry picked from commit d41dbce601)
2019-01-10 09:54:39 +01:00
Shannon 4bf3c1d05b Handles trying to create a package with a duplicate name 2019-01-10 19:27:25 +11:00
Shannon 568d5c2583 Fixes issue with redirect 2019-01-10 19:08:52 +11:00
Shannon 5cb99bfddc forgot to add the test class 2019-01-10 18:55:24 +11:00
Shannon 091c9471bb Gets macros in packages, gets the download button working to download a created package, more tests 2019-01-10 18:51:02 +11:00
Bjarke Berg d672531b0b #3642 - reuse method for determine if the content is new 2019-01-10 07:58:45 +01:00
Bjarke Berg b0b0477dab #3642 -bugfix for nonvariant 2019-01-10 07:34:28 +01:00
Shannon b8d2309b9c Gets the IPackageBuilder working and tested, now the controller can create and update packages, validation is also working, need to do some more tests for adding other entities , removes more of the old packaging code. 2019-01-10 17:18:47 +11:00
Bjarke Berg 7421378330 #3642 - use nameof instead of magic strings that has to be equal to variable name 2019-01-10 07:03:08 +01:00
Bjarke Berg 8594af3fe3 #3642 - Also do dirty checks if we have changed the culture. 2019-01-10 06:58:12 +01:00
Bjarke Berg 28d93175d5 #3642 - When saving content the first time, we need to save all variants (even when save is not true), otherwise we loose the information when the url are updated. 2019-01-10 06:56:56 +01:00
Bjarke Berg 50b98a65d3 Merge remote-tracking branch 'origin/temp8' into temp8-3642-content-templates-fixes 2019-01-10 06:26:06 +01:00
Shannon 5f972384b1 WIP - new IEntityXmlSerializer, IPackageCreation, PackageActionRunner, large refactor of entity serialization, no more IPackagingService.Export methods, ports legacy package creation code to new IPackageCreation, more more ExportEventArgs (makes no sense) 2019-01-10 12:44:57 +11:00
Stephan 944d47f669 Refactor filesystems registration 2019-01-09 17:39:32 +01:00
Stephan 2bc63b9700 fix build 2019-01-09 16:06:36 +01:00
Stephan 49668a48bc Upgrade ModelsBuilder (bugfix) 2019-01-09 15:09:16 +01:00
Sebastiaan Janssen ff085c97ce Revert "Added eslintignore file"
This reverts commit 673735c2fe.
2019-01-09 14:57:17 +01:00
Stephan 39028cd240 Upgrade ModelsBuilder (bugfix) 2019-01-09 14:09:31 +01:00
Warren Buckley 36541fa77c Merge pull request #4017 from kjac/v8-feature-content-app-badge-without-text
V8: Allow Content App badges without "count"
2019-01-09 13:01:07 +00:00
Kenn Jacobsen cd1338db82 Make the count-less badge a little bit bigger 2019-01-09 13:20:16 +01:00
Kenn Jacobsen aea41937f7 Allow content app badges without "count" 2019-01-09 13:18:27 +01:00
Warren Buckley 898f1f2397 Merge pull request #3995 from umbraco/temp8-3656-3988-fixes-for-variants
Temp8 3656 3988 fixes for variants
2019-01-09 12:00:39 +00:00
Kenn Jacobsen 10cf10b33a Set form as dirty when removing a tag 2019-01-09 12:22:55 +01:00
elitsa fe689e6855 Added timeout to for rebinding editor shortcuts, and a shortcut for a media picker. 2019-01-09 12:08:46 +01:00
Warren Buckley 6d808cb121 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2019-01-09 10:46:44 +00:00
elitsa bea740c6e0 Merge remote-tracking branch 'origin/temp8' into temo8-3895-infinite-editor-shortcut 2019-01-09 11:39:02 +01:00
Robert a809e35e5d Fixes - temp8-40120 tags-validation-bug 2019-01-09 11:29:42 +01:00
Kenn Jacobsen d41dbce601 Fix content picker dirty checking (#4003) 2019-01-09 11:20:34 +01:00
Shannon e27b873a5a Merge branch 'temp8-remove-package-ascx-3996' into temp8-packages-ui
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
#	src/Umbraco.Web/Trees/PackagesTreeController.cs
2019-01-09 20:57:02 +11:00
Sebastiaan Janssen ec60ba142a Fixes #3993 Recent changes in color picker has caused incompatibility with existing picker 2019-01-09 10:50:27 +01:00
Shannon 1772bc1e05 Merge branch 'temp8' into temp8-remove-package-ascx-3996 2019-01-09 20:47:26 +11:00
Warren Buckley 6e8b00d85c Merge pull request #3426 from kjac/v8-feature-content-app-badge
V8: Add notification badge to content app
2019-01-09 09:47:15 +00:00
Shannon fa82e1660b Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-09 20:44:17 +11:00
Shannon b3414166a6 webforms and legacy file cleanup 2019-01-09 20:43:46 +11:00
Bjarke Berg 70aa29ec7a #3642 - removed new stuff with on change event and fixed the old and broken, thats shared in tinymce 2019-01-09 10:20:01 +01:00
Stephan 9ef8e9afc1 Cleanup task runner 2019-01-09 10:05:10 +01:00
Shannon 2e558ed58d Merge branch 'temp8' into temp8-remove-package-ascx-3996 2019-01-09 19:12:01 +11:00
Shannon 4b58e34220 Align namespaces with _Legacy folder
# Conflicts:
#	src/Umbraco.Web/_Legacy/Packager/PackageInstance/InstalledPackage.cs
2019-01-09 19:08:09 +11:00
Shannon a955ef2b36 Align namespaces with _Legacy folder 2019-01-09 19:05:01 +11:00
Shannon 640de1c1a4 very small cleanup before some package code changes 2019-01-09 18:59:59 +11:00
Shannon e73884250a references the form directly 2019-01-09 18:41:52 +11:00
Shannon Deminick e6abfe0720 Merge pull request #3978 from umbraco/temp8-3708
Fixes - Fix publish/draft status for variant content when invariant p…
2019-01-09 17:03:55 +11:00
Shannon c7598bf647 changes the invariant check back since this is how it was done before in code above, plus means a later refactor of property/propertytype will be easier 2019-01-09 17:03:34 +11:00
Shannon a1ad04e04e Refactors a bit of the BuildDtos method and adds a unit test 2019-01-09 16:57:40 +11:00
Shannon 0267378bf9 Merge remote-tracking branch 'origin/temp8' into temp8-3708 2019-01-09 13:19:40 +11:00
Bjarke Berg 9bbe743686 syntax 2019-01-08 22:30:12 +01:00
Kenn Jacobsen a16e31c671 Safeguard the tags value converter against empty tags
(cherry picked from commit cc6c16894c)
2019-01-08 21:52:58 +01:00
Floris Robbemont d19a23eec6 Fix for wrong sorting overload in MediaService (#3948)
(cherry picked from commit 0852b20b31)
2019-01-08 21:50:58 +01:00
Sebastiaan Janssen 0f61de8bcd Bumps version to 7.14.0 2019-01-08 21:49:17 +01:00
Sebastiaan Janssen 5b17072d55 Bump version to 7.13.1 2019-01-08 21:45:34 +01:00
Sebastiaan Janssen 51875539b9 Fixes #4000 - 7.13.0 Creating new node as an editor causes exception
(cherry picked from commit caf7a6a1ca)
2019-01-08 21:44:17 +01:00
Sebastiaan Janssen 030fd4d375 Git clone includes a directory to clone to now,
should fix Azure Gallery release.
Tightened up the variables and paths.

(cherry picked from commit e0a38a4d9b)
2019-01-08 21:44:07 +01:00
Sebastiaan Janssen 7658fba725 Fixes #3990 All images uploaded to media section have umbracoHeight / umbracoWidth of 200x200px
(cherry picked from commit 086157cff8)
2019-01-08 21:43:53 +01:00
Sebastiaan Janssen caf7a6a1ca Fixes #4000 - 7.13.0 Creating new node as an editor causes exception 2019-01-08 21:32:47 +01:00
Stephan 349f48aa2d Refactor task runner maindom hooks 2019-01-08 20:49:21 +01:00
Warren Buckley 2422000b3e Updates RemoteDashboard so FINALLY the main image on the left loads in V8 backoffice
* Adds a new filter that uses the Angular $sce.trustAsHtml() function
2019-01-08 16:20:11 +00:00
Sebastiaan Janssen e0a38a4d9b Git clone includes a directory to clone to now,
should fix Azure Gallery release.
Tightened up the variables and paths.
2019-01-08 15:53:58 +01:00
Bjarke Berg 33ee239406 #3642 - Worked on creating blueprints 2019-01-08 15:23:05 +01:00
Bjarke Berg f2dac9df3c #3988 - Save RTE value on model.value on each change event 2019-01-08 13:59:33 +01:00
Stephan 429423c07f Unwrap wrapped filesystems 2019-01-08 12:52:16 +01:00
Sebastiaan Janssen 086157cff8 Fixes #3990 All images uploaded to media section have umbracoHeight / umbracoWidth of 200x200px 2019-01-08 12:51:14 +01:00
Bjarke Berg 89b5984794 #3695 - force the form to be dirty if any variant is still dirty 2019-01-08 11:01:28 +01:00
Dave Woestenborghs b9d779e921 #3417 prototyped the UI for settings of the macro 2019-01-08 08:34:46 +01:00
Stephan cf631e60dd Fix nuspec 2019-01-08 07:55:38 +01:00
Shannon c6d13ebc39 Merge remote-tracking branch 'origin/temp8' into temp8-3708 2019-01-08 17:17:10 +11:00
Shannon 801e9da028 Fixes issue with dynamically creating/storing field definitions, latest examine update 2019-01-08 16:37:16 +11:00
Shannon 340a7e5383 Changes published index flag to y/n instead of 1/0 2019-01-08 14:04:37 +11:00
Shannon 4a1ae0573f Gets definitions dynamically applied for culture specific fields. 2019-01-08 13:25:07 +11:00
Stephan 436fa261f5 Merge remote-tracking branch 'origin/temp8' into temp8 2019-01-07 19:42:33 +01:00
Stephan a1400d33fd Fixes, version 8.0.0-alpha.58 2019-01-07 19:41:23 +01:00
Stephan 19ae9f5dee Refactor configuration for DI 2019-01-07 19:40:07 +01:00
Robert e0511646af Fixes - Fix publish/draft status for variant content when invariant properties are edited 2019-01-07 16:23:26 +01:00
Warren Buckley 9b7737f0e4 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2019-01-07 14:11:09 +00:00
Warren Buckley c67cb0e8f2 Adds the TourFilterCollectionBuilder into the CompositionExtensions, as StarterKit uses this in its current ApplicationEventHandler 2019-01-07 14:11:00 +00:00
Shannon f7c70bde1e Fixing up the PublishedContentQuery.Search implementation 3920 2019-01-07 23:49:29 +11:00
Sebastiaan Janssen 21612454d0 Update umbtoggle.directive.js 2019-01-07 13:45:43 +01:00
Claus 003d54cacd cleanup usings 2019-01-07 12:59:38 +01:00
Sebastiaan Janssen d53d0b4271 Add disabled state to toggle (#3967)
(cherry picked from commit d231db8ef2)

# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/languages/edit.html
2019-01-07 12:53:31 +01:00
Bjarne Fyrstenborg d231db8ef2 Add disabled state to toggle (#3967) 2019-01-07 12:41:07 +01:00
Kenn Jacobsen 4564623899 Don't use a hardcoded folder type alias to determine folder types in the list view 2019-01-07 12:31:05 +01:00
Sebastiaan Janssen 12f7268423 Also update web.Template.config with latest version of Microsoft.CodeDom.Providers.DotNetCompilerPlatform 2019-01-07 12:01:53 +01:00
Kenn Jacobsen ab11be50a3 Don't change content app when saving media items 2019-01-07 11:22:27 +01:00
Warren Buckley 9ce35d25d2 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer
# Conflicts:
#	src/Umbraco.Core/Migrations/Install/DatabaseSchemaCreator.cs
2019-01-07 09:59:15 +00:00
Kenn Jacobsen cc6c16894c Safeguard the tags value converter against empty tags 2019-01-07 10:36:05 +01:00
Stephan 775dd67254 Version 8.0.0-alpha-57 2019-01-07 09:46:11 +01:00
Stephan 4fa43abe23 Fix nuspec 2019-01-07 09:46:11 +01:00
Stephan 84f6239c98 Components Initialize and Terminate 2019-01-07 09:46:11 +01:00
Stephan 5855eaa4c9 Fix nuspec 2019-01-07 09:32:44 +01:00
Shannon 4ca95a11ee Fixes index populator registration and fixes the populators/rebuilders to not execute any lookups if there are no indexes 2019-01-07 18:49:55 +11:00
Kenn Jacobsen b861b379db Make the on-click-outside directive work again 2019-01-07 08:45:37 +01:00
Dave Woestenborghs edd2adc8a0 #3417 changed path of macro tree item to use angular view instead of webform 2019-01-07 08:31:06 +01:00
Dave Woestenborghs 2ca7bb0cf3 #3417 implemented create dialog for macros 2019-01-07 08:28:50 +01:00
Shannon 0356e5a224 Updates to latest examine, fixes issue with rebuilding indexes in the back office seeming to timeout but was a problem with the callback registration in examine 2019-01-07 18:16:06 +11:00
Shannon 118ad5361a Merge remote-tracking branch 'origin/temp8' into temp8-removes-config-based-indexes-3901
# Conflicts:
#	src/Umbraco.Examine/UmbracoExamineIndex.cs
2019-01-07 16:17:58 +11:00
Shannon e20e570dc8 Fixes tests 2019-01-07 16:15:51 +11:00
Stephan 8ce50ca357 Missing change broke the build 2019-01-05 16:24:49 +01:00
Stephan 048b6aa529 Expose FileSystemWrapper.InnerFileSystem 2019-01-05 15:49:35 +01:00
Stephan 5670c6354e Introduce ComponentComposer to simplify registration of components 2019-01-05 15:49:10 +01:00
Dave Woestenborghs d7af9d9fca #3417 added method to macro resource to create a macro 2019-01-04 17:36:42 +01:00
Dave Woestenborghs 03ce922124 #3417 register new api url in server variables 2019-01-04 17:10:53 +01:00
Stephan edfc3996d6 Adjustments for Forms and Deploy 2019-01-04 16:42:55 +01:00
Sebastiaan Janssen 62d6cf111e Applies fix for #3937 to v8 as well 2019-01-04 15:12:09 +01:00
Claus 2fad3c745a Merge branch 'temp8-3539-support-for-variants-in-redirects' into temp8
# Conflicts:
#	src/Umbraco.Web/Routing/RedirectTrackingComponent.cs
2019-01-04 14:36:55 +01:00
Dave Woestenborghs c61b5f947d #3417 renamed server variable 2019-01-04 13:49:03 +01:00
Bjarke Berg 6ad2adf4a2 #3539 - use culture to find the url in the actual redirect 2019-01-04 13:47:23 +01:00
Stephan b0ccdaa4f9 Merge branch 'temp8-di2690' into temp8 2019-01-04 13:17:04 +01:00
Bjarke Berg da6a815f16 #3539 - reverted one line 2019-01-04 13:17:01 +01:00
Floris Robbemont 0852b20b31 Fix for wrong sorting overload in MediaService (#3948) 2019-01-04 11:55:52 +00:00
Dave Woestenborghs e1906113b9 #3417 added macro api controller and create method 2019-01-04 12:31:58 +01:00
Dave Woestenborghs bb6848dd03 #3417 renamed existing macrocontroller to macro rendering controller 2019-01-04 11:44:23 +01:00
Stephan 025cdede6c Merge branch origin/temp8 into temp8-di2690 2019-01-04 11:43:14 +01:00
Stephan 52ada8cec3 Fix nuspec for MB 2019-01-04 11:42:39 +01:00
Dave Woestenborghs 8304ada528 #3417 added create view 2019-01-04 11:39:33 +01:00
Claus 9821901717 Merge remote-tracking branch 'origin/dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Core/StringExtensions.cs
#	src/Umbraco.Web/UI/LegacyDialogHandler.cs
#	src/Umbraco.Web/WebServices/SaveFileController.cs
2019-01-04 11:30:51 +01:00
Bjarke Berg 9bf66b0881 #3539 - Re-enabled url redirect tracking and implemented support for culture variants 2019-01-04 11:24:30 +01:00
Stephan 2705de5d60 Revert "Temporary downgrade of MB due to missing onlien pkg"
This reverts commit b8191c3652.
2019-01-04 11:13:41 +01:00
Dave Woestenborghs d50061b4af Merge branch 'temp8' into temp-3417 2019-01-04 10:50:56 +01:00
Stephan 1875270db1 Compose after/before 2019-01-04 10:29:29 +01:00
Claus 08e13ac530 Merge pull request #3814 from umbraco/temp7-269-xss-stylesheets
Removing malicious code from the name of a Stylesheet.
2019-01-04 10:11:25 +01:00
Stephan 97272e6220 Bugfix 2019-01-04 09:55:09 +01:00
Claus 71f2b7ee06 updating unit tests. 2019-01-04 09:40:55 +01:00
Claus 7ead62730b reverting changes to StripHtml method. 2019-01-04 09:34:24 +01:00
Stephan f6cd13488e Refactor collection builders to be nicer with DI 2019-01-04 09:34:08 +01:00
Stephan 3f1843def0 Merge remote-tracking branch 'lars-erik/temp8-u4-11427-remove-propertyinjection' into temp8-di2690 2019-01-04 08:36:48 +01:00
Stephan 1bd4cba9ac Fix component constructors 2019-01-04 08:36:38 +01:00
Bjarke Berg e1709eaed5 Bugfix, missing return, when publishing with decendants and the root do not have variants. 2019-01-04 08:16:20 +01:00
Lars-Erik Aabech 7cfe2115c0 Actually uses a scope in the ScopeBuilderCreatesScopedCollection tests 2019-01-04 00:15:06 +01:00
Lars-Erik Aabech 8e5ed6eaa6 Internalize testing ctor to provide unambiguous ctor for container. (Non LI req. / MS-DI) 2019-01-03 22:43:08 +01:00
Lars-Erik Aabech 0455c7ffd5 Public ctor on ExamineComponent to allow construction 2019-01-03 22:14:49 +01:00
Lars-Erik Aabech c18ed7e15a Registering WebRuntimeComponent and publicizing its dep. chain 2019-01-03 22:11:25 +01:00
Lars-Erik Aabech b8191c3652 Temporary downgrade of MB due to missing onlien pkg 2019-01-03 21:38:56 +01:00
Lars-Erik Aabech b8a939d1a1 Public ctor on CoreRuntimeComponent 2019-01-03 21:37:35 +01:00
Stephan 0481c2c736 Fix components 2019-01-03 21:10:13 +01:00
Stephan 9b756b9ce6 Fix components 2019-01-03 21:04:39 +01:00
Stephan 816ed84a2f Refactor components 2019-01-03 21:00:28 +01:00
Warren Buckley baa37549fb Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2019-01-03 13:52:14 +00:00
Claus f69cb89e30 Merge pull request #3810 from kjac/v8-fix-replace-snippet-jquery-dependencies
V8: Replace jquery dependencies for partial snippets
2019-01-03 13:44:57 +01:00
Stephan 9fe8b5f654 TEMP 2019-01-03 11:41:56 +01:00
Stephan 7a37c8743b Add container tests 2019-01-03 11:41:40 +01:00
Bjarke Berg 6490f57f70 Removed commented out code. 2019-01-03 10:53:33 +01:00
Sebastiaan Janssen aceb5c7971 Merge branch 'dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Core/IO/MediaFileSystem.cs
#	src/Umbraco.Web.UI.Client/src/less/helveticons.less
#	src/Umbraco.Web.UI.Client/src/views/content/copy.html
#	src/Umbraco.Web.UI.Client/src/views/content/move.html
#	src/Umbraco.Web.UI.Client/src/views/media/move.html
#	src/Umbraco.Web.UI/Umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/umbraco/dialogs/rollBack.aspx
#	src/Umbraco.Web/Editors/LogController.cs
#	src/Umbraco.Web/Editors/PasswordChanger.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/rollBack.aspx.cs
2019-01-03 10:32:34 +01:00
Stephan 4f7a5e3046 Bugfix RuntimeState 2019-01-03 09:50:51 +01:00
Bjarke Berg eda46a16d0 Changed IContentType on IContent to a more simple class with lesser properties 2019-01-03 09:27:52 +01:00
Stephan a434ac8c74 Upgrade to ModelsBuilder -alpha.26 2019-01-03 09:11:11 +01:00
Kenn Jacobsen 4b60d8bca6 Fix the content template selector in the content tree 2019-01-03 07:57:23 +00:00
Kenn Jacobsen 525b229b42 Fix content creation from list views 2019-01-03 07:56:17 +00:00
Kenn Jacobsen 2dfbb1d555 Don't attempt to apply a filter if none is submitted 2019-01-03 07:53:20 +00:00
Stephan 81a9807206 Version 8.0.0-alpha.56 2019-01-02 18:14:48 +01:00
Stephan ceab758100 Merge branch 'temp8' into temp8-di2690 2019-01-02 16:44:35 +01:00
Stephan 986a7f368f Merge branch 'temp8' into temp8-removes-config-based-indexes-3901 2019-01-02 15:37:20 +01:00
Stephan 17d818b604 Make Current.Container public for Deploy, wont last 2019-01-02 15:29:22 +01:00
Stephan ebf15b9052 Fix CacheRefresher and DistributedCache 2019-01-02 15:24:33 +01:00
Claus 5b7a205835 Merge branch 'kjac-v8-feature-angular-public-access' into temp8 2019-01-02 13:42:36 +01:00
Claus fb9d5a3c5d Merge branch 'v8-feature-angular-public-access' of https://github.com/kjac/Umbraco-CMS into kjac-v8-feature-angular-public-access 2019-01-02 11:58:24 +01:00
Stephan b21d07a282 Merge branch origin/temp8 into temp8-di2690 2019-01-02 10:23:24 +01:00
Warren Buckley 4651325d77 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/services/navigation.service.js
2019-01-01 19:08:59 +00:00
Aaron Powell 0e56f2035d Using npx for running gulp (#3938) 2018-12-31 14:10:31 +00:00
Kenn Jacobsen 0150b97278 Show password change validation errors at the correct fields (#3918)
* Show password change validation errors at the correct password fields + remove the redundant "Could not reset password, errors: " message text

* Explicitly find the user instead of mapping it.
2018-12-31 14:02:59 +00:00
Kenn Jacobsen af2f531d31 Add missing localization of dialogs (#3844) 2018-12-31 13:37:58 +00:00
Kenn Jacobsen 884eaf50c3 Fix the flickering name when moving/copying mediatypes 2018-12-31 13:37:24 +00:00
Kenn Jacobsen d054771fc6 Fix the flickering name when moving/copying doctypes 2018-12-31 13:36:25 +00:00
Sebastiaan Janssen 5e680e80e6 Deletes commented out code 2018-12-31 12:49:54 +00:00
Dave Woestenborghs ee8b4c5884 #3916 fix multiple enumerations of ienumerable...so usernames and avatars are displayed correctly 2018-12-31 12:49:54 +00:00
Dave Woestenborghs 0ce54847b0 #3916 mapping to a IEnumerable resulted in all items in the result list being the same. Now map items indiviually. Could be caused by this : https://stackoverflow.com/questions/17268362/automapper-for-a-list-scenario-only-seems-to-repeat-mapping-the-first-object-in 2018-12-31 12:49:54 +00:00
Callum Whyte b852c78861 Fixing spelling mistakes in helveticons CSS class names
The icon picker uses these class names as labels, kept the old class names for backwards compatibility
2018-12-31 12:47:04 +00:00
Kenn Jacobsen cace1af958 Fix the flickering name when moving datatypes 2018-12-31 12:45:37 +00:00
Anders Bjerner 91616a527d Should be "Add group" to keep the casing consistent 2018-12-31 12:44:25 +00:00
Kenn Jacobsen debbf87a04 Support image crop data set when overwriting files using the API 2018-12-31 12:43:06 +00:00
Brian Juul Andersen b2a1b11a5b Fixed minor grammatical error 2018-12-29 20:20:02 +00:00
Stephan 8d9bf91512 Merge branch 'temp8-migrations' into temp8 2018-12-28 21:33:00 +01:00
Brian Juul Andersen 51c9912828 Update CONTRIBUTION_GUIDELINES.md
Fixed minor grammatical error.
2018-12-28 11:43:20 +01:00
elitsa f1197a6db2 Adding shortcuts for closing an infinite editor through Escape key. 2018-12-27 13:23:20 +01:00
elitsa 0aa1dc1dc7 Adding tests for verifying that malicious code input will be cleaned for XSS. 2018-12-27 10:02:49 +01:00
elitsa bb60d5e035 Reverting changes made from merge. 2018-12-27 09:57:31 +01:00
elitsa 247f213d26 Merge remote-tracking branch 'origin/dev-v7' into temp7-269-xss-stylesheets 2018-12-27 08:50:44 +01:00
Stephan f21dbb3e77 Fix merge 2018-12-21 16:25:16 +01:00
Stephan a60fd1b7be Merge branch origin/temp8 into temp8-di2690 2018-12-21 15:47:08 +01:00
Stephan 29540b1835 TypeLoader TLC, better perfs and logging 2018-12-21 15:11:23 +01:00
Stephan a571af8be2 Make more types IDiscoverable 2018-12-21 13:42:24 +01:00
Stephan 90ab90d6b9 Fix ExamineComponent crashing on shutdown 2018-12-21 13:42:04 +01:00
Stephan bb9846a6ca Merge branch origin/temp8 into temp8-di2690 2018-12-21 10:58:38 +01:00
Stephan 798eb1099a Merge branch 'temp8' into temp8-migrations 2018-12-21 10:46:37 +01:00
Stephan 70dd85f708 Misc fix 2018-12-21 10:38:14 +01:00
Stephan d0623bc494 Merge branch 'temp8' into temp8-removes-config-based-indexes-3901 2018-12-21 09:25:37 +01:00
Stephan f807d40b95 Merge branch 'temp8-contentquery-search-culture-3828' into temp8 2018-12-21 09:00:13 +01:00
Stephan 7f6994514f Merge branch 'temp8' into temp8-contentquery-search-culture-3828 2018-12-21 09:00:03 +01:00
Stephan 9db0f540d0 Fix failing tests 2018-12-21 08:58:20 +01:00
Shannon 698b83c455 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-12-21 14:17:36 +11:00
Shannon d1befc876f manual merges 2018-12-21 13:48:59 +11:00
Shannon 711304dffe manual merges 2018-12-21 13:44:18 +11:00
Shannon 7e20e81cc8 Fixes EntityRepository and EntityService to perform order by operations correctly 2018-12-21 13:15:46 +11:00
Stephan 4a71d14097 Simplify migrations 2018-12-20 18:38:55 +01:00
Stephan b0eb0d1205 Fix tests 2018-12-20 15:36:12 +01:00
Stephan 4e91a5bb3e Merge branch 'temp8-3658-contextual-info-app' into temp8 2018-12-20 14:32:03 +01:00
Stephan e959605b39 Cleanup and deal with FIXMEs 2018-12-20 14:31:46 +01:00
Stephan 1ffd457985 Merge branch 'temp8' into temp8-3658-contextual-info-app 2018-12-20 13:42:19 +01:00
Stephan 4039127c3d Merge branch 'temp8' into temp8-contentquery-search-culture-3828 2018-12-20 13:31:38 +01:00
Stephan 23eabee1a2 Misc fixes 2018-12-20 13:31:34 +01:00
Stephan 56c82d120b Bugfix keepalive route issue 2018-12-20 13:30:19 +01:00
Stephan 5286e02f11 Merge branch 'temp8' into temp8-contentquery-search-culture-3828 2018-12-20 10:19:02 +01:00
Stephan 8219e0ccdd Fix failing test 2018-12-20 08:25:58 +01:00
Shannon e7a06467f1 Fixes merge issues, manually merges other changes 2018-12-20 17:50:16 +11:00
Shannon 2fcb30e54e Merge remote-tracking branch 'origin/dev-v7' into temp8
# Conflicts:
#	.editorconfig
#	.gitignore
#	src/Umbraco.Core/Persistence/Repositories/EntityRepository.cs
#	src/Umbraco.Core/Persistence/Repositories/UserRepository.cs
#	src/Umbraco.Web.UI.Client/src/common/services/navigation.service.js
#	src/Umbraco.Web.UI.Client/src/less/components/buttons/umb-era-button.less
#	src/Umbraco.Web.UI.Client/src/views/common/dialogs/login.html
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/contenttypeeditor/compositions/compositions.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/contenttypeeditor/compositions/compositions.html
#	src/Umbraco.Web.UI.Client/src/views/content/content.delete.controller.js
#	src/Umbraco.Web.UI.Client/src/views/content/content.restore.controller.js
#	src/Umbraco.Web.UI.Client/src/views/content/restore.html
#	src/Umbraco.Web.UI.Client/src/views/dashboard/developer/healthcheck.html
#	src/Umbraco.Web.UI.Client/src/views/media/media.move.controller.js
#	src/Umbraco.Web.UI.Client/src/views/media/move.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/dialogs/layoutconfig.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/dialogs/rowconfig.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.html
#	src/Umbraco.Web.UI/Umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI/config/umbracoSettings.Release.config
#	src/Umbraco.Web.UI/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web/Controllers/UmbLoginController.cs
#	src/Umbraco.Web/Controllers/UmbLoginStatusController.cs
#	src/Umbraco.Web/Controllers/UmbProfileController.cs
#	src/Umbraco.Web/Controllers/UmbRegisterController.cs
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/Umbraco.Web/Editors/ContentTypeControllerBase.cs
#	src/Umbraco.Web/HtmlHelperRenderExtensions.cs
#	src/Umbraco.Web/Trees/ContentTreeController.cs
#	src/Umbraco.Web/Trees/MediaTreeController.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/create/XsltTasks.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/create/xslt.ascx.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/developer/Xslt/editXslt.aspx.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/webservices/codeEditorSave.asmx.cs
2018-12-20 16:58:01 +11:00
Kenn Jacobsen 6ca2c27ed3 Remove member groups controller TODO's 2018-12-19 21:01:19 +01:00
Kenn Jacobsen 97f9151473 Add "Move" option for deleted items in the content tree (#3772) 2018-12-19 18:19:51 +01:00
Kenn Jacobsen d01dfb4ba6 Add search to move media dialog 2018-12-19 18:10:50 +01:00
Kenn Jacobsen 49387aaa02 Fix errors creating content templates + support variants (#3831) 2018-12-19 18:08:14 +01:00
Kenn Jacobsen 7e144eeacf V8: Fix listviews in pickers (#3894) 2018-12-19 18:01:36 +01:00
Kenn Jacobsen 47ccc8f584 Group content and media types by folder when setting up compositions (#3900) 2018-12-19 17:59:31 +01:00
Kenn Jacobsen b173b41ce0 V8: Fix and clean up the restore media dialog (#3781) 2018-12-19 17:42:42 +01:00
Kenn Jacobsen d431e80df2 Fix more missing localization 2018-12-19 17:30:39 +01:00
Kenn Jacobsen 28ac63a22c Re-introduce accidentally removed localization 2018-12-19 17:30:39 +01:00
Kenn Jacobsen 5944cec8fc Fix and clean up the restore content dialog 2018-12-19 17:30:39 +01:00
Steve Temple fcbfb1a56e Rename PluginManager to TypeLoader in tests 2018-12-19 16:44:35 +01:00
Dave Woestenborghs 8aa5fe8695 Setting hide-alias to false still hides the alias
When using umb-editor-header setting hide-alias to false still hides the alias.

I would expect that it would be visible. The only thing that works to make it visible to is removing the hide-alias attribute.

This PR fixes this. So now you can hide the alias based on property of your scope.

Dave
2018-12-19 16:28:03 +01:00
Kenn Jacobsen 506319695b Fix container creation for media types (#3839) 2018-12-19 16:24:56 +01:00
Kenn Jacobsen 12586df562 Use a member group picker for member group assignment (#3888) 2018-12-19 16:21:14 +01:00
Kenn Jacobsen bb53c020e9 Fix the member group picker 2018-12-19 16:20:22 +01:00
Kenn Jacobsen a165a2b719 Reload list views after deleting items (#3853) 2018-12-19 16:18:11 +01:00
Lukasz Wojciech Kaleta 9c101622d0 Delete user start node assignments before deleting the user 2018-12-19 16:16:58 +01:00
Tristan Thompson 2a61d0d988 Remove/Replace ping.aspx
Remove ping.aspx
Add KeepAliveController to receive ping requests
Update KeepAlive.cs to call new MVC route rather than ping.aspx
2018-12-19 16:13:23 +01:00
Thomas Morris 3b7e8e05f2 Fixes references to docs in sln 2018-12-19 16:11:14 +01:00
Stephan fd6a5f60d2 Merge branch 'temp8' into temp8-contentquery-search-culture-3828 2018-12-19 16:06:35 +01:00
Stephan 720ad984dc Merge branch 'temp8-backoffice-search-with-variants' into temp8 2018-12-19 16:02:54 +01:00
Stephan 5593d49719 Minor fixes as per PR#3852 discussion 2018-12-19 16:00:29 +01:00
Karl Tynan 9f9b9d8ccc Update translation alias to use existing emptyRecycleBin naming instead of Trashcan
Removed unused translation alias also
2018-12-19 16:00:04 +01:00
Gregory Dove 6365f910bc Better Validation Options (#3882) 2018-12-19 15:58:06 +01:00
Tristan Thompson 65f7e44338 Remove/Replace endPreview.aspx with MVC endpoint 2018-12-19 15:47:31 +01:00
Thomas Morris c79f557e94 Remove ClientRedirect.aspx 2018-12-19 15:43:57 +01:00
Kenn Jacobsen 9af6e3027f Don't show (blank) for non blueprint content types (#3887) 2018-12-19 15:41:24 +01:00
Paul Seal e41db72ef7 - added class and style rule to make health check fix message look be… (#3747) 2018-12-19 15:38:08 +01:00
Kenn Jacobsen b087b862e8 Make Nested Content support variant doctypes 2018-12-19 15:36:37 +01:00
Kenn Jacobsen 4d48254a93 Don't show "Create" and "Sort" for deleted items in the media tree 2018-12-19 15:33:53 +01:00
Kenn Jacobsen f3e8b70b8c Show only the success message upon successful update of notifications 2018-12-19 15:32:31 +01:00
Thomas Morris 7b804e27ad Removes umbraco.aspx 2018-12-19 15:30:07 +01:00
Kenn Jacobsen 410ab3447c Fix "toggle all editors" for grid rows 2018-12-19 15:13:36 +01:00
Kenn Jacobsen 96f529c669 Fix "allow all row configurations" for grid layouts 2018-12-19 15:12:32 +01:00
Kenn Jacobsen 08dc5a4038 Fix the disappearing action button by using a promise 2018-12-19 15:03:00 +01:00
Kenn Jacobsen b81f2512cb Fix the disappearing preview/save/publish buttons in listviews (#3906) 2018-12-19 15:01:18 +01:00
Marc Goodson 150ab13668 Honour 'Order Direction' passed into GetPagedResultsByQuery
Wanting to update the MiniListView so that you can change the sort order of the results, so that the most recent items are first, eg sort by descending, however chasing this through to the Entity Repository GetPagedResultsByQuery although the sort direction is passed at each stage, inside this method it is ignored... is this the best way to add it back in?
2018-12-19 14:06:11 +01:00
Mads Rasmussen cf56dbd34e add more docs for infinite editing - how to create a custom infinite editor 2018-12-19 13:43:58 +01:00
Shannon f724748225 No more IUserService.SavePassword - passwords are managed with Identity. 2018-12-19 23:27:47 +11:00
Shannon 0ad66c488b Long live Operathor 2018-12-19 22:06:04 +11:00
Shannon Deminick 4a83f1f37f Merge pull request #3897 from umbraco/temp8-3653-infinite-animations
reenable infinite editing animations
2018-12-19 17:30:10 +11:00
Shannon Deminick 6de9379b86 Merge pull request #3904 from umbraco/temp8-3650-infinite-keyboard-shortcuts
Temp8 3650 infinite keyboard shortcuts
2018-12-19 17:23:10 +11:00
Shannon 6a8c7d1a3b Writes some tests, fixes a bug, orders results, writes notes 2018-12-19 17:13:46 +11:00
Shannon 72d42e4228 updates the UI to show culture when the item is not variant and shows the unpublished status if the culture has no variants 2018-12-19 15:58:18 +11:00
Mads Rasmussen abb4ab6b0a fix open template/open doctype buttons 2018-12-18 21:56:06 +01:00
Stephan 7cdbe39ce5 Merge branch 'temp8' into temp8-backoffice-search-with-variants 2018-12-18 17:05:17 +01:00
Stephan 115b0cd2aa Merge branch temp8 into temp8-di2690 2018-12-18 15:42:45 +01:00
Shannon 36fd32ee9a remove unused comparer 2018-12-19 00:04:35 +11:00
Shannon 7047a07660 Shows the culture for URLs if the node is invariant but it has cultural URLs (it exists underneath a variant) 2018-12-19 00:03:49 +11:00
Mads Rasmussen 88d328a4e9 unbind all keyboard shortcuts from the underlaying editor so only keyboard shortcuts from the open editor works 2018-12-18 13:40:37 +01:00
Mads Rasmussen 9eecf9898e rebind keyboard shortcuts when infinite editors closes 2018-12-18 13:24:52 +01:00
Shannon a19a58796f Changes IUrlProvider to return UrlInfo 2018-12-18 22:02:39 +11:00
elitsa d7696e8d91 Making a variable const 2018-12-18 11:34:50 +01:00
Stephan 61fd924675 Merge branch 'temp8-3866' into temp8 2018-12-18 10:45:21 +01:00
Stephan 792bf40037 Rework for #3866 2018-12-18 10:44:59 +01:00
Stephan 00c6f77f7d Merge branch 'temp8' into temp8-3866 2018-12-18 10:39:48 +01:00
Stephan 53c67fad63 Rework for #3866 2018-12-18 10:39:39 +01:00
Stephan 813eccdc5a Fixes 2018-12-18 10:39:17 +01:00
Stephan d8d04c54e6 Fix IOHelper for debugging other apps 2018-12-18 08:33:54 +01:00
Stephan 8152862ad2 Fix issue with figuring out whether a published content version is draft 2018-12-18 08:31:10 +01:00
Stephan c020383c22 Remove confusing LazyCollectionBuilderBase.Remove 2018-12-18 08:31:10 +01:00
Shannon b9580b389e Merge remote-tracking branch 'origin/temp8' into temp8-3658-contextual-info-app 2018-12-18 18:04:38 +11:00
Shannon 193bc74f26 removes configuration based indexes 2018-12-18 17:55:30 +11:00
Shannon Deminick 2377d3ac11 Merge pull request #3891 from kjac/v8-fix-publish-on-preview
V8: Don't publish on preview
2018-12-18 17:24:14 +11:00
Stephan 35ebced4ed True standalone test 2018-12-17 18:55:36 +01:00
Mads Rasmussen 4068dca938 reenable infinite editing animations 2018-12-17 13:55:08 +01:00
Mads Rasmussen ebc689032d fix dictionary pickers in code editors 2018-12-17 10:48:33 +01:00
Shannon Deminick fde64f157c Merge pull request #3818 from umbraco/temp7-268-xss-xslt
Fixing XSS issue with Xslt files.
2018-12-17 15:20:36 +11:00
Shannon Deminick 518f5137e6 Merge pull request #3847 from umbraco/temp7-267-membership-tokens
Implementing a validation token when a membership form is submitted.
2018-12-17 15:14:32 +11:00
Shannon 07d2320898 fixes bool 2018-12-17 13:44:11 +11:00
Shannon 7484626893 Allows passing in a culture to the IPublishedContentQuery search methods 2018-12-17 13:11:51 +11:00
Shannon 4976782247 Updates search published content search extensions to correspond with new examine api changes, updates examine api changes 2018-12-17 12:17:03 +11:00
Kenn Jacobsen 33b9870aec Only perform save when previewing - not a publish 2018-12-16 21:52:45 +01:00
Shannon 4a23a6d3d0 Merge branch 'temp8-backoffice-search-with-variants' into temp8-examine-extensibility-3535 2018-12-14 13:17:51 +11:00
Shannon 9cc729d90b Merge branch 'temp8' into temp8-backoffice-search-with-variants
# Conflicts:
#	src/Umbraco.Examine/ExamineExtensions.cs
2018-12-14 13:06:54 +11:00
Shannon Deminick 6e4ec6e020 Merge pull request #3807 from umbraco/temp8-3675-variant-tags
Support variant tags
2018-12-14 12:38:42 +11:00
Shannon d38e4e6e34 latest examine, fixes sortability 2018-12-14 11:32:20 +11:00
Shannon 162f8480d1 more tweaks to get config based indexes working, updates to IIndexPopulator to have strongly typed association 2018-12-13 23:17:58 +11:00
Shannon c129375dd0 more bug fixes 2018-12-13 22:33:41 +11:00
Stephan 7cad591b86 Fixes 2018-12-13 11:12:48 +01:00
Shannon 2060f69ab0 Allow configuring a DirectoryFactory for all LuceneIndexes created with LuceneIndexCreator 2018-12-13 21:09:56 +11:00
Warren Buckley 3d391fdfb6 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-12-13 08:49:35 +00:00
Stephan 96aff943d5 Bugfix tags (in)variant 2018-12-13 09:15:51 +01:00
Shannon 7159bca71f Update to latest examine api changes 2018-12-13 18:24:06 +11:00
Shannon 5e6320730d Updates nuspec to latest examine 2018-12-13 18:18:04 +11:00
Shannon 8be55f8f98 Merge branch 'temp8' into temp8-examine-extensibility-3535 2018-12-13 16:40:56 +11:00
Shannon ce3395cc1e fix build 2018-12-13 15:13:56 +11:00
Shannon c8b3f11498 latest examine, tweaks to UmbracoFieldDefinitionCollection, adds some test code for testing 2018-12-13 15:04:18 +11:00
Aaron Powell 9649e61f17 Fixing #3866 - making a few methods public 2018-12-13 11:54:32 +11:00
Stephan adced099be Move UmbracoConfig singleton to Current 2018-12-12 23:31:16 +01:00
Kenn Jacobsen 082d65b78f Merge branch 'v8-feature-angular-public-access' of https://github.com/kjac/Umbraco-CMS into v8-feature-angular-public-access 2018-12-12 23:07:53 +01:00
Kenn Jacobsen 41624c8c16 Remove the old aspx page 2018-12-12 23:07:41 +01:00
Stephan e40c9cb227 Fix missing dependencies errors, simplify 2018-12-12 16:07:21 +01:00
Stephan 3150f5d24e Merge branch temp8 into temp8-3675-variant-tags 2018-12-12 16:04:58 +01:00
Kenn Jacobsen 8ff4d821a8 Merge branch 'temp8' into v8-feature-angular-public-access 2018-12-12 15:42:31 +01:00
Kenn Jacobsen 1ba41986d7 Make sure the public access supports member based access 2018-12-12 15:35:34 +01:00
Stephan a74052d647 Further simplify upgrader 2018-12-12 15:29:40 +01:00
Mads Rasmussen defa231c4b add label for history 2018-12-12 14:29:20 +01:00
Stephan 3e082f1a94 Restructure registration of essential services, validate 2018-12-12 14:28:57 +01:00
Kenn Jacobsen e4f9c2916d Use "groups", not "roles" + return richer group models from API 2018-12-12 14:27:20 +01:00
Stephan 54c352f1f9 Kill sql.WriteToConsole 2018-12-12 13:28:52 +01:00
Stephan 376203a4e1 Further simplify upgrader 2018-12-12 13:28:52 +01:00
Stephan b60cda2e1b Add a missing null check 2018-12-12 13:28:51 +01:00
Stephan b086fd2f0b Cleanup the Umbraco migration plan 2018-12-12 13:28:51 +01:00
Stephan 84e0d0571f Refactor migration plan and upgrader 2018-12-12 13:28:51 +01:00
Stephan 478522a573 Migrations TLC 2018-12-12 13:28:51 +01:00
Stephan 68ee1181cb Execute true Sql<ISqlContext> in Migrations 2018-12-12 13:28:51 +01:00
Stephan 7b3cded115 Cleanup 2018-12-12 13:28:51 +01:00
Stephan 11edbc8638 Remove obsolete post-migrations 2018-12-12 13:28:51 +01:00
Stephan e65470de8b Document SqlContext 2018-12-12 13:28:51 +01:00
Stephan d7e61515de Refactor TypeLoader 2018-12-12 13:28:51 +01:00
Stephan e3cd19fed5 Fix tags (in)variant 2018-12-12 13:27:08 +01:00
Mads Rasmussen 4f6f959d7f Add missing translations 2018-12-12 13:12:13 +01:00
Mads Rasmussen c8593c23e6 show correct createDate for variants, only show contextual variant status, only show context variant urls, add variant log colors 2018-12-12 11:59:08 +01:00
Kenn Jacobsen 22b78ec617 Make sure at least one member is selected 2018-12-12 11:18:16 +01:00
Kenn Jacobsen 35f0bf92f2 Support custom membership providers (untested) 2018-12-12 09:55:35 +01:00
Kenn Jacobsen efb9b37f5d Change from member IDs to usernames in member selections 2018-12-12 09:27:03 +01:00
Stephan fc620af9d0 Merge branch 'temp8' into temp8-3675-variant-tags 2018-12-12 08:58:25 +01:00
Kenn Jacobsen e12d374ffa Merge branch 'temp8' into v8-fix-copy-media-types 2018-12-12 07:12:22 +01:00
Shannon 826a8baff5 Merge branch 'temp8' into temp8-backoffice-search-with-variants 2018-12-12 13:37:19 +11:00
Shannon 85b25485da removes trees from trees.Release.config 2018-12-12 13:34:54 +11:00
Shannon 51cfec4157 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-12-12 13:23:44 +11:00
Shannon b5da641d48 Uses the DefaultLockFactory to set the lock 2018-12-12 13:23:29 +11:00
Shannon Deminick bfcc68c7f9 Merge pull request #3856 from umbraco/temp8-forms-fullscreen
Makes the Forms Promo App/Section become fullscreen & removes the empty tree
2018-12-12 13:23:06 +11:00
Shannon 7cb83373ca Creates base class LuceneIndexCreator 2018-12-12 12:46:58 +11:00
Shannon 15c7d7ce77 Creates a sub-generic interface for creating indexes 2018-12-12 12:37:21 +11:00
Shannon 2254c3d00c Merge branch 'temp8' into temp8-backoffice-search-with-variants 2018-12-12 12:06:21 +11:00
Shannon e1743ae3ea Changes IValueSetBuilder to not be strongly typed, no need for that 2018-12-12 12:05:19 +11:00
Kenn Jacobsen ec24ebf93c Fix media type copying and move media type service unit tests to a separate class 2018-12-11 17:00:43 +01:00
Warren Buckley 767cd93f08 Adds in some logic if we have no child trees for that application/section then we create a SingleTreeRoot 2018-12-11 14:09:44 +00:00
Warren Buckley b0157d7116 We do not need to ship with these Umbraco Forms trees in the config file 2018-12-11 14:08:44 +00:00
Stephan 0dff7680fd Fix ContentTypeServiceTests (but, why???) 2018-12-11 14:05:04 +01:00
Mads Rasmussen b19f9c8114 update styling on forms install dashboard 2018-12-11 13:39:12 +01:00
Mads Rasmussen d06ccebf7c update docs for infinite editing 2018-12-11 13:03:18 +01:00
Warren Buckley acc238f6ef Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-12-11 11:23:18 +00:00
Warren Buckley 0ae9d30373 Revert recent change to Forms dashboard back into XML config - now that we have a way to modify from Umbraco Forms component 2018-12-11 09:43:47 +00:00
Mads Rasmussen 27f9490837 fix docs build 2018-12-11 10:14:18 +01:00
Stephan b6f55d12da Merge branch 'temp8' into temp8-3675-variant-tags 2018-12-11 10:11:27 +01:00
Stephan 8c31f69a6f Merge branch origin/temp8 into temp8-di2690 2018-12-11 10:04:42 +01:00
Stephan 35f4bba119 fix UrlProvider for invariant under variant 2018-12-11 10:00:55 +01:00
Stephan d077f9c8a7 Merge pull request #3600 from JimBobSquarePants/temp8
Optimized CombinedGuidsMediaPathScheme
2018-12-11 08:56:41 +01:00
Shannon 8048d57ffe ensures query fields contained the lowercased iso code 2018-12-11 17:57:40 +11:00
Shannon 1fe3045b4c Adds TODO notes 2018-12-11 17:54:10 +11:00
Shannon eb3841fc0a Searches on variant nodeName, orders ISearchableTree results by the corresponding tree SortOrder, fixes assembly scanning ISearchableTree 2018-12-11 17:51:47 +11:00
Shannon 5148f34b32 Fixes ISearchableTree lifetime registration, fixes routing that clears required query strings, fixes lucene search string, gets URls in search results working with default lang/variants 2018-12-11 15:42:32 +11:00
Shannon 9b52fa215f Allows replacing the model with the outgoing event args 2018-12-11 12:53:15 +11:00
Shannon e91cf0039b Adds ability to filter the outgoing dashboard model 2018-12-11 12:32:51 +11:00
James Jackson-South 64dc401be5 Merge branch 'temp8' into temp8 2018-12-11 06:28:23 +11:00
Stephan 046f6f3cd9 Merge branch origin/temp8 into temp8-di2690 2018-12-10 17:49:11 +01:00
Stephan f9967e2d7d Fix e25e509d84 breaking tests, fix original issue 2018-12-10 17:48:24 +01:00
Stephan f10b86c9ec Fix RelationMapperProfiler 2018-12-10 17:08:14 +01:00
Warren Buckley c4cf843b82 Adds in the Umbraco Forms Promo dashboard in via package.manifest so that Forms install can override when installed 2018-12-10 14:59:17 +00:00
Warren Buckley 20a65166be Merge remote-tracking branch 'origin/temp8' into temp8-logviewer
# Conflicts:
#	src/Umbraco.Web/Editors/BackOfficeServerVariables.cs
2018-12-10 14:31:03 +00:00
Stephan e173ea6dac Cleanup 2018-12-10 15:30:56 +01:00
Claus 5fb3ccd758 Merge branch 'temp8-3436-relationtypes' into temp8 2018-12-10 14:24:00 +01:00
Mads Rasmussen c61ac406bb fix fade animation when closing the last infinite editor 2018-12-10 14:20:57 +01:00
Claus ca0cd8711e minor fixes. 2018-12-10 14:11:02 +01:00
Claus cfd6a08366 Merge branch '3436-relations-editor' of https://github.com/jamescoxhead/Umbraco-CMS into jamescoxhead-3436-relations-editor 2018-12-10 13:27:34 +01:00
Mads Rasmussen 98cc48c0d3 remove infinite editing backdrop when discarding changes 2018-12-10 11:38:43 +01:00
elitsa 8518aaf4c1 Merge branch 'temp7-269-xss-stylesheets' of https://github.com/umbraco/Umbraco-CMS into temp7-269-xss-stylesheets
# Conflicts:
#	src/Umbraco.Core/StringExtensions.cs
2018-12-10 11:00:31 +01:00
elitsa 9edafe37e1 Merge branch 'dev-v7' into temp7-269-xss-stylesheets
# Conflicts resolved:
#	src/Umbraco.Core/StringExtensions.cs
2018-12-10 10:57:30 +01:00
elitsa 3c74ce2427 Implementing anti forgery token which will not allows members to be created by sending a request directly to the registration controller when the request is not coming from a page in the application 2018-12-10 08:55:54 +01:00
Jack Lawry a11b442cfd Update text 2018-12-10 08:31:07 +01:00
Kenn Jacobsen 9f9286ae45 Redirect to recycle bin after deletion 2018-12-10 08:16:37 +01:00
Shannon 86b0ab7dab Fixes the typeahead (mostly) 2018-12-10 17:32:10 +11:00
Shannon c80a9b1402 Fixes the typeahead (mostly) 2018-12-10 17:26:15 +11:00
Shannon 971e92d659 fixes last PublishedMediaTests 2018-12-10 14:11:41 +11:00
Shannon 5d028eea04 Merge branch 'temp8' into temp8-3675-variant-tags
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/tags/tags.html
2018-12-10 14:07:20 +11:00
Shannon db1a535af4 Fixes published media tests with Examine and un-ignores them... more tests are better than less even if we aren't using Examine for real media cache 2018-12-10 14:06:25 +11:00
Shannon bcd908e47d Changes term Indexer to Index and fixes a failing test 2018-12-10 13:06:39 +11:00
Anders Bjerner 7c8ab96b51 As Gitter has been removed from Our, we might as well remove it here 2018-12-09 18:20:41 +01:00
Kenn Jacobsen 87478163ed Reload the recycle bin when deleting an item (#3820) 2018-12-09 18:19:48 +01:00
Kenn Jacobsen 7149ebcb68 Localize document type scaffolds for nested content (#3483) 2018-12-09 18:15:11 +01:00
Kenn Jacobsen 852b44af0e Fix member roles assignment YSOD 2018-12-09 17:56:41 +01:00
Jannik Anker c2a8378b89 V8, Getting Started: typo in URL
Using HHTTPS as protocol just doesn't work :-/
2018-12-09 17:54:13 +01:00
Kenn Jacobsen 3ab5e166d3 Update the select avatar step for invited users 2018-12-09 17:48:10 +01:00
Sébastien Sougnez 1d9bb4605b Improvement to the .editorconfig file (#3795) 2018-12-09 17:44:11 +01:00
Kenn Jacobsen 939b320971 Fix the OK button for move and close success messages 2018-12-09 17:28:21 +01:00
Kenn Jacobsen 8ff697ad98 Fix the flickering source name and the close button when moving items in the media tree. 2018-12-09 17:26:24 +01:00
Kenn Jacobsen c00b3e283d Add dirty tracking for slider and datetime 2018-12-09 17:19:40 +01:00
Kenn Jacobsen a8b0ede770 Whoops forgot a file 2018-12-09 15:03:35 +01:00
Kenn Jacobsen c860a6b574 Pick members instead of entering username and password 2018-12-09 14:58:52 +01:00
Kenn Jacobsen a51d241dc2 Fix missing "opens dialog dots" for menu items created using the MenuItemList helper methods 2018-12-09 14:36:35 +01:00
Andy Neil e25e509d84 Resolved check for removed properties 2018-12-09 14:31:53 +01:00
Kenn Jacobsen e3e3e06458 Markdown editor: Fix the redo button + remove the button hover flicker 2018-12-09 14:29:39 +01:00
Kenn Jacobsen 573db0d142 V8 fix remove custom event directives (#3622) 2018-12-09 14:25:42 +01:00
Kenn Jacobsen 14fd9c835d V8: Fix the media picker folder creation and "sub folders" toggle button (#3630) 2018-12-09 14:17:57 +01:00
Kenn Jacobsen 0c9ecacca0 Undo the leftovers from another issue 2018-12-09 13:51:33 +01:00
Kenn Jacobsen 9b4a580734 Fix the changing source name when moving a node 2018-12-09 13:51:33 +01:00
Kenn Jacobsen a072278490 Fix the changing source name when copying a node 2018-12-09 13:47:37 +01:00
Kenn Jacobsen 355f02971d Fix the mardown editor button bar in split view 2018-12-09 13:36:40 +01:00
Kenn Jacobsen a795ed66e8 Use a member group picker instead of checkboxes 2018-12-08 14:50:05 +01:00
Stephan 8b0ab01df6 Merge branch 'temp8' into temp8-3675-variant-tags 2018-12-07 17:34:24 +01:00
Stephan 7f8eeeab83 Merge branch temp8 into temp8-di2690 2018-12-07 16:12:08 +01:00
Stephan bd91706f89 Cleanup test 2018-12-07 16:00:01 +01:00
Stephan 0d83da9327 Fix some tests 2018-12-07 15:59:57 +01:00
Stephan 02617885b4 Disable media tests that use Examine (no point) 2018-12-07 15:57:19 +01:00
Stephan 6d898128d4 Fix nuspec for Examine 2018-12-07 15:32:02 +01:00
Mads Rasmussen 2f7772d40a fix control picker 2018-12-07 15:19:41 +01:00
Kenn Jacobsen 33613f3c31 Merge branch 'temp8' into v8-feature-angular-public-access 2018-12-07 15:10:53 +01:00
Mads Rasmussen 53d7023b40 fix file picker 2018-12-07 15:01:12 +01:00
Stephan 04b38a2c46 Merge branch 'temp8' into temp8-3675-variant-tags 2018-12-07 14:26:19 +01:00
Kenn Jacobsen fb094f46be Fix edit content localization errors (#3840)
* Fix wrongly formatted localizations

* Swap hardcoded time format for a localized one

* Split date and time in publish messages
2018-12-07 14:17:34 +01:00
Stephan 1eee6dfb2f Cleanup 2018-12-07 14:05:47 +01:00
Stephan 6dad124d5b Merge branch 'temp8' into temp8-manifest 2018-12-07 13:53:28 +01:00
Stephan d1ab980048 Cleanup 2018-12-07 13:44:41 +01:00
Mads Rasmussen ce3729678e fix dictionary items and data types 2018-12-07 13:25:07 +01:00
Stephan ed222510f0 Fixes 2018-12-07 13:24:25 +01:00
Mads Rasmussen 90b0a8b14b correct binding of languages 2018-12-07 13:20:28 +01:00
Mads Rasmussen a411d13d0e fix binding of documenttypes and templates 2018-12-07 13:10:50 +01:00
Stephan 3df1c242c4 Merge remote-tracking branch 'lars-erik/temp8-u4-11427-remove-propertyinjection' into temp8-di2690 2018-12-07 13:09:22 +01:00
Warren Buckley f390e2979d Merge remote-tracking branch 'origin/temp8' into temp8-logviewer
# Conflicts:
#	src/Umbraco.Core/EnumerableExtensions.cs
2018-12-07 12:06:23 +00:00
Stephan 41b7d33d9a Cleanup test 2018-12-07 13:01:26 +01:00
Stephan 1919fa8a03 Fix some tests 2018-12-07 12:44:54 +01:00
Warren Buckley bb5a561932 Wiring up server side validation in the UI 2018-12-07 11:43:36 +00:00
Kenn Jacobsen 7fc69e5eb0 Add instructions on how to apply a display name in notification emails 2018-12-07 12:37:59 +01:00
Stephan ccd0437b2e Disable media tests that use Examine (no point) 2018-12-07 12:06:25 +01:00
Warren Buckley c94cfc0156 Merge branch 'temp8-packages-ui' of https://github.com/umbraco/Umbraco-CMS into temp8-packages-ui 2018-12-07 10:37:47 +00:00
Warren Buckley b35a8b406b Fix API Controller for Package create to support new entry & update existing entry 2018-12-07 10:37:33 +00:00
Mads Rasmussen 8252f4d95a clear create query string when using back button 2018-12-07 11:31:33 +01:00
Warren Buckley c7b49d928a Adds in validation to the POST / Create package to ensure name, author is set etc... 2018-12-07 10:22:33 +00:00
Mads Rasmussen 5d3432db51 get render model for content item 2018-12-07 11:15:08 +01:00
Warren Buckley ac3d82b2d8 Merge branch 'temp8-packages-ui' of https://github.com/umbraco/Umbraco-CMS into temp8-packages-ui 2018-12-07 09:30:10 +00:00
Warren Buckley a9aba6731d Update to CreatePackage API endpoint - the ID & Guid was getting overwritten by mistake 2018-12-07 09:29:44 +00:00
Mads Rasmussen fbf29f9f47 bind stylesheets correctly 2018-12-07 10:13:55 +01:00
Mads Rasmussen 6566a43ef9 change end point for delete created package 2018-12-07 10:05:31 +01:00
Stephan 710ec704b3 Merge branch temp8 into temp8-di2690 2018-12-07 09:52:46 +01:00
Stephan c62d64a9b7 Merge temp8 into temp8-3675-variant-tags 2018-12-07 09:36:58 +01:00
Stephan fb4717d31e Merge branch 'temp8-3527-indexes-via-code' into temp8 2018-12-07 09:27:38 +01:00
Sebastiaan Janssen 0095429ff0 Fix package.json after merge 2018-12-07 09:24:15 +01:00
Stephan 04b2765d72 Document 2018-12-07 09:03:36 +01:00
Stephan 159ae136f3 Merge branch 'temp8' into temp8-3675-variant-tags 2018-12-07 08:49:25 +01:00
Shannon 62d74f07bf fixes boolean change mistake to make sure that the Internal/external index has the correct PublishedOnlyFlag, latest examine update, fixes issue with queuing deletions before updates 2018-12-07 15:06:07 +11:00
Shannon ecce3604af Merge remote-tracking branch 'origin/dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Core/StringExtensions.cs
#	src/umbraco.presentation.targets
2018-12-07 13:16:13 +11:00
Shannon 3d3d249e7e adds notes 2018-12-07 13:13:00 +11:00
Shannon 413fea03aa reverts changes for published messaging with scheduled dates, we'll have to deal with that another day 2018-12-07 13:11:19 +11:00
Shannon 91af2c7708 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-12-07 12:50:09 +11:00
Shannon 5c49069805 removes XmlCacheComponent since we will never use the xml cache in a website 2018-12-07 12:49:41 +11:00
Shannon 9b3de7b655 manually merges in publishing messaging when publishing something that has an expire date 2018-12-07 12:49:20 +11:00
Shannon 219a236069 removes unused lang keys 2018-12-07 12:06:16 +11:00
Shannon 8da992aabf manually merges changed lang files and a few other things 2018-12-07 12:03:33 +11:00
Sebastiaan Janssen ebcf011287 Revert the addition of + which was a leftover from debugging 2018-12-06 16:58:12 +01:00
Warren Buckley 7f380347dc Some WIP binding updates in the view - will mostly need to bind an array of integers back to items 2018-12-06 15:35:40 +00:00
Warren Buckley 2013fd1619 Try the MakeNew method on CreatedPackage() 2018-12-06 14:41:53 +00:00
Mads Rasmussen 57f462b204 wire up create package 2018-12-06 15:26:12 +01:00
Warren Buckley c67cb46510 Merge branch 'temp8-packages-ui' of https://github.com/umbraco/Umbraco-CMS into temp8-packages-ui 2018-12-06 13:55:44 +00:00
Warren Buckley 6f5155b0f3 Adds in new attribute to override the specific PackageController JSON Serializer to use the NewtonSoft built-in VersionConvertor 2018-12-06 13:54:38 +00:00
Mads Rasmussen e566e240b1 prefill umbraco version number 2018-12-06 14:49:02 +01:00
Warren Buckley 6c25062e4b Merge branch 'temp8-packages-ui' of https://github.com/umbraco/Umbraco-CMS into temp8-packages-ui 2018-12-06 13:09:59 +00:00
Warren Buckley 34dc81058a Move the Delete method over into our new controller 2018-12-06 13:09:34 +00:00
Mads Rasmussen 9409b46ef4 fix back buttons 2018-12-06 13:57:21 +01:00
Sebastiaan Janssen 47287d9d80 Codebase now runs on VS2019 2018-12-06 13:19:04 +01:00
Mads Rasmussen 7df0869649 wire up delete 2018-12-06 13:13:55 +01:00
Sebastiaan Janssen 67f9d9d665 Codebase now runs on VS2019 2018-12-06 13:09:21 +01:00
Mads Rasmussen 3c399ade16 last textarea should be actions 2018-12-06 12:50:08 +01:00
Warren Buckley dfe224486c Merge branch 'temp8-packages-ui' of https://github.com/umbraco/Umbraco-CMS into temp8-packages-ui 2018-12-06 11:21:42 +00:00
Warren Buckley 465229fb39 Return PackageInstance as opposed to CreatedPackage in API responses 2018-12-06 11:21:28 +00:00
Warren Buckley c7e6cf44ed Anotate model so its camelCase friendly for API responses for Mads 2018-12-06 11:21:01 +00:00
Mads Rasmussen 452f97de62 wire up get created package by id 2018-12-06 11:53:26 +01:00
Warren Buckley 17a005c163 Fix up Umbraco.Sys object URL to API endpoint 2018-12-06 10:42:05 +00:00
Mads Rasmussen 68006f78ee wire up end point for get created packages 2018-12-06 11:33:03 +01:00
Warren Buckley de86dace70 Adds a Create/Publish method - will need to figure out validation 2018-12-06 10:18:31 +00:00
Warren Buckley cd8bb8ed99 Adds the package api controller to Umbraco.Sys JS object 2018-12-06 10:07:53 +00:00
Bjarke Berg 1aaa4a353e Bugfix 2018-12-06 11:02:35 +01:00
Warren Buckley 9df8c71bf4 Adds in Delete method 2018-12-06 09:54:21 +00:00
Warren Buckley 17d489bb54 Adds new API/Editor endpoint to deal with created packages - get methods 2018-12-06 09:50:05 +00:00
Warren Buckley 046b35e242 Merge branch 'temp8-packages-ui' of https://github.com/umbraco/Umbraco-CMS into temp8-packages-ui 2018-12-06 09:32:42 +00:00
Warren Buckley 3546de3207 Update packages tree so that its a full screen app/section like users 2018-12-06 09:32:04 +00:00
Mads Rasmussen 849cc2d383 remove tree sync for packages and users as we don't have a tree 2018-12-06 10:20:48 +01:00
Stephan 65370cf4e6 Fix copying tags when (un)variant 2018-12-06 10:20:40 +01:00
Bjarke Berg aee6156a09 Refactored the ManifestContentAppDefinition to have a factory and a seperate data class. 2018-12-06 10:02:23 +01:00
Shannon f671f41f7c removes commented out Relation type editor and the unused/disabled xml health check 2018-12-06 17:25:24 +11:00
Shannon 3e95d94726 fixes build 2018-12-06 17:24:06 +11:00
Shannon 07f15ec7b3 Merge remote-tracking branch 'origin/dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Core/Models/UserExtensions.cs
#	src/Umbraco.Core/Persistence/Repositories/AuditRepository.cs
#	src/Umbraco.Core/Persistence/Repositories/RepositoryBase.cs
#	src/Umbraco.Core/Services/ContentService.cs
#	src/Umbraco.Core/StringExtensions.cs
#	src/Umbraco.Tests/Migrations/Upgrades/SqlCeUpgradeTest.cs
#	src/Umbraco.Tests/TestHelpers/BaseDatabaseFactoryTest.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.Client/package.json
#	src/Umbraco.Web.UI.Client/src/common/services/contenteditinghelper.service.js
#	src/Umbraco.Web.UI.Client/src/views/common/dialogs/treepicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/linkpicker/linkpicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/checkboxlist/checkboxlist.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/dropdownFlexible/dropdownFlexible.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/dropdownFlexible/dropdownFlexible.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/radiobuttons/radiobuttons.html
#	src/Umbraco.Web.UI/Umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/fr.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/ru.xml
#	src/Umbraco.Web.UI/Umbraco/developer/RelationTypes/EditRelationType.aspx
#	src/Umbraco.Web.UI/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/es.xml
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/Umbraco.Web/HealthCheck/Checks/DataIntegrity/XmlDataIntegrityHealthCheck.cs
#	src/Umbraco.Web/HealthCheck/NotificationMethods/EmailNotificationMethod.cs
#	src/Umbraco.Web/Routing/ContentFinderByRedirectUrl.cs
#	src/Umbraco.Web/Trees/ContentTreeControllerBase.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/create/language.ascx.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/developer/RelationTypes/EditRelationType.aspx
#	src/Umbraco.Web/umbraco.presentation/umbraco/developer/RelationTypes/EditRelationType.aspx.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/settings/editLanguage.aspx.cs
#	src/umbraco.cms/businesslogic/language/Language.cs
2018-12-06 17:13:23 +11:00
Shannon 3be300db09 Merge remote-tracking branch 'origin/revert-3745-temp8-tinymce' into temp8 2018-12-06 16:44:52 +11:00
Shannon 2216a40d01 Merge commit '2a0748fc1e85c468064f309c03b24a43ed42e177' into temp8 2018-12-06 16:41:45 +11:00
Shannon 311b523c8e dont' write to console unless compiled in debug 2018-12-06 13:12:07 +11:00
Shannon d63492bf41 missing nullable parameter in ITagQuery, removes old wrappign logic in PublishedContentQuery 2018-12-06 12:41:38 +11:00
Shannon 45a6789fde Added a failing test 2018-12-06 12:17:40 +11:00
Lars-Erik Aabech 72fd8534a6 Update comments on controller registration 2018-12-05 23:10:42 +01:00
Lars-Erik Aabech 91f2d47cf8 Merge branch 'temp8-u4-11427-remove-propertyinjection' of https://github.com/lars-erik/Umbraco-CMS into temp8-u4-11427-remove-propertyinjection 2018-12-05 23:02:59 +01:00
Lars-Erik Aabech 542b08650b Also register RenderMvcControllers 2018-12-05 23:01:16 +01:00
Stephan c3d0bee4d3 Fix boot issue 2018-12-05 17:34:34 +01:00
Warren Buckley 5870db0273 Merge branch 'temp8-packages-ui' of https://github.com/umbraco/Umbraco-CMS into temp8-packages-ui 2018-12-05 15:15:58 +00:00
Warren Buckley 8425c3124d Modify FileSystemTree Controller - that if * is used for file extension then we will return all files :) 2018-12-05 15:15:45 +00:00
Mads Rasmussen 74d9945e09 Add title to files and control pickers 2018-12-05 15:42:44 +01:00
Mads Rasmussen 749a25aabb user overlayService for ysods 2018-12-05 15:41:55 +01:00
Warren Buckley 28c4b2ee7f Merge branch 'temp8-packages-ui' of https://github.com/umbraco/Umbraco-CMS into temp8-packages-ui
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/packages/edit.controller.js
2018-12-05 14:29:32 +00:00
Warren Buckley 00428ec2de Adds in new hidden aka initialized=false tree (so that it can be displayed only as a dialog/infinite editor) to display files & folders from root of the site for the package creator UI 2018-12-05 14:28:07 +00:00
Shannon 85efd4dc59 Moves SqlNullableEquals to SqlExpressionExtensions 2018-12-06 01:14:06 +11:00
Shannon a239d50e89 Merge branch 'temp8-3675-variant-tags' of https://github.com/umbraco/Umbraco-CMS into temp8-3675-variant-tags 2018-12-06 01:11:12 +11:00
Shannon dd2c43485d Moves tag editor to a component, fixes issue with typeahead and invariant properties, fixes migration to update the IX_cmsTags index correctly 2018-12-06 01:10:53 +11:00
Mads Rasmussen d77796bcac show selected files and control 2018-12-05 15:06:50 +01:00
Mads Rasmussen e599685684 wip file pickers ui 2018-12-05 14:20:34 +01:00
Mads Rasmussen bd505a8574 get doctypes, datatypes, languages etc from the server and bind selection to model + add content picker 2018-12-05 13:37:01 +01:00
Stephan c74fc7a8f9 Misc cleanup and renaming 2018-12-05 12:57:23 +01:00
Stephan 0dda7c81a0 Rename NEquals 2018-12-05 12:18:52 +01:00
Sebastiaan Janssen f26353a34e Fix broken build 2018-12-05 11:00:49 +01:00
Shannon b8b0404393 adds notes and ignores failing tests (to be fixed later) 2018-12-05 20:51:30 +11:00
Sebastiaan Janssen 901af2be8e Fix docs build 2018-12-05 10:44:06 +01:00
Sebastiaan Janssen f002b371b9 Update npm marked reference 2018-12-05 10:42:44 +01:00
Mads Rasmussen a4bdcf99b1 wip create package editor 2018-12-05 10:36:20 +01:00
Stephan c6a9701e53 Merge branch temp8 into temp8-di2690 2018-12-05 09:05:47 +01:00
Stephan e5d12117d5 Composition can set default renderMvc controller 2018-12-05 08:19:21 +01:00
Shannon 24300e76f9 oops committed a config change 2018-12-05 17:42:31 +11:00
Shannon d549cb8e3d Merge remote-tracking branch 'origin/temp8' into temp8-3527-indexes-via-code 2018-12-05 17:36:50 +11:00
Shannon cb9eec97e2 Fixes tests 2018-12-05 17:20:48 +11:00
Shannon 11d8d17156 Fixes build with ctor change to UmbracoHelper 2018-12-05 17:00:51 +11:00
Shannon 1eba69b070 Fixes build with ctor change to UmbracoHelper 2018-12-05 16:59:33 +11:00
Shannon b48a7fa4a9 Gets search tools working for explicitly defined searchers, have tested with a multi index searcher, refactors SupportsUnpublished vs SupportSoftDelete vs OnlyPublishedContent booleans and made some sense out of the reindexing items in ExamineComponent which didn't really work, cleans up IPublishedContentQuery implementation 2018-12-05 16:53:25 +11:00
Stephan 50f4e12ca1 Merge pull request #3819 from umbraco/temp8-fix-dashboard-manifest
Refactor package.manifest dashboards JSON structure
2018-12-04 12:12:44 +01:00
Stephan 73f31dd800 Refactor manifest dashboards, security 2018-12-04 11:37:07 +01:00
Mads Rasmussen bd455aaede fixing up styles to better fit new UI 2018-12-04 11:19:08 +01:00
Mads Rasmussen 04e8fc7fa3 fix missing form from install local package 2018-12-04 11:18:32 +01:00
Mads Rasmussen cb7c1f9bbd use table for installed packages 2018-12-04 11:18:12 +01:00
Stephan 5c140762c4 Handle tags when variations change 2018-12-04 08:23:18 +01:00
Shannon 1717f94fcf Gets searching on dashboard working with paging and viewing field values 2018-12-04 15:41:54 +11:00
Shannon 56d1a317c0 Gets searching working in the dashboard, updates to latest examine 2018-12-04 14:25:37 +11:00
Kenn Jacobsen 9ad69c11cb Fix publish dates issues (#3507) 2018-12-03 18:45:50 +01:00
Kenn Jacobsen ce980fc822 Merge branch 'temp8' into v8-feature-angular-public-access 2018-12-03 15:56:10 +01:00
Warren Buckley b361d1c950 Refactor package.manifest dashboards JSON structure 2018-12-03 14:26:16 +00:00
Warren Buckley e620d26769 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer
# Conflicts:
#	src/Umbraco.Web.UI.Client/package.json
#	src/Umbraco.Web/UI/JavaScript/JsInitialize.js
2018-12-03 13:28:07 +00:00
Sebastiaan Janssen a8d7660150 So close, come on dependencies! 2018-12-03 13:30:25 +01:00
Sebastiaan Janssen 0410a788cb One more attempt to fix vulnerable dependencies 2018-12-03 13:23:37 +01:00
Shannon fce5b29b1c index rebuilding updates 2018-12-03 23:15:18 +11:00
Warren Buckley 8b5eb1f0a4 Merge pull request #2478 from Shazwazza/U4-2827
U4-2827 Allow dashboards via manifest
2018-12-03 12:13:12 +00:00
Sebastiaan Janssen 763fda2857 Hopefully resolve the rest of the vulnerabilities 2018-12-03 13:11:39 +01:00
Elitsa Marinovska 914d956ada Merge branch 'dev-v7' into temp7-269-xss-stylesheets 2018-12-03 12:50:40 +01:00
Sebastiaan Janssen 137439d6eb Fixes the flatmap-stream issue. package-lock went nuts, but couldn't figure it out even with Mads' help :/ 2018-12-03 12:43:39 +01:00
elitsa 41271c7fab Merge branch 'dev-v7' of https://github.com/umbraco/Umbraco-CMS into dev-v7 2018-12-03 12:38:28 +01:00
Warren Buckley 53df1dfc82 Merge pull request #3815 from umbraco/temp8-upgrade-dev-dependencies
Temp8 upgrade dev dependencies
2018-12-03 11:19:51 +00:00
Shannon 69c939c444 Some cleanup and renames 2018-12-03 22:19:35 +11:00
elitsa 3ef4da0615 Reverting. 2018-12-03 12:15:34 +01:00
elitsa ae8e20546f Reverting - unrelated changes. 2018-12-03 12:15:01 +01:00
Shannon f8d203abff Updates latest examine + api updates + fixes tests, gets different validation working (valid, failed, filtered) 2018-12-03 22:10:56 +11:00
elitsa 978f409f23 Removing malicious code when creating or editing the name of a xslt file. 2018-12-03 12:07:41 +01:00
Warren Buckley 0d6ee927bc Merge remote-tracking branch 'origin/temp8' into temp8-upgrade-dev-dependencies 2018-12-03 11:01:32 +00:00
Warren Buckley 37eeeba76b Merge pull request #3798 from umbraco/temp8-upgrade-depdendencies
Temp8 upgrade depdendencies
2018-12-03 10:07:16 +00:00
Warren Buckley e4fb2dff96 Merge remote-tracking branch 'origin/temp8' into temp8-upgrade-depdendencies 2018-12-03 09:39:26 +00:00
Warren Buckley 8b77c5e278 Merge pull request #3792 from umbraco/temp8-upgrade-jquery
Temp8 upgrade jquery
2018-12-03 09:35:45 +00:00
Warren Buckley dd7b4669d5 Merge pull request #3786 from umbraco/temp8-3651
add overlay to tree when infinite editing is open
2018-12-03 09:21:41 +00:00
Warren Buckley a40a6fbe8f Merge pull request #3783 from umbraco/temp8-3110
Temp8 3110
2018-12-03 09:16:33 +00:00
Matthew Wise 673735c2fe Added eslintignore file 2018-12-03 09:50:24 +01:00
Mads Rasmussen 32ed237729 package-lock 2018-12-03 09:48:59 +01:00
elitsa 0abe685d7f Removing malicious code from the name of a Stylesheet. 2018-12-03 09:00:44 +01:00
elitsa ae36e02f4c Reverting to the origin. 2018-12-03 08:54:08 +01:00
elitsa 3a26fe8fe2 Removing malicious code from the name of a Stylesheet. 2018-12-03 08:45:11 +01:00
Shannon 774b968112 Cleans up the dashboard config that we release 2018-12-03 16:55:06 +11:00
Shannon a5b331f6d7 Gets site running with dashboards 2018-12-03 16:40:28 +11:00
Shannon 162b90194d Gets sln building, removes old legacy settings, removes ascx dashboard support 2018-12-03 16:14:49 +11:00
Shannon 953f37f2db Merge remote-tracking branch 'umbraco/temp8' into U4-2827
# Conflicts:
#	src/Umbraco.Core/Manifest/ManifestBuilder.cs
#	src/Umbraco.Core/Manifest/ManifestParser.cs
#	src/Umbraco.Core/Manifest/PackageManifest.cs
#	src/Umbraco.Web/Editors/DashboardController.cs
#	src/Umbraco.Web/Editors/SectionController.cs
2018-12-03 15:25:31 +11:00
James Coxhead df961d9199 Merge branch 'temp8' into 3436-relations-editor
# Conflicts:
#	src/Umbraco.Web/Trees/RelationTypeTreeController.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/developer/RelationTypes/EditRelationType.aspx.cs
2018-12-02 23:31:54 +00:00
James Coxhead c6d09cbcff Split relation type and associated relations into tabbed view 2018-12-02 22:53:30 +00:00
James Coxhead a4f270bd02 Added localisation 2018-12-02 22:33:15 +00:00
James Coxhead f87dac9972 Remove redundant webforms views 2018-12-02 21:56:03 +00:00
James Coxhead 4617c0c24f Tidy up - remove obsoleted classes 2018-12-02 18:17:20 +00:00
James Coxhead 2dfcb8ed4e Completed delete action 2018-12-02 18:10:03 +00:00
Kenn Jacobsen 8990a8fcb0 Remove the Umbraco core jQuery dependency for macro partials 2018-12-01 09:26:55 +01:00
Stephan 18c382d888 in progress tags 2018-11-30 16:30:59 +01:00
Stephan 3ad0904129 Some benchmarking 2018-11-30 16:30:58 +01:00
James Coxhead a6ab471505 Added delete endpoint. Updated tree controller to use Angular delete view 2018-11-30 14:09:48 +00:00
Anders Bjerner 5f165d23db Link picker overlay: Changed the order of execution to avoid an unnecessary delay 2018-11-30 10:38:36 +01:00
Warren Buckley b5e12aa29e Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-11-30 08:34:09 +00:00
Mads Rasmussen 704a1ee840 upgrade dev-dependencies 2018-11-30 09:12:58 +01:00
Shannon 6103832b8a Gets index rebuilding working 2018-11-30 12:22:23 +11:00
James Coxhead c3a3f4cf22 Create new relation type 2018-11-29 23:11:03 +00:00
James Coxhead 12d11b7c88 Render create view
Load object types from API
2018-11-29 22:07:17 +00:00
Mads Rasmussen 80afcb64e0 remove bootstrap javascript 2018-11-29 15:10:11 +01:00
Mads Rasmussen 3a839ca1ef don't ship with moments libraries including locales 2018-11-29 14:24:15 +01:00
Mads Rasmussen 45feb9577d get spectrum color picker from npm + get latest version 2018-11-29 13:30:37 +01:00
Mads Rasmussen 9f557d5697 fix color picker model.value 2018-11-29 13:03:43 +01:00
Stephan 2c2873492f Fix merge 2018-11-29 12:48:13 +01:00
Stephan 146bbcec4b Merge branch temp8 into temp8-di2690 2018-11-29 12:38:44 +01:00
Mads Rasmussen 5a33990a74 fix js error in diff + break words 2018-11-29 12:29:52 +01:00
Stephan eb0d2464aa Minor fixes 2018-11-29 12:27:16 +01:00
Mads Rasmussen 89cac781ae fix checkmark when copying password 2018-11-29 11:01:50 +01:00
Mads Rasmussen aa9950ff29 fix assets service 2018-11-29 11:01:21 +01:00
Mads Rasmussen 1daddf484c update npm for packages not running latest 2018-11-29 11:00:09 +01:00
Stephan c6891c6c70 RegisterUnique 2018-11-29 10:35:16 +01:00
Shannon 1767bff255 Quite far revamping the examine dashboard 2018-11-29 16:54:13 +11:00
Shannon afe234e21c better index diag 2018-11-29 14:54:35 +11:00
Shannon 340b8e6cef Latest examine, updates for dashboard, adds UmbracoExamineIndexDiagnostics 2018-11-29 13:55:51 +11:00
Stephan ec3fd890ec Merge pull request #3761 from kjac/v8-fix-move-copy-status-type-ysod
V8: Fix YSODs when moving and copying things in the Settings section
2018-11-28 21:45:15 +01:00
Warren Buckley cbc6a2ddfd Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-11-28 20:18:56 +00:00
Mads Rasmussen 44478201cf update package-lock 2018-11-28 20:47:02 +01:00
Mads Rasmussen e512ba0b8b remove css for jquery-ui 2018-11-28 20:40:40 +01:00
Stephan e9de6c1fc9 Naming is hard 2018-11-28 17:35:12 +01:00
Stephan e42f140a2c Cleanup 2018-11-28 16:57:01 +01:00
Stephan b1651b8c9e Delete legacy code 2018-11-28 16:22:20 +01:00
Stephan 8d49fb3e8b Cleanup and document controller constructors 2018-11-28 16:19:50 +01:00
Laura W 9ecc0f35f8 Saving content id against initial SavePublish action 2018-11-28 16:09:07 +01:00
Mads Rasmussen e4a4a17739 get jquery touch punch from npm 2018-11-28 15:34:51 +01:00
Mads Rasmussen df193987c4 add back jquery-ui and remove jquery-migrate 2018-11-28 15:18:14 +01:00
Mads Rasmussen d0d44bf542 remove unused treepicker overlay 2018-11-28 14:54:01 +01:00
Mads Rasmussen 6fc38b1d12 fix tooltip and overlay calculations 2018-11-28 14:53:39 +01:00
Mads Rasmussen 350bfb3461 remove keypress shorthand 2018-11-28 14:52:49 +01:00
Mads Rasmussen f3d30342b4 change from bind/unbind to on/off 2018-11-28 14:32:30 +01:00
Mads Rasmussen 9c9a05f32c changing from click and focus shorthands 2018-11-28 13:22:30 +01:00
Mads Rasmussen 85d61ee127 remove unused focus search field code 2018-11-28 13:17:08 +01:00
Mads Rasmussen 4e29a3709d upgrade jquery + temp add jquery migrate + temp remove other jquery libraries 2018-11-28 13:16:26 +01:00
Mads Rasmussen f956a035a1 remove jquery validation libraries 2018-11-28 13:12:00 +01:00
Stephan f9a19ada04 IContainer.die.die.die 2018-11-28 12:59:40 +01:00
Stephan 49a0b68b28 IContainer is IRegister+IFactory 2018-11-28 11:05:41 +01:00
Shannon dd571060b9 Starts integrating changes into the Examine mgmt dashboard 2018-11-28 21:02:45 +11:00
Mads Rasmussen 7032f1424d add overlay to tree when infinite editing is open 2018-11-28 10:13:48 +01:00
Shannon 011209bd03 Fixes bool check and member index fields 2018-11-28 19:53:25 +11:00
Shannon 8ba694c4fb more tests 2018-11-28 19:10:43 +11:00
Shannon 6ab5d6ec9f More cleanup, removes options since it was irrelevant 2018-11-28 18:39:03 +11:00
Kenn Jacobsen 9ac3b98acf Add some indents around the various sections of configuration 2018-11-28 07:39:48 +01:00
Shannon 2b05d54fb7 Fixes tests, adds test, renames class 2018-11-28 14:55:05 +11:00
Shannon a7f6985b38 Cleans up the BaseValueSetBuilder 2018-11-28 14:46:45 +11:00
Shannon e3548efed4 Uses IIndexPopulator to populate/rebuild indexes 2018-11-28 14:17:11 +11:00
Kenn Jacobsen d62de961a0 Add a minimum height to the query builder dropdowns 2018-11-27 23:51:14 +01:00
Steve Morgan af6b649845 #3565 - U 7.12.3 - Validation of Value type for Label Data Type
Added a required flag. Seems to now require a selection. Not sure if this will affect anything else that relies on this though?
2018-11-27 23:49:31 +01:00
Kenn Jacobsen 2ae2c3f6f6 Fix the flickering on the data type selector 2018-11-27 23:40:03 +01:00
Kenn Jacobsen 451fb50539 Fix checkbox list mandatory validation 2018-11-27 23:37:29 +01:00
Kenn Jacobsen 8393856b15 Fix dropdown validation (#3504) 2018-11-27 23:36:49 +01:00
Sebastiaan Janssen 3ce30f5fcb Merge pull request #3582 from avs099/dev-v7
Update ContentFinderByRedirectUrl.cs: only set headers for redirect IF redirect happens
2018-11-27 23:10:16 +01:00
Sebastiaan Janssen f316b45ff8 Merge branch 'dev-v7' into dev-v7 2018-11-27 23:08:44 +01:00
prjseal d6662febec - added the change to the control in the umbraco.web.ui folder as I don't believe it is generated automatically from the other file. 2018-11-27 23:04:04 +01:00
prjseal 75fdee6d6d - added links to relation items in relatin view 2018-11-27 23:04:04 +01:00
George Jones ea1a25eb84 Fix typo in SqlCeUpgradeTests.cs
Fix very minor typo in code comment
2018-11-27 22:59:16 +01:00
GIBE\jack.durcan 566459cb54 Fixed typo in base database factory test class 2018-11-27 22:58:18 +01:00
Kenn Jacobsen 8d1bf6a1b8 Make it possible to fetch more than 2000 entities 2018-11-27 22:56:28 +01:00
Gareth Wright 63f548ea35 removed languages used for creating language. Removed languages used when editing language apart from current language. 2018-11-27 22:55:04 +01:00
Gareth Wright 353b6a728d Added check for existing language when adding new language in the backoffice 2018-11-27 22:55:04 +01:00
Kenn Jacobsen 8e423d9c75 Sort the dictionary items alphabetically 2018-11-27 22:43:19 +01:00
Søren Kottal 75be42f8ff Change back to a-tag
Has to be an `<a>` with an empty `href` for the ng-click to fire.
2018-11-27 22:39:02 +01:00
Søren Kottal 7f858899a3 Changes add-button to a button
Makes it possible to tab to the button.
2018-11-27 22:39:02 +01:00
Kenn Jacobsen 269f12edbf Remove the default action from tree menus if it isn't allowed 2018-11-27 22:35:38 +01:00
sebastien-sougnez 57fa452c49 Allow the "hideHeader" property of the treepicker dialog to be configurable 2018-11-27 22:30:23 +01:00
Kenn Jacobsen fe26239f73 Fix the sort order of dictionary items in both the tree and list view 2018-11-27 22:20:54 +01:00
darrenferguson 4e887b843b Include the umbracoApplicationUrl Host in the Healthcheck email notifier (#3595) 2018-11-27 22:16:24 +01:00
Kenn Jacobsen 34416d9c0a Change role toggles to checkboxes and restyle the page pickers 2018-11-27 22:11:18 +01:00
Kenn Jacobsen 4092ab7277 Ensure that the sort order of crops is saved 2018-11-27 21:39:04 +01:00
Benjamin Carleski a37b2d42fb Disable Gravatar images when FIPS is enabled
Gravatar image URLs require an MD5 hash of the email be generated.  On a FIPS-enabled server, the MD5 algorithm is not available.  As Gravatar doesn't offer any other method for getting user images, enabling FIPS means that no user images will be available.
2018-11-27 21:30:46 +01:00
Enkel Media e9d53252b8 #3317 Appening Querystrings to url in ContentFinderByRedirectUrl (#3731) 2018-11-27 21:23:11 +01:00
Mike Masey 60c613e366 Add build requirements to Contributing details readme. 2018-11-27 21:10:58 +01:00
Kenn Jacobsen 60d5e3c449 Change the secondary action button to a link style button 2018-11-27 21:05:12 +01:00
Kenn Jacobsen 45cdb2af6e Align the list view save and close buttons to the right 2018-11-27 21:05:12 +01:00
Jannik Anker 80f9fed3f3 Pointed "unfinished tasks" link to Github
Link points to open tasks with v8 label. Not sure if "known issues" link also has a Github equivalent?
2018-11-27 21:00:03 +01:00
Laura Weatherhead 03d965eada U4-11088 - XML Data Integrity "Fix Button" not Visible (#3782) 2018-11-27 20:52:20 +01:00
Kenn Jacobsen a9d5d7a271 Merge branch 'temp8' into v8-feature-angular-public-access 2018-11-27 20:09:57 +01:00
Stephan f290065bb6 More container tests 2018-11-27 16:27:16 +01:00
Shannon 3fd0aef18e decouples data lookup from indexers and rebuilding logic 2018-11-28 01:23:02 +11:00
Stephan 80f3fc6864 Get rid of IContainer.GetRegistered 2018-11-27 15:20:26 +01:00
Stephan de8dbe0041 Cleanup 2018-11-27 15:17:26 +01:00
Stephan b365539368 Optimize 2018-11-27 15:15:44 +01:00
Stephan 5d167b49a4 More composition fixes 2018-11-27 15:09:08 +01:00
Mads Rasmussen 23853a43b8 Merge branch 'temp8' into temp8-3110
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbcontentnodeinfo.directive.js
2018-11-27 14:41:29 +01:00
Stephan c23c7749b4 Composition fixes 2018-11-27 14:04:08 +01:00
Mads Rasmussen 900c8355cc show prompt if node is dirty before opening the doc type editor in infinite editing 2018-11-27 14:04:05 +01:00
Mads Rasmussen 88e6797cac Refresh content when doc type is changed in infinite editing 2018-11-27 11:49:51 +01:00
Robert 2d30e57617 Merge pull request #3778 from umbraco/temp8-3777
When a node is opened through a content picker don't allow editing do…
2018-11-27 11:41:13 +01:00
Warren Buckley 7c5f5e873d Merge pull request #3621 from umbraco/temp8-controllers
Refactor/fix registering controllers
2018-11-27 10:18:28 +00:00
Stephan e47566ca4e Fix build 2018-11-27 10:49:41 +01:00
Stephan 5b111f9629 More composition simplification 2018-11-27 10:37:33 +01:00
Germán Díaz de Rada d1457cfd75 Updated with more accurate translations (#3742)
Updated Spanish translations
2018-11-27 10:22:01 +01:00
Mads Rasmussen c0f5158b03 When a node is opened through a content picker don't allow editing doc type and template 2018-11-27 09:58:57 +01:00
Robert 3f75274283 Merge pull request #3766 from umbraco/temp8-remove-bootstrap-slider
Temp8 remove bootstrap slider
2018-11-27 09:51:08 +01:00
Robert 4f7b9cd61a Update umbrangeslider.directive.js
Updated comment
2018-11-27 09:50:22 +01:00
Warren Buckley 9b39c6ad5b Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-11-27 08:47:04 +00:00
Stephan 13f6469590 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-11-27 09:45:07 +01:00
Stephan d2a474f6ff ContentService should remain public for now 2018-11-27 09:44:08 +01:00
Shannon ff3af8b7a7 Updates the content value set validator + tests 2018-11-27 17:43:56 +11:00
Sebastiaan Janssen 4024095555 Revert "Style the default browser radio button as a custom one to provide a nicer UI experience" #3226 2018-11-26 17:23:40 +01:00
Stephan b8608f1b2e Refactor runtimes, injection and composition 2018-11-26 16:54:32 +01:00
Warren Buckley 0983726b85 Forgot to update the nuspec for the Serilog.Settings.AppSettings nuspec minor version upgrade 2018-11-26 15:17:15 +00:00
Warren Buckley 58b1c9e9fb Update Serilog.Settings.AppSettings Nupkg reference from 2.1.2 to 2.2.2 in Umbraco.Core 2018-11-26 15:03:39 +00:00
Mads Rasmussen f8068801af add docs 2018-11-26 15:12:38 +01:00
Stephan 27c2b3ba5e Cleanup 2018-11-26 14:43:19 +01:00
Mads Rasmussen 99c5fdbd9d Merge branch 'temp8' into temp8-remove-bootstrap-slider 2018-11-26 14:30:17 +01:00
Mads Rasmussen d314361996 delete bootstrap slider javascript and css files 2018-11-26 14:28:51 +01:00
Robert 334fd778dd Merge pull request #3723 from umbraco/temp8-remove-bootstrap-datepicker
Temp8 remove bootstrap datepicker
2018-11-26 14:23:48 +01:00
Mads Rasmussen d6b24ac92d Merge branch 'temp8' into temp8-remove-bootstrap-slider
# Conflicts:
#	src/Umbraco.Web.UI.Client/package.json
2018-11-26 14:10:57 +01:00
Mads Rasmussen a7e53be079 Merge branch 'temp8' into temp8-remove-bootstrap-datepicker 2018-11-26 13:57:52 +01:00
Mads Rasmussen 16b57ac022 remove bootstrap logic from slider controller 2018-11-26 13:46:47 +01:00
Mads Rasmussen e169de917d remove unused config 2018-11-26 11:53:52 +01:00
Mads Rasmussen 6257416c4a remove a bunch of slider prevalues. 2018-11-26 11:38:15 +01:00
Robert 7a53d58b4a Merge pull request #3759 from marcemarc/#3758-V7-Fix-Audit-Repository-GetPagedResultsByQuery
Fix for #3758 - Map NodeId of Audited Item instead of Log entry PK
2018-11-26 11:36:28 +01:00
Mads Rasmussen f4728e5b83 add custom styling + add pips 2018-11-26 11:18:23 +01:00
Kenn Jacobsen fee968b94e Make MoveOperationStatusType of underlying type byte to fix move and copy YSODs 2018-11-26 08:19:49 +01:00
Bjarke Berg a50a46f9fa Alt of "close dialog" buttons was not functioning on the success message 2018-11-26 07:50:15 +01:00
Bjarke Berg e8818b36bd Media could not be moved to the root (The root was not available as target) 2018-11-26 07:49:32 +01:00
Shannon d3057ea2e1 Merge remote-tracking branch 'origin/temp8' into temp8-3527-indexes-via-code
# Conflicts:
#	src/Umbraco.Core/StringExtensions.cs
2018-11-26 17:34:22 +11:00
Shannon b6790261c4 Adds test 2018-11-26 17:20:15 +11:00
Shannon 9368c71ced fixes tests 2018-11-26 14:43:08 +11:00
Shannon 985572690f IValueSetBuilder implementations 2018-11-26 14:27:44 +11:00
Shannon 977d18e200 Adds IValueIndexer for the RTE 2018-11-26 13:41:32 +11:00
Shannon 9a9fcab0e9 New IValueIndexer and implements it for grid, new UmbracoValueSetBuilder to create the value sets, no more event handling for grid index data 2018-11-26 13:33:15 +11:00
Shannon 4f7de35e04 Adds HtmlValueType 2018-11-26 12:06:38 +11:00
Marc Goodson aac278a4e3 Fix for #3758 - Map NodeId of Audited Item instead of Log entry PK
The Entity NodeIds aren't being passed through from the database Audit table, instead the Log Entry Primary Key is used incorrectly instead, this commit fixes it so the NodeId is passed!
2018-11-26 00:07:27 +00:00
Shannon fba549e59c Creates IUmbracoIndexer to decouple lucene from the indexers 2018-11-26 11:06:11 +11:00
Shannon 75116e1585 Creates IUmbracoIndexer to decouple lucene from the indexers 2018-11-26 11:05:53 +11:00
Kenn Jacobsen 924419f403 Ensure that the dialog always closes on close() 2018-11-25 11:04:28 +01:00
Kenn Jacobsen 4192a11de0 Update ngdoc and en-us translations 2018-11-25 11:02:33 +01:00
Kenn Jacobsen bf50aba515 A bit of styling 2018-11-25 10:54:26 +01:00
Kenn Jacobsen aa581feebb Pick pages for login and error 2018-11-25 10:49:19 +01:00
Kenn Jacobsen bbea0e3e4c Introduce an option to disallow hiding the current dialog 2018-11-25 10:48:56 +01:00
Kenn Jacobsen ed56845bc1 Implement remove protection + add success messages 2018-11-25 09:17:04 +01:00
Kenn Jacobsen 5026bc03e1 A lot more implementation :) 2018-11-24 19:39:15 +01:00
Stephan 8b74453c13 Simplify IContainer.CreateInstance 2018-11-24 16:41:27 +01:00
Stephan 392c9ed83b More filesystem DI fixes 2018-11-24 15:38:00 +01:00
Stephan ce47eae85b Various fixes 2018-11-23 16:19:03 +01:00
Kenn Jacobsen 18258fe487 Initial setup of public access dialog 2018-11-23 16:16:06 +01:00
Stephan 6ffc340725 Merge branch temp8 into temp8-di2690 2018-11-23 14:58:08 +01:00
Bjarke Berg 31b4e944e7 Fixed issue where tree root was not shown when moving items. Pair programming with @mads 2018-11-23 13:57:26 +01:00
James Coxhead 5872b6de22 Prototyped create view 2018-11-22 14:19:40 +00:00
Warren Buckley 7eee1ac76c Merge remote-tracking branch 'origin/temp8-tinymce' into temp8-logviewer 2018-11-22 14:18:58 +00:00
Warren Buckley dd6e764588 Merge pull request #3746 from umbraco/revert-3745-temp8-tinymce
Revert "Temp8 tinymce"
2018-11-22 14:07:57 +00:00
Warren Buckley 54a2aa00a7 Revert "Temp8 tinymce" 2018-11-22 14:05:51 +00:00
Warren Buckley 2a0748fc1e Merge pull request #3745 from umbraco/temp8-tinymce
Temp8 tinymce
2018-11-22 14:05:44 +00:00
Warren Buckley 9f2043c68d Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-11-22 11:19:56 +00:00
Mads Rasmussen e54e1989ba format numbers to not have decimals 2018-11-22 10:52:48 +01:00
Mads Rasmussen f24a347b01 load in new slider + basic setup 2018-11-22 10:06:00 +01:00
Shannon 77f855a649 Removes a ton of duplicate code 2018-11-22 17:46:49 +11:00
Shannon 08dc94a535 Merge branch 'temp8' into temp-tinymce
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/grid/grid.rte.directive.js
#	src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js
#	src/Umbraco.Web.UI.Client/src/less/property-editors.less
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.html
2018-11-22 15:38:58 +11:00
Shannon 57074d3545 some code cleanup 2018-11-22 15:26:10 +11:00
Shannon ff2b2893ae adds notes 2018-11-22 15:23:50 +11:00
Shannon 845a652c1c adds some notes 2018-11-22 14:31:27 +11:00
Shannon c5b36773c9 Removes the old _searchEmail and configures the 'email' field to be of type EmailAddress 2018-11-22 14:26:26 +11:00
Shannon 2965523029 Configures Umbraco indexes via code, updates to latest examine, simplifies some logic 2018-11-22 14:05:36 +11:00
Warren Buckley 880176e91e Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-11-21 13:16:56 +00:00
Shannon 80af1641ae rebuilds empty indexes on startup on managed background thread 2018-11-21 23:14:12 +11:00
Shannon a8db9d19cb adds a __VariesByCulture field 2018-11-21 21:48:39 +11:00
Shannon 1721f37c43 Gets variant data being indexed and fixes how the __Raw fields are processed 2018-11-21 20:36:15 +11:00
Shannon 62e99aaed5 removes usages of singleton in ExamineComponent 2018-11-21 17:04:20 +11:00
Shannon 3947a471be Fixes tree sync with sorting media 2018-11-21 16:59:23 +11:00
Shannon fda327a604 removes $routeParams from a dependency on content.resource, fixes event ordering during nav init, fixes tree re-syncing after sorting, removes some obsolete/old code 2018-11-21 16:40:13 +11:00
James Coxhead 738b42964d Added save action 2018-11-20 23:15:16 +00:00
Stephan 64dd7c113c Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-11-20 15:19:07 +01:00
Stephan e056f1b282 Fix tests 2018-11-20 15:17:01 +01:00
Mads Rasmussen d754aa94c0 Merge branch 'temp8' into temp8-remove-bootstrap-datepicker 2018-11-20 13:18:46 +01:00
Mads Rasmussen 219b38ff77 fix authorize upgrade screen 2018-11-20 12:33:26 +01:00
Mads Rasmussen b685c04c51 Merge branch 'temp8' into temp8-remove-bootstrap-datepicker 2018-11-20 11:52:02 +01:00
Shannon 63470c80dd fixes build 2018-11-20 20:28:17 +11:00
Shannon Deminick e8e6374c95 Merge pull request #3693 from umbraco/temp8-3096-angular-bulk-publish
Angular bulk publishing integration
2018-11-20 19:38:12 +11:00
Shannon 9e7384a330 Merge branch 'temp8' into temp8-3096-angular-bulk-publish
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
2018-11-20 19:37:39 +11:00
Shannon d2a61e5b9c Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-11-20 19:31:08 +11:00
Shannon 82e7be4ae9 Fixes creating content type collections 2018-11-20 18:43:41 +11:00
Stephan 8aaa75778e Cleanup 2018-11-20 08:35:28 +01:00
Stephan 5f8e46e3cd Merge branch 'temp8' into temp8-3713 2018-11-20 08:15:26 +01:00
Shannon fad566afba Merge remote-tracking branch 'origin/dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/mediapicker/mediapicker.html
2018-11-20 18:14:36 +11:00
Shannon 3dfa3eaac7 fixes media picker svg handling to only use a single IMG tag, else this resulted in a number of 404's with invalid paths like [Object,object] 2018-11-20 18:13:19 +11:00
Shannon e6718c6989 more manual merging 2018-11-20 17:44:24 +11:00
Shannon bc66d4cbc6 manually merges list view changes with new blueprint functionality, manually merges other files, fixes issue with Action drop down in v8 2018-11-20 17:00:37 +11:00
Shannon d5a8e7751b Removes the word "Kim" from the list view 2018-11-20 15:25:02 +11:00
Shannon 96d7cca68d Merge remote-tracking branch 'origin/dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Core/Services/MediaService.cs
#	src/Umbraco.Web.UI.Client/src/common/directives/validation/valtab.directive.js
2018-11-20 14:12:26 +11:00
Shannon b4c2c8bd74 manually merging 2018-11-20 14:11:35 +11:00
Shannon 9ae4d1cdf5 fixes how the grid rte resizes when a tab changes to use the proper event handler 2018-11-20 14:10:20 +11:00
Shannon 80070e7332 Fixes how the new move method on MediaService deals with event messages 2018-11-20 12:20:16 +11:00
Shannon f7f81945a0 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-11-20 11:51:59 +11:00
Shannon Deminick c981f5e1b0 Merge pull request #3711 from aaronpowell/temp8-3710
Fixes 3710: Removing the usage of HostingEnvironment.MapPath
2018-11-20 11:31:26 +11:00
Mads Rasmussen bd23cbed20 null checks clean up debug data 2018-11-19 15:50:11 +01:00
Warren Buckley 1452a702e0 More tests for LogViewer around fetching logs & getting the results we expect back 2018-11-19 14:23:07 +00:00
Warren Buckley 28fa60ea46 Fix when querying logs with invalid log level passed in as a string filter - now checks its valid/part of the enum 2018-11-19 14:22:29 +00:00
Stephan e41790b886 Add IContainer tests 2018-11-19 15:16:55 +01:00
Stephan b69cbf0c53 Remove RegisterOrdered requirement from IContainer 2018-11-19 15:10:35 +01:00
Mads Rasmussen 0f07e6830d delete bootstrap datepicker files 2018-11-19 14:56:27 +01:00
Stephan 199e09c789 Remove named services support requirement from IContainer 2018-11-19 14:52:55 +01:00
Stephan 87a64b7406 Refactor filesystems (again) 2018-11-19 14:40:59 +01:00
Mads Rasmussen 301cc00e10 use flatpickr in query builder 2018-11-19 14:29:35 +01:00
Mads Rasmussen d6bd5e7e85 change query builder dropdowns to umb dropdowns 2018-11-19 14:14:37 +01:00
Mads Rasmussen 477a9bae0e use umb dropdown instead of boostrap dropdown in permissions context menu 2018-11-19 13:15:28 +01:00
Mads Rasmussen 138895d5e7 use umb dropdown component for actions menu 2018-11-19 12:48:31 +01:00
Mads Rasmussen 5e4770fd8c use umbraco components instead of bootstrap for button groups 2018-11-19 12:47:30 +01:00
Mads Rasmussen 24913128d1 add option to show a caret in a umb-button 2018-11-19 12:42:27 +01:00
Aaron Powell 8a809fe97a Pushing crash handling on app domain into CoreRuntime 2018-11-19 22:02:51 +11:00
Aaron Powell bcf542506d setting up more of the core in CoreRuntime, this time the logger and Umbraco Core 2018-11-19 22:00:50 +11:00
Aaron Powell c9b2cbc75f Removing files that weren't meant to be added 2018-11-19 21:26:32 +11:00
Aaron Powell 71026d6d15 Fixes 3713
Moved the UmbracoApplicationBase from Core to Web
Moved the WebProfiler from Core to Web
Removed UmbracoApplicationBase from the CoreRuntime, it's still in the WebRuntime (and registered there in DI)
2018-11-19 21:23:08 +11:00
Shannon 543a34a6f3 Fixes how the new move method on MediaService deals with event messages 2018-11-19 17:58:42 +11:00
Shannon 99d9c49c9f Gets sln building and manually merges the entity/media service changes 2018-11-19 17:54:36 +11:00
Shannon c3736ce7ab Merge remote-tracking branch 'origin/dev-v7' into temp8
# Conflicts:
#	.github/README.md
#	build.bat
#	src/Umbraco.Core/Migrations/Expressions/Alter/Table/AlterTableBuilder.cs
#	src/Umbraco.Core/Migrations/Expressions/Create/Column/CreateColumnBuilder.cs
#	src/Umbraco.Core/Migrations/Expressions/Create/Index/CreateIndexBuilder.cs
#	src/Umbraco.Core/Migrations/Expressions/Create/Table/CreateTableBuilder.cs
#	src/Umbraco.Core/Persistence/DatabaseModelDefinitions/DefinitionFactory.cs
#	src/Umbraco.Core/Persistence/DatabaseModelDefinitions/IndexDefinition.cs
#	src/Umbraco.Core/Persistence/Factories/MediaFactory.cs
#	src/Umbraco.Core/Persistence/Migrations/Syntax/Alter/Column/AlterColumnBuilder.cs
#	src/Umbraco.Core/Persistence/Repositories/EntityRepository.cs
#	src/Umbraco.Core/Persistence/Repositories/UserRepository.cs
#	src/Umbraco.Core/Persistence/Repositories/VersionableRepositoryBase.cs
#	src/Umbraco.Core/Persistence/SqlSyntax/MySqlSyntaxProvider.cs
#	src/Umbraco.Core/Services/EntityService.cs
#	src/Umbraco.Core/Services/IMediaService.cs
#	src/Umbraco.Core/Services/MediaService.cs
#	src/Umbraco.Core/Services/NotificationService.cs
#	src/Umbraco.Web.UI.Client/bower.json
#	src/Umbraco.Web.UI.Client/src/common/directives/components/imaging/umbimagegravity.directive.js
#	src/Umbraco.Web.UI.Client/src/common/directives/components/tree/umbtreeitem.directive.js
#	src/Umbraco.Web.UI.Client/src/common/directives/validation/valtab.directive.js
#	src/Umbraco.Web.UI.Client/src/common/resources/media.resource.js
#	src/Umbraco.Web.UI.Client/src/common/resources/mediatype.resource.js
#	src/Umbraco.Web.UI.Client/src/controllers/navigation.controller.js
#	src/Umbraco.Web.UI.Client/src/less/main.less
#	src/Umbraco.Web.UI.Client/src/less/panel.less
#	src/Umbraco.Web.UI.Client/src/less/property-editors.less
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/mediapicker/mediapicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/mediaPicker/mediapicker.html
#	src/Umbraco.Web.UI.Client/src/views/components/imaging/umb-image-gravity.html
#	src/Umbraco.Web.UI.Client/src/views/content/copy.html
#	src/Umbraco.Web.UI.Client/src/views/content/emptyrecyclebin.html
#	src/Umbraco.Web.UI.Client/src/views/content/move.html
#	src/Umbraco.Web.UI.Client/src/views/dashboard/settings/settingsdashboardintro.html
#	src/Umbraco.Web.UI.Client/src/views/datatypes/move.html
#	src/Umbraco.Web.UI.Client/src/views/documenttypes/copy.html
#	src/Umbraco.Web.UI.Client/src/views/documenttypes/create.html
#	src/Umbraco.Web.UI.Client/src/views/documenttypes/move.html
#	src/Umbraco.Web.UI.Client/src/views/documenttypes/views/templates/templates.controller.js
#	src/Umbraco.Web.UI.Client/src/views/documenttypes/views/templates/templates.html
#	src/Umbraco.Web.UI.Client/src/views/media/move.html
#	src/Umbraco.Web.UI.Client/src/views/mediatypes/copy.html
#	src/Umbraco.Web.UI.Client/src/views/mediatypes/create.html
#	src/Umbraco.Web.UI.Client/src/views/mediatypes/move.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/fileupload/fileupload.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/imagecropper/imagecropper.prevalues.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/mediapicker/mediapicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/mediapicker/mediapicker.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/radiobuttons/radiobuttons.html
#	src/Umbraco.Web.UI.Client/src/views/users/views/user/details.html
#	src/Umbraco.Web.UI/Umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/fr.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/nl.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/pl.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/ru.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/sv.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/zh.xml
#	src/Umbraco.Web.UI/Umbraco/developer/Macros/editMacro.aspx
#	src/Umbraco.Web.UI/Umbraco/dialogs/ChangeDocType.aspx
#	src/Umbraco.Web.UI/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/es.xml
#	src/Umbraco.Web.UI/umbraco/dialogs/editMacro.aspx
#	src/Umbraco.Web/Controllers/UmbLoginController.cs
#	src/Umbraco.Web/Editors/ContentControllerBase.cs
#	src/Umbraco.Web/Editors/ContentTypeController.cs
#	src/Umbraco.Web/Editors/MediaController.cs
#	src/Umbraco.Web/Editors/PasswordChanger.cs
#	src/Umbraco.Web/HttpRequestExtensions.cs
#	src/Umbraco.Web/Models/ContentEditing/Tab.cs
#	src/Umbraco.Web/PropertyEditors/ImageCropperPropertyEditor.cs
#	src/Umbraco.Web/Templates/TemplateRenderer.cs
#	src/Umbraco.Web/Trees/ApplicationTreeController.cs
#	src/Umbraco.Web/Trees/ContentTreeController.cs
#	src/Umbraco.Web/Trees/ContentTreeControllerBase.cs
#	src/Umbraco.Web/Trees/MediaTreeController.cs
#	src/Umbraco.Web/_Legacy/Controls/TabView.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/developer/RelationTypes/EditRelationType.aspx.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/developer/Xslt/editXslt.aspx.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/protectPage.aspx.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/settings/editLanguage.aspx.cs
#	src/umbraco.cms/Actions/Action.cs
#	src/umbraco.providers/members/UmbracoMembershipProvider.cs
2018-11-19 15:32:26 +11:00
Aaron Powell e1be4effca Fixes 3710: Removing the usage of HostingEnvironment.MapPath 2018-11-19 14:31:20 +11:00
Stephan 3960791bf2 Simplify CollectionBuilderBase, no more named services 2018-11-18 11:05:39 +01:00
Stephan 5b39e5e5c7 Fix typo in ReflectionUtilities 2018-11-18 11:05:14 +01:00
Stefano Chiodino e2455b14d9 Don't serialise null template id to 0. Use empty string instead as null doesn't work in this case. 2018-11-17 10:59:26 +00:00
Warren Buckley f6b0b35ff7 Couple more tests for logviewer 2018-11-16 15:16:18 +00:00
Warren Buckley c62f25c9a8 Adds two more new tests - perisistance with the saved search file & checking log counts are what we expect 2018-11-16 14:26:56 +00:00
Warren Buckley 1d093b4ecb Im clearly not with it today - heres that missing unit test 2018-11-16 13:46:24 +00:00
Warren Buckley b8409cdd2e Forgot to commit the test class file in previous commit
But now we have our first test running, checking that it failed & it now passes as expected
2018-11-16 13:44:29 +00:00
Warren Buckley d9dc32edcb Adds in example log file & JSON saved search file
Unit test class preps/copies files in setup/teardown as needed
2018-11-16 13:32:43 +00:00
Warren Buckley b1244dfa1b Update JsonLogViewer & undelrying base class to support setting path to log files & path to search file - so can be used in testing 2018-11-16 13:20:21 +00:00
Mads Rasmussen e84cbc7e19 wip swap out bootstrap datepicker for flatpickr 2018-11-16 14:07:41 +01:00
Warren Buckley b22ae2cf9f Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-11-16 12:55:04 +00:00
Warren Buckley 31969cd767 Merge pull request #3625 from umbraco/temp8-login-screen
Temp8 login screen
2018-11-16 12:34:05 +00:00
Stephan 35a5146cad Fix ContentService branch publishing 2018-11-16 13:30:42 +01:00
Shannon 3e5e9aa9d7 temp refactor for fixing issue with return AlreadyPublishedStatus 2018-11-16 16:39:27 +11:00
James Coxhead d019ba81f3 Get relation names 2018-11-15 22:34:43 +00:00
James Coxhead 10f6f8df90 Show relations in edit view 2018-11-15 22:22:15 +00:00
Stephan 889e48ea4a Detect incomplete migrations 2018-11-15 19:36:23 +01:00
Dave Woestenborghs 818e9f8b4c 3417 - don't use legacy action for create method 2018-11-15 15:28:35 +01:00
Stephan 149dfda975 Merge branch 'temp8-224-db-updates-sched-publishing-with-variants' into temp8-3096-angular-bulk-publish 2018-11-15 14:58:51 +01:00
Stephan 6a8fc09acd Fix ContentService branch publishing events 2018-11-15 14:58:10 +01:00
Stephan 243fa78edf Fix scheduled publishing 2018-11-15 14:57:56 +01:00
Bjarke Berg 0fedeab45d Merge pull request #3516 from umbraco/temp8-expr-visitor
Fix expression visitor for WHERE IN
2018-11-15 14:54:38 +01:00
Stephan f316931a50 Merge branch 'temp8-224-db-updates-sched-publishing-with-variants' into temp8-3096-angular-bulk-publish 2018-11-15 13:34:02 +01:00
Stephan eb37e03ebc Deal with fixme/review 2018-11-15 13:25:21 +01:00
Mads Rasmussen 40c0b4ef2b delete angular-bootstrap file. It is never loaded anyway 2018-11-15 13:18:15 +01:00
Sebastiaan Janssen 06db9d2223 Reverts PR #3449 and #3493 2018-11-15 13:00:54 +01:00
Mads Rasmussen 29a2e4664b Remove global close dialog events and add them to each component so we can clean up correctly 2018-11-15 10:58:47 +01:00
Stephan c2a72ad98f Fix tags migration 2018-11-15 10:11:22 +01:00
Stefano Chiodino 470585b50d Fix some more tests that were counting on defaulting to 0 2018-11-15 08:01:54 +00:00
Stephan 42857ebc2a Simplify version management, SolutionInfo is only the source now 2018-11-15 08:47:47 +01:00
Stephan bd9a67f5a9 Fix dropdown migration 2018-11-15 08:43:54 +01:00
Stefano Chiodino cc8cb96140 The change to nullable expands to even more neighbors... 2018-11-15 07:23:09 +00:00
Stefano Chiodino 8275050dee Comes to terms that we are now using nullables...spread the word to all other types that use a template ID one way or another. 2018-11-15 06:48:25 +00:00
Bjarke Berg 94790e5eab Merge pull request #3528 from umbraco/temp7-3015-change-password-should-not-reset
If a password is provided, then use this instead of an autogenerated …
2018-11-15 07:42:35 +01:00
Shannon e5e2194316 Updates some messaging 2018-11-15 17:20:00 +11:00
Shannon 7f6da8bca7 Merge branch 'temp8-224-db-updates-sched-publishing-with-variants' into temp8-3096-angular-bulk-publish 2018-11-15 16:27:31 +11:00
Shannon b515aea8dd Fixes issue with *, fixes some of the logic in tests, adds another test, adds fixme notes 2018-11-15 16:25:08 +11:00
Shannon b0e97ad772 Adds failing test that should work 2018-11-15 15:43:44 +11:00
Shannon 496ecf5c9a Cleans up how the content path permissions are checked, integrates the bulk publishing into the controller, adds security check to ensure the user can publish the whole branch, updates the UI messaging so they are grouped by publish statuses and deals with multiple publish status (i.e. in bulk), fixes some content tree issues 2018-11-15 15:24:09 +11:00
Shannon 5135cc93ac Merge branch 'temp8-226-sched-pub-angular' into temp8-3096-angular-bulk-publish 2018-11-15 10:04:18 +11:00
Mads Rasmussen a067242f5e fix list view card layout 2018-11-14 15:31:17 +01:00
Mads Rasmussen c7e1cdec17 delete dialogService 2018-11-14 14:49:11 +01:00
Mads Rasmussen 86e280f7d3 delete last dialogService views 2018-11-14 14:30:21 +01:00
Shannon cbd14c0a7d Merge remote-tracking branch 'origin/temp8-224-db-updates-sched-publishing-with-variants' into temp8-226-sched-pub-angular 2018-11-15 00:14:46 +11:00
Mads Rasmussen 136309dd29 remove dialogService from new login screen 2018-11-14 14:11:43 +01:00
Mads Rasmussen 10caf7b75b remove old login screen code 2018-11-14 14:11:11 +01:00
Shannon c8f1863e0d Getting publish with descendants working 2018-11-15 00:09:57 +11:00
Stephan e08189cc25 ContentSchedule Guid identifier 2018-11-14 13:59:53 +01:00
Claus 609609e1ee Merge pull request #3619 from umbraco/abjerner-patch-2
Spotted some minor typos
2018-11-14 13:55:19 +01:00
Mads Rasmussen 4f2ed545da remove migration code for legacy views 2018-11-14 13:52:43 +01:00
Mads Rasmussen 9f8f1a1df2 This file doesn't seem to be in use 2018-11-14 13:49:04 +01:00
Mads Rasmussen 66fd184480 remove references to dialogService 2018-11-14 12:50:50 +01:00
Shannon 204c4e21fc fix merge 2018-11-14 22:31:51 +11:00
Shannon 8020092099 Merge remote-tracking branch 'origin/temp8-224-db-updates-sched-publishing-with-variants' into temp8-226-sched-pub-angular 2018-11-14 22:23:40 +11:00
Stephan 3104b02db4 Deal with fixme/review 2018-11-14 11:59:16 +01:00
Mads Rasmussen 49a624ade7 fix discard changes for permissions context dialog 2018-11-14 11:56:04 +01:00
Mads Rasmussen bea074c964 fix up "Do something else"-buttons 2018-11-14 11:17:44 +01:00
Warren Buckley 23c4f88ce7 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-11-14 10:09:49 +00:00
Stephan 7a0040ce82 Bugfix visitor 2018-11-14 10:52:24 +01:00
Shannon 413791fb19 Fixes problem with UserRepository.GetProfile since it was looking up the wrong fields :( this meant that the security audit events were not being raised since it wasn't finding users by their login 2018-11-14 20:32:20 +11:00
Shannon b029215933 Updates logic for PasswordChanger so when the ChangePasswordWithMembershipProvider it correctly updates the password and raises the right event 2018-11-14 20:09:29 +11:00
Mads Rasmussen b38547396b fix up more context menu close buttons 2018-11-14 09:46:11 +01:00
Stephan 7c6b92b539 Merge branch 'temp8' into temp8-expr-visitor 2018-11-14 09:20:06 +01:00
Stephan 9ed7758d38 Deal with fixme/review 2018-11-14 09:16:22 +01:00
Shannon 0b403fe5e5 Merge remote-tracking branch 'origin/temp8' into temp8-226-sched-pub-angular 2018-11-14 19:07:54 +11:00
Shannon Deminick 5c255ba846 Merge pull request #3525 from umbraco/temp8-265-cant-create-partial-view-macro-files
Change sections on views for partial view macros
2018-11-14 19:07:26 +11:00
Shannon bcf5006e8c Merge remote-tracking branch 'origin/temp8' into temp8-226-sched-pub-angular 2018-11-14 18:58:13 +11:00
Shannon Deminick d4836d0cb8 Merge pull request #3523 from umbraco/temp8-264-cant-reload-tree-nodes-in-templating-area
Bugfix: Can't reload tree Nodes in the Templating area of the Settings section
2018-11-14 18:56:16 +11:00
Shannon d80ce16e66 Merge remote-tracking branch 'origin/temp8-224-db-updates-sched-publishing-with-variants' into temp8-226-sched-pub-angular 2018-11-14 17:40:04 +11:00
Mads Rasmussen 17497e7cc7 fixing up a bunch of close buttons in the context menu dialogs 2018-11-13 17:38:22 +01:00
Stefano Chiodino 6dd260a825 Update DocumentRepositoryTest.cs 2018-11-13 16:20:11 +00:00
Stefano Chiodino 8183f32399 Update DocumentRepository.cs 2018-11-13 16:18:40 +00:00
Stefano Chiodino 7c971b8366 Update DocumentRepository.cs 2018-11-13 16:17:45 +00:00
Stephan 0cd8f3787c Clear fixmes 2018-11-13 16:42:31 +01:00
Warren Buckley 8f6af7b41e Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-11-13 15:08:17 +00:00
Anders Bjerner cb636544c0 Spotted some minor typos 2018-11-13 15:06:58 +01:00
Mads Rasmussen d7f59adc64 dont get currentNode from dialogOptions 2018-11-13 14:26:43 +01:00
Mads Rasmussen 259e17b45d open context menu dialog based on appState instead of dialogService 2018-11-13 14:25:15 +01:00
Robert c1bbc22087 Merge pull request #3511 from umbraco/temp7-262-xss-updating-removing-publicAccess
Adding html encoding when updating or removing Public Access of a con…
2018-11-13 12:54:11 +01:00
Stephan 0376e48f51 Clear fixme 2018-11-13 11:59:27 +01:00
Stephan 6cb20c1d79 Deal with events and contexts in scheduled publishing 2018-11-13 11:51:25 +01:00
Stephan 76b1cd6573 Cleanup 2018-11-13 11:51:25 +01:00
Mads Rasmussen 530a3e2439 fix up invite user functionality 2018-11-13 10:41:09 +01:00
Stephan aa621f687e Refactor/fix registering controllers 2018-11-13 10:07:30 +01:00
Mads Rasmussen 340ad8b853 add white background to user invite confirmation screen 2018-11-13 09:40:04 +01:00
Shannon 31a9bf7091 Merge branch 'temp8-224-db-updates-sched-publishing-with-variants' into temp8-226-sched-pub-angular 2018-11-13 18:22:13 +11:00
Shannon ae91da1adb Updates the GetContentForExpiration, GetContentForRelease to ignore published/trashed flags so that callers can deal with those status, adds method to the repo to clear any schedule older than a given date. 2018-11-13 17:51:59 +11:00
Shannon ac5c76385c Fixes some logic with validation 2018-11-13 16:57:38 +11:00
Shannon c6ef3750df Merge branch 'temp8-224-db-updates-sched-publishing-with-variants' into temp8-226-sched-pub-angular 2018-11-13 16:17:23 +11:00
Shannon 6e63cc8c19 Fixes ScheduledPublishing since nothing was actually happening because the IEnumerable wasn't being resolved since the method does a yield return. Adds logging. 2018-11-13 16:16:52 +11:00
Shannon 5827a8a3e1 I think i've finally got saving a schedule working with the correct validation 2018-11-13 14:31:37 +11:00
James Jackson-South a8fc62cf42 Optimize Guid.Combine and HexString generation. 2018-11-12 16:22:33 +00:00
Shannon 66394926c0 Gets some validation messages working for sched pub 2018-11-13 00:46:13 +11:00
Mads Rasmussen 253797573e dont bind the form to the vm 2018-11-12 11:40:03 +01:00
Shannon c653d7adb9 Ensures that any persisted scheduling dates that are changed in the dialog are reset if the dialog is closed and not saved 2018-11-12 18:05:55 +11:00
Shannon 5d7e0ceff1 Updates the scheduled publish dialog to show all scheduled dates regardless of if the variant is selected. When the variant is selected then the date pickers are available, else if there is a persisted date, it's just text that is shown. 2018-11-12 17:52:21 +11:00
Shannon 4d13956372 better logic for validating and persisting schedules 2018-11-12 17:29:38 +11:00
Shannon 45822dba1e Merge remote-tracking branch 'origin/temp8-224-db-updates-sched-publishing-with-variants' into temp8-226-sched-pub-angular 2018-11-12 17:18:23 +11:00
Mads Rasmussen db2f1e9cb1 use overlayService for ysods 2018-11-09 13:49:19 +01:00
Mads Rasmussen ad805acd38 fix reset password flow 2018-11-09 11:18:01 +01:00
Mads Rasmussen 1e167113b7 fix show reset password button 2018-11-09 10:39:33 +01:00
Mads Rasmussen 4c3ac097ca wip move login logic from dialog to its own component 2018-11-09 09:59:36 +01:00
Stephan 5381eec6a4 fix+cleanup publishing with variants 2018-11-09 09:35:11 +01:00
Shannon 76f6721c80 Got some of the angular bits wired up 2018-11-09 16:12:08 +11:00
avs099 b2ffe4b685 Update ContentFinderByRedirectUrl.cs 2018-11-08 19:48:16 -05:00
Laura Weatherhead 1850d046e4 RelatedLinks2 validation in Nested content (#3578) 2018-11-08 16:53:25 +00:00
Stefano Chiodino 4a4a897ab1 Find that DB schema isn't happy with TemplateId being zero, using nullable instead 2018-11-08 16:46:12 +00:00
LindaSluijter 6a1568d562 Typo/spelling/grammar fixes for Dutch translation (#3576) 2018-11-08 16:36:40 +00:00
James Jackson-South bee1cd571a Merge branch 'temp8' of https://github.com/JimBobSquarePants/Umbraco-CMS into temp8 2018-11-08 16:31:44 +00:00
James Jackson-South 0803e0fa7f Recreate benchmark project and update deps Fix #3561 2018-11-08 16:28:17 +00:00
Owain Williams 3c74b7f112 Turning auto complete off on Password field 2018-11-08 16:05:49 +00:00
Owain Williams f13cc6a210 Turning autocomplete off on password field 2018-11-08 16:04:02 +00:00
James Jackson-South 78b7bb6a22 Recreate benchmark project and update deps Fix #3561 2018-11-08 15:33:14 +00:00
Emma Garland b065089bcb Renamed variable in order to fix issue when using content picker 2018-11-08 14:30:12 +00:00
Stefano Chiodino ccd6711a8a cleanup 2018-11-08 14:30:01 +00:00
Karl Tynan 8897ae18da Remove duplicate "?" on emptying recycle bins (#3556) 2018-11-08 14:13:53 +00:00
Stefano Chiodino 2e3cf979d3 #3544: Fix IFileService resolution (now it runs and seem functional) 2018-11-08 13:57:59 +00:00
Kenn Jacobsen 04d6704766 Change badge color from boolean (alert=true/false) to string (type=warning/error) 2018-11-08 14:56:43 +01:00
Kenn Jacobsen 75e1c9a0ae Merge branch 'v8-feature-content-app-badge' of https://github.com/kjac/Umbraco-CMS into v8-feature-content-app-badge 2018-11-08 14:28:33 +01:00
Kenn Jacobsen 355447d4e2 Merge branch 'temp8' into v8-feature-content-app-badge 2018-11-08 14:28:16 +01:00
Stefano Chiodino 993972fa62 #3544: change template reference for its ID (WIP: it builds) 2018-11-08 13:24:34 +00:00
Warren Buckley 5cc4370dc1 Fix log message templates to not use single quotes - as not helpful for searching with logviewer 2018-11-08 13:09:26 +00:00
Laura W c01d09744f Updated absolute-positioned validation error message to be readable when document types are attempting save with duplicate alias 2018-11-08 11:45:18 +00:00
Mads Rasmussen 1f3e67645d a bit of dependency injection clean up so we can figure out where the dialogService is used. 2018-11-08 12:44:24 +01:00
Warren Buckley 1d5ae45b06 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-11-08 09:58:56 +00:00
Mads Rasmussen 92dacf050b Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-11-08 10:10:07 +01:00
Mads Rasmussen 51895f949c fix client side docs build 2018-11-08 10:09:31 +01:00
Shannon 3ac3590f2c only enable the schedule button if a date is selected 2018-11-08 17:14:04 +11:00
Shannon 4b23090e97 fixes migrations 2018-11-08 14:42:46 +11:00
Shannon 6922e825f5 fixes migrations 2018-11-08 14:40:10 +11:00
Shannon fad2e048ff Merge remote-tracking branch 'origin/temp8' into temp8-224-db-updates-sched-publishing-with-variants 2018-11-08 14:32:37 +11:00
Shannon 99a8d899e0 Changes FullSchedule to just be a list 2018-11-08 13:15:56 +11:00
Shannon c4bce9ecb5 Adds publish status for mixed unpublish/publish action in the same operation 2018-11-08 12:49:37 +11:00
Shannon d4bf5f7ab9 Fixes test, removes nested scope 2018-11-08 12:28:53 +11:00
Warren Buckley 9608d20b38 Merge pull request #3542 from umbraco/temp8-stylesheet-fixes
Temp8 stylesheet fixes
2018-11-07 18:27:18 +00:00
Mads Rasmussen 1d07ef7e4d add preview 2018-11-07 18:23:43 +01:00
Stephan 399e0d9469 Merge branch 'temp8' into temp8-expr-visitor 2018-11-07 15:24:56 +01:00
Mads Rasmussen dca4c4e3bf open the correct view based on which item you are creating and on the content of the stylesheet file 2018-11-07 15:11:35 +01:00
Shannon 3b3824c33a Fixes merge issues and issue with StrategyCanUnpublish, 1 tests failing i need to fix 2018-11-07 22:18:43 +11:00
Shannon 6888ed088b Merge remote-tracking branch 'origin/temp8-3336-publish-branch' into temp8-224-db-updates-sched-publishing-with-variants
# Conflicts:
#	src/Umbraco.Core/Services/Implement/ContentService.cs
2018-11-07 22:09:51 +11:00
Shannon 607615c968 Adds another assert, fixes up issue 2018-11-07 21:40:19 +11:00
Shannon adf52425d2 Adds test for PerformScheduledPublish, fixes issues with resetting dirty props, fixes other issues found 2018-11-07 21:32:12 +11:00
Warren Buckley 7f0099ca57 Adds new create dialog option to create a stylesheet as RTE (will set URL location to include rtestyle=true) 2018-11-07 10:26:51 +00:00
Mads Rasmussen d021505062 use infinite editing for rich text rule dialog 2018-11-07 11:18:23 +01:00
Dave Woestenborghs 271e01262f #3434 set correct labels 2018-11-07 10:53:23 +01:00
Bjarke Berg c182428986 If a password is provided, then use this instead of an autogenerated one. 2018-11-07 10:51:55 +01:00
Dave Woestenborghs b25413abcd #3434 show indication on designer that property is varied by culture 2018-11-07 10:47:13 +01:00
Dave Woestenborghs 7bfce6e428 #3434 refactored toggle functions 2018-11-07 10:39:11 +01:00
Dave Woestenborghs ecb4e00516 #3434 changed checkboxes on member property settings to toggles 2018-11-07 10:31:16 +01:00
Shannon df40a3d588 merge fixes 2018-11-07 20:12:07 +11:00
Dave Woestenborghs 110ecc5fda #3434 use toggle for mandatory validation on property type settings and made a better distinction between mandatory and custom validation 2018-11-07 10:09:04 +01:00
Dave Woestenborghs d0908895dd #3434 removed usage of subview-classes 2018-11-07 09:48:31 +01:00
Shannon 92045c81bb Merge remote-tracking branch 'origin/temp8' into temp8-224-db-updates-sched-publishing-with-variants
# Conflicts:
#	src/Umbraco.Core/Models/Content.cs
#	src/Umbraco.Tests/Services/ContentServiceTests.cs
2018-11-07 19:44:37 +11:00
Shannon c57ac7752c Merges UnpublishResult into PublishResult, fixes dirty tracking for unpublishing a culture and logs the correct info along with returning the correct status, fixes ContentService so that all publishing/unpublishing logic happens in one one place including all Audit/Logs, gets ContentService.PerformScheduledPublish in place 2018-11-07 19:42:49 +11:00
Mads Rasmussen 1a41998bd1 add border radius to rich text rules 2018-11-07 09:29:56 +01:00
Mads Rasmussen ca749537b2 add a little more space underneath content app icons 2018-11-07 09:13:54 +01:00
Bjarke Berg 3e50ef694d Change sections on views for partial view macros 2018-11-07 08:42:22 +01:00
Bjarke Berg 9237480aca Bugfix: The root could not be found in getDescendantNode, when the treeAlias was not in the first child. 2018-11-07 08:21:43 +01:00
Mads Rasmussen 89266d4876 move server calls to resource 2018-11-06 21:24:55 +01:00
Mads Rasmussen 5e884fe06c align button to the left + use umb-button component 2018-11-06 21:12:04 +01:00
Stephan e91d485d1c 3336 - bulk branch publish with variants 2018-11-06 17:12:00 +01:00
Warren Buckley c5c4d93c5f Merge pull request #3515 from umbraco/temp8-266-empty-folders-still-shows-the-expand-arrow
Update HasChildren, on removeNode in treeService
2018-11-06 14:55:56 +00:00
Stephan f3e9e282fa Fix expression visitor for WHERE IN 2018-11-06 15:29:56 +01:00
Claus cfa3f58c33 fixing Stylesheet tests to fit with new line breaks and tabs added. 2018-11-06 15:10:01 +01:00
Bjarke Berg cd6b374d22 Update HasChildren, on removeNode in treeService 2018-11-06 14:51:51 +01:00
Warren Buckley 872932145f Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-11-06 13:26:32 +00:00
Warren Buckley 2b9720d18b Warnings cleanup - Another unused variable 2018-11-06 13:25:36 +00:00
Claus f764b46b8e Merge pull request #3429 from umbraco/temp8-231-send-to-publish-with-variants
v8 - send to publish with variants
2018-11-06 14:19:28 +01:00
Claus 61b0c49160 updating comment. 2018-11-06 14:19:10 +01:00
Warren Buckley d420f61e13 Reduce VS Warnings: Remove ununused const string 2018-11-06 13:15:45 +00:00
Claus 8f43451519 Merge pull request #3503 from kjac/feature-angular-stylesheets-editing-in-tabs
V8: Angular implementation of stylesheets editing
2018-11-06 13:52:32 +01:00
Robert 061297cdcf Merge pull request #3513 from umbraco/temp7-cropper-inputs
fix alignment of cropper prevalue inputs
2018-11-06 12:48:42 +01:00
Warren Buckley a5e9ce515f Merge branch 'temp8' into temp8-logviewer 2018-11-06 11:46:46 +00:00
Warren Buckley 812d9e2be9 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-11-06 11:09:12 +00:00
Mads Rasmussen 0f4cf0a97c fix alignment of cropper prevalue inputs 2018-11-06 12:00:37 +01:00
Robert 70624e3e64 Merge pull request #3502 from umbraco/temp8-3469-listview-publish
Temp8 3469 listview publish
2018-11-06 11:57:58 +01:00
Robert 7e8578c9fb Fixes unit test by ignoring VariesByCulture property on MemberMapperProfile and mapping on MediaMapperProfile. 2018-11-06 11:38:49 +01:00
Shannon 9b1d9e02bf Gets publishing validation working with scheduled cultures, cleans up some code, removes Status from IContent into an extension method 2018-11-06 21:33:24 +11:00
Warren Buckley 1ef487b7da Removing last of log entries that do string concat or interpolation & updates to use MessageTemplate format instead 2018-11-06 10:25:35 +00:00
Mads Rasmussen f2feaba604 fix tab styling in legacy dialogs 2018-11-06 10:13:15 +01:00
Robert bdd438e307 Merge branch 'temp8' into temp8-3469-listview-publish 2018-11-06 09:57:38 +01:00
Warren Buckley 21be52c60a Merge branch 'temp8' into temp8-logviewer 2018-11-06 08:43:39 +00:00
Warren Buckley 04bcd85e8e Merge branch 'dev-v7' of https://github.com/umbraco/Umbraco-CMS into dev-v7 2018-11-05 14:50:06 +00:00
Warren Buckley 91ea16feb3 Merge branch 'temp7-create-template-fix' into dev-v7 2018-11-05 14:49:43 +00:00
Mads Rasmussen 9153e4443f check for "fake template" when creating a new doc type with a template 2018-11-05 15:39:56 +01:00
Warren Buckley 583828a5f3 Merge pull request #3499 from umbraco/temp7-create-template-fix
Only show "Add Template" button if the template does not currently ex…
2018-11-05 14:39:02 +00:00
Mads Rasmussen 42bcde2c59 rename button, use umb button directive, add icon to template + a bit of code clean up 2018-11-05 15:32:07 +01:00
Mads Rasmussen 4f73ef69d5 use overlayService for delete confirmation 2018-11-05 13:25:05 +01:00
Warren Buckley 88c56046c3 Merge pull request #3508 from umbraco/temp7-263-xss-parameters-injection
Fixes a reflected XSS issue due to a parameter consumed directly from…
2018-11-05 12:18:00 +00:00
Robert d5294568ce Merge pull request #3488 from umbraco/temp8-258-empty-trees-arrow
Adding a check to verify if there are any children which will resolve…
2018-11-05 12:47:19 +01:00
elitsa aaa920719f Adding html encoding when updating or removing Public Access of a content. 2018-11-05 12:41:19 +01:00
elitsa 2b33c5cfd7 Fix for chekcing the children belonging to MemberType tree. 2018-11-05 10:46:50 +01:00
Mads Rasmussen 0843badb15 reload nodes after publish/unpublish 2018-11-05 10:40:38 +01:00
elitsa 666a78f803 Fix for getting the right collection. 2018-11-05 10:36:17 +01:00
Mads Rasmussen ababd45f4a fix doc type saving in infinite editing 2018-11-05 10:29:17 +01:00
Mads Rasmussen ebca79f254 don't fade unpublished items 2018-11-05 10:09:56 +01:00
elitsa acd067bb4e Fixes a reflected XSS issue due to a parameter consumed directly from the request. 2018-11-05 10:07:50 +01:00
Kenn Jacobsen d7d367aeb2 Move rules editing to an overlay 2018-11-05 08:58:30 +01:00
Shannon 24360a762c Adds change tracking to the schedule collection, updates the DocumentRepository to add logic to fetch the schedule, adds/updates tests, all green 2018-11-05 17:20:26 +11:00
Shannon 0d35a6a140 Gets all tests fixed up, now to write some more 2018-11-05 13:59:55 +11:00
elitsa b9e30604a4 Fix for chekcing the children belonging to Templates tree. 2018-11-04 22:54:25 +01:00
elitsa 2f3483453c Merge remote-tracking branch 'origin/temp8' into temp8-258-empty-trees-arrow 2018-11-04 22:44:20 +01:00
Stephanie Youstra 9077eac698 Various grammar fixes to README.md (#3496) 2018-11-03 09:52:51 +01:00
Warren Buckley 2badacb8a8 Adds UmbracoFeatures to the Composition to allow user components to do something like this - composition.Features().Disabled.Controllers.Add<LogViewerTreeController>() 2018-11-02 15:35:20 +00:00
Warren Buckley 7091658a3b Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-11-02 15:34:09 +00:00
Warren Buckley 2f6e66184f Adds UmbracoFeatures to the Composition to allow user components to do something like this - composition.Features().Disabled.Controllers.Add<LogViewerTreeController>() 2018-11-02 15:33:43 +00:00
Warren Buckley c5b7543e54 Update to pass dates through correctly 2018-11-02 15:32:37 +00:00
Mads Rasmussen 9c80867320 fix notifications + bulk status 2018-11-02 15:42:32 +01:00
Mads Rasmussen 73d9731c1b make labels clickable 2018-11-02 15:10:45 +01:00
Mads Rasmussen 66ea4105b0 prevent save when dialogs are open 2018-11-02 13:47:45 +01:00
Mads Rasmussen b3e5f59fe4 pass cultures to publish method 2018-11-02 13:11:48 +01:00
Kenn Jacobsen e8856731f8 Break the rules editing out of the column view to utilize the space properly 2018-11-02 13:06:40 +01:00
Warren Buckley 7a23fdc1ea Update logic for pre-flight check 2018-11-02 11:09:59 +00:00
Mads Rasmussen a2f4c317e9 disable publish button if nothing is selected 2018-11-02 12:08:20 +01:00
Mads Rasmussen 05b47deb96 remove debugging code 2018-11-02 11:58:15 +01:00
Mads Rasmussen 51e13b9f7a add special keys for list view popups 2018-11-02 11:57:56 +01:00
Mads Rasmussen 3f31e2cd07 publish dialog preselect the active language 2018-11-02 11:17:13 +01:00
Mads Rasmussen 77f352f449 a little bit of code clean up 2018-11-02 10:55:40 +01:00
Mads Rasmussen ef24440277 unpublish by culture 2018-11-02 10:33:39 +01:00
Robert 853fbdaa61 Typo 2018-11-02 10:27:12 +01: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 60e8fed552 Set the form dirty when adding/removing/sorting rules 2018-11-02 09:20:42 +01:00
Mads Rasmussen 3f5fc56656 wip unpublish list view items 2018-11-02 09:10:22 +01:00
Kenn Jacobsen d0e6d0af2f Merge branch 'temp8' into feature-angular-stylesheets-editing-in-tabs 2018-11-02 08:46:57 +01:00
Shannon f223024164 Got database and persistence models in place for scheduled publishing, now need to start writing tests, fixing tests and cleaning up fixme statements 2018-11-02 14:55:34 +11:00
Mads Rasmussen 219c7284b6 add ellipsis to unpublish button 2018-11-01 19:55:59 +01:00
Warren Buckley 758eea479d Move the logic for checking can view logs out to a bool so it can be reused in the other API method calls 2018-11-01 16:24:48 +00:00
Warren Buckley 398134251e Add in some TODO notes to pickup from next time I get time to hack on this 2018-11-01 16:19:18 +00:00
Warren Buckley 24a6aecd73 Adds in a new API endpoint to get the size of logs - which will determine to display a warning message if the filesize is too big to read (to help prevent the CPU & memory being eaten up & killing the site) 2018-11-01 16:14:03 +00:00
Sebastiaan Janssen 1864dd8240 Update CONTRIBUTING_DETAILED.md 2018-11-01 16:56:10 +01:00
Sebastiaan Janssen 0315e9f338 Update CONTRIBUTING.md 2018-11-01 16:54:11 +01:00
Sebastiaan Janssen acd47ed143 Update PULL_REQUEST_TEMPLATE.md 2018-11-01 16:52:54 +01:00
Kenn Jacobsen 5001e2511d Translate "create" text 2018-11-01 16:04:07 +01:00
Kenn Jacobsen 57232c9c48 Implement delete 2018-11-01 16:01:34 +01:00
Kenn Jacobsen 617596cba4 Fix some newline issues 2018-11-01 15:53:04 +01:00
Kenn Jacobsen 4b79819a8c Move the style sheet manipulation back to CodeFileController 2018-11-01 15:49:30 +01:00
Kenn Jacobsen 2a312a7f21 Format the style rules nicely and add tests to back it up 2018-11-01 15:33:03 +01:00
Mads Rasmussen 888c08b56b wip list view publish 2018-11-01 14:44:12 +01:00
Robert 61e1301865 Merge pull request #3491 from umbraco/temp8-3130-examine-indexing-variant-switching
v8 - Examine indexing updates when content/media/member types change
2018-11-01 13:54:36 +01:00
Kenn Jacobsen 2f643259c8 Include the rest of the CSS assets for the ACE editor 2018-11-01 13:31:31 +01:00
Kenn Jacobsen 2b60769d0d More localization 2018-11-01 13:26:08 +01:00
Kenn Jacobsen c30b59b290 Oops. Broke the rules sorting. 2018-11-01 12:51:31 +01:00
Kenn Jacobsen 7e687b220b Ensure that rules are interpolated on save 2018-11-01 12:49:50 +01:00
Warren Buckley e07e12092c Adds 'VariesByCulture` property to ContentItemBasic model & its mapping - so that the GetChildren API call for list view can know if each child item varies by culture or not 2018-11-01 11:29:16 +00:00
Kenn Jacobsen 6b5a59c45f Fix rules validation 2018-11-01 12:23:25 +01:00
Kenn Jacobsen fc387b9f23 Localize rules.html 2018-11-01 11:53:08 +01:00
Mads Rasmussen 828c915691 add ellipsis to list view buttons 2018-11-01 11:46:03 +01:00
Robert 4b0b97752c Merge pull request #3489 from umbraco/temp7-nested-content-overlay
fixes position of nested content add item overlay
2018-11-01 11:27:52 +01:00
Robert 54d6d581f1 removed unused function 2018-11-01 11:27:08 +01:00
Kenn Jacobsen e726e6dffe Remove a bunch of inline styles 2018-11-01 11:08:41 +01:00
Robert ae5e549a8e Only show "Add Template" button if the template does not currently exists. 2018-11-01 10:40:42 +01:00
Warren Buckley ef30c1f005 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-11-01 09:16:04 +00:00
Shannon 2320b51df2 Removes old TemplateDto.Design column 2018-11-01 16:18:13 +11:00
Shannon Deminick 0d06828b76 Merge pull request #3460 from umbraco/temp-3457-entityrepository
EntityRepository is fetching all property data for media
2018-11-01 14:58:38 +11:00
Shannon ffd08d0a2e Fixes unit test 2018-11-01 14:56:55 +11:00
Shannon c5181607de Merge branch 'temp8' into temp8-231-send-to-publish-with-variants
# Conflicts:
#	src/Umbraco.Web/Components/NotificationsComponent.cs
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/Umbraco.Web/NotificationServiceExtensions.cs
#	src/Umbraco.Web/Trees/LegacyTreeDataConverter.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/SendPublish.aspx.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/webservices/nodeSorter.asmx.cs
2018-11-01 14:02:43 +11:00
Shannon 83f1bbf6bd Merge remote-tracking branch 'origin/temp8' into temp8-231-send-to-publish-with-variants
# Conflicts:
#	src/Umbraco.Core/Services/Implement/ContentService.cs
2018-11-01 13:37:18 +11:00
Shannon 1429053681 Slight refactor and cleanup 2018-11-01 13:12:47 +11:00
Shannon 0e8bac0b09 fixes member indexing with list object 2018-11-01 11:24:03 +11:00
Shannon 6121479258 Merge remote-tracking branch 'origin/temp8' into temp8-3130-examine-indexing-variant-switching
# Conflicts:
#	src/Umbraco.Tests/Services/ContentServiceTests.cs
2018-11-01 10:31:26 +11:00
Shannon 047bce17bf Cleans up more IContentService and IMediaService and removes any string filtering methods 2018-11-01 10:28:53 +11:00
Shannon 76a8cd6dcf Changes recycle bin service queries to paged 2018-11-01 10:22:45 +11:00
Kenn Jacobsen a3232bb55c WIP: split editing into tabs 2018-10-31 21:33:32 +01:00
Bjarne Fyrstenborg b7b24a6a3d #3246 - Consistency of macro page and other legacy pages (#3247) 2018-10-31 19:43:30 +01:00
Jesper Mayntzhusen 2cc440c7ff Prevent error label from moving input box 2018-10-31 19:30:34 +01:00
sofietoft 26aec86850 Update link to Our Forum 2018-10-31 19:29:44 +01:00
Warwick Buzacott 557905580b Fix for #3296: Adding comments 2018-10-31 19:27:53 +01:00
Warwick Buzacott a09660128a Fix for #3296. Large paged Listview sorted by custom property has blank custom properties 2018-10-31 19:27:53 +01:00
Kenn Jacobsen f15d30b1b4 Assign the current main culture to GetChildren lookup if none is defined, as this is required for variant data 2018-10-31 19:23:52 +01:00
Daniel Brereton 4d5f952aa6 fixed typo 2018-10-31 19:21:15 +01:00
Poornima Nayar 14e503d0e9 3492 Added a property "Tooltip" to the tabs which can then be set in the the EditorModel Events (#3493) 2018-10-31 19:19:46 +01:00
bharanijayasuri f73d55d496 Change to "MoveToRecycleBinDo" function of the MediaService and IMediaService (#3453) 2018-10-31 19:13:58 +01:00
Warren Buckley 39bb4f3a1e Merge branch 'temp8' into temp8-logviewer 2018-10-31 14:33:40 +00:00
Shannon 082d860a5b fixes tests 2018-11-01 01:28:12 +11:00
Warren Buckley c01cdf2fdb Merge pull request #3479 from umbraco/temp8-IAction-cleanup
v8 IAction cleanup
2018-10-31 14:18:38 +00:00
Shannon 6a1d6668c4 Gets both media and member indexing working for when media/member types are changed 2018-11-01 01:01:50 +11:00
Warren Buckley b2c3944074 Remove a block of commented out code - that was forgotten 2018-10-31 13:47:07 +00:00
Mads Rasmussen a32271f280 fixes position of nested content add item overlay 2018-10-31 14:33:23 +01:00
Shannon ae5bda0910 Streamlines IMediaService to be consistent with IContentService for paging and using the Ordering class 2018-11-01 00:21:52 +11:00
Shannon b8d1dd7684 Cleans up paged methods of IContentService to use the Ordering parameter for consistency 2018-11-01 00:05:17 +11:00
elitsa 4d594e17aa Adding a check to verify if there are any children which will resolve the problem with showing a right-pointing arrow in front of empty trees in the Settings section. 2018-10-31 13:40:23 +01:00
Shannon 25dcc3f2c1 Removes GetChildren and GetDescendants from IMediaService, paging is now required 2018-10-31 23:11:37 +11:00
Robert ee431cdf6d Deleted unnecessary "drag and drop" info text. 2018-10-31 12:44:00 +01:00
Shannon 40eafe57b1 Fixes tests 2018-10-31 22:38:58 +11:00
Warren Buckley 569241eba3 Bumped [Tree] attribute type finder tests to 22 as now there is a new tree for log viewer 2018-10-31 11:18:55 +00:00
Warren Buckley bce6375300 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-10-31 11:11:29 +00:00
Warren Buckley 881ea22efe Fix lang typo in ContentService & fix up the breaking unit test 2018-10-31 10:24:40 +00:00
Robert bdb782b27f Merge branch 'dev-v7' of https://github.com/umbraco/Umbraco-CMS into dev-v7 2018-10-31 11:21:07 +01:00
Robert 83b30809d2 Fixes uploading files with comma in the file name. 2018-10-31 11:20:15 +01:00
Mads Rasmussen fb5fa8c40a change toggles in media picker and create doc type collection to checkboxes. Toggles should only be used for settings. 2018-10-31 10:24:58 +01:00
Shannon 437bf978a1 Removes non paged GetChildren and GetDescendants from content service 2018-10-31 18:01:39 +11:00
Shannon 18f6e7ba78 Updates ExamineComponent to page over descendants when caches are updated 2018-10-31 17:57:35 +11:00
Shannon 23860e58b9 Update re-indexing logic for content types including updating content types affected by composition changes 2018-10-31 16:33:10 +11:00
Mads Rasmussen 21396a3042 fix border for color picker with labels 2018-10-30 21:21:39 +01:00
Mads Rasmussen 72f3739430 add pointer to list view content templates dropdown 2018-10-30 21:15:29 +01:00
Mads Rasmussen 6b0f393a65 use opacity instead of gray to set border color for color swatches so colors don't look blurry 2018-10-30 21:02:24 +01:00
Mads Rasmussen a27cf7fb1b dont collapse color in color picker prevalues 2018-10-30 20:56:10 +01:00
Dave Woestenborghs 44b837a9ec #3373 fixes error when going to forms section when forms is not installed 2018-10-30 17:30:34 +01:00
Kenn Jacobsen 1d87ceaacf Fix user email validation in IE and Edge by using ng-required instead of required on input type=email. 2018-10-30 17:18:54 +01:00
Warren Buckley 56f1637631 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-10-30 15:59:33 +00:00
Anders Bjerner 092d84a49d Exposed the "cssClass " property in the view 2018-10-30 16:56:38 +01:00
Anders Bjerner 115de5854e Added new "CssClass" property to the "Tab" class 2018-10-30 16:56:38 +01:00
Warren Buckley 3e3f2a92fd Merge pull request #3414 from umbraco/temp8-remove-legacy-drop-downs
v8 - Remove legacy drop downs
2018-10-30 15:30:49 +00:00
Mads Rasmussen 299af13c42 fixes the context menu node highlight bug 2018-10-30 15:51:32 +01:00
Mads Rasmussen 5537163c9f remove debug data in colorpicker prevalue editor 2018-10-30 15:19:48 +01:00
Warren Buckley ee8da06638 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-10-30 12:47:18 +00:00
Warren Buckley 1c9a960f3d Remove the date picker ranges - as not sure how to do the UI/UX best for this 2018-10-30 12:46:54 +00:00
Warren Buckley 436a6df917 Fix up log viewer - if viewing all log items & filterExpression is null or emtpy string return all log items 2018-10-30 12:33:28 +00:00
Kenn Jacobsen 4e85ede436 Fix the notifications footer 2018-10-30 11:19:14 +01:00
Kenn Jacobsen 8ed3a95a56 Fix #3204 and do some refactoring to avoid duplicate code 2018-10-30 11:17:04 +01:00
sweta jena 9b6204eb7b add a comma (#3480) 2018-10-30 09:48:28 +01:00
Pranjal Vyas 0a0dd025bf Update footer.tmpl.partial (#3481) 2018-10-30 09:48:03 +01:00
Shannon a383309e46 Gets indexes updating based on content type changes 2018-10-30 17:32:27 +11:00
Shannon 9416c5f638 fixes up localized text for audit trail 2018-10-30 14:57:54 +11:00
Shannon fc39568415 Updated audit info to include full lang name 2018-10-30 14:49:25 +11:00
Shannon 1805d30aaf Merge remote-tracking branch 'origin/temp8' into temp8-remove-legacy-drop-downs
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
2018-10-30 02:20:24 +11:00
Shannon 386dd2281c Fixes log messages 2018-10-30 02:18:07 +11:00
Shannon f123331d42 Fixes updating the storage type 2018-10-30 02:11:33 +11:00
Shannon 0d0d26d3e9 Fixes converting the Umbraco.DropDownMultiple to a multiple drop down, fixes boolean logic on the js single drop down 2018-10-30 02:05:43 +11:00
Warren Buckley 45e892a4b1 Now that developer section is no more - update the routes to use 'settings' 2018-10-29 14:41:14 +00:00
Shannon 15eaa33e08 updates migration to invariant string check 2018-10-30 01:15:23 +11:00
Shannon 372f77fde5 reverts accidental change 2018-10-30 00:36:11 +11:00
Shannon 77f4f0bbad Refactors how the 'OpensDialog' gets assigned to menu items, fixes permission check on rollback 2018-10-30 00:34:43 +11:00
Shannon b8a65febf4 Merge remote-tracking branch 'origin/temp8' into temp8-IAction-cleanup
# Conflicts:
#	src/Umbraco.Tests/Composing/ActionCollectionTests.cs
#	src/Umbraco.Web/Models/Trees/MenuItem.cs
#	src/Umbraco.Web/_Legacy/Actions/Action.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionAssignDomain.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionBrowse.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionChangeDocType.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionCopy.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionCreateBlueprintFromContent.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionDelete.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionEmptyTranscan.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionExport.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionImport.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionMove.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionNew.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionNotify.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionNull.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionPackage.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionPackageCreate.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionProtect.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionPublish.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionRePublish.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionRefresh.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionRestore.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionRights.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionRollback.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionSort.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionToPublish.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionTranslate.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionUnPublish.cs
#	src/Umbraco.Web/_Legacy/Actions/ActionUpdate.cs
#	src/Umbraco.Web/_Legacy/Actions/ContextMenuSeperator.cs
#	src/Umbraco.Web/_Legacy/Actions/IAction.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/developer/RelationTypes/TreeMenu/ActionDeleteRelationType.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/developer/RelationTypes/TreeMenu/ActionNewRelationType.cs
2018-10-29 23:35:24 +11:00
Shannon cb9843b023 Removes IActions that shouldn't be IActions 2018-10-29 23:23:21 +11:00
Sebastiaan Janssen 870fa2fe74 Merge pull request #3451 from angie1015/dev-v7
Fixed minor typos in README.md
2018-10-29 12:39:53 +01:00
Robert bc20db5a46 Merge pull request #3432 from umbraco/temp8-153-invariant-properties
Temp8 153 invariant properties
2018-10-29 12:39:48 +01:00
Sebastiaan Janssen 65566f6c47 Merge branch 'dev-v7' into dev-v7 2018-10-29 12:39:27 +01:00
Robert 777d88ed8f Fixed unit test 2018-10-29 12:38:46 +01:00
Shyam Jalan db3ae6c27d Added hyphenation to README at desired places 2018-10-29 12:35:50 +01:00
Warren Buckley f2667210b7 Add in chartjs & angular wrapper lib into the gulp to ensure they get copied over from node_modules 2018-10-29 11:15:37 +00:00
Warren Buckley dce485bc6f Adds chartjs & the angular wrapper lib to package.json now that bower has been removed 2018-10-29 10:41:58 +00:00
Warren Buckley 5b1e7e9b3d Merge remote-tracking branch 'origin/temp8' into temp8-logviewer
# Conflicts:
#	src/Umbraco.Core/Constants-Applications.cs
#	src/Umbraco.Web.UI.Client/bower.json
2018-10-29 10:34:23 +00:00
Stephan f4b970e887 Fix timing-dependent test 2018-10-29 11:21:30 +01:00
Dave Woestenborghs 397b3ca69f #3434 use toggle for varying by culture on property settings dialog in content type designer 2018-10-29 11:02:53 +01:00
Shannon bae9bb6108 Initial cleanup of IActions, menu items, etc... 2018-10-29 17:27:33 +11:00
James Coxhead 06d19f2735 Load relation type edit view 2018-10-28 19:04:00 +00:00
Kenn Jacobsen 1842aa4f11 Merge branch 'temp8' into feature-angular-stylesheets-editing 2018-10-28 12:12:34 +01:00
James Coxhead 083de95311 Stubbed out relation type controller and resource 2018-10-27 23:37:08 +01:00
James Coxhead 6b19ab3b46 Prototyped edit view 2018-10-27 22:04:47 +01:00
Kenn Jacobsen 68f05e05d1 Initial create and edit 2018-10-27 21:18:03 +02:00
Claus c0109e0531 whitespace 2018-10-27 13:02:21 +02:00
Claus c4ee9abe68 adds internal methods for getting media entities through the entity repository/service without fetching all property data.
ensures the trees use this method to avoid fetching property data in the media tree.
2018-10-27 12:51:05 +02:00
Lars-Erik Aabech 752ae16c1b Merge pull request #5 from lars-erik/castle-compatibility-cleanup
Changes needed for compatibility with other containers. (Castle Windsor used as representative selection)
2018-10-26 21:58:28 +02:00
Lars-Erik Aabech c967d6a0fc Makes Container.CreateInstance into an extension 2018-10-26 21:14:19 +02:00
Stephan eee7222e0b Refactor filesystems 2018-10-26 16:06:45 +02:00
Stephan 1644434ea7 Cleanup controller factories 2018-10-26 16:06:45 +02:00
Stephan a12778fd94 Cleanup IContainer 2018-10-26 16:06:45 +02:00
Stephan 246b9e5af8 Cleanup 2018-10-26 16:06:45 +02:00
Stephan 2b1ba45801 Cleanup, refactor components 2018-10-26 16:06:45 +02:00
Stephan d7adf63a62 Cleanup UmbracoContext registration 2018-10-26 16:06:45 +02:00
Stephan d1e377bc38 Cleanup BootFailedException 2018-10-26 16:06:45 +02:00
Stephan d3a894b7a3 Add package-lock.json back 2018-10-26 16:06:45 +02:00
Stephan 9958436f3b Merge branch 'temp8-di2690' into temp8-di2690c 2018-10-26 16:06:27 +02:00
Stephan a4c81b269f Merge branch temp8 into temp8-di2690 2018-10-26 15:10:20 +02:00
Stephan 628895cc89 In-Progress in ContentService 2018-10-26 14:39:11 +02:00
Mads Rasmussen ed4439e3d5 add ellipsis to more items 2018-10-26 13:36:05 +02:00
Mads Rasmussen e0365d4214 add ellipsis to action menu items that opens a dialog + fix action menu not opening anything 2018-10-26 13:17:12 +02:00
Stephan 45cb56b96c Fix ContentCultureInfos and collection 2018-10-26 12:36:59 +02:00
Stephan 0cb19e0dbd Document 2018-10-26 11:47:35 +02:00
Mads Rasmussen bce2c43fdd small fixes to alignment and copy 2018-10-26 11:21:56 +02:00
Mads Rasmussen 5356d0a0ab Merge branch 'temp-3433' of git://github.com/dawoe/Umbraco-CMS into dawoe-temp-3433 2018-10-26 10:35:24 +02:00
Mads Rasmussen 78d4b452f5 Merge branch 'v8-feature-action-ellipsis' of git://github.com/kjac/Umbraco-CMS into kjac-v8-feature-action-ellipsis
# Conflicts:
#	src/Umbraco.Web/_Legacy/Actions/ActionUnPublish.cs
2018-10-26 09:59:57 +02:00
Shannon 83f73c085f Fixes unpublish, allows to be permission assigned and checks this permission when trying to perform that action 2018-10-26 16:40:28 +11:00
Shannon 02221f6dd0 Fixes how the content app view model works so dirty tracking continues to work properly, previously we tried to omit the apps so we didn' thave a circualar model reference but that doesn't work because that clones the object, so now the view model is just the variant index which works much better.Fixes other js probs 2018-10-26 15:07:21 +11:00
Shannon e280226abc fix issue with content picker always setting a dirty state 2018-10-26 14:41:49 +11:00
Shannon 3d29c0381e small refactor of trees for single page apps sections and some cleanup, puts the back button for dictionary back in with the correct route 2018-10-26 14:18:42 +11:00
Shannon Deminick 336f29fa3b Merge pull request #3420 from dawoe/temp-3419
V8- #3419 - Fix dictionary tree
2018-10-26 13:39:42 +11:00
Shannon Deminick 9453bb06e8 Merge pull request #3435 from umbraco/temp8-3129
Temp8 3129
2018-10-26 13:22:09 +11:00
Shannon 555a275e13 fixes build 2018-10-26 13:21:30 +11:00
Warren Buckley 972dc56d9a More dupe using's declared & tidied up - total number of warnings now at 48 2018-10-25 21:58:39 +01:00
Warren Buckley 20b9bb1032 Gets rid of a couple of VS SLN Warnings - due to dupe'd using's decared (done a tidy up) 2018-10-25 21:55:44 +01:00
Kenn Jacobsen 4cfac8da16 Make it possible to add ellipsis on actions that invokes dialogs by means of OpensDialog on IAction 2018-10-25 14:54:36 +02:00
Rasmus John Pedersen 93aa9dfe93 Fix sort audit parameters call 2018-10-25 14:41:24 +02:00
Dave Woestenborghs 2fbe2bb3da #3433 added short cut for toglle allow culture variants to short cuts overview 2018-10-25 12:54:17 +02:00
Dave Woestenborghs 3c217adc2e #3433 added language keys for text of culture variant permissions 2018-10-25 12:49:32 +02:00
Dave Woestenborghs 3b2e473a9e #3433 changed layout so it looks better 2018-10-25 12:38:43 +02:00
Dave Woestenborghs 5199e8e901 #3433 replace checkbox with for setting culture variants with toggle box 2018-10-25 12:23:34 +02:00
Jan van Helvoort 0daf197066 Unable to find suitable version for font-awesome (#3431) 2018-10-25 12:16:42 +02:00
Dave Woestenborghs 96a102decf #3433 fix build error 2018-10-25 12:13:54 +02:00
Stephan 4dac5cc7a2 Merge branch temp8-di2690 into temp8-di2690c 2018-10-25 11:25:55 +02:00
Mads Rasmussen 492feaaa26 fix position relaitve issue for property editors 2018-10-25 11:06:48 +02:00
Stephan 5c077c3e5d Fix merge 2018-10-25 11:04:49 +02:00
Stephan 8af1da3661 Merge branch temp8 into temp8-di2690 2018-10-25 10:59:49 +02:00
Stephan 0687677718 Fix merge 2018-10-25 10:57:57 +02:00
Stephan 4649fb2505 Fix merge 2018-10-25 10:51:46 +02:00
Stephan a8110a0886 Merge branch temp8 into temp8-3129 2018-10-25 10:32:05 +02:00
Mads Rasmussen 18c8104a88 localize label 2018-10-25 10:02:31 +02:00
Mads Rasmussen b63b25414c show inherted from label 2018-10-25 09:38:46 +02:00
Dave Woestenborghs 3a0981e02b #3419 fix error in backend for sections with no tree (forms when not installed) 2018-10-25 09:06:53 +02:00
Dave Woestenborghs fe0176f97c Fixed unit test 2018-10-25 08:59:13 +02:00
Dave Woestenborghs 25a90ffbf5 #3419 added extra parameter to createSingleRoot node method so it will always show a single tree. If a single tree doesn't have children it does not show 2018-10-25 08:54:17 +02:00
Shannon ca6fd56f09 Gets send to publish emails working for variants 2018-10-25 17:21:10 +11:00
Shannon de313a5d19 Adds tests for verifying remember dirty properties on content 2018-10-25 16:09:58 +11:00
Shannon 42f0d2b356 Fixes dirty tracking with resetting properties 2018-10-25 15:47:25 +11:00
Lars-Erik Aabech ccd3354b8a Revert "Wrapping server messenger factory to avoid re-registering for now."
This reverts commit 1198191e05.
2018-10-24 21:06:52 +02:00
Mads Rasmussen 2137c1026b css cleanup 2018-10-24 20:44:07 +02:00
Mads Rasmussen 4420f101d2 add toggle to disable tabindex directive 2018-10-24 20:41:58 +02:00
Kenn Jacobsen abcdfc27c5 Add a white border around the badge to make it stand out if it overlaps the app icon 2018-10-24 20:15:17 +02:00
Stephan 638f8b57b3 Fix content type variant changes 2018-10-24 18:47:17 +02:00
Stephan 56b9d36f53 Add content type variant changes tests 2018-10-24 18:47:13 +02:00
Dave Woestenborghs d5cc658811 #3419 added check on tree items count back 2018-10-24 18:28:52 +02:00
Dave Woestenborghs 96c0b701a0 #3419 added always show root item to tree attribute 2018-10-24 18:27:00 +02:00
Shannon 9df4a8091e Merge remote-tracking branch 'origin/temp8' into temp8-231-send-to-publish-with-variants 2018-10-25 01:15:44 +11:00
Shannon Deminick 3652a96687 Merge pull request #3352 from umbraco/temp8-dirty-tracking-on-variants
v8 - allows audit trail/logging of changed cultures
2018-10-25 01:11:53 +11:00
Shannon 63fbe63656 Fixes js error and removes Current usage 2018-10-25 01:01:42 +11:00
Warren Buckley 9a1a13ba81 Fix the ordering logic - it helps if you actually assign the ordered items back to the list *facepalm* 2018-10-24 14:55:01 +01:00
Kenn Jacobsen 634c2072ca Add optional alert color 2018-10-24 15:49:35 +02:00
Shannon c3e50ecc48 Removes the broken text comparison for RTE 2018-10-25 00:45:45 +11:00
Dave Woestenborghs 2af2a9b77f #3419 don't show the back button in the edit screen of dictionary...doesn't make sense to go to settings section when the tree is in the translation section 2018-10-24 15:39:45 +02:00
Dave Woestenborghs d23f5f8124 #3419 remove check on number of trees so dictoinary tree shows in the translation section and doesn't return a error when it's moved to the settings section 2018-10-24 15:31:45 +02:00
Shannon b716ed1964 Fixes UI error when there is an unathorized request, fixes NotificationService to accept IContent since that's all it supports 2018-10-25 00:28:37 +11:00
Warren Buckley e2557697bc Emit a single event if the language has been created or been saved - send through a new property in args to determine if it was new or not
Then event listener updates the tree languages dropdown only when a new language has been added or deleted OR when an existing language has been saved/updated to be set as the new default language (as this now at top of list)
2018-10-24 14:08:15 +01:00
Shannon 81c7a1de78 Cleans up the notification system, removes coupling on System.Web, simplifies the whole thing, removes old legacy files, adds sort event, moves sort notification to be event based and not part of the controller 2018-10-24 23:55:55 +11:00
Warren Buckley 5b84702c2f Cleanup of disable tab directive & adds in tabbable 3rd party lib (wrapped as an AngularJS service) 2018-10-24 13:37:33 +01:00
Warren Buckley a5b7e8b0ae WIP put the tabindex back to what it was before 2018-10-24 11:57:02 +01:00
Kenn Jacobsen 25718dbe5a Add content app badges 2018-10-24 12:05:25 +02:00
Warren Buckley 62716fb417 WIP disable tab index directive 2018-10-24 11:03:41 +01:00
Dave Woestenborghs 8262269592 Make sure indexes are created as unique when using .Unique() syntax builder (#3319) (#3363) 2018-10-24 11:51:07 +02:00
Warren Buckley ba0d96ce2a WIP for CSS overlay click through prevention stuff with Z-indexes 2018-10-24 10:36:45 +01:00
Warren Buckley 30c312c4b0 CSS & DOM element for overlay to prevent double click through to undelying input element 2018-10-24 10:20:10 +01:00
Mads Rasmussen 6920a7f0e0 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-10-24 11:12:00 +02:00
Kenn Jacobsen 024338790f Make sure to check the dirty state of the umbContent app viewModel when saving/publishing 2018-10-24 11:11:29 +02:00
Mads Rasmussen ac14d38961 fix rename controller 2018-10-24 11:11:25 +02:00
Sebastiaan Janssen fa2bd54f77 Update CONTRIBUTING.md 2018-10-24 11:05:05 +02:00
Joelvis Roman e7c55e6d70 Fix spelling mistake
Fix spelling mistake
2018-10-24 10:57:50 +02:00
Hemant Joshi 05f5f2715b Added Correct Link of Getting Started with V8 2018-10-24 10:50:07 +02:00
Kenn Jacobsen df1c4faeb9 Create doctype collections under the chosen parent 2018-10-24 10:47:59 +02:00
Warren Buckley a7b13e2b4b Merge remote-tracking branch 'origin/temp8' into temp8-153-invariant-properties 2018-10-24 09:22:52 +01:00
Warren Buckley c94775608a When returning a collection of languages - such as through the GetAllLanguages API Controller call the model mapping ensures that rather than order by name we, also put the default lang first then order a-z 2018-10-24 09:18:26 +01:00
Shannon adae4325c9 Removes old legacy files 2018-10-24 19:07:35 +11:00
Claus aa4acb33e8 ensuring macros are using the correct section. 2018-10-24 09:59:40 +02:00
Claus 715083ef93 Merge pull request #3398 from umbraco/temp8-258-empty-trees-arrow
Fixing right-pointing arrow for empty trees.
2018-10-24 09:47:14 +02:00
Mads Rasmussen b95a994f94 set opacity and disabled cursor when property is locked 2018-10-24 09:12:09 +02:00
Shannon 1e1c7bec64 Merge remote-tracking branch 'origin/temp8-dirty-tracking-on-variants' into temp8-231-send-to-publish-with-variants 2018-10-24 16:47:02 +11:00
Shannon 9347e6205f fixes test 2018-10-24 16:36:13 +11:00
Shannon b199b7346b Fixes multiple selection with drop down 2018-10-24 16:35:30 +11:00
Shannon df7623e6a7 Fixes migration, ensure's that if it runs again it won't corrupt data, fixes flexible drop down angular editor to post string vals, not the int ids, removes old angular drop down prop editor 2018-10-24 16:32:13 +11:00
Shannon f332e9a07e Fix sql and table check 2018-10-24 15:45:24 +11:00
Shannon 74c373de84 Merge branch 'temp8' into temp8-remove-legacy-drop-downs 2018-10-24 15:45:13 +11:00
Shannon c7cb8b52cc Fixes AuthorizeUpgrade page since it was still referencing the old UmbracoClient folder 2018-10-24 15:23:21 +11:00
Shannon 9704c124ed Removes all old deprecated drop down editors, we only have one drop down editor now and it doesn't store IDs either in the db or in the cache, it just stores what is selected 2018-10-24 15:20:28 +11:00
Kenn Jacobsen f69976852e Disable move/copy button until a target node is selected (#3250) 2018-10-23 22:49:13 +02:00
skoomasteve 5f765967a6 Just a few spelling fixes. (#3405) 2018-10-23 22:47:14 +02:00
Søren Kottal ee3cbf08a2 #3215 Adds ability to create template from doctype editor (#3366)
### Prerequisites

- [x] I have [created an issue](https://github.com/umbraco/Umbraco-CMS/issues) for the proposed changes in this PR, the link is: #3215 
- [x] I have added steps to test this contribution in the description below

### Description
I added a button for creating a new template in the template view of the doctype editor. The button uses the template resource to fetch a template scaffold, and then save a new template. After saving, the template gets selected as allowed, and if there is no default template selected, the new template will also be the default.

https://i.imgur.com/KQbmjGH.gifv

<!-- Thanks for contributing to Umbraco CMS! -->
2018-10-23 22:43:46 +02:00
Lars-Erik Aabech 026f10f38a Register instance by name 2018-10-23 21:31:20 +02:00
KimHolzmann 3e14da5e9d #2927 - Cannot use content templates in list views (#3173) 2018-10-23 18:16:06 +02:00
Stephan d71c879374 Merge branch temp8 into temp8-di2690 2018-10-23 18:01:52 +02:00
Stephan 4ec9350f54 Merge branch temp8 into temp8-3129 2018-10-23 17:44:31 +02:00
Stephan c0a1e7f2f6 Merge branch temp8 into temp8-dirty-tracking-on-variants 2018-10-23 17:43:52 +02:00
Jan Skovgaard 9230de5383 3225 - Suggestion: Style the default browser radio button as a custom one to provide a nicer UI experience (#3226) 2018-10-23 17:06:10 +02:00
Warren Buckley 79e3a35869 WIP - Ensures the default language variant is always first then the rest of the variants are organised by A-Z 2018-10-23 16:03:49 +01:00
Bjarne Fyrstenborg 20c215ef8c #3211 - Add colorpicker prevalue editor (#3212) 2018-10-23 16:52:57 +02:00
agrath 1053a349f6 #3231 RTE editor in grid collapsed on tab shown (#3232) 2018-10-23 16:48:19 +02:00
Jan Skovgaard 39045b1edc 3324 - Suggestion: Align image cropper property editor UI with color picker and checkbox lists (#3325) 2018-10-23 16:32:07 +02:00
Warren Buckley b20acebe6a Cleanup unused DI stuff in this directive 2018-10-23 15:23:36 +01:00
Warren Buckley 11e5fa3f28 Merge branch 'temp8-153-invariant-properties' of https://github.com/umbraco/Umbraco-CMS into temp8-153-invariant-properties 2018-10-23 15:13:50 +01:00
Warren Buckley a8ac9cf8f2 MDN JS Docs suggested to use MutationObsorver as oppsoed to deprecated DOMSubtreeModified event 2018-10-23 15:13:35 +01:00
Jan Skovgaard c0b713d0e4 3381 - Media picker: Trashed media warning looks weird (#3382) 2018-10-23 16:06:06 +02:00
Mads Rasmussen 515f183b28 make default language bold in selectors 2018-10-23 16:00:53 +02:00
angie1015 ed07e85754 Merge pull request #1 from angie1015/angie1015-patch-1
Fixed minor typos in README.md
2018-10-23 19:26:46 +05:30
angie1015 e0b44c90ff Fixed minor typos 2018-10-23 06:55:31 -07:00
Stephan 9320c1a061 Cleanup variants dirty tracking 2018-10-23 15:38:47 +02:00
Warren Buckley 60b575825d Adds new WIP attribute only based directive disable-tabindex - which sets all child input elements to use a tabindex of -1 2018-10-23 14:22:17 +01:00
Mads Rasmussen a0eba5a9d8 wip testing ideas 2018-10-23 15:02:56 +02:00
Shannon e34728c10c fixes drop down pre value editor 2018-10-23 23:04:53 +11:00
Shannon ce6b4f4a51 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8
# Conflicts:
#	src/Umbraco.Core/Persistence/Repositories/Implement/DocumentRepository.cs
#	src/Umbraco.Web.UI/Umbraco/dialogs/rollBack.aspx
#	src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/rollBack.aspx
2018-10-23 22:16:48 +11:00
Shannon 001ed50c7d fixes test 2018-10-23 22:13:50 +11:00
Shannon dfd3e8f4c4 Fixes tests and issue with member list view not passing the GUID along in the route 2018-10-23 22:10:27 +11:00
Shannon fa64f4a6a8 Fixes member group editing, removes old dialog tasks, removes old references in the old ui.xml file 2018-10-23 21:38:24 +11:00
Warren Buckley 2ec6216932 Merge pull request #3400 from umbraco/temp8-247-hostnames-dialog
Temp8 247 hostnames dialog
2018-10-23 11:28:08 +01:00
Warren Buckley 03b363df21 Add some TODO's to consider removing references to MasterPages & UserControls 2018-10-23 10:53:55 +01:00
Warren Buckley 0e51b45e64 Make SystemDirectories.Bin non configurable, as the comment mentioned you cannot configure the bin folder for ASP.NET projects 2018-10-23 10:53:22 +01:00
Warren Buckley 3e4ecac4e3 Remove SystemDirectory.Base - this is a very legacy feature & no longer in use in codebase 2018-10-23 10:52:19 +01:00
Mads Rasmussen abed9ab331 show duplicate domain validation messages 2018-10-23 11:48:42 +02:00
Warren Buckley d88aab59a1 Remove all references to SystemDirectories.UmbracoClient - as Umbraco_Client folder no longer exists anymore 2018-10-23 10:41:44 +01:00
Claus 9438581621 Merge pull request #3240 from umbraco/temp8-sendToPublish
Send to Publish changes
2018-10-23 10:54:42 +02:00
Kenn Jacobsen de42eaea44 Move some padding around to fix unaligned labels and values 2018-10-23 10:54:10 +02:00
Stephan 9699e6cb71 Merge branch 'temp8' into temp8-dirty-tracking-on-variants 2018-10-23 10:51:28 +02:00
Mads Rasmussen 1badcd0b29 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-10-23 10:32:33 +02:00
Mads Rasmussen 76eb809b2c Fix list view property editors. Use "display: block" for instead of "inline block" 2018-10-23 10:31:54 +02:00
Warren Buckley e3c6cfa63c Merge pull request #3312 from umbraco/temp8-3298-move-rollback
Temp8 3298 move rollback
2018-10-23 09:28:41 +01:00
Shannon 69450791cf Fixes the new Id/Guid property on members, ensures all tabs are expanded by default and removes that init logic from JS since we don't want it there. 2018-10-23 19:25:48 +11:00
Anders Bjerner 7df6b661c5 Mediatyperesource localized (#3378) 2018-10-23 10:23:09 +02:00
Søren Kottal 1080d98339 Fixes incorrect swedish translation 2018-10-23 09:51:05 +02:00
GwanYeong Kim b539cc2a7a Remove this commented out code 2018-10-23 09:43:29 +02:00
Shannon 1936cc5be9 Merge remote-tracking branch 'origin/temp8' into temp8 2018-10-23 18:39:16 +11:00
elitsa 127ecdf48e Right arrow appears only when there are child nodes. 2018-10-23 09:34:02 +02:00
Shannon 9dadecdcc1 Fixes boolean conversion logic in ColorPickerConfigurationEditor, Fixes tree grouping logic and moves groups cache to the ApplicationTreeService, fix other merge issues 2018-10-23 18:28:55 +11:00
elitsa c5755e25c8 Revert commit not belonging to this PR. 2018-10-23 09:04:09 +02:00
Shannon d9a4d1fa97 Manual merging 2018-10-23 16:12:23 +11:00
Lars-Erik Aabech fbd73dd596 Revert "REVIEW/FIX: Just removing placeholder IApplicationTreeService and ISectionService registrations until we figure defaulting."
This reverts commit 57d22a87c0.
2018-10-22 23:21:27 +02:00
Stephan d2cfe8f3b9 Fix GetVersionsSlim 2018-10-22 18:21:00 +02:00
emmaburstow 21cb0f79c3 Added dictionary item for member group save message (#3379) 2018-10-22 18:19:59 +02:00
Stephan ba913db60e Fix to/from (in)variant changes 2018-10-22 17:20:48 +02:00
Stephan 3468351de8 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-10-22 17:20:19 +02:00
Mads Rasmussen 78fb52f788 fix size of publish state in publish dialog 2018-10-22 17:04:56 +02:00
Mads Rasmussen 7265d329ea Alwyas show ellipsis for unpublish. It will always open a dialog 2018-10-22 15:56:08 +02:00
Mads Rasmussen 9d1c12d7df this validation needs to happen server side 2018-10-22 15:13:25 +02:00
Mads Rasmussen d3163aa00e show validation message when a domain name is missing 2018-10-22 13:34:57 +02:00
Mads Rasmussen bc379e0b71 set domain and language to be required + add required markers in the table headings 2018-10-22 13:07:54 +02:00
Mads Rasmussen 5391934a76 remove domain validation regex 2018-10-22 12:59:23 +02:00
Mads Rasmussen 88857fa1b5 show load indicator when dialog loads 2018-10-22 12:53:26 +02:00
Mads Rasmussen 126ed536ed update casing to match model updates 2018-10-22 12:34:48 +02:00
Warren Buckley 2062672eda Camel case models for the hostnames dialog 2018-10-22 10:20:02 +01:00
Mads Rasmussen 9560548b46 temp remove domain validation because that is preventing the form from saving + show saving state 2018-10-22 11:03:25 +02:00
Mads Rasmussen 7a2b91c9a7 don't show culture selector for nodes with variants 2018-10-22 10:41:46 +02:00
Stephan 8976a6cce3 Show language ISO code in list 2018-10-22 10:34:14 +02:00
Stephan d49e06255c Fix upgrade message 2018-10-22 10:34:04 +02:00
Mads Rasmussen 8cc0fae771 Merge branch 'temp8-247-hostnames-dialog' of https://github.com/umbraco/Umbraco-CMS into temp8-247-hostnames-dialog 2018-10-22 10:32:12 +02:00
Mads Rasmussen d3625f9569 first round of styling fixes 2018-10-22 10:31:34 +02:00
Warren Buckley 6b7dd261ab Add to the tree metadata (So the UI of the tree node can be aware if it allows variants) 2018-10-22 09:30:39 +01:00
Stephan f46b7ca7b1 Rollback uses GetVersionsSlim 2018-10-22 08:45:30 +02:00
Sebastiaan Janssen 4a49817322 Fixes a few oversights in image cropper 2018-10-22 08:31:10 +02:00
Shannon 93a52432cf Manual merging 2018-10-22 17:04:58 +11:00
Shannon cd2cf26274 Fixes build errors after merge 2018-10-22 16:13:53 +11:00
Shannon c6a67f79ac Merge remote-tracking branch 'origin/dev-v7' into temp8
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Configuration/GlobalSettings.cs
#	src/Umbraco.Core/Configuration/UmbracoConfig.cs
#	src/Umbraco.Core/Configuration/UmbracoSettings/ContentElement.cs
#	src/Umbraco.Core/Configuration/UmbracoSettings/IContentSection.cs
#	src/Umbraco.Core/Models/IContentTypeBase.cs
#	src/Umbraco.Core/Persistence/DatabaseSchemaHelper.cs
#	src/Umbraco.Core/Persistence/Migrations/Initial/BaseDataCreation.cs
#	src/Umbraco.Core/Persistence/Repositories/ContentRepository.cs
#	src/Umbraco.Core/Persistence/Repositories/Implement/MemberGroupRepository.cs
#	src/Umbraco.Core/Services/ContentService.cs
#	src/Umbraco.Tests/Web/TemplateUtilitiesTests.cs
#	src/Umbraco.Tests/packages.config
#	src/Umbraco.Web.UI.Client/bower.json
#	src/Umbraco.Web.UI.Client/lib/umbraco/LegacyUmbClientMgr.js
#	src/Umbraco.Web.UI.Client/src/common/directives/components/imaging/umbimagegravity.directive.js
#	src/Umbraco.Web.UI.Client/src/common/resources/media.resource.js
#	src/Umbraco.Web.UI.Client/src/common/services/navigation.service.js
#	src/Umbraco.Web.UI.Client/src/common/services/umbrequesthelper.service.js
#	src/Umbraco.Web.UI.Client/src/less/belle.less
#	src/Umbraco.Web.UI.Client/src/less/buttons.less
#	src/Umbraco.Web.UI.Client/src/less/components/umb-tabs.less
#	src/Umbraco.Web.UI.Client/src/less/forms.less
#	src/Umbraco.Web.UI.Client/src/less/hacks.less
#	src/Umbraco.Web.UI.Client/src/less/modals.less
#	src/Umbraco.Web.UI.Client/src/less/panel.less
#	src/Umbraco.Web.UI.Client/src/views/common/dialogs/approvedcolorpicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/dialogs/login.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/mediapicker/mediapicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/mediaPicker/mediapicker.html
#	src/Umbraco.Web.UI.Client/src/views/components/imaging/umb-image-gravity.html
#	src/Umbraco.Web.UI.Client/src/views/dashboard/media/mediadashboardvideos.html
#	src/Umbraco.Web.UI.Client/src/views/dashboard/members/membersdashboardvideos.html
#	src/Umbraco.Web.UI.Client/src/views/dashboard/settings/settingsdashboardvideos.html
#	src/Umbraco.Web.UI.Client/src/views/documenttypes/edit.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/boolean/boolean.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/boolean/boolean.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/colorpicker/colorpicker.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/colorpicker/colorpicker.prevalues.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/datepicker/datepicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/grid.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/imagecropper/imagecropper.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/imagecropper/imagecropper.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/multipletextbox/multipletextbox.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/multipletextbox/multipletextbox.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.html
#	src/Umbraco.Web.UI.Client/src/views/users/user.html
#	src/Umbraco.Web.UI.Client/src/views/users/views/user/details.html
#	src/Umbraco.Web.UI/Umbraco/Views/Preview/Index.cshtml
#	src/Umbraco.Web.UI/Umbraco/config/lang/da.xml
#	src/Umbraco.Web.UI/Umbraco/dialogs/protectPage.aspx
#	src/Umbraco.Web.UI/Umbraco/dialogs/rollBack.aspx
#	src/Umbraco.Web.UI/config/EmbeddedMedia.Release.config
#	src/Umbraco.Web.UI/config/EmbeddedMedia.config
#	src/Umbraco.Web.UI/umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/umbraco/dialogs/sort.aspx
#	src/Umbraco.Web.UI/umbraco_client/Dialogs/PublishDialog.js
#	src/Umbraco.Web.UI/web.Template.config
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/Umbraco.Web/HealthCheck/Checks/DataIntegrity/DatabaseSchemaValidationHealthCheck.cs
#	src/Umbraco.Web/Models/Mapping/MemberModelMapper.cs
#	src/Umbraco.Web/Models/Trees/TreeNodeExtensions.cs
#	src/Umbraco.Web/PropertyEditors/ColorListPreValueEditor.cs
#	src/Umbraco.Web/PropertyEditors/EmailAddressPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/ImageCropperPropertyValueEditor.cs
#	src/Umbraco.Web/PropertyEditors/TrueFalsePropertyEditor.cs
#	src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlPublishedContent.cs
#	src/Umbraco.Web/Routing/ContentFinderByUrlAlias.cs
#	src/Umbraco.Web/Templates/TemplateUtilities.cs
#	src/Umbraco.Web/UmbracoHelper.cs
#	src/Umbraco.Web/WebServices/SaveFileController.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/Trees/FileSystemTree.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/controls/dualSelectBox.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/dashboard/FeedProxy.aspx.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/protectPage.aspx.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/rollBack.aspx
#	src/Umbraco.Web/umbraco.presentation/umbraco/dialogs/rollBack.aspx.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/settings/stylesheet/editstylesheet.aspx.cs
2018-10-22 16:03:01 +11:00
Sebastiaan Janssen 2c6fd3af14 Re-fix - U4-11111 - Hide tooltip of slider in document type property preview 2018-10-21 19:46:08 +02:00
Bjarne Fyrstenborg b86be5b854 Fix color swatches title when using css classes for colors 2018-10-21 19:41:12 +02:00
Kenn Jacobsen 8c8d979eb2 Style confirmations and alerts consistently across all sections (#3251) 2018-10-21 19:36:07 +02:00
James Coxhead dadc3ad7a7 Fixes #3348 - Configure Umbraco.Dropdown.Flexible for new installations 2018-10-21 19:18:43 +02:00
Sebastiaan Janssen 04aa199266 Makes sure the path on the tree is correct 2018-10-21 18:59:25 +02:00
Tim Geyssens 2c14f396fb Update FileSystemTree.cs
Make sure it can find child items in root folders
2018-10-21 18:59:25 +02:00
Kenn Jacobsen 10526cfc81 Fix #3368 by watching changes and explicitly flagging the form as dirty 2018-10-21 18:28:15 +02:00
Sebastiaan Janssen cd6f489606 Merge pull request #3374 from umbraco/abjerner-umb-generate-alias
Localized umb-generate-alias placeholder texts
2018-10-21 18:20:20 +02:00
Sebastiaan Janssen 96d7a776b7 Removes dangling comma 2018-10-21 18:17:56 +02:00
Anders Bjerner 954893cf2b umbRequestHelper.resourcePromise not supports the error message being a promise 2018-10-21 18:17:56 +02:00
Anders Bjerner bb3beb406d <pre> elements should at least have white-space: pre-wrap 2018-10-21 18:17:55 +02:00
Anders Bjerner d6a329925c Border color for .add-on should be @purple-l3 2018-10-21 18:17:54 +02:00
Jan Skovgaard 7eecf230af 3364 - Suggestion: Make use of confirm action directive on repeatable textstring when deleting (#3365) 2018-10-21 18:17:53 +02:00
Kenn Jacobsen 44fbff4410 Hide "reset password" on the login screen if system emails can't be sent. 2018-10-21 18:17:53 +02:00
Kenn Jacobsen d16bc7a465 Add a custom content item binder for saving blueprints (fixes #2985) 2018-10-21 18:17:51 +02:00
Anders Bjerner df2313f7ec umbRequestHelper.resourcePromise not supports the error message being a promise 2018-10-21 18:08:56 +02:00
Chris Houston c401782d5e Added clean-css to the client side build process (#3371) 2018-10-21 16:27:39 +02:00
Anders Bjerner 1de7b8f10f <pre> elements should at least have white-space: pre-wrap 2018-10-21 16:11:22 +02:00
Anders Bjerner fe06f095be Border color for .add-on should be @purple-l3 2018-10-21 16:05:04 +02:00
Jan Skovgaard 01d9785097 3364 - Suggestion: Make use of confirm action directive on repeatable textstring when deleting (#3365) 2018-10-21 16:00:11 +02:00
Kenn Jacobsen 5da5df5bf9 Hide "reset password" on the login screen if system emails can't be sent. 2018-10-21 14:58:18 +02:00
Kenn Jacobsen 90416a4d87 Add a custom content item binder for saving blueprints (fixes #2985) 2018-10-21 14:52:05 +02:00
Anders Bjerner 827bc19f6a Localized umb-generate-alias placeholder texts 2018-10-21 14:03:22 +02:00
Anders Bjerner 39edf4c6dd Added keys for "enterAlias" and "generatingAlias" 2018-10-21 13:58:45 +02:00
Anders Bjerner 6f359b3d18 Added keys for "enterAlias" and "generatingAlias" 2018-10-21 13:57:01 +02:00
Anders Bjerner e1919e0c52 Added keys for "enterAlias" and "generatingAlias" 2018-10-21 13:54:17 +02:00
Pawel Bres 5bd87efb3f Updated URL to the Contributing page of v7
The old link was not working anymore and was pointing to 404 GitHub page
2018-10-21 12:51:09 +02:00
Anders Bjerner f4a9617487 Improved the description for the "Icon" property 2018-10-21 12:50:42 +02:00
sebastien-sougnez 5efb079f56 Changed font-awesome verison from 4.2 to 4.7 2018-10-21 12:50:02 +02:00
Lars-Erik Aabech ae88932bb8 Revert "Virtualizing registration of the cache helper"
This reverts commit 04944f2c0c.
2018-10-21 12:38:01 +02:00
Lars-Erik Aabech 8894df919e Should not have package-lock in git 2018-10-21 12:37:14 +02:00
Chris Houston 4ef9c3f086 When typing to configure some of the data types on a small width screen ( mobile or very narrow browser window ) the editing controls for some of the data types did not wrap underneath the titles and in some cases they disappeared completely.
This adds a 100% width on small screen sizes and then reverts back to the original 60% width after 800px's.
2018-10-21 11:23:08 +02:00
Kenn Jacobsen 00cf8dcf05 Reload the node when publishing all unpublished children 2018-10-21 11:01:45 +02:00
Rasmus John Pedersen ef343f04a8 Only hide icons if hideIcons is set to 'true' 2018-10-21 10:51:35 +02:00
Carole Rennie Logan 7071b21db7 Updating example content app manifest
Including roles
2018-10-21 10:41:17 +02:00
Søren Kottal 5dc67deeec adds the right description to UmbracoHelper.Concatenate 2018-10-21 10:39:57 +02:00
Rasmus John Pedersen 6996a06d64 Only add "Move" action once 2018-10-21 10:34:42 +02:00
Warren Buckley f37f679031 Adds ContentApps to the Composition extension methods 2018-10-19 15:19:37 +01:00
Jamie Townsend 0f2381a94d Merge multiple ng-if attributes 2018-10-19 15:19:22 +02:00
Kenn Jacobsen f993869482 Remove the default SMTP configuration 2018-10-19 15:16:01 +02:00
Ed Parry 201a2cd7b1 Added the user ID and GUID to the user details view. (#3279) 2018-10-19 15:13:07 +02:00
Bjarne Fyrstenborg 8e1065a2b6 Fix missing semicolons and remove comma at end 2018-10-19 15:08:17 +02:00
Mike Chambers ecf9c0adb4 Update datepickerController to add onValueChanged function
adding onValueChanged method to capture serverside Model Changes, clearing flag using c# System.DateTime.MinValue.
2018-10-19 15:07:03 +02:00
fer22f d95ec9eb14 Fix documentation of container styling of nodes 2018-10-19 14:56:52 +02:00
Andy Robinson 6b90d62bd1 update to issue #3292 to fix 4 col grid cards. 2018-10-19 14:51:44 +02:00
Andy Robinson c5ea0ea3a9 fixing issue in #3292 2018-10-19 14:51:44 +02:00
Mads Rasmussen 126a834ad4 fix installer facts 2018-10-19 14:49:27 +02:00
Pritesh Tailor d9efc2a401 Fixed broken link in detailed contrib doc
The link to the the issues was broken (Your first code code contribution section). I've updated to the readonly issue tracker and added a reference to new issue tracker.

Removed a line on upvotes, as i don't believe that's relevant anymore.
2018-10-19 14:46:37 +02:00
Mads Rasmussen b75f41b3f6 fix user cards grid 2018-10-19 14:25:15 +02:00
Kenn Jacobsen 8036af958f Allow video feeds to load over HTTPS + fix a few feeds (#3256) 2018-10-19 14:19:47 +02:00
Stephan 421cbf979c Cleanup rollback in content service 2018-10-19 12:47:04 +02:00
Stephan 89510148ac Merge branch 'temp8' into temp8-3298-move-rollback 2018-10-19 11:55:44 +02:00
elitsa 40424b805b Merge remote-tracking branch 'origin/temp8' into temp8-sendToPublish 2018-10-19 11:40:56 +02:00
Bjarne Fyrstenborg 25d9e432c3 Remove space 2018-10-19 11:32:17 +02:00
Bjarne Fyrstenborg a23901c07a Enable email address as macro parameter editor 2018-10-19 11:32:17 +02:00
Poornima Nayar df2ee8e3e1 Moved the css rules for the rollback modal to a new stylesheet 2018-10-19 11:29:49 +02:00
Søren Kottal 1b0581bfce xml comments for ImageCropMode 2018-10-19 11:26:33 +02:00
Mads Rasmussen 82f7b099d5 change styling 2018-10-19 10:43:39 +02:00
Mads Rasmussen 4c638565b7 special treatment for property editors which store the value as json 2018-10-19 09:41:52 +02:00
Shannon 239112a1de notes 2018-10-19 15:45:05 +11:00
Shannon abeb4e04e5 Enhance implementation of ObservableDictionary so we can re-use this in more places, changes CultureNameCollection to ObservableDictionary, fixes issue with dirty tracking changed property type collections ... this was working by pure fluke before! Fixes more tests. 2018-10-19 15:41:28 +11:00
Shannon 8dfb0dc35c more send to translate cleanup 2018-10-19 13:25:06 +11:00
Shannon cc4ee6527d Gets the correct variant logging put in to the audit trail, cleans up audit trail messages to make sense, makes sure audit trail is reloaded when changing variants 2018-10-19 13:24:36 +11:00
Shannon 71fd47f452 Fixes issue of observable collections, event binding and deep cloning 2018-10-19 08:45:53 +11:00
Shannon b30f55ea30 Fixes issue of observable collections, event binding and deep cloning 2018-10-19 08:26:17 +11:00
Warren Buckley 6c459c5117 OK I think we are finally done with C# for Audit
Wraps with a scope so Audit can be fired & the Rollback events can be emitted
2018-10-18 15:51:22 +01:00
Warren Buckley f3ce005cbf Added in some TODOs
Fix log message for success of save
2018-10-18 15:25:11 +01:00
Warren Buckley 6850599ce9 Remove the emtpy folders from CSProj in the legacy umbraco.presentation folder 2018-10-18 15:04:40 +01:00
Warren Buckley 1efe90ba1d More rollback .aspx dialogs removed 2018-10-18 14:54:29 +01:00
Warren Buckley d4bf084b82 Merge branch 'temp8-3298-move-rollback' of https://github.com/umbraco/Umbraco-CMS into temp8-3298-move-rollback 2018-10-18 14:33:12 +01:00
Warren Buckley 321313f134 Remove rollback .aspx dialog 2018-10-18 14:32:44 +01:00
Mads Rasmussen b78a4c2f88 Merge branch 'temp8-3298-move-rollback' of https://github.com/umbraco/Umbraco-CMS into temp8-3298-move-rollback 2018-10-18 15:26:02 +02:00
Mads Rasmussen 0f528a7a89 disable roll back button when no version is selected 2018-10-18 15:25:17 +02:00
Warren Buckley 4a797781a6 Merge branch 'temp8-3298-move-rollback' of https://github.com/umbraco/Umbraco-CMS into temp8-3298-move-rollback 2018-10-18 14:24:50 +01:00
Warren Buckley 6f7d0c3a45 Move logic out of controller into a Rollback method in the service level 2018-10-18 14:24:32 +01:00
Mads Rasmussen 09a7443701 dont show diff if a versionId is not set 2018-10-18 15:16:37 +02:00
Mads Rasmussen a12d736b6b show user in version dropdown 2018-10-18 14:56:00 +02:00
Stephan 2b83b44c9c Fix ContentService.GetPagedChildren 2018-10-18 14:25:35 +02:00
Stephan 510666cd7e ContentService.GetPagedChildren is broken? 2018-10-18 14:25:35 +02:00
Warren Buckley aa86f5b135 Merge branch 'temp8-3298-move-rollback' of https://github.com/umbraco/Umbraco-CMS into temp8-3298-move-rollback 2018-10-18 13:13:20 +01:00
Warren Buckley a40a6e8f35 WIP: Adds logging & audit message
Fixes the filtering & dates to display in the version list
2018-10-18 13:13:11 +01:00
Mads Rasmussen b2138d6376 reload content after rollback 2018-10-18 14:06:21 +02:00
Shannon c3e2d2a821 Cleaning up the log/audit trail usage, removing duplicate and unecessary entries and adding new cols 2018-10-18 22:52:49 +11:00
Shannon a163f79526 Merge remote-tracking branch 'origin/temp8' into temp8-dirty-tracking-on-variants
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Core/Models/Content.cs
2018-10-18 22:52:15 +11:00
Shannon f1ca32ea54 Cleaning up the log/audit trail usage, removing duplicate and unecessary entries and adding new cols 2018-10-18 22:47:12 +11:00
Shannon 6cd9102fac Gets publish names tracking changes, adds unit tests 2018-10-18 21:12:55 +11:00
Robert 15f5e9a98e Typo in lazyload JS path for AuthUpgrade page 2018-10-18 11:25:05 +02:00
Mads Rasmussen fd08316189 wire up rollback button 2018-10-18 11:10:27 +02:00
Warren Buckley 816b5ba598 Merge branch 'temp8-3298-move-rollback' of https://github.com/umbraco/Umbraco-CMS into temp8-3298-move-rollback 2018-10-18 09:24:53 +01:00
Mads Rasmussen 813f3f8d84 a language should always be selected when a node has variants 2018-10-18 10:21:13 +02:00
Warren Buckley 3f82cd7677 Update get rollback version to use a culture in the resource 2018-10-18 09:13:27 +01:00
Warren Buckley bdf474f111 Typo in lazyload JS path for AuthUpgrade page 2018-10-18 09:06:46 +01:00
Warren Buckley f0d12f7915 Merge remote-tracking branch 'origin/temp8' into temp8-3298-move-rollback 2018-10-18 08:42:43 +01:00
Robert ace5c07987 Merge pull request #3152 from umbraco/temp8-w220
Fixes: List view searching needs to search on variant names
2018-10-18 08:51:32 +02:00
Mads Rasmussen ab34deb726 add diff 2018-10-17 20:37:15 +02:00
Stephan 15968bc99b Fix dates in document versions 2018-10-17 17:27:39 +02:00
Warren Buckley b358fd5e2d Merge branch 'temp8-3298-move-rollback' of https://github.com/umbraco/Umbraco-CMS into temp8-3298-move-rollback 2018-10-17 15:10:06 +01:00
Warren Buckley fff7891e53 Filter rollback version to display the VariantDisplay model instead 2018-10-17 15:09:29 +01:00
Mads Rasmussen eb8b269846 wire up getRollbackVersion endpoint 2018-10-17 16:02:47 +02:00
Warren Buckley 2baafd9c91 * Renamed API variables to 'culture' to make Stephan happy - updated the AngularJS HTTP Resource call too
* Stubbed out some other WIP code - for getting a specific version & attempting to perform a rollback
2018-10-17 14:39:11 +01:00
Mads Rasmussen 214d6a9834 show correct title and date for current version + update versions when language is changed 2018-10-17 15:17:43 +02:00
Stephan 581658086f Fix KeyValueService for proper initialization 2018-10-17 15:11:00 +02:00
Stephan e80ea9830c Fix bad LockDto primary key w/migration 2018-10-17 15:11:00 +02:00
Stephan 71cec84f78 Fix MigrationExpressionBase, minor typo 2018-10-17 15:11:00 +02:00
Stephan d324466fe1 Fix LockDto, had wrong primary key + missing rows 2018-10-17 15:11:00 +02:00
Mads Rasmussen 2be2273589 wire up versions end point 2018-10-17 14:33:42 +02:00
Warren Buckley 27ce1f34bb Make the JSON model over the API control be the correct casing & make Mads happy :) 2018-10-17 13:24:23 +01:00
Warren Buckley d9864eb6d6 * Make the culturename nullable for invariant content
* fallback to update date and writer id if its not published
2018-10-17 13:19:09 +01:00
Stephan 7c1c6f6806 Fix AlterTableBuilder, was ignoring primary keys 2018-10-17 13:57:35 +02:00
Warren Buckley c05495f358 WIP: Adds a new API endpoint in the editor/webapi for ContenController to list rollback versions available for a culture 2018-10-17 12:15:57 +01:00
Warren Buckley 2e5562c353 Merge branch 'temp8' into temp8-3298-move-rollback 2018-10-17 10:19:42 +01:00
Warren Buckley 5c796b15ad Remove console.log 2018-10-17 11:01:33 +02:00
Shannon ba186144a0 Updates models to allow dirty tracking on variants 2018-10-17 18:09:52 +11:00
Shannon 69640515cf fixes issue with sorting on published 2018-10-17 13:44:24 +11:00
Shannon d7b85397e7 Merge remote-tracking branch 'origin/temp8' into temp8-w220 2018-10-17 12:15:33 +11:00
Lars-Erik Aabech 8664f90167 Merge remote-tracking branch 'fork/temp8-u4-11427-remove-propertyinjection' into castle-compatibility-cleanup
# Conflicts:
#	src/Umbraco.Tests/Models/MediaXmlTest.cs
2018-10-16 19:44:48 +02:00
Mads Rasmussen fd6f9fc83b remove rollback context menu item 2018-10-16 15:11:47 +02:00
Stephan 6346710b97 Fix tests 2018-10-16 15:05:17 +02:00
Mads Rasmussen 16282e1007 remove old client side files for rollback 2018-10-16 14:37:00 +02:00
Mads Rasmussen 203ea8019b add language selector 2018-10-16 14:09:57 +02:00
Warren Buckley c63c114563 Fixes the colors in the icon picker
Checked that the color picker property editor is also OK/happy as well that re-uses the <umb-color-swatches> directive/component
2018-10-16 12:58:21 +01:00
Warren Buckley b27be1153c Merge pull request #3239 from umbraco/temp8-3092-publish-descendants
Temp8 3092 publish descendants
2018-10-16 12:20:40 +01:00
Mads Rasmussen 1c1057412e move current rollback version to infinite editor 2018-10-16 12:40:40 +02:00
Warren Buckley 982fb46e7d Fix failing unit test - number of trees gone down as we have removed the user tree (as this is now a fullscreen/wide section/app only) 2018-10-16 11:16:45 +01:00
Mads Rasmussen eceec9ea3e Set rollback button to be xs + fix padding on xs buttons 2018-10-16 11:43:14 +02:00
Warren Buckley d8f1ec5116 Merge pull request #3200 from umbraco/temp8-3087-tree-grouping
#3087 - Tree Grouping in Settings section
2018-10-16 10:14:22 +01:00
Mads Rasmussen 3d52f2676e Add possibility to extend the umb-box-header + add rollback button 2018-10-16 10:59:04 +02:00
Stephan f868172f48 Cleanup 2018-10-16 10:58:17 +02:00
Stephan 6e8411acaa Merge pull request #3287 from crgrieve/v8-content-app-roles
v8 ContentApp Show/Hide per user Role
2018-10-16 10:12:13 +02:00
Shannon a100d321f6 Fixes group node route 2018-10-16 18:08:57 +11:00
Shannon 10873c1dfc Cleans up all old tree classes. woohoo! 2018-10-16 17:41:02 +11:00
Shannon 831657537f tree webforms cleanup 2018-10-16 16:56:28 +11:00
Shannon 286f7b3279 Gets tree syncing working, updates the GetApplicationTrees to still return a single Root since we require this everywhere for JS, fixes full screen section and makes users a full screen section (and reduces unecessary code), removes code to avoid breaking changes from v7 2018-10-16 16:41:06 +11:00
Shannon 466d782db4 Fixes issue with umbsetdirtyonchange.directive 2018-10-16 13:18:21 +11:00
Shannon 339417b977 Merge remote-tracking branch 'origin/temp8' into temp8-3087-tree-grouping
# Conflicts:
#	src/Umbraco.Web.UI/umbraco/config/lang/nb.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/zh_tw.xml
2018-10-16 13:11:09 +11:00
Shannon 02eb1aef91 Updates some styles so we get the button state back, cleans up some js 2018-10-16 12:15:48 +11:00
Warren Buckley bebc3b5f74 Remove inline mode - too many issues for now 2018-10-15 14:57:31 +01:00
Mads Rasmussen 7c1fae7462 add toolbar pinning back in 2018-10-15 15:54:54 +02:00
Stephan 7757c7060e Refactor ManifestContentAppDefinition for roles 2018-10-15 15:48:26 +02:00
Mads Rasmussen b92978c7d3 fix resize + scrolling issues 2018-10-15 15:23:56 +02:00
Stephan 575d7a3ae7 Cleanup 2018-10-15 14:44:26 +02:00
Warren Buckley 47596af680 Changes theme prevalue to mode & toggles the various views TinyMCE ships with 2018-10-15 13:04:37 +01:00
Warren Buckley 9fa94b5366 Update dropdown to be mode & match the same terminology as TinyMCE Modes (Classic, Inline & Distraction Free) 2018-10-15 12:33:11 +01:00
Mads Rasmussen 30436eb72d fix styles 2018-10-15 13:19:00 +02:00
Mads Rasmussen 9c5a30f36c remove build in source code editor from tinymce 2018-10-15 13:00:35 +02:00
Carole Rennie Logan 64d7caee78 Update src/Umbraco.Core/Manifest/ManifestContentAppDefinition.cs
Rework logic on content app permissoins. Roles should override all other.
2018-10-14 19:24:18 +01:00
Carole Rennie Logan 3a6f2545f6 Update src/Umbraco.Core/Manifest/ManifestContentAppDefinition.cs
making it case insensitive
2018-10-14 17:38:38 +01:00
Tim Payne f394af20d0 Update umbsections.directive.js
Update the number of sections to the actual number of sections available at the present time, add a fix to the calculateWidth method so that if less items are allowed than available but there is technically enough room to show them the overflow tray still shows up.

On prior version, try adding translation to your allowed user group sections and reload, you can't see the translation section in the top menu, but the overflow menu button won't show until you shrink the screen.
2018-10-14 18:04:39 +02:00
Carole Rennie Logan 1f072a383e ContentApp Show/Hide per user Role
Making content app work show hide in manifest work for user roles. for example:

 "show": [
                "+role/admin"
            ]
2018-10-14 15:56:22 +01:00
Lotte Pitcher a3de30934d Re-adding the language keys for login greeting on a Sunday (greeting0) that were accidentally removed 2018-10-14 16:56:18 +02:00
Kim Holzmann 7a474c6fa4 #3219 Validation error on templates when clicking "save"
Error with use of savebutton fixed, use the suppressNotification value to check state.
2018-10-14 15:23:31 +02:00
Jamie Townsend fb277d80e7 Fix for old password not showing/hiding correctly on admin users page #3069 (#3273) 2018-10-14 13:34:16 +02:00
Sebastiaan Janssen c23f01e74d Merge pull request #3278 from tcmorris/patch-2
Update v8 getting started
2018-10-14 13:07:32 +02:00
Thomas Morris 00afea61f0 Update v8 getting started
Update link so that it doesn't 404 and replace with relevant link.
2018-10-14 10:49:50 +01:00
Sebastiaan Janssen b78f13bd9b Merge pull request #3274 from MMasey/fix-lazyload-reference
Update lazyload.js reference on install pages.
2018-10-14 10:49:22 +02:00
Mike Masey fe906f0e81 Update lazyload.js reference on install pages. 2018-10-13 17:59:43 +01:00
Warren Buckley cb0b1ef73d More CodeMirror stuff gone 2018-10-12 14:47:23 +01:00
Warren Buckley 69d1fea8f7 Thought I updated these already?! 2018-10-12 14:36:57 +01:00
Warren Buckley 996c48cc7f Package lock without codemirror 2018-10-12 14:35:47 +01:00
Warren Buckley 9495feb94d Updates the tinymce plugin alias to use the code icon for when configuring which toolbar buttons to add in the prevalue editor view 2018-10-12 14:21:08 +01:00
Warren Buckley 66d4541fc5 Remove codemirror files 2018-10-12 14:20:21 +01:00
Warren Buckley 9dcabd24d2 Cleanup of console.log, remove unused code and name button better than 'Warrens button' 2018-10-12 14:00:15 +01:00
Warren Buckley 6a4e9f5368 Bye bye codemirror TinyMce Wrapper Plugin 2018-10-12 13:59:39 +01:00
Mads Rasmussen e805305352 refresh model on save 2018-10-12 13:55:57 +02:00
Warren Buckley 4fb343e8d4 Merge branch 'temp-tinymce' of https://github.com/umbraco/Umbraco-CMS into temp-tinymce 2018-10-12 12:30:01 +01:00
Warren Buckley 1cb4df2750 WIP Ace editor for the HTML source code 2018-10-12 12:29:34 +01:00
Shannon ffc0ec4556 removes dimensions pre-values from rte 2018-10-12 10:51:43 +02:00
Shannon 93075a82de menu now wraps in classic mode 2018-10-12 10:42:11 +02:00
Shannon faec132f82 TEMP - removes inline mode adds stub code to have a fixed toolbar dom item 2018-10-12 10:28:36 +02:00
Shannon ab846ec4f6 Changes default theme to Modern 2018-10-12 10:00:47 +02:00
Shannon 9198d7976f changes the default to classic 2018-10-12 09:50:53 +02:00
Shannon 019bb3ee95 Merge branch 'temp-tinymce' of https://github.com/umbraco/Umbraco-CMS into temp-tinymce 2018-10-12 09:47:47 +02:00
Shannon 08bf996737 Revert "wip for trying tinymce5 (will revert and come back to this later)"
This reverts commit 8b6ede49b4.
2018-10-12 09:47:40 +02:00
Shannon 8b6ede49b4 wip for trying tinymce5 (will revert and come back to this later) 2018-10-12 09:47:16 +02:00
Shannon bf9bd4b1f5 delete the old skin files since we're not using them 2018-10-12 09:46:52 +02:00
Warren Buckley 43d4447498 Something went wrong with a merge temp8 into this after the removal of bower 2018-10-12 08:19:38 +01:00
Warren Buckley 4fd54ba339 Adds a class to the DIV so we can add a border for the inline editor when the RTE is yet to have any content/copy added - to make it obvious there is something there to click into 2018-10-11 15:56:05 +01:00
Warren Buckley e2c16f15da Adds in skins for tinymce 2018-10-11 15:19:32 +01:00
Warren Buckley 0e8c5f48fe tinymce to correct version - 4.8.3 2018-10-11 15:14:33 +01:00
Warren Buckley a275b47139 npm install of tinymce 2018-10-11 15:12:05 +01:00
Warren Buckley 7603ab6d47 Merge branch 'temp8' into temp-tinymce
# Conflicts:
#	src/Umbraco.Web.UI.Client/bower.json
#	src/Umbraco.Web.UI.Client/package-lock.json
2018-10-11 15:10:21 +01:00
Shannon 1597dce99e Adds pre-value drop down for theme selection 2018-10-11 15:39:18 +02:00
Warren Buckley bbc28b132d Merge pull request #3260 from umbraco/temp8-remove-bower
Temp8 remove bower
2018-10-11 14:38:45 +01:00
Mads Rasmussen 9800f1bd9c fix paths in karma test 2018-10-11 15:31:39 +02:00
Mads Rasmussen 4f00082dd5 fix angular mocks 2018-10-11 15:06:12 +02:00
Shannon 1902ebd989 Fixes issue with umbsetdirtyonchange.directive 2018-10-11 14:56:22 +02:00
Mads Rasmussen 91a64c9ea9 Merge branch 'temp8-remove-bower' of https://github.com/umbraco/Umbraco-CMS into temp8-remove-bower 2018-10-11 14:51:09 +02:00
Mads Rasmussen 6071be79be set private to true in package.json. We don't need to publish on npm 2018-10-11 14:50:34 +02:00
elitsa 140e410dcc Revert changes 2018-10-11 14:40:18 +02:00
Warren Buckley e902bb08f6 Removes installing bower from the build powershell 2018-10-11 13:37:20 +01:00
Mads Rasmussen e390d28e29 fix jquery-ui 2018-10-11 14:34:02 +02:00
Warren Buckley ac5ee9053f Update & match momentjs version 2018-10-11 13:32:15 +01:00
Warren Buckley ecaedc547a Fixes moment locale copying 2018-10-11 13:31:54 +01:00
Shannon f816f19d60 Fixes some issues for rte 2018-10-11 14:25:33 +02:00
Mads Rasmussen a00875089c get the right version of ace 2018-10-11 14:10:18 +02:00
Shannon 926fef43d0 Fixes merge issues 2018-10-11 14:07:04 +02:00
Mads Rasmussen 7a372bf814 fix lazyload 2018-10-11 13:50:52 +02:00
Shannon f6c99f2bbc Merge remote-tracking branch 'origin/temp8' into temp-tinymce
# Conflicts:
#	src/Umbraco.Web.UI.Client/bower.json
#	src/Umbraco.Web.UI.Client/src/common/directives/components/grid/grid.rte.directive.js
#	src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/embed/embed.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/embed/embed.html
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/mediaPicker/mediapicker.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.html
2018-10-11 13:33:18 +02:00
Mads Rasmussen 09f67c6c43 fix version 2018-10-11 13:26:35 +02:00
Mads Rasmussen efefa54601 remove all bower logic in gulp + remove bower.json 2018-10-11 13:26:21 +02:00
Mads Rasmussen bb5817ca92 fixing versions and files 2018-10-11 13:12:10 +02:00
elitsa e1c7d23c81 Adding a missing parameter 2018-10-11 12:54:32 +02:00
elitsa 79c363c900 Updating the admin user id to the correct userId 2018-10-11 12:54:06 +02:00
elitsa a73e288846 Few fixes - including completing a transaction, disabling the notifications so they can be handled manually. 2018-10-11 12:52:57 +02:00
Mads Rasmussen bd20518d50 move the last dependencies 2018-10-11 12:16:09 +02:00
Warren Buckley 7ebccb1a36 Don't need to globally install bower anymore in this helper batch script 2018-10-11 10:54:45 +01:00
Robert 00bad829c3 Removed rogue colon 2018-10-11 11:54:28 +02:00
Mads Rasmussen a0c7a45a4c move, move, move all day loong... 2018-10-11 10:44:14 +02:00
Shannon f996653a67 changes logic to Count 2018-10-11 10:35:23 +02:00
Shannon c6a4b014cb Merge remote-tracking branch 'origin/temp8-3087-tree-grouping' into temp8-3087-tree-grouping 2018-10-11 10:28:47 +02:00
Warren Buckley 6dd9bf56be Update logic for checking for groups to be more robust (as we could still have one named group) 2018-10-11 09:23:42 +01:00
Warren Buckley eb3fd54e2e Remove empty/unused keys for these tree header groupings 2018-10-11 09:21:39 +01:00
Warren Buckley 9572d195b5 Fixes based on Shan's feedback of the PR
Only does fancy group logic if more than one group - means other sections can be grouped in the future
2018-10-11 09:16:44 +01:00
Shannon a534457f53 Merge remote-tracking branch 'origin/temp8' into temp8-3087-tree-grouping 2018-10-11 10:15:07 +02:00
Mads Rasmussen 37d14f7413 moving moments + angular-dynamic-locale 2018-10-11 09:46:23 +02:00
Robert 9231d2e61c Merge branch 'temp8' into temp8-w220 2018-10-11 09:42:27 +02:00
Stephan 24ff605862 Merge pull request #3244 from umbraco/temp8-installbackground-issue-3243
Fixes issue #3243
2018-10-10 22:05:59 +02:00
Mads Rasmussen 7e85235e20 delete cssparser and less libraries 2018-10-10 21:32:08 +02:00
Mads Rasmussen 4d13c631ed aaand move some more 2018-10-10 21:29:42 +02:00
Mads Rasmussen a4903b9581 get jquery libraries to npm 2018-10-10 20:58:35 +02:00
Niels Hartvig f64cbfae60 Add info on release plan for Umbraco 8 to installer 2018-10-10 13:51:55 -05:00
Niels Hartvig dd6d292896 Updating installer background 2018-10-10 13:51:42 -05:00
Niels Hartvig b5b162cba1 Adds information about the Umbraco 8 release plan 2018-10-10 13:29:51 -05:00
Warren Buckley 92aa41fe33 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-10-10 16:42:44 +01:00
Warren Buckley 4da6788cb8 Fix PartialView Tree Controller to display a folder icon as opposed to an article icon for nested folders - looks odd/broken to me otherwise 2018-10-10 16:27:13 +01:00
Warren Buckley c69590fd21 Move macro tree from Templating up into Settings group 2018-10-10 15:03:14 +01:00
Warren Buckley 5b3db88df9 Fix logic - so that Content Blueprints tree is added to the list of trees (Finding by name/title was not working, so switched to the AdditionalData["treeAlias"] instead 2018-10-10 15:02:50 +01:00
elitsa 8ed4013954 Merge branch 'temp8-sendToPublish' of https://github.com/umbraco/Umbraco-CMS into temp8-sendToPublish 2018-10-10 15:28:18 +02:00
elitsa f0bbce3117 Configuring the logic behind "Send to Publish". 2018-10-10 15:26:05 +02:00
elitsa 5c6bfe823d Configuring the logi behind "Send to Publish". 2018-10-10 15:23:40 +02:00
Mads Rasmussen 66333aa5ec fix label for schedule publish invariant content 2018-10-10 15:19:29 +02:00
elitsa 6db8f50ce3 Right arrow appears when there are child nodes 2018-10-10 15:13:46 +02:00
Mads Rasmussen 5a42259005 disable button if nothing is selected 2018-10-10 15:02:03 +02:00
Mads Rasmussen 75d5c7e30c add translations, autoslect active variant, order by active + clean up 2018-10-10 14:48:54 +02:00
Warren Buckley f1b20ebbb2 Orders the grouped trees by name (which means the custom trees will be last now)
Displays custom third party group - only if we have items to show in that group
2018-10-10 12:25:19 +01:00
Warren Buckley e2d3cbc8eb Decorate other settings trees with the correct grouping 2018-10-10 12:24:00 +01:00
Mads Rasmussen 8fdbfea23f wip publish descendants dialog 2018-10-10 11:33:42 +02:00
Robert a8449a4d01 Merge pull request #3155 from umbraco/temp8-222-variant-invariant-data-updates
variant to invariant data updates
2018-10-10 08:44:33 +02:00
Robert d41251819f RemoveItem now returns a bool 2018-10-10 08:27:20 +02:00
Robert 931fcd565a Removed the override of IsPropertyDirty as is not needed. 2018-10-10 08:26:10 +02:00
Stephan 0d5bf5e9c6 Merge branch 'temp8' into temp8-di2690 2018-10-09 23:03:03 +02:00
Stephan ee24fb4ef7 Make Tests Green Again 2018-10-09 23:02:22 +02:00
Kenn Jacobsen afa3e9b5eb Improve image cropper UX (#3149) 2018-10-09 22:54:51 +02:00
Jan Skovgaard 3aece09e09 3223 - Minor tweaks and code alignment for the checkbox and color picker styling (#3224)
* Make the focus effect on the toggle use the same box-shadow as is already being used in the color picker instead of doing it differently

* Use the color variables instead of hard coded color and also make use of LESS' fade function outputting an rgba() color
2018-10-09 22:25:42 +02:00
Dave Woestenborghs fd1a9bb365 #3214 - umbracoUrlAlias with uppercase characters (#3220) 2018-10-09 21:51:04 +02:00
Kenn Jacobsen 4d1b361f8f Style Public access dialog (#3194) 2018-10-09 21:32:54 +02:00
Mads Rasmussen 91d8b40216 move more libraries 2018-10-09 21:29:50 +02:00
Sebastiaan Janssen ee4a252b07 Revert "Fixed udi's rendered in rte content (#2531)"
This reverts commit b0374695b1.
2018-10-09 21:19:55 +02:00
Mads Rasmussen 5dd6ef18aa first round of moving libraries from bower to npm 2018-10-09 20:48:20 +02:00
Warren Buckley ecb46214d8 package lock JSON update post babel merge 2018-10-09 15:20:31 +01:00
Warren Buckley 3887a9091c Merge pull request #3190 from umbraco/temp8-babel
Temp8 - Add babel to gulp build
2018-10-09 14:46:08 +01:00
Mads Rasmussen 369971bf5f Merge branch 'temp8' into temp8-babel 2018-10-09 15:35:59 +02:00
Warren Buckley ebe52ed6b6 Updated package-lock.json 2018-10-09 14:30:25 +01:00
Warren Buckley 7cdfb65a60 Merge pull request #3213 from umbraco/temp8-223-scheduled-publishing
Temp8 223 scheduled publishing
2018-10-09 14:09:46 +01:00
Warren Buckley 3c747a1be6 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer
# Conflicts:
#	src/Umbraco.Web.UI/config/trees.Release.config
#	src/Umbraco.Web.UI/config/trees.config
2018-10-09 13:34:19 +01:00
Jan Skovgaard d1b1a1cf6d #3178 - Make the Checkbox/TrueFalse property editor configurable (#3179) 2018-10-09 14:23:09 +02:00
Poornima Nayar 7e16cf360a Issue with the bottom border looking out of place on the select editor screen fixed 2018-10-09 12:36:28 +02:00
Poornima Nayar 9986c10cec Cleaned up the view by removing inline styles and style tags on the view itself.
Removed inline styles in the code behind files
Moved all styles into the modals.less stylesheet
2018-10-09 12:35:32 +02:00
Anders Bjerner 9b4f879b6d Added XML documentation to the DatabaseSchemaHelper class (#3205) 2018-10-09 12:28:43 +02:00
Kenn Jacobsen 62d65f0e3a Style the sort result so it looks like e.g. the copy dialog result 2018-10-09 12:09:12 +02:00
Jan Skovgaard 8d35dac9b6 #3187 - Small UI fixes for the toggle directive (#3188) 2018-10-09 12:00:29 +02:00
Kenn Jacobsen b8890aee25 Safe(r) handling of invalid images in the image cropper 2018-10-09 11:12:47 +02:00
Paul Seal bb23e8e200 - fix styling of Learn Umbraco help list (#3184) 2018-10-09 10:56:54 +02:00
Paul Seal cbc3ca0768 Updated copyright year 2018-10-09 10:56:18 +02:00
Søren Kottal e76d7cf060 removes selector 2018-10-09 10:45:03 +02:00
Jan Skovgaard 471e47e11b #3163 - Don't overwrite the label name even though labels are disabled in the color picker (#3164) 2018-10-09 10:41:31 +02:00
Warren Buckley 31b616f0ae Merge branch 'temp8' into temp8-3087-tree-grouping
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/es.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/nl.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/tr.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/nb.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/zh_tw.xml
#	src/Umbraco.Web/Trees/DictionaryTreeController.cs
2018-10-09 09:25:00 +01:00
Robert 6275a481aa Fixed order by "updater" query. 2018-10-09 10:21:32 +02:00
Sebastiaan Janssen 747edaa6ce #3141 fixed broken Do something else button (#3154) 2018-10-09 10:20:46 +02:00
Nathan Woulfe 08818c6358 removes ng-show from iframe, make loader background a solid color to hide iframe while it loads 2018-10-09 10:08:51 +02:00
Warren Buckley f63a9e93b0 Merge remote-tracking branch 'origin/temp8' into temp8-3087-tree-grouping
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/es.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/nl.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/tr.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/zh_tw.xml
#	src/Umbraco.Web.UI/umbraco/config/lang/zh_tw.xml
#	src/Umbraco.Web/Trees/DictionaryTreeController.cs
2018-10-09 08:53:40 +01:00
Mads Rasmussen a78230e135 lock version of flatpickr 2018-10-09 09:46:17 +02:00
Robert 4c6f297ce5 Merge branch 'temp8-w220' of https://github.com/umbraco/Umbraco-CMS into temp8-w220 2018-10-09 09:45:13 +02:00
Robert cc52652481 Added some comments detailing the hack that is in place for the where clause. 2018-10-09 09:44:44 +02:00
Dave Woestenborghs 94922ccbd2 #3141 fixed the problem differently after input from @markadrake 2018-10-09 08:51:02 +02:00
Robert b2d1a48c7a Added null check for EmailValidator value, fixed js error. 2018-10-09 08:19:36 +02:00
Mads Rasmussen 42830312d8 remove properties only needed for this dialog 2018-10-08 20:37:46 +02:00
Mads Rasmussen 501e2ea20b add docs 2018-10-08 19:53:30 +02:00
Mads Rasmussen 4d927e705d fix language file 2018-10-08 19:35:08 +02:00
Stephan a9e0f90ef0 Fix merge 2018-10-08 19:27:32 +02:00
Stephan 66d931490e Merge branch temp8 into temp8-di2690 2018-10-08 19:22:20 +02:00
Mads Rasmussen 92ffdaaca6 Merge branch 'temp8' into temp8-223-scheduled-publishing
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
2018-10-08 17:49:33 +02:00
Mads Rasmussen 5c121e733d small style tweaks to fit backoffice better 2018-10-08 17:31:37 +02:00
Stephan 69f4f0c8a8 Fix preview signalR due to browser throttling background tabs 2018-10-08 17:17:19 +02:00
Stephan 0726ee1a39 Get ContentFinderByUrl to work on preview urls 2018-10-08 17:17:19 +02:00
Stephan f5c5d9f9d5 Update ModelsBuilder to -alpha.24 2018-10-08 17:15:08 +02:00
Stephan 00017a0624 Version 8.0.0-alpha.52 for ModelsBuilder 2018-10-08 16:46:23 +02:00
Stephan d323d0f330 Fix nuspec 2018-10-08 16:45:12 +02:00
Stephan 0f7f6aad41 Add migration to drop task tables 2018-10-08 16:16:47 +02:00
Stephan 075b40444c Cleanup 2018-10-08 16:02:20 +02:00
Poornima Nayar 3977d24eb2 Button styling on inactive user profile & clean up user view (#3170) 2018-10-08 15:29:09 +02:00
Mads Rasmussen 3d345badc3 add comments to schedule controller + fix problem with backdrop clicks 2018-10-08 15:22:15 +02:00
Warren Buckley b2bc259bd5 Adds in lang keys 2018-10-08 14:19:52 +01:00
Kenn Jacobsen 2e135d2006 Register an audit on the parent node when sorting child nodes. 2018-10-08 15:11:51 +02:00
Warren Buckley be42783616 Remove dupe code & order by descending (still need to specify own sort order) 2018-10-08 14:10:11 +01:00
Mads Rasmussen 6869833c54 clean up settings when dates are cleared 2018-10-08 14:41:14 +02:00
Warren Buckley c306bdea47 Updates umb-tree directive to loop over the uodated WebAPI collection of SectionRootNodes 2018-10-08 13:36:59 +01:00
Warren Buckley b3f4e9da8f JS tweaks needed to deal with a collection of SectionRootNodes returning from the API 2018-10-08 13:36:14 +01:00
Warren Buckley 5a551bd3d6 Changed needed as GetApplicationTrees returns an IEnumerable of SectionRootNodes now 2018-10-08 13:34:11 +01:00
Warren Buckley 6c7c510eb9 Initial WIP of grouping trees for settings section - needs tidying 2018-10-08 13:33:14 +01:00
Warren Buckley 7db13960e9 Adds in GetAllTypes to ApplicationTreeService 2018-10-08 13:32:12 +01:00
Kenn Jacobsen b820baf643 Whe moving an item, make sure the current user is registered in Audit instead of the default user (#3150) 2018-10-08 14:27:18 +02:00
Kim Holzmann a3cf1d7d58 #3138 - Can add a null item to the grid
Don't perform submit function if selectedItem is undefined
2018-10-08 14:22:04 +02:00
KimHolzmann 4d7a36e017 #3001 Styles cannot be saved - Not sure if oldName is legacy (#3123) 2018-10-08 14:04:52 +02:00
Mads Rasmussen fb783e33af add flatpickr to variants 2018-10-08 13:59:25 +02:00
Mads Rasmussen 8c71aefe70 prevents overlay from closing when clicking inside date picker 2018-10-08 13:58:38 +02:00
Shannon Deminick e15992a66b Merge pull request #3197 from umbraco/temp8-I3089
Translation cleanup
2018-10-08 13:11:22 +02:00
Shannon 210102fcdc oops incorrect package version got reverted 2018-10-08 13:10:38 +02:00
Sebastiaan Janssen a9756e065c Don't show toggles to create templates when that feature is disabled.
Also default the toggle to false when the feature is disabled.
2018-10-08 13:07:54 +02:00
elitsa b68b962d6f Removed all keys which are not being referenced anywhere in the code base. 2018-10-08 11:58:22 +02:00
elitsa aa003713e6 Removed files which were added mistakenly discarding merge conflicts. 2018-10-08 11:57:13 +02:00
Shannon 975e08ba9f Fixes member/media list views, reformats some code and fixes js error 2018-10-08 11:23:12 +02:00
Shannon 13693bddef Ensures the correct default list view settings are loaded for media content type 2018-10-08 10:54:02 +02:00
Mads Rasmussen eda87cbbd2 prevent unpublish date to be before publish date and vice versa 2018-10-08 10:48:57 +02:00
elitsa 85309e8ce5 Merge branch 'temp8-I3089' of https://github.com/umbraco/Umbraco-CMS into temp8-I3089 2018-10-08 10:23:53 +02:00
elitsa 4bde59ed66 Translation clean up 2018-10-08 10:13:36 +02:00
Shannon 1bb4d3d3ec Merge remote-tracking branch 'origin/temp8' into temp8-w220 2018-10-08 10:10:56 +02:00
elitsa 9ad65e5fa8 Deleting 'Task' related references and implementations 2018-10-08 10:08:04 +02:00
Shannon Deminick b93dea5c38 Merge pull request #3171 from umbraco/temp8-I3089
Removed the old Developer section and replaced it with Packages section instead.
2018-10-08 10:00:59 +02:00
elitsa e2acc8b447 Remove sections icons - not needed anymore 2018-10-08 10:00:52 +02:00
Robert 59962c7afe Merge pull request #3136 from umbraco/temp-3063-xmlPublishedContent-lock
Lock XmlPublishedContent initialization for thread-safety
2018-10-08 09:58:58 +02:00
elitsa 8fdee9af85 Update trees.Release.config 2018-10-08 09:58:19 +02:00
Shannon b48202197f Merge remote-tracking branch 'origin/temp8' into temp8-I3089
# Conflicts:
#	src/Umbraco.Web/Trees/DataTypeTreeController.cs
2018-10-08 09:54:12 +02:00
Mads Rasmussen a629f8fb83 Merge branch 'temp8' into temp8-223-scheduled-publishing 2018-10-08 09:42:04 +02:00
Jan Skovgaard 0f3da1ae14 #3159 - Add border around the colors from the approved color picker (#3161) 2018-10-08 08:38:24 +02:00
Poornima Nayar 774f1d706c Fixed issue with actions dropdown menu being partially visible. 2018-10-08 08:17:48 +02:00
Sebastiaan Janssen 6b55c11321 Merge pull request #3156 from jannikanker/patch-1
Lecoati CSS reference removed (issue #3147)
2018-10-08 08:13:04 +02:00
Sebastiaan Janssen 2737085161 Merge pull request #3167 from rahulkumaran/licsene-patch
Update LICENSE.md
2018-10-08 08:10:21 +02:00
Mads Rasmussen b9ad98b357 package is a reserved word 2018-10-07 20:03:23 +02:00
Mads Rasmussen 0cd24e94bb can't delete variables 2018-10-07 20:03:06 +02:00
Mads Rasmussen 6dfb1e7e83 await is a reserved word 2018-10-07 20:01:54 +02:00
Mads Rasmussen 8c52529e47 add babel + babel config 2018-10-07 20:01:20 +02:00
Mads Rasmussen 90900067a8 wip Add flatpickr library + create flatpickr component 2018-10-07 15:29:24 +02:00
Shannon fdc94b9d1b Writes tests to ensure that property values are updated in docs that are of a composed type of the one that variants are being changed in. 2018-10-05 15:07:19 +02:00
Warren Buckley 2612f33283 Update trees using [CoreTree] attribute to use new property from our constants 2018-10-05 13:11:38 +01:00
Warren Buckley e013545cfc Adds property to [CoreTree] attribute that allows you to set the TreeGroup key - which will be from our constants 2018-10-05 13:10:31 +01:00
Warren Buckley 4ff15fbf04 Updates constants to include nested class in Constants.Trees.Groups for the various settings section subtree groupings - these keys will be used to help group the trees 2018-10-05 13:09:30 +01:00
Shannon 06d41086f3 adds stub code for clearing scheduled publishing 2018-10-05 11:56:47 +02:00
Shannon 2e5d0f85e8 clears redirects on variation change 2018-10-05 11:53:35 +02:00
elitsa 99257f2245 Updated the sortOrder also in the respective controllers, as well as updating to the new standards of string interpolation in those controllers. 2018-10-05 11:51:34 +02:00
elitsa 373dfde730 don't show down arrow when no doc types 2018-10-05 11:28:43 +02:00
Mads Rasmussen 8eac3c5894 clean up old schedule publshing button code 2018-10-05 11:15:21 +02:00
elitsa 0cc5a01069 packages section is there with translations sections and correct trees 2018-10-05 11:09:33 +02:00
Mads Rasmussen 41aa6e680e schedule button should always show an ellipsis because it always opens a dialog 2018-10-05 09:54:57 +02:00
Rahul Arulkumaran e7d7de6273 Update LICENSE.md 2018-10-05 11:43:41 +05:30
Mads Rasmussen a1abe568ce clean up 2018-10-04 21:01:47 +02:00
Mads Rasmussen 7d56ebf662 fix width of date picker 2018-10-04 20:21:13 +02:00
Jannik Anker b6c3297884 Lecoati CSS reference removed (issue #3147)
ApprovedColorPickerController had a reference for no apparent reason.
2018-10-04 17:16:57 +02:00
Shannon 0ae1d06c2d fix merge 2018-10-04 16:39:31 +02:00
Shannon 9222ede853 Merge remote-tracking branch 'origin/temp8' into temp8-222-variant-invariant-data-updates
# Conflicts:
#	src/Umbraco.Core/Persistence/Repositories/Implement/LanguageRepository.cs
2018-10-04 16:39:23 +02:00
Shannon 304c874006 removes comments 2018-10-04 16:36:19 +02:00
Shannon c5ae149d40 Gets remaining tests in place along with moving name values 2018-10-04 16:27:41 +02:00
Stephan b6679551d4 Fix url provider for variant/invariant urls 2018-10-04 16:16:56 +02:00
Stephan 9106dc9ca9 Fix ModelType and media picker converter for when picking only images 2018-10-04 16:16:56 +02:00
Warren Buckley 0dcbc9f303 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-10-04 15:15:20 +01:00
Warren Buckley 5084c82ac7 Suggestion after talking with Stephane for some refactorings 2018-10-04 15:13:56 +01:00
Mads Rasmussen 01bb00a8ec better date formatting 2018-10-04 16:04:14 +02:00
Mads Rasmussen 99e7fb008e remove unused styles 2018-10-04 16:03:13 +02:00
Dave Woestenborghs 9d36ee6bd8 #3141 fixed broken Do something else button 2018-10-04 15:49:32 +02:00
Mads Rasmussen 5b6c6c0cd1 remove schedule publish box from info app 2018-10-04 15:37:59 +02:00
Mads Rasmussen 1c5547e594 add better styling for scheduling of invariant content 2018-10-04 15:23:38 +02:00
Mads Rasmussen 8f9db82159 clean up states when dialog closes, prevent dialog from closing then date picker is open, wip support for invariant content 2018-10-04 14:21:30 +02:00
Shannon 7b41730b60 Changes how variant property data is updated with bulk SQL and gets tests working 2018-10-04 14:15:54 +02:00
Warren Buckley 811526859c Fix up unit test - Test_Section_Tabs after dahsboards moving around from dev into settings 2018-10-04 13:08:14 +01:00
Warren Buckley d1835d8ea0 Merge pull request #3151 from umbraco/temp8-219-IsolatedContentAppForms
#219 Isolated content app forms
2018-10-04 12:53:38 +01:00
Warren Buckley 17cb3604e0 After peer review with Shan & Mads - forgot to remove commented out code but both are happy with this implemtation for first iteration 2018-10-04 12:49:43 +01:00
Robert bed391d20f Merge branch 'temp8' into temp8-w220 2018-10-04 13:20:44 +02:00
Robert 24fe3b33f2 Cleaning some usings 2018-10-04 13:20:15 +02:00
Robert 76bacb3ba0 Moved the join and coalesce into GetBaseQuery, making sure that we append the right query if we are searching a variant list 2018-10-04 13:15:01 +02:00
Robert f33953e702 Moving the sql join and coalesce query in the DocumentRepository.GetBaseQuery(), renaming "ordering" to "variantName" to match the field created in GetBaseQuery. 2018-10-04 13:12:49 +02:00
Robert ff7356fea2 Extending the AndSelect to take an param array of fields 2018-10-04 13:06:07 +02:00
Warren Buckley 5bc2954650 Merge pull request #3109 from umbraco/update-dashboards
Merge dashboards from Developer to Settings section
2018-10-04 11:56:14 +01:00
Warren Buckley 8270888780 Merge remote-tracking branch 'origin/temp8' into temp8-219-IsolatedContentAppForms
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/content/edit.controller.js
2018-10-04 10:38:37 +01:00
Bjarne Fyrstenborg 7355ba4b23 Add option to rename colorpicker labels (#3121) 2018-10-04 08:36:21 +02:00
Jan Skovgaard deca5d7bdb Refactor error handling to serve different error messages depending on the context. If we know that the id being moved is the same as the id we want to move it to then show a specific error message hinting the editor what's wrong and otherwise show the usual generic error message. 2018-10-04 08:19:51 +02:00
Anders Bjerner bc081db9e6 Sentences should end with a period (#3144) 2018-10-04 08:16:11 +02:00
Shannon f76df08cd2 ensures that property type variations are set to nothing if the content type is updated to nothing 2018-10-03 19:34:02 +02:00
Shannon 26759e97fa First iteration to populate property type changes when they are changed variant/invariant 2018-10-03 19:03:22 +02:00
Warren Buckley 45b5cb0257 Move the tree from developer section to settings section - as we say goodbye to the developer section 2018-10-03 17:43:42 +01:00
Sebastiaan Janssen b6966055b4 Merge pull request #3140 from StrikerRUS/domain
updated domain in links to Umbraco community
2018-10-03 18:29:11 +02:00
Sebastiaan Janssen 2389901ba9 Merge pull request #3139 from ThomasAdams2/twitter-settings-typo
Fix typo in twitter settings section of EmbeddedMedia configs
2018-10-03 18:23:09 +02:00
Claus 9579b97dde fixes #3124 - logging in BaseDataCreation. 2018-10-03 18:17:46 +02:00
Claus c27b9d76db fixes #3126 - If no property data is found for a specific version - a null exception is thrown.
- Throwing an exception with a description instead of hitting a null exception.
2018-10-03 18:16:56 +02:00
KimHolzmann a8df8f484f #3022 media uploader in rte doesn't select uploaded image (#3117) 2018-10-03 18:13:35 +02:00
Warren Buckley cb166526dc Merge remote-tracking branch 'origin/temp8' into temp8-logviewer
# Conflicts:
#	src/Umbraco.Web.UI.Client/package-lock.json
2018-10-03 16:49:37 +01:00
Warren Buckley e98cd3fe8f WIP - Get the custom content app icon as invalid if my form in my content app contains errors in the form 2018-10-03 16:42:58 +01:00
Stephan 5c2591f9a1 Merge pull request #2764 from AndyButland/u4-11502
U4-11502 - fall-back languages [v8]
2018-10-03 17:42:22 +02:00
Jan Skovgaard 0a245dda43 Add an outer check to make sure the scope.includeSubFolders property is not undefined, which makes the media render in the view again 2018-10-03 17:38:44 +02:00
BatJan 125bbdd5bd #3102 - Make styling for media search dialogue prettier (#3103) 2018-10-03 17:20:04 +02:00
Dave Woestenborghs 321460c395 #3099 Added docs for tour directives (#3100) 2018-10-03 17:05:25 +02:00
Sebastiaan Janssen 6bd31636f0 Merge pull request #3086 from kjac/fix-nc-dragging-discards-changes
Avoid data loss when dragging an unsaved Nested Content item
2018-10-03 17:03:49 +02:00
Sebastiaan Janssen e80c450e42 Merge pull request #3085 from kjac/fix-nc-config-duplicate-doctypes
Don't let the same doctype be selectable twice in the Nested Content configuration
2018-10-03 16:52:58 +02:00
Mads Rasmussen 0bbacf46ea add filters 2018-10-03 16:41:56 +02:00
Sebastiaan Janssen 262f7aff7c Merge pull request #3084 from kjac/fix-nc-rte-loading-v2
Fix loading issue for RTE's in Nested Content
2018-10-03 16:33:28 +02:00
StrikerRUS 62a82c17c2 updated domain in links to Umbraco community 2018-10-03 17:33:11 +03:00
Stephan 96acc1bd7e Contextualize variations in fallback, too 2018-10-03 16:19:41 +02:00
Stephan ef3099ec58 Expose variation context accessor on Current 2018-10-03 16:16:50 +02:00
Warren Buckley a3217a73d3 we need to NOT have umb-isolate-form or val-form-manager on the umb-editor-sub-view when its core's own content apps 2018-10-03 15:15:43 +01:00
Stephan 1ff92d819d Fix languages list 2018-10-03 16:08:25 +02:00
Thomas Adams 833137772d Fix typo in twitter settings section of EmbeddedMedia configs 2018-10-03 15:04:33 +01:00
Warren Buckley 6d604a37b6 WIP with Shan - Removes nested content app form validation error messages & then puts them back 2018-10-03 14:55:15 +01:00
Warren Buckley b2ec2ac592 Update bower to angular 1.7.4 2018-10-03 14:51:04 +01:00
Sebastiaan Janssen 69528704ca Merge pull request #3106 from umbraco/abjerner-patch-3
Hide the "Links" box when there are no links
2018-10-03 15:36:16 +02:00
Sebastiaan Janssen be140bd06c Merge pull request #3104 from umbraco/abjerner-patch-2
Hide "Created Date" field when the media hasn't yet been created
2018-10-03 15:35:35 +02:00
Sebastiaan Janssen 2bda1a211d Merge pull request #3107 from umbraco/abjerner-patch-4
Should be "JavaScript" instead of "javascript"
2018-10-03 15:34:40 +02:00
Stephan f42bb663ff Lock XmlPublishedContent initialization for thread-safety 2018-10-03 15:17:32 +02:00
Mads Rasmussen 991d960379 Merge branch 'temp8' into temp8-223-scheduled-publishing
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/content/edit.controller.js
#	src/Umbraco.Web.UI.Client/src/common/services/contenteditinghelper.service.js
2018-10-03 15:13:54 +02:00
Stephan 2020c680d6 Merge branch temp8 into temp8-11502 2018-10-03 15:08:12 +02:00
Mads Rasmussen fbff56d911 change schedule flag to save flag 2018-10-03 14:57:45 +02:00
Mads Rasmussen 739effba46 add schedule publish to the publish combo button 2018-10-03 14:51:20 +02:00
Stephan 61a926e7e6 Cleanup npm package[-log].json files 2018-10-03 14:44:08 +02:00
Shannon Deminick 8f6329d165 Merge pull request #3135 from umbraco/temp8-241-unpublish
unpublish dialog in v8
2018-10-03 14:28:49 +02:00
Shannon 651b4a348a gets unpublish working 2018-10-03 14:27:48 +02:00
elitsa f3d1cc29bb Remove file related to old Developer's dashboard. 2018-10-03 14:21:41 +02:00
elitsa 7468c4ab04 Disabling packages section dashboard. 2018-10-03 14:20:46 +02:00
elitsa 83c66730e2 Updating tabs into Settings section. 2018-10-03 14:19:35 +02:00
elitsa 2fca4579e7 Relocate "Redirect URLs" markup and controller into a newly created 'content' folder. 2018-10-03 14:16:06 +02:00
elitsa f2825a6308 Adding back wrongly deleted code. 2018-10-03 14:12:18 +02:00
Sebastiaan Janssen ff0b95b337 Merge pull request #3083 from kjac/fix-nc-dragging-offset
Fix Nested Content "second time dragging" issue
2018-10-03 11:46:35 +02:00
Mads Rasmussen 1e501cc3c3 wip schedule publish dialog 2018-10-03 11:27:15 +02:00
Sebastiaan Janssen 7c28e8979a Merge pull request #3082 from kjac/fix-nc-icon-colors
Ensure the correct color for items in the Nested Content item picker
2018-10-03 11:17:27 +02:00
Stephan 914b8177bd Fix the migration plan 2018-10-03 11:11:55 +02:00
Stephan e44ed00c97 Another fallback iteration 2018-10-03 10:31:35 +02:00
Sebastiaan Janssen 93ae55c919 Removes the DatabaseSchemaValidationHealthCheck for now until we can improve it
Fixes #3132
2018-10-03 10:27:07 +02:00
Shannon b42cbbc0ff Merge branch 'temp8' into temp8-241-unpublish 2018-10-03 10:07:43 +02:00
Claus 985e1cc1b7 fixing annoying typo... 2018-10-03 07:49:36 +02:00
Shannon 6dba59585c Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-10-02 15:30:53 +02:00
Shannon 39458017ec removes old tag API 2018-10-02 15:29:17 +02:00
Sebastiaan Janssen c90e7735f9 Fix initial upload for svg and correct the way the cropper elements are hidden when cropping is not possible 2018-10-02 15:24:51 +02:00
Shannon 7196c855b2 Fixes tests 2018-10-02 15:19:01 +02:00
Claus 9cbb7f1d4a Merge pull request #3108 from umbraco/temp8-3094-save-button
Temp8 3094 save button
2018-10-02 15:14:58 +02:00
elitsa ce2cf7caa3 Updating the count of classes meeting the condition, due to uncommenting PackagesTreeController.cs 2018-10-02 14:21:28 +02:00
elitsa cda24b4fba Updating the right path to the Packages dashboard subviews. Adding new properties and attribute to meet the new implementation standards of a section. 2018-10-02 14:19:00 +02:00
elitsa 0ec789ca06 Enable PackagesTreeController while disabling the custom UI for the Packages dashboard. 2018-10-02 14:14:25 +02:00
elitsa 0e8d4eed63 Move dashboards from the Developer's section into Settings one. 2018-10-02 14:12:53 +02:00
elitsa 4e87abcc1e Update references to the right sections. 2018-10-02 14:11:48 +02:00
elitsa e2eaa1b9dd Change the location of the Developer section's dashboards markups and controllers into the respective Settings folder . 2018-10-02 14:08:45 +02:00
Mads Rasmussen ba295ddcf7 Merge branch 'temp8-234-disable-change-doctype-function' into temp8 2018-10-02 14:02:43 +02:00
Mads Rasmussen facaba2ed2 Remove save from comment 2018-10-02 13:07:57 +02:00
Shannon 0c5cf5256b manual merge pass #2 2018-10-02 12:57:19 +02:00
Warren Buckley 59c0e3f988 Uses underscorejs omit to remove the 'apps' from the object we copy to avoid a never ending nested tree of apps in the JSON 2018-10-02 11:45:06 +01:00
Shannon edc9744397 manual merge pass #1 2018-10-02 11:14:04 +02:00
Mads Rasmussen 1c0cf42f86 fixing dashboard paddings 2018-10-02 10:43:28 +02:00
Mads Rasmussen 92314a14f6 show load spinners in dialogs when those are used. Show load spinner on button when dialogs are not used. 2018-10-02 10:42:57 +02:00
Mads Rasmussen 41f4953013 add outlined button style 2018-10-02 10:40:44 +02:00
Shannon 7349b545b0 manually merging new media detectors 2018-10-02 09:38:27 +02:00
Anders Bjerner 3dffb59f72 Should be "JavaScript" instead of "javascript" 2018-10-01 21:55:13 +02:00
Anders Bjerner 38bd53978b Should be "JavaScript" instead of "javascript" 2018-10-01 21:53:53 +02:00
Anders Bjerner 9c04abc5ad Hide the "Links" box when there are no links 2018-10-01 21:40:24 +02:00
Anders Bjerner 66221364ca Hide "Created Date" field when the media hasn't yet been created 2018-10-01 21:21:17 +02:00
Stephan 8a29745b98 Merge branch temp8 into temp8-11502 2018-10-01 14:45:33 +02:00
Shannon 549d8d83ce reverts changes that shouldn't have been made, will manually merge these ones 2018-10-01 14:39:28 +02:00
Stephan eda6e084a7 Fix casing issue in member group service/repo 2018-10-01 14:37:40 +02:00
Shannon b96ba05d22 Merge remote-tracking branch 'origin/dev-v7' into temp8
# Conflicts:
#	build/Modules/Umbraco.Build/Get-UmbracoBuildEnv.ps1
#	build/NuSpecs/UmbracoCms.Core.nuspec
#	build/NuSpecs/UmbracoCms.nuspec
#	build/NuSpecs/tools/Readme.txt
#	src/Umbraco.Core/Configuration/UmbracoConfig.cs
#	src/Umbraco.Core/Configuration/UmbracoSettings/ContentElement.cs
#	src/Umbraco.Core/Configuration/UmbracoSettings/IContentSection.cs
#	src/Umbraco.Core/Constants-Conventions.cs
#	src/Umbraco.Core/Constants-System.cs
#	src/Umbraco.Core/IO/MediaFileSystem.cs
#	src/Umbraco.Core/Media/Exif/ImageFile.cs
#	src/Umbraco.Core/Models/Property.cs
#	src/Umbraco.Core/Models/PropertyTagBehavior.cs
#	src/Umbraco.Core/Models/PropertyTags.cs
#	src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSevenTwelveZero/SetDefaultTagsStorageType.cs
#	src/Umbraco.Core/Persistence/Repositories/AuditRepository.cs
#	src/Umbraco.Core/Persistence/Repositories/UserRepository.cs
#	src/Umbraco.Core/Persistence/Repositories/VersionableRepositoryBase.cs
#	src/Umbraco.Core/Security/AuthenticationExtensions.cs
#	src/Umbraco.Core/Security/BackOfficeCookieAuthenticationProvider.cs
#	src/Umbraco.Core/Services/Implement/PackagingService.cs
#	src/Umbraco.Core/Services/ServerRegistrationService.cs
#	src/Umbraco.Core/StringExtensions.cs
#	src/Umbraco.Core/packages.config
#	src/Umbraco.Tests/ApplicationUrlHelperTests.cs
#	src/Umbraco.Tests/Persistence/Repositories/AuditRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
#	src/Umbraco.Tests/Web/TemplateUtilitiesTests.cs
#	src/Umbraco.Tests/packages.config
#	src/Umbraco.Web.UI.Client/package.json
#	src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbcontentnodeinfo.directive.js
#	src/Umbraco.Web.UI.Client/src/common/directives/components/imaging/umbimagegravity.directive.js
#	src/Umbraco.Web.UI.Client/src/common/directives/components/tree/umbtreeitem.directive.js
#	src/Umbraco.Web.UI.Client/src/common/resources/log.resource.js
#	src/Umbraco.Web.UI.Client/src/common/services/user.service.js
#	src/Umbraco.Web.UI.Client/src/less/belle.less
#	src/Umbraco.Web.UI.Client/src/less/components/card.less
#	src/Umbraco.Web.UI.Client/src/less/navs.less
#	src/Umbraco.Web.UI.Client/src/less/panel.less
#	src/Umbraco.Web.UI.Client/src/less/property-editors.less
#	src/Umbraco.Web.UI.Client/src/less/tree.less
#	src/Umbraco.Web.UI.Client/src/views/common/dialogs/login.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/dialogs/login.html
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/mediapicker/mediapicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/iconpicker/iconpicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/iconpicker/iconpicker.html
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/linkpicker/linkpicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/mediaPicker/mediapicker.html
#	src/Umbraco.Web.UI.Client/src/views/components/content/umb-content-node-info.html
#	src/Umbraco.Web.UI.Client/src/views/components/notifications/umb-notifications.html
#	src/Umbraco.Web.UI.Client/src/views/components/umb-color-swatches.html
#	src/Umbraco.Web.UI.Client/src/views/components/umb-table.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/colorpicker/colorpicker.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/contentpicker/contentpicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/fileupload/fileupload.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/imagecropper/imagecropper.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/mediapicker/mediapicker.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/textarea/textarea.html
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
#	src/Umbraco.Web.UI/config/umbracoSettings.Release.config
#	src/Umbraco.Web.UI/packages.config
#	src/Umbraco.Web.UI/web.Template.Debug.config
#	src/Umbraco.Web.UI/web.Template.config
#	src/Umbraco.Web/Editors/AuthenticationController.cs
#	src/Umbraco.Web/Editors/BackOfficeController.cs
#	src/Umbraco.Web/Editors/CanvasDesignerController.cs
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/Umbraco.Web/Editors/DashboardController.cs
#	src/Umbraco.Web/Editors/LogController.cs
#	src/Umbraco.Web/Editors/MediaController.cs
#	src/Umbraco.Web/Install/InstallHelper.cs
#	src/Umbraco.Web/Install/InstallSteps/NewInstallStep.cs
#	src/Umbraco.Web/Media/EmbedProviders/AbstractOEmbedProvider.cs
#	src/Umbraco.Web/Models/Mapping/DataTypeModelMapper.cs
#	src/Umbraco.Web/Models/Mapping/PreValueDisplayResolver.cs
#	src/Umbraco.Web/Mvc/MasterControllerFactory.cs
#	src/Umbraco.Web/PropertyEditors/FileUploadPropertyValueEditor.cs
#	src/Umbraco.Web/PropertyEditors/ImageCropperPropertyValueEditor.cs
#	src/Umbraco.Web/PropertyEditors/TextAreaPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/ValueConverters/MultiNodeTreePickerPropertyConverter.cs
#	src/Umbraco.Web/PublishedCache/MemberPublishedContent.cs
#	src/Umbraco.Web/Routing/RedirectTrackingEventHandler.cs
#	src/Umbraco.Web/Scheduling/HealthCheckNotifier.cs
#	src/Umbraco.Web/Scheduling/KeepAlive.cs
#	src/Umbraco.Web/Scheduling/LogScrubber.cs
#	src/Umbraco.Web/Scheduling/ScheduledPublishing.cs
#	src/Umbraco.Web/Scheduling/ScheduledTasks.cs
#	src/Umbraco.Web/Scheduling/Scheduler.cs
#	src/Umbraco.Web/Templates/TemplateUtilities.cs
#	src/Umbraco.Web/Trees/DataTypeTreeController.cs
#	src/Umbraco.Web/UmbracoModule.cs
#	src/Umbraco.Web/_Legacy/Packager/Installer.cs
#	src/Umbraco.Web/packages.config
#	src/Umbraco.Web/umbraco.presentation/keepAliveService.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/dashboard/FeedProxy.aspx.cs
#	src/umbraco.businesslogic/IO/IOHelper.cs
#	src/umbraco.cms/packages.config
#	src/umbraco.cms/umbraco.cms.csproj
#	src/umbraco.controls/packages.config
#	src/umbraco.controls/umbraco.controls.csproj
#	src/umbraco.editorControls/packages.config
#	src/umbraco.editorControls/umbraco.editorControls.csproj
2018-10-01 14:32:46 +02:00
Warren Buckley 47bafdfc19 Removes ng-swipe-left-directive on the umb-navigation component/directive - aka make Mads happy :) 2018-10-01 13:07:12 +01:00
Mads Rasmussen 6b08af666a add ellipsis to save button when it opens the variant overlay 2018-10-01 13:39:14 +02:00
Warren Buckley 1ae1a462d4 Tempolarily removes the right click context menu item for 'Change DocType' 2018-10-01 12:15:06 +01:00
Mads Rasmussen 22ad787c95 fix border radius on button group 2018-10-01 13:06:13 +02:00
Mads Rasmussen f8bf94c4c9 remove save button from publish combo button + add new save button 2018-10-01 12:54:41 +02:00
Warren Buckley 7304c140a7 Update to make domain dropdown binding on load (if selected lang in top half is not selected) 2018-10-01 10:30:56 +01:00
Shannon b4f4d2cfe8 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-10-01 11:26:40 +02:00
Shannon 5c8fd56317 comment 2018-10-01 11:26:18 +02:00
Warren Buckley 01c3585bd8 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-09-30 21:56:17 +01:00
Sebastiaan Janssen 328b4b1556 Merge pull request #3077 from umbraco/abjerner-patch-1
Removed "debugger" statement from linkpicker overlay controller
2018-09-30 22:19:05 +02:00
Anders Bjerner fabab44342 Removed "debugger" statement from linkpicker overlay 2018-09-30 19:31:40 +02:00
Stephan d56d39ee1a Fix nested content validation when null 2018-09-30 19:09:06 +02:00
Kenn Jacobsen 2c9256c672 Don't let the same doctype be selectable twice in the Nested Content configuration 2018-09-30 18:50:33 +02:00
Stephan 053e0e17a3 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-09-30 18:49:50 +02:00
Matthew-Wise a33ccd15c6 Convertion of assigndomain2.aspx to angular (#2897) 2018-09-30 16:02:09 +02:00
agrath 63a2a155d1 User invite flow review (#3000) 2018-09-30 15:03:52 +02:00
KimHolzmann 8fad718347 #2916 Media picker searches entire media archive (#3061) 2018-09-30 14:08:01 +02:00
Sebastiaan Janssen 3879b81ed3 Merge pull request #3062 from markadrake/temp-3058
If TinyMCE has not loaded yet, return the initialized value.
2018-09-30 13:44:11 +02:00
Mark Drake c5de33dcae Added an active css class for Umbraco Tree items (#3056) 2018-09-30 13:38:19 +02:00
Sebastiaan Janssen f36139619a Merge pull request #3060 from markadrake/temp-3051
Minimal changes to class `nav-tabs` styling
2018-09-30 13:29:01 +02:00
Sebastiaan Janssen 093182c56d Allow svg uploads 2018-09-30 13:12:11 +02:00
imranhaidercogworks 5f1fb144e0 Uploading SVG's Causes Error (Depending on imageFileTypes Setting) (#3072) 2018-09-30 13:09:44 +02:00
Sebastiaan Janssen 6b398a2d16 Merge pull request #3074 from arknu/tags-internal
Make TagSupport and related types public
2018-09-30 11:02:52 +02:00
Sebastiaan Janssen 3c73f6a764 Rename name property so title gets set for the doctype icon picker - relates to PR #2864 2018-09-30 10:59:20 +02:00
Bjarne Fyrstenborg 865cdc09c6 U4-11588 - Adjustments of color picker (#2864) 2018-09-30 10:50:05 +02:00
Asbjørn 7f107a8559 Make TagSupport and related types public #2988 2018-09-29 17:42:45 +02:00
Kenn Jacobsen 0dbbb585ad Fix loading issue for RTE's in Nested Content 2018-09-29 17:06:04 +02:00
Kenn Jacobsen a7573ce31f Avoid data loss when dragging an unsaved Nested Content item (#3014) 2018-09-29 07:35:16 +02:00
Kenn Jacobsen c6e2ced971 Fix Nested Content "second time dragging" issue 2018-09-29 07:30:27 +02:00
Kenn Jacobsen 45f574ed3a Ensure the correct color for items in the Nested Content item picker 2018-09-29 07:27:39 +02:00
Stephan b572407084 Fix nested content when empty or null 2018-09-28 16:59:00 +02:00
Stephan 621ef28680 Fix PublishedElementModel, must be abstract 2018-09-28 16:59:00 +02:00
Stephan 3382a4efdb Fix nested content breaking issue 2018-09-28 16:59:00 +02:00
Stephan b1be86c9d6 fix nuspec, app_browsers is gone 2018-09-28 16:53:48 +02:00
Mads Rasmussen a418322ee5 find languages for unpublishing 2018-09-28 13:52:36 +02:00
Mads Rasmussen 36520b0777 add support for invariant content 2018-09-28 13:01:27 +02:00
Mads Rasmussen 39ffb60a9d show mandatory language as text 2018-09-28 12:30:05 +02:00
Mads Rasmussen 90150fdc46 fine tuning selection 2018-09-28 11:19:29 +02:00
Robert 432fb7257a Merge pull request #3065 from umbraco/temp8-p181
Fixes: #181 Breadcrumbs should be contextual to the variant language
2018-09-28 09:47:44 +02:00
Mark Drake 12a9466cd7 if tinymce has not loaded yet, return the initialized value only 2018-09-27 17:03:24 -04:00
Mark Drake fce0dd98f9 minimal changes to class nav-tabs styling 2018-09-27 13:34:20 -04:00
Mads Rasmussen 7c55baf727 better check for published variants 2018-09-27 15:24:58 +02:00
Mads Rasmussen be7acb904d Unpublish dialog scaffolding 2018-09-27 15:24:38 +02:00
Robert 442e0c93a5 Merge branch 'temp8' into temp8-p181 2018-09-27 15:17:56 +02:00
Mads Rasmussen e41b435d85 small style adjustment 2018-09-27 15:03:06 +02:00
Mads Rasmussen ea3085a08c add ellipsis to unpublish button label if a node has variants 2018-09-27 12:56:16 +02:00
Mads Rasmussen f529a47e0a show unpublish button if a node has a published variant 2018-09-27 12:55:21 +02:00
Sebastiaan Janssen 25aa74b4cd Merge pull request #2937 from umbraco/temp-view-compilation
Changes compilation batch mode to true uses Roslyn compiler for views
2018-09-27 12:01:00 +02:00
Sebastiaan Janssen 976d329292 Merge pull request #3005 from dalyUSN/temp-U4-9967
Preview update: smartphone sizes
2018-09-27 11:55:05 +02:00
Shannon Deminick 2db32ef347 Merge pull request #3052 from umbraco/temp8-IDocumentEntity-updates
IDocumentEntity updates
2018-09-27 19:41:53 +10:00
Shannon 83501ba1eb Gets tree node states showing correctly for variants. 2018-09-27 19:30:31 +10:00
Sebastiaan Janssen b079593efd Merge pull request #2083 from Eyescream/#U4-5139
U4-5139 Error uploading a file when filename contains comma
2018-09-27 11:17:27 +02:00
Warren Buckley e0414414d7 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-09-27 10:14:57 +01:00
Stephan 8ea4c10ce7 Fix GetCurrentRequestIpAddress when there is no request 2018-09-27 10:52:02 +02:00
Stephan e6d5af5c3a Fix DisposableTimer messages 2018-09-27 10:51:29 +02:00
Sebastiaan Janssen 883da4eaf1 Merge pull request #2408 from abjerner/patch-35
"Select editor" items shouldn't have a max height
2018-09-26 23:28:12 +02:00
Marc Goodson c021cc50ce U4-10669 7.8. Show 301 url redirects on info tab too (#2452) 2018-09-26 23:16:54 +02:00
Sebastiaan Janssen 85291b562e Merge pull request #2533 from ronaldbarendse/U4-10586
Added property editor alias to PreValueDisplayResolver warning
2018-09-26 23:03:57 +02:00
Sebastiaan Janssen ca8c6248c1 Merge pull request #2561 from umbraco/temp-U4-10816
fixes U4-10816 Umbraco V7.7.1 - Media - File upload taking full path
2018-09-26 22:53:41 +02:00
Sebastiaan Janssen 6843fa72aa Merge pull request #3016 from readingdancer/patch-1
Updated the URL for the issue tracker.
2018-09-26 22:02:35 +02:00
Sebastiaan Janssen 258baad127 Removed uneccessary properties 2018-09-26 22:01:09 +02:00
Chris Houston 0e6376f4e5 Updated the URL for the issue tracker.
Also updated the version number to reflect the current version.
2018-09-26 21:58:05 +02:00
Dave Woestenborghs b0374695b1 Fixed udi's rendered in rte content (#2531) 2018-09-26 21:51:20 +02:00
Dave Woestenborghs 471bc7f116 U4-11458 - Fix multiple issues for angular logResource (#2719) 2018-09-26 20:48:54 +02:00
Warren Buckley 168f4d33d3 Update failing test - as the numkber of trees has increased (Added the Log Viewer tree controller & type attribute) 2018-09-26 18:24:40 +01:00
Sebastiaan Janssen 9c0aa5e099 Merge pull request #2072 from Adolfi/U4-6961
U4-6961 Prevent from deleting default used datatypes (e.g. Label)
2018-09-26 18:04:13 +02:00
Sebastiaan Janssen 3940176f23 Just a bit of code cleanup 2018-09-26 18:01:50 +02:00
Dennis Adolfi 5832387484 Added the DefaultLabelDataTypeIdas a non-deletable datatype. 2018-09-26 17:55:28 +02:00
Warren Buckley e92563ffd8 Merge remote-tracking branch 'origin/temp8' into temp8-logviewer (Diff from temp8 branch & ChartJS stuff merged in together now)
# Conflicts:
#	src/Umbraco.Web.UI.Client/bower.json
2018-09-26 15:37:05 +01:00
Stephan ad8c309f3d Variant-contextual breadcrumb 2018-09-26 16:27:34 +02:00
Mads Rasmussen 400d4552de remove the action button on editors in the settings/developer tree 2018-09-26 15:12:53 +02:00
Sebastiaan Janssen a1224da5e1 Fixes #3036
Removes WebClient completely except for in an old legacy class that is not used for anything
any more (umbraco.cms.businesslogic.packager.Installer.Fetch).
2018-09-26 13:27:16 +02:00
Robert 230875f3cf Merge pull request #3030 from umbraco/temp8-rollback
Temp8 rollback
2018-09-26 12:38:48 +02:00
Mads Rasmussen 03d13b90bd fix up styling quirks after umb-actions update 2018-09-26 12:20:38 +02:00
Robert 8b9f64b2c8 Merge pull request #3021 from umbraco/temp8-send-to-publish
Temp8 send to publish
2018-09-26 11:01:27 +02:00
Sebastiaan Janssen 540e4f17d6 Fixes #3042
Code comes from v8, commit: 9bfe9e6bbf
2018-09-26 09:48:24 +02:00
Sebastiaan Janssen 2e92172ed4 Merge pull request #2984 from bjarnef/dev-v7-momentjs-locales
Load specific locales for moment.js
2018-09-25 23:28:00 +02:00
Sebastiaan Janssen f0fbc808f2 Merge pull request #3025 from WebCentrum/temp-#3024
#3024: Removed unnecessary queries in MultiNodeTreePickerPropertyConv…
2018-09-25 23:05:09 +02:00
Sebastiaan Janssen c19bc0b296 Merge pull request #3007 from callumbwhyte/updating-macro-templates
Updating macro templates for V8
2018-09-25 22:48:58 +02:00
Sebastiaan Janssen fe64baba96 Merge pull request #3009 from AnthonyCogworks/umbplfest-hackathon-remove-obsolete-phase4
umbPLfest hackathon removed obsolete - phase 4
2018-09-25 22:22:19 +02:00
Sebastiaan Janssen 1e07fb48cc Preventing infinite loop into this method 2018-09-25 22:21:00 +02:00
Sebastiaan Janssen d61240e1fd Merge branch 'umbplfest-hackathon-remove-obsolete-phase4' of https://github.com/AnthonyCogworks/Umbraco-CMS into AnthonyCogworks-umbplfest-hackathon-remove-obsolete-phase4 2018-09-25 22:18:16 +02:00
Sebastiaan Janssen a531907853 Merge pull request #3008 from AnthonyCogworks/umbplfest-hachathon-remove-obsolete-phase3
umbPLfest hackathon - Removed obsolete methods - phase 3
2018-09-25 22:13:37 +02:00
Sebastiaan Janssen 5384e64879 Merge pull request #3006 from AnthonyCogworks/umbplfest-hackathon-remove-obsolete-phase2
umbPLfest hackathon - Removed obsolete methods and properties.
2018-09-25 22:11:07 +02:00
Sebastiaan Janssen a3ba3e9e8e Making MemberIdRuleType private so we won't expose it to people trying to use it somehow 2018-09-25 22:09:45 +02:00
Sebastiaan Janssen 75ab692955 Merge branch 'umbplfest-hackathon-remove-obsolete-phase2' of https://github.com/AnthonyCogworks/Umbraco-CMS into AnthonyCogworks-umbplfest-hackathon-remove-obsolete-phase2 2018-09-25 22:06:04 +02:00
Sebastiaan Janssen 6a25408c48 Merge pull request #3003 from AnthonyCogworks/umbplfest-hackathon-remove-obsolete
umbPLfest hackathon - Remove obsolete methods
2018-09-25 22:04:50 +02:00
Sebastiaan Janssen 84b59b1193 Removed tests for FlattenList 2018-09-25 22:03:12 +02:00
Sebastiaan Janssen 197361721f Merge branch 'umbplfest-hackathon-remove-obsolete' of https://github.com/AnthonyCogworks/Umbraco-CMS into AnthonyCogworks-umbplfest-hackathon-remove-obsolete 2018-09-25 21:49:30 +02:00
Sebastiaan Janssen dd7a4d262e Merge pull request #3019 from ed-parry/v8hackathon-remove-pageid-references
Replaced references of PageID with the UmbracoContext calls. [v8hackathon]
2018-09-25 21:45:06 +02:00
Sebastiaan Janssen 6dfb0f0711 Removes some unused code which relate to the pageID too 2018-09-25 21:37:00 +02:00
Sebastiaan Janssen c3e85796d8 Merge branch 'v8hackathon-remove-pageid-references' of https://github.com/ed-parry/Umbraco-CMS into ed-parry-v8hackathon-remove-pageid-references 2018-09-25 20:59:43 +02:00
Sebastiaan Janssen c44a22d205 Merge pull request #3023 from UEDevs/temp-U4-11302
Fixes content getting deleted when saving an RTE before it's fully loaded
2018-09-25 20:55:48 +02:00
Mads Rasmussen 98991d4cd0 fix tree root height 2018-09-25 18:22:51 +02:00
Stephan 14bd8a0851 Cleanup some DTOs 2018-09-25 18:05:14 +02:00
Sebastiaan Janssen 0f6ce1eeba Merge pull request #2965 from poornimanayar/2964
Removed the anchor tag around notification
2018-09-25 17:44:53 +02:00
Sebastiaan Janssen cbeb0de748 Merge pull request #2947 from readingdancer/Issue-#2910
Fixing issue #2910 -  List view shows dimmed link for saved item
2018-09-25 17:37:25 +02:00
Sebastiaan Janssen e06fef2b6d Merge pull request #2901 from umbraco/abjerner-patch-1
Hide "Created Date" field when the content hasn't yet been created
2018-09-25 17:33:21 +02:00
Sebastiaan Janssen 524f53d03f Merge pull request #2899 from villian/temp-U4-8143
U4-8143 - MNTP (content picker) does not set $dirty
2018-09-25 17:19:12 +02:00
Sebastiaan Janssen d2d77d2732 Merge pull request #2895 from marcemarc/temp-u4-11561
Make the file extension visible when picking a file using the media picker
2018-09-25 17:07:48 +02:00
Sebastiaan Janssen 31bdc9d9a6 Merge pull request #2894 from KimHolzmann/dev-v7
U4-8824 Selection in media grid doesn't match when filter has value
2018-09-25 16:58:32 +02:00
Stephan c791050058 Denormalize variants for perfs 2018-09-25 16:55:00 +02:00
Sebastiaan Janssen 8c8e23f981 Merge pull request #2861 from raduorleanu/temp2-U4-11570
Found additional usages for (var web = new HttpClient()) and replaced…
2018-09-25 16:17:26 +02:00
Sebastiaan Janssen 35ec07f970 Some tiny code style updates 2018-09-25 16:15:37 +02:00
Sebastiaan Janssen 917269a260 Merge branch 'temp2-U4-11570' of https://github.com/raduorleanu/Umbraco-CMS into raduorleanu-temp2-U4-11570 2018-09-25 16:09:58 +02:00
Sebastiaan Janssen 7c437998ec Merge pull request #2842 from leekelleher/U4-11555
[v8] U4-11555 - Remove App_Browsers folder
2018-09-25 16:06:54 +02:00
Sebastiaan Janssen 85dbf5b0da Merge pull request #2777 from nathanwoulfe/temp8-11849
U4-11849 - tree not aligned with editor
2018-09-25 15:59:28 +02:00
Sebastiaan Janssen 00fc1b7c26 Merge branch 'dev-v7' into temp-view-compilation 2018-09-25 15:13:22 +02:00
Sebastiaan Janssen d14b0236a2 Merge branch 'temp8-11849' of https://github.com/nathanwoulfe/Umbraco-CMS into nathanwoulfe-temp8-11849
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/less/components/application/umb-language-picker.less
#	src/Umbraco.Web.UI.Client/src/less/tree.less
#	src/Umbraco.Web.UI.Client/src/views/components/tree/umb-tree.html
2018-09-25 15:03:02 +02:00
Mads Rasmussen 2038603389 fix track by on pagination component 2018-09-25 14:46:54 +02:00
Sebastiaan Janssen 53c218428f Merge pull request #3029 from kedde/dev-v7
fix #3020 - casing errors
2018-09-25 14:41:35 +02:00
Sebastiaan Janssen b9f5ddab06 Merge pull request #2866 from umbraco/temp-U4-11458-2
Fixes SQL generation for paged results for both UserRepository and AuditRepository
2018-09-25 14:27:27 +02:00
Mads Rasmussen 0219f1c465 add white background to media files 2018-09-25 14:20:48 +02:00
Umbraco HQ f9973f602c Fixes the belle build (requires newer node version) 2018-09-25 14:03:21 +02:00
Mads Rasmussen 55324aa736 Merge pull request #3031 from umbraco/temp8-ui-cleanup
Temp8 ui cleanup
2018-09-25 13:11:03 +02:00
Robert 44ef428c2b Merge pull request #3004 from umbraco/temp8-166-search-ui
fixes: Temp8 166 search ui
2018-09-25 13:06:02 +02:00
Mads Rasmussen 598590c929 update correct html file 2018-09-25 13:03:13 +02:00
Mads Rasmussen 2a784719ce add focus to search when you click icon 2018-09-25 12:53:00 +02:00
Mads Rasmussen 54cc6f4968 reset backdrop options on close 2018-09-25 12:41:20 +02:00
Stephan 3d19acb97e Variants in EntityRepository 2018-09-25 12:01:38 +02:00
Mads Rasmussen 904be442ae we don't need these 2018-09-25 11:36:15 +02:00
Mads Rasmussen 5fc7f7bce5 Merge branch 'temp8' into temp8-ui-cleanup 2018-09-25 11:16:49 +02:00
Stephan 5f805b0804 Extend NPoco fluent querying 2018-09-25 10:55:06 +02:00
Mads Rasmussen b2e843089b add strike-through text for deleted parts 2018-09-25 10:34:40 +02:00
Mads Rasmussen cfa4512f8c lazy load diff library in rollback dialog instead of loading it globally 2018-09-25 10:12:41 +02:00
Mads Rasmussen a47ae2e5c3 add diff library + generate diff 2018-09-24 20:10:05 +02:00
kedde 3d0d8d7430 fix mysql casing 2018-09-24 20:00:08 +02:00
Stephan f4e87b9949 Merge branch temp8 into temp8-IDocumentEntity-updates 2018-09-24 19:12:56 +02:00
Stephan 1511fd9b38 Merge branch temp8 into temp8-IDocumentEntity-updates 2018-09-24 19:12:45 +02:00
Pavel Budik 70a851dbf9 #3024: Removed unnecessary queries in MultiNodeTreePickerPropertyConverter 2018-09-24 14:23:00 +02:00
Warren Buckley 964dd0374d Makes SavedSearches Get, Add & Delete methods virtual - as you may only want to implement the GetLogs but NOT the GetSavedSearch method for example 2018-09-24 13:12:30 +01:00
Mads Rasmussen ef1684ca36 wip add rollback scaffolding 2018-09-24 13:44:02 +02:00
Mads Rasmussen a00b510563 load angular dialog 2018-09-24 13:43:20 +02:00
Jim Osborn 3f79067e26 Fixes content getting deleted when saving an RTE before it's fully loaded. 2018-09-24 12:38:04 +01:00
Stephan a1ee099987 Log content app duplicate aliases instead of throwing 2018-09-24 09:34:25 +02:00
Shannon Deminick 24439086d9 Merge pull request #3012 from umbraco/temp8-p212
Implement content apps code config and manifest
2018-09-24 13:51:25 +10:00
Shannon 3189ce75ae throw exception if duplicate content app aliases are found 2018-09-24 13:50:42 +10:00
Ed Parry 4184288afc Removed test aimed at testing the httpcontext works (after removal of storing page ID there) 2018-09-23 14:07:04 +01:00
Ed Parry 22f25ee467 Replaced references of PageID with the UmbracoContext calls. 2018-09-23 13:39:51 +01:00
Mads Rasmussen c36f9f9d31 use ellipsis in template, partial view and partial view macros editor 2018-09-21 15:25:36 +02:00
Mads Rasmussen ce38ea7695 clean up 2018-09-21 15:23:40 +02:00
Mads Rasmussen 15a696b9f7 remove unused language key 2018-09-21 15:23:26 +02:00
Mads Rasmussen 7787dd8644 set ellipsis when we create content buttons 2018-09-21 15:23:04 +02:00
Mads Rasmussen c1d1dad999 add ellipsis functionality to button and button group 2018-09-21 15:19:31 +02:00
Mads Rasmussen 3706f08803 disable submit button if nothing is selected 2018-09-21 13:11:03 +02:00
Mads Rasmussen 5f0379093e fine tune filters 2018-09-21 13:10:36 +02:00
Mads Rasmussen af7261c6f6 hide the unmodified list if is empty 2018-09-21 13:10:12 +02:00
Mads Rasmussen c017a73471 add unmodified languages list + show currently edited language preselected at the top of the list 2018-09-21 11:59:40 +02:00
Mads Rasmussen dfb3cde1c9 add basic scaffolding for send to publish dialog + show modified variants 2018-09-21 11:09:41 +02:00
Stephan 681ef67653 Support ordering content apps 2018-09-21 09:42:36 +02:00
Stephan b1b1d60712 Pre-parse show rules in ManifestContentAppDefinition (perfs) 2018-09-21 09:01:37 +02:00
Stephan c24f8810d8 Fix tests 2018-09-21 08:56:49 +02:00
Stephan d6775aa79a Implement content apps code config and manifest 2018-09-21 08:09:53 +02:00
Stephan 7f45727936 Compile SqlSyntax alias regex - why not? 2018-09-21 08:06:42 +02:00
Shannon a39e77d1cf Gets culture publishing info in IDocumentEntitySlim and has the tree showing the correct publish state, but missing 'edited' flag since i think that requires yet-another-query 2018-09-21 15:49:37 +10:00
Shannon 19e4352243 Revert "making an attempt at a single SQL statement to get publish info for variants ... but failing, will revert"
This reverts commit c65480cf77.
2018-09-21 15:28:36 +10:00
Shannon c65480cf77 making an attempt at a single SQL statement to get publish info for variants ... but failing, will revert 2018-09-21 12:28:29 +10:00
Stephan 16eab3eb49 Cleanup DisposableTimer log messages 2018-09-20 17:26:10 +02:00
Shannon 448850b2d0 I may have figured out how to get publish information into the IDocumentEntitySlim 2018-09-21 01:21:52 +10:00
Shannon 539c882adb Merge branch 'temp8' into temp8-IDocumentEntity-updates 2018-09-21 01:06:21 +10:00
Shannon bd613ec971 more components, more 1 way binding, more perf in angular 2018-09-21 01:04:08 +10:00
Anthony c6f3b2fe7c umbPLfest hackathon removed obsolete - phase 4 2018-09-20 16:02:49 +01:00
Shannon Deminick 1cf5c6c89d Merge pull request #2995 from umbraco/temp8-p188
Implement listviews variants sorting (p188)
2018-09-21 00:30:41 +10:00
Shannon 665055f130 1 way bindings where needed 2018-09-21 00:21:03 +10:00
Anthony 85d26ab47d umbPLfest hackathon - Removed obsolete methods - phase 3 2018-09-20 15:18:12 +01:00
Shannon 819e1235f7 Reduces digest cycle of list views, converts umb-layout-selector to a component 2018-09-21 00:04:26 +10:00
Callum Whyte 35227a8d58 Cleanup of partial view macro templates for consistency 2018-09-20 14:00:01 +01:00
Anthony 8cd0bc5f50 umbPLfest hackathon - Removed obsolete methods and properties. 2018-09-20 13:56:02 +01:00
Mads Rasmussen 2ef524b6e3 remove old search controller 2018-09-20 14:17:14 +02:00
Paul Daly 1050e9d0a1 Preview update: smartphone sizes
The current most used screen size on a smarthphone is 360x640 according to Globalstats Statcounter. With this in mind I have adjusted the sizes of the preview frames for both portrait and landscape. Minor change but something that has been on my mind for a while.
2018-09-20 13:15:22 +01:00
Anthony 1ab324ebb9 umbPLfest hackathon - Remove obsolete methods 2018-09-20 13:14:16 +01:00
Mads Rasmussen 029707a34b add button to quickly clear the search query 2018-09-20 14:02:50 +02:00
Mads Rasmussen ca341d2732 remove unused code 2018-09-20 13:03:17 +02:00
Warren Buckley 23245a578a Merge remote-tracking branch 'origin/temp8' into temp8-logviewer 2018-09-20 11:03:38 +01:00
Callum Whyte 4976ffc106 Updating legacy macro examples with latest V8 equivalents 2018-09-20 10:45:45 +01:00
Mads Rasmussen a8ceaf53f7 add code comments 2018-09-20 11:40:07 +02:00
Mads Rasmussen d9731728de remove console log 2018-09-20 11:28:14 +02:00
Stephan 4b31a98812 Fix test broken by e771e78 2018-09-20 11:27:44 +02:00
Mads Rasmussen 74c4e68efc close search when item is clicked 2018-09-20 11:27:39 +02:00
Sebastiaan Janssen 8bf8e0a741 Updates CDF 2018-09-20 08:48:46 +02:00
Stephan 8649062500 Merge pull request #2987 from umbraco/temp8-decouple-serilog-from-httpreqid
Decouple Serilog from HTTP Request ID in UmbracoModule Begin & End logs
2018-09-20 08:36:06 +02:00
Shannon feeb1c56cf wip for IDocumentEntitySlim changes 2018-09-20 14:58:15 +10:00
Warren Buckley 2ed048e4e1 Improves logic for single word search to use Message Like expression - Thanks Dan Booth
Co-authored-by: Dan Booth <dan@diplo.co.uk>
Co-authored-by: Warren Buckley <warren@umbraco.com>
2018-09-19 21:22:10 +01:00
Stephan e6e3716dda Detect SqlServer 2012+ 2018-09-19 18:51:27 +02:00
Stephan 97b726ba20 Fix listviews sorting 2018-09-19 17:50:43 +02:00
Mads Rasmussen 6a630e413f use correct subtitle 2018-09-19 16:04:09 +02:00
Warren Buckley b54998f0af Adds 'lq' aka Log Query Search querystring to be ignored for reloading the view & controller for the log viewer search 2018-09-19 15:03:34 +01:00
Mads Rasmussen b2fa7ea475 close on outside click and escape 2018-09-19 16:01:12 +02:00
Mads Rasmussen ff6509be34 use our own auto focus - it works better 2018-09-19 15:17:41 +02:00
Mads Rasmussen 402f724396 make sure the close the overlay when the component gets destroyed. 2018-09-19 15:17:22 +02:00
Mads Rasmussen bf3234c8b2 register search in appState + launch when click search icon 2018-09-19 15:13:55 +02:00
Mads Rasmussen 5b4c273133 Add search icon + focus indention 2018-09-19 14:50:29 +02:00
Mads Rasmussen ca5e9940d5 add styling for search results + basic wire up of search service 2018-09-19 14:24:21 +02:00
Mads Rasmussen 34ca7a420a add basic UI scaffolding for search 2018-09-19 11:31:41 +02:00
Shannon 479f38b141 attempting to fix sorting due to aliased column names 2018-09-19 16:24:31 +10:00
Shannon 82b2778a59 Merge branch 'temp8' into temp8-p188 2018-09-19 16:16:03 +10:00
Warren Buckley 9f5fe7ddfe Adds some logic if we get 0 results back and the search expression contains no spaces (we retry with a message like filter)
Moves some of the logic into methods - as we end up reusing it
2018-09-18 21:50:31 +01:00
Stephan a0821cbc95 Refactor ordering in services to support listviews variants sorting 2018-09-18 11:53:33 +02:00
Sebastiaan Janssen fd0e2f5a9c Merge pull request #2992 from dampee/patch-3
old issue tracker reference
2018-09-17 21:30:10 +02:00
Damiaan 6ee235b640 old issue tracker reference
Since the github issue tracker is used, we should at least mention that.
2018-09-17 20:42:22 +02:00
Sebastiaan Janssen 2921413476 Merge pull request #2941 from AliSheikhTaheri/temp-2939
temp-2939 - Removed hardcoded number of rows from textarea with the d…
2018-09-17 20:18:17 +02:00
Stephan 95361da1f8 Cleanup/fix content variants mapping 2018-09-17 13:19:29 +02:00
Stephan fb246de5fc Cleanup/fix listviews configuration (prevalues) 2018-09-17 13:07:31 +02:00
Stephan a979e8023e Improve NPoco extensions 2018-09-17 13:06:20 +02:00
Stephan e412fd8802 Ensure data types get a proper default configuration when created 2018-09-17 12:54:22 +02:00
Stephan 4ac188f564 Forgot to create languages lock object on install 2018-09-17 12:36:45 +02:00
Shannon Deminick 1f27f6731b Merge pull request #2969 from umbraco/temp8-p103
Remove mandatory constraint on default language
2018-09-17 14:35:44 +10:00
Warren Buckley 1931011152 Adds in confirmation delete dialog for saved searches 2018-09-14 15:25:55 +01:00
Warren Buckley 2f9459f296 Adds in functionality to remove items from the saved searches - Thanks Dan Booth
Co-authored-by: Dan Booth <dan@diplo.co.uk>
Co-authored-by: Warren Buckley <warren@umbraco.com>
2018-09-14 15:17:12 +01:00
Warren Buckley 8bad44782b Move logic from the HttpRequestIdEnricher into our own class so its not coupled to Serilog when attempting to get ReqId in UmbracoModule start & end log requests 2018-09-14 14:44:00 +01:00
Warren Buckley 78b8e78761 Merge branch 'temp8' into temp8-logviewer 2018-09-14 13:49:27 +01:00
Mads Rasmussen daa8b90372 Merge pull request #2982 from umbraco/temp8-get-preview-working
v8 - Gets previewing working with variants
2018-09-14 13:41:18 +02:00
Mads Rasmussen 82fbdff993 Merge branch 'temp8' into temp8-ui-cleanup 2018-09-14 12:35:58 +02:00
Mads Rasmussen e90ac06d82 Merge pull request #2968 from umbraco/temp8-203
fixes 205: Only show preview/publish/save etc buttons on the "Content" content app.
2018-09-14 12:28:13 +02:00
Mads Rasmussen c9601365d6 update list view empty state 2018-09-14 11:56:28 +02:00
Warren Buckley ab250b0549 Merge branch 'temp8-203' of https://github.com/umbraco/Umbraco-CMS into temp8-203 2018-09-14 10:54:40 +01:00
Warren Buckley 41fd9afab5 Update API Scaffold call to remove the List View app, now the alias has changed 2018-09-14 10:53:59 +01:00
Warren Buckley cd151ac19a Update MediaApp resolver with new aliases 2018-09-14 10:53:12 +01:00
Mads Rasmussen 2ef33090a9 update alias for node with list view scaffolds 2018-09-14 11:52:22 +02:00
Poornima Nayar 7f4280c67f added checks for whitespace 2018-09-14 10:06:32 +01:00
Mads Rasmussen f27bded4e8 fix audit trail 2018-09-14 10:59:25 +02:00
Mads Rasmussen fe60cdda5c fix app aliases client side 2018-09-14 10:46:22 +02:00
Warren Buckley cdf9260f02 Update the hard coded content app aliases until this gets moved into a package.manifest or similar?! 2018-09-14 09:20:05 +01:00
Mads Rasmussen d3ba17484d Merge branch 'temp8' into temp8-ui-cleanup 2018-09-14 08:00:25 +02:00
Shannon 187028146e Merge branch 'temp8' into temp8-203 2018-09-14 12:29:50 +10:00
Shannon Deminick ae9805f082 Merge pull request #2970 from umbraco/temp8-206-listview-variant-states
V8 Listview child items display variant states
2018-09-14 11:53:51 +10:00
Shannon b62477ec3b null check 2018-09-14 11:52:59 +10:00
Shannon 458b9dac4d Ensure list view is updated when cultures are changed 2018-09-14 11:47:29 +10:00
Shannon ec71814ec2 Fixes up nullable State, fixes up tracking global query strings in case they are removed by other routes 2018-09-14 11:31:43 +10:00
Shannon 8c90b7fa28 Cleans up code, fixes tests, adds comments 2018-09-14 10:08:09 +10:00
Shannon 5009dfa0d7 Merge remote-tracking branch 'origin/temp8' into temp8-206-listview-variant-states 2018-09-14 09:15:51 +10:00
Shannon 62c0719712 Merge remote-tracking branch 'origin/temp8' into temp8-get-preview-working 2018-09-14 09:14:59 +10:00
Bjarne Fyrstenborg e9f8fb8d1f Remove console.log 2018-09-14 01:10:17 +02:00
Bjarne Fyrstenborg 28ae25c166 Move logic to load moment.js locales to public function in userservice 2018-09-14 00:57:19 +02:00
Ali.Taheri 1acc61ede8 temp-2939 - corrected the data type from boolean to int for rich text editor. 2018-09-13 16:24:50 +01:00
Shannon 59a5f50b5f now you can preview specific variants 2018-09-14 00:44:36 +10:00
Mads Rasmussen e93f822528 Merge branch 'temp8' into temp8-ui-cleanup 2018-09-13 16:43:24 +02:00
Shannon e771e781dd finally it actually previews 2018-09-14 00:14:03 +10:00
Mads Rasmussen 90a425da5f add background-color to media folders 2018-09-13 15:06:58 +02:00
Stephan 25c87d76b8 Fix merge 2018-09-13 14:59:45 +02:00
Mads Rasmussen 75c73a181a better alignment of alias 2018-09-13 14:50:23 +02:00
Mads Rasmussen f0c487d9c4 fix alignment of group sort order 2018-09-13 14:41:10 +02:00
Shannon Deminick 53057d6e20 Merge pull request #2962 from umbraco/temp8-204-ListView-Variant-PublishedStates
204 V8 - ListView Variants - Get Published State & UpdateDate for Variant
2018-09-13 22:28:01 +10:00
Warren Buckley 4782f03334 ping pong with shan's reviews - checks for doctype/contenttype is variant or not 2018-09-13 13:25:54 +01:00
Mads Rasmussen 598eb75e8c add active state to tree language dropdown 2018-09-13 14:23:42 +02:00
Stephan 685e3028a6 Merge pull request #2935 from umbraco/temp8-MOAR-LOGGING
MOAR Logging for V8
2018-09-13 14:11:57 +02:00
Stephan 33af498f88 Merge branch origin/temp8-p103 into temp8-11502 2018-09-13 14:11:17 +02:00
Warren Buckley 082d6e6792 Rather than throw null ex's if culture not set - return the underlying source property (As used for both variant & invariant mapping in list views) 2018-09-13 13:05:36 +01:00
Warren Buckley c41bdccd5a Merge branch 'temp8' into temp8-204-ListView-Variant-PublishedStates
# Conflicts:
#	src/Umbraco.Web/Models/Mapping/ContentMapperProfile.cs
2018-09-13 12:13:17 +01:00
Warren Buckley 772c0b7b6a Merge branch 'temp8' into temp8-204-ListView-Variant-PublishedStates
# Conflicts:
#	src/Umbraco.Web/Models/Mapping/ContentMapperProfile.cs
2018-09-13 12:10:50 +01:00
Warren Buckley 4b715d2081 Null checks for culture added and moved date to var to avoid getting item twice 2018-09-13 12:07:33 +01:00
Warren Buckley 33fae0cd40 Fixup the back button to remove the lq querystring 2018-09-13 11:53:40 +01:00
Warren Buckley 2a0d73220a Merge branch 'temp8' into temp8-logviewer 2018-09-13 11:45:53 +01:00
Warren Buckley 9f484d0fe2 Update the overview page to link through to the search page and read the lq (log query) querystring 2018-09-13 11:30:50 +01:00
Sebastiaan Janssen 31ed4e0574 Merge pull request #2973 from prjseal/patch-1
update the release notes url
2018-09-13 12:01:01 +02:00
Poornima Nayar a0ae39a147 Reworked the notifications banner to use ng-switch to show the anchor tag when there is a notification url. 2018-09-13 10:27:48 +01:00
Shannon Deminick bf7273e42e Merge pull request #2960 from umbraco/temp8-listview-variant-defaultname
V8 Listview Variant Default Nodename fallback
2018-09-13 15:14:23 +10:00
Warren Buckley 5bbe17af54 Start work on getting an overview page that will be entry point with shiny graphs and numbers before jumping over to search page 2018-09-12 22:46:58 +01:00
Warren Buckley 603a1c7814 Log property is now Duration as opposed to TimingDuration (A few diff logtypes that store ms all use same prop name of Duration) 2018-09-12 21:49:59 +01:00
Warren Buckley 6bee3a421f Make search page full width & remove some variables & func's in controller that is no longer needed (as will move to an overview/welcome type dashboard) 2018-09-12 21:46:22 +01:00
Warren Buckley 385bc9c770 Rename overview to search (so I can start maming this view focus only on searching) 2018-09-12 21:22:40 +01:00
Warren Buckley bad002b58a Same feature in Dan Booth's Log Viewer for Find Log message in Search places (Thx Dan Booth) 2018-09-12 16:57:03 +01:00
Warren Buckley a3a95c0f9d Makes the special links to find related values not buttons but simplier links with search icon (Thx Dan Booth) 2018-09-12 16:53:17 +01:00
Warren Buckley 142a319776 Adds full RAW timestamp to properties table (Thx Dan Booth) 2018-09-12 16:52:32 +01:00
Warren Buckley 756e0bbbe1 Update Machine name column in main table to take some less space (Thx Dan Booth) 2018-09-12 16:52:04 +01:00
Warren Buckley 1839c5b3a8 Wraps search input field with ng-form and updates button to submit so that we can then allow users to hit enter key to perform a search 2018-09-12 16:49:31 +01:00
Warren Buckley 3886d47c57 Forgot to add the WebAPI method for PostSavedSearch 2018-09-12 16:47:36 +01:00
Warren Buckley 962bdcf1b4 Remove dupe code 2018-09-12 16:38:35 +01:00
Warren Buckley 630a8af217 Adds in some example SQL like style queries 2018-09-12 16:30:10 +01:00
Warren Buckley 57a7cf3903 We can now save a query to the JSON file on disk now - for our cheap persistence layer 2018-09-12 16:14:42 +01:00
Warren Buckley 46ff45c2f0 Makes State a ContentSavedState enum nullable - otherwise media items was getting a default enum of not created 2018-09-12 15:34:48 +01:00
Warren Buckley 4501368cc3 Adds in UI for new overlay to add a logviewer saved search - will need to add API method in C# and AngularJS Resource etc 2018-09-12 14:38:43 +01:00
Mads Rasmussen b06ba12e42 fix js error on invariant nodes 2018-09-12 15:15:11 +02:00
Mads Rasmussen 0c135ea3e2 Add state to list view 2018-09-12 14:52:29 +02:00
Paul Seal 9e3cf00cc0 update the release notes url 2018-09-12 13:32:10 +01:00
Warren Buckley 551e8120c9 Adds state property to ContentItemBase (Not sure if this will blow things up or if I need to use a diff model for ListView children now)
Adds/copies the same logic from ContentSavedStateResolver.cs
2018-09-12 12:08:51 +01:00
Warren Buckley 0933443cb3 Adds in new API endpoint that get the saved search - our default implmentation gets them from a JSON file off disk
* If the API call fails then we load in some defaults
* The GetSavedSearches is Abstract so along with the GetLogs the GetSavedSearches could be custom implemented if it needed to come from a DB or some other location for dev's needs
2018-09-12 11:35:51 +01:00
Warren Buckley c3cfee7b2c Need to use the EscapleLikeExpression method instead for the fallback check 2018-09-12 11:33:19 +01:00
Stephan a5aa38c7ca Merge branch temp8 into temp8-11502 2018-09-12 12:01:49 +02:00
Stephan 24b08c7a9b Merge branch temp8 into temp8-di2690 2018-09-12 12:01:18 +02:00
Stephan 380e2aff2e Merge branch temp8 into temp8-p103 2018-09-12 11:59:21 +02:00
Stephan 4cbd0d9178 Remove mandatory constraint on default language 2018-09-12 11:47:04 +02:00
Poornima Nayar fbbc89b477 Removed the anchor tag around notification 2018-09-11 16:29:21 +01:00
Warren Buckley d38e4a0442 Adds in fallback logic to do a search on @Message which is the rendered message template along with a SQL like. Thanks Diplo aka Dan Booth
@Message like '%find me%'
2018-09-11 15:06:35 +01:00
Mads Rasmussen 9f65102916 use border color on node name input hover 2018-09-11 15:36:24 +02:00
Mads Rasmussen 62043f7cf9 only allow changing the node name if the active content app is "Content". 2018-09-11 15:33:26 +02:00
Mads Rasmussen e8322edc84 maybe test is not needed 2018-09-11 14:47:56 +02:00
Mads Rasmussen e27a982bf6 Add empty state if a node has no properties 2018-09-11 14:43:07 +02:00
Mads Rasmussen ad1f11f1da only show save/publish/preview on "Content" content app 2018-09-11 14:17:55 +02:00
Warren Buckley d39bb96056 Update ContentMapper to display variant information for bool Published and UpdateDate for Variant ListView 2018-09-11 12:33:32 +01:00
Warren Buckley af3e5f2db0 Merge pull request #2954 from umbraco/temp8-200
fixes 200: Stay on the same content app when changing language
2018-09-11 10:03:53 +01:00
Warren Buckley 851c11153f Merge remote-tracking branch 'origin/temp8-MOAR-LOGGING' into temp8-logviewer 2018-09-11 09:18:11 +01:00
Warren Buckley ed94ea485d Gets the same HttpRequestId from the Enricher to use in the message template for text log files for begin & end request verbose logs 2018-09-11 09:04:29 +01:00
Warren Buckley 4b47943e05 Remove quotes within logging message templates - as when doing querying with logs makes these logs impossible to find 2018-09-11 08:44:58 +01:00
Shannon 647eac2d9b Merge remote-tracking branch 'origin/temp8' into temp8-get-preview-working 2018-09-11 13:57:17 +10:00
Shannon 003e83f883 wip on preview 2018-09-11 08:54:04 +10:00
Mads Rasmussen cc7ae2b930 split up editor-header into editor-header and editor-content-header 2018-09-10 20:23:15 +02:00
Warren Buckley e86b7a5982 Updates name of variant model mappign in list views - to use same logic as the content tree if a variant has not been set - we fallabck to the base/master lanaguage of the node name 2018-09-10 16:20:23 +01:00
Warren Buckley 6d7fcb7d64 Adds buttons to find logs with a request number OR with a namespace/sourcecontext 2018-09-10 15:23:41 +01:00
Stephan 4ef2d27da2 Fix various build issues 2018-09-10 16:23:27 +02:00
Warren Buckley 0844cb15e0 Adds a clear/reset cross button in search box
Adds @MessageTemplate when listing out properties
Makes the dropdown level filter to be same as badges in main log list
2018-09-10 14:44:07 +01:00
Mads Rasmussen 8e713e2350 clean up dependecies 2018-09-10 15:41:54 +02:00
Mads Rasmussen 3001c656d1 remove unused code 2018-09-10 15:39:04 +02:00
Mads Rasmussen 3358c70312 Fixes: Stay on the same content app when changing language 2018-09-10 15:32:12 +02:00
Mads Rasmussen b1aef27388 use cculture in list view 2018-09-10 14:11:32 +02:00
Warren Buckley 53bdef68f4 * Click on a message template in right column - searches for it
* Show more button - to list out more/all message templates
* Get the variant style dropdown to work & display example queries
2018-09-10 11:23:48 +01:00
Warren Buckley c7bff0f9ff Update csproj after recent merge from MOAR logging branch 2018-09-10 11:22:32 +01:00
Warren Buckley 64384dc8b3 Merge remote-tracking branch 'origin/temp8-MOAR-LOGGING' into temp8-logviewer 2018-09-10 10:31:16 +01:00
Warren Buckley ce83e25390 Adds in a little better CSS styling for the error ex message block than a massive RED background
Starts work on getting the dropdown for some example queries setup
2018-09-10 10:30:23 +01:00
Warren Buckley 8cd28a62ea Rename CommonLogMessage to LogTemplate 2018-09-10 09:40:21 +01:00
Shannon Deminick fe6b2bb43f Merge pull request #2944 from umbraco/temp8-18-ListViewVariants
List View - Updates Node Name based on selected Variant
2018-09-10 18:31:18 +10:00
Warren Buckley 94a6639bc7 Remove unecessary string null check - the culture ext in mapping code will deal with this 2018-09-10 09:29:50 +01:00
Warren Buckley 2fcabdee0a Use ResolutionContext as opposed to an inline AfterMap function with a CustomResolver class 2018-09-10 09:09:24 +01:00
Shannon 59f9354ff4 Merge remote-tracking branch 'origin/temp8' into temp8-get-preview-working 2018-09-10 15:04:37 +10:00
Shannon Deminick b217c6f2c7 Merge pull request #2942 from umbraco/temp8-134
fixes: Prevent the same language from being open in split view
2018-09-10 12:40:58 +10:00
Shannon 09aecddf6f Merge remote-tracking branch 'origin/temp8' into temp8 2018-09-10 11:34:50 +10:00
Shannon e6ef924b1b init commit to getting preview working 2018-09-10 11:34:31 +10:00
Shannon 47347ed966 updates wording 2018-09-10 11:32:49 +10:00
Shannon 2f74720c38 updates wording 2018-09-10 11:12:46 +10:00
Lars-Erik Aabech 4ffcdf6943 Replaced base controller factory with one using the container o:) 2018-09-09 22:58:19 +02:00
Lars-Erik Aabech 57d22a87c0 REVIEW/FIX: Just removing placeholder IApplicationTreeService and ISectionService registrations until we figure defaulting. 2018-09-09 22:58:06 +02:00
Lars-Erik Aabech 1418d3124d Registering IdentityMapperProfile as a Profile as well 2018-09-09 22:57:37 +02:00
Lars-Erik Aabech b4b09bc116 Changes to allow using container from third party tests 2018-09-09 22:57:04 +02:00
Lars-Erik Aabech 1198191e05 Wrapping server messenger factory to avoid re-registering for now. 2018-09-09 22:55:37 +02:00
Lars-Erik Aabech 236a755f78 Registration changes for LI when registereing transients.
Can now boot backoffice and can log in when using LightInject.
Before this, the automapper profiles weren't there on the container even if registered.
These changes seem to have solved it.
No real proof or testing back and forth, but it makes LI work...

# Conflicts:
#	src/Umbraco.Web/Runtime/WebRuntimeComponent.cs
2018-09-09 22:55:00 +02:00
Lars-Erik Aabech 04944f2c0c Virtualizing registration of the cache helper
# Conflicts:
#	src/Umbraco.Core/Runtime/CoreRuntime.cs
#	src/Umbraco.Web/Runtime/WebRuntime.cs
2018-09-09 22:52:35 +02:00
Lars-Erik Aabech 51c4962477 Registering lightinject with itself again due to mapper collection builder.
It now fails becuse it doesn't support last registered as default ootb when instantiating cachehelper.
Castle fails on missing mapper collection builder when examine starts indexing.
2018-09-09 22:48:59 +02:00
Lars-Erik Aabech 6bb507037b Initializer interface for components. Supports both reflected and injected versions for now. 2018-09-09 22:48:08 +02:00
Lars-Erik Aabech 97318ace1d MediaFileSystem created with reflection due to chicken and egg situation with registration 2018-09-09 22:47:51 +02:00
Lars-Erik Aabech ee654d0896 Profiles should implement a base class. Castle hiccups. :) 2018-09-09 22:47:33 +02:00
Lars-Erik Aabech 9da750c5c9 Support registering named singleton 2018-09-09 22:46:14 +02:00
Lars-Erik Aabech bc80affcf1 Dictionary params & error handling 2018-09-09 22:45:09 +02:00
Sebastiaan Janssen 91ebc649d4 Re-apply missing changes from #2446 2018-09-09 16:35:48 +02:00
Chris Houston b2133aace1 Fixing issue #2910 2018-09-08 23:28:44 -04:00
Warren Buckley c403df1990 Update to Common Log Messages - it now returns all unique message templates and their counts
In the UI we display the total count of unique but use LimitTo AngularJS filter to continue to display 10 items
Returning all items so that we have a way to show the next 10 items or similar
2018-09-07 21:43:44 +01:00
Warren Buckley d61e71aae6 Updates ContentResouce and the ListView Controller to pass along the CultureName 2018-09-07 15:09:51 +01:00
Warren Buckley f368b493de Updates Content Controller - that uses the Mapping AfterMap to allow us to update the Name of the node based on the culturename passed into the WebAPI 2018-09-07 15:02:44 +01:00
Sebastiaan Janssen 32591eec36 Merge branch 'shoecake-U4-5572' into dev-v7 2018-09-07 15:20:36 +02:00
Sebastiaan Janssen e05a55c532 Fixes incorrectly named method and removes extraneous spaces 2018-09-07 15:20:29 +02:00
Sebastiaan Janssen f3d96ad45e Merge branch 'U4-5572' of https://github.com/shoecake/Umbraco-CMS into shoecake-U4-5572 2018-09-07 15:15:52 +02:00
Poornima Nayar 010a2e012e Clean up multiple textstring(repeatable textstring) view - (#2934)
* Clean up multiple textstring(repeatable textstring) view - Introduced some styling rules to make the view look cleaner

* Removes unnecessary additional included files from csproj
2018-09-07 14:54:20 +02:00
Mads Rasmussen 9d6c287028 Merge branch 'temp8' into temp8-ui-cleanup 2018-09-07 14:20:31 +02:00
Mads Rasmussen 006bec25c9 fixes: Prevent the same language from being open in split view 2018-09-07 13:28:10 +02:00
Ali.Taheri da88cc2d04 temp-2939 - Removed hardcoded number of rows from textarea with the default value of 10. 2018-09-07 11:04:35 +01:00
Stephan 69e8b11a79 Fix tests 2018-09-07 11:43:57 +02:00
Stephan 7e68f4724f Fix merge 2018-09-07 09:32:42 +02:00
Shannon 03f204c22f deletes old webform files not referenced in the project 2018-09-07 17:01:52 +10:00
Shannon 5e8245c5b4 package-lock update 2018-09-07 16:12:43 +10:00
Shannon 8ff671a7c6 Changes compilation batch mode to true uses Roslyn compiler for views 2018-09-07 13:10:55 +10:00
Warren Buckley 4184b277aa Reduce the number of different properties, for the timing based logs for the duration in milliseconds to be consistently called 'Duration' 2018-09-06 20:38:03 +01:00
Warren Buckley a825dd1b92 Configures the default logging pipeline to use the new enrichers 2018-09-06 20:35:02 +01:00
Warren Buckley d27b4cce09 Adds a few most useful enrichers from the Serilog.Classic.Web project (we dont want all thex extra bloat such as handlers etc) 2018-09-06 20:20:24 +01:00
Warren Buckley cd20348be5 Move Log4NetLevelMapper enricher into seperate folder - as we plan to add more 2018-09-06 20:19:32 +01:00
Warren Buckley 64e148f994 Update UmbracoModule to only log the end of the request & its time - not sure how useful a log for start & end request IMO (Stephan may think otherwise) 2018-09-06 20:18:33 +01:00
Mads Rasmussen 31f84ff130 Merge branch 'temp8' into temp8-ui-cleanup 2018-09-06 16:32:47 +02:00
Stephan 725fe61f91 Merge branch temp8 into temp8-di2690 2018-09-06 16:22:13 +02:00
Stephan 68d083249b Fix merge 2018-09-06 16:09:31 +02:00
Stephan 7a1744a38b Merge branch temp8 into temp8-11502 2018-09-06 16:07:32 +02:00
Stephan 04c654c290 Fix merges 2018-09-06 15:59:10 +02:00
Mads Rasmussen 33df7647d2 Merge pull request #2900 from umbraco/temp8-validation-quirks
v8 validation quirks
2018-09-06 15:00:05 +02:00
Mads Rasmussen 0d0179ecee allow uncheck of active variants in save/publish dialogs - often in split views you don't want to publish both languages 2018-09-06 14:45:54 +02:00
Mads Rasmussen dfeedf9819 removed auto complete from header name field 2018-09-06 14:44:50 +02:00
Shannon ad85f1b3dd resets dirty state for successfully saved variants when validation fails for other ones, updates the dialogs to show the notifications when filtered. 2018-09-06 22:22:08 +10:00
Stephan d9d51584ea Fix merge 2018-09-06 14:10:26 +02:00
Stephan bbd8315176 Merge remote-tracking branch 'origin/temp8' into temp8-nuget-pkgs 2018-09-06 13:57:34 +02:00
Stephan 612c38654d Merge branch origin/dev-v7 into temp8 2018-09-06 13:07:09 +02:00
Shannon 729177ffef Fixes issue with not showing validation errors in the dialogs when creating content and saving/publishing when the names haven't been filled out, adds unit tests to support. 2018-09-06 20:33:32 +10:00
Sebastiaan Janssen 5986899b5e Fixes #U4-10383 Feature request - Ignore casing when getting member email and username from IPublishedContent 2018-09-06 11:07:04 +02:00
Shannon 20c0185ddf Adds unit tests for content controller 2018-09-06 17:37:47 +10:00
Shannon bf666fc6d3 fixes saving invariant content 2018-09-06 15:21:02 +10:00
Mads Rasmussen 00491a9963 Fallback to main language 2018-09-05 15:24:34 +02:00
Mads Rasmussen 91d12635cd always create new nodes based on the language set in the tree 2018-09-05 15:24:03 +02:00
Mads Rasmussen 35b798f16f fix styling for variant state in publish and save dialog 2018-09-05 11:15:50 +02:00
Stephan e8e2a21e9f Handle binding redirects 2018-09-04 19:44:24 +02:00
Warren Buckley 2ae9405fcf Merge pull request #2906 from umbraco/temp8-190
fixes: 190 - Re-enable tours
2018-09-04 13:42:29 +01:00
Warren e0c0bc7da4 Update getting started tour template tour - to use Model.Name as opposed to older Model.Content.Name 2018-09-04 13:29:42 +01:00
Anders Bjerner c8664a886a ID property is now hidden as well when creating new content 2018-09-04 14:27:58 +02:00
Warren b4164521f7 Update UI for logviewer - toggle sort order by clicking table header name for timestamp 2018-09-04 13:16:01 +01:00
Stephan 7611f89642 Update nuspec and dependencies 2018-09-04 13:42:04 +02:00
Mads Rasmussen e221a1af36 fix the rest of the create media tour 2018-09-04 13:35:31 +02:00
Mads Rasmussen 0286984c5b prefix directive 2018-09-04 13:19:34 +02:00
Warren 306c12de69 Merge branch 'temp8-190' of https://github.com/umbraco/Umbraco-CMS into temp8-190 2018-09-04 11:35:26 +01:00
Warren 0ea2682661 Adds in new util directive isolate-form used for nested forms that you do not want dirty to propogate upwards to parent forms 2018-09-04 11:34:10 +01:00
Mads Rasmussen 54255b41a0 make special zIndex's for the tour 2018-09-04 11:17:27 +02:00
Stephan b1a59569a3 Cleanup readmes 2018-09-04 11:12:47 +02:00
Mads Rasmussen 5b3b160f3b Make header styling consistent 2018-09-04 10:27:53 +02:00
Stephan ee5a3fc99a Cleanup UmbracoCms.nuspec 2018-09-04 10:18:33 +02:00
Mads Rasmussen b8f141982b fix create doc type tour 2018-09-04 09:42:34 +02:00
Mads Rasmussen 3bc7f0a124 wait for animations to be done 2018-09-04 09:41:26 +02:00
Sebastiaan Janssen 5dd04d9a3e Merge pull request #2902 from umbraco/abjerner-patch-2
The name field is not automatically in focus when creating a new data type folder
2018-09-04 09:38:15 +02:00
Stephan a1a06609b9 Version 8.0.0-alpha.50 with 3 NuGet packages 2018-09-04 09:36:58 +02:00
Stephan f603cb3b05 Recent Node upgrade touches package[-lock].json 2018-09-04 09:36:26 +02:00
Stephan ffc7d5ba04 Fix build script 2018-09-04 09:35:39 +02:00
Shannon 3f4e6dfce8 Gets success notifications showing in the save/publish dialogs 2018-09-04 16:16:11 +10:00
Warren ab3c5d4d52 Adds in same UI from user overview filters - to add dropdown list of checkboxes to filter by log levels 2018-09-03 21:30:16 +01:00
Warren 96d76c211c Adds in support for log level filtering - rather than using expressions 2018-09-03 21:29:13 +01:00
Anders Bjerner 6ff2f1eabb The name field is not automatically in focus when creating a new data type folder 2018-09-03 18:06:15 +02:00
Anders Bjerner cbdfb6f25f Hide "Created Date" field when content hasn't yet been created 2018-09-03 17:32:39 +02:00
Stephan 1fb7bcb980 Cleanup nuspecs 2018-09-03 17:26:07 +02:00
Stephan 34fb19ac76 Merge remote-tracking branch 'origin/temp8' into temp8-nuget-pkgs 2018-09-03 17:24:58 +02:00
Shannon f9657ae04d Gets mixed validation and success messages returning when persisting multiple variants at once. 2018-09-04 01:13:26 +10:00
villian 1437af62b3 fix U4-8143 2018-09-03 17:39:17 +03:00
Mads Rasmussen b72fc95d1f fix up getting started and create content tours 2018-09-03 16:02:39 +02:00
Shannon 124e1691fc Fixes how culture validation is reported and fixes the problem of validating required langs after we've changed the publish state. 2018-09-03 22:46:24 +10:00
Sebastiaan Janssen ac9c6305e7 Update CONTRIBUTING_DETAILED.md 2018-09-03 12:12:27 +02:00
Sebastiaan Janssen b2b9b53af1 Whoops, fixes previous commit for #2896 2018-09-02 10:03:51 +02:00
Sebastiaan Janssen 2dd5010d2c Seems there is no need to hide the .small class, fixes #2896 2018-09-02 09:57:45 +02:00
Marc Goodson c6a31b30f1 position relative to stack the item above to avoid opacity issue 2018-09-01 19:27:55 +01:00
Kim Holzmann ef3abea005 U4-8824
Selection in media grid doesn't match when filter has value.
2018-09-01 12:57:32 +02:00
Marc Goodson c95cc14703 Make the file extension for files visible when picking a file using the media picker 2018-09-01 11:57:05 +01:00
Warren 20cf8a7637 Create a base class - so we can have the GetLogs implemented by 3rd party devs. Say from Azure Table Storage for example 2018-08-31 21:57:51 +01:00
Sebastiaan Janssen 83ce9050e8 Fix U4-10029 Umbraco.ReplaceLineBreaksForHtml should return an IHtmlString #2881 2018-08-31 21:07:56 +02:00
Sebastiaan Janssen d8cd2c109f Merge branch 'feature/remove-logout-aspx' of https://github.com/imranhaidercogworks/Umbraco-CMS into imranhaidercogworks-feature/remove-logout-aspx
# Conflicts:
#	src/Umbraco.Web.UI/umbraco_client/Application/UmbracoApplicationActions.js
2018-08-31 21:07:32 +02:00
Sebastiaan Janssen bfd12b3a7b Merge pull request #2888 from mvanhelmont/#2886
Media Picker should not show deleted items #2886
2018-08-31 20:43:47 +02:00
Sebastiaan Janssen 396b499e81 Merge pull request #2885 from adhaliwal34/comment-change
Fix comment regarding the length of the salt bytes array
2018-08-31 20:27:32 +02:00
Sebastiaan Janssen 61ce1bcdca Merge branch 'dev-v7' of https://github.com/umbraco/Umbraco-CMS into dev-v7 2018-08-31 20:21:58 +02:00
Sebastiaan Janssen ec1d2a6433 Merge branch 'mvanhelmont-U4-11589' into dev-v7 2018-08-31 20:21:05 +02:00
Sebastiaan Janssen 9ea9c5d6b7 Don't repeat the code to check for and create a template 2018-08-31 20:20:37 +02:00
Sebastiaan Janssen fee9bce110 Merge branch 'U4-11589' of https://github.com/mvanhelmont/Umbraco-CMS into mvanhelmont-U4-11589 2018-08-31 20:11:50 +02:00
Sebastiaan Janssen 222720aea4 Merge pull request #2884 from AliSheikhTaheri/temp-u4-8310
Temp u4 8310 - Fixed can't rename of a document type alias by changing its casing
2018-08-31 20:06:07 +02:00
Sebastiaan Janssen 9e3213147f Merge pull request #2883 from mvanhelmont/U4-11145
U4-11145 Email validation is too strict on password reset screen
2018-08-31 19:50:54 +02:00
Sebastiaan Janssen 075fcdc155 Merge pull request #2881 from skttl/patch-10
U4-10029 Umbraco.ReplaceLineBreaksForHtml should return an IHtmlString
2018-08-31 19:42:57 +02:00
Stephan 70d93d4668 Merge branch temp8 into temp8-di2690 2018-08-31 08:47:01 +02:00
Stephan c42f3a1158 Merge branch temp8 into temp8-11502 2018-08-31 08:43:11 +02:00
Marcel van Helmont c29357b845 inside ensureWithinStartNode also check if node is trashed otherwise go to startnode. 2018-08-30 21:06:29 +02:00
Mads Rasmussen f450abb5c2 wip clean up doc type editor 2018-08-30 19:42:30 +02:00
Mads Rasmussen 748fc3310b add border radius to login box 2018-08-30 19:41:53 +02:00
Stephan 4a32eebb0b Cleanup logging 2018-08-30 19:08:55 +02:00
Warren b15e8a13db * Attempt to get date picker components setup
* Output ex nicer
* Add log level colours to badges
* Output date in friendlier format
2018-08-30 16:26:11 +01:00
Warren c3fa12be6e Exception needs to be a string as Serilog cant easily convert JSON serialised EX back to proper exceptions so we call ToString on it instead 2018-08-30 16:24:34 +01:00
Warren 04f7b14702 * Click to toggle row to see the log properties & ex if present
* Toggle timestamp order by ascending or descending
2018-08-30 14:27:31 +01:00
Warren 08618b653c Gets the rough wrieframe to use real API data now
* List number of total errors
* Pie Chart of log level counts
* Message counts
* Log items with paging & searching
2018-08-30 12:42:43 +01:00
Stephan 8b4e2c5bcb Fix tests, a culture is not edited if not available 2018-08-30 13:06:41 +02:00
Stephan 7ab393f2b2 Fix TestHelper for properties comparisons 2018-08-30 12:51:55 +02:00
Shannon 506d57ab07 Allows the overlay view to be created with a custom parent scope so that broadcast/emit work correctly for the code within the overlay to be a 'child' of the editor that invoked it. 2018-08-30 20:21:25 +10:00
Stephan 52c6377366 Fix failing test due to 66a00546d 2018-08-30 12:08:01 +02:00
AJ_Dhaliwal cc680f2cfb Fix comment regarding the length of the salt bytes array 2018-08-30 18:03:44 +08:00
Warren cce70f139c Changed to LogViewer as Logs in solution refers to AuditLogs so this makes it more explicit 2018-08-30 09:59:53 +01:00
Stephan 069c42ef36 Ensure all ILogger impl support message templates 2018-08-30 10:48:27 +02:00
Sebastiaan Janssen 58dab23d04 Fix links 2018-08-30 10:00:29 +02:00
Sebastiaan Janssen 90a47cd042 Move from docs to github folder 2018-08-30 09:58:29 +02:00
Sebastiaan Janssen fb6079d4e2 Add issue templates and updated PR template 2018-08-30 09:57:17 +02:00
Shannon f359648215 fixes U4-11463 MembershipHelper is not working with basic auth on the initial request 2018-08-30 09:57:16 +02:00
Stephan 557bea5f95 Move LightInjectExtensions to proper space 2018-08-30 09:30:49 +02:00
Shannon 53ae01c123 small fix after refactor 2018-08-30 16:21:53 +10:00
Shannon c615f7bd9f small fix after refactor 2018-08-30 16:15:42 +10:00
Shannon 2bb2f7bbbd componentizes umb-variant-content and umb-variant-content-editors, moves the logic dealing with the editors array to a component and out of the content controller, ensures that the editor array is updated correctly so that all directives are re-bound 2018-08-30 16:12:42 +10:00
Warren e4c7609675 Fixes paging and uses the same Serilog Expression filtering when setting up loggers to query the same LogEvents loaded into memory
* StartsWith(SourceContext, 'Umbraco.Core')
* StartsWith(SourceContext, 'Umbraco.Core') and @MessageTemplate='[Timing {TimingId}] {EndMessage} ({TimingDuration}ms)'
* @MessageTemplate='[Timing {TimingId}] {EndMessage} ({TimingDuration}ms)' and TimingDuration > 1000
2018-08-29 19:11:20 +01:00
Warren cc915d6ef1 Adds in URL to WebAPI/Editor to Umbraco.Sys global JS object 2018-08-29 19:01:26 +01:00
Warren 38e8feb588 Renames LogsController to LogViewerController to be more explicit only as we have a LogController already for audit logs 2018-08-29 18:42:12 +01:00
Warren fcf8290df9 Update WebAPI method for GetLogs so that we can test out some Expression filter queries in POSTMAN 2018-08-29 18:37:37 +01:00
Stephan 6692f3e7b7 Post-merge fixes 2018-08-29 19:02:35 +02:00
Stephan fed9e27332 Revert "Get rid of container TryGetInstance"
This reverts commit 00b1dda2fe.
2018-08-29 18:50:08 +02:00
Marcel van Helmont 74ca315197 added val-email to corrrectly validate emails supporting new TLD 2018-08-29 15:38:12 +02:00
Ali.Taheri 541e546f7b u4-8310 - Added error message to the xml file. 2018-08-29 14:35:20 +01:00
Ali.Taheri 26a8d680d4 u4-8310 - Fixed rename content type with the same alias but with different casing. 2018-08-29 14:28:33 +01:00
Mads Rasmussen f2e85beb49 polish 2018-08-29 13:23:07 +02:00
Mads Rasmussen cb102d761a align dashboard tabs 2018-08-29 13:09:17 +02:00
Mads Rasmussen fb2914ca09 remove flashing overlay from examine dashboard 2018-08-29 13:08:08 +02:00
RaduOrleanu 412069414b U4-11570 - performed instantiation locally in classes where WebClient or HttpClient is used only in 1 method and added null check 2018-08-29 12:39:06 +02:00
Mads Rasmussen 9b8a30e73b align language picker with editor header 2018-08-29 12:23:38 +02:00
Mads Rasmussen eff425ff46 more background fixes 2018-08-29 12:23:04 +02:00
Stephan 31a356d98e Merge branch temp8 into temp8-di2690 2018-08-29 12:15:39 +02:00
Mads Rasmussen a85ea0a932 add boxes to dashboards 2018-08-29 11:45:31 +02:00
Stephan 451b58ee50 Fix for Serilog PR 2018-08-29 11:41:04 +02:00
Stephan 3e183a057e Fix for Serilog PR 2018-08-29 11:37:36 +02:00
Mads Rasmussen 15b0d01517 remove inline style 2018-08-29 10:30:47 +02:00
Mads Rasmussen 2f504383d0 add margin to badge 2018-08-29 10:30:24 +02:00
Mads Rasmussen ca98409379 add white box behind create user confirm 2018-08-29 10:12:33 +02:00
Mads Rasmussen 40e1d2445c Merge branch 'temp8' into temp8-ui-cleanup 2018-08-29 09:54:20 +02:00
Stephan 9e07bf0948 Improve ILogger documentation 2018-08-29 09:12:14 +02:00
Shannon 0fc8da4642 Fixes issue with exception swallowing and tree syncing in the content which made the save dialog not close. 2018-08-29 16:05:33 +10:00
Shannon 016ed4a49d fixing some validation issues 2018-08-29 15:24:50 +10:00
Shannon c85128dd11 Fixes redirect when creating new content for a specific culture 2018-08-29 13:30:48 +10:00
Shannon aed9ad3a66 Merge remote-tracking branch 'origin/temp8' into temp8-nuget-pkgs
# Conflicts:
#	build/NuSpecs/UmbracoCms.nuspec
2018-08-29 12:24:38 +10:00
Shannon b3442be768 removes manual copying of sqlce files, this is taken care of with the Umbraco.sqlce package 2018-08-29 12:16:52 +10:00
Shannon fe508c5a0f Removes MB files that are already included in the MB package 2018-08-29 11:57:31 +10:00
Shannon 09ee58ddad Removes more refs to umbraco_client, fixes up nuspecs 2018-08-29 10:49:55 +10:00
Marcel van Helmont ec1a3f0fe8 make sure alias is camelCase format 2018-08-28 22:44:53 +02:00
Warren 424ae7bb91 WIP to open a range of log files 2018-08-28 21:12:38 +01:00
Marcel van Helmont 8ce200bd16 added toggles to allow creating templates for collection and collection item 2018-08-28 21:32:18 +02:00
Søren Kottal a6fd377f31 Update UmbracoHelper.cs 2018-08-28 20:21:49 +02:00
Søren Kottal ba22ac4e83 Update HtmlStringUtilities.cs 2018-08-28 20:18:12 +02:00
Stephan c743ac760d Update ModelsBuilder to -alpha.22 2018-08-28 20:02:25 +02:00
Warren 4ce33c4e3d Updates signature with start/end date and prep for returning paginated logs items 2018-08-28 18:30:58 +01:00
Warren 50e3f84759 As new extension method - to set order by descending or ascending with a property 2018-08-28 18:29:05 +01:00
Stephan f791198817 Version 8.0.0-alpha.49 for ModelsBuilder 2018-08-28 18:45:37 +02:00
Shannon 46c193c9e2 updates nuspec 2018-08-29 01:45:05 +10:00
Shannon 029eff1f8a Some refactoring to decouple web based assemblies from Umbraco.Core and move whatever we can to Umbraco.Web where web based assemblies are used. Decouples System.Drawing entirely from Umbraco.Core and removes the Active Directory dependency from Umbraco.core. 2018-08-29 01:15:46 +10:00
Warren fbd48b0bd7 Merge commit 'a151829b265b2b6def44b6df76668657469941f6' into temp8-logviewer
# Conflicts:
#	src/Umbraco.Web.UI.Client/bower.json
2018-08-28 14:53:00 +01:00
Warren 152ddbd252 Adds LogViewerComponent & registers singleton in DI (3rd party devs will have to disable this component & register their own implementation)
Get some more of the basic WebAPI stubs fleshed out to get some data to start using in the UI layer
2018-08-28 14:48:54 +01:00
Stephan eaacdc0514 Deal with fixmes in IContent IsCultureSomething 2018-08-28 15:11:13 +02:00
Shannon ab6758e7bf Merge branch 'temp8' into temp8-nuget-pkgs
# Conflicts:
#	build/NuSpecs/UmbracoCms.Core.nuspec
2018-08-28 20:53:19 +10:00
Shannon Deminick a151829b26 Merge pull request #2845 from umbraco/temp8-serilog
Bye bye Log4Net, Hello Serilog
2018-08-28 20:31:12 +10:00
Warren 3e75c69f10 Merge branch 'temp8-serilog' into temp8-logviewer 2018-08-28 11:27:11 +01:00
Warren 91ab3b4894 Comments out a lot of the serilog.user.config to give some guidance and examples on what can be setup & configured 2018-08-28 10:11:08 +01:00
Warren 34452e72c0 Adds the shared option to the File sink to avoid file locking & if app restarts we don't get _001 or _002 files etc 2018-08-28 09:46:51 +01:00
Shannon 61c52913dd Fixes MediaCacheRefresher, it wasn't checking if there was an IMedia cache 2018-08-28 16:50:56 +10:00
Shannon Deminick e1e435cc33 Merge pull request #2877 from umbraco/temp8-97
Temp8 97
2018-08-28 16:11:59 +10:00
Shannon 94cbe3b1b8 updates timing id 2018-08-28 15:40:20 +10:00
Shannon 6506abd451 Simplifies logger calls to proxy all calls to a single method of it's type 2018-08-28 15:38:36 +10:00
Shannon 8d6e297c37 Adds additional Fatal methods to match Error and move Fatal code above error so all logger code goes from Fatal -> Verbose 2018-08-28 15:24:45 +10:00
Warren df13af9dc2 Attempt to get a WebAPI Controller setup 2018-08-27 20:05:59 +01:00
Warren cae468eaeb Some rough untested POC code to read JSON log file from disk 2018-08-27 20:05:17 +01:00
Stephan 2319617fed Cleanup LightInjectContainer 2018-08-27 18:09:10 +02:00
Stephan 00b1dda2fe Get rid of container TryGetInstance 2018-08-27 18:08:59 +02:00
Mads Rasmussen db385bbf17 make umb-variant-state directive reusable + reuse in umb-editor-header 2018-08-27 15:53:56 +02:00
Mads Rasmussen e96d16536b Make sure two overlays can't be open at the same time 2018-08-27 12:36:40 +02:00
Mads Rasmussen 8c663b5993 Add option to prevent close on backdrop click 2018-08-27 11:44:55 +02:00
Mads Rasmussen db37a34bac fix z-index problem 2018-08-27 11:28:10 +02:00
Stephan e8dfca5635 Merge branch temp8 into temp8-di2690 2018-08-27 10:19:41 +02:00
Stephan a2e80f27f3 Merge branch temp8 into temp8-11502 2018-08-27 09:57:41 +02:00
Shannon 06d08e2cb1 removes last log4net strings i can find 2018-08-27 16:49:54 +10:00
Sebastiaan Janssen 26e2bc6afa Merge pull request #2879 from umbraco/temp-u4-11599
U4-11599 - do not abort inst processing on error
2018-08-27 08:45:04 +02:00
Sebastiaan Janssen 546458bcfd Merge pull request #2322 from umbraco/validate-using-schema
Updates sql to include current schema in queries
2018-08-27 08:16:57 +02:00
Stephan f2090e9fc7 U4-11599 - do not abort inst processing on error 2018-08-27 08:10:39 +02:00
Sebastiaan Janssen 46b0063921 Fixes U4-11598 Scheduling the content does not reload the page at the same time 2018-08-27 06:56:05 +02:00
Sebastiaan Janssen 7fd1617759 Merge branch 'dev-v7' into validate-using-schema 2018-08-26 23:13:08 +02:00
Sebastiaan Janssen 5e7c9f2341 Merge pull request #2876 from RNHornets/temp-u4-9030
U4-9030 Moving a RTE between grid cells causes rendering issues for other RTEs
2018-08-26 22:57:17 +02:00
Sebastiaan Janssen bec8aabede Merge pull request #2442 from madsoulswe/temp-U4-10962
U4-10962 - Disable stickyheader when nested, fix margins when disabled
2018-08-26 22:17:44 +02:00
Sebastiaan Janssen c07780caff Merge pull request #2481 from SaDa1337/dev-v7.9
fix x alignment in colorpicker transparent option in umbraco skin
2018-08-26 22:08:24 +02:00
Sebastiaan Janssen 0c3d3ca545 Merge pull request #2506 from PeteDuncanson/temp-U4-11074
Added web.config to fonts folder to allow for caching out of the box
2018-08-26 21:26:45 +02:00
Sebastiaan Janssen 35a0d4451f Merge pull request #2483 from kccsf/U4-4441
U4-4441 Fix: TinyMCE overlay was showing in front of login overlay
2018-08-26 21:01:58 +02:00
Sebastiaan Janssen 03fdba6a3b Merge pull request #2512 from NathalieLarsson/dev-v7
Quick fix for U4-11085 and added filtering to list view in MNTP
2018-08-26 20:51:53 +02:00
Sebastiaan Janssen 550c383598 Also make sure there's a value for dialogOptions.filterTypes if it doesn't start with "!"
Else you get errors on `dialogOptions.filterTypes.toLowerCase()`
2018-08-26 20:47:26 +02:00
Sebastiaan Janssen 9d3d718e16 Merge branch 'dev-v7' into dev-v7 2018-08-26 20:33:00 +02:00
Ben Palmer b09bf518c6 U4-9237 Validate application parameter when getting application trees (#2315) 2018-08-26 18:12:07 +02:00
Sebastiaan Janssen 8666b222ac Merge pull request #2841 from leekelleher/U4-11556
U4-11556 - Removed metablogConfig.config
2018-08-26 18:04:50 +02:00
Sebastiaan Janssen 9e564d70ef Merge branch 'drpeck-U4-8550' into dev-v7 2018-08-26 17:57:00 +02:00
Sebastiaan Janssen 276810be6c Bump to v7.13.0 2018-08-26 17:56:13 +02:00
Sebastiaan Janssen 49df6e7c9d Merge branch 'U4-8550' of https://github.com/drpeck/Umbraco-CMS into drpeck-U4-8550
# Conflicts:
#	src/Umbraco.Web.UI/config/umbracoSettings.config
#	src/Umbraco.Web/PublishedContentExtensions.cs
2018-08-26 17:45:34 +02:00
Sebastiaan Janssen 16155ea416 Merge branch 'dev-v7' of https://github.com/umbraco/Umbraco-CMS into dev-v7 2018-08-26 17:25:18 +02:00
Sebastiaan Janssen f183e27cae Merge branch 'jamescoxhead-U4-11166' into dev-v7 2018-08-26 17:24:18 +02:00
Sebastiaan Janssen a411c9c300 Make sure inactive users get the correct state attached to them 2018-08-26 17:23:52 +02:00
Sebastiaan Janssen 342ac7b1b2 Merge branch 'U4-11166' of https://github.com/jamescoxhead/Umbraco-CMS into jamescoxhead-U4-11166 2018-08-26 16:52:58 +02:00
Sebastiaan Janssen f5ac5f20a8 Merge pull request #2869 from Bazmech/temp-U4-11594
U4-11594 HasFocalPoint in ImageCropDataSet does not return correct value
2018-08-26 16:44:19 +02:00
Chris Houston 56de9ff4ae Fix for issue: U4 11409 - "Create content" tour is failing when doing the tour with the starter kit installed (#2851) 2018-08-26 14:52:14 +02:00
Mads Rasmussen 7fce9799e7 clear editorService and overlayService when a new user logs in 2018-08-24 21:06:48 +02:00
Mads Rasmussen d8006b54e8 soften overlay shadow 2018-08-24 21:05:36 +02:00
Warren cb5dca5544 More rough UI work - to figure out how it should look or work 2018-08-24 15:02:38 +01:00
Robert e3ee485126 Merge pull request #2875 from umbraco/temp8-141
Editing all variants at once - Deal with invariant property value syncing
2018-08-24 14:43:46 +02:00
Robert 3b4aa66516 Merge branch 'temp8' into temp8-141 2018-08-24 14:43:15 +02:00
Mads Rasmussen 32d263a398 translate labels 2018-08-24 14:08:36 +02:00
Warren fbba60a56b Super rough - WIP UI/layout with a working chart with fake data 2018-08-24 12:58:50 +01:00
Warren 4d66b21084 Adds in chart.js Angular Wrapper lib 2018-08-24 12:57:59 +01:00
Mads Rasmussen 3f05396c2b show discard changes dialog when changing location and infinite editors are open + reuse same overlay for unsaved changes 2018-08-24 13:51:07 +02:00
Robert 09719d0ca3 Fixes slider 2018-08-24 12:50:46 +02:00
Warren 1a89fea816 Adds a Logs Tree controller in the Developer section 2018-08-24 10:53:53 +01:00
Arbie Sarkissian e4d8fcf019 U4-11506 - Fix Gregorian DateTime.MinValue is out of range for some calendars (like PersianCalendar) (#2821) 2018-08-24 11:15:53 +02:00
Sebastiaan Janssen e1f7e835ea Fixes U4-11584 RelatedLinks2 throws exception with null value in Link field 2018-08-24 11:08:27 +02:00
Sebastiaan Janssen d83bb6aa49 Whoops, committed the wrong file! Revert "Fixes U4-11584 RelatedLinks2 throws exception with null value in Link field"
This reverts commit 612138f0e1.
2018-08-24 11:07:55 +02:00
Robert Johnston 06e55c8c4e Use offsetParent to get the grid cell for the moved item since parents() always returns 0 results 2018-08-24 09:50:24 +01:00
Sebastiaan Janssen 612138f0e1 Fixes U4-11584 RelatedLinks2 throws exception with null value in Link field 2018-08-24 10:49:39 +02:00
Sebastiaan Janssen bfc627857d Merge pull request #2840 from WebCentrum/temp-U4-11527
U4-11527 Fix concurrency issue
2018-08-24 00:02:30 +02:00
BatJan 7d439566cd U4-11526 - Member Group Picker doesn't remove group after unselecting it during selection. (#2835) 2018-08-23 23:56:32 +02:00
Sebastiaan Janssen d224a93ce1 Merge branch 'BatJan-feature/temp-U4-11577' into dev-v7 2018-08-23 23:44:23 +02:00
Sebastiaan Janssen 3454db6ee8 No need to do an extra userService request, if the contentType is null we can't access the settings section, that's a good enough test
Also fixed the bug where editors would see the node name instead of the content type name
2018-08-23 23:36:50 +02:00
Sebastiaan Janssen b67c06a85a Remove console.log that was left behind 2018-08-23 22:23:41 +02:00
Sebastiaan Janssen 44bd3dec9a Merge branch 'dev-v7' into feature/temp-U4-11577 2018-08-23 22:22:57 +02:00
Thomas Nielsen 68ac84aa1d Sort the Umbraco.UserPicker list alphabetically by name (#2872) 2018-08-23 22:15:28 +02:00
Sebastiaan Janssen c1bf8259ef Merge branch 'rasmusjp-fix/linkpicker-url-empty' into dev-v7 2018-08-23 21:34:06 +02:00
Sebastiaan Janssen 1b1df84863 Populates the anchor when found
Also fixes one of the JS files where .model was seemingly used randomly, but the view doesn't want a .model in there
2018-08-23 21:31:31 +02:00
Sebastiaan Janssen 05fdfc6b34 Merge branch 'fix/linkpicker-url-empty' of https://github.com/rasmusjp/Umbraco-CMS into rasmusjp-fix/linkpicker-url-empty 2018-08-23 20:52:14 +02:00
Sebastiaan Janssen 18b690f11a Bump the version to 7.12.2 2018-08-23 20:45:49 +02:00
Sebastiaan Janssen d3b577fe37 Merge pull request #2867 from BatJan/features/temp-U4-11587
U4-11587 Media link does not update when the file is swapped
2018-08-23 20:37:45 +02:00
Sebastiaan Janssen 720409ef54 Merge pull request #2871 from leekelleher/U4-11595
umb-node-preview directive - corrected the title of the "Edit" button
2018-08-23 19:21:30 +02:00
Sebastiaan Janssen 919a63d0ea Merge pull request #2848 from readingdancer/U4-11569
Small tweaks to the Getting Started tour text.
2018-08-23 18:53:40 +02:00
Warren 24f91f1917 Adds in Error without ex for just a message and a message template with params 2018-08-23 14:43:38 +01:00
Warren fb4b0ceb69 Verified the log works correctly from my TODO note 2018-08-23 13:23:40 +01:00
Warren e17ba1c876 Verified the log output for genRef is all ok & remove TODO note 2018-08-23 13:09:51 +01:00
Warren 224a7de61f Update ignore list for typefinder tests to include Serilog. in exclusion filters 2018-08-23 12:56:35 +01:00
Warren 4070fc65b7 Remove some //WB TODOs to check if the enum returns the string and not 0,1 etc- check & verified all good :) 2018-08-23 12:49:27 +01:00
Warren afebd88d45 Update ImageProcessorLogger - to use the new Error logger method that contains only an ex - and under the hood it will pass on an empty string to the message 2018-08-23 12:26:33 +01:00
Warren 219e8c730d Add inline null checks as requested 2018-08-23 12:22:05 +01:00
Warren 0c9ac7fa45 Make Log4NetLevel enricher internal - no need for it to be public 2018-08-23 12:16:43 +01:00
Warren 66e4e1f0f4 Adds new method to ILogger for taking only the exception - NOTE will add an empty string for the message 2018-08-23 12:14:07 +01:00
Warren Buckley 5b219af3ad Merge pull request #2874 from umbraco/temp8-93
fixes: 93 - Content editing: convert overlays into infinite editors
2018-08-23 10:32:58 +01:00
Mads Rasmussen ec7610f290 Merge pull request #2865 from umbraco/temp8-w150
Temp8 w150
2018-08-23 10:42:35 +02:00
Mads Rasmussen 1a465a7bee move inline styling to a class 2018-08-23 10:31:54 +02:00
Mads Rasmussen 6187018ee7 simplify width calculation to use the browser width instead of the element widths + reuse dropdown component 2018-08-23 10:22:00 +02:00
Shannon e0610fc85d Gets tinymce syncing with the view model 2018-08-23 18:11:16 +10:00
Mads Rasmussen ef6822e15b Merge pull request #2873 from kjac/media-picker-update
Media picker: Minor style update + add help text.
2018-08-23 09:29:05 +02:00
Shannon 7f734f19f0 Fixes radio button editor 2018-08-23 17:11:57 +10:00
Shannon c0d617a044 Fixes checkbox list to sync the model value and view model nicely 2018-08-23 16:56:40 +10:00
Shannon b1ba25debe Fixes contentpicker to update model.value correctly and sync it's renderModel and deal with the quirks of the ui-sortable stuff 2018-08-23 15:31:59 +10:00
Mads Rasmussen 1f4094c676 Revert "move grid layout config to new location"
This reverts commit 5e0ca12d72.
2018-08-22 13:55:02 +02:00
Mads Rasmussen 5e0ca12d72 move grid layout config to new location 2018-08-22 13:43:32 +02:00
Mads Rasmussen c165226688 use infinite media picker in grid media picker 2018-08-22 13:35:35 +02:00
Mads Rasmussen 46dc0baf86 remove unused overlay markup 2018-08-22 12:57:03 +02:00
Mads Rasmussen 973696329d convert memberGroupPicker into an infinite editor 2018-08-22 12:55:27 +02:00
Mads Rasmussen 61312bf61b move member group picker to new location 2018-08-22 12:46:10 +02:00
Jan Skovgaard 015e89b927 Make sure the "open" action is only visible when logged in as an administrator 2018-08-22 11:31:07 +02:00
Jan Skovgaard 05e48376c7 Use the node object to get the name and icon so it's also displayed for non-admin users 2018-08-22 11:30:39 +02:00
Jan Skovgaard a2cc0ec411 Shorten comments 2018-08-22 11:30:07 +02:00
Jan Skovgaard d4fff97814 Move the setModePublishStatus function above the scope.previewOpenUrl...not sure why but this makes the status be visible when logged in as something other than an administrator. When logged in as an admin it worked fine before. Can't quite make sense of this. But now it works. 2018-08-22 11:23:51 +02:00
Lee Kelleher 06e99c3b33 Corrected the title of the "Edit" button
umb-node-preview directive - corrected the title of the "Edit" button
2018-08-22 09:13:43 +01:00
Jan Skovgaard ad3d27be76 Reference the node object instead of the documentType object, which returns null if the user is not logged in as an admin. 2018-08-22 10:00:54 +02:00
Jan Skovgaard 2e2fc6ad84 Make sure to check whether the open anchor for the template should be displayed or not 2018-08-22 09:31:44 +02:00
Jan Skovgaard 9f396e4b15 By default set the "allowOpen" to be false and only set it to true if the current user is an admin. This ensures that the "Open" anchors are never displayed for other than admin users. 2018-08-22 09:13:46 +02:00
Shannon 128c14d06f Fixes datepicker to sync the model value with it's view model correctly 2018-08-22 15:47:12 +10:00
Shannon 320fd82c24 Fixes slider value syncing 2018-08-22 15:00:24 +10:00
Shannon cc57724834 fixes media picker so that it's model.value stays in sync with it's view model 2018-08-22 14:15:43 +10:00
Shannon 30014ee86b fixes boolean checks and problems with removed angular.lowercase deprecated method 2018-08-22 14:15:23 +10:00
Shannon 5b32268cd7 Merge remote-tracking branch 'origin/temp8' into temp8-141 2018-08-22 14:14:14 +10:00
Shannon c164a4789b Fixes Slider 2018-08-22 14:13:33 +10:00
Barry Bell f42862c42a Update ImageCropDataSet.cs
If only one of the Left or Right values changed the HasFocalPoint function would return false but this should now return true if only one is altered
2018-08-21 21:07:54 +01:00
Mads Rasmussen f7201a70bd add colored border 2018-08-21 21:20:38 +02:00
Mads Rasmussen ec67ab83af Merge branch 'patch-1' of git://github.com/jannikanker/Umbraco-CMS into jannikanker-patch-1 2018-08-21 21:10:01 +02:00
Mads Rasmussen 6678f42f42 use infinite macro picker in grid 2018-08-21 20:01:55 +02:00
Mads Rasmussen dcdf21d86c use infinite editor in grid embed 2018-08-21 19:42:49 +02:00
Rasmus John Pedersen a725ddae5a Only remove ? or # if it's part of the url 2018-08-21 17:10:46 +02:00
Mads Rasmussen 08c1a2d095 grid rte - use infinite editors instead of overlays 2018-08-21 16:07:38 +02:00
Mads Rasmussen 6a0dc77be3 remove unused overlay markup 2018-08-21 15:55:15 +02:00
Mads Rasmussen 8280b522a5 use infinite media picker in markdown editor 2018-08-21 15:51:53 +02:00
Mads Rasmussen 3ed76a34b9 remove unused overlay markup 2018-08-21 15:34:56 +02:00
Mads Rasmussen e18598e836 use infinite icon picker in list view prevalues 2018-08-21 15:31:16 +02:00
Mads Rasmussen f35c1866b9 remove icon picker overlay 2018-08-21 15:23:54 +02:00
Mads Rasmussen 564eb0f059 remove media picker overlay 2018-08-21 15:23:24 +02:00
Mads Rasmussen b6ca017033 add feature toggle for edit media in media picker 2018-08-21 15:17:24 +02:00
Mads Rasmussen c81ce94f1f use infinite media picker in link picker 2018-08-21 14:54:11 +02:00
Jan Skovgaard 8f2c253138 Refactort the scope.nodeUrl to be updated whenever save is hit in the existing update watcher 2018-08-21 14:52:00 +02:00
Mads Rasmussen 892a88179e rename controller 2018-08-21 14:30:06 +02:00
Mads Rasmussen fab08f4dde convert linpicker overlay to infinite editor 2018-08-21 14:29:21 +02:00
Mads Rasmussen bc1c400481 open link picker and media picker infinite editors from rte 2018-08-21 14:13:27 +02:00
Mads Rasmussen f02382d3ab add linkpicker to editorService 2018-08-21 14:12:57 +02:00
Warren 3baf5697e4 Add in MachineName as a Serilog property 2018-08-21 12:48:06 +01:00
Mads Rasmussen b9b45336d4 move linkpicker to new location 2018-08-21 13:38:29 +02:00
Mads Rasmussen 08eaf16f11 turn embed overlay into infinite editor 2018-08-21 12:54:23 +02:00
Mads Rasmussen bdcbb0511f move embed overlay to new location 2018-08-21 12:41:39 +02:00
Mads Rasmussen 55a9fec64f embed overlay was broken. now its fixed 2018-08-21 12:40:24 +02:00
Mads Rasmussen 3c8b43cc3b use infinite macro picker in RTE 2018-08-21 11:29:04 +02:00
copilaurobert 4fa595edd9 Content apps will now move into the tray based on window width 2018-08-21 11:09:10 +02:00
Mads Rasmussen 1c0d09a1cb Merge branch 'temp8' into temp8-93 2018-08-21 11:08:45 +02:00
Mads Rasmussen e470436519 use overlayService to open media type child nodes overlay 2018-08-21 11:03:12 +02:00
Warren Buckley 3568a6565d Merge pull request #2863 from umbraco/temp8-95
Temp8 95
2018-08-21 10:03:10 +01:00
Mads Rasmussen afadf9999b remove unused overlay markup 2018-08-21 10:32:20 +02:00
Mads Rasmussen 5671103cd2 remove unused overlay markup 2018-08-21 10:09:23 +02:00
Mads Rasmussen 75cc69454a convert move dialog to infinite editor 2018-08-21 10:06:16 +02:00
Mads Rasmussen 7bd8c35d37 update copy dialog markup to make it work as an infinite editor 2018-08-21 09:02:38 +02:00
Shannon efbcce5261 Fixes SQL generation for paged results for both UserRepository and AuditRepository 2018-08-21 10:41:50 +10:00
Sebastiaan Janssen e6597d47e3 Fixes U4-11574 - return an empty string if the datatype is in "single" mode and nothing is selected 2018-08-20 16:12:23 +02:00
Nathan Woulfe 89f69bd2a8 U4 4732 - fix regressions in 7.12 (#2862) 2018-08-20 16:10:36 +02:00
copilaurobert ab6d5d09e2 "More" button now shows a tray containing overflowing apps that passed the set app limit 2018-08-20 15:57:58 +02:00
Mads Rasmussen 880eff5e71 use editorService to open copy dialog 2018-08-20 15:54:36 +02:00
Mads Rasmussen 7ffa4969b9 move copy-files to new location 2018-08-20 15:51:38 +02:00
Mads Rasmussen 3b4e5ad8c9 Revert "move copy files to new location"
This reverts commit 4c8c4e7578.
2018-08-20 15:49:23 +02:00
Mads Rasmussen 4c8c4e7578 move copy files to new location 2018-08-20 15:48:23 +02:00
Mads Rasmussen 745ac7600d remove compositions from the editorService again 2018-08-20 14:42:18 +02:00
Mads Rasmussen b58bce7c64 move confirm logic to compositions controller 2018-08-20 14:30:59 +02:00
Mads Rasmussen ab25713486 remove unsed overlay component 2018-08-20 14:16:16 +02:00
Mads Rasmussen 97b8aa8b3a open compositions dialog through infinite editing 2018-08-20 13:13:02 +02:00
Sebastiaan Janssen 8087fc4c9a Merge pull request #2858 from umbraco/temp-U4-11579
U4-11579 Take startNodeId into account before picking the current nod…
2018-08-20 12:06:45 +02:00
Mads Rasmussen 807f0be9df move compositions overlay to infinite editors folder 2018-08-20 11:18:58 +02:00
Nathan Woulfe 3775c7d653 Merge branch 'umbraco-temp8' into temp8-11849 2018-08-20 18:51:36 +10:00
Nathan Woulfe 9593f0dc01 update from temp8 2018-08-20 18:49:28 +10:00
Shannon 04db0caa63 Merge remote-tracking branch 'origin/dev-v7' into temp8
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Configuration/UmbracoVersion.cs
#	src/Umbraco.Core/Migrations/Install/DatabaseSchemaCreator.cs
#	src/Umbraco.Core/Migrations/Upgrade/V_7_12_0/AddRelationTypeForMediaFolderOnDelete.cs
#	src/Umbraco.Core/Migrations/Upgrade/V_7_12_0/IncreaseLanguageIsoCodeColumnLength.cs
#	src/Umbraco.Core/Persistence/DatabaseModelDefinitions/ConstraintDefinition.cs
#	src/Umbraco.Core/Persistence/DatabaseModelDefinitions/DbIndexDefinition.cs
#	src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSeven/AddIndexToCmsMacroPropertyTable.cs
#	src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSeven/AddIndexToCmsMacroTable.cs
#	src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSeven/AlterTagsTable.cs
#	src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSeven/AssignMissingKeysAndIndexes.cs
#	src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSevenEightZero/AddIndexToPropertyTypeAliasColumn.cs
#	src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSevenThreeZero/AddForeignKeysForLanguageAndDictionaryTables.cs
#	src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSevenThreeZero/MigrateAndRemoveTemplateMasterColumn.cs
#	src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSevenThreeZero/UpdateUniqueIdToHaveCorrectIndexType.cs
#	src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSevenTwoZero/AddMissingForeignKeyForContentType.cs
#	src/Umbraco.Core/Persistence/Migrations/Upgrades/TargetVersionSixTwoZero/AdditionalIndexesAndKeys.cs
#	src/Umbraco.Core/Persistence/SqlSyntax/ISqlSyntaxProvider.cs
#	src/Umbraco.Core/Persistence/SqlSyntax/MySqlSyntaxProvider.cs
#	src/Umbraco.Core/Persistence/SqlSyntax/SqlCeSyntaxProvider.cs
#	src/Umbraco.Core/Persistence/SqlSyntax/SqlServerSyntaxProvider.cs
#	src/Umbraco.Core/Persistence/SqlSyntax/SqlSyntaxProviderBase.cs
#	src/Umbraco.Core/Persistence/SqlSyntax/SqlSyntaxProviderExtensions.cs
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.editor.html
#	src/Umbraco.Web/HealthCheck/Checks/DataIntegrity/DatabaseSchemaValidationHealthCheck.cs
#	src/Umbraco.Web/Scheduling/KeepAlive.cs
#	src/Umbraco.Web/Trees/ApplicationTreeExtensions.cs
2018-08-20 15:16:58 +10:00
RaduOrleanu 07e5161988 U4-11570 - changed WebClient() from created inside of using to check if null and then creating it 2018-08-18 20:21:24 +02:00
Mads Rasmussen 655d6356b5 fix padding for dashboard content 2018-08-17 22:03:10 +02:00
Mads Rasmussen a5d0fc28d5 add background-color to dropzone 2018-08-17 21:55:13 +02:00
Mads Rasmussen 25d0437363 add background color to user cards 2018-08-17 21:14:41 +02:00
Mads Rasmussen 63a761512f turn user group overview into real table 2018-08-17 20:06:20 +02:00
Mads Rasmussen 739dc7905b add table header on languages 2018-08-17 20:04:57 +02:00
Warren 9e996c68bb Refactored the error params, so that exception is before the message/template so its more in sync with Serilog signature & was an easy way to find some more logs I missed too 2018-08-17 15:41:58 +01:00
RaduOrleanu 03e642fced Found additional usages for (var web = new HttpClient()) and replaced with private static readonly HttpClient HttpClient = new HttpClient(); 2018-08-17 15:21:33 +02:00
RaduOrleanu 051b595f82 Found additional usages for (var web = new HttpClient()) and replaced with private static readonly HttpClient HttpClient = new HttpClient(); 2018-08-17 15:18:08 +02:00
RaduOrleanu 0cd3bb38ed Found additional usages for (var web = new HttpClient()) and replaced with private static readonly HttpClient HttpClient = new HttpClient(); 2018-08-17 15:07:57 +02:00
copilaurobert 4efc0c8be2 Initial commit on "more" button 2018-08-17 14:14:01 +02:00
Radu Orleanu f665f8af89 fixing U4-11570 (#2860) 2018-08-17 14:04:35 +02:00
Mads Rasmussen b7005127b2 add alias to user subviews to fix broken track by 2018-08-17 13:26:28 +02:00
Warren 38984181fc Adds the Fatal Logger Extension method <T> 2018-08-17 11:38:31 +01:00
Warren a020d60f3e Adds in new log level from Serilog to our Umbraco ILogger - Fatal (Worse than Error) 2018-08-17 11:26:22 +01:00
Kenn Jacobsen de8a24c691 Add "info" style to upload button + add help text when the dropzone is hidden. 2018-08-17 12:22:54 +02:00
Warren Buckley 0ee84c52b3 Merge pull request #2853 from umbraco/temp-variant-save-dialog
Save dialog for variants
2018-08-17 11:06:52 +01:00
Sebastiaan Janssen c4163e94c0 Merge pull request #2856 from dawoe/remove-deleted-scripts-from-solution
Removed files from solution that are not longer present in repo
2018-08-17 08:25:50 +02:00
Sebastiaan Janssen 62855d021f Merge pull request #2857 from umbraco/temp-U4-11581
U4-11581 In rare cases the umbracoLanguage table has a constraint ins…
2018-08-17 08:24:43 +02:00
Shannon 49430ca0a5 fixes logic order of dropping indexes 2018-08-17 16:07:53 +10:00
Shannon 9d75e36eb4 Ensures that checking for constraints/indexes is done within the transaction before dropping anything instead of before the transaction. 2018-08-17 15:20:12 +10:00
Shannon 5068b8ae9f Fixes DB schema validation 2018-08-17 11:16:10 +10:00
Shannon cdf3581721 code simplification 2018-08-17 10:53:45 +10:00
Shannon 0c6cca44d8 Fixes SQL providers for returning the correct results for constraints 2018-08-17 10:53:21 +10:00
Shannon f9300b4714 set variants to pristine after saving 2018-08-17 01:04:15 +10:00
Shannon 5324e0fc59 Fixes initial tree loading to ensure it gets passed the right culture params, puts any non-translated variant name in brackets in the tree 2018-08-17 00:50:05 +10:00
Warren ce4a19a20a Update OWIN logger with message template properties - mostly used for user X logged in (however we can't log those messages with properties) :( 2018-08-16 15:24:45 +01:00
Shannon 3fac749b38 fixes tree syncing so that the name can be updated 2018-08-17 00:19:17 +10:00
Shannon f8370a04a2 Fixes tracking the state of variants in the header drop down when the state changes but validation fails 2018-08-17 00:00:29 +10:00
Warren bb7fd0af25 Another one got through the net 2018-08-16 14:47:42 +01:00
Warren 0fdccc9c2f Found another log item that was using string interpolation 2018-08-16 14:40:33 +01:00
Shannon 54af649b78 Cleans up some models, adds another unit test, fixes the Info tab state updating when a content item is changed. 2018-08-16 23:30:33 +10:00
Sebastiaan Janssen f18b0aa774 U4-11579 Take startNodeId into account before picking the current node to sync to 2018-08-16 13:53:42 +02:00
Sebastiaan Janssen b9e8dd8b86 Removes unused import statement 2018-08-16 13:47:20 +02:00
Warren f9ba6970f4 Last pass of updating log messages in the solution 2018-08-16 12:42:21 +01:00
Warren 47c8651609 Update more logging messages to use templates as opposed to string formats that were using the LoggerExtensions <T> 2018-08-16 12:00:12 +01:00
Sebastiaan Janssen 45d8d302c9 U4-11581 In rare cases the umbracoLanguage table has a constraint instead of an index, making the migration fail 2018-08-16 12:10:21 +02:00
Shannon b4378ecb26 Merge remote-tracking branch 'origin/temp8' into temp-variant-save-dialog 2018-08-16 19:21:27 +10:00
Shannon 5168ef0f7a Fixes js tests and some logic 2018-08-16 19:20:43 +10:00
Mads Rasmussen 1fadff105a Merge pull request #2849 from umbraco/temp-variants-with-file-uploads
Editing variants with file uploads
2018-08-16 10:43:47 +02:00
Dave Woestenborghs e0ce9f1a77 Removed files from solution that are not longer present in repo 2018-08-16 10:35:08 +02:00
Sebastiaan Janssen d7a0886097 Fixes problem where we try to query a table that hasn't been updated with the new column yet, so we can't use the DTO 2018-08-16 10:32:10 +02:00
Nathan Woulfe 7bc43cb430 sane nesting, adds classes to replace element selectors, remove unused bits 2018-08-16 12:11:29 +10:00
Nathan Woulfe d16650d395 modal needs white background when iframed 2018-08-16 12:10:39 +10:00
Nathan Woulfe 8f0112c113 revert sizing changes - needs more thought... 2018-08-16 12:10:04 +10:00
Warren d632b46f9a For each & every request give it a GUID so we can log the begin & end request with timings along with making this log entry VERBOSE 2018-08-15 17:44:22 +01:00
Warren 7f53786461 Sets the default text file logger to be debug only & for the JSON file to log verbose 2018-08-15 17:43:20 +01:00
Warren 93a69d89e8 Add in optional params for the Serilog LoggerConfig Extension methods, to control number of days to keep and the log level to use 2018-08-15 16:58:23 +01:00
Warren b0d697af6c Forgot the ConsoleLogger needs to have Verbose added 2018-08-15 16:47:15 +01:00
Warren e76d35e2ff * Removes the unused func methods from Logger & DebugDiagnosticsLogger
* Adds in new Verbose logging level
2018-08-15 16:39:35 +01:00
Warren 95c5817e1e Removes the logging Func from Interface AND updates the only usages
* UmbracoExamineindexer
* The extension method <T> wrappers
2018-08-15 15:21:27 +01:00
Warren d7c6daac98 Updates the WebAPI Controller Unhandled exception logger to give us a structured message that will now include the Request URL 2018-08-15 14:55:16 +01:00
Warren ed262e6d4b Fix up the error method in the logger - to pass the exception to Serilog correctly (was wrong way round) & for it to add context of the <T> too 2018-08-15 14:53:23 +01:00
Sebastiaan Janssen 39e8a9fa67 Bump version to 7.12.1 2018-08-15 15:47:21 +02:00
Warren Buckley 1dbf509020 Merge pull request #2855 from umbraco/temp7-156
fixes: 156: Update nested content css/markup so it doesn't collide with the old package
2018-08-15 14:03:47 +01:00
Warren Buckley 5b4ef5b29e Merge pull request #2854 from umbraco/temp8-w155
Removed double encoding
2018-08-15 12:45:37 +01:00
Mads Rasmussen 8ce93055ef update colors to use variables and match the new color scheme 2018-08-15 13:00:40 +02:00
Mads Rasmussen ee4b2adbd4 prefix all nested content css classes with "umb" 2018-08-15 11:59:06 +02:00
copilaurobert 5da220c436 Removed double encoding 2018-08-15 10:32:59 +02:00
Shannon 9e131aa633 oooooh our first ContentController test :) 2018-08-15 17:44:06 +10:00
Shannon 0910a46b8a Merge remote-tracking branch 'origin/temp-variants-with-file-uploads' into temp-variant-save-dialog 2018-08-15 17:29:40 +10:00
Shannon cf39b2a54f Fixes server side check for publishing when a mandatory language isn't published 2018-08-15 15:23:02 +10:00
Shannon 2a15feec40 Fixes state issue to ensure that non-created variants show up as not-created 2018-08-15 15:13:27 +10:00
Warren 23ed9773bc FIRST PASS - Updates Umbraco.Web project to not use the func overload & to use new message template instead 2018-08-14 22:36:47 +01:00
Warren 2a298aaaf5 FIRST PASS - Updates Umbraco.Core project to not use the func overload & to use new message template instead 2018-08-14 15:08:32 +01:00
Warren 1c54c4c87d Update Umbraco ILogger extension methods to have some that support message templates for Serilog
* NOTE: Added obsolete with error bool set - to help me find uses to update easier
2018-08-14 15:05:58 +01:00
Shannon 66a00546d1 more work with saving, publishing and validation for variants, fixes up a few old things too 2018-08-14 23:19:32 +10:00
Warren f62f3300c2 Implements updates from recent ILogger changes for these other classes that use it 2018-08-14 13:29:38 +01:00
Warren 404e79dd3f Move DisposableTimer into Umbraco.Core.Logging - as it seems to be only related to logging 2018-08-14 13:22:44 +01:00
Warren b44fc3e273 Update DisposableTime - so that we now have a timing id to help with correlation (searching for the start & end in logs easier) 2018-08-14 13:20:54 +01:00
Warren 24cd72e9a5 Update Umbraco ILogger to use messagetemplates & params to make Serilog happy 2018-08-14 13:16:22 +01:00
Jannik Anker de73080e14 U4-11572
Add border to selected icon in document type icon picker dialog
2018-08-14 13:37:54 +02:00
Mads Rasmussen 6c0d14e0f4 add type="button" to toggle so it doesn't auto-submits a form 2018-08-14 13:14:49 +02:00
Mads Rasmussen 66187bf01a fix issue with property variant state being overwritten if document type wasn't saved 2018-08-14 12:32:12 +02:00
Shannon 9c84d5e3f9 more work with variants, saving, publishing and validation. 2018-08-14 20:21:33 +10:00
Warren c53d6f1948 Change Logger ctor to take in a Serilog LoggerConfiguration to make it easy to override in code if needed 2018-08-14 11:00:18 +01:00
Warren 31dcded8d6 Moves parts of the Serilog LoggerConfiguration to extensions methods for easier to read & re-use (if someone is attempting to configure the Serilog pipeline in code) 2018-08-14 09:37:29 +01:00
Shannon 758d09cd5c More work on save and publish overlays 2018-08-14 16:29:14 +10:00
Warren 529a5e10d9 Use string.PadRight to be more explicit with what we are doing with the Log4Net level property enricher 2018-08-13 11:26:50 +01:00
Shannon 30d29d9fcf initial commit for save dialog 2018-08-13 16:45:05 +10:00
Shannon e950914fc8 Fixes wiring up server validation when creating content 2018-08-13 12:11:08 +10:00
Shannon 5bd74f90aa cleanup 2018-08-13 11:36:43 +10:00
Shannon 9d5d516064 Fixes up invariant property validation since we were only allowing one callback per alias, but we need to allow multiple 2018-08-13 11:25:55 +10:00
Chris Houston ba682d95dc Small tweaks to the Getting Started tour text. 2018-08-12 01:16:57 -04:00
Warren ee91e8cec2 Nuget still not happy - as this merge contains the recent removal of the umbraco_client folder 2018-08-10 16:50:38 +01:00
Warren 1f9c5a48a7 Fix up .csproj after merge & update CMS.Core nuspec to include the new Serilog nuget packages we've added 2018-08-10 16:44:36 +01:00
Warren 054308b44e Merge remote-tracking branch 'origin/temp8-directive-cleanup' into temp8-serilog 2018-08-10 15:37:50 +01:00
Warren Buckley ac9be3995b Merge pull request #2844 from umbraco/temp8-directive-cleanup
Temp8 directive cleanup
2018-08-10 13:50:13 +01:00
Mads Rasmussen ec139ca16c clean up that windows resizer event 2018-08-10 14:17:12 +02:00
Mads Rasmussen 23e81a67fa fix indention 2018-08-10 14:05:15 +02:00
Mads Rasmussen c7a5786521 remove the deprecaed note 2018-08-10 14:03:39 +02:00
Mads Rasmussen c0ec2a5314 move the auto-scale directive from obsolete. It is still pretty usefull for the code editors 2018-08-10 14:02:59 +02:00
Shannon e41aad78b0 Updates the logic for the normal file upload for clearing files to be the same as the image cropper which makes more sense, now the upload editor also syncs properly with invariant propertes. 2018-08-10 16:52:33 +10:00
Shannon 3932ec0640 Fixes how invariant property are processed during saving on the server side. 2018-08-10 15:39:57 +10:00
Shannon d608daa87b Gets new images syncing between instances on image cropper 2018-08-10 14:48:58 +10:00
Shannon 2d1bda54be Fixes: Deal with invariant property value syncing, componentizes umb-image-gravity, gets the image cropper syncing data correctly, ensures resizing for image cropper is done when variants change. 2018-08-10 13:53:19 +10:00
Shannon 3395e4c150 Fixes allowedFileType JS problem with unit test 2018-08-10 10:31:04 +10:00
Warren 212e0a091a Allows Serilog to be configured in a serilog.user.config file that will not effect the main umbraco logger
Adds in support for filtering expressions - so the user logger configuration can filter by including or excluding on an expression - common use case to include only my namespace from SourceContext thjat starts with xyz
2018-08-09 22:08:40 +01:00
Mads Rasmussen cd6585c9b9 remove detect-fold 2018-08-09 21:12:45 +02:00
Mads Rasmussen a1c4bd6b7a remove umb-content-name 2018-08-09 20:59:10 +02:00
Mads Rasmussen ca85b0e45c remove umb-header 2018-08-09 20:53:44 +02:00
Warren 9446c2a568 Trying with a nested logger config to see if it works better 2018-08-09 19:51:22 +01:00
Mads Rasmussen 48c5e61d88 remove item sorter 2018-08-09 20:50:52 +02:00
Mads Rasmussen 933bb8ad44 remove drag and drop less import 2018-08-09 20:50:30 +02:00
Mads Rasmussen ab90690e17 remove umb-login 2018-08-09 20:41:26 +02:00
Mads Rasmussen 67e0b68b7b remove umb-optionsmenu 2018-08-09 20:39:50 +02:00
Mads Rasmussen c50f7a1284 remove umb-sort 2018-08-09 20:33:48 +02:00
Mads Rasmussen 5ab978ecf5 remove umb-photo-folder 2018-08-09 20:29:17 +02:00
Mads Rasmussen 16ceca1598 remove umb-tab-view 2018-08-09 20:23:20 +02:00
Mads Rasmussen 404055917f remove umb-upload-dropzone 2018-08-09 20:22:11 +02:00
Shannon 2f0f43e605 Gets image cropper working between variants, even with invariant properties, adds unit test to ensure invariant properties in the model are the same reference 2018-08-10 00:39:20 +10:00
Shannon 9183a9987b Updates imagecropper to use our new umb-property-file-upload component which now maintains file state between variant switching 2018-08-09 23:15:42 +10:00
Sebastiaan Janssen fd888cab4b Fixes U4-9095 - the textService.Localize always returns some string, either the translation or [alias] - so we need to make sure it actually translated something 2018-08-09 14:36:08 +02:00
Shannon 6a7b6f7267 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-08-09 19:38:36 +10:00
Shannon f738e6d7c7 Fixes js tests 2018-08-09 19:38:20 +10:00
Shannon 601c30c39a Fixes js tests 2018-08-09 19:34:32 +10:00
Shannon d237fd7e26 Merge branch 'temp8' into temp-variants-with-file-uploads
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/imagecropper/imagecropper.controller.js
2018-08-09 15:27:21 +10:00
leekelleher 0869a9be69 Removed Form.browser
ref: http://issues.umbraco.org/issue/U4-11555

Also removed the referenced classes...

- FormRewriterControlAdapter
- UrlRewriterFormWriter
- LegacyRequestInitializer

These were being used to rewrite the `action` value on rendered `<form runat=server>` tags, (a la WebForms).
2018-08-08 11:32:19 +01:00
leekelleher 79eb9fc2e7 Removed w3cvalidator.browser
ref: http://issues.umbraco.org/issue/U4-11555
2018-08-08 10:34:08 +01:00
leekelleher 92273f263b U4-11556 V8 - Removed metablogConfig.config
http://issues.umbraco.org/issue/U4-11556

For v7, I've marked the `SystemFiles.MetablogConfig` strings as deprecated.
2018-08-08 10:23:14 +01:00
Pavel Budik 3efbb47aed U4-11527 Fix concurrency issue 2018-08-08 10:38:53 +02:00
Shannon 08fe947575 Gets the image cropper posting files correctly 2018-08-07 18:37:55 +10:00
Shannon 96ea95b04a Files are uploading and clearing per variant now with the file upload control 2018-08-07 18:05:30 +10:00
Shannon cd89d016d1 Adds culture to the properties and removes reliance on tabbed-content directive for culture, adds a new directive for file uploads for properties that is more like the image cropper and maintains state when switching between variants. 2018-08-07 17:10:02 +10:00
Shannon bd2414bc49 WIP committing a change for the file upload to convert to a component but will revert because using a directive to get the culture isn't going to work because a property can be invariant so the property itself needs to know it's own culture, not just the culture of the current variant. 2018-08-07 11:41:57 +10:00
James Coxhead 9a774c8f9e Added inactive state for users who haven't logged in 2018-08-02 22:01:45 +01:00
James Coxhead f81dc16210 Specify which user states we want to include when getting all users 2018-08-02 21:55:04 +01:00
James Coxhead c4a787331f Reverted previous commit to show disabled users in the status filter 2018-08-02 21:54:00 +01:00
Warren a0f083a534 More nupkg cleanup & sync with .csproj's 2018-08-01 11:55:57 +01:00
Warren e626fe3c8f Merge branch 'temp8' into temp8-nuget-pkgs 2018-08-01 10:46:00 +01:00
Warren 2ec18d0489 Bit of a hack - adds extra whitespace behind Log4Net Levels in our enricher so that they are all 5 characters in length and logfile aligns nicely as it used to in old Log4Net setup 2018-08-01 10:44:20 +01:00
Warren c59912ce94 Adds in SourceContext property into text log file that was missing - aka C# class/namespace 2018-08-01 10:43:14 +01:00
Warren cfebb335f2 Merge remote-tracking branch 'origin/temp8' into temp8-serilog 2018-08-01 10:34:14 +01:00
Warren b89e7bca97 Adds our Serilog Enricher so that we can map Serilog log levels to Log4Net levels and use it the text log file so that the logfiles still look the same as previously 2018-08-01 10:33:38 +01:00
Warren bfae07b95b Merge remote-tracking branch 'origin/temp8' into temp8-serilog 2018-08-01 08:45:12 +01:00
Warren 7ea85c26a7 Merge remote-tracking branch 'origin/temp8' into temp8-serilog 2018-07-31 22:07:24 +01:00
Warren 1a69297c7e Changes in tests proj to not use Log4Net but Serilog
However not sure how this is used to where the output of the logs was viewed when it was set/configured to console - VS Output Window, VSTS Logs?
2018-07-31 22:03:41 +01:00
Warren eda6c62fcc Minor change so that the text log filenames match better to old log4net style - adds in an extra . between Machine Name and the Date that gets added 2018-07-31 18:08:58 +01:00
Warren 5f226e7874 Adds in MachineName into the logfiles like we did previously 2018-07-31 16:15:07 +01:00
Warren aed9f77f31 Remove log4net from the typefinder tests 2018-07-31 15:44:59 +01:00
Warren 8331abf4a2 Remove log4net from Tests & Benchmark projects 2018-07-31 15:42:20 +01:00
Warren 0c3601435e Removes mention of Log4Net & removes commented out methods 2018-07-31 15:31:43 +01:00
Warren 20d8139399 Merge remote-tracking branch 'origin/temp8' into temp8-serilog 2018-07-31 15:28:47 +01:00
Warren 4392055249 Removes mention of Log4Net & the commented code with it as it's never invoked 2018-07-31 15:27:27 +01:00
Warren a460d48607 Remove mention of Log4Net 2018-07-31 15:26:38 +01:00
Warren 998a7ff406 Merge branch 'temp8' into temp8-serilog 2018-07-31 14:51:50 +01:00
Warren a7fb11ee3b Removed the install.ps1 reference from the core nuspec 2018-07-31 14:43:42 +01:00
Warren cce6fab687 Remove the commented parts from the nuspec in the new web.nuspec 2018-07-31 14:43:00 +01:00
Stephan 0928fc099d Merge branch temp8 into temp8-11502 2018-07-31 15:34:42 +02:00
Stephan f0241a91b2 Post-merge 2018-07-31 14:51:56 +02:00
Stephan 2c66cdc102 Merge branch temp8 into temp8-di2690 2018-07-31 14:50:01 +02:00
Warren 81095fb77d Adds an env variable (set to process level) so that the external config can use it to save files with a relative path 2018-07-31 12:43:26 +01:00
Warren 05196d5aa0 Add Cms.Web to Nuspecs to Verify in build script 2018-07-31 12:19:11 +01:00
Warren d2ae7737b6 Update Powershell Build.ps1 to attempt to pack the Web.nuspec 2018-07-31 11:24:07 +01:00
Warren c65a3c1ffe Add new Web.nuspec into the SLN 2018-07-31 11:23:35 +01:00
Warren 7adf2014d7 UmbracoCms.Web.nuspec added - copied from UmbracoCms.Core.nuspec - with stuff commented out to align with the Web.CSProj ref's 2018-07-31 11:22:56 +01:00
Warren 35c5640d0d Makes the top level nuget package reference UmbracoCms.Web 2018-07-31 11:21:37 +01:00
Warren 216d01d323 Merge branch 'temp8' into temp8-serilog 2018-07-31 11:19:28 +01:00
Warren e886086aed Adds in a new File sink - that will generate a JSON log file in the CLEF format so that it can be imported into a local copy of SEQ to help with filtering/finding log items 2018-07-31 10:21:26 +01:00
Warren 045ece0f70 After latest V8 merge - update the CSProj to remove the files that I nuked earlier 2018-07-31 10:19:04 +01:00
Warren b5f728541a Merge remote-tracking branch 'origin/temp8' into temp8-serilog 2018-07-31 09:51:44 +01:00
Warren 5cacdeafa8 Adds in Serilog.Settings.AppSettings package
Configured to read from a custom .config file location as opposed to root web.config appsettings
Enable Serilog Debugging aka Selflog
2018-07-31 09:50:43 +01:00
Warren bee2c2dd16 Merge remote-tracking branch 'origin/temp8' into temp8-serilog
# Conflicts:
#	src/Umbraco.Web.UI/web.Template.Debug.config
2018-07-30 16:42:15 +01:00
Warren cd2a70a520 Get logger to output as same file as old Log4Net and in same format (only diff currently is the log level type in the log file)
Ensures we use the calling type in the Umbraco ILogger and passes it onto Serilog
2018-07-30 16:36:38 +01:00
Stephan 865d3f6e30 Cleanup and Fix DI 2018-07-30 16:16:10 +02:00
Stephan ec95017e2c Cleanup DI 2018-07-30 14:29:54 +02:00
Stephan 970d0e3324 Merge branch temp8 into temp8-di2690 2018-07-30 14:05:26 +02:00
AndyButland c61f041d06 Added fallback by language option to IPublishedElement and IPublishedProperty 2018-07-28 08:39:12 +02:00
AndyButland 49c6212cb6 Implemented constants, tests and functionality for trying one fallback method and then another 2018-07-28 08:11:48 +02:00
AndyButland b608ea8322 Restored service context as being DIed into PublishedValueFallback.
Whilst only the LocalizationService service is needed, not injecting this via the service context was breaking the unit tests.
If there's a way around this so we can use the mocked ILocalizationService in tests then this change can be reverted.
2018-07-28 07:58:22 +02:00
AndyButland 85bdc8f14d Updated XML documentation on IPublisedValueCallback methods 2018-07-28 07:56:23 +02:00
Lars-Erik Aabech ce490a4c5b Adding null check to avoid nullref exception on 292 in WebSecurity during install. Still getting nullref on line 115 during install. 2018-07-28 01:12:14 +02:00
Lars-Erik Aabech c885f850e9 Container should be registered with itself 2018-07-28 01:05:07 +02:00
Lars-Erik Aabech caa2802c16 Moved creation of container into ContainerFactory 2018-07-27 21:21:21 +02:00
Warren cf47fb99f2 An initial test of seeing if Serilog is setup & can write out to a new file 2018-07-27 16:19:44 +01:00
Warren 5659624879 Adds Serilogs.Sink.File Nuget package 2018-07-27 15:53:24 +01:00
Warren b774330e4f Updates Logger class to implement & call Serilog methods as opposed to Log4Net
Unsure about the methods that take in args - have commented these out for now (Need to talk with Seb or Stephan about this)
2018-07-27 15:49:40 +01:00
Warren f6d81f397d Adds in Serilog & configures it to add in enrichers from the Nuget package & a custom one for the AppDomainAppId 2018-07-27 15:35:08 +01:00
Warren f6c02fb543 Replaces Log4Net Shutdown in UmbracoAppBase Application_End event with Serilog CloseAndFlush- not 100% sure we need to do this as think LightInject tears it down nicely 2018-07-27 15:32:12 +01:00
Warren 0826928ffa Adds in Serilog.Enrichers.Process & Serilog.Enrichers.Thread Nuget Packages
Removes AppDomainTokenConvertor - as we can add to SeriLog via a custom Enrich Property
2018-07-27 15:30:25 +01:00
Warren 9909add9be Adds in Serilog core logging Nuget package to csproj & NuSpec to make build output happy 2018-07-27 14:38:34 +01:00
Warren 182f72a5f8 Rename init logger method to be non specific to what logging framework we use 2018-07-27 14:37:03 +01:00
Warren a3b018c6b5 Remove lots of classes that was specific to extending/configuring Log4Net further 2018-07-27 14:28:58 +01:00
Warren 9dfe53fef8 Log4Net config files removed from disk & CSProj
Removes references to Log4Net from Web.Config's
2018-07-27 14:15:34 +01:00
Warren dca7fb1763 Remove Log4Net from Umbraco.Web.UI AssemblyInfo 2018-07-27 13:59:59 +01:00
Warren ac8d3579be Remove log4net of the types/assemblies to ignore TypeFinding checking in 2018-07-27 13:57:21 +01:00
Warren 6527abffd8 Remove Log4Net from the Core Nuget package Install PowerShell script 2018-07-27 13:53:33 +01:00
Warren e3be68da07 Removes the logic for the Log4Net binding redirect 2018-07-27 13:51:17 +01:00
Warren 20540d9a15 Removes Log4Net NuGet packages & from our NuSpec's for Build scripts 2018-07-27 13:48:29 +01:00
Stephan f7a599b607 Merge branch temp8 into temp8-di2690 2018-07-26 09:59:52 +02:00
Stephan 2b3807ffee Merge branch temp8 into temp8-11502 2018-07-26 09:58:17 +02:00
Stephan a35f67ecef Refactoring 2018-07-24 15:04:30 +02:00
Stephan 053698baf6 Merge branch andyb/u4-11502 into temp8-11502 2018-07-23 15:12:52 +02:00
Stephan 0eb1ba56a4 Comments 2018-07-23 12:19:26 +02:00
Stephan 6d40269ade More cleanup 2018-07-23 11:08:33 +02:00
Stephan d2376bf4e3 Cleanup registrations 2018-07-23 08:56:08 +02:00
AndyButland 1be74589f2 Combined fallback parameters into an array that defines methods and priority to be used. 2018-07-21 15:58:49 +02:00
Stephan a00f2f0bb9 Refactor, fix collection builders, fix tests 2018-07-21 10:47:29 +02:00
AndyButland 695f21eadb Removed unnecessary loop in looking up value from a fall-back language.
Put in a check to abort fall-back if there's a loop in language fall-backs.
2018-07-21 09:41:07 +02:00
AndyButland ecc75bc4c9 Allowed delete of langage via services even if used as a fall-back for other languages, by setting references to null before deleting 2018-07-21 08:24:08 +02:00
Stephan 981152b693 Move IContainer extension methods 2018-07-20 16:39:39 +02:00
Stephan 97da0829a2 Refactor collection builders for IContainer 2018-07-20 16:36:46 +02:00
Stephan 5836cd05cb Abstract container (in progress) 2018-07-20 15:45:01 +02:00
Stephan 5a1bba8a8d Merge branch 'temp8' into temp8-di2690 2018-07-20 11:31:35 +02:00
Stephan 9e9a0d301f Cleanup and Refactor 2018-07-20 09:49:05 +02:00
Shannon 88a7d56a08 gets inline/selection commands in place, things are looking better. 2018-07-20 16:40:31 +10:00
Shannon 829edf5307 removes unecessary skin/theme for tinymce 2018-07-20 16:32:10 +10:00
Shannon ab78242dd6 Grid pre-value fixing and updates tinymce with inline theme for the grid too 2018-07-20 01:30:40 +10:00
Shannon 223d5795c3 wip - newer tinymce, with the inlite/inline theme, updated config file, plenty of fixes, now need more fixes 2018-07-20 00:55:28 +10:00
Stephan e5f09a1420 Fix SqlTemplates concurrency 2018-07-19 15:05:55 +02:00
Stephan b1ef9c5aa8 U4-11502 misc fixes 2018-07-18 12:27:14 +02:00
Stephan b5dc538905 Merge branch 'u4-11502' of https://github.com/AndyButland/Umbraco-CMS into temp8-11502 2018-07-18 11:13:22 +02:00
Stephan fded7db542 Merge branch temp8 into temp8-di 2018-07-18 10:46:42 +02:00
Nathan Woulfe 021b46120c adjust tree node heights when language picker is rendered 2018-07-18 08:47:04 +10:00
Stephan 77083f259d WIP 2018-07-16 14:03:41 +02:00
Nathan Woulfe 53cb961234 for discussion... 2018-07-16 14:36:15 +10:00
Stephan 9341278492 Cleanup CacheHelper 2018-07-13 12:11:00 +02:00
AndyButland 91a0ee2c93 Refactored to object graph reference of fallback language to just use id 2018-07-12 20:52:02 +01:00
Stephan 68d9b19f65 Merge branch temp8 into temp8-di 2018-07-12 19:24:24 +02:00
AndyButland d1a31ad8f8 Removed index from fallback language column 2018-07-12 08:12:54 +01:00
AndyButland 50c5b2ed92 Added test for fallback languages 2018-07-11 22:15:58 +01:00
AndyButland f868bc9589 Added fall back language database migration to UmbracoPlan 2018-07-11 09:23:26 +02:00
AndyButland 11871dc4f7 Changed the services reference in the published value fall back via language implementation to constructor injection 2018-07-08 16:14:58 +02:00
AndyButland aadd843c33 Implemented published value fall back via language 2018-07-08 16:14:58 +02:00
AndyButland 3c13b7bd70 Added and updated tests for fall back languages 2018-07-08 16:14:58 +02:00
AndyButland 4e859cd88b Prevent delete of a language used as a fall-back for another language 2018-07-08 16:14:57 +02:00
AndyButland 8a34ec8864 Prevented creation of circular fall-back language paths. Allowed for update to no fall-back language. 2018-07-08 16:14:57 +02:00
AndyButland 53e96b25f6 Save of fall-back language on create and update of language 2018-07-08 16:14:57 +02:00
AndyButland 660fe2d773 Localised fallback language related messages. Filtered out current languge from list of available fall back languages for selection. 2018-07-08 16:14:57 +02:00
AndyButland 592de8bebc Model, retrieval, mapping and display for fall back language editing 2018-07-08 16:14:47 +02:00
Stephan f678c72c4d DisabledCacheHelper, LightInjectContainer 2018-07-06 18:52:23 +02:00
Stephan 60d73c55d0 Cleanup IContainer 2018-07-06 18:37:35 +02:00
Stephan eb8b3965b8 Split UmbracoModule, UmbracoInjectedModule 2018-07-06 18:37:07 +02:00
Stephan 57d7888740 Merge branch temp8 into temp8-di 2018-07-06 17:49:02 +02:00
James Coxhead 3078be93b6 Remove disabled users option from users list view filter 2018-07-05 21:07:12 +01:00
Stephan 049ff7d882 Merge branch 'temp8' into temp8-u4-11227 2018-06-29 14:29:23 +02:00
Stephan 9bc8ace8db TEMP 2018-06-29 13:17:46 +02:00
Stephan 3bd7eedf03 Merge branch 'temp8-u4-11427-remove-propertyinjection' of https://github.com/lars-erik/Umbraco-CMS into temp8-u4-11227 2018-06-29 09:10:32 +02:00
Lars-Erik Aabech 91a5605341 MembershipHelper presumably working without property injection.
(But OMG! there's nearly no test coverage of Umbraco.Web :O )
2018-06-28 23:28:22 +02:00
Lars-Erik Aabech 3d2810e6b1 Fixes constructor dependency conondrum for MediaFileSystem. It is Completely Broken (tm). Need to review whole lifetime & registration of it. 2018-06-28 22:38:38 +02:00
James Coxhead 0a2fd277a6 U4-11166 Hide disabled users from the users list view 2018-06-28 20:19:02 +01:00
Lars-Erik Aabech 5f2ec566b7 Merge branch 'temp8' into temp8-u4-11427-remove-propertyinjection 2018-06-26 00:37:08 +02:00
Lars-Erik Aabech 49e9514609 Added "Slow" category to several fixtures, cutting test time in half for most regression runs. 2018-06-26 00:33:38 +02:00
Lars-Erik Aabech 3a7d7e370e MediaFileSystem now purely injected.
A bit messy, and probably leaves quite a bit of dead / useless code around that should be deleted.
Needs some manual testing.
2018-06-26 00:26:57 +02:00
Lars-Erik Aabech 34390dec12 Almost got MediaFileSystem in container. 2018-06-20 22:00:41 +02:00
Lars-Erik Aabech 590765e9c6 Tests build >< 2018-06-20 20:00:34 +02:00
Lars-Erik Aabech db2ad87784 Removed named service reference from repo ctors. Now registered with factory method that looks up services by name instead. 2018-06-20 19:57:42 +02:00
Lars-Erik Aabech 7af04b0a2f Tests pass again 2018-06-19 19:59:12 +02:00
Lars-Erik Aabech ea9ab66ba7 Removed an extra using LI. :) 2018-06-19 18:59:57 +02:00
Lars-Erik Aabech e4aca5f5d8 Several property injections removed from Mvc artifacts and base classes 2018-06-19 18:53:25 +02:00
Lars-Erik Aabech 0e37b3b61b ScopeEventDispatcherTest needs IServiceContainer to be registered. 2018-06-19 18:19:10 +02:00
Lars-Erik Aabech e3d77fb012 Current.Container abstracted. Builds, but fails for collection builder tests. 2018-06-16 13:13:29 +02:00
Lars-Erik Aabech 9b1bd3be60 UmbracoModule parameterless ctor removed.
More notes / fixme.
2018-06-14 19:14:39 +02:00
Lars-Erik Aabech a8c5cd425d DataTypeValidateAttribute now uses bastard injection.
Notes on the UmbracoModule.
Need to abstract resolving via Current.Container to remove LightInject refs.
2018-06-14 18:46:25 +02:00
Lars-Erik Aabech 4c201bcaaa HttpModules able to get injection. UmbracoModule + rest (if implemented) gets dependencies injected through ContainerUmbracoModule. 2018-06-12 23:12:44 +02:00
Morten Christensen f5b017ed67 Updates sql to include current schema in queries 2018-06-08 10:44:11 +02:00
Claus 08bf48b8b7 adding the fix for content controller - to support when uploads are done via content. 2018-04-05 11:04:56 +02:00
Claus 8ddda5868e fixes U4-10816 Umbraco V7.7.1 - Media - File upload taking full path 2018-04-05 10:41:08 +02:00
Ronald Barendse 477761a81a Added property editor alias to PreValueDisplayResolver warning and updated key lookup 2018-03-22 10:41:14 +01:00
Nathalie Festin 4512cf0145 Filtering items 'Allow items of type' in mini list view in MNTP 2018-03-11 20:49:43 +01:00
Nathalie Festin 38e9a3d2ee Bug in exclude - Dialogoption.filter 2018-03-11 20:41:51 +01:00
Peter Duncanson 13f42773d7 Added web.config to fonts folder to allow for caching out of the box 2018-03-06 17:02:16 +00:00
Steve Fawcett 71d3c1112e Fix: TinyMCE overlay was showing in front of login overlay 2018-02-27 17:48:53 +00:00
Maciej Sadowski 5bfac6c5b4 fix x alignment in colorpicker in umbraco skin 2018-02-27 09:23:35 +01:00
Shannon 0aa930d1c9 manifest dashboard code 2018-02-23 11:00:03 +10:00
Dennis Öhman ebae69d00c U4-10962 - Disable stickyheader when nested, fix margins when disabled 2018-02-11 16:58:46 +01:00
Anders Bjerner a8ea535bb2 "Select editor" items shouldn't have a max height 2018-01-22 18:52:54 +01:00
Eyescream 3b231f5138 Update fileupload.controller.js
Uploading a file with a comma in it resulted in an error (because server side there was a split on the comma character). The comma later was replaced with a dash, so it's safe to replace it before sending it to the server.
2017-07-28 15:49:07 +02:00
David Peck 1ece576825 Merge branch 'dev-v7' of https://github.com/umbraco/Umbraco-CMS into U4-8550
Conflicts:
	src/Umbraco.Web.UI/config/umbracoSettings.config
2017-05-30 23:13:33 +01:00
David Peck a2611ce35f Changed the name of IsTemplateAllowed to IsAllowedTemplate to reflect the usage elsewhere and changed the overload of IsAllowedTemplate with the alias parameter to use the template id version to be more DRY 2017-05-30 22:39:26 +01:00
David Peck 7a89580db2 Merge branch 'dev-v7' into U4-8550 2016-11-08 21:06:39 +00:00
David Peck a031551fb2 Rationalised changes in whitespace, to reduce the differences in the PR 2016-11-08 17:59:30 +00:00
David Peck 69728fb5c4 Changed Allowed Templates setting to be validate templates which checks url only 2016-11-08 08:27:18 +00:00
David Peck afd91f8adb Added ability to only allow templates what are allowed by the document type 2016-11-03 16:25:45 +00:00
Patrick Scott d99d5a0b36 Issue U4-5572 convert file name to friendly media item name 2016-11-03 14:30:57 +00:00
3425 changed files with 110053 additions and 136885 deletions
+11 -1
View File
@@ -27,4 +27,14 @@ dotnet_naming_symbols.private_fields.applicable_kinds = field
dotnet_naming_symbols.private_fields.applicable_accessibilities = private
dotnet_naming_style.prefix_underscore.capitalization = camel_case
dotnet_naming_style.prefix_underscore.required_prefix = _
dotnet_naming_style.prefix_underscore.required_prefix = _
# https://github.com/MicrosoftDocs/visualstudio-docs/blob/master/docs/ide/editorconfig-code-style-settings-reference.md
[*.cs]
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
csharp_style_var_elsewhere = true:suggestion
csharp_prefer_braces = false : none
[*.{js,less}]
trim_trailing_whitespace = false
View File
View File
@@ -17,7 +17,7 @@ Assume positive intent and try to understand before being understood.
Treat others as you would like to be treated.
This also goes for treating the HQ with respect. For example: dont promote products on [our.umbraco.org](https://our.umbraco.org) that directly compete with our commercial offerings which enables us to work for a sustainable Umbraco.
This also goes for treating the HQ with respect. For example: dont promote products on [our.umbraco.com](https://our.umbraco.com) that directly compete with our commercial offerings which enables us to work for a sustainable Umbraco.
## Open
@@ -1,4 +1,4 @@
_Looking for Umbraco version 8? [Click here](https://github.com/umbraco/Umbraco-CMS/blob/temp8/docs/CONTRIBUTING.md) to go to the v8 branch_
_Looking for Umbraco version 8? [Click here](https://github.com/umbraco/Umbraco-CMS/blob/dev-v8/.github/V8_GETTING_STARTED.md) to go to the v8 branch_
# Contributing to Umbraco CMS
👍🎉 First off, thanks for taking the time to contribute! 🎉👍
@@ -16,9 +16,9 @@ This document gives you a quick overview on how to get started, we will link to
## Guidelines for contributions we welcome
Not all changes are wanted so on occassion we might close a PR without merging it. We will give you feedback why we can't accept your changes and we'll be nice about it, thanking you for spending your valueable time.
Not all changes are wanted, so on occassion we might close a PR without merging it. We will give you feedback why we can't accept your changes and we'll be nice about it, thanking you for spending your valuable time.
We have [documented what we consider small and large changes](CONTRIBUTION_GUIDELINES.md), make sure to talk to us before making large changes.
We have [documented what we consider small and large changes](CONTRIBUTION_GUIDELINES.md). Make sure to talk to us before making large changes.
Remember, if an issue is in the `Up for grabs` list or you've asked for some feedback before you sent us a PR, your PR will not be closed as unwanted.
@@ -36,7 +36,7 @@ Great question! The short version goes like this:
* **Build** - build your fork of Umbraco locally as described in [building Umbraco from source code](BUILD.md)
* **Change** - make your changes, experiment, have fun, explore and learn, and don't be afraid. We welcome all contributions and will [happily give feedback](#questions)
* **Commit** - done? Yay! 🎉 It is recommended to create a new branch now and name it after the issue you're fixing, we usually follow the format: `temp-U4-12345`. This means it's a temporary branch for the particular issue you're working on, in this case `U4-12345`
* **Commit** - done? Yay! 🎉 It is recommended to create a new branch now and name it after the issue you're fixing, we usually follow the format: `temp-12345`. This means it's a temporary branch for the particular issue you're working on, in this case `12345`
* **Push** - great, now you can push the changes up to your fork on GitHub
* **Create pull request** - exciting! You're ready to show us your changes (or not quite ready, you just need some feedback to progress). GitHub has picked up on the new branch you've pushed and will offer to create a Pull Request. Click that green button and away you go.
@@ -72,7 +72,6 @@ The pull request team consists of a member of Umbraco HQ, [Sebastiaan](https://g
- [Anders Bjerner](https://github.com/abjerner)
- [Dave Woestenborghs](https://github.com/dawoe)
- [Emma Burstow](https://github.com/emmaburstow)
- [Kyle Weems](https://github.com/cssquirrel)
- [Poornima Nayar](https://github.com/poornimanayar)
These wonderful volunteers will provide you with a first reply to your PR, review and test out your changes and might ask more questions. After that they'll let Umbraco HQ know if everything seems okay.
@@ -82,8 +81,7 @@ These wonderful volunteers will provide you with a first reply to your PR, revie
You can get in touch with [the PR team](#the-pr-team) in multiple ways, we love open conversations and we are a friendly bunch. No question you have is stupid. Any questions you have usually helps out multiple people with the same question. Ask away:
- If there's an existing issue on the issue tracker then that's a good place to leave questions and discuss how to start or move forward
- Unsure where to start? Did something not work as expected? Try leaving a note in the ["Contributing to Umbraco"](https://our.umbraco.org/forum/contributing-to-umbraco-cms/) forum, the team monitors that one closely
- We're also [active in the Gitter chatroom](https://gitter.im/umbraco/Umbraco-CMS)
- Unsure where to start? Did something not work as expected? Try leaving a note in the ["Contributing to Umbraco"](https://our.umbraco.com/forum/contributing-to-umbraco-cms/) forum, the team monitors that one closely
## Code of Conduct
@@ -19,19 +19,19 @@ When contributing code to Umbraco there's plenty of things you'll want to know,
* [What branch should I target for my contributions?](#what-branch-should-i-target-for-my-contributions)
* [Building Umbraco from source code](#building-umbraco-from-source-code)
* [Keeping your Umbraco fork in sync with the main repository](#keeping-your-umbraco-fork-in-sync-with-the-main-repository)
## How Can I Contribute?
### Reporting Bugs
This section guides you through submitting a bug report for Umbraco CMS. Following these guidelines helps maintainers and the community understand your report 📝, reproduce the behavior 💻 💻, and find related reports 🔎.
Before creating bug reports, please check [this list](#before-submitting-a-bug-report) as you might find out that you don't need to create one. When you are creating a bug report, please [include as many details as possible](#how-do-i-submit-a-good-bug-report). Fill out [the required template](http://issues.umbraco.org/issues#newissue=61-30118), the information it asks for helps us resolve issues faster.
Before creating bug reports, please check [this list](#before-submitting-a-bug-report) as you might find out that you don't need to create one. When you are creating a bug report, please [include as many details as possible](#how-do-i-submit-a-good-bug-report). Fill out [the required template](https://github.com/umbraco/Umbraco-CMS/issues/new/choose), the information it asks for helps us resolve issues faster.
> **Note:** If you find a **Closed** issue that seems like it is the same thing that you're experiencing, open a new issue and include a link to the original issue in the body of your new one.
##### Before Submitting A Bug Report
* Most importantly, check **if you can reproduce the problem** in the [latest version of Umbraco](https://our.umbraco.org/download/). We might have already fixed your particular problem.
* Most importantly, check **if you can reproduce the problem** in the [latest version of Umbraco](https://our.umbraco.com/download/). We might have already fixed your particular problem.
* It also helps tremendously to check if the issue you're experiencing is present in **a clean install** of the Umbraco version you're currently using. Custom code can have side-effects that don't occur in a clean install.
* **Use the Google**. Whatever you're experiencing, Google it plus "Umbraco" - usually you can get some pretty good hints from the search results, including open issues and further troubleshooting hints.
* If you do find and existing issue has **and the issue is still open**, add a comment to the existing issue if you have additional information. If you have the same problem and no new info to add, just "star" the issue.
@@ -52,7 +52,7 @@ Provide more context by answering these questions:
Include details about your configuration and environment:
* **Which version of Umbraco are you using?**
* **Which version of Umbraco are you using?**
* **What is the environment you're using Umbraco in?** Is this a problem on your local machine or on a server. Tell us about your configuration: Windows version, IIS/IISExpress, database type, etc.
* **Which packages do you have installed?**
@@ -65,13 +65,11 @@ Most of the suggestions in the [reporting bugs](#reporting-bugs) section also co
Some additional hints that may be helpful:
* **Include screenshots and animated GIFs** which help you demonstrate the steps or point out the part of Umbraco which the suggestion is related to.
* **Explain why this enhancement would be useful to most Umbraco users** and isn't something that can or should be implemented as a [community package](https://our.umbraco.org/projects/).
* **Explain why this enhancement would be useful to most Umbraco users** and isn't something that can or should be implemented as a [community package](https://our.umbraco.com/projects/).
### Your First Code Contribution
Unsure where to begin contributing to Umbraco? You can start by looking through [these `Up for grabs` and issues](http://issues.umbraco.org/issues/U4?q=%28project%3A+%7BU4%7D+Difficulty%3A+%7BVery+Easy%7D+%23Easy+%23Unresolved+Priority%3A+Normal+%23Major+%23Show-stopper+State%3A+-%7BIn+Progress%7D+sort+by%3A+votes+Affected+versions%3A+-6.*+Affected+versions%3A+-4.*%29+OR+%28tag%3A+%7BUp+For+Grabs%7D+%23Unresolved+%29).
The issue list is sorted by total number of upvotes. While not perfect, number of upvotes is a reasonable proxy for impact a given change will have.
Unsure where to begin contributing to Umbraco? You can start by looking through [these `Up for grabs` and issues](https://issues.umbraco.org/issues?q=&project=U4&tagValue=upforgrabs&release=&issueType=&search=search) or on the [new issue tracker](https://github.com/umbraco/Umbraco-CMS/issues?q=is%3Aopen+is%3Aissue+label%3Acommunity%2Fup-for-grabs).
### Pull Requests
@@ -80,9 +78,9 @@ The most successful pull requests usually look a like this:
* Fill in the required template
* Include screenshots and animated GIFs in your pull request whenever possible.
* Unit tests, while optional are awesome, thank you!
* New code is commented with documentation from which [the reference documentation](https://our.umbraco.org/documentation/Reference/) is generated
* New code is commented with documentation from which [the reference documentation](https://our.umbraco.com/documentation/Reference/) is generated
Again, these are guidelines, not strict requirements.
Again, these are guidelines, not strict requirements.
## Making changes after the PR was opened
@@ -92,7 +90,7 @@ If you make the corrections we ask for in the same branch and push them to your
To be honest, we don't like rules very much. We trust you have the best of intentions and we encourage you to create working code. If it doesn't look perfect then we'll happily help clean it up.
That said, the Umbraco development team likes to follow the hints that ReSharper gives us (no problem if you don't have this installed) and we've added a `.editorconfig` file so that Visual Studio knows what to do with whitespace, line endings, etc.
That said, the Umbraco development team likes to follow the hints that ReSharper gives us (no problem if you don't have this installed) and we've added a `.editorconfig` file so that Visual Studio knows what to do with whitespace, line endings, etc.
## What should I know before I get started?
@@ -106,7 +104,6 @@ There's two big areas that you should know about:
You may need to run the following commands to set up gulp properly:
```
npm cache clean
npm install -g bower
npm install -g gulp
npm install -g gulp-cli
npm install
@@ -116,8 +113,8 @@ There's two big areas that you should know about:
To find the general areas of something you're looking to fix or improve, have a look at the following two parts of the API documentation.
* [The AngularJS based backoffice files](https://our.umbraco.org/apidocs/ui/#/api) (to be found in `src\Umbraco.Web.UI.Client\src`)
* [The rest](https://our.umbraco.org/apidocs/csharp/)
* [The AngularJS based backoffice files](https://our.umbraco.com/apidocs/ui/#/api) (to be found in `src\Umbraco.Web.UI.Client\src`)
* [The rest](https://our.umbraco.com/apidocs/csharp/)
### What branch should I target for my contributions?
@@ -127,9 +124,15 @@ We like to use [Gitflow as much as possible](https://jeffkreeftmeijer.com/git-fl
### Building Umbraco from source code
In order to build the Umbraco source code locally, first make sure you have the following installed.
* Visual Studio 2017 v15.3+
* Node v10+ (Installed via `build.bat` script. If you already have it installed, make sure you're running at least v10)
* npm v6.4.1+ (Installed via `build.bat` script. If you already have it installed, make sure you're running at least v6.4.1)
The easiest way to get started is to run `build.bat` which will build both the backoffice (also known as "Belle") and the Umbraco core. You can then easily start debugging from Visual Studio, or if you need to debug Belle you can run `gulp dev` in `src\Umbraco.Web.UI.Client`. See [this page](BUILD.md) for more details.
Alternatively, you can open `src\umbraco.sln` in Visual Studio 2017 ([the community edition is free](https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=Community&rel=15) for you to use to contribute to Open Source projects). In Visual Studio, find the Task Runner Explorer (in the View menu under Other Windows) and run the build task under the gulpfile.
Alternatively, you can open `src\umbraco.sln` in Visual Studio 2017 (version 15.3 or higher, [the community edition is free](https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=Community&rel=15) for you to use to contribute to Open Source projects). In Visual Studio, find the Task Runner Explorer (in the View menu under Other Windows) and run the build task under the gulpfile.
![Gulp build in Visual Studio](img/gulpbuild.png)
@@ -156,4 +159,4 @@ git rebase upstream/dev-v7
In this command we're syncing with the `dev-v7` branch, but you can of course choose another one if needed.
(More info on how this works: [http://robots.thoughtbot.com/post/5133345960/keeping-a-git-fork-updated](http://robots.thoughtbot.com/post/5133345960/keeping-a-git-fork-updated))
(More info on how this works: [http://robots.thoughtbot.com/post/5133345960/keeping-a-git-fork-updated](http://robots.thoughtbot.com/post/5133345960/keeping-a-git-fork-updated))
@@ -13,7 +13,7 @@ Were usually able to handle small PRs pretty quickly. A community volunteer w
Umbraco HQ will regularly mark newly created issues on the issue tracker with the `Up for grabs` tag. This means that the proposed changes are wanted in Umbraco but the HQ does not have the time to make them at this time. These issues are usually small enough to fit in the "Small PRs" category and we encourage anyone to pick them up and help out.
If you do start working on something, make sure leave a small comment on the issue saying something like: "I'm working on this". That way other people stumbling upon the issue know they don't need to pick it up, someone already has.
If you do start working on something, make sure to leave a small comment on the issue saying something like: "I'm working on this". That way other people stumbling upon the issue know they don't need to pick it up, someone already has.
## Large PRs
New features and large refactorings - can be recognized by seeing a large number of changes, plenty of new files, updates to package manager files (NuGets packages.config, NPMs packages.json, etc.).
@@ -30,4 +30,4 @@ If a larger pull request is encouraged by Umbraco HQ, the process will be simila
If it doesnt fit in CMS right now, we will likely encourage you to make it into a package instead. A package is a great way to check out popularity of a feature, learn how people use it, validate good usability and to fix bugs.
Eventually, a package could "graduate" to be included in the CMS.
Eventually, a package could "graduate" to be included in the CMS.
+66
View File
@@ -0,0 +1,66 @@
---
name: 🐛 Bug Report
about: File a bug report, if you've discovered a problem in Umbraco.
---
A brief description of the issue goes here.
<!--
If you haven't yet done so, please read the "contributing guidelines"
thoroughly. Then, proceed by filling out the rest of the details in the issue
template below. The more details you can give us, the easier it will be for us
to determine the cause of a problem.
See: https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/.github/CONTRIBUTING.md
-->
Reproduction
------------
If you're filing a bug, please describe how to reproduce it. Include as much
relevant information as possible, such as:
### Bug summary
<!--
* Write a short summary of the bug
* Try to pinpoint it as much as possible
* Try to state the _actual problem_, and not just what you _think_ the
solution might be.
-->
### Specifics
<!--
* Mention the URL where this bug occurs, if applicable
* What version of Umbraco are you using (down to the very last digit!)
* What browser and version you are using
* Please mention if you've checked it in other browsers as well
* Please include *full error messages* and *screenshots* if possible
-->
### Steps to reproduce
<!--
* Clearly mention the steps to reproduce the bug
-->
### Expected result
<!--
* What did you _expect_ that would happen on your Umbraco site?
* Describe the intended/desired outcome after you did the steps mentioned.
-->
### Actual result
<!--
* What is the actual result of the above steps?
* Describe the behaviour of the bug
* Please, please include **error messages** and screenshots. They might mean
nothing to you, but they are _very_ helpful to us.
-->
@@ -0,0 +1,31 @@
---
name: 📮 Feature Request
about: Open a feature request, if you want to propose a new feature.
---
A brief description of your feature request goes here.
<!--
If you want to discuss the feature you're imagining, please make sure to keep
those discussions on the forum at https://our.umbraco.com/ (choose the
category "Contributing to Umbraco", Umbraco HQ follows all new topics there).
Once you've come to a conclusion in the discussion, feel free to propose the
new feature here.
-->
How can you help?
-------------------------------
<!--
The resources (read: available time and effort) of Umbraco's core team are
limited.
If we can not work on your suggestion, please don't take it personally. Most
likely, it's either:
- We think your idea is valid, but we can't find the time to work on it.
- Your idea might be better suited as a package, if it's not suitable for
the majority of users.
-->
@@ -0,0 +1,9 @@
---
name: ⁉️ Support Question
about: Having trouble with Umbraco? -> https://our.umbraco.com
---
This issue tracker is NOT meant for support questions. If you have a question,
please join us on the forum at https://our.umbraco.com.
Thanks!
@@ -0,0 +1,9 @@
---
name: 📖 Documentation Issue
about: See https://github.com/umbraco/UmbracoDocs/issues for documentation issues
---
The Umbraco documentation has its own dedicated repository. Please open your
documentation-related issue at https://github.com/umbraco/UmbracoDocs/issues
Thanks!
@@ -0,0 +1,31 @@
---
name: 🔐 Security Issue
about: Discovered a Security Issue in Umbraco?
---
⚠️ PLEASE DON'T DISCLOSE SECURITY-RELATED ISSUES PUBLICLY, SEE BELOW.
If you have found a security issue in Umbraco, please send the details to
security@umbraco.com and don't disclose it publicly until we can provide a fix for
it. If you wish, we'll credit you for finding verified issues, when we release
the patched version.
❗ Please read more about how to report security issues on https://umbraco.com/security
A note on "Self XSS"
--------------------
Umbraco is a CMS, that allows users to edit content on a website. As such,
all _authenticated users_ can:
- Edit content, and (depending on the field types) insert HTML and CSS in that
content, with a variety of allowed attributes.
- Depending on the user level: Edit template files, and insert C#, HTML, CSS and
javascript in so on.
- Upload files to the site, which will become publicly available.
We see these functionalities as _features_, and not as security issues. Please
report the mentioned items only if they can be performed by non-authorized
users, or other exploitable vulnerabilities.
Thanks!
+12
View File
@@ -0,0 +1,12 @@
### Prerequisites
- [ ] I have added steps to test this contribution in the description below
If there's an existing issue for this PR then this fixes: <!-- link to the issue here! -->
### Description
<!-- A description of the changes proposed in the pull-request and how to test these changes -->
<!-- Thanks for contributing to Umbraco CMS! -->
+64
View File
@@ -0,0 +1,64 @@
[![Build status](https://umbraco.visualstudio.com/Umbraco%20Cms/_apis/build/status/Cms%208%20Continuous?branchName=dev-v8)](https://umbraco.visualstudio.com/Umbraco%20Cms/_build?definitionId=75) [![pullreminders](https://pullreminders.com/badge.svg)](https://pullreminders.com?ref=badge)
_You are browsing the Umbraco v8 branch. Umbraco 8 is currently under development._
_Looking for Umbraco version 7? [Click here](https://github.com/umbraco/Umbraco-CMS/tree/dev-v7) to go to the v7 branch._
_Ready to try out Version 8? [See the quick start guide](V8_GETTING_STARTED.md)._
When is Umbraco 8 coming?
=========================
When it's ready. We're done with the major parts of the architecture work and are focusing on three separate tracks to prepare Umbraco 8 for release:
1) Editor Track (_currently in progress_). Without editors, there's no market for Umbraco. So we want to make sure that Umbraco 8 is full of love for editors.
2) Partner Track. Without anyone implementing Umbraco, there's nothing for editors to update. So we want to make sure that Umbraco 8 is a joy to implement
3) Contributor Track. Without our fabulous ecosystem of both individual Umbracians and 3rd party ISVs, Umbraco wouldn't be as rich a platform as it is today. We want to make sure that it's easy, straight forward and as backwards-compatible as possible to create packages for Umbraco
Once a track is done, we start releasing previews where we ask people to test the features we believe are ready. While the testing is going on and we gather feedback, we move on to the next track. This doesn't mean that there hasn't already been work done in the area, but that a track focuses on finalizing, polishing and preparing the features for release.
Umbraco CMS
===========
The friendliest, most flexible and fastest growing ASP.NET CMS, and used by more than 443,000 websites worldwide: [https://umbraco.com](https://umbraco.com)
[![ScreenShot](img/vimeo.png)](https://vimeo.com/172382998/)
## Umbraco CMS
Umbraco is a free open source Content Management System built on the ASP.NET platform. Our mission is to help you deliver delightful digital experiences by making Umbraco friendly, simpler and social.
## Watch an introduction video
[![ScreenShot](https://shop.umbraco.com/images/whatisumbraco.png)](https://umbraco.tv/videos/umbraco-v7/content-editor/basics/introduction/cms-explanation/)
## Umbraco - The Friendly CMS
For the first time on the Microsoft platform, there is a free user- and developer-friendly CMS that makes it quick and easy to create websites - and a breeze to build complex web applications. Umbraco has award-winning integration capabilities and supports ASP.NET MVC or Web Forms, including User and Custom Controls, right out of the box.
Umbraco is not only loved by developers, but is a content editor's dream. Enjoy intuitive editing tools, media management, responsive views, and approval workflows to send your content live.
Used by more than 443,000 active websites including Carlsberg, Segway, Amazon and Heinz and **The Official ASP.NET and IIS.NET website from Microsoft** ([https://asp.net](https://asp.net) / [https://iis.net](https://iis.net)), you can be sure that the technology is proven, stable and scalable. Backed by the team at Umbraco HQ, and supported by a dedicated community of over 220,000 craftspeople globally, you can trust that Umbraco is a safe choice and is here to stay.
To view more examples, please visit [https://umbraco.com/case-studies-testimonials/](https://umbraco.com/case-studies-testimonials/)
## Why Open Source?
As an Open Source platform, Umbraco is more than just a CMS. We are transparent with our roadmap for future versions, our incremental sprint planning notes are publicly accessible, and community contributions and packages are available for all to use.
## Trying out Umbraco CMS
[Umbraco Cloud](https://umbraco.com/cloud) is the easiest and fastest way to use Umbraco yet, with full support for all your custom .NET code and integrations. You're up and running in less than a minute, and your life will be made easier with automated upgrades and a built-in deployment engine. We offer a free 14-day trial, no credit card needed.
If you want to DIY, you can [download Umbraco](https://our.umbraco.com/download) either as a ZIP file or via NuGet. It's the same version of Umbraco CMS that powers Umbraco Cloud, but you'll need to find a place to host it yourself, and handling deployments and upgrades will be all up to you.
## Community
Our friendly community is available 24/7 at the community hub we call ["Our Umbraco"](https://our.umbraco.com). Our Umbraco features forums for questions and answers, documentation, downloadable plugins for Umbraco, and a rich collection of community resources.
## Contribute to Umbraco
Umbraco is contribution-focused and community-driven. If you want to contribute back to Umbraco, please check out our [guide to contributing](CONTRIBUTING.md).
## Found a bug?
Another way you can contribute to Umbraco is by providing issue reports. For information on how to submit an issue report refer to our [online guide for reporting issues](CONTRIBUTING_DETAILED.md#reporting-bugs).
You can comment and report issues on the [github issue tracker](https://github.com/umbraco/Umbraco-CMS/issues).
Since [September 2018](https://umbraco.com/blog/a-second-take-on-umbraco-issue-tracker-hello-github-issues/), the old issue tracker is in read-only mode, but can still be found at [http://issues.umbraco.org](http://issues.umbraco.org).
@@ -5,13 +5,13 @@
* [Visual Studio 2017 Community (Free)](https://www.visualstudio.com/vs/community/), or Professional, Enterprise, etc... _(**Minimum of Version 15.7** or higher, this is important, you WILL get issues with lesser versions)_
* .NET Framework 4.7.2 installed, get it here: https://www.microsoft.com/net/download/thank-you/net472?survey=false
* .NET Framework 4.7.2 developer pack, get it here: https://www.microsoft.com/net/download/thank-you/net472-developer-pack _(be sure this is the ENU file which will be named `NDP472-DevPack-ENU.exe`)_
* Clone the Umbraco repository using the `temp8` branch. If your git client doesn't support specifying the branch as you clone then use the command `git clone --single-branch -b temp8 <your fork url>`. _(If you clone the repo using the default v7 branch and then checkout the `temp8` branch you **might** get problems)_
* Clone the Umbraco repository using the `dev-v8` branch. If your git client doesn't support specifying the branch as you clone then use the command `git clone --single-branch -b dev-v8 <your fork url>`. _(If you clone the repo using the default v7 branch and then checkout the `dev-v8` branch you **might** get problems)_
### Start the solution
* Open the `/src/umbraco.sln` Visual Studio solution
* Start the solution (easiest way is to use `ctrl + F5`)
* When the solution is first built this may take some time since it will restore all nuget, npm and bower packages, build the .net solution and also build the angular solution
* When the solution is first built this may take some time since it will restore all nuget and npm packages, build the .net solution and also build the angular solution
* When the website starts you'll see the Umbraco installer and just follow the prompts
* You're all set!
@@ -23,7 +23,7 @@ We recommend running the site with the Visual Studio since you'll be able to rem
### Making code changes
* _[The process for making code changes in v8 is the same as v7](https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/docs/CONTRIBUTING.md)_
* _[The process for making code changes in v8 is the same as v7](https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/.github/CONTRIBUTING.md)_
* Any .NET changes you make you just need to compile
* Any Angular/JS changes you make you will need to make sure you are running the Gulp build. Easiest way to do this is from within Visual Studio in the `Task Runner Explorer`. You can find this window by pressing `ctrl + q` and typing in `Task Runner Explorer`. In this window you'll see all Gulp tasks, double click on the `dev` task, this will compile the angular solution and start a file watcher, then any html/js changes you make are automatically built.
* When making js changes, you should have the chrome developer tools open to ensure that cache is disabled
@@ -33,5 +33,5 @@ We recommend running the site with the Visual Studio since you'll be able to rem
We are keeping track of [known issues and limitations here](http://issues.umbraco.org/issue/U4-11279). These line items will eventually be turned into actual tasks to be worked on. Feel free to help us keep this list updated if you find issues and even help fix some of these items. If there is a particular item you'd like to help fix please mention this on the task and we'll create a sub task for the item to continue discussion there.
There's [a list of tasks for v8 that haven't been completed](http://issues.umbraco.org/issues/U4?q=Due+in+version%3A+8.0.0+%23Unresolved+). If you are interested in helping out with any of these please mention this on the task. This list will be constantly updated as we begin to document and design some of the other tasks that still need to get done.
There's [a list of tasks for v8 that haven't been completed](https://github.com/umbraco/Umbraco-CMS/labels/release%2F8.0.0). If you are interested in helping out with any of these please mention this on the task. This list will be constantly updated as we begin to document and design some of the other tasks that still need to get done.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

+163 -158
View File
@@ -1,158 +1,163 @@
#
# Umbraco Cms Git Ignore
#
# common files
*.obj
*.pdb
*.user
*.aps
*.pch
*.vspscc
*.orig
*.suo
*.vs10x
*.ndproj
# common directories
.DS_Store
._.DS_Store
.vs/
/local/
# build directories
[Bb]in/
[Db]ebug*/
[Rr]elease*/
obj/
# tools
_ReSharper*/
_NCrunch_*/
*.ncrunchsolution
*.ncrunchsolution.user
*.ncrunchproject
*.crunchsolution.cache
tools/NDepend/
[Tt]est[Rr]esult*
[Bb]uild[Ll]og.*
*.[Pp]ublish.xml
[sS]ource
[sS]andbox
umbraco.config
App_Data/TEMP/*
[Uu]mbraco/[Pp]resentation/[Uu]mbraco/[Pp]lugins/*
[Uu]mbraco/[Pp]resentation/[Uu]ser[Cc]ontrols/*
[Uu]mbraco/[Pp]resentation/[Ss]cripts/*
[Uu]mbraco/[Pp]resentation/[Ff]onts/*
[Uu]mbraco/[Pp]resentation/[Cc]ss/*
src/Umbraco.Web.UI/[Cc]ss/*
src/Umbraco.Web.UI/App_Code/*
src/Umbraco.Web.UI/App_Data/*
src/Umbraco.Tests/App_Data/*
src/Umbraco.Web.UI/[Mm]edia/*
src/Umbraco.Web.UI/[Mm]aster[Pp]ages/*
src/Umbraco.Web.UI/[Mm]acro[Ss]cripts/*
!src/Umbraco.Web.UI/[Mm]acro[Ss]cripts/[Ww]eb.[Cc]onfig
src/Umbraco.Web.UI/[Xx]slt/*
src/Umbraco.Web.UI/[Ii]mages/*
src/Umbraco.Web.UI/[Ss]cripts/*
src/Umbraco.Web.UI/Web.*.config.transformed
umbraco/presentation/umbraco/plugins/uComponents/uComponentsInstaller.ascx
umbraco/presentation/packages/uComponents/MultiNodePicker/CustomTreeService.asmx
src/Umbraco.Tests/config/applications.config
src/Umbraco.Tests/config/trees.config
src/Umbraco.Web.UI/web.config
src/Umbraco.Web.UI/[Cc]onfig/ClientDependency.config
src/Umbraco.Tests/config/404handlers.config
src/Umbraco.Web.UI/[Vv]iews/*.cshtml
src/Umbraco.Web.UI/[Vv]iews/*.vbhtml
src/Umbraco.Tests/[Cc]onfig/umbracoSettings.config
src/Umbraco.Web.UI/[Vv]iews/*
src/packages/
src/packages/repositories.config
src/Umbraco.Web.UI/[Ww]eb.config
*.transformed
node_modules
lib-bower
src/Umbraco.Web.UI/[Uu]mbraco/[Ll]ib/*
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/umbraco.*
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/*.loader.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/init.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/routes.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/app.dev.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/loader.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/loader.dev.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/main.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/app.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/canvasdesigner.*.js
src/Umbraco.Web.UI/[Uu]mbraco/[Vv]iews/
src/Umbraco.Web.UI/[Uu]mbraco/[Vv]iews/**/*.js
src/Umbraco.Web.UI/[Uu]mbraco/[Vv]iews/**/*.css
src/Umbraco.Web.UI/[Uu]mbraco/[Vv]iews/**/*.html
src/Umbraco.Web.UI/[Uu]mbraco/[Aa]ssets/*
src/Umbraco.Web.UI.Client/[Bb]uild/*
src/Umbraco.Web.UI.Client/[Bb]uild/[Bb]elle/
src/Umbraco.Web.UI/[Uu]ser[Cc]ontrols/
src/Umbraco.Web.UI.Client/src/[Ll]ess/*.css
src/Umbraco.Web.UI/App_Plugins/*
src/*.psess
src/*.vspx
NDependOut/*
QueryResult.htm
src/Umbraco.Web.UI/[Cc]onfig/appSettings.config
src/Umbraco.Web.UI/[Cc]onfig/connectionStrings.config
src/Umbraco.Web.UI/[Uu]mbraco/plugins/*
build/ApiDocs/*
build/ApiDocs/Output/*
src/Umbraco.Web.UI.Client/bower_components/*
/src/Umbraco.Web.UI/[Uu]mbraco/preview
/src/Umbraco.Web.UI/[Uu]mbraco/preview.old
# ignore rule for clearing out Belle (avoid rebuilding all the time)
preserve.belle
#Ignore Rule for output of generated documentation files from Grunt docserve
src/Umbraco.Web.UI.Client/docs/api
src/*.boltdata/
src/umbraco.sln.ide/*
src/.vs/
src/Umbraco.Web.UI/[Jj]s/*
src/Umbraco.Tests/[Mm]edia
tools/docfx/*
apidocs/_site/*
src/*/project.lock.json
src/.idea/*
apidocs/api/*
build/docs.zip
build/ui-docs.zip
build/csharp-docs.zip
src/packages/
src/PrecompiledWeb/*
# build
build.out/
build.tmp/
build/hooks/
build/temp/
# eof
#
# Umbraco Cms Git Ignore
#
# common files
*.obj
*.pdb
*.user
*.aps
*.pch
*.vspscc
*.orig
*.suo
*.vs10x
*.ndproj
*.ignorer.*
# common directories
.DS_Store
._.DS_Store
.vs/
/local/
# build directories
[Bb]in/
[Db]ebug*/
[Rr]elease*/
obj/
# tools
_ReSharper*/
_NCrunch_*/
*.ncrunchsolution
*.ncrunchsolution.user
*.ncrunchproject
*.crunchsolution.cache
tools/NDepend/
[Tt]est[Rr]esult*
[Bb]uild[Ll]og.*
*.[Pp]ublish.xml
[sS]ource
[sS]andbox
umbraco.config
App_Data/TEMP/*
[Uu]mbraco/[Pp]resentation/[Uu]mbraco/[Pp]lugins/*
[Uu]mbraco/[Pp]resentation/[Uu]ser[Cc]ontrols/*
[Uu]mbraco/[Pp]resentation/[Ss]cripts/*
[Uu]mbraco/[Pp]resentation/[Ff]onts/*
[Uu]mbraco/[Pp]resentation/[Cc]ss/*
src/Umbraco.Web.UI/[Cc]ss/*
src/Umbraco.Web.UI/App_Code/*
src/Umbraco.Web.UI/App_Data/*
src/Umbraco.Tests/App_Data/*
src/Umbraco.Web.UI/[Mm]edia/*
src/Umbraco.Web.UI/[Mm]aster[Pp]ages/*
src/Umbraco.Web.UI/[Mm]acro[Ss]cripts/*
!src/Umbraco.Web.UI/[Mm]acro[Ss]cripts/[Ww]eb.[Cc]onfig
src/Umbraco.Web.UI/[Xx]slt/*
src/Umbraco.Web.UI/[Ii]mages/*
src/Umbraco.Web.UI/[Ss]cripts/*
src/Umbraco.Web.UI/Web.*.config.transformed
umbraco/presentation/umbraco/plugins/uComponents/uComponentsInstaller.ascx
umbraco/presentation/packages/uComponents/MultiNodePicker/CustomTreeService.asmx
src/Umbraco.Tests/config/applications.config
src/Umbraco.Tests/config/trees.config
src/Umbraco.Web.UI/web.config
src/Umbraco.Web.UI/[Cc]onfig/ClientDependency.config
src/Umbraco.Web.UI/[Cc]onfig/serilog.config
src/Umbraco.Web.UI/[Cc]onfig/serilog.user.config
src/Umbraco.Tests/config/404handlers.config
src/Umbraco.Web.UI/[Vv]iews/*.cshtml
src/Umbraco.Web.UI/[Vv]iews/*.vbhtml
src/Umbraco.Tests/[Cc]onfig/umbracoSettings.config
src/Umbraco.Web.UI/[Vv]iews/*
src/packages/
src/packages/repositories.config
src/Umbraco.Web.UI/[Ww]eb.config
*.transformed
node_modules
lib-bower
src/Umbraco.Web.UI/[Uu]mbraco/[Ll]ib/*
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/umbraco.*
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/*.loader.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/init.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/routes.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/app.dev.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/loader.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/loader.dev.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/main.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/app.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/canvasdesigner.*.js
src/Umbraco.Web.UI/[Uu]mbraco/[Vv]iews/
src/Umbraco.Web.UI/[Uu]mbraco/[Vv]iews/**/*.js
src/Umbraco.Web.UI/[Uu]mbraco/[Vv]iews/**/*.css
src/Umbraco.Web.UI/[Uu]mbraco/[Vv]iews/**/*.html
src/Umbraco.Web.UI/[Uu]mbraco/[Aa]ssets/*
src/Umbraco.Web.UI.Client/[Bb]uild/*
src/Umbraco.Web.UI.Client/[Bb]uild/[Bb]elle/
src/Umbraco.Web.UI/[Uu]ser[Cc]ontrols/
src/Umbraco.Web.UI.Client/src/[Ll]ess/*.css
src/Umbraco.Web.UI.Client/vwd.webinfo
src/Umbraco.Web.UI/App_Plugins/*
src/*.psess
src/*.vspx
NDependOut/*
QueryResult.htm
src/Umbraco.Web.UI/[Cc]onfig/appSettings.config
src/Umbraco.Web.UI/[Cc]onfig/connectionStrings.config
src/Umbraco.Web.UI/[Uu]mbraco/plugins/*
build/ApiDocs/*
build/ApiDocs/Output/*
src/Umbraco.Web.UI.Client/bower_components/*
/src/Umbraco.Web.UI/[Uu]mbraco/preview
/src/Umbraco.Web.UI/[Uu]mbraco/preview.old
# ignore rule for clearing out Belle (avoid rebuilding all the time)
preserve.belle
#Ignore Rule for output of generated documentation files from Grunt docserve
src/Umbraco.Web.UI.Client/docs/api
src/*.boltdata/
src/umbraco.sln.ide/*
src/.vs/
src/Umbraco.Web.UI/[Jj]s/*
src/Umbraco.Tests/[Mm]edia
tools/docfx/*
apidocs/_site/*
src/*/project.lock.json
src/.idea/*
apidocs/api/*
build/docs.zip
build/ui-docs.zip
build/csharp-docs.zip
src/packages/
src/PrecompiledWeb/*
# build
build.out/
build.tmp/
build/hooks/
build/temp/
# eof
/src/Umbraco.Web.UI.Client/TESTS-*.xml
+1 -1
View File
@@ -1,6 +1,6 @@
# The MIT License (MIT) #
Copyright (c) 2013 Umbraco
Copyright (c) 2013-present Umbraco
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+20 -20
View File
@@ -3,57 +3,57 @@
[string]$Directory
)
$workingDirectory = $Directory
CD $workingDirectory
CD "$($workingDirectory)"
# Clone repo
$fullGitUrl = "https://$env:GIT_URL/$env:GIT_REPOSITORYNAME.git"
git clone $fullGitUrl 2>&1 | % { $_.ToString() }
$fullGitUrl = "https://$($env:GIT_URL)/$($env:GIT_REPOSITORYNAME).git"
git clone $($fullGitUrl) $($env:GIT_REPOSITORYNAME) 2>&1 | % { $_.ToString() }
# Remove everything so that unzipping the release later will update everything
# Don't remove the readme file nor the git directory
Write-Host "Cleaning up git directory before adding new version"
Remove-Item -Recurse $workingDirectory\$env:GIT_REPOSITORYNAME\* -Exclude README.md,.git
Remove-Item -Recurse "$($workingDirectory)\$($env:GIT_REPOSITORYNAME)\*" -Exclude README.md,.git
# Find release zip
$zipsDir = "$workingDirectory\$env:BUILD_DEFINITIONNAME\zips"
$zipsDir = "$($workingDirectory)\$($env:BUILD_DEFINITIONNAME)\zips"
$pattern = "UmbracoCms.([0-9]{1,2}.[0-9]{1,3}.[0-9]{1,3}).zip"
Write-Host "Searching for Umbraco release files in $workingDirectory\$zipsDir for a file with pattern $pattern"
$file = (Get-ChildItem $zipsDir | Where-Object { $_.Name -match "$pattern" })
Write-Host "Searching for Umbraco release files in $($zipsDir) for a file with pattern $($pattern)"
$file = (Get-ChildItem "$($zipsDir)" | Where-Object { $_.Name -match "$($pattern)" })
if($file)
{
# Get release name
$version = [regex]::Match($file.Name, $pattern).captures.groups[1].value
$releaseName = "Umbraco $version"
Write-Host "Found $releaseName"
$version = [regex]::Match($($file.Name), $($pattern)).captures.groups[1].value
$releaseName = "Umbraco $($version)"
Write-Host "Found $($releaseName)"
# Unzip into repository to update release
Add-Type -AssemblyName System.IO.Compression.FileSystem
Write-Host "Unzipping $($file.FullName) to $workingDirectory\$env:GIT_REPOSITORYNAME"
[System.IO.Compression.ZipFile]::ExtractToDirectory("$($file.FullName)", "$workingDirectory\$env:GIT_REPOSITORYNAME")
Write-Host "Unzipping $($file.FullName) to $($workingDirectory)\$($env:GIT_REPOSITORYNAME)"
[System.IO.Compression.ZipFile]::ExtractToDirectory("$($file.FullName)", "$($workingDirectory)\$($env:GIT_REPOSITORYNAME)")
# Telling git who we are
git config --global user.email "coffee@umbraco.com" 2>&1 | % { $_.ToString() }
git config --global user.name "Umbraco HQ" 2>&1 | % { $_.ToString() }
# Commit
CD $env:GIT_REPOSITORYNAME
Write-Host "Committing Umbraco $version Release from Build Output"
CD "$($workingDirectory)\$($env:GIT_REPOSITORYNAME)"
Write-Host "Committing Umbraco $($version) Release from Build Output"
git add . 2>&1 | % { $_.ToString() }
git commit -m " Release $releaseName from Build Output" 2>&1 | % { $_.ToString() }
git commit -m " Release $($releaseName) from Build Output" 2>&1 | % { $_.ToString() }
# Tag the release
git tag -a "v$version" -m "v$version"
git tag -a "v$($version)" -m "v$($version)"
# Push release to master
$fullGitAuthUrl = "https://$($env:GIT_USERNAME):$GitHubPersonalAccessToken@$env:GIT_URL/$env:GIT_REPOSITORYNAME.git"
git push $fullGitAuthUrl 2>&1 | % { $_.ToString() }
$fullGitAuthUrl = "https://$($env:GIT_USERNAME):$($GitHubPersonalAccessToken)@$($env:GIT_URL)/$($env:GIT_REPOSITORYNAME).git"
git push $($fullGitAuthUrl) 2>&1 | % { $_.ToString() }
#Push tag to master
git push $fullGitAuthUrl --tags 2>&1 | % { $_.ToString() }
git push $($fullGitAuthUrl) --tags 2>&1 | % { $_.ToString() }
}
else
{
Write-Error "Umbraco release file not found, searched in $workingDirectory\$zipsDir for a file with pattern $pattern - cancelling"
Write-Error "Umbraco release file not found, searched in $($workingDirectory)\$($zipsDir) for a file with pattern $($pattern) - canceling"
}
+54 -81
View File
@@ -1,87 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="3.4.4">
<id>UmbracoCms.Core</id>
<version>8.0.0</version>
<title>Umbraco Cms Core Binaries</title>
<authors>Umbraco HQ</authors>
<owners>Umbraco HQ</owners>
<licenseUrl>http://opensource.org/licenses/MIT</licenseUrl>
<projectUrl>http://umbraco.com/</projectUrl>
<iconUrl>http://umbraco.com/media/357769/100px_transparent.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Contains the core assemblies needed to run Umbraco Cms. This package only contains assemblies and can be used for package development. Use the UmbracoCms-package to setup Umbraco in Visual Studio as an ASP.NET project.</description>
<summary>Contains the core assemblies needed to run Umbraco Cms</summary>
<language>en-US</language>
<tags>umbraco</tags>
<dependencies>
<!--
note: dependencies are specified as [x.y.z,x.999999) eg [2.1.0,2.999999) and NOT [2.1.0,3.0.0) because
the latter would pick anything below 3.0.0 and that includes prereleases such as 3.0.0-alpha, and we do
not want this to happen as the alpha of the next major is, really, the next major already.
-->
<dependency id="AutoMapper" version="[7.0.1,7.999999)" />
<dependency id="ClientDependency" version="[1.9.6,1.999999)" />
<dependency id="ClientDependency-Mvc5" version="[1.8.0,1.999999)" />
<dependency id="CSharpTest.Net.Collections" version="[14.906.1403.1082,14.999999)" />
<dependency id="Examine" version="[1.0.0-beta025,1.999999)" />
<dependency id="HtmlAgilityPack" version="[1.7.2,1.999999)" />
<dependency id="ImageProcessor" version="[2.6.1.19,2.999999)" />
<dependency id="ImageProcessor.Web" version="[4.9.2.19,4.999999)" />
<dependency id="ImageProcessor.Web.Config" version="[2.4.1.19,2.999999)" />
<dependency id="LightInject" version="[5.1.2,5.999999)" />
<dependency id="LightInject.Annotation" version="[1.1.0,1.999999)" />
<dependency id="LightInject.Mvc" version="[2.0.0,2.999999)" />
<dependency id="LightInject.WebApi" version="[2.0.0,2.999999)" />
<dependency id="log4net" version="[2.0.8,2.999999)" />
<dependency id="Log4Net.Async" version="[2.0.4,2.999999)" />
<dependency id="Lucene.Net.Contrib" version="[3.0.3,3.999999)" />
<dependency id="Markdown" version="[2.2.1,2.999999)" />
<dependency id="Microsoft.AspNet.Identity.Owin" version="[2.2.1,2.999999)" />
<dependency id="Microsoft.AspNet.Mvc" version="[5.2.6,5.999999)" />
<dependency id="Microsoft.AspNet.SignalR.Core" version="[2.2.3,2.999999)" />
<dependency id="Microsoft.AspNet.WebApi" version="[5.2.6,5.999999)" />
<dependency id="Microsoft.CodeAnalysis.CSharp" version="[2.8.0,2.999999)" />
<dependency id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="[1.0.8,1.999999)" />
<dependency id="Microsoft.Net.Compilers" version="[2.8.0,2.999999)" />
<dependency id="Microsoft.Owin.Host.SystemWeb" version="[4.0.0,4.999999)" />
<dependency id="Microsoft.Owin.Security.Cookies" version="[4.0.0,4.999999)" />
<dependency id="Microsoft.Owin.Security.OAuth" version="[4.0.0,4.999999)" />
<dependency id="Microsoft.Web.Xdt" version="[2.1.2,2.999999)" />
<dependency id="MiniProfiler" version="[3.2.0.157,3.999999)" />
<dependency id="MySql.Data" version="[6.10.7,6.999999)" />
<dependency id="Newtonsoft.Json" version="[11.0.2,11.999999)" />
<dependency id="NPoco" version="[3.9.3,3.999999)" />
<dependency id="Semver" version="[2.0.4,2.999999)" />
<dependency id="System.Reflection.Primitives" version="[4.3.0,4.999999)" />
<dependency id="System.Runtime.Handles" version="[4.3.0,4.999999)" />
<dependency id="System.Security.Cryptography.X509Certificates" version="[4.3.2,4.999999)" />
<dependency id="System.Threading.Tasks.Dataflow" version="[4.8.0,4.999999)" />
<dependency id="Umbraco.SqlServerCE" version="[4.0.0.1,4.999999)" />
</dependencies>
</metadata>
<files>
<file src="$BuildTmp$\WebApp\bin\Umbraco.Core.dll" target="lib\net472\Umbraco.Core.dll" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.Web.dll" target="lib\net472\Umbraco.Web.dll" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.Web.UI.dll" target="lib\net472\Umbraco.Web.UI.dll" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.Examine.dll" target="lib\net472\Umbraco.Examine.dll" />
<metadata minClientVersion="3.4.4">
<id>UmbracoCms.Core</id>
<version>8.0.0</version>
<title>Umbraco Cms Core Binaries</title>
<authors>Umbraco HQ</authors>
<owners>Umbraco HQ</owners>
<licenseUrl>http://opensource.org/licenses/MIT</licenseUrl>
<projectUrl>http://umbraco.com/</projectUrl>
<iconUrl>https://umbraco.com/dist/nuget/logo-small.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Contains the core assemblies needed to run Umbraco Cms. This package only contains assemblies and can be used for package development. Use the UmbracoCms package to setup Umbraco in Visual Studio as an ASP.NET project.</description>
<summary>Contains the core assemblies needed to run Umbraco Cms</summary>
<language>en-US</language>
<tags>umbraco</tags>
<dependencies>
<!-- docs -->
<file src="$BuildTmp$\WebApp\bin\Umbraco.Core.xml" target="lib\Umbraco.Core.xml" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.Web.xml" target="lib\Umbraco.Web.xml" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.Web.UI.xml" target="lib\Umbraco.Web.UI.xml" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.Examine.xml" target="lib\Umbraco.Examine.xml" />
<group targetFramework="net472">
<!--
note: dependencies are specified as [x.y.z,x.999999) eg [2.1.0,2.999999) and NOT [2.1.0,3.0.0) because
the latter would pick anything below 3.0.0 and that includes prereleases such as 3.0.0-alpha, and we do
not want this to happen as the alpha of the next major is, really, the next major already.
-->
<dependency id="AutoMapper" version="[8.0.0,8.999999)" />
<dependency id="LightInject" version="[5.4.0,5.999999)" />
<dependency id="LightInject.Annotation" version="[1.1.0,1.999999)" />
<dependency id="LightInject.Web" version="[2.0.0,2.999999)" />
<dependency id="Microsoft.AspNet.Identity.Core" version="[2.2.2,2.999999)" />
<dependency id="Microsoft.AspNet.WebApi.Client" version="[5.2.7,5.999999)" />
<dependency id="Microsoft.Owin" version="[4.0.1,4.999999)" />
<dependency id="MiniProfiler" version="[4.0.138,4.999999)" />
<dependency id="Newtonsoft.Json" version="[12.0.1,12.999999)" />
<dependency id="Semver" version="[2.0.4,2.999999)" />
<dependency id="Serilog" version="[2.8.0,2.999999)" />
<dependency id="Serilog.Enrichers.Process" version="[2.0.1,2.999999)" />
<dependency id="Serilog.Enrichers.Thread" version="[3.0.0,3.999999)" />
<dependency id="Serilog.Filters.Expressions" version="[2.0.0,2.999999)" />
<dependency id="Serilog.Formatting.Compact" version="[1.0.0,1.999999)" />
<dependency id="Serilog.Formatting.Compact.Reader" version="[1.0.3,1.999999)" />
<dependency id="Serilog.Settings.AppSettings" version="[2.2.2,2.999999)" />
<dependency id="Serilog.Sinks.File" version="[4.0.0,4.999999)" />
<dependency id="Umbraco.SqlServerCE" version="[4.0.0.1,4.999999)" />
<dependency id="NPoco" version="[3.9.4,3.999999)" />
</group>
</dependencies>
</metadata>
<files>
<!-- libs -->
<file src="$BuildTmp$\WebApp\bin\Umbraco.Core.dll" target="lib\net472\Umbraco.Core.dll" />
<file src="tools\install.core.ps1" target="tools\install.ps1" />
<!-- docs -->
<file src="$BuildTmp$\WebApp\bin\Umbraco.Core.xml" target="lib\Umbraco.Core.xml" />
<!-- symbols -->
<file src="$BuildTmp$\bin\Umbraco.Core.pdb" target="lib" />
<file src="$BuildTmp$\..\src\Umbraco.Core\**\*.cs" exclude="$BuildTmp$\..\src\**\TemporaryGeneratedFile*.cs" target="src\Umbraco.Core" />
<file src="$BuildTmp$\bin\Umbraco.Web.pdb" target="lib" />
<file src="$BuildTmp$\..\src\Umbraco.Web\**\*.cs" exclude="$BuildTmp$\..\src\**\TemporaryGeneratedFile*.cs" target="src\Umbraco.Web" />
<file src="$BuildTmp$\bin\Umbraco.Web.UI.pdb" target="lib" />
<file src="$BuildTmp$\..\src\Umbraco.Web.UI\**\*.cs" exclude="$BuildTmp$\..\src\**\TemporaryGeneratedFile*.cs" target="src\Umbraco.Web.UI" />
<file src="$BuildTmp$\bin\Umbraco.Examine.pdb" target="lib" />
<file src="$BuildTmp$\..\src\Umbraco.Examine\**\*.cs" exclude="$BuildTmp$\..\src\**\TemporaryGeneratedFile*.cs" target="src\Umbraco.Examine" />
</files>
<!-- symbols -->
<file src="$BuildTmp$\bin\Umbraco.Core.pdb" target="lib" />
<file src="$BuildTmp$\..\src\Umbraco.Core\**\*.cs" exclude="$BuildTmp$\..\src\**\TemporaryGeneratedFile*.cs" target="src\Umbraco.Core" />
</files>
</package>
+66
View File
@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="3.4.4">
<id>UmbracoCms.Web</id>
<version>8.0.0</version>
<title>Umbraco Cms Core Binaries</title>
<authors>Umbraco HQ</authors>
<owners>Umbraco HQ</owners>
<licenseUrl>http://opensource.org/licenses/MIT</licenseUrl>
<projectUrl>http://umbraco.com/</projectUrl>
<iconUrl>https://umbraco.com/dist/nuget/logo-small.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Contains the web assemblies needed to run Umbraco Cms. This package only contains assemblies and can be used for package development. Use the UmbracoCms package to setup Umbraco in Visual Studio as an ASP.NET project.</description>
<summary>Contains the core assemblies needed to run Umbraco Cms</summary>
<language>en-US</language>
<tags>umbraco</tags>
<dependencies>
<group targetFramework="net472">
<!--
note: dependencies are specified as [x.y.z,x.999999) eg [2.1.0,2.999999) and NOT [2.1.0,3.0.0) because
the latter would pick anything below 3.0.0 and that includes prereleases such as 3.0.0-alpha, and we do
not want this to happen as the alpha of the next major is, really, the next major already.
-->
<dependency id="UmbracoCms.Core" version="[$version$]" />
<dependency id="ClientDependency" version="[1.9.7,1.999999)" />
<dependency id="ClientDependency-Mvc5" version="[1.8.0,1.999999)" />
<dependency id="CSharpTest.Net.Collections" version="[14.906.1403.1082,14.999999)" />
<dependency id="Examine" version="[1.0.1,1.999999)" />
<dependency id="HtmlAgilityPack" version="[1.8.14,1.999999)" />
<dependency id="ImageProcessor" version="[2.7.0.100,2.999999)" />
<dependency id="LightInject.Mvc" version="[2.0.0,2.999999)" />
<dependency id="LightInject.WebApi" version="[2.0.0,2.999999)" />
<dependency id="Markdown" version="[2.2.1,2.999999)" />
<dependency id="Microsoft.AspNet.Identity.Owin" version="[2.2.2,2.999999)" />
<dependency id="Microsoft.AspNet.Mvc" version="[5.2.7,5.999999)" />
<dependency id="Microsoft.AspNet.SignalR.Core" version="[2.4.0,2.999999)" />
<dependency id="Microsoft.AspNet.WebApi" version="[5.2.7,5.999999)" />
<dependency id="Microsoft.Owin.Host.SystemWeb" version="[4.0.1,4.999999)" />
<dependency id="Microsoft.Owin.Security.Cookies" version="[4.0.1,4.999999)" />
<dependency id="Microsoft.Owin.Security.OAuth" version="[4.0.1,4.999999)" />
<dependency id="System.Threading.Tasks.Dataflow" version="[4.9.0,4.999999)" />
</group>
</dependencies>
</metadata>
<files>
<!-- libs -->
<file src="$BuildTmp$\WebApp\bin\Umbraco.Web.dll" target="lib\net472\Umbraco.Web.dll" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.Web.UI.dll" target="lib\net472\Umbraco.Web.UI.dll" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.Examine.dll" target="lib\net472\Umbraco.Examine.dll" />
<!-- docs -->
<file src="$BuildTmp$\WebApp\bin\Umbraco.Web.xml" target="lib\Umbraco.Web.xml" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.Web.UI.xml" target="lib\Umbraco.Web.UI.xml" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.Examine.xml" target="lib\Umbraco.Examine.xml" />
<!-- symbols -->
<file src="$BuildTmp$\bin\Umbraco.Web.pdb" target="lib" />
<file src="$BuildTmp$\..\src\Umbraco.Web\**\*.cs" exclude="$BuildTmp$\..\src\**\TemporaryGeneratedFile*.cs" target="src\Umbraco.Web" />
<file src="$BuildTmp$\bin\Umbraco.Examine.pdb" target="lib" />
<file src="$BuildTmp$\..\src\Umbraco.Examine\**\*.cs" exclude="$BuildTmp$\..\src\**\TemporaryGeneratedFile*.cs" target="src\Umbraco.Examine" />
</files>
</package>
+62 -53
View File
@@ -1,59 +1,68 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="3.4.4">
<id>UmbracoCms</id>
<version>8.0.0</version>
<title>Umbraco Cms</title>
<authors>Umbraco HQ</authors>
<owners>Umbraco HQ</owners>
<licenseUrl>http://opensource.org/licenses/MIT</licenseUrl>
<projectUrl>http://umbraco.com/</projectUrl>
<iconUrl>http://umbraco.com/media/357769/100px_transparent.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Installs Umbraco Cms in your Visual Studio ASP.NET project</description>
<summary>Installs Umbraco Cms in your Visual Studio ASP.NET project</summary>
<language>en-US</language>
<tags>umbraco</tags>
<dependencies>
<dependency id="UmbracoCms.Core" version="[$version$]" />
<!--
note: dependencies are specified as [x.y.z,x.999999) eg [2.1.0,2.999999) and NOT [2.1.0,3.0.0) because
the latter would pick anything below 3.0.0 and that includes prereleases such as 3.0.0-alpha, and we do
not want this to happen as the alpha of the next major is, really, the next major already.
-->
<dependency id="Microsoft.AspNet.SignalR.Core" version="[2.2.3, 2.999999)" />
<dependency id="Umbraco.ModelsBuilder.Ui" version="[8.0.0-alpha.20]" />
</dependencies>
</metadata>
<files>
<file src="$BuildTmp$\Configs\**" target="Content\Config" exclude="$BuildTmp$\Configs\Web.config.transform" />
<file src="$BuildTmp$\WebApp\Views\**" target="Content\Views" exclude="$BuildTmp$\WebApp\Views\Web.config" />
<file src="$BuildTmp$\WebApp\default.aspx" target="Content\default.aspx" />
<file src="$BuildTmp$\WebApp\Global.asax" target="Content\Global.asax" />
<file src="$BuildTmp$\WebApp\Web.config" target="UmbracoFiles\Web.config" />
<file src="$BuildTmp$\WebApp\App_Browsers\**" target="UmbracoFiles\App_Browsers" />
<file src="$BuildTmp$\WebApp\config\splashes\**" target="UmbracoFiles\Config\splashes" />
<file src="$BuildTmp$\WebApp\config\BackOfficeTours\**" target="Content\Config\BackOfficeTours" />
<file src="$BuildTmp$\WebApp\umbraco\**" target="UmbracoFiles\umbraco" />
<file src="$BuildTmp$\WebApp\umbraco_client\**" target="UmbracoFiles\umbraco_client" />
<file src="$BuildTmp$\WebApp\Media\Web.config" target="Content\Media\Web.config" />
<metadata minClientVersion="3.4.4">
<id>UmbracoCms</id>
<version>8.0.0</version>
<title>Umbraco Cms</title>
<authors>Umbraco HQ</authors>
<owners>Umbraco HQ</owners>
<licenseUrl>http://opensource.org/licenses/MIT</licenseUrl>
<projectUrl>http://umbraco.com/</projectUrl>
<iconUrl>https://umbraco.com/dist/nuget/logo-small.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Installs Umbraco Cms in your Visual Studio ASP.NET project</description>
<summary>Installs Umbraco Cms in your Visual Studio ASP.NET project</summary>
<language>en-US</language>
<tags>umbraco</tags>
<dependencies>
<file src="$BuildTmp$\WebApp\App_Plugins\ModelsBuilder\modelsbuilder.htm" target="Content\App_Plugins\ModelsBuilder\modelsbuilder.htm" />
<file src="$BuildTmp$\WebApp\App_Plugins\ModelsBuilder\modelsbuilder.controller.js" target="Content\App_Plugins\ModelsBuilder\modelsbuilder.controller.js" />
<file src="$BuildTmp$\WebApp\App_Plugins\ModelsBuilder\modelsbuilder.resource.js" target="Content\App_Plugins\ModelsBuilder\modelsbuilder.resource.js" />
<file src="$BuildTmp$\WebApp\App_Plugins\ModelsBuilder\package.manifest" target="Content\App_Plugins\ModelsBuilder\package.manifest" />
<group targetFramework="net472">
<file src="tools\install.ps1" target="tools\install.ps1" />
<file src="tools\Readme.txt" target="tools\Readme.txt" />
<file src="tools\ReadmeUpgrade.txt" target="tools\ReadmeUpgrade.txt" />
<file src="tools\Web.config.install.xdt" target="Content\Web.config.install.xdt" />
<file src="tools\applications.config.install.xdt" target="Content\config\applications.config.install.xdt" />
<file src="tools\ClientDependency.config.install.xdt" target="Content\config\ClientDependency.config.install.xdt" />
<file src="tools\Dashboard.config.install.xdt" target="Content\config\Dashboard.config.install.xdt" />
<file src="tools\trees.config.install.xdt" target="Content\config\trees.config.install.xdt" />
<file src="tools\umbracoSettings.config.install.xdt" target="Content\config\umbracoSettings.config.install.xdt" />
<file src="tools\Views.Web.config.install.xdt" target="Views\Web.config.install.xdt" />
<dependency id="UmbracoCms.Web" version="[$version$]" />
<!--
note: dependencies are specified as [x.y.z,x.999999) eg [2.1.0,2.999999) and NOT [2.1.0,3.0.0) because
the latter would pick anything below 3.0.0 and that includes prereleases such as 3.0.0-alpha, and we do
not want this to happen as the alpha of the next major is, really, the next major already.
-->
<dependency id="Microsoft.AspNet.SignalR.Core" version="[2.4.0, 2.999999)" />
<dependency id="Umbraco.ModelsBuilder.Ui" version="[8.0.1]" />
<dependency id="ImageProcessor.Web" version="[4.10.0.100,4.999999)" />
<dependency id="ImageProcessor.Web.Config" version="[2.5.0.100,2.999999)" />
<dependency id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="[2.0.1,2.999999)" />
<dependency id="Microsoft.Net.Compilers" version="[2.10.0,2.999999)" />
<file src="build\**" target="build" />
</files>
</group>
</dependencies>
</metadata>
<files>
<!-- files -->
<file src="$BuildTmp$\Configs\**" target="Content\Config" exclude="$BuildTmp$\Configs\Web.config.transform" />
<file src="$BuildTmp$\WebApp\Views\**" target="Content\Views" exclude="$BuildTmp$\WebApp\Views\Web.config" />
<file src="$BuildTmp$\WebApp\Global.asax" target="Content\Global.asax" />
<file src="$BuildTmp$\WebApp\config\BackOfficeTours\**" target="Content\Config\BackOfficeTours" />
<file src="$BuildTmp$\WebApp\Media\Web.config" target="Content\Media\Web.config" />
<!-- these files are copied by install.ps1 -->
<file src="$BuildTmp$\WebApp\Web.config" target="UmbracoFiles\Web.config" />
<file src="$BuildTmp$\WebApp\umbraco\**" target="UmbracoFiles\umbraco" />
<file src="$BuildTmp$\WebApp\config\splashes\**" target="UmbracoFiles\Config\splashes" />
<!-- tools -->
<!-- beware! install.ps1 not supported by PackageReference -->
<file src="tools\install.ps1" target="tools\install.ps1" />
<file src="tools\Readme.txt" target="tools\Readme.txt" />
<file src="tools\ReadmeUpgrade.txt" target="tools\ReadmeUpgrade.txt" />
<!-- config transforms -->
<!-- beware! config transforms not supported by PackageReference -->
<file src="tools\Web.config.install.xdt" target="Content\Web.config.install.xdt" />
<file src="tools\ClientDependency.config.install.xdt" target="Content\config\ClientDependency.config.install.xdt" />
<file src="tools\umbracoSettings.config.install.xdt" target="Content\config\umbracoSettings.config.install.xdt" />
<file src="tools\Views.Web.config.install.xdt" target="Views\Web.config.install.xdt" /> <!-- FIXME: Content\ !! and then... transform?! -->
<!-- UmbracoCms props and targets -->
<file src="build\**" target="build" />
</files>
</package>
-3
View File
@@ -47,9 +47,6 @@
<CustomFilesToInclude Include=".\umbraco\**\*">
<Dir>umbraco</Dir>
</CustomFilesToInclude>
<CustomFilesToInclude Include=".\umbraco_client\**\*">
<Dir>umbraco_client</Dir>
</CustomFilesToInclude>
<CustomFilesToInclude Include=".\Global.asax">
<Dir>.</Dir>
</CustomFilesToInclude>
@@ -1,95 +0,0 @@
<?xml version="1.0"?>
<dashBoard xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<section alias="StartupSettingsDashboardSection" xdt:Locator="Match(alias)" xdt:Transform="InsertIfMissing">
<tab caption="Get Started" xdt:Locator="Match(caption)" xdt:Transform="Remove" />
<tab caption="Welcome" xdt:Locator="Match(caption)" xdt:Transform="InsertIfMissing">
<control showOnce="true" addPanel="true" panelCaption="" xdt:Transform="InsertIfMissing">
views/dashboard/settings/settingsdashboardintro.html
</control>
</tab>
</section>
<section alias="StartupFormsDashboardSection" xdt:Locator="Match(alias)" xdt:Transform="InsertIfMissing">
<areas>
<area>forms</area>
</areas>
<tab caption="Install Umbraco Forms">
<control showOnce="true" addPanel="true" panelCaption="">
views/dashboard/forms/formsdashboardintro.html
</control>
</tab>
</section>
<section alias="StartupDeveloperDashboardSection" xdt:Locator="Match(alias)" xdt:Transform="InsertIfMissing">
<areas xdt:Transform="InsertIfMissing">
<area xdt:Transform="InsertIfMissing">developer</area>
</areas>
</section>
<section alias="StartupDeveloperDashboardSection">
<tab caption="Get Started" xdt:Locator="Match(caption)" xdt:Transform="Replace">
<control showOnce="true" addPanel="true" panelCaption="">
views/dashboard/developer/developerdashboardvideos.html
</control>
</tab>
<tab caption="Examine Management" xdt:Locator="Match(caption)" xdt:Transform="Remove" />
</section>
<section alias="StartupDeveloperDashboardSection" xdt:Locator="Match(alias)" xdt:Transform="InsertIfMissing">
<tab caption="Examine Management" xdt:Locator="Match(caption)" xdt:Transform="InsertIfMissing">
<control>
views/dashboard/developer/examinemanagement.html
</control>
</tab>
</section>
<section alias="StartupMediaDashboardSection" xdt:Locator="Match(alias)" xdt:Transform="InsertIfMissing">
<tab caption="Get Started" xdt:Locator="Match(caption)" xdt:Transform="Remove" />
<tab caption="Content" xdt:Locator="Match(caption)" xdt:Transform="InsertIfMissing" />
<tab caption="Content" xdt:Locator="Match(caption)" xdt:Transform="Replace">
<control showOnce="false" addPanel="false" panelCaption="">
views/dashboard/media/mediafolderbrowser.html
</control>
</tab>
</section>
<section alias="StartupMemberDashboardSection" xdt:Locator="Match(alias)" xdt:Transform="InsertIfMissing">
<tab caption="Get Started" xdt:Locator="Match(caption)" xdt:Transform="Remove" />
<tab caption="Get Started" xdt:Transform="Insert">
<control showOnce="true" addPanel="true" panelCaption="">
views/dashboard/members/membersdashboardvideos.html
</control>
</tab>
</section>
<section alias="uGoLiveDashboardSection" xdt:Locator="Match(alias)" xdt:Transform="Remove" />
<section alias="ExamineManagement" xdt:Locator="Match(alias)" xdt:Transform="Remove" />
<section alias="StartupDashboardSection">
<tab caption="Change Password" xdt:Locator="Match(caption)" xdt:Transform="Remove" />
<tab caption="Last Edits" xdt:Locator="Match(caption)" xdt:Transform="Remove" />
</section>
<section alias="RedirectUrlManagement" xdt:Locator="Match(alias)" xdt:Transform="InsertIfMissing">
<areas>
<area>content</area>
</areas>
<tab caption="Redirect URL Management">
<control>
views/dashboard/developer/redirecturls.html
</control>
</tab>
</section>
<section alias="UmbracoHealthCheck" xdt:Locator="Match(alias)" xdt:Transform="InsertIfMissing">
<areas>
<area>developer</area>
</areas>
<tab caption="Health Check">
<control>
views/dashboard/developer/healthcheck.html
</control>
</tab>
</section>
</dashBoard>
+11 -11
View File
@@ -1,26 +1,26 @@
_ _ __ __ ____ _____ _____ ____
| | | | \/ | _ \| __ \ /\ / ____/ __ \
_ _ __ __ ____ _____ _____ ____
| | | | \/ | _ \| __ \ /\ / ____/ __ \
| | | | \ / | |_) | |__) | / \ | | | | | |
| | | | |\/| | _ <| _ / / /\ \| | | | | |
| |__| | | | | |_) | | \ \ / ____ | |___| |__| |
\____/|_| |_|____/|_| \_/_/ \_\_____\____/
\____/|_| |_|____/|_| \_/_/ \_\_____\____/
----------------------------------------------------
Don't forget to build!
When upgrading your website using NuGet you should answer "No" to the questions to overwrite the Web.config
file (and config files in the config folder).
When upgrading your website using NuGet you should answer "No" to the questions to overwrite the Web.config
file (and config files in the config folder).
This NuGet package includes build targets that extend the creation of a deploy package, which is generated by
This NuGet package includes build targets that extend the creation of a deploy package, which is generated by
Publishing from Visual Studio. The targets will only work once Publishing is configured, so if you don't use
Publish this won't affect you.
The following items will now be automatically included when creating a deploy package or publishing to the file
system: umbraco, umbraco_client, config\splashes and global.asax.
The following items will now be automatically included when creating a deploy package or publishing to the file
system: umbraco, config\splashes and global.asax.
Please read the release notes on our.umbraco.com:
http://our.umbraco.com/contribute/releases
https://our.umbraco.com/download/releases
- Umbraco
- Umbraco
+11 -20
View File
@@ -1,39 +1,30 @@
_ _ __ __ ____ _____ _____ ____
| | | | \/ | _ \| __ \ /\ / ____/ __ \
_ _ __ __ ____ _____ _____ ____
| | | | \/ | _ \| __ \ /\ / ____/ __ \
| | | | \ / | |_) | |__) | / \ | | | | | |
| | | | |\/| | _ <| _ / / /\ \| | | | | |
| |__| | | | | |_) | | \ \ / ____ | |___| |__| |
\____/|_| |_|____/|_| \_/_/ \_\_____\____/
\____/|_| |_|____/|_| \_/_/ \_\_____\____/
----------------------------------------------------
*** IMPORTANT NOTICE FOR UPGRADES FROM VERSIONS BELOW 7.7.0 ***
Be sure to read the version specific upgrade information before proceeding:
https://our.umbraco.com/documentation/Getting-Started/Setup/Upgrading/version-specific#version-7-7-0
Depending on the version you are upgrading from, you may need to make some changes to your web.config
and you will need to be aware of the breaking changes listed there to see if these affect your installation.
Don't forget to build!
We've done our best to transform your configuration files but in case something is not quite right: remember we
backed up your files in App_Data\NuGetBackup so you can find the original files before they were transformed.
We've overwritten all the files in the Umbraco and Umbraco_Client folder, these have been backed up in
App_Data\NuGetBackup. We didn't overwrite the UI.xml file nor did we remove any files or folders that you or
a package might have added. Only the existing files were overwritten. If you customized anything then make
We've overwritten all the files in the Umbraco folder, these have been backed up in
App_Data\NuGetBackup. We didn't overwrite the UI.xml file nor did we remove any files or folders that you or
a package might have added. Only the existing files were overwritten. If you customized anything then make
sure to do a compare and merge with the NuGetBackup folder.
This NuGet package includes build targets that extend the creation of a deploy package, which is generated by
This NuGet package includes build targets that extend the creation of a deploy package, which is generated by
Publishing from Visual Studio. The targets will only work once Publishing is configured, so if you don't use
Publish this won't affect you.
The following items will now be automatically included when creating a deploy package or publishing to the file
system: umbraco, umbraco_client, config\splashes and global.asax.
The following items will now be automatically included when creating a deploy package or publishing to the file
system: umbraco, config\splashes and global.asax.
Please read the release notes on our.umbraco.com:
http://our.umbraco.com/contribute/releases
- Umbraco
- Umbraco
+50 -63
View File
@@ -2,17 +2,11 @@
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<configSections xdt:Transform="InsertIfMissing" />
<configSections>
<section name="FileSystemProviders" xdt:Locator="Match(name)" xdt:Transform="Remove" />
<section name="ExamineLuceneIndexSets" type="Umbraco.Examine.Config.IndexSets, Umbraco.Examine" requirePermission="false" xdt:Locator="Match(name)" xdt:Transform="SetAttributes(type,requirePermission)" />
<sectionGroup name="applicationSettings" xdt:Locator="Match(name)">
<section name="umbraco.presentation.Properties.Settings" xdt:Locator="Match(name)" xdt:Transform="Remove" />
</sectionGroup>
<sectionGroup name="applicationSettings" xdt:Locator="Match(name)" xdt:Transform="Remove" />
<sectionGroup name="system.web.webPages.razor" xdt:Locator="Match(name)" xdt:Transform="Remove" />
<sectionGroup name="umbracoConfiguration" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing">
<section name="settings" type="Umbraco.Core.Configuration.UmbracoSettings.UmbracoSettingsSection, Umbraco.Core" requirePermission="false" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" />
<section name="FileSystemProviders" type="Umbraco.Core.Configuration.FileSystemProvidersSection, Umbraco.Core" requirePermission="false" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" />
<section name="dashBoard" type="Umbraco.Core.Configuration.Dashboard.DashboardSection, Umbraco.Core" requirePermission="false" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" />
<section name="dashBoard" xdt:Locator="Match(name)" xdt:Transform="Remove" />
<section name="HealthChecks" type="Umbraco.Core.Configuration.HealthChecks.HealthChecksSection, Umbraco.Core" requirePermission="false" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" />
</sectionGroup>
</configSections>
@@ -22,26 +16,18 @@
<add key="owin:appStartup" value="UmbracoDefaultOwinStartup" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
<add key="Umbraco.ModelsBuilder.Enable" value="false" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
<add key="Umbraco.ModelsBuilder.ModelsMode" value="Nothing" xdt:Locator="Match(key)" xdt:Transform="InsertIfMissing" />
<add key="umbracoDefaultUILanguage" value="en-US" xdt:Locator="Match(key)" xdt:Transform="SetAttributes(value)" />
</appSettings>
<umbracoConfiguration xdt:Transform="InsertIfMissing">
<settings configSource="config\umbracoSettings.config" xdt:Locator="Match(configSource)" xdt:Transform="InsertIfMissing" />
<FileSystemProviders configSource="config\FileSystemProviders.config" xdt:Locator="Match(configSource)" xdt:Transform="InsertIfMissing" />
<dashBoard configSource="config\Dashboard.config" xdt:Locator="Match(configSource)" xdt:Transform="InsertIfMissing" />
<dashBoard configSource="config\Dashboard.config" xdt:Locator="Match(configSource)" xdt:Transform="Remove" />
<HealthChecks configSource="config\HealthChecks.config" xdt:Locator="Match(configSource)" xdt:Transform="InsertIfMissing" />
</umbracoConfiguration>
<FileSystemProviders xdt:Transform="Remove" />
<system.data xdt:Transform="InsertIfMissing">
<DbProviderFactories xdt:Transform="InsertIfMissing">
<remove invariant="System.Data.SqlServerCe.4.0" xdt:Locator="Match(invariant)" xdt:Transform="InsertIfMissing" />
<add name="Microsoft SQL Server Compact Data Provider 4.0" invariant="System.Data.SqlServerCe.4.0" description=".NET Framework Data Provider for Microsoft SQL Server Compact" type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe" xdt:Locator="Match(invariant)" xdt:Transform="SetAttributes(invariant,description,type)" />
<remove invariant="MySql.Data.MySqlClient" xdt:Locator="Match(invariant)" xdt:Transform="InsertIfMissing" />
<add invariant="MySql.Data.MySqlClient" xdt:Locator="Match(invariant)" xdt:Transform="Remove" />
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data" xdt:Locator="Match(invariant)" xdt:Transform="InsertIfMissing" />
<add invariant="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data" xdt:Locator="Match(invariant)" xdt:Transform="SetAttributes(type)" />
</DbProviderFactories>
</system.data>
<clientDependency xdt:Transform="RemoveAttributes(version)" />
@@ -49,14 +35,9 @@
<system.web xdt:Transform="InsertIfMissing" />
<system.web>
<siteMap xdt:Transform="Remove" />
<siteMap xdt:Transform="InsertIfMissing">
<providers xdt:Transform="InsertIfMissing">
<remove name="MySqlSiteMapProvider" xdt:Transform="InsertIfMissing" />
</providers>
</siteMap>
<httpRuntime xdt:Transform="InsertIfMissing" />
<httpRuntime maxRequestLength="51200" fcnMode="Single" xdt:Transform="SetAttributes(fcnMode,maxRequestLength)" />
<httpRuntime targetFramework="4.5" xdt:Locator="Condition(count(@targetFramework) != 1)" xdt:Transform="SetAttributes(targetFramework)" />
<httpRuntime targetFramework="4.7.2" xdt:Locator="Condition(count(@targetFramework) != 1)" xdt:Transform="SetAttributes(targetFramework)" />
<membership defaultProvider="DefaultMembershipProvider" xdt:Locator="Match(defaultProvider)" xdt:Transform="Remove" />
<roleManager defaultProvider="DefaultRoleProvider" xdt:Locator="Match(defaultProvider)" xdt:Transform="Remove"/>
@@ -145,49 +126,55 @@
<dependentAssembly xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='Microsoft.CodeAnalysis.CSharp')" xdt:Transform="Remove" />
<dependentAssembly xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='log4net')" xdt:Transform="Remove" />
<dependentAssembly xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.Data.SqlServerCe')" xdt:Transform="Remove" />
<dependentAssembly xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.ValueTuple')" xdt:Transform="Remove" />
<dependentAssembly xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.Net.Http.Formatting')" xdt:Transform="Remove" />
</assemblyBinding>
</runtime>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.8.0" newVersion="2.0.8.0" />
</dependentAssembly>
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
</dependentAssembly>
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
</dependentAssembly>
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
</dependentAssembly>
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
</dependentAssembly>
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
</dependentAssembly>
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.2.1.0" newVersion="1.2.1.0" />
</dependentAssembly>
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.6.0" newVersion="5.2.6.0" />
</dependentAssembly>
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.6.0" newVersion="5.2.6.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
</dependentAssembly>
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
</dependentAssembly>
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="Microsoft.Owin.Security.Cookies" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
</dependentAssembly>
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="Microsoft.Owin.Security.OAuth" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
</dependentAssembly>
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
</dependentAssembly>
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.2.3.0" newVersion="1.2.3.0" />
</dependentAssembly>
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
</dependentAssembly>
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
</dependentAssembly>
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly xdt:Transform="Insert">
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.web.webPages.razor xdt:Transform="Remove" />
@@ -1,11 +1,11 @@
<?xml version="1.0"?>
<applications xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<add alias="content" icon="traycontent" xdt:Locator="Match(alias)" xdt:Transform="SetAttributes(icon)" />
<add alias="media" icon="traymedia" xdt:Locator="Match(alias)" xdt:Transform="SetAttributes(icon)" />
<add alias="settings" icon="traysettings" xdt:Locator="Match(alias)" xdt:Transform="SetAttributes(icon)" />
<add alias="developer" icon="traydeveloper" xdt:Locator="Match(alias)" xdt:Transform="SetAttributes(icon)" />
<add alias="users" icon="trayusers" xdt:Locator="Match(alias)" xdt:Transform="SetAttributes(icon)" />
<add alias="member" icon="traymember" xdt:Locator="Match(alias)" xdt:Transform="SetAttributes(icon)" />
<add alias="forms" name="Forms" icon="icon-umb-contour" sortOrder="6" xdt:Locator="Match(alias)" xdt:Transform="InsertIfMissing" />
<add alias="translation" icon="traytranslation" sortOrder="7" xdt:Locator="Match(alias)" xdt:Transform="SetAttributes(icon,sortOrder)" />
</applications>
<add alias="content" xdt:Locator="Match(alias)" xdt:Transform="SetAttributes(icon)" />
<add alias="media" xdt:Locator="Match(alias)" xdt:Transform="SetAttributes(icon)" />
<add alias="settings" xdt:Locator="Match(alias)" xdt:Transform="SetAttributes(icon)" />
<add alias="developer" xdt:Locator="Match(alias)" xdt:Transform="SetAttributes(icon)" />
<add alias="users" xdt:Locator="Match(alias)" xdt:Transform="SetAttributes(icon)" />
<add alias="member" xdt:Locator="Match(alias)" xdt:Transform="SetAttributes(icon)" />
<add alias="forms" name="Forms" sortOrder="6" xdt:Locator="Match(alias)" xdt:Transform="InsertIfMissing" />
<add alias="translation" sortOrder="7" xdt:Locator="Match(alias)" xdt:Transform="SetAttributes(icon,sortOrder)" />
</applications>
-2
View File
@@ -33,7 +33,6 @@ if ($project) {
robocopy $umbracoBinFolder $umbracoBinBackupPath /e /LOG:$copyLogsPath\UmbracoBinBackup.log
# Delete files Umbraco ships with
if(Test-Path $umbracoBinFolder\log4net.dll) { Remove-Item $umbracoBinFolder\log4net.dll -Force -Confirm:$false }
if(Test-Path $umbracoBinFolder\Microsoft.ApplicationBlocks.Data.dll) { Remove-Item $umbracoBinFolder\Microsoft.ApplicationBlocks.Data.dll -Force -Confirm:$false }
if(Test-Path $umbracoBinFolder\System.Data.SqlServerCe.dll) { Remove-Item $umbracoBinFolder\System.Data.SqlServerCe.dll -Force -Confirm:$false }
if(Test-Path $umbracoBinFolder\System.Data.SqlServerCe.Entity.dll) { Remove-Item $umbracoBinFolder\System.Data.SqlServerCe.Entity.dll -Force -Confirm:$false }
@@ -74,7 +73,6 @@ if ($project) {
if(Test-Path $umbracoBinFolder\Microsoft.Web.Helpers.dll) { Remove-Item $umbracoBinFolder\Microsoft.Web.Helpers.dll -Force -Confirm:$false }
if(Test-Path $umbracoBinFolder\Microsoft.Web.Mvc.FixedDisplayModes.dll) { Remove-Item $umbracoBinFolder\Microsoft.Web.Mvc.FixedDisplayModes.dll -Force -Confirm:$false }
if(Test-Path $umbracoBinFolder\MiniProfiler.dll) { Remove-Item $umbracoBinFolder\MiniProfiler.dll -Force -Confirm:$false }
if(Test-Path $umbracoBinFolder\MySql.Data.dll) { Remove-Item $umbracoBinFolder\MySql.Data.dll -Force -Confirm:$false }
if(Test-Path $umbracoBinFolder\Newtonsoft.Json.dll) { Remove-Item $umbracoBinFolder\Newtonsoft.Json.dll -Force -Confirm:$false }
if(Test-Path $umbracoBinFolder\Owin.dll) { Remove-Item $umbracoBinFolder\Owin.dll -Force -Confirm:$false }
if(Test-Path $umbracoBinFolder\Semver.dll) { Remove-Item $umbracoBinFolder\Semver.dll -Force -Confirm:$false }
+2 -47
View File
@@ -44,14 +44,6 @@ if ($project) {
robocopy $umbracoFolder $umbracoBackupPath /e /LOG:$copyLogsPath\UmbracoBackup.log
robocopy $umbracoFolderSource $umbracoFolder /is /it /e /xf UI.xml /LOG:$copyLogsPath\UmbracoCopy.log
$umbracoClientFolder = Join-Path $projectPath "Umbraco_Client"
New-Item -ItemType Directory -Force -Path $umbracoClientFolder
$umbracoClientFolderSource = Join-Path $installPath "UmbracoFiles\Umbraco_Client"
$umbracoClientBackupPath = Join-Path $backupPath "Umbraco_Client"
New-Item -ItemType Directory -Force -Path $umbracoClientBackupPath
robocopy $umbracoClientFolder $umbracoClientBackupPath /e /LOG:$copyLogsPath\UmbracoClientBackup.log
robocopy $umbracoClientFolderSource $umbracoClientFolder /is /it /e /LOG:$copyLogsPath\UmbracoClientCopy.log
$copyWebconfig = $true
$destinationWebConfig = Join-Path $projectPath "Web.config"
@@ -62,7 +54,7 @@ if ($project) {
[xml]$config = Get-Content $destinationWebConfig
$config.configuration.appSettings.ChildNodes | ForEach-Object {
if($_.key -eq "umbracoConfigurationStatus")
if($_.key -eq "Umbraco.Core.ConfigurationStatus")
{
# The web.config has an umbraco-specific appSetting in it
# don't overwrite it and let config transforms do their thing
@@ -85,18 +77,6 @@ if ($project) {
$splashesDestination = Join-Path $projectPath "Config\splashes\"
New-Item $splashesDestination -Type directory
Copy-Item $splashesSource $splashesDestination -Force
$sqlCe64Source = Join-Path $installPath "UmbracoFiles\bin\amd64\*"
$sqlCe64Destination = Join-Path $projectPath "bin\amd64\"
Copy-Item $sqlCe64Source $sqlCe64Destination -Force
$sqlCex86Source = Join-Path $installPath "UmbracoFiles\bin\x86\*"
$sqlCex86Destination = Join-Path $projectPath "bin\x86\"
Copy-Item $sqlCex86source $sqlCex86Destination -Force
$umbracoUIXMLSource = Join-Path $installPath "UmbracoFiles\Umbraco\Config\Create\UI.xml"
$umbracoUIXMLDestination = Join-Path $projectPath "Umbraco\Config\Create\UI.xml"
Copy-Item $umbracoUIXMLSource $umbracoUIXMLDestination -Force
} else {
# This part only runs for upgrades
@@ -118,31 +98,6 @@ if ($project) {
{
# Not a big problem if this fails, let it go
}
Try
{
$uiXmlConfigPath = Join-Path $umbracoFolder -ChildPath "Config" | Join-Path -ChildPath "create" | Join-Path -ChildPath "UI.xml"
$uiXmlFile = Join-Path $umbracoFolder -ChildPath "Config" | Join-Path -ChildPath "create" | Join-Path -ChildPath "UI.xml"
$uiXml = New-Object System.Xml.XmlDocument
$uiXml.PreserveWhitespace = $true
$uiXml.Load($uiXmlFile)
$createExists = $uiXml.SelectNodes("//nodeType[@alias='macros']/tasks/create")
if($createExists.Count -eq 0)
{
$macrosTasksNode = $uiXml.SelectNodes("//nodeType[@alias='macros']/tasks")
#Creating: <create assembly="umbraco" type="macroTasks" />
$createNode = $uiXml.CreateElement("create")
$createNode.SetAttribute("assembly", "umbraco")
$createNode.SetAttribute("type", "macroTasks")
$macrosTasksNode.AppendChild($createNode)
$uiXml.Save($uiXmlFile)
}
}
Catch { }
}
$installFolder = Join-Path $projectPath "Install"
@@ -159,4 +114,4 @@ if ($project) {
{
$DTE.ItemOperations.OpenFile($toolsPath + '\ReadmeUpgrade.txt')
}
}
}
@@ -1,20 +0,0 @@
<?xml version="1.0"?>
<log4net xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appender name="AsynchronousLog4NetAppender" xdt:Transform="Remove" xdt:Locator="Match(name)" />
<appender name="AsynchronousLog4NetAppender" type="Umbraco.Core.Logging.ParallelForwardingAppender,Umbraco.Core" xdt:Transform="Insert" >
<appender-ref ref="rollingFile" />
</appender>
<appender name="rollingFile" type="log4net.Appender.RollingFileAppender" xdt:Transform="InsertIfMissing">
<file value="App_Data\Logs\UmbracoTraceLog.txt" />
<lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
<appendToFile value="true" />
<rollingStyle value="Date" />
<maximumFileSize value="5MB" />
<layout type="log4net.Layout.PatternLayout">
<conversionPattern value=" %date [P%property{processId}/D%property{appDomainId}/T%thread] %-5level %logger - %message%newline" />
</layout>
<encoding value="utf-8" />
</appender>
</log4net>
@@ -1,143 +0,0 @@
<?xml version="1.0"?>
<trees xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!--Content-->
<add alias="content" application="content"
xdt:Locator="Match(application,alias)"
xdt:Transform="RemoveAttributes(silent)" />
<add initialize="false" sortOrder="0" alias="contentRecycleBin" application="content" title="Recycle Bin" iconClosed="icon-folder" iconOpen="icon-folder" type="umbraco.cms.presentation.Trees.ContentRecycleBin, Umbraco.Web"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes()" />
<add initialize="true" sortOrder="0" alias="content" application="content" title="Content" iconClosed="icon-folder" iconOpen="icon-folder" type="Umbraco.Web.Trees.ContentTreeController, Umbraco.Web"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes()" />
<!--Media-->
<add initialize="true" sortOrder="0" alias="media" application="media" title="Media" iconClosed="icon-folder" iconOpen="icon-folder" type="Umbraco.Web.Trees.MediaTreeController, Umbraco.Web"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes()" />
<add initialize="false" sortOrder="0" alias="mediaRecycleBin" application="media" title="Recycle Bin" iconClosed="icon-folder" iconOpen="icon-folder" type="umbraco.cms.presentation.Trees.MediaRecycleBin, Umbraco.Web"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes()" />
<!--Settings-->
<add application="settings" alias="nodeTypes"
xdt:Locator="Match(application,alias)"
xdt:Transform="Remove" />
<add initialize="true" sortOrder="0" alias="documentTypes" application="settings" title="Document Types" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.ContentTypeTreeController, Umbraco.Web"
xdt:Locator="Match(application,alias)"
xdt:Transform="InsertIfMissing" />
<add application="settings" alias="stylesheets" title="Stylesheets" type="umbraco.loadStylesheets, Umbraco.Web" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="3"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes()" />
<add application="settings" alias="stylesheetProperty" title="Stylesheet Property" type="umbraco.loadStylesheetProperty, Umbraco.Web" iconClosed="" iconOpen="" initialize="false" sortOrder="0"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes()" />
<add application="settings" alias="templates" title="Templates" type="Umbraco.Web.Trees.TemplatesTreeController, Umbraco.Web" iconClosed="icon-folder" iconOpen="icon-folder-open" sortOrder="1"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes()" />
<add application="settings" alias="partialViews" type="Umbraco.Web.Trees.PartialViewsTree, Umbraco.Web"
xdt:Locator="Match(application,alias,type)"
xdt:Transform="Remove()" />
<add application="settings" alias="partialViews" title="Partial Views" silent="false" initialize="true" iconClosed="icon-folder" iconOpen="icon-folder" type="Umbraco.Web.Trees.PartialViewsTreeController, Umbraco.Web" sortOrder="2"
xdt:Locator="Match(application,alias)"
xdt:Transform="InsertIfMissing" />
<add application="settings" alias="scripts" title="Scripts" type="Umbraco.Web.Trees.ScriptTreeController, Umbraco.Web" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="4"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes()" />
<add application="settings" alias="dictionary" title="Dictionary" type="Umbraco.Web.Trees.DictionaryTreeController, Umbraco.Web" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="8"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes()" />
<add alias="dictionary" application="settings"
xdt:Locator="Match(application,alias)"
xdt:Transform="RemoveAttributes(action)" />
<add application="settings" alias="languages" title="Languages" type="Umbraco.Web.Trees.LanguageTreeController, Umbraco.Web" iconClosed="icon-folder" iconOpen="icon-folder-open" sortOrder="5"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes()" />
<add application="settings" initialize="true" alias="mediaTypes" title="Media Types" type="Umbraco.Web.Trees.MediaTypeTreeController, Umbraco.Web" iconClosed="icon-folder" iconOpen="icon-folder-open" sortOrder="7"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes()" />
<!--Developer-->
<add alias="packager" application="developer"
xdt:Locator="Match(application,alias)"
xdt:Transform="Remove" />
<add alias="packagerPackages" application="developer"
xdt:Locator="Match(application,alias)"
xdt:Transform="Remove" />
<add initialize="true" sortOrder="0" alias="packager" application="developer" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.PackagesTreeController, Umbraco.Web"
xdt:Locator="Match(application,alias)"
xdt:Transform="InsertIfMissing" />
<!-- Before 7.4 this tree had the alias 'dataType', without the 's' on the end, this is here to rename it -->
<add sortOrder="1" alias="dataTypes" application="developer" type="Umbraco.Web.Trees.DataTypeTreeController, Umbraco.Web"
xdt:Locator="Match(application,type)"
xdt:Transform="SetAttributes(alias,sortOrder)" />
<!-- Yes, set the sortOrder again, like above because.. sometimes apparently we already have a dataTypes node and we can't remove more than one.. if they're equal though (same alias,application and sortOrder) it doesn't throw an error -->
<add sortOrder="1" alias="dataTypes" application="developer"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes(sortOrder)" />
<add initialize="true" sortOrder="2" alias="macros" application="developer" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.MacroTreeController, Umbraco.Web"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes()" />
<add application="developer" alias="relationTypes" title="Relation Types" type="umbraco.loadRelationTypes, Umbraco.Web" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="4"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes()" />
<add application="developer" alias="partialViewMacros" type="Umbraco.Web.Trees.PartialViewMacrosTree, Umbraco.Web"
xdt:Locator="Match(application,alias,type)"
xdt:Transform="Remove()" />
<add application="developer" alias="partialViewMacros" type="Umbraco.Web.Trees.PartialViewMacrosTreeController, Umbraco.Web" silent="false" initialize="true" sortOrder="6" title="Partial View Macro Files" iconClosed="icon-folder" iconOpen="icon-folder"
xdt:Locator="Match(application,alias)"
xdt:Transform="InsertIfMissing" />
<add application="developer" alias="python"
xdt:Locator="Match(application,alias)"
xdt:Transform="Remove" />
<!--Users-->
<add initialize="true" sortOrder="0" alias="users" application="users" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.UserTreeController, Umbraco.Web"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes()" />
<add application="users" alias="userTypes"
xdt:Locator="Match(application,alias)"
xdt:Transform="Remove" />
<add application="users" alias="userPermissions"
xdt:Locator="Match(application,alias)"
xdt:Transform="Remove" />
<!--Members-->
<add initialize="true" sortOrder="0" alias="member" application="member" title="Members" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.MemberTreeController, Umbraco.Web"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes()" />
<add application="member" alias="memberGroup"
xdt:Locator="Match(application,alias)"
xdt:Transform="Remove" />
<add application="member" sortOrder="2" alias="memberGroups" title="Member Groups" type="umbraco.loadMemberGroups, Umbraco.Web" iconClosed="icon-folder" iconOpen="icon-folder"
xdt:Locator="Match(application,alias)"
xdt:Transform="InsertIfMissing" />
<add application="member" alias="memberType"
xdt:Locator="Match(application,alias)"
xdt:Transform="Remove" />
<add application="member" sortOrder="1" alias="memberTypes" initialize="true" title="Member Types" type="Umbraco.Web.Trees.MemberTypeTreeController, Umbraco.Web" iconClosed="icon-folder" iconOpen="icon-folder-open"
xdt:Locator="Match(application,alias)"
xdt:Transform="InsertIfMissing" />
<!--Translation-->
<add silent="false" initialize="true" sortOrder="1" alias="openTasks" application="translation" title="Tasks assigned to you" iconClosed="icon-folder" iconOpen="icon-folder" type="umbraco.loadOpenTasks, Umbraco.Web"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes()" />
<add alias="openTasks" application="translation"
xdt:Locator="Match(application,alias)"
xdt:Transform="RemoveAttributes(action)" />
<add silent="false" initialize="true" sortOrder="2" alias="yourTasks" application="translation" title="Tasks created by you" iconClosed="icon-folder" iconOpen="icon-folder" type="umbraco.loadYourTasks, Umbraco.Web"
xdt:Locator="Match(application,alias)"
xdt:Transform="SetAttributes()" />
<add alias="yourTasks" application="translation"
xdt:Locator="Match(application,alias)"
xdt:Transform="RemoveAttributes(action)" />
</trees>
+55 -50
View File
@@ -43,14 +43,6 @@
$release = "" + $semver.Major + "." + $semver.Minor + "." + $semver.Patch
Write-Host "Update UmbracoVersion.cs"
$this.ReplaceFileText("$($this.SolutionRoot)\src\Umbraco.Core\Configuration\UmbracoVersion.cs", `
"(\d+)\.(\d+)\.(\d+)(.(\d+))?", `
"$release")
$this.ReplaceFileText("$($this.SolutionRoot)\src\Umbraco.Core\Configuration\UmbracoVersion.cs", `
"CurrentComment => `"(.+)`"", `
"CurrentComment => `"$($semver.PreRelease)`"")
Write-Host "Update IIS Express port in csproj"
$updater = New-Object "Umbraco.Build.ExpressPortUpdater"
$csproj = "$($this.SolutionRoot)\src\Umbraco.Web.UI\Umbraco.Web.UI.csproj"
@@ -69,6 +61,9 @@
$global:node_nodepath = $this.ClearEnvVar("NODEPATH")
$global:node_npmcache = $this.ClearEnvVar("NPM_CONFIG_CACHE")
$global:node_npmprefix = $this.ClearEnvVar("NPM_CONFIG_PREFIX")
# https://github.com/gruntjs/grunt-contrib-connect/issues/235
$this.SetEnvVar("NODE_NO_HTTP2", "1")
})
$ubuild.DefineMethod("RestoreNode",
@@ -78,6 +73,8 @@
$this.SetEnvVar("NODEPATH", $node_nodepath)
$this.SetEnvVar("NPM_CONFIG_CACHE", $node_npmcache)
$this.SetEnvVar("NPM_CONFIG_PREFIX", $node_npmprefix)
$ignore = $this.ClearEnvVar("NODE_NO_HTTP2")
})
$ubuild.DefineMethod("CompileBelle",
@@ -95,48 +92,40 @@
# so we have to take care of it else they'll bubble and kill the build
if ($error.Count -gt 0) { return }
Push-Location "$($this.SolutionRoot)\src\Umbraco.Web.UI.Client"
Write-Output "" > $log
try {
Push-Location "$($this.SolutionRoot)\src\Umbraco.Web.UI.Client"
Write-Output "" > $log
Write-Output "### node version is:" > $log
&node -v >> $log 2>&1
if (-not $?) { throw "Failed to report node version." }
Write-Output "### node version is:" > $log
node -v >> $log 2>&1
if (-not $?) { throw "Failed to report node version." }
Write-Output "### npm version is:" >> $log 2>&1
&npm -v >> $log 2>&1
if (-not $?) { throw "Failed to report npm version." }
Write-Output "### npm version is:" >> $log 2>&1
npm -v >> $log 2>&1
if (-not $?) { throw "Failed to report npm version." }
Write-Output "### clean npm cache" >> $log 2>&1
&npm cache clean --force >> $log 2>&1
$error.Clear() # that one can fail 'cos security bug - ignore
Write-Output "### clean npm cache" >> $log 2>&1
npm cache clean --force >> $log 2>&1
$error.Clear() # that one can fail 'cos security bug - ignore
Write-Output "### npm install" >> $log 2>&1
&npm install >> $log 2>&1
Write-Output ">> $? $($error.Count)" >> $log 2>&1
Write-Output "### npm install" >> $log 2>&1
npm install >> $log 2>&1
Write-Output ">> $? $($error.Count)" >> $log 2>&1
# Don't really care about the messages from npm install making us think there are errors
$error.Clear()
Write-Output "### install bower" >> $log 2>&1
&npm install -g bower >> $log 2>&1
$error.Clear() # that one fails 'cos bower is deprecated - ignore
Write-Output "### gulp build for version $($this.Version.Release)" >> $log 2>&1
npx gulp build --buildversion=$this.Version.Release >> $log 2>&1
if (-not $?) { throw "Failed to build" } # that one is expected to work
} finally {
Pop-Location
Write-Output "### install gulp" >> $log 2>&1
&npm install -g gulp >> $log 2>&1
$error.Clear() # that one fails 'cos deprecated stuff - ignore
# FIXME: should we filter the log to find errors?
#get-content .\build.tmp\belle.log | %{ if ($_ -match "build") { write $_}}
Write-Output "### install gulp-cli" >> $log 2>&1
&npm install -g gulp-cli --quiet >> $log 2>&1
if (-not $?) { throw "Failed to install gulp-cli" } # that one is expected to work
Write-Output "### gulp build for version $($this.Version.Release)" >> $log 2>&1
&gulp build --buildversion=$this.Version.Release >> $log 2>&1
if (-not $?) { throw "Failed to build" } # that one is expected to work
Pop-Location
# fixme - should we filter the log to find errors?
#get-content .\build.tmp\belle.log | %{ if ($_ -match "build") { write $_}}
# restore
$this.RestoreNode()
# restore
$this.RestoreNode()
}
# setting node_modules folder to hidden
# used to prevent VS13 from crashing on it while loading the websites project
@@ -188,7 +177,7 @@
{
Write-Host "Prepare Tests"
# fixme - idea is to avoid rebuilding everything for tests
# FIXME: - idea is to avoid rebuilding everything for tests
# but because of our weird assembly versioning (with .* stuff)
# everything gets rebuilt all the time...
#Copy-Files "$tmp\bin" "." "$tmp\tests"
@@ -341,9 +330,6 @@
$ubuild.DefineMethod("PrepareBuild",
{
Write-Host "Clear folders and files"
$this.RemoveDirectory("$($this.SolutionRoot)\src\Umbraco.Web.UI.Client\bower_components")
$this.TempStoreFile("$($this.SolutionRoot)\src\Umbraco.Web.UI\web.config")
Write-Host "Create clean web.config"
$this.CopyFile("$($this.SolutionRoot)\src\Umbraco.Web.UI\web.Template.config", "$($this.SolutionRoot)\src\Umbraco.Web.UI\web.config")
@@ -399,9 +385,15 @@
-Symbols -Verbosity detailed -outputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.cmscore.log"
if (-not $?) { throw "Failed to pack NuGet UmbracoCms.Core." }
&$this.BuildEnv.NuGet Pack "$nuspecs\UmbracoCms.Web.nuspec" `
-Properties BuildTmp="$($this.BuildTemp)" `
-Version "$($this.Version.Semver.ToString())" `
-Symbols -Verbosity detailed -outputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.cmsweb.log"
if (-not $?) { throw "Failed to pack NuGet UmbracoCms.Web." }
&$this.BuildEnv.NuGet Pack "$nuspecs\UmbracoCms.nuspec" `
-Properties BuildTmp="$($this.BuildTemp)" `
-Version $this.Version.Semver.ToString() `
-Version "$($this.Version.Semver.ToString())" `
-Verbosity detailed -outputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.cms.log"
if (-not $?) { throw "Failed to pack NuGet UmbracoCms." }
@@ -417,7 +409,7 @@
$ubuild.DefineMethod("VerifyNuGet",
{
$this.VerifyNuGetConsistency(
("UmbracoCms", "UmbracoCms.Core"),
("UmbracoCms", "UmbracoCms.Core", "UmbracoCms.Web"),
("Umbraco.Core", "Umbraco.Web", "Umbraco.Web.UI", "Umbraco.Examine"))
if ($this.OnError()) { return }
})
@@ -457,6 +449,20 @@
if ($this.OnError()) { return }
$this.PrepareAzureGallery()
if ($this.OnError()) { return }
$this.PostPackageHook()
if ($this.OnError()) { return }
Write-Host "Done"
})
$ubuild.DefineMethod("PostPackageHook",
{
# run hook
if ($this.HasMethod("PostPackage"))
{
Write-Host "Run PostPackage hook"
$this.PostPackage();
if (-not $?) { throw "Failed to run hook." }
}
})
# ################################################################
@@ -472,5 +478,4 @@
$ubuild.Build()
if ($ubuild.OnError()) { return }
}
Write-Host "Done"
if ($get) { return $ubuild }
-11
View File
@@ -1,11 +0,0 @@
### Prerequisites
- [ ] I have written a descriptive pull-request title
- [ ] I have linked this PR to an issue on the tracker at http://issues.umbraco.org
### Description
<!-- A description of the changes proposed in the pull-request -->
<!-- Thanks for contributing to Umbraco CMS! -->
-51
View File
@@ -1,51 +0,0 @@
_You are browsing the Umbraco v8 branch._
_Looking for Umbraco version 7? [Click here](https://github.com/umbraco/Umbraco-CMS) to go to the v7 branch._
_Ready to try out Version 8? [See the quick start guide](V8_GETTING_STARTED.md)._
Umbraco CMS
===========
The friendliest, most flexible and fastest growing ASP.NET CMS used by more than 443,000 websites worldwide: [https://umbraco.com](https://umbraco.com)
[![ScreenShot](img/vimeo.png)](https://vimeo.com/172382998/)
## Umbraco CMS
Umbraco is a free open source Content Management System built on the ASP.NET platform. Our mission is to help you deliver delightful digital experiences by making Umbraco friendly, simpler and social.
## Watch an introduction video
[![ScreenShot](https://shop.umbraco.com/images/whatisumbraco.png)](https://umbraco.tv/videos/umbraco-v7/content-editor/basics/introduction/cms-explanation/)
## Umbraco - The Friendly CMS
For the first time on the Microsoft platform, there is a free user and developer friendly CMS that makes it quick and easy to create websites - or a breeze to build complex web applications. Umbraco has award-winning integration capabilities and supports ASP.NET MVC or Web Forms, including User and Custom Controls, out of the box.
Umbraco is not only loved by developers, but is a content editors dream. Enjoy intuitive editing tools, media management, responsive views and approval workflows to send your content live.
Used by more than 443,000 active websites including Carlsberg, Segway, Amazon and Heinz and **The Official ASP.NET and IIS.NET website from Microsoft** ([https://asp.net](https://asp.net) / [https://iis.net](https://iis.net)), you can be sure that the technology is proven, stable and scales. Backed by the team at Umbraco HQ, and supported by a dedicated community of over 220,000 craftspeople globally, you can trust that Umbraco is a safe choice and is here to stay.
To view more examples, please visit [https://umbraco.com/case-studies-testimonials/](https://umbraco.com/case-studies-testimonials/)
## Why Open Source?
As an Open Source platform, Umbraco is more than just a CMS. We are transparent with our roadmap for future versions, our incremental sprint planning notes are publicly accessible and community contributions and packages are available for all to use.
## Trying out Umbraco CMS
[Umbraco Cloud](https://umbraco.com/cloud) is the easiest and fastest way to use Umbraco yet with full support for all your custom .NET code and intergrations. You're up and running in less than a minute and your life will be made easier with automated upgrades and a built-in deployment engine. We offer a free 14 day trial, no credit card needed.
If you want to DIY you can [download Umbraco](https://our.umbraco.com/download) either as a ZIP file or via NuGet. It's the same version of Umbraco CMS that powers Umbraco Cloud, but you'll need to find a place to host yourself and handling deployments and upgrades is all down to you.
## Community
Our friendly community is available 24/7 at the community hub we call ["Our Umbraco"](https://our.umbraco.com). Our Umbraco feature forums for questions and answers, documentation, downloadable plugins for Umbraco and a rich collection of community resources.
## Contribute to Umbraco
Umbraco is contribution focused and community driven. If you want to contribute back to Umbraco please check out our [guide to contributing](CONTRIBUTING.md).
## Found a bug?
Another way you can contribute to Umbraco is by providing issue reports. For information on how to submit an issue report refer to our [online guide for reporting issues](CONTRIBUTING_DETAILED.md#reporting-bugs).
To view existing issues, please visit [http://issues.umbraco.org](http://issues.umbraco.org).
@@ -7,7 +7,7 @@
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
<span>Copyright © 2016 Umbraco<br>Generated by <strong>DocFX</strong></span>
<span>Copyright © 2016-present Umbraco<br>Generated by <strong>DocFX</strong></span>
</div>
</div>
</footer>
@@ -8,7 +8,7 @@
<meta name="title" content="{{#title}}{{title}}{{/title}}{{^title}}{{>partials/title}}{{/title}} {{#_appTitle}}| {{_appTitle}} {{/_appTitle}}">
<meta name="generator" content="docfx {{_docfxVersion}}">
{{#_description}}<meta name="description" content="{{_description}}">{{/_description}}
<link rel="icon" type="image/png" href="https://our.umbraco.org/assets/images/app-icons/favicon.png">
<link rel="icon" type="image/png" href="https://our.umbraco.com/assets/images/app-icons/favicon.png">
<link rel="stylesheet" href="{{_rel}}styles/docfx.vendor.css">
<link rel="stylesheet" href="{{_rel}}styles/docfx.css">
<link rel="stylesheet" href="{{_rel}}styles/main.css">
+1 -1
View File
@@ -63,7 +63,7 @@ a:focus {
}
.navbar-header .navbar-brand {
background: url(https://our.umbraco.org/assets/images/logo.svg) left center no-repeat;
background: url(https://our.umbraco.com/assets/images/logo.svg) left center no-repeat;
background-size: 40px auto;
width:50px;
}
+3 -3
View File
@@ -2,7 +2,7 @@
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2017")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -18,5 +18,5 @@ using System.Resources;
[assembly: AssemblyVersion("8.0.0")]
// these are FYI and changed automatically
[assembly: AssemblyFileVersion("8.0.0")]
[assembly: AssemblyInformationalVersion("8.0.0-alpha.44")]
[assembly: AssemblyFileVersion("8.1.0")]
[assembly: AssemblyInformationalVersion("8.1.0")]
+1 -1
View File
@@ -8,7 +8,7 @@ namespace Umbraco.Core
public static class Attempt
{
// note:
// cannot rely on overloads only to differenciate between with/without status
// cannot rely on overloads only to differentiate between with/without status
// in some cases it will always be ambiguous, so be explicit w/ 'WithStatus' methods
/// <summary>
+1 -1
View File
@@ -121,7 +121,7 @@ namespace Umbraco.Core
}
/// <summary>
/// Implicity operator to check if the attempt was successful without having to access the 'success' property
/// Implicitly operator to check if the attempt was successful without having to access the 'success' property
/// </summary>
/// <param name="a"></param>
/// <returns></returns>
+1 -1
View File
@@ -130,7 +130,7 @@ namespace Umbraco.Core
}
/// <summary>
/// Implicity operator to check if the attempt was successful without having to access the 'success' property
/// Implicitly operator to check if the attempt was successful without having to access the 'success' property
/// </summary>
/// <param name="a"></param>
/// <returns></returns>
+1 -10
View File
@@ -18,10 +18,7 @@ namespace Umbraco.Core
// this only gets called when an assembly can't be resolved
AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
}
private static readonly Regex Log4NetAssemblyPattern = new Regex("log4net, Version=([\\d\\.]+?), Culture=neutral, PublicKeyToken=\\w+$", RegexOptions.Compiled);
private const string Log4NetReplacement = "log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a";
/// <summary>
/// This is used to do an assembly binding redirect via code - normally required due to signature changes in assemblies
/// </summary>
@@ -30,12 +27,6 @@ namespace Umbraco.Core
/// <returns></returns>
private static Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
{
//log4net:
if (Log4NetAssemblyPattern.IsMatch(args.Name) && args.Name != Log4NetReplacement)
{
return Assembly.Load(Log4NetAssemblyPattern.Replace(args.Name, Log4NetReplacement));
}
//AutoMapper:
// ensure the assembly is indeed AutoMapper and that the PublicKeyToken is null before trying to Load again
// do NOT just replace this with 'return Assembly', as it will cause an infinite loop -> stackoverflow
-39
View File
@@ -1,39 +0,0 @@
namespace Umbraco.Core
{
public static class ByteArrayExtensions
{
private static readonly char[] BytesToHexStringLookup = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' };
public static string ToHexString(this byte[] bytes)
{
int i = 0, p = 0, bytesLength = bytes.Length;
var chars = new char[bytesLength * 2];
while (i < bytesLength)
{
var b = bytes[i++];
chars[p++] = BytesToHexStringLookup[b / 0x10];
chars[p++] = BytesToHexStringLookup[b % 0x10];
}
return new string(chars, 0, chars.Length);
}
public static string ToHexString(this byte[] bytes, char separator, int blockSize, int blockCount)
{
int p = 0, bytesLength = bytes.Length, count = 0, size = 0;
var chars = new char[bytesLength * 2 + blockCount];
for (var i = 0; i < bytesLength; i++)
{
var b = bytes[i++];
chars[p++] = BytesToHexStringLookup[b / 0x10];
chars[p++] = BytesToHexStringLookup[b % 0x10];
if (count == blockCount) continue;
if (++size < blockSize) continue;
chars[p++] = '/';
size = 0;
count++;
}
return new string(chars, 0, chars.Length);
}
}
}
@@ -8,9 +8,9 @@ namespace Umbraco.Core.Cache
/// <summary>
/// Extensions for strongly typed access
/// </summary>
public static class CacheProviderExtensions
public static class AppCacheExtensions
{
public static T GetCacheItem<T>(this IRuntimeCacheProvider provider,
public static T GetCacheItem<T>(this IAppPolicyCache provider,
string cacheKey,
Func<T> getCacheItem,
TimeSpan? timeout,
@@ -19,11 +19,11 @@ namespace Umbraco.Core.Cache
CacheItemRemovedCallback removedCallback = null,
string[] dependentFiles = null)
{
var result = provider.GetCacheItem(cacheKey, () => getCacheItem(), timeout, isSliding, priority, removedCallback, dependentFiles);
var result = provider.Get(cacheKey, () => getCacheItem(), timeout, isSliding, priority, removedCallback, dependentFiles);
return result == null ? default(T) : result.TryConvertTo<T>().Result;
}
public static void InsertCacheItem<T>(this IRuntimeCacheProvider provider,
public static void InsertCacheItem<T>(this IAppPolicyCache provider,
string cacheKey,
Func<T> getCacheItem,
TimeSpan? timeout = null,
@@ -32,24 +32,24 @@ namespace Umbraco.Core.Cache
CacheItemRemovedCallback removedCallback = null,
string[] dependentFiles = null)
{
provider.InsertCacheItem(cacheKey, () => getCacheItem(), timeout, isSliding, priority, removedCallback, dependentFiles);
provider.Insert(cacheKey, () => getCacheItem(), timeout, isSliding, priority, removedCallback, dependentFiles);
}
public static IEnumerable<T> GetCacheItemsByKeySearch<T>(this ICacheProvider provider, string keyStartsWith)
public static IEnumerable<T> GetCacheItemsByKeySearch<T>(this IAppCache provider, string keyStartsWith)
{
var result = provider.GetCacheItemsByKeySearch(keyStartsWith);
var result = provider.SearchByKey(keyStartsWith);
return result.Select(x => x.TryConvertTo<T>().Result);
}
public static IEnumerable<T> GetCacheItemsByKeyExpression<T>(this ICacheProvider provider, string regexString)
public static IEnumerable<T> GetCacheItemsByKeyExpression<T>(this IAppCache provider, string regexString)
{
var result = provider.GetCacheItemsByKeyExpression(regexString);
var result = provider.SearchByRegex(regexString);
return result.Select(x => x.TryConvertTo<T>().Result);
}
public static T GetCacheItem<T>(this ICacheProvider provider, string cacheKey)
public static T GetCacheItem<T>(this IAppCache provider, string cacheKey)
{
var result = provider.GetCacheItem(cacheKey);
var result = provider.Get(cacheKey);
if (result == null)
{
return default(T);
@@ -57,9 +57,9 @@ namespace Umbraco.Core.Cache
return result.TryConvertTo<T>().Result;
}
public static T GetCacheItem<T>(this ICacheProvider provider, string cacheKey, Func<T> getCacheItem)
public static T GetCacheItem<T>(this IAppCache provider, string cacheKey, Func<T> getCacheItem)
{
var result = provider.GetCacheItem(cacheKey, () => getCacheItem());
var result = provider.Get(cacheKey, () => getCacheItem());
if (result == null)
{
return default(T);
+86
View File
@@ -0,0 +1,86 @@
using System;
using System.Web;
namespace Umbraco.Core.Cache
{
/// <summary>
/// Represents the application caches.
/// </summary>
public class AppCaches
{
/// <summary>
/// Initializes a new instance of the <see cref="AppCaches"/> for use in a web application.
/// </summary>
public AppCaches()
: this(HttpRuntime.Cache)
{ }
/// <summary>
/// Initializes a new instance of the <see cref="AppCaches"/> for use in a web application.
/// </summary>
public AppCaches(System.Web.Caching.Cache cache)
: this(
new WebCachingAppCache(cache),
new HttpRequestAppCache(),
new IsolatedCaches(t => new ObjectCacheAppCache()))
{ }
/// <summary>
/// Initializes a new instance of the <see cref="AppCaches"/> with cache providers.
/// </summary>
public AppCaches(
IAppPolicyCache runtimeCache,
IAppCache requestCache,
IsolatedCaches isolatedCaches)
{
RuntimeCache = runtimeCache ?? throw new ArgumentNullException(nameof(runtimeCache));
RequestCache = requestCache ?? throw new ArgumentNullException(nameof(requestCache));
IsolatedCaches = isolatedCaches ?? throw new ArgumentNullException(nameof(isolatedCaches));
}
/// <summary>
/// Gets the special disabled instance.
/// </summary>
/// <remarks>
/// <para>When used by repositories, all cache policies apply, but the underlying caches do not cache anything.</para>
/// <para>Used by tests.</para>
/// </remarks>
public static AppCaches Disabled { get; } = new AppCaches(NoAppCache.Instance, NoAppCache.Instance, new IsolatedCaches(_ => NoAppCache.Instance));
/// <summary>
/// Gets the special no-cache instance.
/// </summary>
/// <remarks>
/// <para>When used by repositories, all cache policies are bypassed.</para>
/// <para>Used by repositories that do no cache.</para>
/// </remarks>
public static AppCaches NoCache { get; } = new AppCaches(NoAppCache.Instance, NoAppCache.Instance, new IsolatedCaches(_ => NoAppCache.Instance));
/// <summary>
/// Gets the per-request cache.
/// </summary>
/// <remarks>
/// <para>The per-request caches works on top of the current HttpContext items.</para>
/// <para>Outside a web environment, the behavior of that cache is unspecified.</para>
/// </remarks>
public IAppCache RequestCache { get; }
/// <summary>
/// Gets the runtime cache.
/// </summary>
/// <remarks>
/// <para>The runtime cache is the main application cache.</para>
/// </remarks>
public IAppPolicyCache RuntimeCache { get; }
/// <summary>
/// Gets the isolated caches.
/// </summary>
/// <remarks>
/// <para>Isolated caches are used by e.g. repositories, to ensure that each cached entity
/// type has its own cache, so that lookups are fast and the repository does not need to
/// search through all keys on a global scale.</para>
/// </remarks>
public IsolatedCaches IsolatedCaches { get; }
}
}
@@ -0,0 +1,74 @@
using System;
using System.Collections.Concurrent;
namespace Umbraco.Core.Cache
{
/// <summary>
/// Provides a base class for implementing a dictionary of <see cref="IAppPolicyCache"/>.
/// </summary>
/// <typeparam name="TKey">The type of the dictionary key.</typeparam>
public abstract class AppPolicedCacheDictionary<TKey>
{
private readonly ConcurrentDictionary<TKey, IAppPolicyCache> _caches = new ConcurrentDictionary<TKey, IAppPolicyCache>();
/// <summary>
/// Initializes a new instance of the <see cref="AppPolicedCacheDictionary{TKey}"/> class.
/// </summary>
/// <param name="cacheFactory"></param>
protected AppPolicedCacheDictionary(Func<TKey, IAppPolicyCache> cacheFactory)
{
CacheFactory = cacheFactory;
}
/// <summary>
/// Gets the internal cache factory, for tests only!
/// </summary>
internal readonly Func<TKey, IAppPolicyCache> CacheFactory;
/// <summary>
/// Gets or creates a cache.
/// </summary>
public IAppPolicyCache GetOrCreate(TKey key)
=> _caches.GetOrAdd(key, k => CacheFactory(k));
/// <summary>
/// Tries to get a cache.
/// </summary>
public Attempt<IAppPolicyCache> Get(TKey key)
=> _caches.TryGetValue(key, out var cache) ? Attempt.Succeed(cache) : Attempt.Fail<IAppPolicyCache>();
/// <summary>
/// Removes a cache.
/// </summary>
public void Remove(TKey key)
{
_caches.TryRemove(key, out _);
}
/// <summary>
/// Removes all caches.
/// </summary>
public void RemoveAll()
{
_caches.Clear();
}
/// <summary>
/// Clears a cache.
/// </summary>
public void ClearCache(TKey key)
{
if (_caches.TryGetValue(key, out var cache))
cache.Clear();
}
/// <summary>
/// Clears all caches.
/// </summary>
public void ClearAllCaches()
{
foreach (var cache in _caches.Values)
cache.Clear();
}
}
}
-99
View File
@@ -1,99 +0,0 @@
using System;
using System.Web;
namespace Umbraco.Core.Cache
{
/// <summary>
/// Class that is exposed by the ApplicationContext for application wide caching purposes
/// </summary>
public class CacheHelper
{
public static CacheHelper NoCache { get; } = new CacheHelper(NullCacheProvider.Instance, NullCacheProvider.Instance, NullCacheProvider.Instance, new IsolatedRuntimeCache(_ => NullCacheProvider.Instance));
/// <summary>
/// Creates a cache helper with disabled caches
/// </summary>
/// <returns></returns>
/// <remarks>
/// Good for unit testing
/// </remarks>
public static CacheHelper CreateDisabledCacheHelper()
{
// do *not* return NoCache
// NoCache is a special instance that is detected by RepositoryBase and disables all cache policies
// CreateDisabledCacheHelper is used in tests to use no cache, *but* keep all cache policies
return new CacheHelper(NullCacheProvider.Instance, NullCacheProvider.Instance, NullCacheProvider.Instance, new IsolatedRuntimeCache(_ => NullCacheProvider.Instance));
}
/// <summary>
/// Initializes a new instance for use in the web
/// </summary>
public CacheHelper()
: this(
new HttpRuntimeCacheProvider(HttpRuntime.Cache),
new StaticCacheProvider(),
new HttpRequestCacheProvider(),
new IsolatedRuntimeCache(t => new ObjectCacheRuntimeCacheProvider()))
{
}
/// <summary>
/// Initializes a new instance for use in the web
/// </summary>
/// <param name="cache"></param>
public CacheHelper(System.Web.Caching.Cache cache)
: this(
new HttpRuntimeCacheProvider(cache),
new StaticCacheProvider(),
new HttpRequestCacheProvider(),
new IsolatedRuntimeCache(t => new ObjectCacheRuntimeCacheProvider()))
{
}
/// <summary>
/// Initializes a new instance based on the provided providers
/// </summary>
/// <param name="httpCacheProvider"></param>
/// <param name="staticCacheProvider"></param>
/// <param name="requestCacheProvider"></param>
/// <param name="isolatedCacheManager"></param>
public CacheHelper(
IRuntimeCacheProvider httpCacheProvider,
ICacheProvider staticCacheProvider,
ICacheProvider requestCacheProvider,
IsolatedRuntimeCache isolatedCacheManager)
{
if (httpCacheProvider == null) throw new ArgumentNullException("httpCacheProvider");
if (staticCacheProvider == null) throw new ArgumentNullException("staticCacheProvider");
if (requestCacheProvider == null) throw new ArgumentNullException("requestCacheProvider");
if (isolatedCacheManager == null) throw new ArgumentNullException("isolatedCacheManager");
RuntimeCache = httpCacheProvider;
StaticCache = staticCacheProvider;
RequestCache = requestCacheProvider;
IsolatedRuntimeCache = isolatedCacheManager;
}
/// <summary>
/// Returns the current Request cache
/// </summary>
public ICacheProvider RequestCache { get; internal set; }
/// <summary>
/// Returns the current Runtime cache
/// </summary>
public ICacheProvider StaticCache { get; internal set; }
/// <summary>
/// Returns the current Runtime cache
/// </summary>
public IRuntimeCacheProvider RuntimeCache { get; internal set; }
/// <summary>
/// Returns the current Isolated Runtime cache manager
/// </summary>
public IsolatedRuntimeCache IsolatedRuntimeCache { get; internal set; }
}
}
+2 -2
View File
@@ -5,10 +5,10 @@
/// </summary>
public static class CacheKeys
{
public const string ApplicationTreeCacheKey = "ApplicationTreeCache"; // used by ApplicationTreeService
public const string ApplicationsCacheKey = "ApplicationCache"; // used by SectionService
public const string TemplateFrontEndCacheKey = "template"; // fixme usage?
// TODO: this one can probably be removed
public const string TemplateFrontEndCacheKey = "template";
public const string MacroContentCacheKey = "macroContent_"; // used in MacroRenderers
}
+5 -5
View File
@@ -16,10 +16,10 @@ namespace Umbraco.Core.Cache
/// <summary>
/// Initializes a new instance of the <see cref="CacheRefresherBase{TInstanceType}"/>.
/// </summary>
/// <param name="cacheHelper">A cache helper.</param>
protected CacheRefresherBase(CacheHelper cacheHelper)
/// <param name="appCaches">A cache helper.</param>
protected CacheRefresherBase(AppCaches appCaches)
{
CacheHelper = cacheHelper;
AppCaches = appCaches;
}
/// <summary>
@@ -93,7 +93,7 @@ namespace Umbraco.Core.Cache
/// <summary>
/// Gets the cache helper.
/// </summary>
protected CacheHelper CacheHelper { get; }
protected AppCaches AppCaches { get; }
/// <summary>
/// Clears the cache for all repository entities of a specified type.
@@ -102,7 +102,7 @@ namespace Umbraco.Core.Cache
protected void ClearAllIsolatedCacheByEntityType<TEntity>()
where TEntity : class, IEntity
{
CacheHelper.IsolatedRuntimeCache.ClearCache<TEntity>();
AppCaches.IsolatedCaches.ClearCache<TEntity>();
}
/// <summary>
@@ -1,15 +1,9 @@
using System.Collections.Generic;
using LightInject;
using Umbraco.Core.Composing;
using Umbraco.Core.Composing;
namespace Umbraco.Core.Cache
{
public class CacheRefresherCollectionBuilder : LazyCollectionBuilderBase<CacheRefresherCollectionBuilder, CacheRefresherCollection, ICacheRefresher>
{
public CacheRefresherCollectionBuilder(IServiceContainer container)
: base(container)
{ }
protected override CacheRefresherCollectionBuilder This => this;
}
}
+157
View File
@@ -0,0 +1,157 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Caching;
using Umbraco.Core.Models;
using Umbraco.Core.Models.Entities;
namespace Umbraco.Core.Cache
{
/// <summary>
/// Implements <see cref="IAppPolicyCache"/> by wrapping an inner other <see cref="IAppPolicyCache"/>
/// instance, and ensuring that all inserts and returns are deep cloned copies of the cache item,
/// when the item is deep-cloneable.
/// </summary>
internal class DeepCloneAppCache : IAppPolicyCache
{
/// <summary>
/// Initializes a new instance of the <see cref="DeepCloneAppCache"/> class.
/// </summary>
public DeepCloneAppCache(IAppPolicyCache innerCache)
{
var type = typeof (DeepCloneAppCache);
if (innerCache.GetType() == type)
throw new InvalidOperationException($"A {type} cannot wrap another instance of itself.");
InnerCache = innerCache;
}
/// <summary>
/// Gets the inner cache.
/// </summary>
public IAppPolicyCache InnerCache { get; }
/// <inheritdoc />
public object Get(string key)
{
var item = InnerCache.Get(key);
return CheckCloneableAndTracksChanges(item);
}
/// <inheritdoc />
public object Get(string key, Func<object> factory)
{
var cached = InnerCache.Get(key, () =>
{
var result = FastDictionaryAppCacheBase.GetSafeLazy(factory);
var value = result.Value; // force evaluation now - this may throw if cacheItem throws, and then nothing goes into cache
// do not store null values (backward compat), clone / reset to go into the cache
return value == null ? null : CheckCloneableAndTracksChanges(value);
});
return CheckCloneableAndTracksChanges(cached);
}
/// <inheritdoc />
public IEnumerable<object> SearchByKey(string keyStartsWith)
{
return InnerCache.SearchByKey(keyStartsWith)
.Select(CheckCloneableAndTracksChanges);
}
/// <inheritdoc />
public IEnumerable<object> SearchByRegex(string regex)
{
return InnerCache.SearchByRegex(regex)
.Select(CheckCloneableAndTracksChanges);
}
/// <inheritdoc />
public object Get(string key, Func<object> factory, TimeSpan? timeout, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
{
var cached = InnerCache.Get(key, () =>
{
var result = FastDictionaryAppCacheBase.GetSafeLazy(factory);
var value = result.Value; // force evaluation now - this may throw if cacheItem throws, and then nothing goes into cache
// do not store null values (backward compat), clone / reset to go into the cache
return value == null ? null : CheckCloneableAndTracksChanges(value);
// clone / reset to go into the cache
}, timeout, isSliding, priority, removedCallback, dependentFiles);
// clone / reset to go into the cache
return CheckCloneableAndTracksChanges(cached);
}
/// <inheritdoc />
public void Insert(string key, Func<object> factory, TimeSpan? timeout = null, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
{
InnerCache.Insert(key, () =>
{
var result = FastDictionaryAppCacheBase.GetSafeLazy(factory);
var value = result.Value; // force evaluation now - this may throw if cacheItem throws, and then nothing goes into cache
// do not store null values (backward compat), clone / reset to go into the cache
return value == null ? null : CheckCloneableAndTracksChanges(value);
}, timeout, isSliding, priority, removedCallback, dependentFiles);
}
/// <inheritdoc />
public void Clear()
{
InnerCache.Clear();
}
/// <inheritdoc />
public void Clear(string key)
{
InnerCache.Clear(key);
}
/// <inheritdoc />
public void ClearOfType(string typeName)
{
InnerCache.ClearOfType(typeName);
}
/// <inheritdoc />
public void ClearOfType<T>()
{
InnerCache.ClearOfType<T>();
}
/// <inheritdoc />
public void ClearOfType<T>(Func<string, T, bool> predicate)
{
InnerCache.ClearOfType<T>(predicate);
}
/// <inheritdoc />
public void ClearByKey(string keyStartsWith)
{
InnerCache.ClearByKey(keyStartsWith);
}
/// <inheritdoc />
public void ClearByRegex(string regex)
{
InnerCache.ClearByRegex(regex);
}
private static object CheckCloneableAndTracksChanges(object input)
{
if (input is IDeepCloneable cloneable)
{
input = cloneable.DeepClone();
}
// reset dirty initial properties
if (input is IRememberBeingDirty tracksChanges)
{
tracksChanges.ResetDirtyProperties(false);
input = tracksChanges;
}
return input;
}
}
}
@@ -1,155 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Caching;
using Umbraco.Core.Models;
using Umbraco.Core.Models.Entities;
namespace Umbraco.Core.Cache
{
/// <summary>
/// Interface describing this cache provider as a wrapper for another
/// </summary>
internal interface IRuntimeCacheProviderWrapper
{
IRuntimeCacheProvider InnerProvider { get; }
}
/// <summary>
/// A wrapper for any IRuntimeCacheProvider that ensures that all inserts and returns
/// are a deep cloned copy of the item when the item is IDeepCloneable and that tracks changes are
/// reset if the object is TracksChangesEntityBase
/// </summary>
internal class DeepCloneRuntimeCacheProvider : IRuntimeCacheProvider, IRuntimeCacheProviderWrapper
{
public IRuntimeCacheProvider InnerProvider { get; }
public DeepCloneRuntimeCacheProvider(IRuntimeCacheProvider innerProvider)
{
var type = typeof (DeepCloneRuntimeCacheProvider);
if (innerProvider.GetType() == type)
throw new InvalidOperationException($"A {type} cannot wrap another instance of {type}.");
InnerProvider = innerProvider;
}
#region Clear - doesn't require any changes
public void ClearAllCache()
{
InnerProvider.ClearAllCache();
}
public void ClearCacheItem(string key)
{
InnerProvider.ClearCacheItem(key);
}
public void ClearCacheObjectTypes(string typeName)
{
InnerProvider.ClearCacheObjectTypes(typeName);
}
public void ClearCacheObjectTypes<T>()
{
InnerProvider.ClearCacheObjectTypes<T>();
}
public void ClearCacheObjectTypes<T>(Func<string, T, bool> predicate)
{
InnerProvider.ClearCacheObjectTypes<T>(predicate);
}
public void ClearCacheByKeySearch(string keyStartsWith)
{
InnerProvider.ClearCacheByKeySearch(keyStartsWith);
}
public void ClearCacheByKeyExpression(string regexString)
{
InnerProvider.ClearCacheByKeyExpression(regexString);
}
#endregion
public IEnumerable<object> GetCacheItemsByKeySearch(string keyStartsWith)
{
return InnerProvider.GetCacheItemsByKeySearch(keyStartsWith)
.Select(CheckCloneableAndTracksChanges);
}
public IEnumerable<object> GetCacheItemsByKeyExpression(string regexString)
{
return InnerProvider.GetCacheItemsByKeyExpression(regexString)
.Select(CheckCloneableAndTracksChanges);
}
public object GetCacheItem(string cacheKey)
{
var item = InnerProvider.GetCacheItem(cacheKey);
return CheckCloneableAndTracksChanges(item);
}
public object GetCacheItem(string cacheKey, Func<object> getCacheItem)
{
var cached = InnerProvider.GetCacheItem(cacheKey, () =>
{
var result = DictionaryCacheProviderBase.GetSafeLazy(getCacheItem);
var value = result.Value; // force evaluation now - this may throw if cacheItem throws, and then nothing goes into cache
if (value == null) return null; // do not store null values (backward compat)
return CheckCloneableAndTracksChanges(value);
});
return CheckCloneableAndTracksChanges(cached);
}
public object GetCacheItem(string cacheKey, Func<object> getCacheItem, TimeSpan? timeout, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
{
var cached = InnerProvider.GetCacheItem(cacheKey, () =>
{
var result = DictionaryCacheProviderBase.GetSafeLazy(getCacheItem);
var value = result.Value; // force evaluation now - this may throw if cacheItem throws, and then nothing goes into cache
if (value == null) return null; // do not store null values (backward compat)
// clone / reset to go into the cache
return CheckCloneableAndTracksChanges(value);
}, timeout, isSliding, priority, removedCallback, dependentFiles);
// clone / reset to go into the cache
return CheckCloneableAndTracksChanges(cached);
}
public void InsertCacheItem(string cacheKey, Func<object> getCacheItem, TimeSpan? timeout = null, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
{
InnerProvider.InsertCacheItem(cacheKey, () =>
{
var result = DictionaryCacheProviderBase.GetSafeLazy(getCacheItem);
var value = result.Value; // force evaluation now - this may throw if cacheItem throws, and then nothing goes into cache
if (value == null) return null; // do not store null values (backward compat)
// clone / reset to go into the cache
return CheckCloneableAndTracksChanges(value);
}, timeout, isSliding, priority, removedCallback, dependentFiles);
}
private static object CheckCloneableAndTracksChanges(object input)
{
var cloneable = input as IDeepCloneable;
if (cloneable != null)
{
input = cloneable.DeepClone();
}
// reset dirty initial properties (U4-1946)
var tracksChanges = input as IRememberBeingDirty;
if (tracksChanges != null)
{
tracksChanges.ResetDirtyProperties(false);
input = tracksChanges;
}
return input;
}
}
}
@@ -23,7 +23,7 @@ namespace Umbraco.Core.Cache
private static readonly TEntity[] EmptyEntities = new TEntity[0]; // const
private readonly RepositoryCachePolicyOptions _options;
public DefaultRepositoryCachePolicy(IRuntimeCacheProvider cache, IScopeAccessor scopeAccessor, RepositoryCachePolicyOptions options)
public DefaultRepositoryCachePolicy(IAppPolicyCache cache, IScopeAccessor scopeAccessor, RepositoryCachePolicyOptions options)
: base(cache, scopeAccessor)
{
_options = options ?? throw new ArgumentNullException(nameof(options));
@@ -42,7 +42,7 @@ namespace Umbraco.Core.Cache
protected virtual void InsertEntity(string cacheKey, TEntity entity)
{
Cache.InsertCacheItem(cacheKey, () => entity, TimeSpan.FromMinutes(5), true);
Cache.Insert(cacheKey, () => entity, TimeSpan.FromMinutes(5), true);
}
protected virtual void InsertEntities(TId[] ids, TEntity[] entities)
@@ -52,7 +52,7 @@ namespace Umbraco.Core.Cache
// getting all of them, and finding nothing.
// if we can cache a zero count, cache an empty array,
// for as long as the cache is not cleared (no expiration)
Cache.InsertCacheItem(GetEntityTypeCacheKey(), () => EmptyEntities);
Cache.Insert(GetEntityTypeCacheKey(), () => EmptyEntities);
}
else
{
@@ -60,7 +60,7 @@ namespace Umbraco.Core.Cache
foreach (var entity in entities)
{
var capture = entity;
Cache.InsertCacheItem(GetEntityCacheKey(entity.Id), () => capture, TimeSpan.FromMinutes(5), true);
Cache.Insert(GetEntityCacheKey(entity.Id), () => capture, TimeSpan.FromMinutes(5), true);
}
}
}
@@ -77,21 +77,21 @@ namespace Umbraco.Core.Cache
// just to be safe, we cannot cache an item without an identity
if (entity.HasIdentity)
{
Cache.InsertCacheItem(GetEntityCacheKey(entity.Id), () => entity, TimeSpan.FromMinutes(5), true);
Cache.Insert(GetEntityCacheKey(entity.Id), () => entity, TimeSpan.FromMinutes(5), true);
}
// if there's a GetAllCacheAllowZeroCount cache, ensure it is cleared
Cache.ClearCacheItem(GetEntityTypeCacheKey());
Cache.Clear(GetEntityTypeCacheKey());
}
catch
{
// if an exception is thrown we need to remove the entry from cache,
// this is ONLY a work around because of the way
// that we cache entities: http://issues.umbraco.org/issue/U4-4259
Cache.ClearCacheItem(GetEntityCacheKey(entity.Id));
Cache.Clear(GetEntityCacheKey(entity.Id));
// if there's a GetAllCacheAllowZeroCount cache, ensure it is cleared
Cache.ClearCacheItem(GetEntityTypeCacheKey());
Cache.Clear(GetEntityTypeCacheKey());
throw;
}
@@ -109,21 +109,21 @@ namespace Umbraco.Core.Cache
// just to be safe, we cannot cache an item without an identity
if (entity.HasIdentity)
{
Cache.InsertCacheItem(GetEntityCacheKey(entity.Id), () => entity, TimeSpan.FromMinutes(5), true);
Cache.Insert(GetEntityCacheKey(entity.Id), () => entity, TimeSpan.FromMinutes(5), true);
}
// if there's a GetAllCacheAllowZeroCount cache, ensure it is cleared
Cache.ClearCacheItem(GetEntityTypeCacheKey());
Cache.Clear(GetEntityTypeCacheKey());
}
catch
{
// if an exception is thrown we need to remove the entry from cache,
// this is ONLY a work around because of the way
// that we cache entities: http://issues.umbraco.org/issue/U4-4259
Cache.ClearCacheItem(GetEntityCacheKey(entity.Id));
Cache.Clear(GetEntityCacheKey(entity.Id));
// if there's a GetAllCacheAllowZeroCount cache, ensure it is cleared
Cache.ClearCacheItem(GetEntityTypeCacheKey());
Cache.Clear(GetEntityTypeCacheKey());
throw;
}
@@ -142,9 +142,9 @@ namespace Umbraco.Core.Cache
{
// whatever happens, clear the cache
var cacheKey = GetEntityCacheKey(entity.Id);
Cache.ClearCacheItem(cacheKey);
Cache.Clear(cacheKey);
// if there's a GetAllCacheAllowZeroCount cache, ensure it is cleared
Cache.ClearCacheItem(GetEntityTypeCacheKey());
Cache.Clear(GetEntityTypeCacheKey());
}
}
@@ -238,7 +238,7 @@ namespace Umbraco.Core.Cache
/// <inheritdoc />
public override void ClearAll()
{
Cache.ClearCacheByKeySearch(GetEntityTypeCacheKey());
Cache.ClearByKey(GetEntityTypeCacheKey());
}
}
}
@@ -0,0 +1,96 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace Umbraco.Core.Cache
{
/// <summary>
/// Implements <see cref="IAppCache"/> on top of a concurrent dictionary.
/// </summary>
public class DictionaryAppCache : IAppCache
{
/// <summary>
/// Gets the internal items dictionary, for tests only!
/// </summary>
internal readonly ConcurrentDictionary<string, object> Items = new ConcurrentDictionary<string, object>();
/// <inheritdoc />
public virtual object Get(string key)
{
return Items.TryGetValue(key, out var value) ? value : null;
}
/// <inheritdoc />
public virtual object Get(string key, Func<object> factory)
{
return Items.GetOrAdd(key, _ => factory());
}
/// <inheritdoc />
public virtual IEnumerable<object> SearchByKey(string keyStartsWith)
{
var items = new List<object>();
foreach (var (key, value) in Items)
if (key.InvariantStartsWith(keyStartsWith))
items.Add(value);
return items;
}
/// <inheritdoc />
public IEnumerable<object> SearchByRegex(string regex)
{
var compiled = new Regex(regex, RegexOptions.Compiled);
var items = new List<object>();
foreach (var (key, value) in Items)
if (compiled.IsMatch(key))
items.Add(value);
return items;
}
/// <inheritdoc />
public virtual void Clear()
{
Items.Clear();
}
/// <inheritdoc />
public virtual void Clear(string key)
{
Items.TryRemove(key, out _);
}
/// <inheritdoc />
public virtual void ClearOfType(string typeName)
{
Items.RemoveAll(kvp => kvp.Value != null && kvp.Value.GetType().ToString().InvariantEquals(typeName));
}
/// <inheritdoc />
public virtual void ClearOfType<T>()
{
var typeOfT = typeof(T);
Items.RemoveAll(kvp => kvp.Value != null && kvp.Value.GetType() == typeOfT);
}
/// <inheritdoc />
public virtual void ClearOfType<T>(Func<string, T, bool> predicate)
{
var typeOfT = typeof(T);
Items.RemoveAll(kvp => kvp.Value != null && kvp.Value.GetType() == typeOfT && predicate(kvp.Key, (T)kvp.Value));
}
/// <inheritdoc />
public virtual void ClearByKey(string keyStartsWith)
{
Items.RemoveAll(kvp => kvp.Key.InvariantStartsWith(keyStartsWith));
}
/// <inheritdoc />
public virtual void ClearByRegex(string regex)
{
var compiled = new Regex(regex, RegexOptions.Compiled);
Items.RemoveAll(kvp => compiled.IsMatch(kvp.Key));
}
}
}
@@ -7,79 +7,130 @@ using Umbraco.Core.Composing;
namespace Umbraco.Core.Cache
{
internal class DictionaryCacheProvider : ICacheProvider
/// <summary>
/// Implements a fast <see cref="IAppCache"/> on top of a concurrent dictionary.
/// </summary>
internal class FastDictionaryAppCache : IAppCache
{
private readonly ConcurrentDictionary<string, Lazy<object>> _items
= new ConcurrentDictionary<string, Lazy<object>>();
/// <summary>
/// Gets the internal items dictionary, for tests only!
/// </summary>
internal readonly ConcurrentDictionary<string, Lazy<object>> Items = new ConcurrentDictionary<string, Lazy<object>>();
// for tests
internal ConcurrentDictionary<string, Lazy<object>> Items => _items;
public void ClearAllCache()
/// <inheritdoc />
public object Get(string cacheKey)
{
_items.Clear();
Items.TryGetValue(cacheKey, out var result); // else null
return result == null ? null : FastDictionaryAppCacheBase.GetSafeLazyValue(result); // return exceptions as null
}
public void ClearCacheItem(string key)
/// <inheritdoc />
public object Get(string cacheKey, Func<object> getCacheItem)
{
_items.TryRemove(key, out _);
var result = Items.GetOrAdd(cacheKey, k => FastDictionaryAppCacheBase.GetSafeLazy(getCacheItem));
var value = result.Value; // will not throw (safe lazy)
if (!(value is FastDictionaryAppCacheBase.ExceptionHolder eh))
return value;
// and... it's in the cache anyway - so contrary to other cache providers,
// which would trick with GetSafeLazyValue, we need to remove by ourselves,
// in order NOT to cache exceptions
Items.TryRemove(cacheKey, out result);
eh.Exception.Throw(); // throw once!
return null; // never reached
}
public void ClearCacheObjectTypes(string typeName)
/// <inheritdoc />
public IEnumerable<object> SearchByKey(string keyStartsWith)
{
return Items
.Where(kvp => kvp.Key.InvariantStartsWith(keyStartsWith))
.Select(kvp => FastDictionaryAppCacheBase.GetSafeLazyValue(kvp.Value))
.Where(x => x != null);
}
/// <inheritdoc />
public IEnumerable<object> SearchByRegex(string regex)
{
var compiled = new Regex(regex, RegexOptions.Compiled);
return Items
.Where(kvp => compiled.IsMatch(kvp.Key))
.Select(kvp => FastDictionaryAppCacheBase.GetSafeLazyValue(kvp.Value))
.Where(x => x != null);
}
/// <inheritdoc />
public void Clear()
{
Items.Clear();
}
/// <inheritdoc />
public void Clear(string key)
{
Items.TryRemove(key, out _);
}
/// <inheritdoc />
public void ClearOfType(string typeName)
{
var type = TypeFinder.GetTypeByName(typeName);
if (type == null) return;
var isInterface = type.IsInterface;
foreach (var kvp in _items
foreach (var kvp in Items
.Where(x =>
{
// entry.Value is Lazy<object> and not null, its value may be null
// remove null values as well, does not hurt
// get non-created as NonCreatedValue & exceptions as null
var value = DictionaryCacheProviderBase.GetSafeLazyValue(x.Value, true);
var value = FastDictionaryAppCacheBase.GetSafeLazyValue(x.Value, true);
// if T is an interface remove anything that implements that interface
// otherwise remove exact types (not inherited types)
return value == null || (isInterface ? (type.IsInstanceOfType(value)) : (value.GetType() == type));
}))
_items.TryRemove(kvp.Key, out _);
Items.TryRemove(kvp.Key, out _);
}
public void ClearCacheObjectTypes<T>()
/// <inheritdoc />
public void ClearOfType<T>()
{
var typeOfT = typeof(T);
var isInterface = typeOfT.IsInterface;
foreach (var kvp in _items
foreach (var kvp in Items
.Where(x =>
{
// entry.Value is Lazy<object> and not null, its value may be null
// remove null values as well, does not hurt
// compare on exact type, don't use "is"
// get non-created as NonCreatedValue & exceptions as null
var value = DictionaryCacheProviderBase.GetSafeLazyValue(x.Value, true);
var value = FastDictionaryAppCacheBase.GetSafeLazyValue(x.Value, true);
// if T is an interface remove anything that implements that interface
// otherwise remove exact types (not inherited types)
return value == null || (isInterface ? (value is T) : (value.GetType() == typeOfT));
}))
_items.TryRemove(kvp.Key, out _);
Items.TryRemove(kvp.Key, out _);
}
public void ClearCacheObjectTypes<T>(Func<string, T, bool> predicate)
/// <inheritdoc />
public void ClearOfType<T>(Func<string, T, bool> predicate)
{
var typeOfT = typeof(T);
var isInterface = typeOfT.IsInterface;
foreach (var kvp in _items
foreach (var kvp in Items
.Where(x =>
{
// entry.Value is Lazy<object> and not null, its value may be null
// remove null values as well, does not hurt
// compare on exact type, don't use "is"
// get non-created as NonCreatedValue & exceptions as null
var value = DictionaryCacheProviderBase.GetSafeLazyValue(x.Value, true);
var value = FastDictionaryAppCacheBase.GetSafeLazyValue(x.Value, true);
if (value == null) return true;
// if T is an interface remove anything that implements that interface
@@ -88,60 +139,24 @@ namespace Umbraco.Core.Cache
// run predicate on the 'public key' part only, ie without prefix
&& predicate(x.Key, (T)value);
}))
_items.TryRemove(kvp.Key, out _);
Items.TryRemove(kvp.Key, out _);
}
public void ClearCacheByKeySearch(string keyStartsWith)
/// <inheritdoc />
public void ClearByKey(string keyStartsWith)
{
foreach (var ikvp in _items
foreach (var ikvp in Items
.Where(kvp => kvp.Key.InvariantStartsWith(keyStartsWith)))
_items.TryRemove(ikvp.Key, out _);
Items.TryRemove(ikvp.Key, out _);
}
public void ClearCacheByKeyExpression(string regexString)
/// <inheritdoc />
public void ClearByRegex(string regex)
{
foreach (var ikvp in _items
.Where(kvp => Regex.IsMatch(kvp.Key, regexString)))
_items.TryRemove(ikvp.Key, out _);
}
public IEnumerable<object> GetCacheItemsByKeySearch(string keyStartsWith)
{
return _items
.Where(kvp => kvp.Key.InvariantStartsWith(keyStartsWith))
.Select(kvp => DictionaryCacheProviderBase.GetSafeLazyValue(kvp.Value))
.Where(x => x != null);
}
public IEnumerable<object> GetCacheItemsByKeyExpression(string regexString)
{
return _items
.Where(kvp => Regex.IsMatch(kvp.Key, regexString))
.Select(kvp => DictionaryCacheProviderBase.GetSafeLazyValue(kvp.Value))
.Where(x => x != null);
}
public object GetCacheItem(string cacheKey)
{
_items.TryGetValue(cacheKey, out var result); // else null
return result == null ? null : DictionaryCacheProviderBase.GetSafeLazyValue(result); // return exceptions as null
}
public object GetCacheItem(string cacheKey, Func<object> getCacheItem)
{
var result = _items.GetOrAdd(cacheKey, k => DictionaryCacheProviderBase.GetSafeLazy(getCacheItem));
var value = result.Value; // will not throw (safe lazy)
if (!(value is DictionaryCacheProviderBase.ExceptionHolder eh))
return value;
// and... it's in the cache anyway - so contrary to other cache providers,
// which would trick with GetSafeLazyValue, we need to remove by ourselves,
// in order NOT to cache exceptions
_items.TryRemove(cacheKey, out result);
eh.Exception.Throw(); // throw once!
return null; // never reached
var compiled = new Regex(regex, RegexOptions.Compiled);
foreach (var ikvp in Items
.Where(kvp => compiled.IsMatch(kvp.Key)))
Items.TryRemove(ikvp.Key, out _);
}
}
}
@@ -8,7 +8,10 @@ using Umbraco.Core.Composing;
namespace Umbraco.Core.Cache
{
internal abstract class DictionaryCacheProviderBase : ICacheProvider
/// <summary>
/// Provides a base class to fast, dictionary-based <see cref="IAppCache"/> implementations.
/// </summary>
internal abstract class FastDictionaryAppCacheBase : IAppCache
{
// prefix cache keys so we know which one are ours
protected const string CacheItemPrefix = "umbrtmche";
@@ -16,82 +19,75 @@ namespace Umbraco.Core.Cache
// an object that represent a value that has not been created yet
protected internal static readonly object ValueNotCreated = new object();
// manupulate the underlying cache entries
// these *must* be called from within the appropriate locks
// and use the full prefixed cache keys
protected abstract IEnumerable<DictionaryEntry> GetDictionaryEntries();
protected abstract void RemoveEntry(string key);
protected abstract object GetEntry(string key);
#region IAppCache
// read-write lock the underlying cache
//protected abstract IDisposable ReadLock { get; }
//protected abstract IDisposable WriteLock { get; }
protected abstract void EnterReadLock();
protected abstract void ExitReadLock();
protected abstract void EnterWriteLock();
protected abstract void ExitWriteLock();
protected string GetCacheKey(string key)
/// <inheritdoc />
public virtual object Get(string key)
{
return string.Format("{0}-{1}", CacheItemPrefix, key);
}
protected internal static Lazy<object> GetSafeLazy(Func<object> getCacheItem)
{
// try to generate the value and if it fails,
// wrap in an ExceptionHolder - would be much simpler
// to just use lazy.IsValueFaulted alas that field is
// internal
return new Lazy<object>(() =>
{
try
{
return getCacheItem();
}
catch (Exception e)
{
return new ExceptionHolder(ExceptionDispatchInfo.Capture(e));
}
});
}
protected internal static object GetSafeLazyValue(Lazy<object> lazy, bool onlyIfValueIsCreated = false)
{
// if onlyIfValueIsCreated, do not trigger value creation
// must return something, though, to differenciate from null values
if (onlyIfValueIsCreated && lazy.IsValueCreated == false) return ValueNotCreated;
// if execution has thrown then lazy.IsValueCreated is false
// and lazy.IsValueFaulted is true (but internal) so we use our
// own exception holder (see Lazy<T> source code) to return null
if (lazy.Value is ExceptionHolder) return null;
// we have a value and execution has not thrown so returning
// here does not throw - unless we're re-entering, take care of it
key = GetCacheKey(key);
Lazy<object> result;
try
{
return lazy.Value;
EnterReadLock();
result = GetEntry(key) as Lazy<object>; // null if key not found
}
catch (InvalidOperationException e)
finally
{
throw new InvalidOperationException("The method that computes a value for the cache has tried to read that value from the cache.", e);
ExitReadLock();
}
return result == null ? null : GetSafeLazyValue(result); // return exceptions as null
}
internal class ExceptionHolder
/// <inheritdoc />
public abstract object Get(string key, Func<object> factory);
/// <inheritdoc />
public virtual IEnumerable<object> SearchByKey(string keyStartsWith)
{
public ExceptionHolder(ExceptionDispatchInfo e)
var plen = CacheItemPrefix.Length + 1;
IEnumerable<DictionaryEntry> entries;
try
{
Exception = e;
EnterReadLock();
entries = GetDictionaryEntries()
.Where(x => ((string)x.Key).Substring(plen).InvariantStartsWith(keyStartsWith))
.ToArray(); // evaluate while locked
}
finally
{
ExitReadLock();
}
public ExceptionDispatchInfo Exception { get; }
return entries
.Select(x => GetSafeLazyValue((Lazy<object>)x.Value)) // return exceptions as null
.Where(x => x != null); // backward compat, don't store null values in the cache
}
#region Clear
/// <inheritdoc />
public virtual IEnumerable<object> SearchByRegex(string regex)
{
const string prefix = CacheItemPrefix + "-";
var compiled = new Regex(regex, RegexOptions.Compiled);
var plen = prefix.Length;
IEnumerable<DictionaryEntry> entries;
try
{
EnterReadLock();
entries = GetDictionaryEntries()
.Where(x => compiled.IsMatch(((string)x.Key).Substring(plen)))
.ToArray(); // evaluate while locked
}
finally
{
ExitReadLock();
}
return entries
.Select(x => GetSafeLazyValue((Lazy<object>)x.Value)) // return exceptions as null
.Where(x => x != null); // backward compatible, don't store null values in the cache
}
public virtual void ClearAllCache()
/// <inheritdoc />
public virtual void Clear()
{
try
{
@@ -106,7 +102,8 @@ namespace Umbraco.Core.Cache
}
}
public virtual void ClearCacheItem(string key)
/// <inheritdoc />
public virtual void Clear(string key)
{
var cacheKey = GetCacheKey(key);
try
@@ -120,7 +117,8 @@ namespace Umbraco.Core.Cache
}
}
public virtual void ClearCacheObjectTypes(string typeName)
/// <inheritdoc />
public virtual void ClearOfType(string typeName)
{
var type = TypeFinder.GetTypeByName(typeName);
if (type == null) return;
@@ -149,7 +147,8 @@ namespace Umbraco.Core.Cache
}
}
public virtual void ClearCacheObjectTypes<T>()
/// <inheritdoc />
public virtual void ClearOfType<T>()
{
var typeOfT = typeof(T);
var isInterface = typeOfT.IsInterface;
@@ -178,7 +177,8 @@ namespace Umbraco.Core.Cache
}
}
public virtual void ClearCacheObjectTypes<T>(Func<string, T, bool> predicate)
/// <inheritdoc />
public virtual void ClearOfType<T>(Func<string, T, bool> predicate)
{
var typeOfT = typeof(T);
var isInterface = typeOfT.IsInterface;
@@ -210,7 +210,8 @@ namespace Umbraco.Core.Cache
}
}
public virtual void ClearCacheByKeySearch(string keyStartsWith)
/// <inheritdoc />
public virtual void ClearByKey(string keyStartsWith)
{
var plen = CacheItemPrefix.Length + 1;
try
@@ -227,14 +228,16 @@ namespace Umbraco.Core.Cache
}
}
public virtual void ClearCacheByKeyExpression(string regexString)
/// <inheritdoc />
public virtual void ClearByRegex(string regex)
{
var compiled = new Regex(regex, RegexOptions.Compiled);
var plen = CacheItemPrefix.Length + 1;
try
{
EnterWriteLock();
foreach (var entry in GetDictionaryEntries()
.Where(x => Regex.IsMatch(((string)x.Key).Substring(plen), regexString))
.Where(x => compiled.IsMatch(((string)x.Key).Substring(plen)))
.ToArray())
RemoveEntry((string) entry.Key);
}
@@ -246,67 +249,80 @@ namespace Umbraco.Core.Cache
#endregion
#region Get
#region Dictionary
public virtual IEnumerable<object> GetCacheItemsByKeySearch(string keyStartsWith)
// manipulate the underlying cache entries
// these *must* be called from within the appropriate locks
// and use the full prefixed cache keys
protected abstract IEnumerable<DictionaryEntry> GetDictionaryEntries();
protected abstract void RemoveEntry(string key);
protected abstract object GetEntry(string key);
// read-write lock the underlying cache
//protected abstract IDisposable ReadLock { get; }
//protected abstract IDisposable WriteLock { get; }
protected abstract void EnterReadLock();
protected abstract void ExitReadLock();
protected abstract void EnterWriteLock();
protected abstract void ExitWriteLock();
protected string GetCacheKey(string key)
{
var plen = CacheItemPrefix.Length + 1;
IEnumerable<DictionaryEntry> entries;
try
{
EnterReadLock();
entries = GetDictionaryEntries()
.Where(x => ((string)x.Key).Substring(plen).InvariantStartsWith(keyStartsWith))
.ToArray(); // evaluate while locked
}
finally
{
ExitReadLock();
}
return entries
.Select(x => GetSafeLazyValue((Lazy<object>)x.Value)) // return exceptions as null
.Where(x => x != null); // backward compat, don't store null values in the cache
return $"{CacheItemPrefix}-{key}";
}
public virtual IEnumerable<object> GetCacheItemsByKeyExpression(string regexString)
protected internal static Lazy<object> GetSafeLazy(Func<object> getCacheItem)
{
const string prefix = CacheItemPrefix + "-";
var plen = prefix.Length;
IEnumerable<DictionaryEntry> entries;
try
// try to generate the value and if it fails,
// wrap in an ExceptionHolder - would be much simpler
// to just use lazy.IsValueFaulted alas that field is
// internal
return new Lazy<object>(() =>
{
EnterReadLock();
entries = GetDictionaryEntries()
.Where(x => Regex.IsMatch(((string)x.Key).Substring(plen), regexString))
.ToArray(); // evaluate while locked
}
finally
{
ExitReadLock();
}
return entries
.Select(x => GetSafeLazyValue((Lazy<object>)x.Value)) // return exceptions as null
.Where(x => x != null); // backward compat, don't store null values in the cache
try
{
return getCacheItem();
}
catch (Exception e)
{
return new ExceptionHolder(ExceptionDispatchInfo.Capture(e));
}
});
}
public virtual object GetCacheItem(string cacheKey)
protected internal static object GetSafeLazyValue(Lazy<object> lazy, bool onlyIfValueIsCreated = false)
{
cacheKey = GetCacheKey(cacheKey);
Lazy<object> result;
// if onlyIfValueIsCreated, do not trigger value creation
// must return something, though, to differentiate from null values
if (onlyIfValueIsCreated && lazy.IsValueCreated == false) return ValueNotCreated;
// if execution has thrown then lazy.IsValueCreated is false
// and lazy.IsValueFaulted is true (but internal) so we use our
// own exception holder (see Lazy<T> source code) to return null
if (lazy.Value is ExceptionHolder) return null;
// we have a value and execution has not thrown so returning
// here does not throw - unless we're re-entering, take care of it
try
{
EnterReadLock();
result = GetEntry(cacheKey) as Lazy<object>; // null if key not found
return lazy.Value;
}
finally
catch (InvalidOperationException e)
{
ExitReadLock();
throw new InvalidOperationException("The method that computes a value for the cache has tried to read that value from the cache.", e);
}
return result == null ? null : GetSafeLazyValue(result); // return exceptions as null
}
public abstract object GetCacheItem(string cacheKey, Func<object> getCacheItem);
internal class ExceptionHolder
{
public ExceptionHolder(ExceptionDispatchInfo e)
{
Exception = e;
}
public ExceptionDispatchInfo Exception { get; }
}
#endregion
}
@@ -24,7 +24,7 @@ namespace Umbraco.Core.Cache
private readonly Func<TEntity, TId> _entityGetId;
private readonly bool _expires;
public FullDataSetRepositoryCachePolicy(IRuntimeCacheProvider cache, IScopeAccessor scopeAccessor, Func<TEntity, TId> entityGetId, bool expires)
public FullDataSetRepositoryCachePolicy(IAppPolicyCache cache, IScopeAccessor scopeAccessor, Func<TEntity, TId> entityGetId, bool expires)
: base(cache, scopeAccessor)
{
_entityGetId = entityGetId;
@@ -55,11 +55,11 @@ namespace Umbraco.Core.Cache
if (_expires)
{
Cache.InsertCacheItem(key, () => new DeepCloneableList<TEntity>(entities), TimeSpan.FromMinutes(5), true);
Cache.Insert(key, () => new DeepCloneableList<TEntity>(entities), TimeSpan.FromMinutes(5), true);
}
else
{
Cache.InsertCacheItem(key, () => new DeepCloneableList<TEntity>(entities));
Cache.Insert(key, () => new DeepCloneableList<TEntity>(entities));
}
}
@@ -171,7 +171,7 @@ namespace Umbraco.Core.Cache
/// <inheritdoc />
public override void ClearAll()
{
Cache.ClearCacheItem(GetEntityTypeCacheKey());
Cache.Clear(GetEntityTypeCacheKey());
}
}
}
@@ -0,0 +1,144 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Web;
namespace Umbraco.Core.Cache
{
/// <summary>
/// Implements a fast <see cref="IAppCache"/> on top of HttpContext.Items.
/// </summary>
/// <remarks>
/// <para>If no current HttpContext items can be found (no current HttpContext,
/// or no Items...) then this cache acts as a pass-through and does not cache
/// anything.</para>
/// </remarks>
internal class HttpRequestAppCache : FastDictionaryAppCacheBase
{
private readonly HttpContextBase _context;
/// <summary>
/// Initializes a new instance of the <see cref="HttpRequestAppCache"/> class with a context, for unit tests!
/// </summary>
public HttpRequestAppCache(HttpContextBase context)
{
_context = context;
}
/// <summary>
/// Initializes a new instance of the <see cref="HttpRequestAppCache"/> class.
/// </summary>
/// <remarks>
/// <para>Will use HttpContext.Current.</para>
/// TODO: https://github.com/umbraco/Umbraco-CMS/issues/4239 - use IHttpContextAccessor NOT HttpContext.Current
/// </remarks>
public HttpRequestAppCache()
{ }
private IDictionary ContextItems => _context?.Items ?? HttpContext.Current?.Items;
private bool HasContextItems => _context?.Items != null || HttpContext.Current != null;
/// <inheritdoc />
public override object Get(string key, Func<object> factory)
{
//no place to cache so just return the callback result
if (HasContextItems == false) return factory();
key = GetCacheKey(key);
Lazy<object> result;
try
{
EnterWriteLock();
result = ContextItems[key] as Lazy<object>; // null if key not found
// cannot create value within the lock, so if result.IsValueCreated is false, just
// do nothing here - means that if creation throws, a race condition could cause
// more than one thread to reach the return statement below and throw - accepted.
if (result == null || GetSafeLazyValue(result, true) == null) // get non-created as NonCreatedValue & exceptions as null
{
result = GetSafeLazy(factory);
ContextItems[key] = result;
}
}
finally
{
ExitWriteLock();
}
// using GetSafeLazy and GetSafeLazyValue ensures that we don't cache
// exceptions (but try again and again) and silently eat them - however at
// some point we have to report them - so need to re-throw here
// this does not throw anymore
//return result.Value;
var value = result.Value; // will not throw (safe lazy)
if (value is ExceptionHolder eh) eh.Exception.Throw(); // throw once!
return value;
}
#region Entries
protected override IEnumerable<DictionaryEntry> GetDictionaryEntries()
{
const string prefix = CacheItemPrefix + "-";
if (HasContextItems == false) return Enumerable.Empty<DictionaryEntry>();
return ContextItems.Cast<DictionaryEntry>()
.Where(x => x.Key is string s && s.StartsWith(prefix));
}
protected override void RemoveEntry(string key)
{
if (HasContextItems == false) return;
ContextItems.Remove(key);
}
protected override object GetEntry(string key)
{
return HasContextItems ? ContextItems[key] : null;
}
#endregion
#region Lock
private const string ContextItemsLockKey = "Umbraco.Core.Cache.HttpRequestCache::LockEntered";
protected override void EnterReadLock() => EnterWriteLock();
protected override void EnterWriteLock()
{
if (HasContextItems)
{
// note: cannot keep 'entered' as a class variable here,
// since there is one per request - so storing it within
// ContextItems - which is locked, so this should be safe
var entered = false;
Monitor.Enter(ContextItems.SyncRoot, ref entered);
ContextItems[ContextItemsLockKey] = entered;
}
}
protected override void ExitReadLock() => ExitWriteLock();
protected override void ExitWriteLock()
{
var entered = (bool?) ContextItems[ContextItemsLockKey] ?? false;
if (entered)
Monitor.Exit(ContextItems.SyncRoot);
ContextItems.Remove(ContextItemsLockKey);
}
#endregion
}
}
@@ -1,161 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Umbraco.Core.Cache
{
/// <summary>
/// A cache provider that caches items in the HttpContext.Items
/// </summary>
/// <remarks>
/// If the Items collection is null, then this provider has no effect
/// </remarks>
internal class HttpRequestCacheProvider : DictionaryCacheProviderBase
{
// context provider
// the idea is that there is only one, application-wide HttpRequestCacheProvider instance,
// that is initialized with a method that returns the "current" context.
// NOTE
// but then it is initialized with () => new HttpContextWrapper(HttpContent.Current)
// which is higly inefficient because it creates a new wrapper each time we refer to _context()
// so replace it with _context1 and _context2 below + a way to get context.Items.
//private readonly Func<HttpContextBase> _context;
// NOTE
// and then in almost 100% cases _context2 will be () => HttpContext.Current
// so why not bring that logic in here and fallback on to HttpContext.Current when
// _context1 is null?
//private readonly HttpContextBase _context1;
//private readonly Func<HttpContext> _context2;
private readonly HttpContextBase _context;
private IDictionary ContextItems
{
//get { return _context1 != null ? _context1.Items : _context2().Items; }
get { return _context != null ? _context.Items : HttpContext.Current.Items; }
}
private bool HasContextItems
{
get { return (_context != null && _context.Items != null) || HttpContext.Current != null; }
}
// for unit tests
public HttpRequestCacheProvider(HttpContextBase context)
{
_context = context;
}
// main constructor
// will use HttpContext.Current
public HttpRequestCacheProvider(/*Func<HttpContext> context*/)
{
//_context2 = context;
}
protected override IEnumerable<DictionaryEntry> GetDictionaryEntries()
{
const string prefix = CacheItemPrefix + "-";
if (HasContextItems == false) return Enumerable.Empty<DictionaryEntry>();
return ContextItems.Cast<DictionaryEntry>()
.Where(x => x.Key is string && ((string)x.Key).StartsWith(prefix));
}
protected override void RemoveEntry(string key)
{
if (HasContextItems == false) return;
ContextItems.Remove(key);
}
protected override object GetEntry(string key)
{
return HasContextItems ? ContextItems[key] : null;
}
#region Lock
private bool _entered;
protected override void EnterReadLock() => EnterWriteLock();
protected override void EnterWriteLock()
{
if (HasContextItems)
{
System.Threading.Monitor.Enter(ContextItems.SyncRoot, ref _entered);
}
}
protected override void ExitReadLock() => ExitWriteLock();
protected override void ExitWriteLock()
{
if (_entered)
{
_entered = false;
System.Threading.Monitor.Exit(ContextItems.SyncRoot);
}
}
#endregion
#region Get
public override object GetCacheItem(string cacheKey, Func<object> getCacheItem)
{
//no place to cache so just return the callback result
if (HasContextItems == false) return getCacheItem();
cacheKey = GetCacheKey(cacheKey);
Lazy<object> result;
try
{
EnterWriteLock();
result = ContextItems[cacheKey] as Lazy<object>; // null if key not found
// cannot create value within the lock, so if result.IsValueCreated is false, just
// do nothing here - means that if creation throws, a race condition could cause
// more than one thread to reach the return statement below and throw - accepted.
if (result == null || GetSafeLazyValue(result, true) == null) // get non-created as NonCreatedValue & exceptions as null
{
result = GetSafeLazy(getCacheItem);
ContextItems[cacheKey] = result;
}
}
finally
{
ExitWriteLock();
}
// using GetSafeLazy and GetSafeLazyValue ensures that we don't cache
// exceptions (but try again and again) and silently eat them - however at
// some point we have to report them - so need to re-throw here
// this does not throw anymore
//return result.Value;
var value = result.Value; // will not throw (safe lazy)
if (value is ExceptionHolder eh) eh.Exception.Throw(); // throw once!
return value;
}
#endregion
#region Insert
#endregion
private class NoopLocker : DisposableObjectSlim
{
protected override void DisposeResources()
{ }
}
}
}
+94
View File
@@ -0,0 +1,94 @@
using System;
using System.Collections.Generic;
namespace Umbraco.Core.Cache
{
/// <summary>
/// Defines an application cache.
/// </summary>
public interface IAppCache
{
/// <summary>
/// Gets an item identified by its key.
/// </summary>
/// <param name="key">The key of the item.</param>
/// <returns>The item, or null if the item was not found.</returns>
object Get(string key);
/// <summary>
/// Gets or creates an item identified by its key.
/// </summary>
/// <param name="key">The key of the item.</param>
/// <param name="factory">A factory function that can create the item.</param>
/// <returns>The item.</returns>
object Get(string key, Func<object> factory);
/// <summary>
/// Gets items with a key starting with the specified value.
/// </summary>
/// <param name="keyStartsWith">The StartsWith value to use in the search.</param>
/// <returns>Items matching the search.</returns>
IEnumerable<object> SearchByKey(string keyStartsWith);
/// <summary>
/// Gets items with a key matching a regular expression.
/// </summary>
/// <param name="regex">The regular expression.</param>
/// <returns>Items matching the search.</returns>
IEnumerable<object> SearchByRegex(string regex);
/// <summary>
/// Removes all items from the cache.
/// </summary>
void Clear();
/// <summary>
/// Removes an item identified by its key from the cache.
/// </summary>
/// <param name="key">The key of the item.</param>
void Clear(string key);
/// <summary>
/// Removes items of a specified type from the cache.
/// </summary>
/// <param name="typeName">The name of the type to remove.</param>
/// <remarks>
/// <para>If the type is an interface, then all items of a type implementing that interface are
/// removed. Otherwise, only items of that exact type are removed (items of type inheriting from
/// the specified type are not removed).</para>
/// <para>Performs a case-sensitive search.</para>
/// </remarks>
void ClearOfType(string typeName);
/// <summary>
/// Removes items of a specified type from the cache.
/// </summary>
/// <typeparam name="T">The type of the items to remove.</typeparam>
/// <remarks>If the type is an interface, then all items of a type implementing that interface are
/// removed. Otherwise, only items of that exact type are removed (items of type inheriting from
/// the specified type are not removed).</remarks>
void ClearOfType<T>();
/// <summary>
/// Removes items of a specified type from the cache.
/// </summary>
/// <typeparam name="T">The type of the items to remove.</typeparam>
/// <param name="predicate">The predicate to satisfy.</param>
/// <remarks>If the type is an interface, then all items of a type implementing that interface are
/// removed. Otherwise, only items of that exact type are removed (items of type inheriting from
/// the specified type are not removed).</remarks>
void ClearOfType<T>(Func<string, T, bool> predicate);
/// <summary>
/// Clears items with a key starting with the specified value.
/// </summary>
/// <param name="keyStartsWith">The StartsWith value to use in the search.</param>
void ClearByKey(string keyStartsWith);
/// <summary>
/// Clears items with a key matching a regular expression.
/// </summary>
/// <param name="regex">The regular expression.</param>
void ClearByRegex(string regex);
}
}
+52
View File
@@ -0,0 +1,52 @@
using System;
using System.Web.Caching;
namespace Umbraco.Core.Cache
{
/// <summary>
/// Defines an application cache that support cache policies.
/// </summary>
/// <remarks>A cache policy can be used to cache with timeouts,
/// or depending on files, and with a remove callback, etc.</remarks>
public interface IAppPolicyCache : IAppCache
{
/// <summary>
/// Gets an item identified by its key.
/// </summary>
/// <param name="key">The key of the item.</param>
/// <param name="factory">A factory function that can create the item.</param>
/// <param name="timeout">An optional cache timeout.</param>
/// <param name="isSliding">An optional value indicating whether the cache timeout is sliding (default is false).</param>
/// <param name="priority">An optional cache priority (default is Normal).</param>
/// <param name="removedCallback">An optional callback to handle removals.</param>
/// <param name="dependentFiles">Files the cache entry depends on.</param>
/// <returns>The item.</returns>
object Get(
string key,
Func<object> factory,
TimeSpan? timeout,
bool isSliding = false,
CacheItemPriority priority = CacheItemPriority.Normal,
CacheItemRemovedCallback removedCallback = null,
string[] dependentFiles = null);
/// <summary>
/// Inserts an item.
/// </summary>
/// <param name="key">The key of the item.</param>
/// <param name="factory">A factory function that can create the item.</param>
/// <param name="timeout">An optional cache timeout.</param>
/// <param name="isSliding">An optional value indicating whether the cache timeout is sliding (default is false).</param>
/// <param name="priority">An optional cache priority (default is Normal).</param>
/// <param name="removedCallback">An optional callback to handle removals.</param>
/// <param name="dependentFiles">Files the cache entry depends on.</param>
void Insert(
string key,
Func<object> factory,
TimeSpan? timeout = null,
bool isSliding = false,
CacheItemPriority priority = CacheItemPriority.Normal,
CacheItemRemovedCallback removedCallback = null,
string[] dependentFiles = null);
}
}
-68
View File
@@ -1,68 +0,0 @@
using System;
using System.Collections.Generic;
namespace Umbraco.Core.Cache
{
/// <summary>
/// An interface for implementing a basic cache provider
/// </summary>
public interface ICacheProvider
{
/// <summary>
/// Removes all items from the cache.
/// </summary>
void ClearAllCache();
/// <summary>
/// Removes an item from the cache, identified by its key.
/// </summary>
/// <param name="key">The key of the item.</param>
void ClearCacheItem(string key);
/// <summary>
/// Removes items from the cache, of a specified type.
/// </summary>
/// <param name="typeName">The name of the type to remove.</param>
/// <remarks>
/// <para>If the type is an interface, then all items of a type implementing that interface are
/// removed. Otherwise, only items of that exact type are removed (items of type inheriting from
/// the specified type are not removed).</para>
/// <para>Performs a case-sensitive search.</para>
/// </remarks>
void ClearCacheObjectTypes(string typeName);
/// <summary>
/// Removes items from the cache, of a specified type.
/// </summary>
/// <typeparam name="T">The type of the items to remove.</typeparam>
/// <remarks>If the type is an interface, then all items of a type implementing that interface are
/// removed. Otherwise, only items of that exact type are removed (items of type inheriting from
/// the specified type are not removed).</remarks>
void ClearCacheObjectTypes<T>();
/// <summary>
/// Removes items from the cache, of a specified type, satisfying a predicate.
/// </summary>
/// <typeparam name="T">The type of the items to remove.</typeparam>
/// <param name="predicate">The predicate to satisfy.</param>
/// <remarks>If the type is an interface, then all items of a type implementing that interface are
/// removed. Otherwise, only items of that exact type are removed (items of type inheriting from
/// the specified type are not removed).</remarks>
void ClearCacheObjectTypes<T>(Func<string, T, bool> predicate);
void ClearCacheByKeySearch(string keyStartsWith);
void ClearCacheByKeyExpression(string regexString);
IEnumerable<object> GetCacheItemsByKeySearch(string keyStartsWith);
IEnumerable<object> GetCacheItemsByKeyExpression(string regexString);
/// <summary>
/// Returns an item with a given key
/// </summary>
/// <param name="cacheKey"></param>
/// <returns></returns>
object GetCacheItem(string cacheKey);
object GetCacheItem(string cacheKey, Func<object> getCacheItem);
}
}
+1 -1
View File
@@ -4,7 +4,7 @@ using Umbraco.Core.Composing;
namespace Umbraco.Core.Cache
{
/// <summary>
/// The IcacheRefresher Interface is used for loadbalancing.
/// The IcacheRefresher Interface is used for load balancing.
///
/// </summary>
public interface ICacheRefresher : IDiscoverable
@@ -48,7 +48,7 @@ namespace Umbraco.Core.Cache
/// Updates an entity.
/// </summary>
/// <param name="entity">The entity.</param>
/// <param name="persistUpdated">The reopsitory PersistUpdatedItem method.</param>
/// <param name="persistUpdated">The repository PersistUpdatedItem method.</param>
/// <remarks>Updates the entity in the repository, and updates the cache accordingly.</remarks>
void Update(TEntity entity, Action<TEntity> persistUpdated);
@@ -1,35 +0,0 @@
using System;
using System.Runtime.Caching;
using System.Text;
using System.Web.Caching;
using CacheItemPriority = System.Web.Caching.CacheItemPriority;
namespace Umbraco.Core.Cache
{
/// <summary>
/// An abstract class for implementing a runtime cache provider
/// </summary>
/// <remarks>
/// </remarks>
public interface IRuntimeCacheProvider : ICacheProvider
{
object GetCacheItem(
string cacheKey,
Func<object> getCacheItem,
TimeSpan? timeout,
bool isSliding = false,
CacheItemPriority priority = CacheItemPriority.Normal,
CacheItemRemovedCallback removedCallback = null,
string[] dependentFiles = null);
void InsertCacheItem(
string cacheKey,
Func<object> getCacheItem,
TimeSpan? timeout = null,
bool isSliding = false,
CacheItemPriority priority = CacheItemPriority.Normal,
CacheItemRemovedCallback removedCallback = null,
string[] dependentFiles = null);
}
}
+41
View File
@@ -0,0 +1,41 @@
using System;
namespace Umbraco.Core.Cache
{
/// <summary>
/// Represents a dictionary of <see cref="IAppPolicyCache"/> for types.
/// </summary>
/// <remarks>
/// <para>Isolated caches are used by e.g. repositories, to ensure that each cached entity
/// type has its own cache, so that lookups are fast and the repository does not need to
/// search through all keys on a global scale.</para>
/// </remarks>
public class IsolatedCaches : AppPolicedCacheDictionary<Type>
{
/// <summary>
/// Initializes a new instance of the <see cref="IsolatedCaches"/> class.
/// </summary>
/// <param name="cacheFactory"></param>
public IsolatedCaches(Func<Type, IAppPolicyCache> cacheFactory)
: base(cacheFactory)
{ }
/// <summary>
/// Gets a cache.
/// </summary>
public IAppPolicyCache GetOrCreate<T>()
=> GetOrCreate(typeof(T));
/// <summary>
/// Tries to get a cache.
/// </summary>
public Attempt<IAppPolicyCache> Get<T>()
=> Get(typeof(T));
/// <summary>
/// Clears a cache.
/// </summary>
public void ClearCache<T>()
=> ClearCache(typeof(T));
}
}
@@ -1,91 +0,0 @@
using System;
using System.Collections.Concurrent;
namespace Umbraco.Core.Cache
{
/// <summary>
/// Used to get/create/manipulate isolated runtime cache
/// </summary>
/// <remarks>
/// This is useful for repository level caches to ensure that cache lookups by key are fast so
/// that the repository doesn't need to search through all keys on a global scale.
/// </remarks>
public class IsolatedRuntimeCache
{
internal Func<Type, IRuntimeCacheProvider> CacheFactory { get; set; }
/// <summary>
/// Constructor that allows specifying a factory for the type of runtime isolated cache to create
/// </summary>
/// <param name="cacheFactory"></param>
public IsolatedRuntimeCache(Func<Type, IRuntimeCacheProvider> cacheFactory)
{
CacheFactory = cacheFactory;
}
private readonly ConcurrentDictionary<Type, IRuntimeCacheProvider> _isolatedCache = new ConcurrentDictionary<Type, IRuntimeCacheProvider>();
/// <summary>
/// Returns an isolated runtime cache for a given type
/// </summary>
/// <typeparam name="T"></typeparam>
/// <returns></returns>
public IRuntimeCacheProvider GetOrCreateCache<T>()
{
return _isolatedCache.GetOrAdd(typeof(T), type => CacheFactory(type));
}
/// <summary>
/// Returns an isolated runtime cache for a given type
/// </summary>
/// <returns></returns>
public IRuntimeCacheProvider GetOrCreateCache(Type type)
{
return _isolatedCache.GetOrAdd(type, t => CacheFactory(t));
}
/// <summary>
/// Tries to get a cache by the type specified
/// </summary>
/// <typeparam name="T"></typeparam>
/// <returns></returns>
public Attempt<IRuntimeCacheProvider> GetCache<T>()
{
IRuntimeCacheProvider cache;
if (_isolatedCache.TryGetValue(typeof(T), out cache))
{
return Attempt.Succeed(cache);
}
return Attempt<IRuntimeCacheProvider>.Fail();
}
/// <summary>
/// Clears all values inside this isolated runtime cache
/// </summary>
/// <typeparam name="T"></typeparam>
/// <returns></returns>
public void ClearCache<T>()
{
IRuntimeCacheProvider cache;
if (_isolatedCache.TryGetValue(typeof(T), out cache))
{
cache.ClearAllCache();
}
}
/// <summary>
/// Clears all of the isolated caches
/// </summary>
public void ClearAllCaches()
{
foreach (var key in _isolatedCache.Keys)
{
IRuntimeCacheProvider cache;
if (_isolatedCache.TryRemove(key, out cache))
{
cache.ClearAllCache();
}
}
}
}
}
@@ -13,8 +13,8 @@ namespace Umbraco.Core.Cache
/// <summary>
/// Initializes a new instance of the <see cref="JsonCacheRefresherBase{TInstanceType}"/>.
/// </summary>
/// <param name="cacheHelper">A cache helper.</param>
protected JsonCacheRefresherBase(CacheHelper cacheHelper) : base(cacheHelper)
/// <param name="appCaches">A cache helper.</param>
protected JsonCacheRefresherBase(AppCaches appCaches) : base(appCaches)
{ }
/// <summary>
+82
View File
@@ -0,0 +1,82 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Caching;
namespace Umbraco.Core.Cache
{
/// <summary>
/// Implements <see cref="IAppPolicyCache"/> and do not cache.
/// </summary>
public class NoAppCache : IAppPolicyCache
{
private NoAppCache() { }
/// <summary>
/// Gets the singleton instance.
/// </summary>
public static NoAppCache Instance { get; } = new NoAppCache();
/// <inheritdoc />
public virtual object Get(string cacheKey)
{
return null;
}
/// <inheritdoc />
public virtual object Get(string cacheKey, Func<object> factory)
{
return factory();
}
/// <inheritdoc />
public virtual IEnumerable<object> SearchByKey(string keyStartsWith)
{
return Enumerable.Empty<object>();
}
/// <inheritdoc />
public IEnumerable<object> SearchByRegex(string regex)
{
return Enumerable.Empty<object>();
}
/// <inheritdoc />
public object Get(string key, Func<object> factory, TimeSpan? timeout, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
{
return factory();
}
/// <inheritdoc />
public void Insert(string key, Func<object> factory, TimeSpan? timeout = null, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
{ }
/// <inheritdoc />
public virtual void Clear()
{ }
/// <inheritdoc />
public virtual void Clear(string key)
{ }
/// <inheritdoc />
public virtual void ClearOfType(string typeName)
{ }
/// <inheritdoc />
public virtual void ClearOfType<T>()
{ }
/// <inheritdoc />
public virtual void ClearOfType<T>(Func<string, T, bool> predicate)
{ }
/// <inheritdoc />
public virtual void ClearByKey(string keyStartsWith)
{ }
/// <inheritdoc />
public virtual void ClearByRegex(string regex)
{ }
}
}
@@ -13,7 +13,7 @@ namespace Umbraco.Core.Cache
public static NoCacheRepositoryCachePolicy<TEntity, TId> Instance { get; } = new NoCacheRepositoryCachePolicy<TEntity, TId>();
public IRepositoryCachePolicy<TEntity, TId> Scoped(IRuntimeCacheProvider runtimeCache, IScope scope)
public IRepositoryCachePolicy<TEntity, TId> Scoped(IAppPolicyCache runtimeCache, IScope scope)
{
throw new NotImplementedException();
}
@@ -1,66 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Caching;
namespace Umbraco.Core.Cache
{
/// <summary>
/// Represents a cache provider that does not cache anything.
/// </summary>
public class NullCacheProvider : IRuntimeCacheProvider
{
private NullCacheProvider() { }
public static NullCacheProvider Instance { get; } = new NullCacheProvider();
public virtual void ClearAllCache()
{ }
public virtual void ClearCacheItem(string key)
{ }
public virtual void ClearCacheObjectTypes(string typeName)
{ }
public virtual void ClearCacheObjectTypes<T>()
{ }
public virtual void ClearCacheObjectTypes<T>(Func<string, T, bool> predicate)
{ }
public virtual void ClearCacheByKeySearch(string keyStartsWith)
{ }
public virtual void ClearCacheByKeyExpression(string regexString)
{ }
public virtual IEnumerable<object> GetCacheItemsByKeySearch(string keyStartsWith)
{
return Enumerable.Empty<object>();
}
public IEnumerable<object> GetCacheItemsByKeyExpression(string regexString)
{
return Enumerable.Empty<object>();
}
public virtual object GetCacheItem(string cacheKey)
{
return default(object);
}
public virtual object GetCacheItem(string cacheKey, Func<object> getCacheItem)
{
return getCacheItem();
}
public object GetCacheItem(string cacheKey, Func<object> getCacheItem, TimeSpan? timeout, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
{
return getCacheItem();
}
public void InsertCacheItem(string cacheKey, Func<object> getCacheItem, TimeSpan? timeout = null, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
{ }
}
}
@@ -11,31 +11,142 @@ using CacheItemPriority = System.Web.Caching.CacheItemPriority;
namespace Umbraco.Core.Cache
{
/// <summary>
/// Represents a cache provider that caches item in a <see cref="MemoryCache"/>.
/// A cache provider that wraps the logic of a System.Runtime.Caching.ObjectCache
/// Implements <see cref="IAppPolicyCache"/> on top of a <see cref="ObjectCache"/>.
/// </summary>
/// <remarks>The <see cref="MemoryCache"/> is created with name "in-memory". That name is
/// used to retrieve configuration options. It does not identify the memory cache, i.e.
/// each instance of this class has its own, independent, memory cache.</remarks>
public class ObjectCacheRuntimeCacheProvider : IRuntimeCacheProvider
public class ObjectCacheAppCache : IAppPolicyCache
{
private readonly ReaderWriterLockSlim _locker = new ReaderWriterLockSlim(LockRecursionPolicy.SupportsRecursion);
internal ObjectCache MemoryCache;
/// <summary>
/// Used for debugging
/// Initializes a new instance of the <see cref="ObjectCacheAppCache"/>.
/// </summary>
internal Guid InstanceId { get; private set; }
public ObjectCacheRuntimeCacheProvider()
public ObjectCacheAppCache()
{
// the MemoryCache is created with name "in-memory". That name is
// used to retrieve configuration options. It does not identify the memory cache, i.e.
// each instance of this class has its own, independent, memory cache.
MemoryCache = new MemoryCache("in-memory");
InstanceId = Guid.NewGuid();
}
#region Clear
/// <summary>
/// Gets the internal memory cache, for tests only!
/// </summary>
internal ObjectCache MemoryCache { get; private set; }
public virtual void ClearAllCache()
/// <inheritdoc />
public object Get(string key)
{
Lazy<object> result;
try
{
_locker.EnterReadLock();
result = MemoryCache.Get(key) as Lazy<object>; // null if key not found
}
finally
{
if (_locker.IsReadLockHeld)
_locker.ExitReadLock();
}
return result == null ? null : FastDictionaryAppCacheBase.GetSafeLazyValue(result); // return exceptions as null
}
/// <inheritdoc />
public object Get(string key, Func<object> factory)
{
return Get(key, factory, null);
}
/// <inheritdoc />
public IEnumerable<object> SearchByKey(string keyStartsWith)
{
KeyValuePair<string, object>[] entries;
try
{
_locker.EnterReadLock();
entries = MemoryCache
.Where(x => x.Key.InvariantStartsWith(keyStartsWith))
.ToArray(); // evaluate while locked
}
finally
{
if (_locker.IsReadLockHeld)
_locker.ExitReadLock();
}
return entries
.Select(x => FastDictionaryAppCacheBase.GetSafeLazyValue((Lazy<object>)x.Value)) // return exceptions as null
.Where(x => x != null) // backward compat, don't store null values in the cache
.ToList();
}
/// <inheritdoc />
public IEnumerable<object> SearchByRegex(string regex)
{
var compiled = new Regex(regex, RegexOptions.Compiled);
KeyValuePair<string, object>[] entries;
try
{
_locker.EnterReadLock();
entries = MemoryCache
.Where(x => compiled.IsMatch(x.Key))
.ToArray(); // evaluate while locked
}
finally
{
if (_locker.IsReadLockHeld)
_locker.ExitReadLock();
}
return entries
.Select(x => FastDictionaryAppCacheBase.GetSafeLazyValue((Lazy<object>)x.Value)) // return exceptions as null
.Where(x => x != null) // backward compat, don't store null values in the cache
.ToList();
}
/// <inheritdoc />
public object Get(string key, Func<object> factory, TimeSpan? timeout, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
{
// see notes in HttpRuntimeAppCache
Lazy<object> result;
using (var lck = new UpgradeableReadLock(_locker))
{
result = MemoryCache.Get(key) as Lazy<object>;
if (result == null || FastDictionaryAppCacheBase.GetSafeLazyValue(result, true) == null) // get non-created as NonCreatedValue & exceptions as null
{
result = FastDictionaryAppCacheBase.GetSafeLazy(factory);
var policy = GetPolicy(timeout, isSliding, removedCallback, dependentFiles);
lck.UpgradeToWriteLock();
//NOTE: This does an add or update
MemoryCache.Set(key, result, policy);
}
}
//return result.Value;
var value = result.Value; // will not throw (safe lazy)
if (value is FastDictionaryAppCacheBase.ExceptionHolder eh) eh.Exception.Throw(); // throw once!
return value;
}
/// <inheritdoc />
public void Insert(string key, Func<object> factory, TimeSpan? timeout = null, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
{
// NOTE - here also we must insert a Lazy<object> but we can evaluate it right now
// and make sure we don't store a null value.
var result = FastDictionaryAppCacheBase.GetSafeLazy(factory);
var value = result.Value; // force evaluation now
if (value == null) return; // do not store null values (backward compat)
var policy = GetPolicy(timeout, isSliding, removedCallback, dependentFiles);
//NOTE: This does an add or update
MemoryCache.Set(key, result, policy);
}
/// <inheritdoc />
public virtual void Clear()
{
try
{
@@ -50,7 +161,8 @@ namespace Umbraco.Core.Cache
}
}
public virtual void ClearCacheItem(string key)
/// <inheritdoc />
public virtual void Clear(string key)
{
try
{
@@ -65,7 +177,8 @@ namespace Umbraco.Core.Cache
}
}
public virtual void ClearCacheObjectTypes(string typeName)
/// <inheritdoc />
public virtual void ClearOfType(string typeName)
{
var type = TypeFinder.GetTypeByName(typeName);
if (type == null) return;
@@ -79,7 +192,7 @@ namespace Umbraco.Core.Cache
// x.Value is Lazy<object> and not null, its value may be null
// remove null values as well, does not hurt
// get non-created as NonCreatedValue & exceptions as null
var value = DictionaryCacheProviderBase.GetSafeLazyValue((Lazy<object>)x.Value, true);
var value = FastDictionaryAppCacheBase.GetSafeLazyValue((Lazy<object>)x.Value, true);
// if T is an interface remove anything that implements that interface
// otherwise remove exact types (not inherited types)
@@ -96,12 +209,13 @@ namespace Umbraco.Core.Cache
}
}
public virtual void ClearCacheObjectTypes<T>()
/// <inheritdoc />
public virtual void ClearOfType<T>()
{
try
{
_locker.EnterWriteLock();
var typeOfT = typeof (T);
var typeOfT = typeof(T);
var isInterface = typeOfT.IsInterface;
foreach (var key in MemoryCache
.Where(x =>
@@ -109,7 +223,7 @@ namespace Umbraco.Core.Cache
// x.Value is Lazy<object> and not null, its value may be null
// remove null values as well, does not hurt
// get non-created as NonCreatedValue & exceptions as null
var value = DictionaryCacheProviderBase.GetSafeLazyValue((Lazy<object>)x.Value, true);
var value = FastDictionaryAppCacheBase.GetSafeLazyValue((Lazy<object>)x.Value, true);
// if T is an interface remove anything that implements that interface
// otherwise remove exact types (not inherited types)
@@ -127,7 +241,8 @@ namespace Umbraco.Core.Cache
}
}
public virtual void ClearCacheObjectTypes<T>(Func<string, T, bool> predicate)
/// <inheritdoc />
public virtual void ClearOfType<T>(Func<string, T, bool> predicate)
{
try
{
@@ -140,7 +255,7 @@ namespace Umbraco.Core.Cache
// x.Value is Lazy<object> and not null, its value may be null
// remove null values as well, does not hurt
// get non-created as NonCreatedValue & exceptions as null
var value = DictionaryCacheProviderBase.GetSafeLazyValue((Lazy<object>)x.Value, true);
var value = FastDictionaryAppCacheBase.GetSafeLazyValue((Lazy<object>)x.Value, true);
if (value == null) return true;
// if T is an interface remove anything that implements that interface
@@ -159,7 +274,8 @@ namespace Umbraco.Core.Cache
}
}
public virtual void ClearCacheByKeySearch(string keyStartsWith)
/// <inheritdoc />
public virtual void ClearByKey(string keyStartsWith)
{
try
{
@@ -177,13 +293,16 @@ namespace Umbraco.Core.Cache
}
}
public virtual void ClearCacheByKeyExpression(string regexString)
/// <inheritdoc />
public virtual void ClearByRegex(string regex)
{
var compiled = new Regex(regex, RegexOptions.Compiled);
try
{
_locker.EnterWriteLock();
foreach (var key in MemoryCache
.Where(x => Regex.IsMatch(x.Key, regexString))
.Where(x => compiled.IsMatch(x.Key))
.Select(x => x.Key)
.ToArray()) // ToArray required to remove
MemoryCache.Remove(key);
@@ -195,120 +314,6 @@ namespace Umbraco.Core.Cache
}
}
#endregion
#region Get
public IEnumerable<object> GetCacheItemsByKeySearch(string keyStartsWith)
{
KeyValuePair<string, object>[] entries;
try
{
_locker.EnterReadLock();
entries = MemoryCache
.Where(x => x.Key.InvariantStartsWith(keyStartsWith))
.ToArray(); // evaluate while locked
}
finally
{
if (_locker.IsReadLockHeld)
_locker.ExitReadLock();
}
return entries
.Select(x => DictionaryCacheProviderBase.GetSafeLazyValue((Lazy<object>)x.Value)) // return exceptions as null
.Where(x => x != null) // backward compat, don't store null values in the cache
.ToList();
}
public IEnumerable<object> GetCacheItemsByKeyExpression(string regexString)
{
KeyValuePair<string, object>[] entries;
try
{
_locker.EnterReadLock();
entries = MemoryCache
.Where(x => Regex.IsMatch(x.Key, regexString))
.ToArray(); // evaluate while locked
}
finally
{
if (_locker.IsReadLockHeld)
_locker.ExitReadLock();
}
return entries
.Select(x => DictionaryCacheProviderBase.GetSafeLazyValue((Lazy<object>)x.Value)) // return exceptions as null
.Where(x => x != null) // backward compat, don't store null values in the cache
.ToList();
}
public object GetCacheItem(string cacheKey)
{
Lazy<object> result;
try
{
_locker.EnterReadLock();
result = MemoryCache.Get(cacheKey) as Lazy<object>; // null if key not found
}
finally
{
if (_locker.IsReadLockHeld)
_locker.ExitReadLock();
}
return result == null ? null : DictionaryCacheProviderBase.GetSafeLazyValue(result); // return exceptions as null
}
public object GetCacheItem(string cacheKey, Func<object> getCacheItem)
{
return GetCacheItem(cacheKey, getCacheItem, null);
}
public object GetCacheItem(string cacheKey, Func<object> getCacheItem, TimeSpan? timeout, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
{
// see notes in HttpRuntimeCacheProvider
Lazy<object> result;
using (var lck = new UpgradeableReadLock(_locker))
{
result = MemoryCache.Get(cacheKey) as Lazy<object>;
if (result == null || DictionaryCacheProviderBase.GetSafeLazyValue(result, true) == null) // get non-created as NonCreatedValue & exceptions as null
{
result = DictionaryCacheProviderBase.GetSafeLazy(getCacheItem);
var policy = GetPolicy(timeout, isSliding, removedCallback, dependentFiles);
lck.UpgradeToWriteLock();
//NOTE: This does an add or update
MemoryCache.Set(cacheKey, result, policy);
}
}
//return result.Value;
var value = result.Value; // will not throw (safe lazy)
if (value is DictionaryCacheProviderBase.ExceptionHolder eh) eh.Exception.Throw(); // throw once!
return value;
}
#endregion
#region Insert
public void InsertCacheItem(string cacheKey, Func<object> getCacheItem, TimeSpan? timeout = null, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
{
// NOTE - here also we must insert a Lazy<object> but we can evaluate it right now
// and make sure we don't store a null value.
var result = DictionaryCacheProviderBase.GetSafeLazy(getCacheItem);
var value = result.Value; // force evaluation now
if (value == null) return; // do not store null values (backward compat)
var policy = GetPolicy(timeout, isSliding, removedCallback, dependentFiles);
//NOTE: This does an add or update
MemoryCache.Set(cacheKey, result, policy);
}
#endregion
private static CacheItemPolicy GetPolicy(TimeSpan? timeout = null, bool isSliding = false, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
{
var absolute = isSliding ? ObjectCache.InfiniteAbsoluteExpiration : (timeout == null ? ObjectCache.InfiniteAbsoluteExpiration : DateTime.Now.Add(timeout.Value));
@@ -15,8 +15,8 @@ namespace Umbraco.Core.Cache
/// <summary>
/// Initializes a new instance of the <see cref="PayloadCacheRefresherBase{TInstanceType, TPayload}"/>.
/// </summary>
/// <param name="cacheHelper">A cache helper.</param>
protected PayloadCacheRefresherBase(CacheHelper cacheHelper) : base(cacheHelper)
/// <param name="appCaches">A cache helper.</param>
protected PayloadCacheRefresherBase(AppCaches appCaches) : base(appCaches)
{ }
#region Json
@@ -13,16 +13,16 @@ namespace Umbraco.Core.Cache
internal abstract class RepositoryCachePolicyBase<TEntity, TId> : IRepositoryCachePolicy<TEntity, TId>
where TEntity : class, IEntity
{
private readonly IRuntimeCacheProvider _globalCache;
private readonly IAppPolicyCache _globalCache;
private readonly IScopeAccessor _scopeAccessor;
protected RepositoryCachePolicyBase(IRuntimeCacheProvider globalCache, IScopeAccessor scopeAccessor)
protected RepositoryCachePolicyBase(IAppPolicyCache globalCache, IScopeAccessor scopeAccessor)
{
_globalCache = globalCache ?? throw new ArgumentNullException(nameof(globalCache));
_scopeAccessor = scopeAccessor ?? throw new ArgumentNullException(nameof(scopeAccessor));
}
protected IRuntimeCacheProvider Cache
protected IAppPolicyCache Cache
{
get
{
@@ -32,9 +32,9 @@ namespace Umbraco.Core.Cache
case RepositoryCacheMode.Default:
return _globalCache;
case RepositoryCacheMode.Scoped:
return ambientScope.IsolatedRuntimeCache.GetOrCreateCache<TEntity>();
return ambientScope.IsolatedCaches.GetOrCreate<TEntity>();
case RepositoryCacheMode.None:
return NullCacheProvider.Instance;
return NoAppCache.Instance;
default:
throw new NotSupportedException($"Repository cache mode {ambientScope.RepositoryCacheMode} is not supported.");
}
@@ -16,7 +16,7 @@ namespace Umbraco.Core.Cache
internal class SingleItemsOnlyRepositoryCachePolicy<TEntity, TId> : DefaultRepositoryCachePolicy<TEntity, TId>
where TEntity : class, IEntity
{
public SingleItemsOnlyRepositoryCachePolicy(IRuntimeCacheProvider cache, IScopeAccessor scopeAccessor, RepositoryCachePolicyOptions options)
public SingleItemsOnlyRepositoryCachePolicy(IAppPolicyCache cache, IScopeAccessor scopeAccessor, RepositoryCachePolicyOptions options)
: base(cache, scopeAccessor, options)
{ }
@@ -1,79 +0,0 @@
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Umbraco.Core.Cache
{
/// <summary>
/// Represents a cache provider that statically caches item in a concurrent dictionary.
/// </summary>
public class StaticCacheProvider : ICacheProvider
{
internal readonly ConcurrentDictionary<string, object> StaticCache = new ConcurrentDictionary<string, object>();
public virtual void ClearAllCache()
{
StaticCache.Clear();
}
public virtual void ClearCacheItem(string key)
{
object val;
StaticCache.TryRemove(key, out val);
}
public virtual void ClearCacheObjectTypes(string typeName)
{
StaticCache.RemoveAll(kvp => kvp.Value != null && kvp.Value.GetType().ToString().InvariantEquals(typeName));
}
public virtual void ClearCacheObjectTypes<T>()
{
var typeOfT = typeof(T);
StaticCache.RemoveAll(kvp => kvp.Value != null && kvp.Value.GetType() == typeOfT);
}
public virtual void ClearCacheObjectTypes<T>(Func<string, T, bool> predicate)
{
var typeOfT = typeof(T);
StaticCache.RemoveAll(kvp => kvp.Value != null && kvp.Value.GetType() == typeOfT && predicate(kvp.Key, (T)kvp.Value));
}
public virtual void ClearCacheByKeySearch(string keyStartsWith)
{
StaticCache.RemoveAll(kvp => kvp.Key.InvariantStartsWith(keyStartsWith));
}
public virtual void ClearCacheByKeyExpression(string regexString)
{
StaticCache.RemoveAll(kvp => Regex.IsMatch(kvp.Key, regexString));
}
public virtual IEnumerable<object> GetCacheItemsByKeySearch(string keyStartsWith)
{
return (from KeyValuePair<string, object> c in StaticCache
where c.Key.InvariantStartsWith(keyStartsWith)
select c.Value).ToList();
}
public IEnumerable<object> GetCacheItemsByKeyExpression(string regexString)
{
return (from KeyValuePair<string, object> c in StaticCache
where Regex.IsMatch(c.Key, regexString)
select c.Value).ToList();
}
public virtual object GetCacheItem(string cacheKey)
{
var result = StaticCache[cacheKey];
return result;
}
public virtual object GetCacheItem(string cacheKey, Func<object> getCacheItem)
{
return StaticCache.GetOrAdd(cacheKey, key => getCacheItem());
}
}
}
@@ -14,9 +14,9 @@ namespace Umbraco.Core.Cache
/// <summary>
/// Initializes a new instance of the <see cref="TypedCacheRefresherBase{TInstanceType, TEntityType}"/>.
/// </summary>
/// <param name="cacheHelper">A cache helper.</param>
protected TypedCacheRefresherBase(CacheHelper cacheHelper)
: base(cacheHelper)
/// <param name="appCaches">A cache helper.</param>
protected TypedCacheRefresherBase(AppCaches appCaches)
: base(appCaches)
{ }
#region Refresher
@@ -4,14 +4,14 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Web.Caching;
using CacheItemPriority = System.Web.Caching.CacheItemPriority;
namespace Umbraco.Core.Cache
{
/// <summary>
/// A CacheProvider that wraps the logic of the HttpRuntime.Cache
/// Implements <see cref="IAppPolicyCache"/> on top of a <see cref="System.Web.Caching.Cache"/>.
/// </summary>
internal class HttpRuntimeCacheProvider : DictionaryCacheProviderBase, IRuntimeCacheProvider
/// <remarks>The underlying cache is expected to be HttpRuntime.Cache.</remarks>
internal class WebCachingAppCache : FastDictionaryAppCacheBase, IAppPolicyCache
{
// locker object that supports upgradeable read locking
// does not need to support recursion if we implement the cache correctly and ensure
@@ -21,16 +21,43 @@ namespace Umbraco.Core.Cache
private readonly System.Web.Caching.Cache _cache;
/// <summary>
/// Used for debugging
/// Initializes a new instance of the <see cref="WebCachingAppCache"/> class.
/// </summary>
internal Guid InstanceId { get; private set; }
public HttpRuntimeCacheProvider(System.Web.Caching.Cache cache)
public WebCachingAppCache(System.Web.Caching.Cache cache)
{
_cache = cache;
InstanceId = Guid.NewGuid();
}
/// <inheritdoc />
public override object Get(string key, Func<object> factory)
{
return Get(key, factory, null, dependentFiles: null);
}
/// <inheritdoc />
public object Get(string key, Func<object> factory, TimeSpan? timeout, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
{
CacheDependency dependency = null;
if (dependentFiles != null && dependentFiles.Any())
{
dependency = new CacheDependency(dependentFiles);
}
return Get(key, factory, timeout, isSliding, priority, removedCallback, dependency);
}
/// <inheritdoc />
public void Insert(string key, Func<object> factory, TimeSpan? timeout = null, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
{
CacheDependency dependency = null;
if (dependentFiles != null && dependentFiles.Any())
{
dependency = new CacheDependency(dependentFiles);
}
Insert(key, factory, timeout, isSliding, priority, removedCallback, dependency);
}
#region Dictionary
protected override IEnumerable<DictionaryEntry> GetDictionaryEntries()
{
const string prefix = CacheItemPrefix + "-";
@@ -48,6 +75,8 @@ namespace Umbraco.Core.Cache
return _cache.Get(key);
}
#endregion
#region Lock
protected override void EnterReadLock()
@@ -74,33 +103,9 @@ namespace Umbraco.Core.Cache
#endregion
#region Get
/// <summary>
/// Gets (and adds if necessary) an item from the cache with all of the default parameters
/// </summary>
/// <param name="cacheKey"></param>
/// <param name="getCacheItem"></param>
/// <returns></returns>
public override object GetCacheItem(string cacheKey, Func<object> getCacheItem)
private object Get(string key, Func<object> factory, TimeSpan? timeout, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, CacheDependency dependency = null)
{
return GetCacheItem(cacheKey, getCacheItem, null, dependentFiles: null);
}
/// <summary>
/// This overload is here for legacy purposes
/// </summary>
/// <param name="cacheKey"></param>
/// <param name="getCacheItem"></param>
/// <param name="timeout"></param>
/// <param name="isSliding"></param>
/// <param name="priority"></param>
/// <param name="removedCallback"></param>
/// <param name="dependency"></param>
/// <returns></returns>
internal object GetCacheItem(string cacheKey, Func<object> getCacheItem, TimeSpan? timeout, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, CacheDependency dependency = null)
{
cacheKey = GetCacheKey(cacheKey);
key = GetCacheKey(key);
// NOTE - because we don't know what getCacheItem does, how long it will take and whether it will hang,
// getCacheItem should run OUTSIDE of the global application lock else we run into lock contention and
@@ -133,7 +138,7 @@ namespace Umbraco.Core.Cache
try
{
_locker.EnterReadLock();
result = _cache.Get(cacheKey) as Lazy<object>; // null if key not found
result = _cache.Get(key) as Lazy<object>; // null if key not found
}
finally
{
@@ -145,7 +150,7 @@ namespace Umbraco.Core.Cache
using (var lck = new UpgradeableReadLock(_locker))
{
result = _cache.Get(cacheKey) as Lazy<object>; // null if key not found
result = _cache.Get(key) as Lazy<object>; // null if key not found
// cannot create value within the lock, so if result.IsValueCreated is false, just
// do nothing here - means that if creation throws, a race condition could cause
@@ -153,13 +158,13 @@ namespace Umbraco.Core.Cache
if (result == null || GetSafeLazyValue(result, true) == null) // get non-created as NonCreatedValue & exceptions as null
{
result = GetSafeLazy(getCacheItem);
result = GetSafeLazy(factory);
var absolute = isSliding ? System.Web.Caching.Cache.NoAbsoluteExpiration : (timeout == null ? System.Web.Caching.Cache.NoAbsoluteExpiration : DateTime.Now.Add(timeout.Value));
var sliding = isSliding == false ? System.Web.Caching.Cache.NoSlidingExpiration : (timeout ?? System.Web.Caching.Cache.NoSlidingExpiration);
lck.UpgradeToWriteLock();
//NOTE: 'Insert' on System.Web.Caching.Cache actually does an add or update!
_cache.Insert(cacheKey, result, dependency, absolute, sliding, priority, removedCallback);
_cache.Insert(key, result, dependency, absolute, sliding, priority, removedCallback);
}
}
@@ -175,31 +180,7 @@ namespace Umbraco.Core.Cache
return value;
}
public object GetCacheItem(string cacheKey, Func<object> getCacheItem, TimeSpan? timeout, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
{
CacheDependency dependency = null;
if (dependentFiles != null && dependentFiles.Any())
{
dependency = new CacheDependency(dependentFiles);
}
return GetCacheItem(cacheKey, getCacheItem, timeout, isSliding, priority, removedCallback, dependency);
}
#endregion
#region Insert
/// <summary>
/// This overload is here for legacy purposes
/// </summary>
/// <param name="cacheKey"></param>
/// <param name="getCacheItem"></param>
/// <param name="timeout"></param>
/// <param name="isSliding"></param>
/// <param name="priority"></param>
/// <param name="removedCallback"></param>
/// <param name="dependency"></param>
internal void InsertCacheItem(string cacheKey, Func<object> getCacheItem, TimeSpan? timeout = null, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, CacheDependency dependency = null)
private void Insert(string cacheKey, Func<object> getCacheItem, TimeSpan? timeout = null, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, CacheDependency dependency = null)
{
// NOTE - here also we must insert a Lazy<object> but we can evaluate it right now
// and make sure we don't store a null value.
@@ -225,17 +206,5 @@ namespace Umbraco.Core.Cache
_locker.ExitWriteLock();
}
}
public void InsertCacheItem(string cacheKey, Func<object> getCacheItem, TimeSpan? timeout = null, bool isSliding = false, CacheItemPriority priority = CacheItemPriority.Normal, CacheItemRemovedCallback removedCallback = null, string[] dependentFiles = null)
{
CacheDependency dependency = null;
if (dependentFiles != null && dependentFiles.Any())
{
dependency = new CacheDependency(dependentFiles);
}
InsertCacheItem(cacheKey, getCacheItem, timeout, isSliding, priority, removedCallback, dependency);
}
#endregion
}
}
@@ -1,35 +0,0 @@
using System;
using Umbraco.Core.Exceptions;
namespace Umbraco.Core.CodeAnnotations
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
internal class ActionMetadataAttribute : Attribute
{
public string Category { get; }
public string Name { get; }
/// <summary>
/// Constructor used to assign a Category, since no name is assigned it will try to be translated from the language files based on the action's alias
/// </summary>
/// <param name="category"></param>
public ActionMetadataAttribute(string category)
{
if (string.IsNullOrWhiteSpace(category)) throw new ArgumentNullOrEmptyException(nameof(category));
Category = category;
}
/// <summary>
/// Constructor used to assign an explicit name and category
/// </summary>
/// <param name="category"></param>
/// <param name="name"></param>
public ActionMetadataAttribute(string category, string name)
{
if (string.IsNullOrWhiteSpace(category)) throw new ArgumentNullOrEmptyException(nameof(category));
if (string.IsNullOrWhiteSpace(name)) throw new ArgumentNullOrEmptyException(nameof(name));
Category = category;
Name = name;
}
}
}
@@ -40,4 +40,4 @@ namespace Umbraco.Core.Collections
public static bool operator !=(CompositeIntStringKey key1, CompositeIntStringKey key2)
=> key1._key2 != key2._key2 || key1._key1 != key2._key1;
}
}
}
@@ -70,10 +70,7 @@ namespace Umbraco.Core.Collections
/// The number of elements contained in the <see cref="T:System.Collections.ICollection"/>.
/// </returns>
/// <filterpriority>2</filterpriority>
public int Count
{
get { return GetThreadSafeClone().Count; }
}
public int Count => GetThreadSafeClone().Count;
/// <summary>
/// Gets a value indicating whether the <see cref="T:System.Collections.Generic.ICollection`1"/> is read-only.
@@ -81,10 +78,7 @@ namespace Umbraco.Core.Collections
/// <returns>
/// true if the <see cref="T:System.Collections.Generic.ICollection`1"/> is read-only; otherwise, false.
/// </returns>
public bool IsReadOnly
{
get { return false; }
}
public bool IsReadOnly => false;
/// <summary>
/// Adds an item to the <see cref="T:System.Collections.Generic.ICollection`1"/>.
@@ -14,30 +14,31 @@ namespace Umbraco.Core.Collections
/// </remarks>
/// <typeparam name="TValue">The type of elements contained in the BindableCollection</typeparam>
/// <typeparam name="TKey">The type of the indexing key</typeparam>
public class ObservableDictionary<TKey, TValue> : ObservableCollection<TValue>
public class ObservableDictionary<TKey, TValue> : ObservableCollection<TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary<TKey, TValue>
{
protected Dictionary<TKey, int> Indecies = new Dictionary<TKey, int>();
protected Func<TValue, TKey> KeySelector;
protected Dictionary<TKey, int> Indecies { get; }
protected Func<TValue, TKey> KeySelector { get; }
/// <summary>
/// Create new ObservableDictionary
/// </summary>
/// <param name="keySelector">Selector function to create key from value</param>
public ObservableDictionary(Func<TValue, TKey> keySelector)
: base()
/// <param name="equalityComparer">The equality comparer to use when comparing keys, or null to use the default comparer.</param>
public ObservableDictionary(Func<TValue, TKey> keySelector, IEqualityComparer<TKey> equalityComparer = null)
{
if (keySelector == null) throw new ArgumentException("keySelector");
KeySelector = keySelector;
KeySelector = keySelector ?? throw new ArgumentException("keySelector");
Indecies = new Dictionary<TKey, int>(equalityComparer);
}
#region Protected Methods
protected override void InsertItem(int index, TValue item)
{
var key = KeySelector(item);
if (Indecies.ContainsKey(key))
throw new DuplicateKeyException(key.ToString());
if (index != this.Count)
if (index != Count)
{
foreach (var k in Indecies.Keys.Where(k => Indecies[k] >= index).ToList())
{
@@ -47,7 +48,6 @@ namespace Umbraco.Core.Collections
base.InsertItem(index, item);
Indecies[key] = index;
}
protected override void ClearItems()
@@ -56,7 +56,6 @@ namespace Umbraco.Core.Collections
Indecies.Clear();
}
protected override void RemoveItem(int index)
{
var item = this[index];
@@ -71,9 +70,10 @@ namespace Umbraco.Core.Collections
Indecies[k]--;
}
}
#endregion
public virtual bool ContainsKey(TKey key)
public bool ContainsKey(TKey key)
{
return Indecies.ContainsKey(key);
}
@@ -83,10 +83,10 @@ namespace Umbraco.Core.Collections
/// </summary>
/// <param name="key">Key of element to replace</param>
/// <returns></returns>
public virtual TValue this[TKey key]
public TValue this[TKey key]
{
get { return this[Indecies[key]]; }
get => this[Indecies[key]];
set
{
//confirm key matches
@@ -95,7 +95,7 @@ namespace Umbraco.Core.Collections
if (!Indecies.ContainsKey(key))
{
this.Add(value);
Add(value);
}
else
{
@@ -112,9 +112,10 @@ namespace Umbraco.Core.Collections
///
/// <exception cref="InvalidOperationException"></exception>
/// <returns>False if key not found</returns>
public virtual bool Replace(TKey key, TValue value)
public bool Replace(TKey key, TValue value)
{
if (!Indecies.ContainsKey(key)) return false;
//confirm key matches
if (!KeySelector(value).Equals(key))
throw new InvalidOperationException("Key of new value does not match");
@@ -124,11 +125,23 @@ namespace Umbraco.Core.Collections
}
public virtual bool Remove(TKey key)
public void ReplaceAll(IEnumerable<TValue> values)
{
if (values == null) throw new ArgumentNullException(nameof(values));
Clear();
foreach (var value in values)
{
Add(value);
}
}
public bool Remove(TKey key)
{
if (!Indecies.ContainsKey(key)) return false;
this.RemoveAt(Indecies[key]);
RemoveAt(Indecies[key]);
return true;
}
@@ -138,12 +151,13 @@ namespace Umbraco.Core.Collections
/// </summary>
/// <param name="currentKey"></param>
/// <param name="newKey"></param>
public virtual void ChangeKey(TKey currentKey, TKey newKey)
public void ChangeKey(TKey currentKey, TKey newKey)
{
if (!Indecies.ContainsKey(currentKey))
{
throw new InvalidOperationException("No item with the key " + currentKey + "was found in the collection");
}
if (ContainsKey(newKey))
{
throw new DuplicateKeyException(newKey.ToString());
@@ -155,16 +169,81 @@ namespace Umbraco.Core.Collections
Indecies.Add(newKey, currentIndex);
}
internal class DuplicateKeyException : Exception
{
#region IDictionary and IReadOnlyDictionary implementation
public string Key { get; private set; }
public DuplicateKeyException(string key)
: base("Attempted to insert duplicate key " + key + " in collection")
public bool TryGetValue(TKey key, out TValue val)
{
if (Indecies.TryGetValue(key, out var index))
{
Key = key;
val = this[index];
return true;
}
val = default;
return false;
}
/// <summary>
/// Returns all keys
/// </summary>
public IEnumerable<TKey> Keys => Indecies.Keys;
/// <summary>
/// Returns all values
/// </summary>
public IEnumerable<TValue> Values => base.Items;
ICollection<TKey> IDictionary<TKey, TValue>.Keys => Indecies.Keys;
//this will never be used
ICollection<TValue> IDictionary<TKey, TValue>.Values => Values.ToList();
bool ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly => false;
IEnumerator<KeyValuePair<TKey, TValue>> IEnumerable<KeyValuePair<TKey, TValue>>.GetEnumerator()
{
foreach (var i in Values)
{
var key = KeySelector(i);
yield return new KeyValuePair<TKey, TValue>(key, i);
}
}
void IDictionary<TKey, TValue>.Add(TKey key, TValue value)
{
Add(value);
}
void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> item)
{
Add(item.Value);
}
bool ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue> item)
{
return ContainsKey(item.Key);
}
void ICollection<KeyValuePair<TKey, TValue>>.CopyTo(KeyValuePair<TKey, TValue>[] array, int arrayIndex)
{
throw new NotImplementedException();
}
bool ICollection<KeyValuePair<TKey, TValue>>.Remove(KeyValuePair<TKey, TValue> item)
{
return Remove(item.Key);
}
#endregion
internal class DuplicateKeyException : Exception
{
public DuplicateKeyException(string key)
: base("Attempted to insert duplicate key \"" + key + "\" in collection.")
{
Key = key;
}
public string Key { get; }
}
}
}
-368
View File
@@ -1,368 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using LightInject;
using Umbraco.Core.Collections;
using Umbraco.Core.Exceptions;
using Umbraco.Core.Logging;
using Umbraco.Core.Scoping;
namespace Umbraco.Core.Components
{
// note: this class is NOT thread-safe in any ways
internal class BootLoader
{
private readonly IServiceContainer _container;
private readonly ProfilingLogger _proflog;
private readonly ILogger _logger;
private IUmbracoComponent[] _components;
private bool _booted;
private const int LogThresholdMilliseconds = 100;
/// <summary>
/// Initializes a new instance of the <see cref="BootLoader"/> class.
/// </summary>
/// <param name="container">The application container.</param>
public BootLoader(IServiceContainer container)
{
_container = container ?? throw new ArgumentNullException(nameof(container));
_proflog = container.GetInstance<ProfilingLogger>();
_logger = container.GetInstance<ILogger>();
}
private class EnableInfo
{
public bool Enabled;
public int Weight = -1;
}
public void Boot(IEnumerable<Type> componentTypes, RuntimeLevel level)
{
if (_booted) throw new InvalidOperationException("Can not boot, has already booted.");
var orderedComponentTypes = PrepareComponentTypes(componentTypes, level);
InstanciateComponents(orderedComponentTypes);
ComposeComponents(level);
using (var scope = _container.GetInstance<IScopeProvider>().CreateScope())
{
InitializeComponents();
scope.Complete();
}
// rejoice!
_booted = true;
}
private IEnumerable<Type> PrepareComponentTypes(IEnumerable<Type> componentTypes, RuntimeLevel level)
{
using (_proflog.DebugDuration<BootLoader>("Preparing component types.", "Prepared component types."))
{
return PrepareComponentTypes2(componentTypes, level);
}
}
private IEnumerable<Type> PrepareComponentTypes2(IEnumerable<Type> componentTypes, RuntimeLevel level)
{
// create a list, remove those that cannot be enabled due to runtime level
var componentTypeList = componentTypes
.Where(x =>
{
// use the min level specified by the attribute if any
// otherwise, user components have Run min level, anything else is Unknown (always run)
var attr = x.GetCustomAttribute<RuntimeLevelAttribute>();
var minLevel = attr?.MinLevel ?? (x.Implements<IUmbracoUserComponent>() ? RuntimeLevel.Run : RuntimeLevel.Unknown);
return level >= minLevel;
})
.ToList();
// cannot remove that one - ever
if (componentTypeList.Contains(typeof(UmbracoCoreComponent)) == false)
componentTypeList.Add(typeof(UmbracoCoreComponent));
// enable or disable components
EnableDisableComponents(componentTypeList);
// sort the components according to their dependencies
var requirements = new Dictionary<Type, List<Type>>();
foreach (var type in componentTypeList) requirements[type] = null;
foreach (var type in componentTypeList)
{
GatherRequirementsFromRequireAttribute(type, componentTypeList, requirements);
GatherRequirementsFromRequiredAttribute(type, componentTypeList, requirements);
}
// only for debugging, this is verbose
//_logger.Debug<BootLoader>(GetComponentsReport(requirements));
// sort components
var graph = new TopoGraph<Type, KeyValuePair<Type, List<Type>>>(kvp => kvp.Key, kvp => kvp.Value);
graph.AddItems(requirements);
List<Type> sortedComponentTypes;
try
{
sortedComponentTypes = graph.GetSortedItems().Select(x => x.Key).ToList();
}
catch (Exception e)
{
// in case of an error, force-dump everything to log
_logger.Info<BootLoader>(() => GetComponentsReport(requirements));
_logger.Error<BootLoader>("Failed to sort components.", e);
throw;
}
// bit verbose but should help for troubleshooting
var text = "Ordered Components: " + Environment.NewLine + string.Join(Environment.NewLine, sortedComponentTypes) + Environment.NewLine;
Console.WriteLine(text);
_logger.Debug<BootLoader>(text);
return sortedComponentTypes;
}
private static string GetComponentsReport(Dictionary<Type, List<Type>> requirements)
{
var text = new StringBuilder();
text.AppendLine("Components & Dependencies:");
text.AppendLine();
foreach (var kvp in requirements)
{
var type = kvp.Key;
text.AppendLine(type.FullName);
foreach (var attribute in type.GetCustomAttributes<RequireComponentAttribute>())
text.AppendLine(" -> " + attribute.RequiredType + (attribute.Weak.HasValue
? (attribute.Weak.Value ? " (weak)" : (" (strong" + (requirements.ContainsKey(attribute.RequiredType) ? ", missing" : "") + ")"))
: ""));
foreach (var attribute in type.GetCustomAttributes<RequiredComponentAttribute>())
text.AppendLine(" -< " + attribute.RequiringType);
foreach (var i in type.GetInterfaces())
{
text.AppendLine(" : " + i.FullName);
foreach (var attribute in i.GetCustomAttributes<RequireComponentAttribute>())
text.AppendLine(" -> " + attribute.RequiredType + (attribute.Weak.HasValue
? (attribute.Weak.Value ? " (weak)" : (" (strong" + (requirements.ContainsKey(attribute.RequiredType) ? ", missing" : "") + ")"))
: ""));
foreach (var attribute in i.GetCustomAttributes<RequiredComponentAttribute>())
text.AppendLine(" -< " + attribute.RequiringType);
}
if (kvp.Value != null)
foreach (var t in kvp.Value)
text.AppendLine(" = " + t);
text.AppendLine();
}
text.AppendLine("/");
text.AppendLine();
return text.ToString();
}
private static void EnableDisableComponents(ICollection<Type> types)
{
var enabled = new Dictionary<Type, EnableInfo>();
// process the enable/disable attributes
// these two attributes are *not* inherited and apply to *classes* only (not interfaces).
// remote declarations (when a component enables/disables *another* component)
// have priority over local declarations (when a component disables itself) so that
// ppl can enable components that, by default, are disabled.
// what happens in case of conflicting remote declarations is unspecified. more
// precisely, the last declaration to be processed wins, but the order of the
// declarations depends on the type finder and is unspecified.
foreach (var componentType in types)
{
foreach (var attr in componentType.GetCustomAttributes<EnableComponentAttribute>())
{
var type = attr.EnabledType ?? componentType;
if (enabled.TryGetValue(type, out var enableInfo) == false) enableInfo = enabled[type] = new EnableInfo();
var weight = type == componentType ? 1 : 2;
if (enableInfo.Weight > weight) continue;
enableInfo.Enabled = true;
enableInfo.Weight = weight;
}
foreach (var attr in componentType.GetCustomAttributes<DisableComponentAttribute>())
{
var type = attr.DisabledType ?? componentType;
if (type == typeof(UmbracoCoreComponent)) throw new InvalidOperationException("Cannot disable UmbracoCoreComponent.");
if (enabled.TryGetValue(type, out var enableInfo) == false) enableInfo = enabled[type] = new EnableInfo();
var weight = type == componentType ? 1 : 2;
if (enableInfo.Weight > weight) continue;
enableInfo.Enabled = false;
enableInfo.Weight = weight;
}
}
// remove components that end up being disabled
foreach (var kvp in enabled.Where(x => x.Value.Enabled == false))
types.Remove(kvp.Key);
}
private static void GatherRequirementsFromRequireAttribute(Type type, ICollection<Type> types, IDictionary<Type, List<Type>> requirements)
{
// get 'require' attributes
// these attributes are *not* inherited because we want to "custom-inherit" for interfaces only
var requireAttributes = type
.GetInterfaces().SelectMany(x => x.GetCustomAttributes<RequireComponentAttribute>()) // those marking interfaces
.Concat(type.GetCustomAttributes<RequireComponentAttribute>()); // those marking the component
// what happens in case of conflicting attributes (different strong/weak for same type) is not specified.
foreach (var attr in requireAttributes)
{
if (attr.RequiredType == type) continue; // ignore self-requirements (+ exclude in implems, below)
// requiring an interface = require any enabled component implementing that interface
// unless strong, and then require at least one enabled component implementing that interface
if (attr.RequiredType.IsInterface)
{
var implems = types.Where(x => x != type && attr.RequiredType.IsAssignableFrom(x)).ToList();
if (implems.Count > 0)
{
if (requirements[type] == null) requirements[type] = new List<Type>();
requirements[type].AddRange(implems);
}
else if (attr.Weak == false) // if explicitely set to !weak, is strong, else is weak
throw new Exception($"Broken component dependency: {type.FullName} -> {attr.RequiredType.FullName}.");
}
// requiring a class = require that the component is enabled
// unless weak, and then requires it if it is enabled
else
{
if (types.Contains(attr.RequiredType))
{
if (requirements[type] == null) requirements[type] = new List<Type>();
requirements[type].Add(attr.RequiredType);
}
else if (attr.Weak != true) // if not explicitely set to weak, is strong
throw new Exception($"Broken component dependency: {type.FullName} -> {attr.RequiredType.FullName}.");
}
}
}
private static void GatherRequirementsFromRequiredAttribute(Type type, ICollection<Type> types, IDictionary<Type, List<Type>> requirements)
{
// get 'required' attributes
// fixme explain
var requiredAttributes = type
.GetInterfaces().SelectMany(x => x.GetCustomAttributes<RequiredComponentAttribute>())
.Concat(type.GetCustomAttributes<RequiredComponentAttribute>());
foreach (var attr in requiredAttributes)
{
if (attr.RequiringType == type) continue; // ignore self-requirements (+ exclude in implems, below)
if (attr.RequiringType.IsInterface)
{
var implems = types.Where(x => x != type && attr.RequiringType.IsAssignableFrom(x)).ToList();
foreach (var implem in implems)
{
if (requirements[implem] == null) requirements[implem] = new List<Type>();
requirements[implem].Add(type);
}
}
else
{
if (types.Contains(attr.RequiringType))
{
if (requirements[attr.RequiringType] == null) requirements[attr.RequiringType] = new List<Type>();
requirements[attr.RequiringType].Add(type);
}
}
}
}
private void InstanciateComponents(IEnumerable<Type> types)
{
using (_proflog.DebugDuration<BootLoader>("Instanciating components.", "Instanciated components."))
{
_components = types.Select(x => (IUmbracoComponent) Activator.CreateInstance(x)).ToArray();
}
}
private void ComposeComponents(RuntimeLevel level)
{
using (_proflog.DebugDuration<BootLoader>($"Composing components. (log when >{LogThresholdMilliseconds}ms)", "Composed components."))
{
var composition = new Composition(_container, level);
foreach (var component in _components)
{
var componentType = component.GetType();
using (_proflog.DebugDuration<BootLoader>($"Composing {componentType.FullName}.", $"Composed {componentType.FullName}.", thresholdMilliseconds: LogThresholdMilliseconds))
{
component.Compose(composition);
}
}
}
}
private void InitializeComponents()
{
// use a container scope to ensure that PerScope instances are disposed
// components that require instances that should not survive should register them with PerScope lifetime
using (_proflog.DebugDuration<BootLoader>($"Initializing components. (log when >{LogThresholdMilliseconds}ms)", "Initialized components."))
using (_container.BeginScope())
{
foreach (var component in _components)
{
var componentType = component.GetType();
var initializers = componentType.GetMethods(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic)
.Where(x => x.Name == "Initialize" && x.IsGenericMethod == false);
using (_proflog.DebugDuration<BootLoader>($"Initializing {componentType.FullName}.", $"Initialised {componentType.FullName}.", thresholdMilliseconds: LogThresholdMilliseconds))
{
foreach (var initializer in initializers)
{
var parameters = initializer.GetParameters()
.Select(x => GetParameter(componentType, x.ParameterType))
.ToArray();
initializer.Invoke(component, parameters);
}
}
}
}
}
private object GetParameter(Type componentType, Type parameterType)
{
object param;
try
{
param = _container.TryGetInstance(parameterType);
}
catch (Exception e)
{
throw new BootFailedException($"Could not get parameter of type {parameterType.FullName} for component {componentType.FullName}.", e);
}
if (param == null) throw new BootFailedException($"Could not get parameter of type {parameterType.FullName} for component {componentType.FullName}.");
return param;
}
public void Terminate()
{
if (_booted == false)
{
_proflog.Logger.Warn<BootLoader>("Cannot terminate, has not booted.");
return;
}
using (_proflog.DebugDuration<BootLoader>($"Terminating. (log components when >{LogThresholdMilliseconds}ms)", "Terminated."))
{
for (var i = _components.Length - 1; i >= 0; i--) // terminate components in reverse order
{
var component = _components[i];
var componentType = component.GetType();
using (_proflog.DebugDuration<BootLoader>($"Terminating {componentType.FullName}.", $"Terminated {componentType.FullName}.", thresholdMilliseconds: LogThresholdMilliseconds))
{
component.Terminate();
}
}
}
}
}
}
@@ -1,37 +0,0 @@
using LightInject;
namespace Umbraco.Core.Components
{
/// <summary>
/// Represents a composition.
/// </summary>
/// <remarks>Although a composition exposes the application's service container, people should use the
/// extension methods (such as <c>PropertyEditors()</c> or <c>SetPublishedContentModelFactory()</c>) and
/// avoid accessing the container. This is because everything needs to be properly registered and with
/// the proper lifecycle. These methods will take care of it. Directly registering into the container
/// may cause issues.</remarks>
public class Composition
{
/// <summary>
/// Initializes a new instance of the <see cref="Composition"/> class.
/// </summary>
/// <param name="container">A container.</param>
/// <param name="level">The runtime level.</param>
public Composition(IServiceContainer container, RuntimeLevel level)
{
Container = container;
RuntimeLevel = level;
}
/// <summary>
/// Gets the container.
/// </summary>
/// <remarks>Use with care!</remarks>
public IServiceContainer Container { get; }
/// <summary>
/// Gets the runtime level.
/// </summary>
public RuntimeLevel RuntimeLevel { get; }
}
}
@@ -1,38 +0,0 @@
using System;
namespace Umbraco.Core.Components
{
/// <summary>
/// Indicates that a component should be disabled.
/// </summary>
/// <remarks>
/// <para>If a type is specified, disables the component of that type, else disables the component marked with the attribute.</para>
/// <para>This attribute is *not* inherited.</para>
/// <para>This attribute applies to classes only, it is not possible to enable/disable interfaces.</para>
/// <para>If a component ends up being both enabled and disabled: attributes marking the component itself have lower priority
/// than attributes on *other* components, eg if a component declares itself as disabled it is possible to enable it from
/// another component. Anything else is unspecified.</para>
/// </remarks>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public class DisableComponentAttribute : Attribute
{
/// <summary>
/// Initializes a new instance of the <see cref="DisableComponentAttribute"/> class.
/// </summary>
public DisableComponentAttribute()
{ }
/// <summary>
/// Initializes a new instance of the <see cref="DisableComponentAttribute"/> class.
/// </summary>
public DisableComponentAttribute(Type disabledType)
{
DisabledType = disabledType;
}
/// <summary>
/// Gets the disabled type, or null if it is the component marked with the attribute.
/// </summary>
public Type DisabledType { get; }
}
}
@@ -1,38 +0,0 @@
using System;
namespace Umbraco.Core.Components
{
/// <summary>
/// Indicates that a component should be enabled.
/// </summary>
/// <remarks>
/// <para>If a type is specified, enables the component of that type, else enables the component marked with the attribute.</para>
/// <para>This attribute is *not* inherited.</para>
/// <para>This attribute applies to classes only, it is not possible to enable/disable interfaces.</para>
/// <para>If a component ends up being both enabled and disabled: attributes marking the component itself have lower priority
/// than attributes on *other* components, eg if a component declares itself as disabled it is possible to enable it from
/// another component. Anything else is unspecified.</para>
/// </remarks>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public class EnableComponentAttribute : Attribute
{
/// <summary>
/// Initializes a new instance of the <see cref="EnableComponentAttribute"/> class.
/// </summary>
public EnableComponentAttribute()
{ }
/// <summary>
/// Initializes a new instance of the <see cref="EnableComponentAttribute"/> class.
/// </summary>
public EnableComponentAttribute(Type enabledType)
{
EnabledType = enabledType;
}
/// <summary>
/// Gets the enabled type, or null if it is the component marked with the attribute.
/// </summary>
public Type EnabledType { get; }
}
}
@@ -1,5 +0,0 @@
namespace Umbraco.Core.Components
{
public interface IRuntimeComponent : IUmbracoComponent
{ }
}
@@ -1,21 +0,0 @@
using Umbraco.Core.Composing;
namespace Umbraco.Core.Components
{
/// <summary>
/// Represents an Umbraco component.
/// </summary>
public interface IUmbracoComponent : IDiscoverable
{
/// <summary>
/// Composes the component.
/// </summary>
/// <param name="composition">The composition.</param>
void Compose(Composition composition);
/// <summary>
/// Terminates the component.
/// </summary>
void Terminate();
}
}
@@ -1,6 +0,0 @@
namespace Umbraco.Core.Components
{
[RequireComponent(typeof(IRuntimeComponent))]
public interface IUmbracoCoreComponent : IUmbracoComponent
{ }
}
@@ -1,6 +0,0 @@
namespace Umbraco.Core.Components
{
[RequireComponent(typeof(UmbracoCoreComponent))]
public interface IUmbracoUserComponent : IUmbracoComponent
{ }
}
@@ -1,59 +0,0 @@
using System;
namespace Umbraco.Core.Components
{
/// <summary>
/// Indicates that a component requires another component.
/// </summary>
/// <remarks>
/// <para>This attribute is *not* inherited. This means that a component class inheriting from
/// another component class does *not* inherit its requirements. However, the bootloader checks
/// the *interfaces* of every component for their requirements, so requirements declared on
/// interfaces are inherited by every component class implementing the interface.</para>
/// <para>When targetting a class, indicates a dependency on the component which must be enabled,
/// unless the requirement has explicitely been declared as weak (and then, only if the component
/// is enabled).</para>
/// <para>When targetting an interface, indicates a dependency on enabled components implementing
/// the interface. It could be no component at all, unless the requirement has explicitely been
/// declared as strong (and at least one component must be enabled).</para>
/// </remarks>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)]
public class RequireComponentAttribute : Attribute
{
/// <summary>
/// Initializes a new instance of the <see cref="RequireComponentAttribute"/> class.
/// </summary>
/// <param name="requiredType">The type of the required component.</param>
public RequireComponentAttribute(Type requiredType)
{
if (typeof(IUmbracoComponent).IsAssignableFrom(requiredType) == false)
throw new ArgumentException($"Type {requiredType.FullName} is invalid here because it does not implement {typeof(IUmbracoComponent).FullName}.");
RequiredType = requiredType;
}
/// <summary>
/// Initializes a new instance of the <see cref="RequireComponentAttribute"/> class.
/// </summary>
/// <param name="requiredType">The type of the required component.</param>
/// <param name="weak">A value indicating whether the requirement is weak.</param>
public RequireComponentAttribute(Type requiredType, bool weak)
: this(requiredType)
{
Weak = weak;
}
/// <summary>
/// Gets the required type.
/// </summary>
public Type RequiredType { get; }
/// <summary>
/// Gets a value indicating whether the requirement is weak.
/// </summary>
/// <remarks>Returns <c>true</c> if the requirement is weak (requires the other component if it
/// is enabled), <c>false</c> if the requirement is strong (requires the other component to be
/// enabled), and <c>null</c> if unspecified, in which case it is strong for classes and weak for
/// interfaces.</remarks>
public bool? Weak { get; }
}
}
@@ -1,41 +0,0 @@
using System;
namespace Umbraco.Core.Components
{
/// <summary>
/// Indicates that a component is required by another component.
/// </summary>
/// <remarks>
/// fixme
/// <para>This attribute is *not* inherited. This means that a component class inheriting from
/// another component class does *not* inherit its requirements. However, the bootloader checks
/// the *interfaces* of every component for their requirements, so requirements declared on
/// interfaces are inherited by every component class implementing the interface.</para>
/// <para>When targetting a class, indicates a dependency on the component which must be enabled,
/// unless the requirement has explicitely been declared as weak (and then, only if the component
/// is enabled).</para>
/// <para>When targetting an interface, indicates a dependency on enabled components implementing
/// the interface. It could be no component at all, unless the requirement has explicitely been
/// declared as strong (and at least one component must be enabled).</para>
/// </remarks>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface, AllowMultiple = true, Inherited = false)]
public class RequiredComponentAttribute : Attribute
{
/// <summary>
/// Initializes a new instance of the <see cref="RequiredComponentAttribute"/> class.
/// </summary>
/// <param name="requiringType">The type of the required component.</param>
public RequiredComponentAttribute(Type requiringType)
{
if (typeof(IUmbracoComponent).IsAssignableFrom(requiringType) == false)
throw new ArgumentException($"Type {requiringType.FullName} is invalid here because it does not implement {typeof(IUmbracoComponent).FullName}.");
RequiringType = requiringType;
}
/// <summary>
/// Gets the required type.
/// </summary>
public Type RequiringType { get; }
}
}
@@ -1,13 +0,0 @@
using System;
namespace Umbraco.Core.Components
{
[AttributeUsage(AttributeTargets.Class /*, AllowMultiple = false, Inherited = true*/)]
public class RuntimeLevelAttribute : Attribute
{
//public RuntimeLevelAttribute()
//{ }
public RuntimeLevel MinLevel { get; set; } = RuntimeLevel.Boot;
}
}

Some files were not shown because too many files have changed in this diff Show More