Commit Graph

10414 Commits

Author SHA1 Message Date
Shannon Deminick
ee7d62e583 Fixes #7148 - ensures we only check for SurfaceController routes (#8322)
* See https://github.com/umbraco/Umbraco-CMS/issues/7148 for bug report and reason for fork and PR.

* Fixes #7148 - ensures we only check for SurfaceController routes

When finding the SurfaceController to post back to when using BeginUmbracoForm we weren't specifically checking for only SurfaceControllers routes since we just assumed it would be a SurfaceController route. This is problematic if using a SurfaceController simultaneously as an IRenderController with a custom front-end route since it will fail to find that controller to post back to. This is fixed by further filtering the controllers looked up to only include SurfaceControllers.

Co-authored-by: Colin Wiseman <sayhi@codeitwise.co.uk>
2020-06-24 10:22:10 +02:00
Sebastiaan Janssen
fee6ef0fb0 Merge branch 'v8/contrib' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/package.json
#	src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbtour.directive.js
2020-06-24 09:05:22 +02:00
patrickdemooij9
591575b47d Added content apps for document types (#8187)
* Added content apps for document types

* PR Feedback updates

* Updated the javascript code to use Utilities

* Replace tolowercase comparison with localeCompare
2020-06-19 18:10:16 +01:00
Ronald Barendse
0886ada39c Properly HTML encode text in helper methods (#6545) 2020-06-19 11:41:16 +02:00
Thomas Andresen
a9bd2ae856 Merge pull request #8266 from umbraco/v8/bugfix/macro-rte-render-fix
Allows unpublished content to render a macro HTML in the RTE
2020-06-17 15:59:50 +02:00
Sebastiaan Janssen
567d7176a5 Importing a doctype would never assign a value to UploadedFiles, turns out we don't need UploadedFiles on the model
Additionally added a check to see if temp files were left behind and delete them to prevent errors when the same file has just been uploaded
2020-06-15 11:05:40 +02:00
Warren Buckley
3680f22321 Allows unpublished content to render a macro HTML in the RTE 2020-06-10 14:33:32 +01:00
Warren Buckley
e82f504658 Adds skipStepIfVisible property to JSON Tour Steps to allow skipping if DOM item is present (#8235)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2020-06-09 08:55:06 +02:00
Sebastiaan Janssen
9829d4abef Merge branch 'v8/dev' into v8/contrib 2020-06-02 11:41:09 +02:00
Chad
a4274ba767 Shorter JSON property names for nucache (#8204) 2020-06-02 11:35:19 +02:00
Warren Buckley
49c438b55f Merge pull request #7166 from umbraco/v8/feature/7133-do-not-paste-keys-in-nested-content
NC keys: Do not copy keys for Nested Content (Fix for #7133)
2020-05-29 15:18:46 +00:00
Steve Megson
33850b13d0 If GetControllerTypeInternal falls back to creating an instance, it should also release it (#8196) 2020-05-29 14:39:14 +02:00
Shannon
2565a626cb Fixes NC key replacement and adds tests 2020-05-29 13:01:56 +10:00
Warren Buckley
732d574ec2 Tidy up & better checking for NC JSON with JSONPath & SelectTokens()
Less code duplication.
No need for Publishing event as Saving event is called before publishing
2020-05-28 21:35:39 +01:00
Warren Buckley
c81268995c Remove code duplication 2020-05-28 12:06:04 +01:00
Warren Buckley
c9ab2ca9ef Use InvariantEquals 2020-05-28 11:45:43 +01:00
Claus
ff30a27697 adding missing nullchecks. 2020-05-28 08:41:32 +02:00
Jan Skovgaard
32a0c3b075 "Actions" drop down options do not give context to the user (#6301) 2020-05-26 17:45:39 +02:00
Sebastiaan Janssen
78a7785256 Merge branch 'v8/contrib' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/package-lock.json
2020-05-26 16:27:09 +02:00
Warren Buckley
e434b01386 Adds in NC Property Component to deal with creating/adding missing keys 2020-05-26 14:43:57 +01:00
Marc Goodson
b6262bf334 Remove ContentFinderByRedirectUrl if RedirectUrlTracking is disabled (#7761) 2020-05-25 17:51:52 +02:00
Bjarke Berg
5b7f1227f9 Bugfix for issue with hanging saves. + Fix for double post of save templates 2020-05-22 10:46:13 +02:00
Daniël Knippers
392d74f80d Added support for segments to File Uploads (#8070) 2020-05-19 17:04:23 +02:00
Bjarne Fyrstenborg
11f8628279 Lock core relation types (#8022) 2020-05-16 19:51:57 +02:00
Daniël Knippers
0fdf084544 Validation errors reworked to incorporate segment errors (#8065) 2020-05-14 17:03:33 +02:00
Sebastiaan Janssen
7634b37676 Merge branch 'v8/dev' into v8/contrib 2020-05-11 14:22:07 +02:00
Shannon Deminick
aff41762ac Merge pull request #8061 from umbraco/v8/bugfix/5716-section-check-when-no-dashboards
Preventive check that will enable sections load for users with no dashboards
2020-05-07 15:46:16 +10:00
Warren Buckley
0f4681f3f9 Merge pull request #7973 from umbraco/v8/feature/AB6057-segment-feature
Segment feature
2020-05-05 14:53:12 +01:00
Elitsa Marinovska
3763427726 Adding section value check in the query string 2020-05-05 09:41:04 +02:00
Bjarke Berg
a9b48fe85e Merge pull request #8058 from umbraco/v8/bugfix/8038-SqlMainDomLock-loadbalancing
Fixes SqlMainDomLock setting for Azure does not work in Load Balancing #8038
2020-05-04 12:09:56 +02:00
Shannon
d7469e6576 when we rebuild indexes in the back office we are actually calling index.CreateIndex() 2 times before populating 2020-05-04 09:24:07 +02:00
Niels Lyngsø
641332d28e Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB6057-segment-feature 2020-05-01 09:29:29 +02:00
Shannon
bac42c6fb2 change to protected 2020-04-30 22:46:06 +10:00
Shannon Deminick
4ceed8cf3a Merge pull request #7998 from Jeavon/v8/bugfix/umbracoapplication
Add GetMainDom method to UmbracoApplication
2020-04-30 22:31:06 +10:00
Niels Lyngsø
d9f25d0841 do not showAllowSegmentationForDocumentTypes pr default 2020-04-29 16:36:40 +02:00
Warren Buckley
9bce66cb5f Adds AllowSegmentVariation on the Doctype to be peristed 2020-04-29 15:29:21 +01:00
Bjarke Berg
e45ffea207 Merge pull request #7983 from umbraco/v8/bugfix/models-builder-enable-flag
ModelsBuilder enabled flag not respected
2020-04-29 07:37:33 +02:00
Shannon
279329d682 removes code that shouldn't have been committed. 2020-04-29 10:32:05 +10:00
Niels Lyngsø
678ceba1a8 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB6057-segment-feature
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbvariantcontenteditors.directive.js
#	src/Umbraco.Web.UI.Client/src/common/directives/components/umbgroupsbuilder.directive.js
#	src/Umbraco.Web.UI.Client/src/common/services/servervalidationmgr.service.js
2020-04-27 12:58:29 +02:00
Sebastiaan Janssen
d65041c250 Merge branch 'v8/dev' into v8/contrib 2020-04-27 11:03:32 +02:00
Morten Christensen
9b21cf9332 Merge pull request #7994 from umbraco/v8/bugfix/5151-scope-issue-indexing
Fixing Nasty Exception with Scope/Provider #5151 - when indexing data
2020-04-23 08:52:00 +02:00
Jeavon Leopold
c3f59602c2 Add GetMainDom method to UmbracoApplication so GetRuntime can be overridden
(cherry picked from commit 549b4c58a7b8dec8eae15cb0cbb3bd1e1268ead8)
2020-04-22 11:38:06 +01:00
Shannon
2a89b36871 Fixing Nasty Exception with Scope/Provider #5151 2020-04-22 11:10:24 +10:00
Shannon
e62fef8faf Ensures entire nucache linked list is not rebuild on schema changes when disabled 2020-04-20 23:22:03 +10:00
Shannon
8927472457 Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/models-builder-enable-flag 2020-04-20 22:45:50 +10:00
Shannon
44df0dda2b adding an event 2020-04-20 22:45:12 +10:00
Niels Lyngsø
549ee878a2 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/4901-user-no-start-nodes 2020-04-20 11:43:57 +02:00
Bjarke Berg
c3136943e3 Merge pull request #7970 from umbraco/v8/bugfix/nucache-db-paging
In Nucache when we are loading in all data that we page over the data as to not cause an SQL timeout
2020-04-20 11:10:14 +02:00
Niels Lyngsø
1a69d5a7e6 Merge remote-tracking branch 'origin/v8/feature/AB4550-segments-clientcode' into v8/feature/AB6057-segment-feature 2020-04-17 17:46:50 +02:00
Niels Lyngsø
291d5167b1 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB4550-segments-ui-variant-picker 2020-04-17 09:42:25 +02:00