Compare commits

...

4228 Commits

Author SHA1 Message Date
Bjarke Berg ca3f65891d Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-08-25 14:00:59 +02:00
Bjarke Berg 2ac0ff9f40 Merge pull request #8595 from umbraco/v8/feature/partial-view-macro-acceptance
V8/feature/Add acceptance tests
2020-08-20 09:43:19 +02:00
Bjarke Berg 67c25ad39b Fixes for ace editor in cypress tests 2020-08-20 09:42:42 +02:00
Sebastiaan Janssen 0140d906a5 Merge remote-tracking branch 'origin/v8/contrib' into v8/contrib 2020-08-19 15:18:19 +02:00
Steve Temple addc6ae51a Deprecate IsRequired on Email datatype (#8655)
* Deprecate IsRequired on Email datatype

* Add Obsolete to IsRequired in EmailAddressConfig
2020-08-19 14:03:38 +01:00
Bjarne Fyrstenborg ea40cea420 Use button elements in schedule overlay (#8640)
* Replace anchor elements with button elements

* Apply styling to button element

* Reset default button style

* Add missing type attributes

* Add aria-hidden attribute

* Move type attribute for readability
2020-08-19 12:21:53 +01:00
Sebastiaan Janssen c8da5156fa Merge branch 'v8/dev' into v8/contrib
# Conflicts:
#	src/Umbraco.Web.UI.Client/package.json
#	src/Umbraco.Web.UI.Client/src/common/directives/components/content/umbvariantcontenteditors.directive.js
#	src/Umbraco.Web.UI.Client/src/common/directives/validation/valformmanager.directive.js
#	src/Umbraco.Web.UI.Client/src/common/services/formhelper.service.js
#	src/Umbraco.Web.UI.Client/src/views/components/overlays/umb-overlay.html
#	src/Umbraco.Web.UI.Client/src/views/content/overlays/publishdescendants.controller.js
#	src/Umbraco.Web.UI.Client/src/views/content/overlays/publishdescendants.html
#	src/Umbraco.Web.UI.Client/src/views/dictionary/edit.html
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
2020-08-19 13:12:13 +02:00
Shannon Deminick 5d93d8e874 Merge pull request #8634 from nzdev/v8/feature/support-sql-server-developer-edition-2019
Support SQL Server 2012 syntax on SQL Server 2019
2020-08-17 16:30:36 +10:00
nzdev 58a8b093cc Support SQL Server 2012 syntax on SQL Server 2019 2020-08-14 16:32:46 +12:00
Sebastiaan Janssen acb2c203bd Bump to v8.8.0 2020-08-13 14:41:54 +02:00
Sebastiaan Janssen 50bdcc4949 Sync some dependencies that have been updated in v8/8.7 2020-08-13 14:32:43 +02:00
Nikolaj 1512496f4f Add template tests 2020-08-13 09:31:28 +02:00
Nikolaj 9a2fb1e0d8 Fix javascript test 2020-08-13 09:11:58 +02:00
Nikolaj e76ffc865c Ensure that the template is deleted when creating a new documentType 2020-08-13 09:09:15 +02:00
Nikolaj cc696ade1c Update npm packages 2020-08-13 09:02:54 +02:00
Nikolaj b42bd51392 Add partial views tests 2020-08-13 09:02:18 +02:00
Sebastiaan Janssen 93c021ef1c Resolves #8621 correctly 2020-08-12 09:07:35 +02:00
Bjarke Berg 9432f71a63 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-08-11 10:00:19 +02:00
Claus 39fcdb01e0 Merge pull request #8601 from umbraco/v8/bugfix/publishdescendants
Fixing publish descendants dialog
2020-08-07 09:56:37 +02:00
Claus c73f9bc2a5 fixing the other umb-toggle. 2020-08-07 09:52:19 +02:00
Claus 36af2f6ed2 Merge pull request #8547 from bjarnef/v8/bug/fix-self-closing-angular-elements
Fix self closing angular elements
2020-08-07 09:45:32 +02:00
Claus f7588da514 Merge pull request #8605 from bjarnef/v8/bug/fix-self-closing-umb-toggle
Fix self closing umb-toggle
2020-08-07 09:42:31 +02:00
Bjarne Fyrstenborg deef02bd32 Toggle when clicking label text 2020-08-06 20:14:38 +02:00
Bjarne Fyrstenborg 73860285eb Fix issue with void element for angular directive/component which is custom HTML element 2020-08-06 19:59:54 +02:00
Bjarne Fyrstenborg 112215ac5b Remove additional whitespace 2020-08-06 19:57:20 +02:00
Claus 4799f73775 using label on umb-toggle instead of a separate element.
updating localized texts to reflect what is happening.
ensure the selected value is pushed back to scope and used for the action.
2020-08-06 15:04:18 +02:00
Bjarke Berg 39162f0f6a Merge conflicts resolved 2020-08-06 12:59:21 +02:00
Warren Buckley 1e29b5f810 Delete RichCode Navigation GitHub Action
Will do testing in personal fork with MS team until this is ready to demo
2020-08-06 08:10:51 +01:00
Nikolaj 355804d4a6 Update testhelpers to fix wonky import 2020-08-06 08:53:17 +02:00
Claus 9ac3885488 Merge pull request #7596 from umbraco/v8/feature/7292-memberhasaccess
Adds new methods to MembershipHelper for dealing with checking bulk paths for access
2020-08-06 08:22:45 +02:00
Nikolaj 6a67fd5fab Add additional partialViewMacro tests 2020-08-05 15:21:54 +02:00
Nikolaj 894bbfb9d4 Put cleanup into a function 2020-08-04 11:54:19 +02:00
Nikolaj 60791fb96f Wrap intital navigation in method 2020-08-04 11:35:12 +02:00
Nikolaj 7d045fd0b3 Fix spaces 2020-08-04 11:23:22 +02:00
Nikolaj 82b3416d42 Test partial view macro from snippet 2020-08-04 11:20:06 +02:00
Nikolaj 8c593d0ea6 Add test for macro without macro 2020-08-04 11:04:09 +02:00
Bjarke Berg 405919be7c Merge pull request #8559 from umbraco/v8/bugfix/acceptance_test
Fix selectors causing acceptance test to give false errors.
2020-08-03 13:11:09 +02:00
Bjarke Berg 8b1bf3c16f Fix issue with tour's next button not clickable when infinite editing bar is open 2020-08-03 12:54:27 +02:00
Nikolaj E. Lauridsen 87383db814 Fix button selectors 2020-08-03 12:04:22 +02:00
Kenn Jacobsen bbcd08ac98 Fix broken grid LESS causing the client build to fail (#8551) 2020-08-01 10:18:15 +02:00
Bjarne Fyrstenborg 811cbb8f74 Cleanup console.log 2020-07-31 18:07:28 +02:00
Bjarne Fyrstenborg 3bcaad0e7f Ensure umb-radiobutton use end-closing tag 2020-07-31 18:06:50 +02:00
Bjarne Fyrstenborg 12a4dbc705 Ensure umb-checkbox has end closing tag 2020-07-31 18:00:39 +02:00
Kenn Jacobsen 34ea86a8cb Remove usages of angular.forEach in help drawer, content and infinite editors (#8544) 2020-07-31 17:48:45 +02:00
Bjarne Fyrstenborg 08f177bfd8 Fix styling of buttons in grid cells (#8543) 2020-07-31 17:45:45 +02:00
Bjarne Fyrstenborg ff7ce4e66e Fix styling of actions in textbox multiple (#8542) 2020-07-31 17:43:46 +02:00
Kenn Jacobsen a737b0eacf Remove usages of angular.forEach in property editors 2020-07-31 17:38:12 +02:00
Kenn Jacobsen e69f19381f Languages names do not show in publish/unpublish dialogs 2020-07-31 17:28:39 +02:00
Nathan Woulfe 1a4e360c32 Fix object iteration in underscore _.each changes (#8534) 2020-07-31 12:49:01 +02:00
Mike Masey edf307dffa Errors do not receive focus on submit (Accessibility) (#8278) 2020-07-31 12:41:51 +02:00
Sebastiaan Janssen 9de04fdf5b Fix PhantomJS tests 2020-07-31 12:33:28 +02:00
Bjarne Fyrstenborg c33229840f Fix styling of confirm actions in tags editor (#8528) 2020-07-31 10:40:40 +02:00
Bjarne Fyrstenborg 538b867447 Buttons cleanup (#8529) 2020-07-31 10:24:20 +02:00
Bjarne Fyrstenborg dfe8930653 Update model name in logviewer saved search (#8527) 2020-07-31 10:18:24 +02:00
Bjarne Fyrstenborg 37d001c0e8 Align icons on document type (#8531) 2020-07-31 09:21:32 +02:00
Nathan Woulfe ad1eda44bf rmove underscore from content overlays, some refactoring as appropriate 2020-07-31 09:16:51 +02:00
Bjarne Fyrstenborg 12087e78b7 Update master template button (#8532) 2020-07-31 08:42:29 +02:00
Shannon 7d762e0455 Merge remote-tracking branch 'origin/v8/8.7' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.controller.js
2020-07-31 15:55:39 +10:00
Michael Latouche 6e2e2eca05 Update French translations file to V8 labels (#7379) 2020-07-30 18:12:08 +02:00
Ian Houghton a0034c51f9 fix #7842 - Render a larger textarea for editing dictionary items 2020-07-30 17:59:59 +02:00
Poornima Nayar d7c4f8f055 RelationService - Log to audit on RelationType Save 2020-07-30 17:56:29 +02:00
Callum Whyte f2253bc090 Improving database field labels in installer (#8172) 2020-07-30 17:53:16 +02:00
Kenn Jacobsen a7e88efc22 Improve dictionary dashboard performance significantly 2020-07-30 17:48:45 +02:00
Ronald Barendse 568135a249 Fix LogScrubber exception when cleaning up temp files (#8326) 2020-07-30 17:41:18 +02:00
Jan Skovgaard 0e4979bd7f Convert menu actions to use umb-button-ellipsis component (#8503) 2020-07-30 17:32:50 +02:00
Nathan Woulfe cb47e0f1f6 7731 bye bye underscore => _.each (#8475) 2020-07-30 17:20:56 +02:00
Bjarne Fyrstenborg 312e2fa949 Fetch membergroup by guid (#8496) 2020-07-30 17:12:18 +02:00
Kenn Jacobsen dd8ddbae27 Performance improvements to content type editor (#8506) 2020-07-30 17:04:14 +02:00
Bjarne Fyrstenborg 18ccbb70fd Adjust styling of variant switcher for not created variant (#8511) 2020-07-30 16:46:30 +02:00
Bjarne Fyrstenborg d1d50f2ff4 Logviewer adjustments (#8513) 2020-07-30 16:40:35 +02:00
Bjarne Fyrstenborg 56c3d5858b Query builder buttons (#8509) 2020-07-30 16:29:26 +02:00
Bjarne Fyrstenborg 27db255f77 Replace splitview close button with button element (#8510) 2020-07-30 15:45:52 +02:00
Bjarne Fyrstenborg 6edd0bbb6c Button doesn't show success or error icon after save (#8514) 2020-07-30 15:25:12 +02:00
Bjarne Fyrstenborg 68e5e5ead8 Use umb-icon in listview layout selector (#8515) 2020-07-30 15:22:23 +02:00
Bjarne Fyrstenborg 737291ce45 Adjustments to umb-icon with custom font icons (#8519) 2020-07-30 15:15:05 +02:00
Bjarne Fyrstenborg 56d5286676 Don't log message if svg icon isn't found since it will fill log with errors for custom font icons where svg icons are not available 2020-07-30 15:03:56 +02:00
Niels Lyngsø d5c0e79c40 make label bar white 2020-07-30 14:47:16 +02:00
Niels Lyngsø e8332a16ae make inline editor bar white 2020-07-30 14:44:13 +02:00
Kenn Jacobsen e25a81ef38 V8: Wildcards in tree searches causes YSODs (#7330) 2020-07-30 13:54:28 +02:00
Sebastiaan Janssen e390820f2e Remove redundant check 2020-07-30 13:40:48 +02:00
Shannon Deminick 9e110124b5 Merge pull request #8270 from ronaldbarendse/v8/bugfix/propertyvalueconverterbase
PropertyValueConverterBase cleanup: fix IsValue, obsolete HasValue, add documentation
2020-07-30 21:18:30 +10:00
Kenn Jacobsen 85cbcf74c0 Don't append empty file names to search results (#7331)
Co-authored-by: Sebastiaan Janssen <sebastiaan@umbraco.com>
2020-07-30 13:03:58 +02:00
Kenn Jacobsen f46778de62 Remove usages of angular.forEach in users and groups editing 2020-07-30 12:49:23 +02:00
Kenn Jacobsen 56ca7fa603 Remove usages of angular.forEach in settings and translation 2020-07-30 12:38:58 +02:00
Kenn Jacobsen a93cc88756 Don't show empty search results on top of the search input field in the linkpicker 2020-07-30 12:19:27 +02:00
Kenn Jacobsen e387c3b27f Fix JS error when trying to insert a link in an empty RTE 2020-07-30 12:13:40 +02:00
Kenn Jacobsen 2e22ada442 Fix the alignment of the "delete property" button 2020-07-30 12:10:09 +02:00
Kenn Jacobsen 164140a709 Show keyboard input focus on file property editors 2020-07-30 12:08:38 +02:00
Kenn Jacobsen 794e14e558 Fix panel header spacing when a description is present 2020-07-30 12:06:45 +02:00
Kenn Jacobsen be6b051674 Make sure the RTE always loads minified resources + optimize the grid RTE resource loading 2020-07-30 12:03:17 +02:00
Kenn Jacobsen a9dfd9a568 "Selected"-checkbox in mini listview is always visible 2020-07-30 11:50:10 +02:00
Jan Skovgaard 0e715483c7 umb-ellispsis-component: Fix visuals when used in the content app section (#8500) 2020-07-30 11:30:06 +02:00
Shannon f0cc7a493d Cleanup servervalidationmgr booleans and moves to more readable functions with comments 2020-07-30 16:03:31 +10:00
Shannon 99fc6ef587 cleanup TODOs 2020-07-30 15:47:14 +10:00
Bjarne Fyrstenborg 81346f8fb3 Show open button for media and member in MNTP (#8476) 2020-07-29 13:44:39 +02:00
Warren Buckley f7a0afb459 Merge pull request #8493 from umbraco/v8/feature/block-list-settings-validation
Block list editor - settings validation
2020-07-29 11:11:07 +01:00
Mike Masey add1a99cc4 V8: Add umb-icon directive to backoffice to begin transition from icon fonts to svgs (#5606) 2020-07-29 11:29:49 +02:00
Shannon 58331bbdef Fixes tests and issues causing test failures. 2020-07-29 18:46:01 +10:00
Bjarne Fyrstenborg ca4f7bf41d Ensure replacement of angular.copy still works where second parameter is used for destination object.
(cherry picked from commit eff630d3a0)
2020-07-28 14:11:38 +02:00
Bjarne Fyrstenborg eff630d3a0 Ensure replacement of angular.copy still works where second parameter is used for destination object. 2020-07-28 14:10:01 +02:00
Kenn Jacobsen 143f0c04a3 Don't anto-expand all content anchors on small screens 2020-07-28 14:07:04 +02:00
Kenn Jacobsen f017514a10 Don't allow the grid to steal focus on init 2020-07-28 14:04:58 +02:00
Bjarne Fyrstenborg d3c87ab043 Cleanup unused function shouldShowUrl 2020-07-28 14:02:27 +02:00
Warren Buckley 940e47141e Merge pull request #8382 from umbraco/v8/feature/block-list-data-structure-v3
V8/feature/block list data structure v3
2020-07-28 10:49:29 +01:00
rickread 61892882de #8345 - Nested content not remembering value on variant switch (#8479) 2020-07-28 10:29:35 +02:00
Shannon 8b19e11b58 Implements server side min/max count checks and fixes the display of the error message 2020-07-28 17:05:45 +10:00
Shannon e4334c86bf Merge branch 'v8/feature/block-list-data-structure-v3' into v8/feature/block-list-settings-validation 2020-07-28 15:36:16 +10:00
Shannon cf442f78c0 updates prop value converter to filter out all content/settings blocks outside of the layout from reaching razor + test 2020-07-28 15:33:54 +10:00
Shannon 768b31e091 enhances valServerMatch to be more flexible and allow for different validation keys which we can then use for matching on settings or content and have different styles for validators 2020-07-28 11:43:53 +10:00
Kenn Jacobsen 0aabc2f696 Do not rebind content types on save errors 2020-07-27 17:54:22 +02:00
Bjarne Fyrstenborg 27ffa68ddf Hide action button in tree (#8481) 2020-07-27 17:48:35 +02:00
Bjarne Fyrstenborg 1eb0c93e05 Get member group by id, guid and udi (#7528) 2020-07-27 17:29:01 +02:00
Bjarne Fyrstenborg 0f9de5d59b Richtext rules adjustments (#8480) 2020-07-27 17:28:00 +02:00
Bjarne Fyrstenborg 6b3daf8963 Change button style for redirect delete confirm (#8482) 2020-07-27 17:25:19 +02:00
Bjarne Fyrstenborg 8ac706e7fd Update screenshots in default dashboard (#8483) 2020-07-27 17:23:51 +02:00
Bjarne Fyrstenborg eef894c617 Update boolean/toggle/checkbox label prevalues (#8477) 2020-07-27 17:18:10 +02:00
Bjarne Fyrstenborg 2dedaf888b Add missing esc shortcut to close overlay 2020-07-27 16:32:39 +02:00
Marc Goodson 991f2d0f42 V8: Add alternate 'List View' to Media Picker - Take 2 (#7912) 2020-07-27 16:13:07 +02:00
Nathan Woulfe fc09eeefaf Fix null language in variant change event (#8474) 2020-07-27 10:35:27 +02:00
Bjarne Fyrstenborg f10a3ef3ca Custom angular elements can't be self-closing. This prevented the remove button from being rendered. 2020-07-27 09:47:22 +02:00
Evan Moore 4460e8d369 Get missing crops from configuration 2020-07-27 09:38:40 +02:00
Nathan Woulfe 6823cdaaa0 Merge pull request #7446 from kjac/v8/fix/disable-actions-button-until-actions-load
V8: Disable the actions menu button until there are actions available
2020-07-25 08:12:45 +10:00
Lars-Erik Aabech e8bb3b01aa Better crop mechanism for the grid image editor (#8023) 2020-07-24 16:47:09 +02:00
Bjarne Fyrstenborg 5d5c912d4d Make icon property for checkbox and radiobutton consistent with other components (#8467) 2020-07-24 10:07:06 +02:00
Shannon 5aba8190ae Yay! gets sub editor validation works - was actually totally broken before too, refactors how the sub views get made so this done during the scaffold processing 2020-07-24 15:05:59 +10:00
Jan Skovgaard c95a7f2ef4 Add focus-lock directive (#8141) 2020-07-23 17:50:50 +02:00
Warren Buckley 48963f6548 Submit Rich Code Navigation GitHub action 2020-07-23 16:40:23 +01:00
Jan Skovgaard 1cd79d81af umb-confirmation directive: move trashcan into directive and address accessibility issues (#8198) 2020-07-23 17:28:24 +02:00
Jan Skovgaard ad29e628d8 Add umb-search-filter component (#8179) 2020-07-23 17:13:26 +02:00
Jan Skovgaard b3e5c510a5 Add "umb-button-ellipsis" component (#8132) 2020-07-23 17:05:39 +02:00
Bjarne Fyrstenborg 5deb71cb4d Replace anchor elements with button element in image/media picker (#8321) 2020-07-23 16:51:01 +02:00
Bjarne Fyrstenborg 98a429e450 Replace anchor elements with button in member and member groups (#8320) 2020-07-23 16:50:00 +02:00
Bjarne Fyrstenborg 2023dbcf42 Replace anchor elements with button elements in treepicker (#8319) 2020-07-23 16:45:36 +02:00
Bjarne Fyrstenborg 81c823803e Replace anchor elements with button elements in public access overlay 2020-07-23 16:44:13 +02:00
Shannon 9e9f8863c2 Ensures validation works for settings data, now to test other scenarios. 2020-07-24 00:42:37 +10:00
Bjarne Fyrstenborg 0bd9e3ca99 Member type infinite editing (#8027) 2020-07-23 16:42:04 +02:00
Bjarne Fyrstenborg e02b5a74d7 Replace traditional checkbox with umb-checkbox component. 2020-07-23 16:29:44 +02:00
Bjarne Fyrstenborg a1465dea75 Grid row configuration delete confirm (#8005) 2020-07-23 16:27:58 +02:00
Bjarne Fyrstenborg 41d1e33fc4 Add user picker property editor (#7613) 2020-07-23 16:08:24 +02:00
Bjarne Fyrstenborg 2ca7cc9ccc Get dictionary item by id, guid and udi 2020-07-23 15:55:19 +02:00
Shannon cb9ae7335e Merge branch 'v8/feature/block-list-data-structure-v3' into v8/feature/block-list-settings-validation 2020-07-23 23:54:44 +10:00
Bjarne Fyrstenborg ca1d749f37 Get template by id, guid and udi 2020-07-23 15:54:08 +02:00
Shannon e52cd3e359 fixes block removal with new data structure 2020-07-23 23:53:58 +10:00
Bjarne Fyrstenborg 2a4d4c82ff Get relation type by id, guid and udi 2020-07-23 15:52:57 +02:00
Bjarne Fyrstenborg 20eb8f9567 Access document, media and member types by guid and udi (#7514) 2020-07-23 15:51:53 +02:00
Bjarne Fyrstenborg 34749ec233 Replace compositions checkboxes (#6956) 2020-07-23 15:47:58 +02:00
Shannon 05d9f4cf9b Merge branch 'v8/feature/block-list-data-structure-v3' into v8/feature/block-list-settings-validation 2020-07-23 23:37:11 +10:00
Bjarne Fyrstenborg f50f4baa3a v8: Log viewer datepicker (#5890) 2020-07-23 15:37:01 +02:00
Shannon 692b8b819f fixes tests 2020-07-23 23:31:55 +10:00
Shannon 84dddd1869 fixes tests 2020-07-23 23:23:39 +10:00
Shannon 78455756e1 Removes _private methods that don't need to exist 2020-07-23 23:20:07 +10:00
Shannon ad9d0fad4f Adds notes with links back to PR about server side validation 2020-07-23 23:06:58 +10:00
Shannon 06afab9893 Adds some warning logs for when data is removed 2020-07-23 23:04:11 +10:00
Shannon e01f36514b fixes tests 2020-07-23 22:14:06 +10:00
Warren Buckley adc63a839b Merge pull request #8339 from umbraco/v8/feature/block-editor-list-validation
Complex Editor Validation
2020-07-23 11:59:39 +01:00
Shannon 0e4bf55f84 Merge branch 'v8/feature/block-editor-list-validation' into v8/feature/block-list-data-structure-v3
# Conflicts:
#	src/Umbraco.Web.UI.Client/test/unit/common/services/block-editor-service.spec.js
2020-07-23 19:16:52 +10:00
Shannon 41dc30227f Fixes tests 2020-07-23 19:04:42 +10:00
Shannon 925ffb1f9b Merge branch 'v8/feature/block-editor-list-validation' into v8/feature/block-list-data-structure-v3 2020-07-23 16:55:27 +10:00
Shannon f77961ca6e Fixes tests 2020-07-23 16:42:53 +10:00
Shannon f7a831f054 Fixes some JS issues with new data format, streamlines the blockeditor data format serialization in c#, implements To/FromEditor methods 2020-07-23 16:03:35 +10:00
Tom Pipe dc39faeb5e Allow treepicker configuration to filter on metadata using JSON format (#7511) 2020-07-22 20:55:18 +02:00
Bjarne Fyrstenborg 4fe5aaf8c4 Update button in package overview not to use flexbox and inner wrapper using flexbox instead 2020-07-22 20:48:40 +02:00
Poornima Nayar b21f5f59b0 Logging content blueprint save in back office to log table 2020-07-22 20:34:31 +02:00
Poornima Nayar 4e420c1936 Added GetLog method to LogController (#8188) 2020-07-22 20:33:46 +02:00
Mike 259ef3d391 fix: remove auto focus from package search box 2020-07-22 20:32:35 +02:00
Jan Skovgaard f7c9d045a3 Random fixes for nested content "add" button (#8205) 2020-07-22 20:27:19 +02:00
Jan Skovgaard bced145be6 Improve the accessibility of the cog icon (#8206) 2020-07-22 20:25:57 +02:00
BatJan 3441200a7f Convert a to button and fix some texts and make them more specific in a non visual context 2020-07-22 20:22:33 +02:00
Anders Bjerner 16769e9504 umb-notifications.html - added option for setting the target attribute (#8224)
(cherry picked from commit 5642e56dd7)
2020-07-22 20:20:18 +02:00
Anders Bjerner 5642e56dd7 umb-notifications.html - added option for setting the target attribute (#8224) 2020-07-22 20:19:15 +02:00
Bjarne Fyrstenborg 7c982febad Add config to define true and false value (#8229) 2020-07-22 20:13:11 +02:00
Nathan Woulfe b0f26dabc5 update date-format matching for formats with am/pm 2020-07-22 20:00:49 +02:00
Markus Johansson bafd058aa8 #8280 Using IOHelper for Log files 2020-07-22 19:57:14 +02:00
Mike Chambers ee15c68f04 Update dependencies.js
DevTools failed to load SourceMap: Could not load content for https://localhost:44313/umbraco/lib/angular-aria/angular-aria.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
2020-07-22 19:53:33 +02:00
Bjarne Fyrstenborg 41a31af993 Media picker folder icon (#8305) 2020-07-22 19:48:55 +02:00
Bjarne Fyrstenborg 14e92e1583 Remove sorting in grid layout configuration (#8354) 2020-07-22 19:45:22 +02:00
Nathan Woulfe 99a3dec4ba emit event when changing variant, quick syntax/style tidyup 2020-07-22 19:37:40 +02:00
Bjarne Fyrstenborg 0d7c65de3e Grid config allow editors toggle (#8357) 2020-07-22 19:33:38 +02:00
Bjarne Fyrstenborg 6ed0d03da3 Use ace editor json mode for grid configuration (#8361) 2020-07-22 19:26:24 +02:00
Rachel Breeze 0a01601523 v8: Improvements to accessibility of translations section (#8383) 2020-07-22 19:08:18 +02:00
Joshua Brown 511a7f1371 Fix for issue #7461 ("Inserting a macro in the rich test editor (RTE) in the Grid makes it disappear on Save & Publish") (#8437) 2020-07-22 19:05:07 +02:00
Bjarne Fyrstenborg 78c429c4af Streamline umb-checkbox and umb-radiobutton components (#8441) 2020-07-22 18:56:58 +02:00
Bjarne Fyrstenborg 7b8ef85541 Adjust toggle styling when checked and disabled (#8445) 2020-07-22 18:55:47 +02:00
Callum Whyte 869f0e2d11 Improving umb-button link docs 2020-07-22 18:53:41 +02:00
Shannon 5bc80e2d84 Adds tests for settings and changes to strongly typed guid 2020-07-21 16:24:48 +10:00
Shannon a194d1db4a first phase of new data format done in c# 2020-07-21 15:50:11 +10:00
Shannon bd5986aa00 Merge branch 'v8/feature/block-editor-list-validation' into v8/feature/block-list-data-structure-v3 2020-07-21 13:29:56 +10:00
Shannon b4345217f4 Removes weird unused service 2020-07-21 13:29:19 +10:00
Shannon 8098264206 WIP 2020-07-21 13:28:19 +10:00
Shannon 89b1552722 Merge branch 'v8/feature/block-editor-list-validation' into v8/feature/block-list-data-structure-v3 2020-07-21 13:19:11 +10:00
Shannon e16e04ecb0 removes unnecessary code 2020-07-21 13:13:35 +10:00
Shannon 51118699df couple TODOs 2020-07-20 16:39:00 +10:00
Shannon c8c9cfa7f2 Merge branch 'v8/8.7' into v8/feature/block-editor-list-validation 2020-07-20 16:08:55 +10:00
Shannon c8488b6683 Merge branch 'v8/8.6' into v8/8.7
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbtour.directive.js
#	src/Umbraco.Web.UI.Client/src/common/services/clipboard.service.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.controller.js
2020-07-20 16:08:07 +10:00
Shannon 639c7a40ee Merge branch 'v8/8.6' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Examine/IndexRebuilder.cs
#	src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbtour.directive.js
#	src/Umbraco.Web.UI.Client/src/common/services/clipboard.service.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.controller.js
2020-07-20 16:03:10 +10:00
Shannon 0763d1d272 adds note 2020-07-20 14:54:10 +10:00
Shannon ffe41fcb68 Merge remote-tracking branch 'origin/v8/8.7' into v8/feature/block-editor-list-validation
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/umbBlockListPropertyEditor.component.js
2020-07-17 13:51:18 +10:00
Shannon b57545a9b0 No need for 2x the same component, we just change how we $compile, fixes up showing the validation border 2020-07-17 13:37:36 +10:00
Shannon 4d06094696 Ensures that FormController hierarchy is maintained with infinite editors 2020-07-17 12:21:33 +10:00
Shannon 0afdd69416 Fixes deleting nodes with server validation and also ensuring that the dirty state is set on the form 2020-07-17 01:40:32 +10:00
Shannon d01b06bd9c only call model state callbacks once instead of exponentially, fixes valPropertyMsg, no more watching the value, uses clever trick of assigning $validators, now works for nested content because we don't need to watch values, makes nested content look more like block editor, adds error borders 2020-07-17 00:48:28 +10:00
dependabot[bot] 888109f69b Bump lodash from 4.17.15 to 4.17.19 in /src/Umbraco.Web.UI.Client
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-16 14:03:15 +02:00
Shannon 5c91774ae9 ensure culture carries through to child model state and ensure language culture is carried through on the block content scaffolds 2020-07-16 18:52:53 +10:00
Shannon 2af1feadfc adds error styling 2020-07-16 17:49:23 +10:00
Shannon b7e25eed21 Yay! gets it all working for the block editor, refactored counting form errors recursively to actually work and be readable, updates valPropertyMsg with all of the odd edge cases. 2020-07-16 17:31:46 +10:00
Shannon 1291545908 Fixes styling since umb-property is a component, fixes binding to the property validation path 2020-07-15 17:54:03 +10:00
Shannon b32d92ed07 Add valServerMatch which we now use to highlight block rows if they have errors. 2020-07-15 16:49:54 +10:00
Shannon f4d8d0e28e adds ability to match suffix, prefix and contains for the serverValidationManager + tests 2020-07-15 15:08:17 +10:00
Bjarne Fyrstenborg 463128734c Sort on y-axis in sort dialog (#8419) 2020-07-14 18:06:30 +02:00
Kenn Jacobsen 4b9edc63dd Fix folder uploads when existing image names clash with the uploaded folder name 2020-07-14 17:37:34 +02:00
Kenn Jacobsen 321bb12a83 Show custom label properties on members (#8346) 2020-07-14 17:15:58 +02:00
Bjarne Fyrstenborg da1a274dbf Grid config row and editor checkboxes (#8363) 2020-07-14 16:49:24 +02:00
Bjarne Fyrstenborg e66fd7b8e0 Adjust border radius of button in button group if having sub buttons 2020-07-14 16:46:23 +02:00
Bjarne Fyrstenborg 68ed7c908b Show SVG preview on upload (#8387) 2020-07-14 16:23:34 +02:00
Bjarne Fyrstenborg f02a16f094 Register dragover state of file upload 2020-07-14 15:55:10 +02:00
hkooiker 984214ea7b Member picker value converter (#8401) 2020-07-14 15:47:33 +02:00
Bjarne Fyrstenborg 2f7cf8cb0f Align group builder property actions to top 2020-07-14 15:16:28 +02:00
Bjarne Fyrstenborg 0d7741d211 Allow editor info to shrink for longer datatype names 2020-07-14 15:15:37 +02:00
Bjarne Fyrstenborg 6da85dd47d Remove unnecessary translation to removed variable 2020-07-14 15:04:31 +02:00
Gareth Evans 6fc8126076 #8412 Set ng-maxlength and maxlength attributes on the tag input in umb-tags-editor.html to avoid a string or binary data would be truncated error when the entered tag exceeds the database column length 2020-07-14 14:57:44 +02:00
Bjarne Fyrstenborg e6f264136c Adjust tooltip position inside overlay (#8416) 2020-07-14 14:56:25 +02:00
Bjarne Fyrstenborg 39da781dac Sort on y-axis in listview config layouts (#8422) 2020-07-14 14:48:29 +02:00
Bjarne Fyrstenborg c89fa6fe69 Listview columns grouping (#8423) 2020-07-14 14:02:06 +02:00
Bjarne Fyrstenborg 8c8c26bc9a Adjust target overlay position using hotkey (#8431) 2020-07-14 13:58:57 +02:00
Sebastiaan Janssen d347d36861 Don't run CodeQL on PRs for now 2020-07-14 13:48:46 +02:00
Marc Goodson fbd2a30606 Update 'default value' title + description of CheckBox Configuration (#8421) 2020-07-14 13:24:21 +02:00
Marc Goodson 6b5e19fcf2 Add the current culture to the cache key used for the CachedPartial Html Helper
when using variants it's unlikely to need the same Html.Partial to be cached across all language variations, if we always add the current culture name to the cache key, we ensure this doesn't accidentally happen, and when not using variants, no harm to have the culture for the single site included here
2020-07-14 13:22:52 +02:00
Shannon f759ab4d36 Fixes block list editor to correctly re-sync it's view model after persisting 2020-07-14 10:37:30 +01:00
Shannon 74ab1c0262 Updates serverValidationManager to have different matching options, fixes unit tests, now need to write tests for the Suffix match 2020-07-14 18:09:46 +10:00
Shannon 0b78b277e3 remove testing html 2020-07-14 16:43:30 +10:00
Shannon 1795153fad fixes exception handling in content editor 2020-07-14 16:42:10 +10:00
Shannon 551a5a82ce Ensures we don't display the complex json as notification 2020-07-14 15:23:09 +10:00
Shannon b37a4d151b removes console.log outputs 2020-07-14 13:44:59 +10:00
Shannon f9fdbc41ab removes notes from valPropertyMsg 2020-07-14 13:42:35 +10:00
Shannon 5296213bab fixes udi service infinite loop 2020-07-14 10:09:25 +10:00
Shannon 212dc7f0fa notes 2020-07-14 10:08:59 +10:00
Shannon 51c338f04b Fixes block list editor to correctly re-sync it's view model after persisting 2020-07-14 09:43:10 +10:00
Sebastiaan Janssen 9f9cd0e11e Trying to get CodeQL to run (#8415) 2020-07-13 17:22:27 +02:00
Shannon bbbb7a052b Getting close, adds tests, fixese the key being set on the block, gets errors clearing, now need to make the UI behave. 2020-07-10 18:06:11 +10:00
Sebastiaan Janssen 19ec14b53f Create codeql-analysis.yml
First stab at getting CodeQL analysis running
2020-07-10 08:57:41 +02:00
Sebastiaan Janssen 889c4b413d Dependabot got very confused, this updates the npm dependency 2020-07-10 08:44:08 +02:00
Shannon 00c83182e7 get validation path prefixes matching in serverValidationManager 2020-07-10 12:22:22 +10:00
Shannon bd3bc81b7c Gets validation paths generated and tested 2020-07-10 09:25:20 +10:00
Shannon 0722adba2f WIP - with lots of notes 2020-07-10 08:44:43 +10:00
Bjarne Fyrstenborg b6f6b1a438 Use umb-code-snippet component for insert field code snippet 2020-07-09 17:32:16 +02:00
Bjarne Fyrstenborg b8e23ac56f Use property editor width limit for slider property editor 2020-07-09 17:30:49 +02:00
Bjarne Fyrstenborg b67d56804c Ensure primary button style for save-button in content template create view 2020-07-09 17:29:02 +02:00
Jan Skovgaard fbbfb4f943 Fix checkbox and radio label alignment (#8253) 2020-07-09 17:28:08 +02:00
Dan Russell df7f250091 Update umbracoSettings.config
Restored EOF newline
2020-07-09 17:17:42 +02:00
Dan Russell d01027be50 Update modals.less
Replaced "0px" with unitless 0
2020-07-09 17:15:12 +02:00
Bjarne Fyrstenborg b5c099b15a Remove empty strings from repeatable textstrings whitespace (#8269) 2020-07-09 17:14:01 +02:00
Bjarne Fyrstenborg c019872eb4 Update nouislider dependency to latest version 2020-07-09 17:12:15 +02:00
Bjarne Fyrstenborg a2430929a5 Fix translations files including icon HTML (#8408) 2020-07-09 17:05:30 +02:00
Bjarne Fyrstenborg 4bc1800d48 Use overlayService for user overlay (#8047) 2020-07-09 16:58:59 +02:00
Bjarne Fyrstenborg 7b106ebefb Adjust example for overlay in umb-child-selector (#8045) 2020-07-09 16:48:27 +02:00
Bjarne Fyrstenborg 327d5ae7fb Adjust nested content overlay (#8044) 2020-07-09 16:04:43 +02:00
Shannon Deminick 892e3a43fc Merge pull request #8398 from umbraco/v8/bugfix/sqlmaindom-updates
Adjustments for SqlMainDomLock and others to make azure operations more resilient
2020-07-09 17:13:05 +10:00
Ismail Mayat ffb53109bc 8192 with integration test (#8403) 2020-07-09 09:13:05 +02:00
Shannon 191060f930 Merge branch 'v8/8.6' into v8/bugfix/sqlmaindom-updates 2020-07-09 16:33:44 +10:00
Shannon 0196e55c19 Cherry picks fix #7994 for #5151 2020-07-09 16:33:01 +10:00
Bjarke Berg f81a2635d1 Merge pull request #8386 from emmagarland/v8/feature/acceptancetests-cypress-backofficetour
Added initial Cypress test for BackOffice tour.
2020-07-09 07:53:18 +02:00
Shannon 15b903129e comments 2020-07-09 14:32:48 +10:00
Shannon 6dfb31f42b revert ssl port 2020-07-09 13:40:35 +10:00
Ismail Mayat 77a4b2af8b fix for 8192 make call to add missing bits to userdto (#8399) 2020-07-08 14:23:55 +01:00
Shannon df61f30393 refactors scheduled publishing logic - splits into 2x scopes/2x trans, only take a write lock when necessary 2020-07-08 18:16:12 +10:00
Shannon e1757178b9 Fixes our sql azure transient fault detection to be inline with current standards, adds a scope for the health check schedule tasks 2020-07-08 17:26:31 +10:00
Shannon 384531ea68 removes comments and no need for private method 2020-07-08 15:59:35 +10:00
Shannon f0dea44b4d Adds Load Test controller to test data project (instead of just being stored in my personal repo) 2020-07-08 15:47:26 +10:00
Shannon b80dc8f34b readability 2020-07-08 15:07:12 +10:00
Shannon 7590161858 comments 2020-07-08 14:54:26 +10:00
Shannon 7819d1acf5 comments 2020-07-08 14:53:53 +10:00
Shannon a947fa3121 comments 2020-07-08 14:51:35 +10:00
Shannon 651756d96a Ensure we don't shutdown MainDom if there is an error while listening, only shutdown if the appdomain is triggered to shutdown, else we'll keep listening/logging 2020-07-08 13:43:20 +10:00
Shannon 53db2df390 Fix for PerformScheduledPublishInternal, don't use yield returns within a using! this will not work and transactions/connections will be lost 2020-07-08 13:43:20 +10:00
Shannon 65101beaf6 transactions for sqlmaindom 2020-07-08 13:43:20 +10:00
Shannon 6aa49242f2 Don't try to reuse db instances, thsi can result in potential zombie transactions 2020-07-08 13:43:20 +10:00
Shannon a233264c8e Ensure index rebuilding doesn't short circuit if one of the populators fails 2020-07-08 13:43:20 +10:00
Shannon 8814875b95 fixes error logging 2020-07-08 13:43:20 +10:00
Ronald Barendse 872731f726 Update HasValue obsolete message 2020-07-07 23:30:34 +02:00
Bjarke Berg 1cca4b50aa Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-07-07 13:08:57 +02:00
Shannon f4e31e1dba Ensures valid/non valid errors are handled all the time with the serverValidationManager (need to write tests for that), tries to recursively clear property errors, thought that works it clears errors when there are other child nested errors, need to rethink some things. 2020-07-07 14:40:55 +10:00
Shannon 6004d7adaa seems to work with inline now 2020-07-07 13:03:54 +10:00
Shannon c4e7929e68 Converts umbProperty to a component, gets nested valPropertyMsg validators clearing (as a prototype), need to check TODOs, test inline editing, etc... 2020-07-07 12:50:15 +10:00
Nathan Woulfe d1bc742f9a Update variables.less
Merge pull request #8298 from dangrussell/patch-4
2020-07-07 08:41:30 +10:00
Emma Garland f5e4bef531 Added initial Cypress test for BackOffice tour. 2020-07-06 11:45:47 +01:00
Shannon 7a482a1a9f Merge remote-tracking branch 'origin/v8/8.7' into v8/feature/block-editor-list-validation 2020-07-06 20:31:35 +10:00
Nathan Woulfe 6db0dbe5c9 Merge pull request #8046 from bjarnef/v8/feature/ysod-overlay
Replace ysod umb-overlay using overlayService.ysod
2020-07-06 08:23:21 +10:00
Nathan Woulfe db69431894 Merge pull request #7980 from IK1235/v8/contrib
Admin czech translation
2020-07-06 08:20:40 +10:00
Nathan Woulfe b281f7f768 Merge pull request #7231 from soreng/patch-6
MEGA CHANGE GETS MEGA MERGE!
2020-07-06 08:16:42 +10:00
Warren Buckley 4e8feae35b Merge pull request #8381 from umbraco/v8/feature/block-list-more-solid
V8/feature/block list more solid
2020-07-03 12:50:12 +01:00
Niels Lyngsø 290bb23fec update data structure to fit with data structure RFC v3 2020-07-03 13:41:23 +02:00
Niels Lyngsø b017b3f1b6 improve test script 2020-07-03 12:22:23 +02:00
Niels Lyngsø 9f208a0ff1 improve existence, destroy and watchers 2020-07-03 12:22:14 +02:00
Sebastiaan Janssen 1f29778a23 Bump version to 8.6.4 2020-07-02 14:16:04 +02:00
Shannon b8d6ef64c7 Remove the usage of Parallel to run the populators
(cherry picked from commit b078f856b9)
2020-07-02 13:49:59 +02:00
Shannon b078f856b9 Remove the usage of Parallel to run the populators 2020-07-02 13:44:33 +02:00
Sebastiaan Janssen a88a5a0cae Merge pull request #7984 from umbraco/v8/bugfix/7967-sqlmaindom
Fixes #7967 - cannot start site with SqlMainDomLock  when db isn't configured

(cherry picked from commit cbfe643a79)
2020-07-02 10:38:10 +02:00
Sebastiaan Janssen de3d0e9f11 Merge pull request #7021 from stevemegson/v8/pr/member-cmsContentNu
OnMemberRefreshedEntity stores data as published rather than edited

(cherry picked from commit a9bb1ff49e)
2020-07-02 10:36:45 +02:00
Shannon 6c13fb3af3 Merge remote-tracking branch 'origin/v8/8.7' into v8/feature/block-editor-list-validation
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/labelblock/labelblock.editor.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/umbBlockListPropertyEditor.component.js
2020-07-02 15:29:13 +10:00
Shannon 9649b22e0d remvoes comments and unneeded code 2020-07-02 15:13:05 +10:00
Niels Lyngsø c74b03a1b6 check for object before prop 2020-07-01 20:10:28 +02:00
Niels Lyngsø f1c5e19124 no need for var twice 2020-07-01 20:10:08 +02:00
Warren Buckley d4898b58e0 Merge pull request #8368 from umbraco/v8/feature/block-list-hideContentinOverlay-v2
V8/feature/block list hide contentin overlay v2
2020-07-01 13:40:30 +01:00
Niels Lyngsø 69c2ab20ff correct behaviour 2020-07-01 11:45:45 +02:00
Niels Lyngsø 22aa76d6b1 remove unused line 2020-07-01 10:33:13 +02:00
Niels Lyngsø d2678135fe bail out if we dont have settings. 2020-07-01 10:32:20 +02:00
Niels Lyngsø 8f7194df36 remove line 2020-07-01 10:30:20 +02:00
Niels Lyngsø 5debb4a11b option to hide content editor in overlay 2020-07-01 10:28:02 +02:00
Claus f0efc7f0c0 Merge pull request #8366 from umbraco/v8/bugfix/improve-block-list-default-razor
Improve block list default razor view
2020-07-01 09:19:33 +02:00
Warren Buckley 5173a7b589 Remove try/catch block as it will make it hard for people to see what the issue when using the Razor view when building sites 2020-07-01 08:07:30 +01:00
Warren Buckley b31ffea429 Merge pull request #8358 from umbraco/v8/bugfix/8273-block-list-inline-doctype-creation
BlockEditor Fix - Parse on contentType key
2020-07-01 07:26:57 +01:00
Shannon a8a1bb2a55 manually merge in benj PR 2020-07-01 15:01:55 +10:00
Shannon 1b69620ffc Merge remote-tracking branch 'origin/v8/8.7' into v8/feature/block-editor-list-validation
# Conflicts:
#	src/Umbraco.Core/Models/Blocks/IBlockElement.cs
#	src/Umbraco.Tests/PropertyEditors/BlockListPropertyValueConverterTests.cs
#	src/Umbraco.Web.UI.Client/src/common/services/blockeditormodelobject.service.js
#	src/Umbraco.Web.UI.Client/src/common/services/udi.service.js
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/blockeditor/blockeditor.controller.js
#	src/Umbraco.Web.UI.Client/src/views/components/blockcard/umbBlockCard.component.js
#	src/Umbraco.Web.UI.Client/src/views/components/elementeditor/umb-element-editor-content.component.html
#	src/Umbraco.Web.UI.Client/src/views/components/elementeditor/umbelementeditorcontent.component.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklistentryeditors/labelblock/labelblock.editor.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/prevalue/blocklist.blockconfiguration.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/umb-block-list-block.component.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/umb-block-list-property-editor.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/umb-block-list-scoped-block.component.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/umbBlockListPropertyEditor.component.js
#	src/Umbraco.Web.UI/Views/Partials/BlockList/Default.cshtml
#	src/Umbraco.Web/PropertyEditors/BlockEditorPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/BlockListPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/ValueConverters/BlockEditorConverter.cs
#	src/Umbraco.Web/PropertyEditors/ValueConverters/BlockListPropertyValueConverter.cs
2020-07-01 14:52:29 +10:00
Shannon 086d7b6e23 ensures the udi structure works always for the validation key 2020-07-01 13:00:56 +10:00
Shannon 7c6cf3710b Gets the inherited property validation working from the server side. 2020-07-01 12:44:34 +10:00
Shannon 2fc6ed10fb Gets inherited property validation working but will switch this to server side 2020-07-01 12:10:12 +10:00
Niels Lyngsø e2b7043d3c check for $block.data, to verify that the blockObject is not in a destroyed state. 2020-06-30 15:59:06 +02:00
Niels Lyngsø 26fa38c536 use one-way binding 2020-06-30 15:45:20 +02:00
Bjarke Berg 402958c591 Updated Cypress to latest + Created tests for creating member and member group 2020-06-30 15:19:54 +02:00
Niels Lyngsø 38e8a93b28 parse on contentType key 2020-06-30 13:36:17 +02:00
Shannon Deminick df3dc32de6 Block Editor List (#8273)
* add style to create-option in itempicker + removing overflow hidden

* style adjustment

* clean up of html

* correct sentence to use the number 7

* correct overlays, so they can use size

* numberrange prevalue editor

* add confirmRemove overlay

* correcting primary btn colors

* move confirmMessage below content of overlay.

* min max validation for numberrange

* remove comment

* improved actions for block list

* use file tree for view picker

* style adjustment to border of creator item in item-picker

* vertical align

* clean up + validation limit range

* rename ElementTypes to Blocks

* implement block list editor

* renaming

* use Chrome Headless for unit tests

* test for blockEditorService

* safer code

* block list editor

* rename view to overlayView

* block editor work

* Revert "rename view to overlayView"

This reverts commit 5b910c178a.

* block editor implementation

* sync models

* block list editor copy paste feature

* order var declarations

* remove unused paste function

* block list editor better naming

* simpler label generation

* clean up

* compile config for test mode

* Chrome Debug for VS code

* promise test working

* space change

* another two tests

* more tests for block list editor

* provide key on blockModel for angularJS performance optimization

* syncronization from infinite editing layers

* use an isolated scope

* more tests

* fix C# test

* remove unused block watcher component

* clean css

* only show on hover or focus for block-actions

* clean up and prepare for implementing settings

* remove console

* Add ability to render block list editor using Grid style rendering extension

* Enable Block List Editor settings editing

* Add Stacked Content to Block List migration

* Block Editor: Clean-up, refactoring, one step closer being ready for Content-Apps

* changes naming to Submit, to avoid misunderstanding.

* use a common variable on the block model for isOpen, to be able to make Actions show when open.

* NotSupported property editor, to be used when an editor is not supported in the given context.

* remove unused controller

* Hide group header if only one group is presented

* rename notsupport property editor css class

* smaller header for property group

* hide description if no description is presented

* css adjustments

* Inline create button styling: Better spacing, darker blue color for Focus Outline, moving the plus icon to mouse position for better visual appearance.

* css correction

* Add references for picked items

* Revert commit 45e892f350 - Changes api to GetData

* Use the .Data propertry as opposed to GetData in this PartialView

* Fix block list test failures

* Just parsing layout as model for partial views.

* minor adjustments

* Remove DB migrations so that they can be reviewed as a block

* Add migrations for new block editor

* Update default rendering partial view

* Add error handling to default template

* Handle color picker data in stacked content

* BlockList PreValue Editor opens configurations as overlay

* translation for prevalue editor property group headlines

* blockcard corrections

* block list prevalue corrections

* revert agressive clean up

* Block Picker

* MaxPropertyWidth PreValue + Implementation

* Incorporate latest block list editor changes, update migration for changed configuration

* Change declared converter type

* Handle invalid data type references

* Remove code duplicated from PR #7957

* use ElementModel for the ContentModel of an ElementType. So we can use ElementTypeModel for the ModelDefinition aka. the Type.

* do still show itempicker for BlockConfiguration even though there is no ElementTypes to pick. This enables the option to create a new ElementType to be used.

* use the right wrapper, for correct spacing

* parse item

* correct fallback for label

* removed unused callback

* paste feature for block-picker

* localize block-picker tabs

* Slightly change for shadow on block-picker item hover

* Localization of BlockEditor Settings Tab

* localizationService

* only filter when more than 8 items available

* Add multiple blocks if hold down CTRL or SuperKey

* adds notes

* ability to add a scoped stylesheet for block view

* make scoped block draggable + style adjustments

* provide index for custom view

* rename contentModel to data + rename layoutModel to layout

* clean up

* more localization

* openSettings option for block editor

* minor changes for a better developer experience

* paste mistake corrected

* only manipulate content-content-app if its present

* make small overlays slightly bigger

* moved block list entry editor into block list editor folder

* limit labelinterpretator to only runs ones pr. edit. and lets make sure to have a label thought we dont have any properties.

* fixed inline views gulp watcher

* changed vm to a better controller instance name

* make watch for views work again.

* able to re run watch

* make js up to date

* fix white background of image-picker

* media-picker container class

* loading indication

* adjust unit tests to latest interface

* getting started on JS Docs

* converting code to use contentTypeKey instead of contentTypeAlias, still missing a few TODOs.

* revert change

* add todo

* use Guid for Key

* use key

* Updates the caching layer to handle GUID keys for content types while preserving backwards compat, fixes unit tests, removes the strongly typed lists for the block editor value since it's unecessary

* Reverts the nested content changes, fixes up the GetEmptyByKey

* Returns ContentTypeKey from the server, updates js to use this everywhere and fix all js tests.

* Allows key in SimpleContentType

* correct for the new spelling

* appended this. since the method is a non-static class method.

* only add background-image if value isnt null

* simplifyed limits validation

* clean up

* no need to execute a digest.

* define the full model for new configurations

* removed setDataFromBlockModel and general clean up and added documentation

* default size should be medium

* use retriveValuesFrom method to transfer data.

* ability to disable an navigation item

* createElementTypeAndCallback working again for settings.

* still have the ability to retrive a scaffold model by alias, since we are still using alias in clipboard service.

* disable clipboard tab if no available paste options

* ups, should stay as alias

* disable clipboard when empty

* use property alias for content add button

* use a grey that can be seen on top of grey and on top of white.

* some accessibility improvements

* rename entry to block

* appended ' and added space in Element Type

* use background color for hover to corospond with active state

* make nested content unsupported

* Moving BlockEditorModelObject into its own file for Documentation purpose. Same goes for renaming BlockModel to BlockObject. and a lot of documentation written.

* fix links in js docs

* added a blocklistentryeditor for unsupported blocks

* ability to retrive the $scope from UmbVariantContentEditors, needed for Block Editor to get a scope existing across variants and splitview.

* Appending the block objects to layout, to share it across variants and in split-view.

* removed trailing comma

* Unsupported block

* Dont copy unsupported blocks

* use grey color for unsupported block

* text correction

* we dont have this fallback anymore

* sort properties

* Text change

* css correction

* use active to determine if an inline editor is expanded. To enable the inline editor to be expanded on creation.

* using udi instead of key.

* bringing the runtime block key back

* live editing ability

* live editing for settings data

* call formSubmit before property editor are removed from DOM. Both for overlay-editing and inline-editing. Fire an postFormSubmitting event after formSubmitting event to let editors know that data could have been updated.

* make sure settings object exists

* only set active to false if it was false before opening the editor.

* update test with new scope parameter

* move destroy responsibility to blockObject

* rename onDestroy to destroy

* added some JS-Docs

* correction jsDocs

* Update ElementType Resource to not use hardcoded URL but to use the Umbraco.Sys.ServerVariables.umbracoUrls instead

* Remove partially completed ConvertToElement migration, fixed in issue 7939 instead.

* Remove external property editor migration

* corrected naming of umbBlockListScopedBlock and umbBlockListBlock

* correct ngdoc type

* removed vscode specific configuration of karma

* Finished Todo, gets name of documentType if copying all entities in an infinite editor

* changed comment from TODO to something that explains the state.

* stop tracking build output files.

* rename files to match file name conventions

* this should not happen.

* remove dublicated code

* rename requestCopyBlock to copyBlock

* make sure images does not repeat.

* scale thumbnail for block showcase

* renamed blockcard.component to umb-block-card and moved it.

* removed inline style

* correct style location

* corrected filepath

* corrected file path

* keep elementTypes up to date through the EventService.

* mark Umbraco.BlockList as unsupported inside Nested Content

* correct js docs name

* remove comment

* remove comment

* remove unused controller

* rename inline method name

* corrected spelling mistake

* remove not very used vars

* make binding one-way

* split in multiple lines

* corrected default rendering

* removing documentation that is relevant for developers of new block editors. this documentation will be transfered to Our documentation.

* added danish translation

* corrected blog to blok

* Remove invalid using statement

* use native forEach

Co-authored-by: Niels Lyngsø <nsl@umbraco.dk>
Co-authored-by: Benjamin Carleski <benjamin@proworks.com>
Co-authored-by: Warren Buckley <warren@umbraco.com>
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
Co-authored-by: Claus <claus@claus.nu>
2020-06-30 10:52:42 +01:00
Shannon 88700e9707 fixes name, refactors a lot of serverValidationManager so it's structure is maintainable, moves more logic there from directives so it can be tested more easily, finally got the first result working. 2020-06-30 19:12:21 +10:00
Shannon 459904ffdd Gets unique keys working per nested property 2020-06-30 10:49:31 +10:00
Shannon 8eb467affa New validation structure + tests working 2020-06-29 21:55:54 +10:00
Shannon 2af99c48d8 Merge remote-tracking branch 'origin/v8/feature/block-editor-list' into v8/feature/block-editor-list-validation
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/blockeditor/blockeditor.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/elementeditor/elementeditor.content.html
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/umb-block-list-block.component.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/umb-block-list-property-editor.html
2020-06-29 15:02:26 +10:00
Shannon 2df481332b commits wip to resume later. 2020-06-29 14:51:57 +10:00
Bjarke Berg 2ffb01530a Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
Signed-off-by: Bjarke Berg <mail@bergmania.dk>

# Conflicts:
#	src/Umbraco.Core/Models/PublishedContent/IndexedArrayItem.cs
#	src/Umbraco.Infrastructure/Models/Mapping/CommonMapper.cs
#	src/Umbraco.Web.UI/web.Template.Debug.config
#	src/Umbraco.Web/Compose/AuditEventsComponent.cs
#	src/Umbraco.Web/HtmlHelperRenderExtensions.cs
#	src/Umbraco.Web/HtmlStringUtilities.cs
#	src/Umbraco.Web/PublishedContentExtensions.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
2020-06-28 12:48:19 +02:00
Niels Lyngsø 7ceb965f1f split in multiple lines 2020-06-26 16:14:17 +02:00
Niels Lyngsø 7f3923d9b5 make binding one-way 2020-06-26 16:11:42 +02:00
Niels Lyngsø 0c7f8469d9 remove not very used vars 2020-06-26 16:06:10 +02:00
Niels Lyngsø cb98a4a82e corrected spelling mistake 2020-06-26 16:02:26 +02:00
Niels Lyngsø 9104570dcb rename inline method name 2020-06-26 15:32:02 +02:00
Niels Lyngsø f44e7280d4 remove unused controller 2020-06-26 15:29:45 +02:00
Niels Lyngsø 975fbbfa3f remove comment 2020-06-26 15:29:37 +02:00
Niels Lyngsø a46acaf16c remove comment 2020-06-26 15:24:33 +02:00
Niels Lyngsø 04fba15db1 correct js docs name 2020-06-26 15:22:48 +02:00
Niels Lyngsø 5313baf991 mark Umbraco.BlockList as unsupported inside Nested Content 2020-06-26 15:15:53 +02:00
Niels Lyngsø a84fc1cfa8 keep elementTypes up to date through the EventService. 2020-06-26 15:15:27 +02:00
Niels Lyngsø 26e30189ab corrected file path 2020-06-26 14:45:36 +02:00
Niels Lyngsø ba562378be corrected filepath 2020-06-26 14:44:48 +02:00
Niels Lyngsø 8c13313bf8 correct style location 2020-06-26 14:39:13 +02:00
Niels Lyngsø 4705d945e1 removed inline style 2020-06-26 14:16:25 +02:00
Niels Lyngsø 5cff45aa55 renamed blockcard.component to umb-block-card and moved it. 2020-06-26 13:56:51 +02:00
Niels Lyngsø 1113c50b83 scale thumbnail for block showcase 2020-06-26 13:54:17 +02:00
Niels Lyngsø 4f715f35ce make sure images does not repeat. 2020-06-26 13:51:49 +02:00
Niels Lyngsø ac6d14a93a rename requestCopyBlock to copyBlock 2020-06-26 13:45:01 +02:00
Niels Lyngsø 1a53a9c22d remove dublicated code 2020-06-26 13:19:25 +02:00
Niels Lyngsø 3ae3aefde0 this should not happen. 2020-06-26 12:28:58 +02:00
Niels Lyngsø df8fb169bd rename files to match file name conventions 2020-06-26 12:28:43 +02:00
Shannon 1c5b144cbb fixes issue with umbeditorcontentheader.directive which will throw an exception during validatino preventing all validation from working when working with invariant content (ouch) 2020-06-26 15:44:27 +10:00
Shannon e948879760 Starting to get somewhere, validation results are now being returned for nested items 2020-06-26 15:23:46 +10:00
Shannon 8acc6ed5b4 Fixes all the block editor deserialization processes 2020-06-26 15:02:02 +10:00
Shannon b8893968e5 Updates notes 2020-06-26 11:17:59 +10:00
Shannon 8ee9ac7e16 Merge remote-tracking branch 'origin/v8/feature/block-editor-list' into v8/feature/block-editor-list-validation
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditors.directive.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklist.component.html
2020-06-26 10:48:42 +10:00
Claus d950de7aa4 stop tracking build output files. 2020-06-26 01:11:01 +02:00
Niels Lyngsø 74b2561af4 changed comment from TODO to something that explains the state. 2020-06-25 22:29:54 +02:00
Niels Lyngsø 0d0f6227ca Finished Todo, gets name of documentType if copying all entities in an infinite editor 2020-06-25 22:10:42 +02:00
Niels Lyngsø 869c37051c removed vscode specific configuration of karma 2020-06-25 21:41:34 +02:00
Niels Lyngsø d6dfc934d1 correct ngdoc type 2020-06-25 21:38:23 +02:00
Niels Lyngsø b8afc9b7d1 corrected naming of umbBlockListScopedBlock and umbBlockListBlock 2020-06-25 21:35:18 +02:00
Shannon 79bf359fa0 Gets property json paths working in complex editors, next lets see if we can make it work for validation. 2020-06-26 00:13:21 +10:00
Bjarke Berg 76d568de12 Merge pull request #8134 from umbraco/bug/use-sql-main-dom-lock-when-linux
Use sql main dom lock as default if linux
2020-06-25 11:39:33 +02:00
Bjarke Berg ba38055ee9 Merge branch 'netcore/dev' into bug/use-sql-main-dom-lock-when-linux 2020-06-25 11:39:11 +02:00
Warren Buckley c53ea9382f Update ElementType Resource to not use hardcoded URL but to use the Umbraco.Sys.ServerVariables.umbracoUrls instead 2020-06-24 11:21:24 +01:00
Warren Buckley cb7f4a964c Merge branch 'v8/8.7' into v8/feature/block-editor-list 2020-06-24 10:22:52 +01:00
Niels Lyngsø 6f1ea3eb45 correction jsDocs 2020-06-24 11:10:40 +02:00
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
Niels Lyngsø 79e5ccb8d8 no message 2020-06-24 09:16:48 +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
Shannon 020835390d Merge remote-tracking branch 'origin/v8/feature/block-editor-list' into v8/feature/block-editor-list-validation
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/blocklist/blocklist.component.html
2020-06-24 11:56:43 +10:00
Shannon b99c170f86 adding umbNestedProperty to build up a json path for a targeted nested property type. 2020-06-24 11:51:48 +10:00
Shannon 29aaabcc6e Gets the c# side of things working for complex validation for complex editors 2020-06-24 10:20:25 +10:00
Niels Lyngsø 90b4d89c1a added some JS-Docs 2020-06-23 20:46:15 +02:00
Niels Lyngsø 58ee8da948 rename onDestroy to destroy 2020-06-23 20:42:28 +02:00
Niels Lyngsø 67a9a3f807 move destroy responsibility to blockObject 2020-06-23 20:42:14 +02:00
Kenn Jacobsen 90a9ce4c5d Fix a few localizatoin glitches in the listview "Order by" selector 2020-06-23 18:43:43 +02:00
Kenn Jacobsen b28bb9bb94 Listview "Order by" should not contain removed properties 2020-06-23 18:38:41 +02:00
Kenn Jacobsen fe12f35d79 Parse complex RTE styles rules correctly 2020-06-23 18:37:23 +02:00
Jan Skovgaard d539fdf4f6 Add backdrop when menu items are opened (#8121) 2020-06-23 18:36:09 +02:00
Kenn Jacobsen b38cf41752 Add a bit of spacing in infinite listview editing 2020-06-23 18:34:03 +02:00
Kenn Jacobsen a7b0a75e5d Ensure that "sort" is available as "order by" for new listviews 2020-06-23 18:32:27 +02:00
BatJan dc7277771c Improve accessibility and UX 2020-06-23 18:30:11 +02:00
Jan Skovgaard 4b673815a1 Umb-editor directive: Fix semantics (#8160) 2020-06-23 18:27:00 +02:00
Kenn Jacobsen b55fdd60e5 Update listviews after sorting children 2020-06-23 18:18:50 +02:00
BatJan dc5d418477 Fix semantics and accessibility issues 2020-06-23 18:14:56 +02:00
Jan Skovgaard a70f95b4e5 Sort dialog: Accessibility optimizations (#8156) 2020-06-23 18:12:24 +02:00
Kenn Jacobsen 9723c81d27 Use element type description as tooltip in the Nested Content "Add content" dialog 2020-06-23 18:08:42 +02:00
Jan Skovgaard 6c2bc3ca37 Accessibility improvement: umb-context-menu (#8155) 2020-06-23 18:07:09 +02:00
Callum Whyte e96d2a30cc Removing legacy Examine.Config references from web.config template 2020-06-23 17:57:13 +02:00
BatJan 4aef0d0997 Add missing foucs style 2020-06-23 17:38:39 +02:00
BatJan 75ae5e69e0 Change binding type 2020-06-23 17:37:21 +02:00
Søren Kottal 66a75dbc1e adds row immediately if only one layout is allowed 2020-06-23 17:35:53 +02:00
Kenn Jacobsen 7b0468fb39 Prevent property previews from having focus 2020-06-23 17:32:50 +02:00
Kenn Jacobsen 5ce9a3e74f Reload property preview when changing property type 2020-06-23 17:31:30 +02:00
Bjarne Fyrstenborg e19f375c84 Update slider to handle merging of overlapping tooltips (#8074) 2020-06-23 17:24:01 +02:00
Bjarne Fyrstenborg 69cfcc568c Add aria-hidden to icons in url lists (#8079) 2020-06-23 17:22:53 +02:00
Niels Lyngsø bf12009b40 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list
# Conflicts:
#	src/Umbraco.Web.UI.Client/test/config/karma.conf.js
2020-06-23 14:57:39 +02:00
Niels Lyngsø eeea641009 update test with new scope parameter 2020-06-23 14:56:01 +02:00
Niels Lyngsø 01199ce88b only set active to false if it was false before opening the editor. 2020-06-23 14:41:43 +02:00
Niels Lyngsø 2db5496dd6 make sure settings object exists 2020-06-23 14:41:20 +02:00
Niels Lyngsø 42b15a958d call formSubmit before property editor are removed from DOM. Both for overlay-editing and inline-editing. Fire an postFormSubmitting event after formSubmitting event to let editors know that data could have been updated. 2020-06-23 13:29:18 +02:00
Bjarne Fyrstenborg 611e7d3f69 Media picker folder create loader (#8306)
* Format document

* Use umb-loader component instead since this wrap the loader so it doesn't cause overflow on animation

Co-authored-by: Bjarne Fyrstenborg <bf@oerskov-gruppen.lan>
2020-06-23 13:17:56 +02:00
Sebastiaan Janssen 5cb5604224 Update to the latest jQuery 2020-06-23 11:55:54 +02:00
dependabot[bot] 7210cf45d2 Bump angular from 1.7.9 to 1.8.0 in /src/Umbraco.Web.UI.Client (#8312)
Bumps [angular](https://github.com/angular/angular.js) from 1.7.9 to 1.8.0.
- [Release notes](https://github.com/angular/angular.js/releases)
- [Changelog](https://github.com/angular/angular.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/angular/angular.js/compare/v1.7.9...v1.8.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-23 11:08:19 +02:00
Shannon 80bbfaf7be Finally, making some sense out of all this craziness 2020-06-23 13:34:19 +10:00
Niels Lyngsø 57e6f07ddf live editing for settings data 2020-06-22 16:55:14 +02:00
Shannon 5128084511 Getting a little further, the test output is actually correct! so now we can start tweaking it the way we want and cleaning up a bit of code. 2020-06-23 00:27:01 +10:00
Niels Lyngsø 218b8c4069 live editing ability 2020-06-22 14:34:46 +02:00
Anders Bjerner 94dc4c70bb Merge pull request #8309 from richarth/patch-1
Spelling correction
2020-06-20 21:38:53 +02:00
Anders Bjerner 3b72c3de1f Merge pull request #8307 from bjarnef/v8/feature/macro-partial-view-button
Use button element for add-button in macro partial view
2020-06-20 21:03:59 +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
Niels Lyngsø ef1d4cdb7d bringing the runtime block key back 2020-06-19 15:08:18 +02:00
Ronald Barendse 0886ada39c Properly HTML encode text in helper methods (#6545) 2020-06-19 11:41:16 +02:00
Bjarke Berg 2fc55ae48a Merge pull request #8313 from umbraco/v8/bugfix/0000-fix-karma-tests
fix of npm run unit, plus begin able to test code that uses promises.
2020-06-19 11:07:54 +02:00
Niels Lyngsø 3781182363 fix of npm run unit, plus begin able to test code that uses promises. 2020-06-19 09:41:19 +02:00
Niels Lyngsø edf84ca7d7 using udi instead of key. 2020-06-19 09:15:04 +02:00
Bjarke Berg 6d30f31134 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-06-18 14:41:40 +02:00
Niels Lyngsø f71daf72d9 use active to determine if an inline editor is expanded. To enable the inline editor to be expanded on creation. 2020-06-18 12:31:14 +02:00
Niels Lyngsø 932c6a6cc5 css correction 2020-06-18 12:21:04 +02:00
Richard Thompson 2fd4512d3a Spelling correction
Fixed a typo.
2020-06-18 10:55:01 +01:00
Sebastiaan Janssen 3b2d87950c Fix replacement of baseurl in UI docs 2020-06-18 11:28:31 +02:00
Sebastiaan Janssen 95cb7e72d1 Clarify some property meanings on IContent 2020-06-18 11:21:03 +02:00
Niels Lyngsø d49265f3ba removed preinstall fix. 2020-06-18 09:23:57 +02:00
Niels Lyngsø 9f566f8d70 Text change 2020-06-18 09:20:56 +02:00
Warren Buckley c99798ac1b Allows unpublished content to render a macro HTML in the RTE
(cherry picked from commit 3680f22321)
2020-06-18 09:17:00 +02:00
Niels Lyngsø 1aca60e9c7 sort properties 2020-06-18 09:00:47 +02:00
Niels Lyngsø 685d1047fa we dont have this fallback anymore 2020-06-18 09:00:39 +02:00
Niels Lyngsø 73f066ec92 text correction 2020-06-18 09:00:26 +02:00
Bjarne Fyrstenborg 4f70f0e8c5 Use button element for add-button in macro partial view 2020-06-18 00:07:26 +02:00
Sebastiaan Janssen f0f92db3dc First compile all the gulp things before trying to make the docs 2020-06-17 18:02:23 +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
Warren Buckley c52649883b Merge pull request #8304 from umbraco/v8/feature/improve-js-docs
Improve jsDocs
2020-06-17 13:42:42 +00:00
Niels Lyngsø 03f3c4f768 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list 2020-06-17 15:42:21 +02:00
Niels Lyngsø 4ddd1a91ed make reload work 2020-06-17 15:41:08 +02:00
Niels Lyngsø a132e12ff9 Merge remote-tracking branch 'origin/v8/feature/improve-js-docs' into v8/feature/block-editor-list 2020-06-17 15:33:29 +02:00
Niels Lyngsø 25488d2016 add watch functionallity 2020-06-17 15:32:54 +02:00
Niels Lyngsø e0ae0c084b use grey color for unsupported block 2020-06-17 15:31:59 +02:00
Niels Lyngsø e6e6d94b78 Dont copy unsupported blocks 2020-06-17 15:31:46 +02:00
Warren Buckley 247fbb0950 Merge branch 'v8/dev' of https://github.com/umbraco/Umbraco-CMS into v8/dev 2020-06-17 13:38:47 +01:00
Warren Buckley d4c464c123 Remove duplicate comment
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbtour.directive.js
2020-06-17 13:38:24 +01:00
Warren Buckley d7cd52161f Fix SkipStep in tour directive was looking at wrong DOM selector it needs to be skipStepIfVisible 2020-06-17 13:37:40 +01:00
Warren Buckley f716754253 Remove duplicate comment 2020-06-17 12:50:31 +01:00
Warren Buckley ac394619fc Fix SkipStep in tour directive was looking at wrong DOM selector it needs to be skipStepIfVisible 2020-06-17 12:46:11 +01:00
Bjarne Fyrstenborg fe90f98515 Add id attribute so click on property label focus in input (#8078)
Co-authored-by: Bjarne Fyrstenborg <bf@oerskov-gruppen.lan>
2020-06-17 12:56:41 +02:00
Warren Buckley 950d64ff17 Revert changes made to tour from 8.7 due to UX changes 2020-06-17 11:49:20 +01:00
Niels Lyngsø 84fd099c3a Merge remote-tracking branch 'origin/v8/feature/improve-js-docs' into v8/feature/block-editor-list 2020-06-17 12:10:09 +02:00
Niels Lyngsø 0f6ff01e98 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list 2020-06-17 12:09:58 +02:00
Niels Lyngsø 0836118d54 force-resolutions and be able to run server including watching files for changes. 2020-06-17 12:07:15 +02:00
Niels Lyngsø 0121e3fde3 Unsupported block 2020-06-17 11:53:55 +02:00
Warren Buckley 96ab448e74 Azure DevOps YML pipeline for creating C# & JS Docs (#8282) 2020-06-17 11:47:53 +02:00
Warren Buckley 6a8ceb7af9 Set Version to 8.6.3
.\build SetUmbracoVersion 8.6.3
2020-06-17 09:07:17 +01:00
Niels Lyngsø 6cfb710925 removed trailing comma 2020-06-17 10:06:39 +02:00
Warren Buckley addd56f30d Adds skipStepIfVisible property to JSON Tour Steps to allow skipping if DOM item is present (#8235)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbtour.directive.js
2020-06-17 08:53:58 +01:00
Dan Russell 78cba26afe Update variables.less
Replace "0px" with unitless 0
2020-06-16 10:12:22 -04:00
Niels Lyngsø ec48b39907 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list 2020-06-16 15:16:50 +02:00
Warren Buckley 797e666e81 Merge pull request #8257 from umbraco/v8/feature/8256_Raise_an_event_when_deleting_a_document_type_to_its_dependents
If content type is deleted and other document types have a reference to it, raise an event
2020-06-16 13:13:11 +00:00
Niels Lyngsø 53968202a0 Appending the block objects to layout, to share it across variants and in split-view. 2020-06-16 14:38:49 +02:00
Niels Lyngsø 87059a9f95 ability to retrive the $scope from UmbVariantContentEditors, needed for Block Editor to get a scope existing across variants and splitview. 2020-06-16 14:37:19 +02:00
Niels Lyngsø 8c428622d1 added a blocklistentryeditor for unsupported blocks 2020-06-16 14:36:14 +02:00
Marc Goodson 57d08c964a Broadcast 'formSubmitting' event when Macro Parameter Overlay is submitted
Some property editors - eg MultiUrlPicker listen out for the broadcast of the 'formSubmitting' event before setting their value of $scope.model.value... if these editors are used as Macro Parameters they do not save their value. This commit adds the broadcasting of the event when the 'submit' button is called and any parameters have been set.
2020-06-16 14:15:09 +02:00
Niels Lyngsø d2b329cdb5 fix links in js docs 2020-06-16 09:36:19 +02:00
Niels Lyngsø bfa07377b4 Moving BlockEditorModelObject into its own file for Documentation purpose. Same goes for renaming BlockModel to BlockObject. and a lot of documentation written. 2020-06-15 22:27:56 +02:00
Shannon 48d4706011 notes 2020-06-16 00:08:33 +10:00
Shannon 19a114ac2b fix build 2020-06-15 23:22:29 +10:00
Shannon 32e3ebb6fb Centralizes logic to validate complex editors, starts transitioning to new JSON error messages for complex editors, starts adding tests 2020-06-15 23:05:32 +10:00
Bjarke Berg 751a54f525 Merge pull request #8290 from umbraco/v8/bug/doctype-import
Importing a doctype leaves behind temp files
2020-06-15 13:30:09 +02:00
Niels Lyngsø 27b539b8c8 make nested content unsupported 2020-06-15 12:12:32 +02:00
Niels Lyngsø 9944cce4d9 use background color for hover to corospond with active state 2020-06-15 12:12:09 +02:00
Bjarne Fyrstenborg 35751e257f Ensure SVG image is shown in preview (#8007)
Co-authored-by: Bjarne Fyrstenborg <bf@oerskov-gruppen.lan>
2020-06-15 11:48:22 +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
Niels Lyngsø b0b5d2ff78 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list 2020-06-15 11:05:00 +02:00
Niels Lyngsø ed9d4d6662 appended ' and added space in Element Type 2020-06-15 10:58:05 +02:00
Niels Lyngsø 6aa21d8c83 rename entry to block 2020-06-15 10:29:09 +02:00
Niels Lyngsø 16736e7492 some accessibility improvements 2020-06-15 10:10:43 +02:00
Bjarne Fyrstenborg fda7251aed Upload media and select media type (#8043) 2020-06-12 16:01:19 +02:00
Sebastiaan Janssen 9be4775acf Make sure to use the new Utilities class 2020-06-12 15:46:06 +02:00
Bjarne Fyrstenborg c4456c53a0 v8: Fix disappearing image cropper and grid content when using rollback (#5792) 2020-06-12 15:37:05 +02:00
Niels Lyngsø 21a1c0a65c use a grey that can be seen on top of grey and on top of white. 2020-06-12 14:17:02 +02:00
Niels Lyngsø e1f3eb6f00 use property alias for content add button 2020-06-12 14:12:13 +02:00
Niels Lyngsø 6d8d79531d disable clipboard when empty 2020-06-12 14:01:13 +02:00
Niels Lyngsø 60fc66797e ups, should stay as alias 2020-06-12 13:58:58 +02:00
Niels Lyngsø 5870426af9 disable clipboard tab if no available paste options 2020-06-12 13:56:35 +02:00
Niels Lyngsø cbca5bd9e6 still have the ability to retrive a scaffold model by alias, since we are still using alias in clipboard service. 2020-06-12 13:56:14 +02:00
Niels Lyngsø 80dfea8743 createElementTypeAndCallback working again for settings. 2020-06-12 13:55:21 +02:00
Niels Lyngsø 86c1abdbf7 ability to disable an navigation item 2020-06-12 13:54:47 +02:00
Niels Lyngsø 5ad47aa641 use retriveValuesFrom method to transfer data. 2020-06-12 13:35:05 +02:00
Niels Lyngsø 6af8a53208 default size should be medium 2020-06-12 13:12:42 +02:00
Niels Lyngsø 0b9ad918c3 removed setDataFromBlockModel and general clean up and added documentation 2020-06-12 13:12:21 +02:00
Niels Lyngsø 80e12d9af3 define the full model for new configurations 2020-06-12 12:21:50 +02:00
Niels Lyngsø c809c5ae57 no need to execute a digest. 2020-06-12 12:21:27 +02:00
Niels Lyngsø e8ccfecf1a clean up 2020-06-12 12:04:01 +02:00
Niels Lyngsø 7aea02bcb9 simplifyed limits validation 2020-06-12 11:31:20 +02:00
Bjarke Berg 82022240f3 Merge pull request #8277 from electricsheep/feature/netcore-unit-tests
Migrate unit tests to new test project
2020-06-12 06:42:24 +02:00
Niels Lyngsø d9e683ed29 only add background-image if value isnt null 2020-06-11 20:48:15 +02:00
Niels Lyngsø 67c7c1674f appended this. since the method is a non-static class method. 2020-06-11 20:31:18 +02:00
Niels Lyngsø 963feadf51 correct for the new spelling 2020-06-11 20:30:34 +02:00
Bjarne Fyrstenborg 349a46c311 Adjust property editor settings (#8251)
Co-authored-by: Bjarne Fyrstenborg <bf@oerskov-gruppen.lan>
2020-06-11 19:14:46 +02:00
Ollie Philpott 5d5c7ba95e Move XmlExtensionsTests 2020-06-11 15:13:35 +01:00
Ollie Philpott 7aadae68d8 Move VersionExtensionTests 2020-06-11 14:59:14 +01:00
Ollie Philpott 663adc1db7 Move HexEncoderTests 2020-06-11 14:56:24 +01:00
Ollie Philpott 449bf55060 Move GuidUtilsTests 2020-06-11 14:54:19 +01:00
Ollie Philpott 299a461afb Move EnumExtensionsTests 2020-06-11 14:50:10 +01:00
Ollie Philpott cb3a5d6b97 Move EnumerableExtensionsTests 2020-06-11 14:48:57 +01:00
Ollie Philpott 958b4f431e Move DelegateExtensionsTests 2020-06-11 14:47:08 +01:00
Ollie Philpott 3da8fd4a98 Move AttemptTests 2020-06-11 14:41:48 +01:00
Ollie Philpott 06a1671f95 Move ClaimsIdentityExtensionsTests 2020-06-11 14:39:45 +01:00
Ollie Philpott eabf6f459b Move TestClone class 2020-06-11 14:39:10 +01:00
Bjarke Berg d77c3dc8dd Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-06-11 15:16:39 +02:00
Claus 03d1b7445e Fix radio button checked appearance
(cherry picked from commit ae993519ce)
2020-06-11 15:08:17 +02:00
Claus 8622ff344c Merge pull request #8268 from kjac/v8/fix/remove-radio-button-background
Fix radio button checked appearance
2020-06-11 15:06:13 +02:00
Ollie Philpott 9914d6037e Merge branch 'netcore/dev' of https://github.com/electricsheep/Umbraco-CMS into feature/netcore-unit-tests 2020-06-11 14:01:45 +01:00
Shannon ba43a43483 Allows key in SimpleContentType 2020-06-11 18:08:36 +10:00
Shannon Deminick fec8f1beb7 Merge pull request #8214 from umbraco/v8/bugfix/8199-missing-nc-tests
oops, adds missing tests for NestedContentPropertyComponent
2020-06-11 17:46:59 +10:00
Shannon 12755e5db6 Returns ContentTypeKey from the server, updates js to use this everywhere and fix all js tests. 2020-06-11 17:16:43 +10:00
Ronald Barendse 249b3b8609 Update XML documentation 2020-06-11 00:49:59 +02:00
Ronald Barendse eac6351c3f Simplified value check using type pattern matching 2020-06-11 00:49:44 +02:00
Ronald Barendse c3e58df3b5 Obsolete HasValue method 2020-06-11 00:45:12 +02:00
Ronald Barendse 1d6849c578 Return null in IsValue for PropertyValueLevel.Inter and Object 2020-06-11 00:38:51 +02:00
Kenn Jacobsen ae993519ce Fix radio button checked appearance 2020-06-10 21:14:07 +02:00
Warren Buckley 7807ded479 Adds in missing tests for a complex editor such as the grid storing a NC value along with replacing only missing keys 2020-06-10 16:33:51 +01:00
Rachel Breeze 1347b973f1 V8/tmplogin (#8203) 2020-06-10 17:20:44 +02:00
Warren Buckley 3680f22321 Allows unpublished content to render a macro HTML in the RTE 2020-06-10 14:33:32 +01:00
Shannon 1522260111 Reverts the nested content changes, fixes up the GetEmptyByKey 2020-06-10 18:09:54 +10:00
Shannon a5adb322f1 Updates the caching layer to handle GUID keys for content types while preserving backwards compat, fixes unit tests, removes the strongly typed lists for the block editor value since it's unecessary 2020-06-10 16:12:00 +10:00
Claus 32a30aad97 Fix glitch in umb-checkbox background 2020-06-09 14:29:56 +02:00
Claus c4e465ce1f Merge pull request #8175 from kjac/v8/fix/checkbox-background-glitch
Fix glitch in umb-checkbox background
2020-06-09 14:26:27 +02:00
Claus 5a6462f197 Merge pull request #8226 from umbraco/v8/bug/8223
Fix nested content clipboard
2020-06-09 14:12:08 +02:00
Thomas Andresen a06952c65f If content type is deleted/changed which other document types has a reference to, fire a change event for those 2020-06-09 09:36:12 +02: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
Warren Buckley 29f0ba0b37 Merge pull request #5466 from umbraco/v8/api-docs-update
Api documentation functions update
2020-06-08 13:59:42 +00:00
Kenn Jacobsen 4266e2b1d1 Fix "Edit: undefined" in content editor title 2020-06-08 09:20:06 +02:00
Bjarke Berg 58d7fc1817 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/gulp/tasks/watchTask.js
2020-06-05 08:05:50 +02:00
Niels Lyngsø aa447bc704 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list 2020-06-04 15:09:48 +02:00
Niels Lyngsø c9b67d12d4 use key 2020-06-04 14:06:19 +02:00
Niels Lyngsø 4ffc69b7f5 use Guid for Key 2020-06-04 11:32:44 +02:00
Niels Lyngsø 7077b5111e add todo 2020-06-04 11:19:57 +02:00
Niels Lyngsø 0b71c10fdc revert change 2020-06-04 11:16:18 +02:00
Niels Lyngsø b81f0b3eb6 converting code to use contentTypeKey instead of contentTypeAlias, still missing a few TODOs. 2020-06-04 11:05:21 +02:00
Niels Lyngsø 5466647ea8 getting started on JS Docs 2020-06-03 10:47:47 +02:00
Sebastiaan Janssen 18157aea32 Fixes #8233
Nested content clipboard broken after upgrade to Umbraco 8.6.2
2020-06-03 08:47:46 +02:00
Niels Lyngsø 4a1a883314 adjust unit tests to latest interface 2020-06-02 14:05:07 +02:00
Claus c22f6f51d1 Merge pull request #8218 from umbraco/v8/bugfix/clipboard-typofix
Fix up typo for clipboardService.registrerClearPropertyResolver & mark incorrect as deprecated
2020-06-02 13:28:58 +02:00
Richard Ockerby 8af1e2bcf3 If httpContext.GetCurrentRequestIpAddress is called with a spoofed HTTP context then IP returns null 2020-06-02 11:52:17 +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 4d497053a3 Fix up typos & mark incorrect as deprecated 2020-06-02 09:08:43 +01:00
Niels Lyngsø 825e3eff97 loading indication 2020-06-02 10:05:08 +02:00
Niels Lyngsø 61c0e42e57 media-picker container class 2020-06-02 10:05:00 +02:00
Niels Lyngsø f157fe56f1 fix white background of image-picker 2020-06-02 10:04:39 +02:00
Niels Lyngsø 31c9afac76 make js up to date 2020-06-02 09:38:00 +02:00
Shannon 16d646c941 oops, adds missing tests for NestedContentPropertyComponent 2020-06-01 13:57:34 +10:00
Lee Kelleher 717bbf1e2e umb-notifications.html - refactored switch logic (#8207)
* umb-notifications.html - refactored switch logic

I couldn't get the `url` property to render, so I've swapped out
the `ng-switch` statement with a couple of `ng-if` conditions.

* umb-notifications.html - changed quotes from single to double

For consistency.
2020-05-30 22:02:26 +02:00
Warren Buckley 1fe7de0b5f Merge pull request #7166 from umbraco/v8/feature/7133-do-not-paste-keys-in-nested-content
Cherry picked from SHA 49c438b55f

NC keys: Do not copy keys for Nested Content (Fix for #7133)
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/nestedcontent/nestedcontent.controller.js
2020-05-29 17:03:39 +01: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
Warren Buckley 9713da5e92 Merge pull request #8177 from umbraco/v8/bugfix/nested-content-keys
Adds in NC Property Component to deal with keys that were duplicated
2020-05-29 14:45:34 +00:00
rbottema f7cbac30b1 Fix HTML markup of umb-list-view-settings.html
I've noticed this file was missing a closing div tag, so I added it.
2020-05-29 14:43:23 +02:00
rbottema c23b813036 Fix HTML markup of includeproperties.prevalues.html
I've noticed this span was missing a closing >, so I added it.
2020-05-29 14:42:20 +02:00
Jan Skovgaard 74a4d76983 umb-lightbox improvements (#8191) 2020-05-29 14:41:20 +02:00
BatJan 208df92fe0 Hide icons and add missing screen reader friendly texts 2020-05-29 14:40:18 +02: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
Niels Lyngsø 180b858ff5 V8/bugfix/gulp update inline views on watch (#8200) 2020-05-29 14:09:20 +02:00
Bjarke Berg dca04b3dd7 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
#	src/Umbraco.PublishedCache.NuCache/PublishedSnapshotService.cs
#	src/Umbraco.Web.UI.Client/src/views/users/user.controller.js
#	src/Umbraco.Web/Models/Trees/MenuItemList.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
#	src/Umbraco.Web/Trees/RelationTypeTreeController.cs
#	src/Umbraco.Web/UmbracoApplication.cs
2020-05-29 12:59:42 +02:00
Niels Lyngsø 846cf249f6 Merge remote-tracking branch 'origin/v8/bugfix/gulp-update-inline-views-on-watch' into v8/feature/block-editor-list 2020-05-29 11:31:38 +02:00
Niels Lyngsø 48ad161d51 able to re run watch 2020-05-29 11:31:10 +02:00
Niels Lyngsø 18c7bc7185 Merge branch 'v8/bugfix/gulp-update-inline-views-on-watch' into v8/feature/block-editor-list
# Conflicts:
#	src/Umbraco.Web.UI.Client/gulp/config.js
2020-05-29 11:23:34 +02:00
Niels Lyngsø ade4502533 make watch for views work again. 2020-05-29 11:23:02 +02:00
Niels Lyngsø ce44cc034c Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
2020-05-29 11:04:13 +02:00
Niels Lyngsø 1126a2d699 changed vm to a better controller instance name 2020-05-29 11:00:28 +02:00
Niels Lyngsø cb9f614446 fixed inline views gulp watcher 2020-05-29 10:59:33 +02:00
Niels Lyngsø b6dfee3a91 limit labelinterpretator to only runs ones pr. edit. and lets make sure to have a label thought we dont have any properties. 2020-05-29 10:31:30 +02:00
Niels Lyngsø 924c1651f1 moved block list entry editor into block list editor folder 2020-05-29 10:30:50 +02:00
Warren Buckley b1d0cbf1d0 Remove the CSProj reference to missing test file in repo - until we get a chance to add it back in #8199 2020-05-29 09:30:34 +01:00
Niels Lyngsø 93aba40d4f make small overlays slightly bigger 2020-05-29 09:59:34 +02:00
Niels Lyngsø fa23082402 only manipulate content-content-app if its present 2020-05-29 09:59:17 +02:00
Sebastiaan Janssen 71fbf2769a Merge branch 'v8/dev' into v8/contrib 2020-05-29 09:03:35 +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
Niels Lyngsø b5481f91db paste mistake corrected 2020-05-28 15:29:22 +02: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
Niels Lyngsø b630537327 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list
# Conflicts:
#	src/Umbraco.Web.UI.Client/package-lock.json
2020-05-28 11:36:56 +02:00
Claus ff30a27697 adding missing nullchecks. 2020-05-28 08:41:32 +02:00
Warren Buckley 9df6a8bd6a Bugfix: Adds new confirmation email marketing step (#8091) 2020-05-27 16:59:15 +02:00
Sebastiaan Janssen b90ed4c362 Bump version to 8.6.2 2020-05-27 15:50:46 +02:00
Enkel Media 2b4968119e Fixes #8004 umbnodepreview setting contentType alias to null (#8109)
(cherry picked from commit f2ad7bb631)
2020-05-27 14:40:53 +02:00
Enkel Media f2ad7bb631 Fixes #8004 umbnodepreview setting contentType alias to null (#8109) 2020-05-27 14:39:03 +02:00
Warren Buckley 16a8a08df9 Merge remote-tracking branch 'origin/v8/feature/7133-do-not-paste-keys-in-nested-content' into v8/bugfix/nested-content-keys 2020-05-27 10:41:39 +01:00
Niels Lyngsø 23fb9a2b58 inject LocalStorageModel 2020-05-27 11:14:30 +02:00
Shannon 9f2c1cd3e6 when we rebuild indexes in the back office we are actually calling index.CreateIndex() 2 times before populating
(cherry picked from commit d7469e6576)
2020-05-27 10:14:03 +02:00
Jeavon Leopold b2c2e86971 Add GetMainDom method to UmbracoApplication so GetRuntime can be overridden
(cherry picked from commit c3f59602c2)
2020-05-27 10:11:44 +02:00
BatJan 30900c59ae Add disable-dirty-check option 2020-05-26 18:18:31 +02:00
BatJan 62b0886afe Fix label alignment 2020-05-26 18:17:01 +02:00
Jan Skovgaard 14ad2bd27c Convert span to button, add missing label, hide icons for screen readers (#8011) 2020-05-26 18:15:18 +02:00
Jan Skovgaard 19f16c3b1f Theme backoffice docs for v8 to clearly differentiate it from the v7 docs (#8010) 2020-05-26 18:02:21 +02:00
Jan Skovgaard cc04a1c8fe Content templates dashboard: Add translations and move styles external (#6888) 2020-05-26 18:01:17 +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
Rachel Breeze 6da69f1e42 V8: Accessibility changes for login screen (#5800) 2020-05-26 15:34:30 +02:00
Rachel Breeze e2604103a3 v8: Accessibility Create User Page Title (#7104) 2020-05-26 15:10:16 +02:00
Rachel Breeze b80dfbf5fc Fix for tiny MCE when language is en-US (#8002) 2020-05-26 15:01:50 +02:00
Rachel Breeze 5541d13020 V8: Accessibility Changes For umbEditorHeader Directive (edit user) (#7102) 2020-05-26 14:59:33 +02:00
Rachel Breeze c3c98e2621 v8: Fix for login screen title display (#7412) 2020-05-26 14:04:06 +02:00
Niels Lyngsø 220278a322 abstracting property clearing, so each property editor can registrer their own clear property resolvers. 2020-05-26 13:48:26 +02:00
Kenn Jacobsen f1986c0f75 Fix glitch in umb-checkbox background 2020-05-26 12:29:14 +02:00
Sebastiaan Janssen f33b4b7be5 Some cleanup and fixing the build 2020-05-26 11:49:35 +02:00
Niels Lyngsø 1227a3b4ae Merge remote-tracking branch 'origin/v8/dev' into v8/feature/7133-do-not-paste-keys-in-nested-content 2020-05-26 11:08:24 +02:00
Marc Goodson 41ac96d69d Fix HasValue and IsValue for Dropdown Property Types with no Values (#8154) 2020-05-26 09:45:57 +02:00
Sebastiaan Janssen a00aff7c61 Makes sure supplied arguments cannot be used more than once. (#7814) 2020-05-26 09:19:27 +02:00
Sebastiaan Janssen 558ffaeba7 Move test and use params that are easier to distinguish 2020-05-26 09:18:09 +02:00
Sebastiaan Janssen 407655ffcc Merge branch 'v8/contrib' into pr/7814 2020-05-26 09:11:00 +02:00
Daniël Knippers 5215a769fe Added unit test that fails before PR and succeeds after PR 2020-05-25 21:30:56 +02:00
Marc Goodson b6262bf334 Remove ContentFinderByRedirectUrl if RedirectUrlTracking is disabled (#7761) 2020-05-25 17:51:52 +02:00
Lee Kelleher 4c16421cbb Update umb-button.html (#8145)
Noticed the missing closing bracket on the `<button>`
2020-05-23 17:15:42 +02:00
Warren Buckley 76e9d7b38c Merge pull request #8147 from umbraco/v8/feature/stabilising-acceptance-tests
Stabilising acceptance tests + Bugfix for hanging saves of media.
2020-05-22 12:59:36 +00:00
Bjarke Berg 1a04b9711b Updated testhelpers reference 2020-05-22 12:56:17 +02:00
Bjarke Berg 5be8282ce4 Delete templates test 2020-05-22 12:00:56 +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
Bjarke Berg 490ae37b28 #8142 - Added smtp authentication if username or password provided 2020-05-20 12:38:21 +02:00
Bjarke Berg a120b9cffb Merge pull request #8142 from umbraco/netcore/feature/AB6507-reimplement-email-service
Netcore: Re-implementing Email Service
2020-05-20 12:29:21 +02:00
Bjarke Berg 2b4dfbca9d #8142 - Small cleanup, and bugfix 2020-05-20 11:42:23 +02:00
Sebastiaan Janssen c36495ac9c Use a language that's more common to people's machines 2020-05-20 10:30:07 +02:00
Elitsa Marinovska 65fa1efc9c Changing a var name for better reflection on the origin of its value 2020-05-20 00:54:28 +02:00
Elitsa Marinovska 16d805e6f5 Adding Smtp section in appsettings, registering IEmailSender as an email service and ofc the MailKit nuget in Infrastructure proj 2020-05-20 00:24:55 +02:00
Elitsa Marinovska ad31db9f4a Adding DeliveryMethod option which we make use of in EmailSender.cs 2020-05-20 00:21:45 +02:00
Elitsa Marinovska e85ccb0dab Removing TODOs with the actual implementation 2020-05-20 00:20:25 +02:00
Elitsa Marinovska ea380985db Moving files using MailKit nuget package (Smtp successor) as SmtpClient has been marked as obsolete by Microsoft 2020-05-20 00:19:43 +02:00
Daniël Knippers 392d74f80d Added support for segments to File Uploads (#8070) 2020-05-19 17:04:23 +02:00
Mikulas Tomanka df2d1fb4da use sql main dom lock when linux and ignore config setting 2020-05-19 09:45:31 +02:00
Bjarke Berg a198d4a37c Merge pull request #8122 from AndyButland/feature/7799-netcore-web-api-component-migration
Netcore: Implemented various Web API components
2020-05-18 12:00:07 +02:00
Bjarke Berg cda531e34e Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	.gitignore
#	src/Umbraco.Web/Editors/ContentController.cs
2020-05-18 10:37:28 +02:00
Andy Butland 0e4d8506fb Updated following PR review. 2020-05-18 09:36:56 +02:00
Andy Butland ed8f65b74e Migrated AppendUserModifiedHeaderAttribute into netcore 2020-05-17 08:52:28 +02:00
Bjarne Fyrstenborg 11f8628279 Lock core relation types (#8022) 2020-05-16 19:51:57 +02:00
Andy Butland 60c5c15fdf Migrated ValidationFilterAttribute into netcore 2020-05-16 19:35:45 +02:00
Andy Butland b2e12f400c Migrated OnlyLocalRequestsAttribute into netcore 2020-05-16 19:17:08 +02:00
Andy Butland c681b4a835 Migrated HttpQueryStringModelBinder into netcore. 2020-05-16 09:41:54 +02:00
Bjarke Berg 5c1bacd944 Merge pull request #8080 from AndyButland/feature/7991-netcore-content-model-binder
Netcore: Implemented content model binder.
2020-05-15 13:34:15 +02:00
Thomas Andresen 3e11c66ddc Merge pull request #8106 from umbraco/v8/feature/cypress-test-project
Added Acceptance Test project
2020-05-15 11:04:22 +02:00
Andy Butland 8ae0e12512 Removed global setting of content model binder and used encoded URL in model binding exception filter redirect. 2020-05-15 10:33:09 +02:00
Bjarke Berg 0ece91421e More readme stuff 2020-05-15 07:35:23 +02:00
Bjarke Berg 0298ee6686 Added readme and updated testhelpers 2020-05-14 20:30:44 +02:00
Daniël Knippers 0fdf084544 Validation errors reworked to incorporate segment errors (#8065) 2020-05-14 17:03:33 +02:00
Kenn Jacobsen ad280b47c9 Enable navigating datatype configuration picker by keyboard (#8103) 2020-05-14 08:44:58 +02:00
Kenn Jacobsen 8059927ac3 Remove "double tabbing" in the datatype picker (#8102) 2020-05-14 08:41:05 +02:00
Bjarke Berg 4d4b23966b git ignore updated 2020-05-13 20:22:06 +02:00
Bjarke Berg 985fcce4f0 Updated acceptance tests 2020-05-13 20:12:02 +02:00
Bjarke Berg 45224a35d0 Initial acceptance test commit 2020-05-13 15:18:40 +02:00
Elitsa Marinovska 64be0c99af Changing the naming in case they are used on the build server 2020-05-12 13:33:30 +02:00
Elitsa Marinovska 3e73888510 Changing path that was causing an error 2020-05-12 12:20:32 +02:00
Elitsa Marinovska 85ff4be55d Merge branch 'v8/dev' into v8/api-docs-update
# Conflicts:
#	build/build.ps1
2020-05-12 12:06:45 +02:00
Alan Thom b2a9e17c90 Adding ng-trim="false" attribute to textarea property editor 2020-05-11 16:41:38 +02:00
Alan Mac Kenna 89143b5dae upgraded tinymce to 4.9.10 2020-05-11 15:40:46 +02:00
Kevin Jump c6055cf0e3 Add keys for custom audit events #8050 (#8051) 2020-05-11 15:39:12 +02:00
Sebastiaan Janssen 7634b37676 Merge branch 'v8/dev' into v8/contrib 2020-05-11 14:22:07 +02:00
Bjarke Berg f8c4ac6623 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-05-11 12:24:45 +02:00
Niels Lyngsø 945f4db4c3 8087 forEach utility method (#8088) 2020-05-11 12:04:07 +02:00
Bjarke Berg 3c622905ba Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Infrastructure/Models/Mapping/ContentTypeMapDefinition.cs
#	src/Umbraco.Web/Editors/BackOfficeServerVariables.cs
2020-05-11 08:23:59 +02:00
Andy Butland 22b7484217 Implemented content model binder in netcore. 2020-05-08 13:23:44 +02:00
Shannon 0b1e1e6dfe Cherry pick: Adding section value check in the query string #8061 2020-05-07 15:48:38 +10: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
Bjarne Fyrstenborg 88c842ccda Add utility function equivalent to angular.fromJson (#8014) 2020-05-06 16:41:00 +02:00
Warren Buckley fff23095a6 Merge pull request #5677 from umbraco/v8/feature/5656-ux-doctype-property-creation-journey
New user journey for the DataType Picker in the DocumentType Editor
2020-05-06 15:03:07 +01:00
Niels Lyngsø ff54543adf align button style for languages 2020-05-06 15:58:39 +02:00
Niels Lyngsø 0d412598dd add control-group to message for proper spacing 2020-05-06 15:24:14 +02:00
Niels Lyngsø 9e9270cc70 added missing slash 2020-05-06 15:19:45 +02:00
Niels Lyngsø 45ba811a96 simplified umbCmsTitleCase 2020-05-06 15:11:16 +02:00
Niels Lyngsø addb21b832 Update src/Umbraco.Web.UI.Client/src/less/components/umb-group-builder.less
Co-authored-by: Warren Buckley <warren@umbraco.com>
2020-05-06 15:02:20 +02:00
Niels Lyngsø 46a91f62a5 Update src/Umbraco.Web.UI.Client/src/less/components/umb-group-builder.less
Co-authored-by: Warren Buckley <warren@umbraco.com>
2020-05-06 15:02:00 +02:00
Niels Lyngsø d8f7c863e7 revert margin-left 2020-05-06 11:05:04 +02:00
Niels Lyngsø 7737a37562 use right wording when segment now is around 2020-05-06 11:00:45 +02:00
Niels Lyngsø 071cb81059 revert change 2020-05-06 10:53:57 +02:00
Niels Lyngsø d621bc5d13 turn <a> into <button> 2020-05-06 10:51:02 +02:00
Niels Lyngsø 7a1489923d Merge remote-tracking branch 'origin/v8/dev' into v8/feature/5656-ux-doctype-property-creation-journey
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/less/variables.less
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/propertysettings/propertysettings.html
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
2020-05-06 09:45:47 +02: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
Niels Lyngsø 1320191a8a remove console.error 2020-05-05 15:01:44 +02:00
Warren Buckley a2fe48d887 Merge pull request #8064 from umbraco/v8/bugfix/7964-fix-validation-indication-in-variant-picker
UI: Corrected validation indication in variant-picker
2020-05-05 13:33:55 +01:00
Niels Lyngsø d761658feb remove console.log 2020-05-05 14:20:33 +02:00
Niels Lyngsø eec400021c make sure that validation indication in variant-picker only stays as long as a error is present. Plus avoid displaying field-errors, we only want to use property errors for this indication. 2020-05-05 13:09:24 +02:00
Bjarke Berg 4bafa25e23 Merge pull request #8025 from scottbrady91/netcore/feature/users
Migrated back office to ASP.NET Core Identity
2020-05-05 12:14:33 +02:00
Bjarke Berg e8fc2a766b Implemented GetUsersInRoleAsync and reintroduced email check 2020-05-05 11:33:19 +02:00
Elitsa Marinovska 3763427726 Adding section value check in the query string 2020-05-05 09:41:04 +02:00
Scott Brady c58f480d24 Addressed IdentityError changes (it's no longer a collection of string) 2020-05-04 18:49:06 +01:00
Scott Brady 04e9140486 Null checks and property uses 2020-05-04 18:32:57 +01:00
Scott Brady 57ec84cb47 Basic tests & refactor for PostUnlockUsers 2020-05-04 18:19:24 +01:00
Scott Brady 5815bfa15f Merge remote-tracking branch 'Umbraco/netcore/dev' into netcore/feature/users 2020-05-04 14:36:45 +01:00
Shannon af29b8da68 Cherry pick #8058 to fix #8038 2020-05-04 20:59:22 +10: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 2dd938bf29 Change to re-use the MainDomId of the normal maindom 2020-05-04 19:12:20 +10:00
Shannon 0717d5b246 Fixes: SqlMainDom setting for Azure does not work in Load Balancing #8038 2020-05-04 18:57:55 +10:00
Bjarke Berg 31cda96ba5 Merge pull request #8008 from electricsheep/feature/netcore-misc-unit-tests
Netcore: #7898 Migrate Misc tests to new test project
2020-05-04 10:20:05 +02:00
Bjarke Berg d83cef5f3d Fix for tests failing 2020-05-04 09:35:48 +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
Ollie Philpott 07d72d5562 Move OrderedHashSetTests 2020-05-03 16:03:45 +01:00
Ollie Philpott 6693ea0ff7 Move DeepCloneableListTests 2020-05-03 15:57:45 +01:00
Ollie Philpott 72071a536b Move ReflectionUtilitiesTests 2020-05-03 15:51:46 +01:00
Ollie Philpott 045604d339 Move ReflectionTests 2020-05-03 15:28:56 +01:00
Bjarke Berg eb4f9b5fbb Updated Imagesharp to rc1 2020-05-01 15:55:39 +02:00
Bjarne Fyrstenborg 02a8beca27 Replace umb-overlay using overlayService.ysod 2020-05-01 15:40:45 +02:00
Bjarke Berg aa31a8b5dd Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Models/PublishedContent/PublishedContentType.cs
#	src/Umbraco.Core/PublishedCache/PublishedSnapshotServiceBase.cs
#	src/Umbraco.Core/PublishedModelFactoryExtensions.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/imagecropper/imagecropper.controller.js
#	src/Umbraco.Web.UI.Client/src/views/users/user.controller.js
#	src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
2020-05-01 14:13:15 +02:00
Niels Lyngsø 3e65d21b67 always have the empty fallback function 2020-05-01 13:18:08 +02:00
Niels Lyngsø ef56d9cbe3 revert change title 2020-05-01 12:50:55 +02:00
Niels Lyngsø 138f38d786 added some description to bindings 2020-05-01 11:57:06 +02:00
Niels Lyngsø c060cd3b8d rename variantNodeModel to contentNodeModel 2020-05-01 11:55:49 +02:00
Niels Lyngsø 0ef7bddce9 if varaints, only show URLs that are equal to the current viewing culture 2020-05-01 11:16:27 +02:00
Niels Lyngsø b992830307 correct spelling mistake 2020-05-01 10:25:08 +02:00
Niels Lyngsø 871e50efb8 variant validation error test 2020-05-01 09:56:09 +02:00
Niels Lyngsø 2b5f3eeedd correcting test to parse segment attribute 2020-05-01 09:41:31 +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
Scott Brady f3f4537c58 Removed test settings 2020-04-30 15:50:19 +01:00
Scott Brady 077cf57abc PR recommendations: added null checks where FindByX was added, using the same exception as ASP.NET Identity 2 2020-04-30 15:48:32 +01: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
Scott Brady 643c249386 Moved ClaimsIdentityExtensions into Umbraco.Core 2020-04-30 09:28:46 +01:00
Scott Brady 2caab18d29 Reintroduced FindFirstValue extension method 2020-04-30 09:27:34 +01:00
Scott Brady 073b28064a Merge remote-tracking branch 'Umbraco/netcore/dev' into netcore/feature/users 2020-04-30 09:13:20 +01:00
Scott Brady 123b59506b Apply suggestions from code review
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2020-04-30 08:50:56 +01:00
Niels Lyngsø 0bb656482b should use _ to align with server feedback in modelState 2020-04-30 08:26:42 +02:00
Niels Lyngsø d9f25d0841 do not showAllowSegmentationForDocumentTypes pr default 2020-04-29 16:36:40 +02:00
Warren Buckley 9b7afd7be9 Merge branch 'v8/feature/AB6057-segment-feature' of https://github.com/umbraco/Umbraco-CMS into v8/feature/AB6057-segment-feature 2020-04-29 15:30:46 +01:00
Warren Buckley 9bce66cb5f Adds AllowSegmentVariation on the Doctype to be peristed 2020-04-29 15:29:21 +01:00
Niels Lyngsø 87a22bd427 pick tabs from variant content, not the node content model. 2020-04-29 16:28:39 +02:00
Niels Lyngsø 01c81023a8 parse allowSegmentVariant on 2020-04-29 16:05:39 +02:00
Niels Lyngsø 50ef099173 remove console.log 2020-04-29 15:16:59 +02:00
Niels Lyngsø 329b9fe04e Have compositId and htmlId available always for content 2020-04-29 15:16:39 +02:00
Niels Lyngsø 97f7ff519b ups, removes , 2020-04-29 14:57:43 +02:00
Niels Lyngsø 42f9466b1d replace angular.forEach with native forEach 2020-04-29 14:57:15 +02:00
Niels Lyngsø 03fc9cae3c use Utilities for copy 2020-04-29 14:50:53 +02:00
Niels Lyngsø ea2f8fe71f fixes sort of variants problem 2020-04-29 14:21:44 +02:00
Bjarke Berg e6c3c5e36e Merge pull request #7977 from AndyButland/feature/7898-netcore-model-unit-tests-4
Netcore: Further model unit test migrations into new project and builder pattern
2020-04-29 08:22:19 +02: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
Scott Brady d08bb08f57 Cleanup 2020-04-28 13:05:40 +01:00
Scott Brady 3584aa9fa3 Fixed naming for login info wrapper 2020-04-28 13:00:02 +01:00
Scott Brady 1862bf033f Normalized int to string conversion 2020-04-28 12:20:04 +01:00
Andy Butland 1f4030f910 Made more use of defaults in builder based unit tests. 2020-04-28 12:06:01 +02:00
Niels Lyngsø 7f42974bc2 reworked ensuring activeApp 2020-04-28 11:59:34 +02:00
Niels Lyngsø a8bcf2864f avoid breaking change of serverValidationManager.hasPropertyError() 2020-04-28 11:10:45 +02:00
Niels Lyngsø 370981e214 avoid breaking change of serverValidationManager.getPropertyError() 2020-04-28 11:09:46 +02:00
Niels Lyngsø 6a5a338d7c avoid breaking change of serverValidationManager.addPropertyError and serverValidationManager.removePropertyError 2020-04-28 11:08:20 +02:00
Niels Lyngsø 4b8f29a981 avoid breaking change of serverValidationManager.addPropertyError 2020-04-28 11:06:01 +02:00
Niels Lyngsø d39827a603 avoid breaking change of serverValidationManager.getPropertyCallbacks 2020-04-28 11:04:20 +02:00
Niels Lyngsø ab0b0918c1 avoid breaking change of serverValidationManager.unsubscribe() 2020-04-28 10:40:39 +02:00
Niels Lyngsø 96dd7e493d avoid breaking change of serverValidationManager.subscribe() 2020-04-28 10:36:53 +02:00
Niels Lyngsø f689bea9a7 revert removing methods 2020-04-28 10:31:23 +02:00
Niels Lyngsø 2c5456a87d Merge branch 'v8/feature/AB6057-segment-feature-corrections' into v8/feature/AB6057-segment-feature 2020-04-28 10:20:53 +02:00
Niels Lyngsø a8f2acd89f more robust variant-picker 2020-04-28 10:12:41 +02:00
Scott Brady 7947ce16dd Merge remote-tracking branch 'Umbraco/netcore/dev' into netcore/feature/users 2020-04-28 08:42:21 +01:00
Niels Lyngsø 92f0de30cc use displayName instead of language name 2020-04-28 08:57:45 +02:00
Niels Lyngsø af10bd7dfc default variant would never have segment. And if we work only with segmentation the default variant does not have language.isDefault. 2020-04-28 08:57:09 +02:00
Niels Lyngsø a501ef1410 spelling mistake corrected 2020-04-28 08:15:57 +02:00
Niels Lyngsø 0b2785b158 use right variable with null correction 2020-04-27 13:02:54 +02: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
Niels Lyngsø 5ef98ada8c minor changes for a better developer experience 2020-04-27 12:36:25 +02:00
Niels Lyngsø 223e8b122e openSettings option for block editor 2020-04-27 12:34:54 +02:00
Niels Lyngsø 37e37a14ce more localization 2020-04-27 12:34:15 +02:00
Sebastiaan Janssen d65041c250 Merge branch 'v8/dev' into v8/contrib 2020-04-27 11:03:32 +02:00
Bjarke Berg 0b055cee4b Merge pull request #7963 from emmagarland/feature/netcore-model-unit-tests-settings
Netcore: Migrate UmbracoSettings tests from UnitTests to Integration Tests
2020-04-27 10:34:35 +02:00
Kenn Jacobsen c7908a9ba1 V8: Make the sticky header span the full width of its container (#7184)
* Make the sticky header span the full width of its container

* Fix bad merge
2020-04-26 12:50:15 +01:00
Scott Brady 0338c2fc4a Removed null checks from normalizer (breaks Umbraco bootstrap process) 2020-04-24 12:52:49 +01:00
Scott Brady 9c9bd1dd1e Merge fixes 2020-04-24 12:48:29 +01:00
Scott Brady fed9d1c335 Merge remote-tracking branch 'Umbraco/netcore/dev' into netcore/feature/users 2020-04-24 12:46:48 +01:00
Bjarke Berg 3e50333a3b Fix for logviewer issue 2020-04-24 11:52:12 +02:00
Ollie Philpott 2b7b9db3a5 Moved and refactored UriUtility tests 2020-04-24 09:27:44 +01:00
Bjarke Berg 56b94b53b1 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Services/UserServiceExtensions.cs
#	src/Umbraco.Infrastructure/Examine/ContentValueSetBuilder.cs
#	src/Umbraco.Infrastructure/Runtime/SqlMainDomLock.cs
#	src/Umbraco.Infrastructure/Search/ExamineComposer.cs
#	src/Umbraco.PublishedCache.NuCache/DataSource/DatabaseDataSource.cs
#	src/Umbraco.Tests/UmbracoExamine/IndexInitializer.cs
2020-04-24 08:34:48 +02:00
Scott Brady 42efb78fdd Addressed final TODOs 2020-04-23 16:03:12 +01:00
Ollie Philpott c567b11c81 Move builder to correct folder 2020-04-23 15:36:48 +01:00
Ollie Philpott b056719cdc Move XmlHelper tests and add builder 2020-04-23 15:01:17 +01:00
Ollie Philpott 30be5f30ca Move HashGenerator tests 2020-04-23 12:13:08 +01:00
Ollie Philpott 6144c4cb03 Move HashCodeCombiner tests 2020-04-23 12:11:28 +01:00
Ollie Philpott e89b6fe6e7 Move DateTimeExtensions tests 2020-04-23 11:51:12 +01:00
Niels Lyngsø fc8fc46884 clean up 2020-04-23 11:01:10 +02:00
Niels Lyngsø 04a77aa7c0 rename contentModel to data + rename layoutModel to layout 2020-04-23 10:23:49 +02:00
Niels Lyngsø 31db52fe1b provide index for custom view 2020-04-23 10:22:55 +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
Bjarke Berg 27f7d5efae 5151 - Added GetProfilesById extension 2020-04-23 08:38:29 +02:00
Niels Lyngsø acc90011f6 make scoped block draggable + style adjustments 2020-04-23 07:37:17 +02:00
Scott Brady d6036eb9f4 Added ASP.NET Core Identity token providers 2020-04-22 20:28:49 +01:00
Scott Brady 4763c28c4a Completed No-op lookup normalizer and OWIN daa protection token provider 2020-04-22 20:05:12 +01:00
Scott Brady 16a19b941e Merge remote-tracking branch 'Umbraco/netcore/dev' into netcore/feature/users 2020-04-22 15:58:54 +01:00
Scott Brady 8fc2674426 Tests for v7 password hash 2020-04-22 15:58:28 +01:00
Bjarke Berg c58831925e 5151 - Fix using writerId instead of creatorId 2020-04-22 16:20:49 +02:00
Callum Whyte d4f8499851 Update Models Builder model namespace in Views/web.config 2020-04-22 16:18:30 +02:00
Niels Lyngsø dcce1f4a2e ability to add a scoped stylesheet for block view 2020-04-22 15:18:25 +02:00
Emma Garland c2eb3b0480 Merge branch 'netcore/dev' of https://github.com/umbraco/Umbraco-CMS into feature/netcore-model-unit-tests-settings 2020-04-22 13:53:41 +01: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
Bjarke Berg 34ae4311d0 Merge pull request #7996 from umbraco/netcore/bugfix/logging-fixing
Fixes up all things logging in netcore
2020-04-22 12:13:10 +02:00
Bjarke Berg fce1df08f9 Fix test 2020-04-22 10:55:13 +02:00
Bjarke Berg f76e638f0d Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/logging-fixing
# Conflicts:
#	src/Umbraco.Tests.Integration/RuntimeTests.cs
#	src/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
#	src/Umbraco.Web.Common/Extensions/UmbracoCoreServiceCollectionExtensions.cs
2020-04-22 10:54:54 +02:00
Bjarke Berg cbfe643a79 Merge pull request #7984 from umbraco/v8/bugfix/7967-sqlmaindom
Fixes #7967 - cannot start site with SqlMainDomLock  when db isn't configured
2020-04-22 09:43:59 +02:00
Bjarke Berg 30c877c66b Merge pull request #7982 from umbraco/netcore/feature/ab6232-WebRuntime
Introduced GenericDictionaryRequestAppCache and eliminated the WebRuntime
2020-04-22 09:11:41 +02:00
Bjarke Berg 3b08028202 Merge pull request #7992 from umbraco/netcore/feature/AB6241-reimplement-action-filters
Netcore: Reimplementing action filters
2020-04-22 08:54:25 +02:00
Shannon 18b285f088 Splits profiler so it doesn't have to take a dependency since we don't want to pre-resolve. Adds enrichers to the container. 2020-04-22 15:23:51 +10:00
Shannon 2ef8f26b28 removes unneeded extra HostBuilderExtensions 2020-04-22 14:29:01 +10:00
Shannon 46e14f7692 Fixes up all logging. Configures serilog logging to replace MS logging just like serilog does, adds new ILoggerConfiguration so we aren't hard coding things, dynamically adds enrichers when the container is ready to resolve services. 2020-04-22 14:23:56 +10:00
Shannon 2a89b36871 Fixing Nasty Exception with Scope/Provider #5151 2020-04-22 11:10:24 +10:00
Elitsa Marinovska 062441c650 Passing NoAppCache to CoreRuntime base ctor 2020-04-21 13:48:06 +02:00
Elitsa Marinovska acad9d1f84 Making class public 2020-04-21 11:03:04 +02:00
Bjarke Berg fbe6f6cdd2 AB#6232 - Moved EnablePerWebRequestScope from configure to start 2020-04-21 11:00:30 +02:00
Elitsa Marinovska c185b67ed0 Adding UseStatusCodePages for disabling/enabling status code pages (ex: from IIS) 2020-04-21 10:55:01 +02:00
Elitsa Marinovska 28f5033cb7 Renaming a file for constants. Clarifying the proj for other Constants file 2020-04-21 10:14:03 +02:00
Elitsa Marinovska 16aab7a3cb Refactoring 2020-04-21 09:33:39 +02:00
Elitsa Marinovska 138b8099fc Reimplementing EnsurePartialViewMacroViewContextFilterAttribute and other required classes 2020-04-21 09:28:22 +02:00
Elitsa Marinovska 65b45eb48d Marking classes as moved 2020-04-21 09:25:15 +02:00
Elitsa Marinovska 77a06efa91 Moved filters to Umbraco.Web.Common project 2020-04-21 09:19:18 +02:00
Shannon d0f1ea0e59 Gets logging working in netcore, removes remaining usages of AppDomain.CurrentDomain.BaseDirectory and reduces more IOHelper usages 2020-04-21 13:31:55 +10:00
Shannon ee37d3aa7a Fixes up usage of AppDomain.CurrentDomain.BaseDirectory in log viewer which cannot work in netcore since this is inconsistent with net framework, adds notes, starts configuring serilog with UseUmbraco 2020-04-21 13:07:20 +10:00
Elitsa Marinovska d483f2ccbd Marking asp.net action filters as migrated to net core 2020-04-20 22:56:36 +02:00
Elitsa Marinovska 487e3c54a8 Reimplementing action filters to asp.net core 2020-04-20 22:55:40 +02:00
Scott Brady e90778bd3d Extracted constant for 2FA remember me cookie 2020-04-20 20:20:04 +01:00
Scott Brady 96d9d3bd21 Removed use of Microsoft.AspNet.Identity.Owin, but had to port across some OWIN extensions 2020-04-20 20:14:36 +01:00
Scott Brady 11f5c98206 Finished security stamp validator 2020-04-20 19:45:08 +01:00
Warren Buckley 058e6a0386 Merge pull request #7885 from umbraco/v8/feature/4901-user-no-start-nodes
AB4901: UI for notifying user they have no start nodes
2020-04-20 18:37:39 +01:00
Shannon 008df6018c Fixes: SqlMainDomLock when configured via appSettings cannot be used unless umbraco is installed #7967 2020-04-21 00:02:59 +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
Shannon d9cb9f27f1 ModelsBuilder enabled flag not respected
When MB is disabled we were still rebuilding all of nucache models when schema changes are made which is a requirement of PureLive models but if MB is disabled then PureLive models don't matter. This was causing unnecessary performance and db overhead when modifying document types when mb is disabled.
2020-04-20 22:25:05 +10:00
Bjarke Berg c0ec1bf6ca Introduced GenericDictionaryRequestAppCache, to use the HttpContext.Items from .NET Core 2020-04-20 13:21:09 +02:00
Ivo Kolář b893dd2c65 - admin czech translation 2020-04-20 11:53:26 +02: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
Andy Butland e561784057 Migrated DictionaryTranslationBuilders into new unit test project and builder format. 2020-04-19 09:39:30 +02:00
Andy Butland 7782457ae5 Created extension methods for creating standard test content types. 2020-04-19 09:21:36 +02:00
Andy Butland b5ef6bb6d1 Migrated CultureImpactTests into new unit tests project. 2020-04-19 09:07:58 +02:00
Andy Butland 9d2bfdc428 Migrated content, media and member type tests into new unit tests project and builder pattern. 2020-04-19 09:05:09 +02:00
Warren Buckley 9335f39495 Update Readme.md in netcore branch to see if LGTM.com will analyze C# 2020-04-18 22:01:39 +01:00
Andy Butland c38c5c39ce Migrated DeepCloneHelper tests into new unit tests project. 2020-04-18 10:06:53 +02:00
Andy Butland 137ee60014 Migrated mapping tests into new unit tests project. 2020-04-18 10:04:52 +02:00
Andy Butland 12b9507007 Aligned user group builder with other builders. 2020-04-18 10:04:28 +02:00
Andy Butland e0ffc4bc07 Migrated ContentScheduleTests into new unit tests project. 2020-04-18 08:59:30 +02:00
Andy Butland d334fef4b6 Migrated DocumentEntitySlim tests into new project and builder pattern. 2020-04-18 08:57: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
Bjarke Berg bf1784f9d1 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/ContentExtensions.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/DocumentRepository.cs
2020-04-17 11:43:04 +02:00
Scott Brady a0e11c49d6 Merge remote-tracking branch 'Umbraco/netcore/dev' into netcore/feature/users 2020-04-17 10:37:13 +01: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
Shannon 90b4d557c9 Adds a segment level validation key + updates tests 2020-04-17 16:12:04 +10:00
Shannon Deminick 75655fd1ee Merge pull request #7907 from umbraco/v8/bugfix/7868-nucache-null-parent
Fix moving large amounts of content/media
2020-04-17 15:04:40 +10:00
Shannon d1524cdafe Merge branch 'v8/dev' into v8/bugfix/7868-nucache-null-parent
# Conflicts:
#	src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs
2020-04-17 15:04:10 +10:00
Shannon 49da58b23c adds notes 2020-04-17 14:56:49 +10:00
Shannon 2509dc3749 runs in parallel the call to rebuild the in-memory cache from the db sources when in pure live mode and content types change 2020-04-17 14:46:45 +10:00
Bjarke Berg a35b52b46f Merge pull request #7948 from AndyButland/feature/7898-netcore-model-unit-tests-3
Netcore: Further model unit test migrations into new project and builder pattern
2020-04-17 06:17:44 +02:00
Shannon 57c1c79d7b Merge branch 'v8/dev' into v8/bugfix/nucache-db-paging 2020-04-17 13:21:53 +10:00
Shannon d5e2c12685 fixes merge issue 2020-04-17 13:20:57 +10:00
Shannon 5d8bfcea97 Ensure when we are loading in ALL data that we page over the data as to not cause an SQL timeout 2020-04-17 12:46:36 +10:00
Shannon b5136b6528 Merge branch 'v8/dev' into v8/feature/block-editor-list 2020-04-17 10:48:40 +10:00
Shannon efcce3d25d adds notes 2020-04-17 10:43:18 +10:00
Shannon a3eaccb2b4 Merge remote-tracking branch 'origin/v7/dev' into v8/dev
# Conflicts:
#	src/Umbraco.Core/Cache/WebCachingAppCache.cs
#	src/Umbraco.Core/Persistence/Repositories/ContentRepository.cs
#	src/Umbraco.Web.UI.Client/bower.json
#	src/umbraco.businesslogic/umbraco.businesslogic.csproj
2020-04-17 10:13:59 +10:00
Bjarke Berg 295d0b73b3 nuget fix 2020-04-16 20:12:06 +02:00
Bjarke Berg 14072b0c21 nuget fix 2020-04-16 19:54:25 +02:00
Bjarke Berg 9f56aa1358 Merge remote-tracking branch 'origin/netcore/dev' into feature/7898-netcore-model-unit-tests-3 2020-04-16 19:28:05 +02:00
Bjarke Berg 3406bdb40b Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	NuGet.Config
#	src/Umbraco.Core/Models/RelationType.cs
#	src/Umbraco.Infrastructure/PropertyEditors/MediaPickerPropertyEditor.cs
2020-04-16 19:00:51 +02:00
Bjarke Berg d2f361e816 Merge remote-tracking branch 'origin/v8/8.6' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
2020-04-16 18:54:45 +02:00
Shannon Deminick 5efb938785 Merge pull request #7620 from umbraco/v7/bugfix/7574-preview-sql-timeout
loads preview via sql paging instead of one single query
2020-04-17 01:06:16 +10:00
Shannon ee6d3e0478 Removes the alpha builds of examine from nuget.config 2020-04-17 00:14:05 +10:00
Shannon 52ecd59c11 fixes test 2020-04-17 00:01:26 +10:00
Shannon 94bd9f4a9f Merge branch 'v8/8.6' of https://github.com/umbraco/Umbraco-CMS into v8/8.6 2020-04-16 23:54:09 +10:00
Shannon 3310ef9d8d fix tests 2020-04-16 23:53:52 +10:00
Emma Garland 8a7a0f65b1 Added new test case to show it working 2020-04-16 14:37:06 +01:00
Sebastiaan Janssen 271669581a Merge pull request #7847 from umbraco/v8/bugfix/7773-memory-leak
Fixes Memory Leak in GetCacheItem cache dependency #7773

(cherry picked from commit b8abc04417)
2020-04-16 15:21:54 +02:00
Sebastiaan Janssen 41f98a41fb Added fix from #7832 since the test was somehow cherry picked into 8.6.1 already 2020-04-16 14:58:56 +02:00
Shannon eabc9583f0 adds more named params 2020-04-16 22:39:32 +10:00
Shannon 153daa9fc5 fixes nameof 2020-04-16 22:35:53 +10:00
Shannon 6a5366469e fixes null checks in ctor 2020-04-16 22:34:15 +10:00
Shannon 0bfb61f1c1 Merge branch 'v8/8.6' of https://github.com/umbraco/Umbraco-CMS into v8/8.6 2020-04-16 22:27:26 +10:00
Shannon d2c05bf681 Fixes issue with RelationTypeFactory swapping the parent/child 2020-04-16 22:27:05 +10:00
Shannon 6cd7e5d055 removes the extra unneeded variable 2020-04-16 22:04:27 +10:00
Bjarke Berg b09d736c1b Bump verison to 8.6.1 2020-04-16 13:47:23 +02:00
Andy Butland 2278b0d318 Merge branch 'netcore/dev' into feature/7898-netcore-model-unit-tests-3 2020-04-16 12:19:04 +02:00
Andy Butland 33853eee43 Added setup method to instantiate clean builder for all model unit tests within the class. 2020-04-16 12:18:06 +02:00
Scott Brady 989767b053 Merge fixes 2020-04-16 11:16:35 +01:00
Andy Butland 89a419e4d1 Clarified comment. 2020-04-16 11:46:02 +02:00
Andy Butland 068100cc8e Removed resetting of unit test builders. 2020-04-16 11:39:30 +02:00
Shannon d9bf7dfa96 changes back isBidrectional spelling in case someone is using it with a named parameter binding :/ 2020-04-16 18:53:45 +10:00
Shannon 53824cac25 fix isBidirectional spelling 2020-04-16 18:46:00 +10:00
Scott Brady 52d6c86d8b Merge branch 'netcore/dev' into netcore/feature/users 2020-04-16 09:41:27 +01:00
Shannon feeff07d5c Cherry pick - Possible fix for issue #7870 2020-04-16 18:39:02 +10:00
Shannon Deminick 69ee75c1f1 Merge pull request #7893 from ltctech/temp-7870
Possible fix for issue #7870
2020-04-16 18:37:50 +10:00
Shannon b72abd50a0 fixes relation type ctor 2020-04-16 17:47:43 +10:00
Niels Lyngsø 0e8591c728 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB4550-segments-ui-variant-picker 2020-04-16 07:52:43 +02:00
Sebastiaan Janssen 0d7b0b9674 Add back ctor to revert a breaking change 2020-04-15 21:11:14 +02:00
Shannon Deminick 4a071f6e05 Nucache NullReferenceException when copying (#7961)
(cherry picked from commit b30db05cc7)

# Conflicts:
#	src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
2020-04-15 20:55:11 +02:00
Shannon Deminick b30db05cc7 Nucache NullReferenceException when copying (#7961) 2020-04-15 20:51:13 +02:00
Niels Lyngsø 3f22d1c452 correcting promise 2020-04-15 17:57:38 +02:00
Niels Lyngsø 0b4b28851e revert 2020-04-15 17:47:32 +02:00
Niels Lyngsø 61cb920808 show message if user has no start-nodes 2020-04-15 17:46:28 +02:00
Niels Lyngsø b870ca7fcf revert 2020-04-15 17:46:12 +02:00
Emma Garland cc26a7e67b Removed unwanted references to old config and helper location 2020-04-15 15:50:38 +01:00
Niels Lyngsø 627243c84c show message when user has no start nodes 2020-04-15 16:43:59 +02:00
Niels Lyngsø 0d07742671 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/4901-user-no-start-nodes 2020-04-15 16:42:15 +02:00
Emma Garland fcb24abb77 Console.WriteLine as TestContext may not always work in all VS versions 2020-04-15 15:33:37 +01:00
Emma Garland 3e7404eab0 Auto property for default settings. We needed the defaults for testing, but removed comment re appveyor because these tests failed on my local too, since these were not being set accurately as the default settings had no whitelist and therefore the logic was altered from false to true. Write to TestContext not debug. 2020-04-15 15:30:26 +01:00
Niels Lyngsø 5236dbff75 Add multiple blocks if hold down CTRL or SuperKey 2020-04-15 15:58:26 +02:00
Bjarke Berg 26e16cee7a Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-04-15 15:52:22 +02:00
Niels Lyngsø a19ebaa8d0 only filter when more than 8 items available 2020-04-15 15:51:55 +02:00
Niels Lyngsø e9a2b92658 localizationService 2020-04-15 15:20:45 +02:00
Niels Lyngsø 9fa34764ac Localization of BlockEditor Settings Tab 2020-04-15 15:18:48 +02:00
Niels Lyngsø 99fc61827a Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list 2020-04-15 15:08:37 +02:00
Niels Lyngsø aab629808d slightly more shadow on content-grid items 2020-04-15 15:08:10 +02:00
Niels Lyngsø 3647cc366a Slightly change for shadow on block-picker item hover 2020-04-15 15:07:32 +02:00
Niels Lyngsø e2f60db9eb localize block-picker tabs 2020-04-15 14:58:13 +02:00
Niels Lyngsø 061be643c8 paste feature for block-picker 2020-04-15 14:38:25 +02:00
Niels Lyngsø d81dcc1537 removed unused callback 2020-04-15 14:38:05 +02:00
Niels Lyngsø 69950cfe36 correct fallback for label 2020-04-15 14:37:44 +02:00
Sebastiaan Janssen 055f18d639 Add back ctor to revert a breaking change 2020-04-15 09:52:07 +02:00
Shannon 61c39eea64 Nicer sql template constants 2020-04-15 12:49:38 +10:00
Shannon 3b03d812f8 fixes paging 2020-04-15 11:55:12 +10:00
Shannon Deminick a96b04e0dd Merge pull request #7890 from umbraco/netcore/feature/ab5819-initialize-composers
NetCore: Initialize more services for .net core
2020-04-15 10:17:20 +10:00
Emma Garland 0c77450222 Specified hostingenvironment and databaseproviders after unit tests not picking up Umbraco.Core namespaces
Migrated into integrations project configurations, as files are being read
2020-04-14 16:55:54 +01:00
Niels Lyngsø dbd3de14a4 parse item 2020-04-14 17:09:48 +02:00
Niels Lyngsø d6782fd752 use the right wrapper, for correct spacing 2020-04-14 17:09:41 +02:00
Niels Lyngsø 82294e3f2a do still show itempicker for BlockConfiguration even though there is no ElementTypes to pick. This enables the option to create a new ElementType to be used. 2020-04-14 17:09:15 +02:00
Niels Lyngsø 3d820f3697 use ElementModel for the ContentModel of an ElementType. So we can use ElementTypeModel for the ModelDefinition aka. the Type. 2020-04-14 17:08:35 +02:00
Bjarke Berg ad4bce3b73 AB#5819 - Cleanup 2020-04-14 16:26:01 +02:00
Emma Garland b4dbe1302c Moved all UmbracoSettings tests into new unit tests configuration project
Added InternalVisibleTo for new Unit Tests project Umbraco.Configuration, so the internals can be tested
Moved TestHelpers for specific case into separate helper file, as independent helper, as this is the only method used. Changed from TestHelperBase to TestHelper.
Subsequently changed path for testing
2020-04-14 14:07:01 +01:00
Joe Glombek b5e866aeba Append "active" to currently selected section for screen readers (#7946) 2020-04-14 11:33:30 +02:00
Jan Skovgaard d582460f36 Add backdrop to "user overlay" (#7956) 2020-04-14 10:45:25 +02:00
Jan Skovgaard a5ff8a429b Replace angular.fromJson with JSON.parse (#7952) 2020-04-14 10:31:52 +02:00
Jan Skovgaard 90890cea33 Replace instances of angular.element() (#7951) 2020-04-14 10:28:16 +02:00
BatJan bd26cb36ec Replace angular.copy with Utilities.copy 2020-04-14 10:20:09 +02:00
Rachel Breeze 7f64abb224 Upgraded TinyMCE to 4.9.9 2020-04-14 10:16:36 +02:00
Rachel Breeze 188d868f55 Updated tinyMCE to 4.9.9 2020-04-14 10:15:43 +02:00
Jan Skovgaard d74d9ffb2b Replace instances of angular.forEach with vanilla JS forEach (#7928) 2020-04-14 10:14:25 +02:00
BatJan 021b39378a Remove unused directive 2020-04-14 09:53:57 +02:00
James Wilkinson d6723554fc Added links to the required tools. Added more detail to the PR… (#7944) 2020-04-14 09:50:48 +02:00
Bjarke Berg d0135eae2b Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/ab5819-initialize-composers 2020-04-14 07:29:59 +02:00
Benjamin Carleski e8a31ef7b6 Remove code duplicated from PR #7957 2020-04-13 16:40:09 -07:00
Andy Butland 597489fba2 Added missing builder property values when building macro properties. 2020-04-13 19:33:39 +02:00
Andy Butland a9a8cb7f6f Migrated macro unit tests to new project and builder pattern. 2020-04-13 19:22:31 +02:00
Andy Butland f961916245 Introduced a reset of the unit test builders to support re-use within a test. 2020-04-12 09:47:44 +02:00
Andy Butland a5aa1e19a5 Fixed failing integration tests following amends to UserBuilder. 2020-04-11 18:37:10 +02:00
Andy Butland 3085ce52f9 Migrated parth validation tests to new project and builder pattern. 2020-04-11 17:21:27 +02:00
Andy Butland 4456a784b0 Migrated user extension tests new project pattern. 2020-04-11 16:41:28 +02:00
Andy Butland b3fd94e023 Migrated user tests into new project and builder pattern. 2020-04-11 16:35:33 +02:00
BatJan 7a1bd34fa5 Remove code that does UA sniffing and explicit stuff for IE11 only 2020-04-11 15:32:09 +02:00
Carole Rennie Logan 18e4299fb3 Adding Git command line to contrib guidelines
Adding Git command line to contrib guidelines after an issue someone had at #canConHackathon
2020-04-10 20:46:46 +02:00
Mike Masey 23e32d2b59 improvement: update umb-tabs to use better semantic markup (#7926) 2020-04-10 20:42:43 +02:00
Mike Masey b5b319f917 Convert angular.isArray to Utilities.isArray (#7934) 2020-04-10 18:34:23 +02:00
Mike Masey 318fcbe3ba V8: Angular Divorce: isString (#7929) 2020-04-10 18:24:08 +02:00
Bjarke Berg 030668a8d1 Merge pull request #7896 from AndyButland/feature/netcore-model-unit-tests-2
Netcore: Further model unit test migrations into new project and builder pattern (2)
2020-04-10 18:18:38 +02:00
Matthew-Wise 76e4b6b301 Replaced angular.toJson with Utilities.toJson [#CanConHackathon] (#7924) 2020-04-10 18:07:37 +02:00
Marc Goodson 1e851b615f Button tag isn't closed? leaving invalid markup
It looks like to me there is an 'extra' closing div in this markup... but I think this is because the button isn't closed, there is a closing div where the closing button should be? - eg the icon and span are part of thee button... I've made this change locally and it operates fine, but then it operating fine before hand too...
2020-04-10 17:58:59 +02:00
Matthew-Wise a977cfdc3f Moved from angular.IsNumber to Utilities.IsNumber (#7925) 2020-04-10 17:57:33 +02:00
Andy Butland f4ad8176c4 Removed references to moved projects introduced by merge. 2020-04-10 17:51:57 +02:00
Jan Skovgaard 3e9c759426 Move the infinite overlay to the same source order as regular o… (#7923) 2020-04-10 17:41:31 +02:00
Carole Rennie Logan 421d7ac30d Renaming PR team name in contributing docs 2020-04-10 17:26:50 +02:00
Mike 766a6df967 feat: add localisation for add new row button 2020-04-10 17:23:07 +02:00
Adam Werner db8004982f angular.isObject replace to Utilities.isObject 2020-04-10 17:20:51 +02:00
Adam Werner a9834f055e angular.isDefined replace to Utilities.isDefined 2020-04-10 17:12:09 +02:00
Andy Butland 766826f462 Merge branch 'netcore/dev' into feature/netcore-model-unit-tests-2
# Conflicts:
#	src/Umbraco.Tests.Common/Builders/MemberTypeBuilder.cs
2020-04-10 17:11:41 +02:00
Andy Butland 82feb93243 Merge branch 'netcore/dev' into feature/netcore-model-unit-tests-2 2020-04-10 17:05:46 +02:00
Andy Butland 650126cfc8 Amended PropertyBuilder to return IProperty and removed some unnecessary default properties from built test class. 2020-04-10 17:01:47 +02:00
Bjarke Berg 8aaff38a6d Merge pull request #7895 from AndyButland/feature/netcore-model-unit-tests
Netcore: Further model unit test migrations into new project and builder pattern
2020-04-10 16:28:19 +02:00
Emil Olsson 199d908d7a #7658 Fix linking account if multiple IDP on common user overlay (#7845) 2020-04-09 17:25:48 +02:00
mattchanner d0eee32f1d Added null check on raw JSON to prevent null reference error deserializing the grid
(cherry picked from commit bcea0f645a)
2020-04-09 16:51:02 +02:00
Benjamin Carleski 5f5773b0c0 7879: Handle for multiple picked media relations
(cherry picked from commit 9f7c44c64e)
2020-04-09 16:50:41 +02:00
mattchanner bcea0f645a Added null check on raw JSON to prevent null reference error deserializing the grid 2020-04-09 16:46:57 +02:00
Benjamin Carleski 9f7c44c64e 7879: Handle for multiple picked media relations 2020-04-09 16:45:51 +02:00
Robert Foster fdb3c55d09 Added support for Grid Editor in an IPublishedElement - resolves #7916 2020-04-09 16:18:55 +02:00
Ronald Barendse 0184599b5c Fix EnsureMemberProperties data type IDs 2020-04-09 16:14:47 +02:00
Benjamin Carleski 133d30791f Handle invalid data type references 2020-04-08 14:27:50 -07:00
Benjamin Carleski e7be4bd111 Merge branch 'v8/feature/block-editor-list' into v8/feature/block-editor-migrations 2020-04-08 08:49:50 -07:00
Benjamin Carleski 5bbf68e432 Change declared converter type 2020-04-08 08:49:11 -07:00
Benjamin Carleski ff8ef00847 Incorporate latest block list editor changes, update migration for changed configuration 2020-04-08 07:34:54 -07:00
Benjamin Carleski 432ce80c7b Merge branch 'v8/feature/block-editor-list' into v8/feature/block-editor-migrations 2020-04-08 07:31:48 -07:00
Niels Lyngsø 525513cdea MaxPropertyWidth PreValue + Implementation 2020-04-08 16:18:36 +02:00
Niels Lyngsø b4387e757a Block Picker 2020-04-08 15:46:37 +02:00
Niels Lyngsø 676f2ab847 revert agressive clean up 2020-04-08 15:46:24 +02:00
Niels Lyngsø 83d590ff08 block list prevalue corrections 2020-04-08 15:33:44 +02:00
Niels Lyngsø 33f507a575 blockcard corrections 2020-04-08 15:33:04 +02:00
Niels Lyngsø 7855870077 translation for prevalue editor property group headlines 2020-04-08 13:23:52 +02:00
Niels Lyngsø b09fd9c207 Merge branch 'v8/feature/block-editor-list' of https://github.com/umbraco/Umbraco-CMS into v8/feature/block-editor-list 2020-04-08 11:58:32 +02:00
Niels Lyngsø b26db075a3 BlockList PreValue Editor opens configurations as overlay 2020-04-08 11:58:25 +02:00
Shannon d56867757c Merge branch 'netcore/dev' into netcore/feature/ab5819-initialize-composers 2020-04-08 15:59:00 +10:00
Shannon f19e18e160 Removes new namespaces: Umbraco.Core.Cookie, Umbraco.Core.Session, Umbraco.Core.Request, these are web things and should be part of one namespace 2020-04-08 15:56:19 +10:00
Shannon 64e7a29795 Ensures caches are refreshed after data errors are fixed 2020-04-08 15:03:21 +10:00
Shannon 36c9cd47a1 Adds notes 2020-04-08 11:22:15 +10:00
Shannon d54eed5cb9 argh! can't use switch expressions in v8 2020-04-08 10:54:48 +10:00
Shannon 49c6fd2c76 data integrity report working 2020-04-08 10:38:02 +10:00
Shannon Deminick b23686e87e Merge pull request #7909 from rustybox/bugfix/case-sensitive-fs-fixes
Netcore: Alter ResXFileRef to match filesystem
2020-04-08 10:21:20 +10:00
Benjamin Carleski d6c95bb380 Handle color picker data in stacked content 2020-04-07 16:43:06 -07:00
Benjamin Carleski cf418a8097 Add error handling to default template 2020-04-07 16:36:10 -07:00
Benjamin Carleski cec7251bc3 Update default rendering partial view 2020-04-07 14:45:06 -07:00
Benjamin Carleski f78e4fcdf6 Add migrations for new block editor 2020-04-07 11:55:45 -07:00
Benjamin Carleski 3bf2a17d49 Merge branch 'v8/feature/block-editor-list' of https://github.com/umbraco/Umbraco-CMS into v8/feature/block-editor-list 2020-04-07 11:53:59 -07:00
Benjamin Carleski 0fa045dc94 Remove DB migrations so that they can be reviewed as a block 2020-04-07 11:53:41 -07:00
Paul Johnson b2f1c728fb Alter resx to match filesystem 2020-04-07 16:54:54 +01:00
Shannon 19f0793cba updates health check 2020-04-07 17:38:40 +10:00
Shannon 3ef1883765 fix build (non latest c#) 2020-04-07 16:53:54 +10:00
Shannon 18d9ad3c73 udpates health check and service methods to be flexible for data integrity checks, fixes tests 2020-04-07 16:42:21 +10:00
Shannon ad698f9c19 Fixes content service/repository for moving things correctly along with the perf improvements that were done to media. 2020-04-07 15:02:08 +10:00
Shannon 727578e51c Fixes media moving and massively improves moving performance 2020-04-07 13:29:00 +10:00
Scott Brady e5f3c4a186 Security stamp validator. Removed more references to ASP.NET Identity 2 2020-04-06 17:23:04 +01:00
Shannon 4b467bf470 Creates data integrity health checks 2020-04-07 01:02:08 +10:00
Shannon 50e9f79ae6 Adds a null check if things are out of order when building up the tree/linked list 2020-04-06 23:10:52 +10:00
Niels Lyngsø fb175c5af8 minor adjustments 2020-04-06 09:32:03 +02:00
Andy Butland 09b18c0227 Removed some properties unnecessarily set in tests as they will be set by default by the builder. 2020-04-05 09:31:56 +02:00
Scott Brady 02dfa893e9 Cleanup 2020-04-04 19:58:09 +01:00
Andy Butland d9f9a166a6 Migrated property, property type and property group tests into new project and builder pattern. 2020-04-04 16:49:01 +02:00
Scott Brady 809ead4223 Removed temporary class naming 2020-04-04 12:59:29 +01:00
Scott Brady 851ae1ba0f Initial working back office 2020-04-04 12:36:04 +01:00
Andy Butland f10971efaa Migrated relation tests into new project and builder pattern. 2020-04-04 12:21:41 +02:00
Andy Butland 58a1bc0a8f Migrated stylesheet and template tests into new project and builder pattern. 2020-04-04 09:32:23 +02:00
Dima Lakhter 9fece778b8 Possible fix for issue #7870 2020-04-03 11:57:53 -07:00
Niels Lyngsø a87a6caf85 Just parsing layout as model for partial views. 2020-04-03 12:36:11 +02:00
Bjarke Berg 669ce1629f Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/ab5819-initialize-composers 2020-04-03 10:58:45 +02:00
Bjarke Berg 59997252a2 Merge pull request #7838 from umbraco/netcore/feature/AB5822-smidge-implementation
Netcore: Smidge implementation
2020-04-03 10:58:08 +02:00
Bjarke Berg 7c87ec3141 Merge remote-tracking branch 'origin/netcore/feature/AB5822-smidge-implementation' into netcore/feature/ab5819-initialize-composers 2020-04-03 10:12:10 +02:00
Bjarke Berg 2c1d94cb11 AB#5822 - removed IIOHelper.DirSepChar and uses Path.DirectorySeparatorChar instead 2020-04-03 10:09:08 +02:00
Bjarke Berg eba1b90976 AB#5822 - removed wrong xmldoc 2020-04-03 10:05:38 +02:00
Bjarke Berg 440ebf6f18 AB#5822 - Small changes 2020-04-03 10:04:43 +02:00
Shannon d711796c59 Fixing tests 2020-04-03 17:05:50 +11:00
Shannon 4920268ec8 combines application builder extensions to one class 2020-04-03 15:56:34 +11:00
Shannon 604797d339 fixes DisableAttribute implementation when looking for a type 2020-04-03 15:54:25 +11:00
Shannon c48f36f6a2 Even more IOHelper reduction, fixes some tests 2020-04-03 15:36:57 +11:00
Shannon b3da9a904b Fix build 2020-04-03 15:24:40 +11:00
Shannon 859546f5a4 Fixes deadlock issues and concurrent index drop issues 2020-04-03 13:54:28 +11:00
Shannon 60abdd60b5 Starts fixing up integration tests 2020-04-03 13:16:01 +11:00
Shannon 4349115f0d Fixes up some errors 2020-04-03 11:47:38 +11:00
Shannon 7e2d0902af Huge IIOHelper cleanup, removes some overlap with IHostingEnvironment, much less usages of IIOHelper and instead just use what is already available on IHostingEnvironment 2020-04-03 11:03:06 +11:00
Shannon 1224c97f07 Don't pass in Root to ToAbsolute there's no need 2020-04-03 09:17:40 +11:00
Shannon fa2e9c3715 Fixing AspNetCoreHostingEnvironment, cleaning up more IOHelper, adds notes 2020-04-03 09:13:55 +11:00
Benjamin Carleski 5dfa998109 Fix block list test failures 2020-04-02 14:29:52 -07:00
Scott Brady 4e583db68e Added OWIN based token provider. Removed use of IdentityFactoryOptions 2020-04-02 15:55:00 +01:00
Warren Buckley ce3ea2328d Use the events to notify us that the user does not have start nodes - potetnially could emit a new event as the login screen not showing in this POC 2020-04-02 15:38:19 +01:00
Warren Buckley cc62525378 Debug with emitted events - ensure to remove this once PR is done 2020-04-02 15:36:16 +01:00
Warren Buckley df19ca45a0 Make this a sucessful login even though they have no start nodes - so our SPA app can decide in the UI what to do/show 2020-04-02 15:35:21 +01:00
Shannon 9d320f79da New IRuntimeHash to fix type scanning in netcore in order to look at the right runtime bits to creaet a hash for 2020-04-03 01:08:52 +11:00
Shannon f0579714e9 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation
# Conflicts:
#	.gitignore
#	src/Umbraco.Core/IO/IIOHelper.cs
2020-04-02 22:32:02 +11:00
Shannon 4fddb94462 Fixes up preview paths, adds more docs and ensures we throw exceptions when not absolute paths 2020-04-02 22:11:57 +11:00
Warren Buckley 114f604316 Merge pull request #7884 from umbraco/v8/feature/revert-getdata
Revert GetData() in Block Editor List model
2020-04-02 12:02:38 +01:00
Shannon 4eb116d4ac removes CssInitialization and JsInitialization and merges/simplifies code 2020-04-02 21:29:48 +11:00
Shannon 95a36b3064 Changes namesspace, fixes cdf registrations, fixes bundle registrations, cleanup 2020-04-02 21:19:42 +11:00
Warren Buckley 1b53b5c938 Use the .Data propertry as opposed to GetData in this PartialView 2020-04-02 11:13:36 +01:00
Warren Buckley 1bd4901746 Revert commit 45e892f350 - Changes api to GetData 2020-04-02 11:11:08 +01:00
Bjarke Berg f9ce924e85 Merge pull request #7865 from umbraco/netcore/bugfix/integration-tests-running
Getting Integration tests running on Devops
2020-04-02 11:42:21 +02:00
Bjarke Berg 01957b7c64 Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/integration-tests-running 2020-04-02 10:01:57 +02:00
Scott Brady c8afd85bd3 Initial run 2020-04-02 08:08:09 +01:00
Shannon a67bb197b7 Merge branch 'netcore/feature/AB5822-smidge-implementation' of https://github.com/umbraco/Umbraco-CMS into netcore/feature/AB5822-smidge-implementation 2020-04-02 17:41:19 +11:00
Shannon 32deaa12d2 Removes unneeded methods/properties in abstraction, removes unneeded usages of it, changes everything to pre-defined bundles, fixes cdf implementation and reduces reflection, renames namespace 2020-04-02 17:41:00 +11:00
Benjamin Carleski 2ed740b22a Add references for picked items 2020-04-01 15:54:49 -07:00
Bjarke Berg 97cf099f9f AB#5819 - Moved composing of core/infrastructure items into CoreInitialComposer 2020-04-01 20:00:27 +02:00
Niels Lyngsø f58f0547ac css correction 2020-04-01 17:06:42 +02:00
Niels Lyngsø ee534f88cc Inline create button styling: Better spacing, darker blue color for Focus Outline, moving the plus icon to mouse position for better visual appearance. 2020-04-01 16:42:09 +02:00
Niels Lyngsø 62c4ecac01 css adjustments 2020-04-01 16:13:16 +02:00
Bjarke Berg 38c41fa0bd Merge branch 'netcore/feature/AB5822-smidge-implementation' into netcore/feature/ab5819-initialize-composers 2020-04-01 15:57:07 +02:00
Niels Lyngsø 89550471b3 Merge remote-tracking branch 'origin/v8/feature/ui-property-group-header-adjustment' into v8/feature/block-editor-list 2020-04-01 15:53:23 +02:00
Niels Lyngsø 100bc30e63 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list 2020-04-01 15:53:01 +02:00
Bjarke Berg b1d214a13d Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation
# Conflicts:
#	src/Umbraco.Web.Common/Extensions/UmbracoCoreServiceCollectionExtensions.cs
#	src/Umbraco.Web.UI.NetCore/Startup.cs
#	src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/Gallery.cshtml
2020-04-01 15:52:23 +02:00
Bjarke Berg 3aa849fff2 AB#5819 - Moved composing of core/infrastructure items into CoreInitialComposer 2020-04-01 15:50:46 +02:00
Niels Lyngsø 4714761277 hide description if no description is presented 2020-04-01 15:42:43 +02:00
Niels Lyngsø 52832a9b1c smaller header for property group 2020-04-01 15:42:32 +02:00
Niels Lyngsø c04a68730d rename notsupport property editor css class 2020-04-01 15:34:50 +02:00
Niels Lyngsø 9bdb0cb1b8 Hide group header if only one group is presented 2020-04-01 15:29:58 +02:00
Niels Lyngsø d6cad31750 remove unused controller 2020-04-01 14:31:56 +02:00
Bjarke Berg 400fa1ccd4 Initialize Current 2020-04-01 14:19:41 +02:00
Niels Lyngsø e20c7578f8 NotSupported property editor, to be used when an editor is not supported in the given context. 2020-04-01 13:44:56 +02:00
Niels Lyngsø 8513e2b332 use a common variable on the block model for isOpen, to be able to make Actions show when open. 2020-04-01 13:44:20 +02:00
Bjarke Berg e3ac778fc9 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Cache/WebCachingAppCache.cs
#	src/Umbraco.Core/StringExtensions.cs
#	src/Umbraco.Infrastructure/PropertyEditors/UploadFileTypeValidator.cs
#	src/Umbraco.Tests/Configurations/UmbracoSettings/ContentElementTests.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI/Umbraco/js/navigation.controller.js
#	src/Umbraco.Web/Macros/MacroRenderer.cs
#	src/Umbraco.Web/Security/Providers/UsersMembershipProvider.cs
2020-04-01 12:44:53 +02:00
Bjarke Berg 407d26635c Merge pull request #7872 from umbraco/netcore/feature/builders
NetCore: Aligned User and UserGroup builders to the other builders
2020-04-01 12:09:50 +02:00
Bjarke Berg 944042ad61 Updated builders 2020-04-01 12:07:54 +02:00
Niels Lyngsø f92f729dec changes naming to Submit, to avoid misunderstanding. 2020-04-01 11:39:51 +02:00
Bjarke Berg 6012d6749e Fix views 2020-04-01 11:31:21 +02:00
Bjarke Berg 9e38ed045f Aligned builders 2020-04-01 08:18:56 +02:00
Bjarke Berg b45c2f9412 Merge pull request #7855 from AndyButland/netcore/unit-test-migration-member-models
Netcore: Migrated member unit tests into new project/builder pattern
2020-04-01 06:33:09 +02:00
Shannon c9c8693560 removes one null check, adds notes 2020-04-01 13:13:15 +11:00
Shannon f1b398fab6 Adds some null checks, need to see if tests pass 2020-04-01 11:06:21 +11:00
Shannon 5fc889a8a5 Merge tag 'release-8.6.0' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2020-04-01 10:40:35 +11:00
Niels Lyngsø 82f90216fe Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/js/main.controller.js
#	src/Umbraco.Web.UI/Umbraco/js/navigation.controller.js
2020-03-31 17:54:10 +02:00
Niels Lyngsø 2feadb184e Block Editor: Clean-up, refactoring, one step closer being ready for Content-Apps 2020-03-31 17:53:32 +02:00
Andy Butland 919861bf36 Separated member and member group builder and model unit tests, and other minor updates from PR review. 2020-03-31 17:37:34 +02:00
Bjarke Berg e42c63693f AB#5822 Clean up 2020-03-31 16:43:01 +02:00
Bjarke Berg 6430137fe3 AB#5822 Clean up 2020-03-31 16:35:17 +02:00
Andy Butland 374147d5e8 Merge branch 'netcore/dev' into netcore/unit-test-migration-member-models 2020-03-31 16:35:09 +02:00
Bjarke Berg 8d2aad5f49 AB#5822 Clean up 2020-03-31 16:28:58 +02:00
Bjarke Berg c75c86ab27 AB#5822 Clean up 2020-03-31 16:28:13 +02:00
Bjarke Berg 94f4c6b372 AB#5822 Clean up 2020-03-31 16:15:55 +02:00
Bjarke Berg 55426515c0 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation
# Conflicts:
#	src/Umbraco.Infrastructure/Media/ImageProcessorImageUrlGenerator.cs
#	src/Umbraco.Infrastructure/Models/ImageProcessorImageUrlGenerator.cs
#	src/Umbraco.Infrastructure/Models/ImageSharpImageUrlGenerator.cs
#	src/Umbraco.Web.BackOffice/AspNetCore/AspNetCoreComposer.cs
#	src/Umbraco.Web.Common/Extensions/UmbracoCoreServiceCollectionExtensions.cs
#	src/Umbraco.Web.UI.NetCore/Startup.cs
#	src/Umbraco.Web.UI.NetCore/appsettings.json
2020-03-31 15:36:25 +02:00
Bjarke Berg d0938913e9 Merge pull request #7839 from umbraco/netcore/feature/ab5820-webprofiler-aspnetcore
NetCore: Implement the WebProfiler for asp.net core.
2020-03-31 15:10:18 +02:00
Bjarke Berg b9ad6a0b7c AB#5820 - Cleanup 2020-03-31 15:02:02 +02:00
Bjarke Berg ab57b633e0 AB#5820 - Cleanup 2020-03-31 14:53:20 +02:00
Bjarke Berg 2e6b5004f7 AB#5820 - Bugfix 2020-03-31 13:04:21 +02:00
Bjarke Berg 12a957e9b6 AB#5820 - Copy client files into both netcore and framework executables 2020-03-31 12:59:10 +02:00
Bjarke Berg 2a2903f932 AB#5820 - Review fixes / Clean up 2020-03-31 12:22:11 +02:00
Bjarke Berg a6d43f4fd5 AB#8522 - Clean up 2020-03-31 10:57:56 +02:00
Bjarke Berg 117bfd1f12 AB#8522 - Smidge reset updates the version string to the current ticks 2020-03-31 10:47:08 +02:00
Shannon ebdd5e3f69 env var change 2020-03-31 18:13:19 +11:00
Shannon 4ee3cf02d9 Changes integration tests working folder, hopefully this works on azure devops 2020-03-31 18:01:27 +11:00
Shannon 8535d0fbe3 Cleans up IIOHelper and removes methods/props that shouldn't exist, changes test helper to use WorkingDirectory fixes some usages of MapPath 2020-03-31 17:27:51 +11:00
Shannon Deminick 31bd20e54a Merge pull request #7669 from AndyButland/netcore/7668-remove-repository-concerns-from-services
.NetCore: Remove direct database queries from services
2020-03-31 14:39:15 +11:00
Shannon Deminick 4cf618e358 Merge pull request #7837 from AndyButland/feature/7540-use-image-url-generator-back-office
Netcore: Use API to get Image URLs in BackOffice instead of hardcoded querystrings
2020-03-31 14:38:23 +11:00
Benjamin Carleski 4d47fb07fd Add Stacked Content to Block List migration 2020-03-30 15:33:18 -07:00
Bjarke Berg ffc6ce6553 AB#8522 - Smidge implementation of the Runtime Minifier 2020-03-30 21:27:35 +02:00
Elitsa Marinovska 4ac8ae3b15 Removing specific to each machine file paths from project 2020-03-30 15:29:53 +02:00
Elitsa Marinovska 7e3b3414d5 Merge branch 'netcore/dev' into netcore/feature/ab5820-webprofiler-aspnetcore 2020-03-30 15:26:51 +02:00
Andy Butland 75b216bca5 Removed registerFileResolver methods on image cropper and file upload property editors. 2020-03-30 14:30:50 +02:00
Andy Butland 1760241607 Merge branch 'netcore/dev' into feature/7540-use-image-url-generator-back-office 2020-03-30 14:19:15 +02:00
Andy Butland cdb65762f1 Merge branch 'netcore/dev' into netcore/7668-remove-repository-concerns-from-services 2020-03-30 14:17:16 +02:00
Sebastiaan Janssen 8cba80913a Remove generated files from git and ignore them 2020-03-30 13:38:17 +02:00
Shannon 7617027c49 Moves most of the UserRepositoryTest 2020-03-30 21:53:30 +11:00
Shannon 3757f722a0 Gets first integration test moved, moves the test options to the common project, ensures that the LocalDb pool is updated on each test 2020-03-30 20:55:13 +11:00
Sebastiaan Janssen 1dbf5463b8 Merge branch 'v8/contrib' into v8/dev 2020-03-30 09:59:51 +02:00
Shannon 9ed925941f Gets DB installation test working with runtime level checking 2020-03-30 17:25:29 +11:00
Olivier Bossaer 5fad35d0ee Fix #7521 - Runtime error if removing email notificationMethod 2020-03-30 08:12:19 +02:00
Andy Butland f6af286e0b Added tests confirming correct building of unit test objects. 2020-03-30 07:42:02 +02:00
Bjarke Berg 219391246d Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation 2020-03-30 07:23:44 +02:00
Bjarke Berg 1e33b3df7a AB#5820 - Clean up 2020-03-30 07:17:56 +02:00
Bjarke Berg 49da01c655 AB#5820 - Clean up 2020-03-30 07:16:55 +02:00
Bjarke Berg 2fc2166767 AB#5820 - Clean up 2020-03-30 07:14:22 +02:00
Bjarke Berg 8ed7ae470a AB#5820 - Clean up 2020-03-30 06:38:39 +02:00
Bjarke Berg ff5d6770d9 AB#5820 - Clean up and remove unnecessary stuff for this task 2020-03-30 06:34:56 +02:00
Bjarke Berg b2799ef901 AB#5820 - Added simple controller and view to test the miniprofiler 2020-03-29 22:35:52 +02:00
Andy Butland dface90de7 Migrated member unit tests to new unit test project using builder pattern. 2020-03-29 16:17:06 +02:00
Andy Butland 50631c2b28 Migrated member group unit tests to new unit test project using builder pattern. 2020-03-28 20:54:10 +01:00
Andy Butland 5a29365063 Revert change to overridden save method on key value repository. 2020-03-28 15:20:17 +01:00
Andy Butland 8958cf90b9 Moved non-scoped retrieval of key value into an extension method in IUmbracoDatabase. 2020-03-28 15:13:50 +01:00
Andy Butland f01ccb49dd Removed key value service initialization logic. 2020-03-28 15:04:36 +01:00
Andy Butland 3e40389819 PR review amends on key value model and repository classes. 2020-03-28 15:04:11 +01:00
Andy Butland bc05370995 Merge branch 'netcore/dev' into netcore/7668-remove-repository-concerns-from-services 2020-03-28 14:31:23 +01:00
Andy Butland 93fd2eb954 Fixed creation of image processing options in grid media controller. 2020-03-28 14:11:24 +01:00
Benjamin Carleski 09be6b8ee4 Enable Block List Editor settings editing 2020-03-27 15:41:48 -07:00
Andy Butland f48a4b0c72 Merge branch 'netcore/dev' into feature/7540-use-image-url-generator-back-office 2020-03-27 21:20:08 +01:00
Benjamin Carleski 5ed727df02 Add ability to render block list editor using Grid style rendering extension 2020-03-27 09:58:55 -07:00
Bjarke Berg 681a25b861 Moved files from backoffice into Common + Introduced AspNetCoreComponent to invoke the Umbraco Application Init event 2020-03-27 11:39:17 +01:00
Bjarke Berg fe88662f48 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/ab5820-webprofiler-aspnetcore 2020-03-27 06:04:06 +01:00
Claus 547099c900 Merge pull request #7848 from umbraco/v7/bugfix/7773-memory-leak
Fixes Memory Leak in GetCacheItem cache dependency #7773
2020-03-26 23:45:38 +01:00
Claus b8abc04417 Merge pull request #7847 from umbraco/v8/bugfix/7773-memory-leak
Fixes Memory Leak in GetCacheItem cache dependency #7773
2020-03-26 23:43:41 +01:00
Bjarke Berg a72ae2278d Post merge + bugfix 2020-03-26 19:52:40 +01:00
Bjarke Berg 44e9df949d Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Infrastructure/Models/Property.cs
#	src/Umbraco.Tests/Models/ContentTests.cs
2020-03-26 19:22:09 +01:00
Bjarke Berg 8964ef1c48 Register missing interface 2020-03-26 19:14:02 +01:00
Marc Goodson 42ddd90fd7 Allow Macro's to be cached differently across variants (#7555) 2020-03-26 16:57:15 +01:00
Shannon e748d842a4 Fixes Memory Leak in GetCacheItem cache dependency #7773 2020-03-26 22:50:47 +11:00
Shannon a855a90a8a cleaner fix 2020-03-26 22:09:49 +11:00
Shannon 6fef85aafd fixes Memory Leak in GetCacheItem cache dependency #7773 2020-03-26 22:03:26 +11:00
Søren Gregersen a0e5b83914 Add document to downloadFile-method
Simple copy/paste to document a useful method
2020-03-26 11:48:01 +01:00
Andy Butland 30567d34d5 Merge branch 'netcore/dev' into feature/7540-use-image-url-generator-back-office
# Conflicts:
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
2020-03-26 10:53:24 +01:00
Shannon d40b7087f4 Fixes issue with deep cloning Property
main problem was that it was duplicating the _pvalue value when it shouldn't have. The real fix is that the Values property solves all these problems with it's setter but that wasn't being used by the DeepClone engine because that explicitly looks for certain collection types and IReadOnlyCollection wasn't one of them. With that included and PropertyValue marked as IDeepCloneable, it all just works. I've added tests.
2020-03-26 19:56:21 +11:00
Bjarne Fyrstenborg 972acc6718 Installer adjustments (#7592) 2020-03-26 08:39:38 +01:00
Bjarke Berg 312e1e99b0 Merge remote-tracking branch 'origin/netcore/feature/ab5820-webprofiler-aspnetcore' into netcore/feature/ab5820-webprofiler-aspnetcore 2020-03-26 07:11:58 +01:00
Bjarke Berg 86fe83ca16 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/ab5820-webprofiler-aspnetcore
# Conflicts:
#	src/Umbraco.Web.BackOffice/AspNetCore/UmbracoCoreServiceCollectionExtensions.cs
#	src/Umbraco.Web.Common/AspNetCore/AspNetCoreUmbracoApplicationLifetime.cs
#	src/Umbraco.Web.UI.NetCore/Startup.cs
2020-03-26 07:10:23 +01:00
Bjarke Berg 402e994e89 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/ab5820-webprofiler-aspnetcore
# Conflicts:
#	src/Umbraco.Web.BackOffice/AspNetCore/UmbracoCoreServiceCollectionExtensions.cs
#	src/Umbraco.Web.Common/AspNetCore/AspNetCoreUmbracoApplicationLifetime.cs
#	src/Umbraco.Web.UI.NetCore/Startup.cs
2020-03-26 07:04:38 +01:00
Bjarke Berg 405fca7e51 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation 2020-03-26 06:55:58 +01:00
Bjarke Berg 6858739086 Fix for old references in new test project 2020-03-26 06:54:21 +01:00
Bjarke Berg 629be33357 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation
# Conflicts:
#	src/Umbraco.Web.BackOffice/AspNetCore/UmbracoCoreServiceCollectionExtensions.cs
#	src/Umbraco.Web.UI.NetCore/Startup.cs
#	src/Umbraco.Web/Editors/PackageInstallController.cs
#	src/Umbraco.Web/UrlHelperExtensions.cs
2020-03-26 06:53:05 +01:00
Shannon Deminick 99c6ca7c7b Merge pull request #7840 from umbraco/netcore/feature/booting-netcore-db
Netcore - Runtime booting and shutting down (and more)
2020-03-26 15:40:18 +11:00
Shannon f24cae51d8 Renames IHostingEnvironmentLifetime to IApplicationShutdownRegistry 2020-03-26 15:39:20 +11:00
Shannon Deminick 29293bd25a Update src/Umbraco.Tests.Integration/Implementations/TestHelper.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2020-03-26 15:32:39 +11:00
Shannon Deminick 9bb9997288 Update src/Umbraco.Tests.Integration/Implementations/HostBuilderExtensions.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2020-03-26 15:31:27 +11:00
Shannon Deminick fee1f6f0ab Update src/Umbraco.Tests.Integration/Implementations/HostBuilderExtensions.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2020-03-26 15:30:25 +11:00
Shannon Deminick 8b531b7aea Merge pull request #7820 from umbraco/netcore/feature/unit-test-project
NetCore: Introduces a seperate UnitTest project
2020-03-26 15:24:19 +11:00
Bjarke Berg 1c53405d75 AB#5822 - Abstraction of runtime minifier 2020-03-25 20:42:02 +01:00
Sebastiaan Janssen 935690b727 Bump caniuse-lite dependency 2020-03-25 18:09:03 +01:00
Steve Megson ec64da0804 Grant access to Packages section for any user groups with access to the Developer section 2020-03-25 18:01:28 +01:00
Chris Oliver 17d91da8d1 Remove button border radius when used in a button group (#7834) 2020-03-25 17:29:42 +01:00
Bjarke Berg a0b0802b8d Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation
# Conflicts:
#	src/Umbraco.Web.BackOffice/AspNetCore/UmbracoBackOfficeServiceCollectionExtensions.cs
2020-03-25 13:31:27 +01:00
Bjarke Berg 8a0f031d6d AB#5822 - Moved config 2020-03-25 13:29:40 +01:00
Shannon a5d728cc51 Reduce the usage of BuildServiceProvider 2020-03-25 18:21:44 +11:00
Shannon 1a8f422dce another note 2020-03-25 17:40:52 +11:00
Shannon 926b0662e7 another note 2020-03-25 17:39:36 +11:00
Shannon 77ce21b0e3 Adds notes/test about pre building the netcore container 2020-03-25 17:35:43 +11:00
Shannon 2d506c1fd0 Adds container test showing how we can pre-resolve a service and ensures its the same on that gets used. 2020-03-25 17:23:31 +11:00
Shannon 07966b5225 more unused code 2020-03-25 17:19:12 +11:00
Shannon c988004762 fixes test 2020-03-25 17:18:36 +11:00
Shannon a0acc8126d oops change namespace back to Umbraco.net 2020-03-25 16:52:42 +11:00
Bjarke Berg 92afbfc6fc AB#5820 - Initialize the webprofiler in asp.net core 2020-03-25 05:39:25 +01:00
Shannon 612a47b16b Splits interfaces into separate ones, removes overlap between interfaces, injects the necessary bits, and much more 2020-03-25 15:06:22 +11:00
Shannon 900505704c Committing a namespaces change 2020-03-25 14:54:45 +11:00
Bjarke Berg 397b25f9ae Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/ab5820-webprofiler-aspnetcore
# Conflicts:
#	src/Umbraco.Web.UI.NetCore/Startup.cs
2020-03-24 19:38:44 +01:00
Bjarke Berg 9cca16d31b Rollback of changes not related to this issue 2020-03-24 19:37:04 +01:00
Bjarke Berg e8095b1a36 Merge remote-tracking branch 'origin/netcore/feature/ab5820-webprofiler-aspnetcore' into netcore/feature/ab5820-webprofiler-aspnetcore
# Conflicts:
#	src/Umbraco.Web.Common/Runtime/Profiler/WebProfiler.cs
#	src/Umbraco.Web.Common/Runtime/Profiler/WebProfilerProvider.cs
2020-03-24 18:57:29 +01:00
Bjarke Berg 9339e1d999 AB#5820 - Introduced WebProfiler for asp.net core 2020-03-24 18:56:45 +01:00
Joe Delly 2ec0861051 Fix for exception throw when validating URLs (#7701) 2020-03-24 18:35:11 +01:00
Bjarke Berg d577452aff AB#5820 - Introduced WebProfiler for asp.net core 2020-03-24 18:18:25 +01:00
Nathan Woulfe ffef6ed2a1 7713 - changing CSS directory breaks RTE (#7726) 2020-03-24 18:04:38 +01:00
Matt Barlow 7c841eb6ac 7728 - show elipsis only when > length
Fixed the elipsis issue, only adds an elipisis if the text length exceeds the length that is being truncated too.
2020-03-24 18:01:34 +01:00
Matthew Wise 994c379a94 Removed duplications of tree routing 2020-03-24 17:53:03 +01:00
Nathan Woulfe b082d40921 adds utility.js as facade to generic javascript utility functio… (#7738) 2020-03-24 17:48:14 +01:00
Anders Bjerner b6a34ebac7 Implemented fix for #7754 2020-03-24 17:45:21 +01:00
Bjarne Fyrstenborg 54f75b9393 No more TypedContentAtRoot (#7763) 2020-03-24 17:41:26 +01:00
Elitsa Marinovska b23c508c54 Using Smidge inline bundle creation in view 2020-03-24 17:35:55 +01:00
Elitsa Marinovska ccfaebb09f More of the Smidge initial implementation. Adding TODOs for next steps 2020-03-24 17:34:34 +01:00
Sebastiaan Janssen 5d7683e5fa Merge branch 'v8/dev' into v8/contrib 2020-03-24 17:34:07 +01:00
Sebastiaan Janssen df04ffa68d Merge branch 'v7/dev' into v8/dev
# Conflicts:
#	build/NuSpecs/UmbracoCms.Core.nuspec
#	src/Umbraco.Core/packages.config
#	src/Umbraco.Web.UI.Client/src/views/users/views/users/users.html
#	src/Umbraco.Web.UI/packages.config
#	src/Umbraco.Web/packages.config
#	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
2020-03-24 17:30:10 +01:00
Alexander Karlsson e8d63d9a7a #7780 Show all filters that is more then 0 hits 2020-03-24 17:08:01 +01:00
Arkadiusz Biel 3640ed259d GetAllIds for Roles (#7806) 2020-03-24 15:15:52 +01:00
Erik-Jan Westendorp 0a79e28205 #7803 Add EditorGroupAlias and WriterGroupAlias to Constants cl… (#7804) 2020-03-24 14:03:51 +01:00
dependabot[bot] 99152ffef3 Bump acorn from 5.7.3 to 5.7.4 in /src/Umbraco.Web.UI.Client
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-24 14:01:11 +01:00
Andy Butland 519fd22cea Changed hard-coded processed images URLs in back-office to use configured image URL generation. 2020-03-24 12:29:16 +01:00
Andy Butland e66c92d032 Added controller method to ImagesController and client-side method to mediahelper to retrieve URL for processed image. 2020-03-24 12:19:04 +01:00
Andy Butland c16965319a Amended processed image URL building to use checks for empty as well as null, and refactored null checks to use HasValue. 2020-03-24 12:17:41 +01:00
Elitsa Marinovska 85730eadb0 Setting up Smidge 2020-03-24 10:51:53 +01:00
Andy Butland b67c3dfa04 Moved IImageUrlGenerator and implementation into more appropriate enamespace 2020-03-24 09:37:46 +01:00
Shannon d0a204b984 Cleans up some unused code, fixes a merge issue causing duplicate runtimes to be created, register essential does what it's supposed to do, don't mix things with the webruntime. 2020-03-24 14:48:32 +11:00
Shannon 59f0edc074 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/booting-netcore-db
# Conflicts:
#	src/Umbraco.Tests.Integration/RuntimeTests.cs
#	src/Umbraco.Web.BackOffice/AspNetCore/UmbracoBackOfficeServiceCollectionExtensions.cs
2020-03-24 14:47:10 +11:00
Shannon Deminick bcc8dff862 Merge pull request #7811 from umbraco/netcore/feature/booting-netcore
Puts in place the code to 'boot' Umbraco Core in netcore
2020-03-24 12:12:24 +11:00
Shannon 2f8a85abe5 resolves remaining PR comments 2020-03-24 12:11:46 +11:00
Shannon 139cd3935f oops 2020-03-24 12:00:48 +11:00
Shannon 2bbdb699f2 reduces code duplication 2020-03-24 11:59:42 +11:00
Shannon 919d418920 Gets the DB installing in integration tests, changes integratino tests to use Generic Host builder 2020-03-24 11:53:56 +11:00
Elitsa Marinovska 94a0f62525 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation 2020-03-23 14:32:28 +01:00
Bjarke Berg 8986783cbc Parse connection string provider 2020-03-23 14:31:21 +01:00
Bjarke Berg a3930b1b70 Merge branch 'netcore/dev' into netcore/feature/unit-test-project 2020-03-23 13:56:18 +01:00
Chris Oliver 3edfc42623 Collapse navigation items based on container size
- Previously a maximum of 8 items were shown.
- This change calculates the width of each item and displays as many as possible in the container.
- Any overflowing items will be moved to the ... menu
2020-03-23 13:48:40 +01:00
Olivier Bossaer ff2027df07 Fixes #7798 : Invalid implementation of IEnumerable in Content Cache 2020-03-23 13:27:04 +01:00
Bjarke Berg 919271b2c6 Post merge fix 2020-03-23 13:03:02 +01:00
Elitsa Marinovska 5293a3c1b5 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5490-abstract-clientdependency 2020-03-23 12:50:16 +01:00
Bjarke Berg 73a1058dd1 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Models/Property.cs
2020-03-23 12:48:56 +01:00
Elitsa Marinovska b833279534 Left out changes 2020-03-23 12:46:19 +01:00
Shannon 679b88a2fb more asserts 2020-03-23 17:35:04 +11:00
Shannon 5761381bc3 adds notes 2020-03-23 17:25:45 +11:00
Shannon 7900179abd oops fix build 2020-03-23 17:16:33 +11:00
Shannon 6013d856b7 Changes back TestHelperBase, we'll just allocate new configs each time. 2020-03-23 17:15:32 +11:00
Shannon Deminick 51d7ce0dc6 Merge pull request #7782 from PerplexDaniel/v8/feature/variationcontext-get-segment
Added GetSegment() method to VariationContext and uses it when conten…
2020-03-23 16:55:40 +11:00
Shannon 427c44468f Changes methods to properties since we don't return new instances each time. 2020-03-23 16:41:39 +11:00
Shannon 299e9eb209 fixing tests and merges 2020-03-23 16:39:27 +11:00
Shannon 1658fced23 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/booting-netcore
# Conflicts:
#	src/Umbraco.Core/IO/IOHelper.cs
#	src/Umbraco.Infrastructure/Runtime/WebRuntime.cs
#	src/Umbraco.Tests.Common/TestHelperBase.cs
#	src/Umbraco.Tests/Routing/RenderRouteHandlerTests.cs
#	src/Umbraco.Tests/Runtimes/StandaloneTests.cs
#	src/Umbraco.Web.BackOffice/AspNetCore/UmbracoBackOfficeServiceCollectionExtensions.cs
#	src/Umbraco.Web.UI.NetCore/Program.cs
#	src/Umbraco.Web.UI.NetCore/Startup.cs
#	src/Umbraco.Web/UmbracoApplication.cs
2020-03-23 15:50:01 +11:00
Shannon Deminick 91ae2d63da Merge pull request #7822 from umbraco/netcore/feature/ab3671-webruntime-netstandard
NetCore: Make WebRuntime netstandard compatible
2020-03-23 15:09:02 +11:00
SimonCropp 8752ce871a fix assert order of expted V actual 2020-03-20 15:06:27 +01:00
Bjarke Berg 4d7952b068 Clean up 2020-03-20 07:00:34 +01:00
Bjarke Berg 1270d03b76 Merge pull request #7813 from umbraco/netcore/feature/aspnetcore-config
NetCore: Config implementations for .NET Core
2020-03-19 19:52:33 +01:00
Bjarke Berg f3e3ac8969 Removed Machine key stuff 2020-03-19 19:11:57 +01:00
Bjarke Berg 7c011e5b57 Removed UseLegacyEncoding option from config 2020-03-19 19:09:33 +01:00
Bjarke Berg dd012db594 Introduced constants for config 2020-03-19 19:06:05 +01:00
Bjarke Berg b93b4f7c4f Changed CharCollection input to not special case : 2020-03-19 18:43:39 +01:00
Sebastiaan Janssen b9b3777e46 Merge branch 'v7/7.15.4' into v7/dev
# Conflicts:
#	build/NuSpecs/UmbracoCms.Core.nuspec
2020-03-19 14:18:59 +01:00
Sebastiaan Janssen 2f10051ee9 Merge branch 'v8/dev' into v8/contrib 2020-03-19 14:06:12 +01:00
Sebastiaan Janssen 8cd537cc96 Merge branch 'v8/8.5.5' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2020-03-19 14:03:38 +01:00
Sebastiaan Janssen 5531c7300d Update dependency for 8.5.5
(cherry picked from commit 2d3388d6d3)

# Conflicts:
#	src/SolutionInfo.cs
2020-03-19 14:02:01 +01:00
Bjarke Berg f84798322c AB3671 - Moved WebRuntime into infrastracutre, and removed typefinder reference in AppCaches (Replaced with string input with Type)..
- Move initialized of Current.Factory out of webruntime
2020-03-19 08:53:18 +01:00
Bjarke Berg 00418959f2 Extracted IConfigManipulator from IConnectionStrings, and implemented a XML (legacy) and JSON version. 2020-03-18 19:17:51 +01:00
Bjarke Berg 814ab3e63f Aligned default values for configs 2020-03-18 11:29:29 +01:00
Bjarke Berg 2aac7e627f Provider name fix 2020-03-18 09:05:31 +01:00
Bjarke Berg 8c8a9764cd Post merge + Added new SmtpSettingsBuilder 2020-03-18 07:42:35 +01:00
Bjarke Berg 9bf2d650ec Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/unit-test-project 2020-03-18 07:03:03 +01:00
Bjarke Berg 3e54d96f77 Bugfix 2020-03-18 06:36:52 +01:00
Bjarke Berg fb15da61aa build fixes 2020-03-17 20:13:16 +01:00
Bjarke Berg c2805a5067 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/aspnetcore-config
# Conflicts:
#	src/Umbraco.Configuration/ConfigsFactory.cs
#	src/Umbraco.Core/Configuration/ConfigsExtensions.cs
#	src/Umbraco.Tests/TestHelpers/TestObjects.cs
#	src/Umbraco.Web.BackOffice/AspNetCore/UmbracoBackOfficeServiceCollectionExtensions.cs
#	src/Umbraco.Web/UmbracoApplicationBase.cs
2020-03-17 18:33:10 +01:00
Bjarke Berg 3e75c889ab Imaging settings 2020-03-17 17:56:00 +01:00
Bjarke Berg f671fea998 NetCore: Refactor config/setting to not use dependencies (#7810)
* Avoid usage of IOHelper in GlobalSettings

* Avoid usage of IOHelper in ModelsBuilderConfig.cs

* Avoid usage of IOHelper in ConnectionStrings.cs

* Simplified more config

* Fix for ModelsBuilderConfig

* Moved GetUmbracoMvcAreaNoCache to IOHelperExtensions
2020-03-17 16:26:56 +01:00
Elitsa Marinovska 3dc5e438d0 Refactoring logic for updating ClientDependency version and deleting its temp directories 2020-03-17 15:45:34 +01:00
Bjarke Berg 0efc335e4f Merge branch 'netcore/feature/imagesharp-config' into netcore/feature/aspnetcore-config 2020-03-17 15:38:35 +01:00
Bjarke Berg 64ba5b6879 Clean up 2020-03-17 15:36:48 +01:00
Elitsa Marinovska 30516bfa12 Creating JavaScriptHelper class and taking some of the logic from the JsInitialization class 2020-03-17 15:36:38 +01:00
Elitsa Marinovska ae4b9c3f42 Moving CDF related files into its own folder 2020-03-17 15:35:18 +01:00
Elitsa Marinovska 755b52e136 Abstracting more CDF methods 2020-03-17 15:33:40 +01:00
Elitsa Marinovska 0eb194cd66 Removing dependency registration from WebInitialComposer as it is done in ClientDependencyComposer 2020-03-17 14:53:40 +01:00
Elitsa Marinovska 55f02f6d3f Refactoring the prop for getting the CDF version and its usages. Getting the HttpContext from httpContextAccessor. Removing FileMapDefaultFolder prop as it will be added in a new file 2020-03-17 14:52:06 +01:00
Bjarke Berg 1457e98554 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-03-17 14:11:39 +01:00
Bjarke Berg b2d529dea6 Merge branch 'netcore/feature/simplify-config' into netcore/feature/aspnetcore-config 2020-03-17 14:10:06 +01:00
Bjarke Berg 1c7187e2ee Moved GetUmbracoMvcAreaNoCache to IOHelperExtensions 2020-03-17 14:06:06 +01:00
Bjarke Berg 6d8a23504e Remove resize parameters if larger than 5000 2020-03-17 11:39:55 +01:00
Elitsa Marinovska 7d2f5aee49 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5490-abstract-clientdependency
# Resolved Conflicts:
#	src/Umbraco.Web.UI/Umbraco/Views/AuthorizeUpgrade.cshtml
#	src/Umbraco.Web.UI/Umbraco/Views/Default.cshtml
#	src/Umbraco.Web/Composing/Current.cs
#	src/Umbraco.Web/Editors/BackOfficeController.cs
#	src/Umbraco.Web/Editors/BackOfficeServerVariables.cs
#	src/Umbraco.Web/Editors/PreviewController.cs
#	src/Umbraco.Web/HtmlHelperBackOfficeExtensions.cs
2020-03-17 11:01:32 +01:00
Elitsa Marinovska da24b03b3b Changing to the new types and referencing the abstraction methods 2020-03-17 10:35:06 +01:00
Elitsa Marinovska 4b7d823aca Injecting the abstraction whenever necessary 2020-03-17 10:28:03 +01:00
Elitsa Marinovska df0f75c98f Creating a ClientDependencyComponent and Composer for taking out ConfigureClientDependency() 2020-03-17 10:25:55 +01:00
Elitsa Marinovska ca5acbe24b Creating abstraction and its implementation for untangling CDF from the code 2020-03-17 10:24:11 +01:00
Elitsa Marinovska de9d82777f Introducing ReplaceFirst() as string extension instead of using the CDF one 2020-03-17 10:21:43 +01:00
Elitsa Marinovska 0df497fd95 Creating our own types because we don't want to reference CDF 2020-03-17 10:17:53 +01:00
Daniël Knippers eb04d55d2b Makes sure supplied arguments cannot be used more than once. 2020-03-16 20:06:13 +01:00
Bjarke Berg a96bcc05f5 Use the new ConfigsFactory 2020-03-16 19:14:04 +01:00
Bjarke Berg 449d534701 Fix buf in Healthchecksettings 2020-03-16 19:00:18 +01:00
Bjarke Berg 877339e7db Implemented most of the configs for asp.net core 2020-03-16 18:51:35 +01:00
Bjarke Berg bb89eec04f Merge branch 'netcore/feature/simplify-config' into netcore/feature/aspnetcore-config 2020-03-16 14:57:11 +01:00
Scott Brady db87a9dd40 Compiling with minimal Microsoft.AspNet.Identity references 2020-03-16 13:53:03 +00:00
Bjarke Berg de0a578dc8 Fix for ModelsBuilderConfig 2020-03-16 14:48:41 +01:00
Bjarke Berg 51879c0b80 Implemented config for asp.net core 2020-03-16 14:02:08 +01:00
Shannon 7e679f34c4 fixes sln 2020-03-16 22:41:55 +11:00
Bjarke Berg c1f42a9258 Simplified more config 2020-03-13 20:37:15 +01:00
Scott Brady 2e7e6bc4a9 Initial side by side implementation 2020-03-13 15:15:14 +00:00
Jeffrey Schoemaker ead3de05e4 Added the correct sources to the buildscripts. If you have inte… (#7089) 2020-03-13 13:30:54 +01:00
Bjarke Berg 263b986ced Avoid usage of IOHelper in ConnectionStrings.cs 2020-03-13 12:45:22 +01:00
Bjarke Berg 1c03b470d9 Avoid usage of IOHelper in ModelsBuilderConfig.cs 2020-03-13 12:16:20 +01:00
Shannon Deminick 0a45f4afef Fixes issue with deep cloning property values (#7795) 2020-03-13 10:52:38 +01:00
Bjarke Berg ea15fdb14e Avoid usage of IOHelper in GlobalSettings 2020-03-13 10:00:03 +01:00
Sebastiaan Janssen 4c134f9701 Revert "Fix the build for people on VS version 16.4.5+"
This has been properly fixed in Umbraco.Build 0.2.14 instead

This reverts commit f4861f6802.
2020-03-13 09:47:05 +01:00
Shannon cb749242ff name change 2020-03-13 19:12:52 +11:00
Shannon 44fd18d787 Gets AddUmbracoBackOffice working 2020-03-13 19:10:21 +11:00
Shannon 9ded4c7ddb Wires up DI for cross wiring correctly ensuring that it occurs at the very end of ConfigureServices, updates tests accordingly, fixes a few other things. 2020-03-13 18:44:58 +11:00
Shannon c9913f45a0 Moves LightInjectValidation to common and validates the container as part of new tests 2020-03-13 15:59:04 +11:00
Shannon f57a2ec576 less allocations 2020-03-13 14:45:54 +11:00
Shannon 41163c3c78 Gets CoreRuntime loading/booting in integration project 2020-03-13 14:43:41 +11:00
Shannon fea65897ba Merge branch 'netcore/dev' into netcore/feature/booting-netcore 2020-03-13 12:50:08 +11:00
Shannon 6fafe0408d oops fixes build 2020-03-13 12:47:09 +11:00
Shannon 94c9057119 Moves some stub test objects to the common test lib 2020-03-13 12:44:42 +11:00
Shannon 32a27be206 fixing tests 2020-03-13 12:33:28 +11:00
Shannon 54727ca0fd Ensures package versions are all streamlined 2020-03-13 12:24:43 +11:00
Shannon 4e4df96140 Creates new Umbraco.Tests.Common netstandard project to host the common testing functionality between netframework and netcore, this will be ongoing work (doesn't need to be done all at once) 2020-03-13 12:08:25 +11:00
Shannon a01b06fc64 fix build after merge 2020-03-13 11:17:16 +11:00
Shannon 6c4acfca31 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/booting-netcore 2020-03-13 11:15:28 +11:00
Shannon ef99d434d8 update ignore 2020-03-13 11:15:02 +11:00
Shannon 4cc20b06bc updates lightinject, adds method to create an LI container from an MSDI collection, updates a test 2020-03-13 11:13:47 +11:00
Shannon Deminick 7f8c7e472f Merge pull request #7778 from umbraco/netcore/feature/typefinder-netstandard
Creates a netstandard compliant TypeFinder
2020-03-13 11:11:50 +11:00
Shannon Deminick f9d29b17e2 Merge pull request #7800 from umbraco/netcore/feature/cleanup-config
NetCore: Granulate the Config/Settings
2020-03-13 11:09:15 +11:00
Sebastiaan Janssen f4861f6802 Fix the build for people on VS version 16.4.5+ 2020-03-12 17:17:49 +01:00
Bjarke Berg 5f13dde1cd Moved functionality to write to the connection strings into the configuration area 2020-03-12 16:56:39 +01:00
Niels Lyngsø 93bfd3725e remove console 2020-03-12 16:32:18 +01:00
Warren Buckley 2d3388d6d3 Update dependency for 8.5.5 2020-03-12 15:52:23 +01:00
Niels Lyngsø 9859f1b0d3 clean up and prepare for implementing settings 2020-03-12 15:48:26 +01:00
Sebastiaan Janssen d52695d81f Update dependency for 7.15.4 2020-03-12 15:45:21 +01:00
Bjarke Berg c486444eda Cleaned up config for Content settings 2020-03-12 15:30:22 +01:00
Bjarke Berg cb0994a929 Cleaned up config for Security settings 2020-03-12 14:36:25 +01:00
Shannon da58b7a743 Adds integration test project for netcore3 and poc for crosswiring di container with msdi 2020-03-12 23:28:24 +11:00
Bjarke Berg e27a05c3e8 Cleaned up config for RequestHandler settings 2020-03-12 12:46:08 +01:00
Niels Lyngsø d8705831da only show on hover or focus for block-actions 2020-03-12 11:31:06 +01:00
Bjarke Berg e2dfc68718 Cleaned up config for WebRouting settings 2020-03-12 09:52:34 +01:00
Bjarke Berg e4ff481053 Cleaned up config for Keep Alive settings 2020-03-12 08:28:31 +01:00
Bjarke Berg f446e52d8f Cleaned up condig for Logging and Tours 2020-03-12 08:24:02 +01:00
Shannon 84847267ba updates CoreRuntime with notes and fallback 2020-03-12 15:26:06 +11:00
Niels Lyngsø 5aba6e873c Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list 2020-03-11 13:58:22 +01:00
Niels Lyngsø 57e9a9039c ServerVariable for showAllowSegmentationForDocumentTypes 2020-03-11 13:21:22 +01:00
Bjarke Berg e07c9abd58 Updated js code in UI project 2020-03-11 12:54:33 +01:00
Niels Lyngsø d4dae19888 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB4550-segments-ui-variant-picker
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/validation/valpropertymsg.directive.js
#	src/Umbraco.Web.UI.Client/src/less/sections.less
2020-03-11 12:00:19 +01:00
Niels Lyngsø 007fe8d894 7434 do not use umb outline for select (#7788) 2020-03-11 11:18:53 +01:00
Bjarke Berg da7552204d Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Web/Models/RegisterModel.cs
#	src/Umbraco.Web/UmbracoHelper.cs
2020-03-11 07:44:17 +01:00
Bjarke Berg 39026258ec Merge pull request #7752 from umbraco/v8/feature/AB5435-make-umbracohelper-props-obsolete
Obsoleting UmbracoHelper properties
2020-03-11 07:40:46 +01:00
Shannon e3997a4ab2 adds notes 2020-03-11 15:32:26 +11:00
Shannon 3bfa2e76cb Adjust type finder and adds benchmark 2020-03-11 15:28:08 +11:00
Shannon 66cd25d8f5 Adds notes 2020-03-11 13:10:34 +11:00
Shannon 5ee2286436 Removes build manager type finder and friends 2020-03-11 12:43:46 +11:00
Sebastiaan Janssen a695a6ad76 Merge branch 'v7/dev' into v8/dev
# Conflicts:
#	apidocs/umbracotemplate/styles/main.css
#	build/NuSpecs/UmbracoCms.Core.nuspec
#	src/Umbraco.Core/ObjectResolution/ApplicationEventsResolver.cs
#	src/Umbraco.Core/Serialization/JsonNetSerializer.cs
#	src/Umbraco.Tests/Resolvers/LazyManyObjectResolverTests.cs
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/mediaPicker/mediapicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.controller.js
#	src/Umbraco.Web.UI/umbraco/config/lang/sv.xml
#	src/Umbraco.Web/Cache/DistributedCacheExtensions.cs
#	src/Umbraco.Web/Cache/MediaCacheRefresher.cs
#	src/Umbraco.Web/Cache/UnpublishedPageCacheRefresher.cs
#	src/Umbraco.Web/Editors/BackOfficeController.cs
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/Umbraco.Web/Profiling/WebProfiler.cs
#	src/Umbraco.Web/Profiling/WebProfilerProvider.cs
#	src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedMediaCache.cs
#	src/Umbraco.Web/PublishedContentExtensions.cs
#	src/Umbraco.Web/Routing/ContentFinderByNiceUrlAndTemplate.cs
#	src/Umbraco.Web/Search/ExamineEvents.cs
#	src/Umbraco.Web/umbraco.presentation/content.cs
#	src/Umbraco.Web/umbraco.presentation/umbraco/developer/RelationTypes/EditRelationType.aspx.cs
2020-03-10 22:03:28 +01:00
Sebastiaan Janssen 7dc6ddf3a8 Merge branch 'v7/dev' into v7/7.15 2020-03-10 21:54:01 +01:00
Steve Megson d11a1946f5 V7: Don't call ClearPreviewXmlContent from ClearDocumentXmlCache (#6631) 2020-03-10 21:52:53 +01:00
Sebastiaan Janssen 959a6df634 Merge branch 'v7/dev' into v7/7.15 2020-03-10 21:51:00 +01:00
Marc Goodson 7ca6781d09 v7: Fix false matches for AltTemplate convention Urls (#7150) 2020-03-10 21:49:59 +01:00
Sebastiaan Janssen cfdc4ce807 Merge branch 'v7/dev' into v7/7.15
# Conflicts:
#	src/Umbraco.Core/Serialization/JsonNetSerializer.cs
#	src/Umbraco.Web/Editors/BackOfficeController.cs
2020-03-10 21:38:33 +01:00
Niels Lyngsø 26ac694dba clean css 2020-03-10 15:05:32 +01:00
Niels Lyngsø 1117f37b9e remove unused block watcher component 2020-03-10 15:04:50 +01:00
Bjarke Berg cf060e9789 Merge remote-tracking branch 'origin/v8/feature/AB5435-make-umbracohelper-props-obsolete' into v8/feature/AB5435-make-umbracohelper-props-obsolete 2020-03-10 10:37:13 +01:00
Bjarke Berg 9be30f3e91 Added info to obsolete message 2020-03-10 10:36:34 +01:00
Bjarke Berg 9d6762fb6a Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Models/PropertyType.cs
#	src/Umbraco.Examine.Lucene/BackOfficeExamineSearcher.cs
#	src/Umbraco.Infrastructure/Models/Mapping/EntityMapDefinition.cs
#	src/Umbraco.Tests/Models/PropertyTypeTests.cs
2020-03-10 08:25:43 +01:00
Daniël Knippers 3eb4c642c3 Added GetSegment() method to VariationContext and uses it when contentId is available 2020-03-09 17:07:56 +01:00
Scott Brady 4e69e1abe6 Initial user store 2020-03-09 16:01:57 +00:00
Niels Lyngsø d92023e719 fix C# test 2020-03-09 15:28:42 +01:00
Niels Lyngsø ad93436178 more tests 2020-03-09 12:43:53 +01:00
Shannon d3ebdb6198 fixes test 2020-03-09 22:25:58 +11:00
Bjarke Berg be753754a4 Merge pull request #7740 from AndyButland/netcore/77007-replace-no-nodes
NetCore: Replaced nonodes.aspx with MVC controller and view, with configurable view location
2020-03-09 12:07:06 +01:00
Shannon 8cb39ba583 Fixes tests and some issues discovered 2020-03-09 21:23:38 +11:00
Warren Buckley 69483d03b6 Set version to 8.6.0
.\build SetUmbracoVersion 8.6.0
2020-03-09 09:57:22 +00:00
Jason Elkin bad1913e0e update Umbraco.ModelsBuilder.Embedded attributes to match assembly name 2020-03-09 10:19:26 +01:00
Anders Brohäll 46686ffd90 Corrected document outline 2020-03-09 08:51:00 +01:00
Shannon fce27fd42d Ensures all assemblies at the same location as the entry point assemblies are queried. 2020-03-09 14:15:02 +11:00
Shannon d92fc8736a More cleanup, cleans up tests, cleans up the BuildManagerAssemblyProvider (even though it's not used) 2020-03-09 13:31:56 +11:00
Shannon 0c8426f308 Cleans up POC code (still more to do) 2020-03-09 13:14:16 +11:00
Shannon 41c2d01078 initial POC code 2020-03-09 11:03:42 +11:00
Niels Lyngsø d344c5a2a8 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list 2020-03-06 14:01:28 +01:00
Niels Lyngsø 83c76cdd87 use an isolated scope 2020-03-06 14:01:15 +01:00
Niels Lyngsø 790430f2bb syncronization from infinite editing layers 2020-03-06 11:17:46 +01:00
Niels Lyngsø 1715e1747f provide key on blockModel for angularJS performance optimization 2020-03-06 10:41:22 +01:00
Niels Lyngsø 8a1b56b475 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list 2020-03-06 10:33:24 +01:00
Andy Butland 8e3967c596 Merge branch 'netcore/dev' into netcore/77007-replace-no-nodes
# Conflicts:
#	src/Umbraco.Core/Configuration/IGlobalSettings.cs
#	src/Umbraco.Core/Constants-Web.cs
2020-03-06 07:28:13 +01:00
Niels Lyngsø bc97861316 more tests for block list editor 2020-03-05 17:38:14 +01:00
Niels Lyngsø 74165ae859 another two tests 2020-03-05 13:14:51 +01:00
Niels Lyngsø c4965dad24 space change 2020-03-05 11:56:23 +01:00
Niels Lyngsø d01d55b621 promise test working 2020-03-05 11:55:37 +01:00
Niels Lyngsø 07bca56c55 Chrome Debug for VS code 2020-03-05 11:54:36 +01:00
Niels Lyngsø e82cbbd500 compile config for test mode 2020-03-05 11:54:20 +01:00
Andy Butland 3d20653310 Aligned files with new project structure and fixed failing unit tests. 2020-03-05 07:53:27 +01:00
Shannon Deminick a0aad045fb Merge pull request #7652 from benjaminhowarth1/patch-1
Update PropertyType.cs
2020-03-05 17:51:03 +11:00
Andy Butland e21d0870a7 Merge branch 'netcore/dev' into netcore/7668-remove-repository-concerns-from-services
# Conflicts:
#	src/Umbraco.Infrastructure/Composing/CompositionExtensions/Repositories.cs
2020-03-05 07:36:14 +01:00
Shannon Deminick fbe3925b54 Merge pull request #7705 from umbraco/netcore/feature/executable-backoffice
NetCore: Executable in .NET Core
2020-03-05 15:20:47 +11:00
Shannon 4a01cfe754 changes to class libraries 2020-03-05 15:20:08 +11:00
Kenn Jacobsen 4ad73dc183 Fix completely broken(tm) media pickers 2020-03-04 16:27:28 +01:00
Niels Lyngsø 51b0c81ead clean up 2020-03-04 13:52:26 +01:00
Bjarke Berg 6241bee1b2 Introduce methods on current, that can be necessary if not using the obsolete properties. 2020-03-04 13:49:13 +01:00
Niels Lyngsø eda7c02fab simpler label generation 2020-03-04 13:47:45 +01:00
Niels Lyngsø 0c2a03bd46 block list editor better naming 2020-03-04 13:44:53 +01:00
Bjarke Berg 8bc077fa18 Introduce methods on current, that can be necessary if not using the obsolete properties. 2020-03-04 13:37:05 +01:00
Niels Lyngsø 5c47352b0e remove unused paste function 2020-03-04 13:34:03 +01:00
Niels Lyngsø beda2fdf72 order var declarations 2020-03-04 13:32:58 +01:00
Niels Lyngsø 5a65719b0d block list editor copy paste feature 2020-03-04 13:30:26 +01:00
Warren Buckley cbd4746c76 Cherry pick of 7bfeae7329
Merge pull request #7745 from kjac/v8/fix/media-picker-upload-rte

V8: Fix broken "upload and insert media" in RTE
2020-03-04 13:17:11 +01:00
Bjarke Berg 290e5b58a0 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/executable-backoffice
# Conflicts:
#	src/Umbraco.Web/Runtime/WebRuntime.cs
2020-03-04 10:10:03 +01:00
Warren Buckley 7bfeae7329 Merge pull request #7745 from kjac/v8/fix/media-picker-upload-rte
V8: Fix broken "upload and insert media" in RTE
2020-03-04 10:04:00 +01:00
Bjarke Berg d53dd71204 Merge pull request #7750 from umbraco/netcore/feature/untangle-membership
Netcore: Untangle membership helper and trim Web even more
2020-03-04 08:20:25 +01:00
Bjarke Berg 152fcf7d1b Fixed based on review findings 2020-03-04 07:50:37 +01:00
Poornima Nayar fd47c3300c Semantic fixes grid pre values (#7748)
* Create Content Blueprints - Semantic fixes

* Grid Prevalues Screen -Semantic changes

* reverted a change I accidentally made
2020-03-03 23:02:14 +01:00
Poornima Nayar ffb5265f35 Create Content Blueprints - Semantic fixes (#7747) 2020-03-03 22:40:45 +01:00
Niels Lyngsø 8db6291c5f Adding more fine colors for UI (#7535)
* adding colors: pinkExtraLight + gray-12 + @gray-13

* convert to hex color code

* adjusted color slightly

Co-authored-by: Kenn Jacobsen <post@kennjacobsen.dk>
2020-03-03 21:46:00 +01:00
Bjarke Berg fec9c44433 Merge pull request #7751 from cyberdot/temp-7667
NetCore: Abstract ConfigurationManager references
2020-03-03 14:39:21 +01:00
Niels Lyngsø fd6d5dcedf sync models 2020-03-03 14:30:21 +01:00
Bjarke Berg 2d175ffb86 - Moved ModelsBuilder constant into Core under constants
- Move the registration of configs into the factory
- Moved extension methods of ModelsMode into Umbraco.Core
- Removed references to Umbraco.Configuration from Umbraco.Infrastructure and Umbraco.ModelsBuilder.Embedded
2020-03-03 14:15:30 +01:00
Bjarke Berg 341ac1c46b Removed the abstractions project file 2020-03-03 13:46:02 +01:00
Bjarke Berg bce196353e Fix view 2020-03-03 13:43:53 +01:00
Bjarke Berg 53953338d8 Merged Umbraco.Abstractions into Umbraco.Core 2020-03-03 13:42:07 +01:00
cyberdot efd8e37f34 Merge branch 'netcore/dev' into temp-7667 2020-03-03 12:05:31 +00:00
Niels Lyngsø 36dab09cc3 block editor implementation 2020-03-03 13:02:13 +01:00
cyberdot 01362d0dd0 NetCore: Abstract ConfigurationManager references 2020-03-03 11:18:54 +00:00
Bjarke Berg a4003ad799 Clean up 2020-03-03 12:09:15 +01:00
elitsa 4cbaec68f0 Obsoleting UmbracoHelper props which are going to be removed in the future 2020-03-03 12:07:56 +01:00
Bjarke Berg 53769b42b3 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/untangle-membership 2020-03-03 12:01:54 +01:00
Elitsa Marinovska 84f19e093a NetCore: Refactor internal usages of UmbracoHelper (#7744)
* Removing properties related to IPublishedContentQuery, ITagQuery, ICultureDictionaryFactory, IUmbracoComponentRenderer from UmbracoHelper and using the corresponding private fields instead. Removing Media related methods

* Removed UmbracoHelper from UmbracoApiControllerBase

* Removed UmbracoHelper references

* Inject the needed Interfaces to classes that previously used UmbracoHelper to get the same functionality

* Fixed tests referencing UmbracoHelper

* Adding Media methods back

* Cleanup and moved UmbracoHelper from more base classes, when not used + simplified tests

* Reintroduced some methods..

* Reintroduced some methods..

* Reintroducing last missing bits

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
2020-03-03 11:59:17 +01:00
Bjarke Berg e9f7034365 Moved compoenents and composers 2020-03-03 07:29:51 +01:00
Kenn Jacobsen 55bfa57525 Fix broken "upload and insert media" in RTE 2020-03-02 21:57:59 +01:00
Andy Butland 5fb23951cf Amended as per PR comments to support replacement of no nodes functionality via customising the route table. 2020-03-02 17:17:14 +01:00
Bjarke Berg 81c975381f Merge branch 'netcore/dev' into netcore/feature/untangle-membership
# Conflicts:
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
2020-03-02 13:19:38 +01:00
Niels Lyngsø 13aa5cf2ba Revert "rename view to overlayView"
This reverts commit 5b910c178a.
2020-03-02 11:23:57 +01:00
Niels Lyngsø c72a36c373 block editor work 2020-03-02 11:12:17 +01:00
Niels Lyngsø 5b910c178a rename view to overlayView 2020-03-02 11:12:04 +01:00
Bjarke Berg 6f5e7b9617 Replace the favicon with the U-logo 2020-03-02 09:08:14 +01:00
Bjarke Berg 07238e277b Merge branch 'netcore/dev' into netcore/feature/executable-backoffice 2020-03-02 09:07:25 +01:00
Bjarke Berg 4d3e9601f9 post merge fix 2020-03-02 09:07:05 +01:00
Kenn Jacobsen 9374f61d13 Make media picker open in a medium sized overlay 2020-03-02 08:49:31 +01:00
Kenn Jacobsen 2e40b11cd1 Make sure entity media path is mapped for DTO types of GenericContentEntityDto
(cherry picked from commit fbe963a542)
2020-03-02 08:47:45 +01:00
Kenn Jacobsen fbe963a542 Make sure entity media path is mapped for DTO types of GenericContentEntityDto 2020-03-02 08:45:38 +01:00
Bjarke Berg 1ea39f2762 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Models/PublishedContent/IPublishedContent.cs
#	src/Umbraco.Core/Models/PublishedContent/PublishedContentBase.cs
#	src/Umbraco.Core/Models/PublishedContent/PublishedContentWrapped.cs
#	src/Umbraco.Core/Packaging/ConflictingPackageData.cs
#	src/Umbraco.Core/Packaging/PackagesRepository.cs
#	src/Umbraco.Core/PublishedCache/PublishedMember.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/MacroRepository.cs
#	src/Umbraco.Infrastructure/PropertyEditors/RichTextEditorPastedImages.cs
#	src/Umbraco.PublishedCache.NuCache/PublishedContent.cs
#	src/Umbraco.Tests/Persistence/Repositories/MacroRepositoryTest.cs
#	src/Umbraco.Tests/PublishedContent/SolidPublishedSnapshot.cs
#	src/Umbraco.Web/Macros/PublishedContentHashtableConverter.cs
#	src/Umbraco.Web/PublishedContentExtensions.cs
#	src/Umbraco.Web/Trees/MediaTypeTreeController.cs
2020-03-02 08:34:52 +01:00
Bjarke Berg cd44935b1c Merge pull request #7722 from umbraco/netcore/feature/move-more-install-stuff
NetCore: Moved install steps + dashboards
2020-03-02 08:28:01 +01:00
Bjarke Berg b5171fae30 Introduced GetRequiredUmbracoContext extension on IUmbracoContextAccessor 2020-03-02 07:58:02 +01:00
Bjarke Berg ef16321265 Break cycular dependency, by injecting IUmbracoDatabaseFactory instead of ISqlContext Directly 2020-03-02 07:50:55 +01:00
Poornima Nayar 867232531c Create Content Blueprints accessibility improvements (#7020)
* Create Content Blueprints - Disallow element types and some accessibility improvements

* re-enabled element types for content blueprint
2020-02-29 22:36:56 +01:00
Poornima Nayar 2853448963 Improve accessibility of grid prevalues screen (#6949)
* WIP Improve accessibility of grid prevalues screen

* Clean up of the view, improve accessibility and add localization fallbacks

* forgot to commit the stylesheet

* formatting fixes
2020-02-29 21:50:50 +01:00
Andy Butland e6a55a215a Replaced nonodes.aspx with MVC controller and view, with configurable view location. 2020-02-29 14:26:35 +01:00
Poornima Nayar 0f540bc74d RTE config tool bar options are messed up 2020-02-29 12:09:17 +01:00
Nathan Woulfe af7919ce65 make events public 2020-02-29 11:32:24 +01:00
Bjarke Berg 7daee53c64 Isolated more web usages - Membership and Request stuff
- Moved a few more files
2020-02-28 11:15:25 +01:00
Poornima Nayar 05354b2ce9 Merge pull request #7140 from kjac/v8/fix/media-picker-logout-login
V8: Make sure the media picker can survive a logout and subsequent login
(cherry picked from commit e36df809c0)
2020-02-28 09:24:17 +00:00
Sebastiaan Janssen ba4481319e Merge branch 'v8/dev' into v8/contrib 2020-02-28 09:01:52 +01:00
Claus f8b5083a9f Merge pull request #7719 from umbraco/v8/bugfix/fix-collection-items-DI
Fixes CollectionBuilder's to ensure that each item in the collectionis registered in DI with the same lifetime as the collection itself
2020-02-27 13:09:28 +01:00
Bjarke Berg 953c3a667a More logic in AspNetCoreHostingEnvironment 2020-02-27 11:48:38 +01:00
Bjarke Berg bf2e8c90ed Merge branch 'netcore/feature/move-more-install-stuff' into netcore/feature/executable-backoffice 2020-02-27 11:16:17 +01:00
Bjarke Berg c3fcbc0a72 Moved functionality from HostingEnvironment into IUmbracoApplicationLifetime, to not have duplicated logic 2020-02-27 11:13:57 +01:00
Bjarke Berg 2a16ebee0b Added more aspnet core implementation of interfaces 2020-02-27 11:10:43 +01:00
Bjarke Berg 178a172be1 Merge branch 'netcore/feature/move-more-install-stuff' into netcore/feature/executable-backoffice 2020-02-27 10:58:48 +01:00
Bjarke Berg 0c56437ddd Merge branch 'netcore/dev' into netcore/feature/move-more-install-stuff
# Conflicts:
#	src/Umbraco.Web/Composing/Current.cs
2020-02-27 10:55:26 +01:00
Bjarke Berg f0dee45069 Refactored UmbracoApplication.Restart 2020-02-27 10:55:07 +01:00
Bjarke Berg dc36fa1290 Fix issues in views 2020-02-27 10:43:09 +01:00
Bjarke Berg 765f50a301 Merge branch 'netcore/feature/move-more-install-stuff' into netcore/feature/executable-backoffice 2020-02-27 10:04:30 +01:00
Bjarke Berg 6b9042de7d Merge branch 'netcore/dev' into netcore/feature/move-more-install-stuff
# Conflicts:
#	src/Umbraco.Web/UmbracoHelper.cs
2020-02-27 10:03:13 +01:00
Bjarke Berg 8e3cb8f3e6 Removed MembershipHelper from UmbracoHelper 2020-02-27 09:56:35 +01:00
Poornima Nayar 793119b0ec Merge pull request #7132 from kjac/v8/fix/nested-content-copy-action-console-error
V8: Fix JS error when editing document types with Nested Content properties
2020-02-26 16:54:36 +00:00
Poornima Nayar a43fbaee82 Merge pull request #7325 from kjac/v8/fix/treepicker-conditionally-load-languages
V8: Don't load languages in treepicker unless they're needed
2020-02-26 16:08:31 +00:00
Niels Lyngsø f43c0338f9 block list editor 2020-02-26 17:03:48 +01:00
Niels Lyngsø e30d90ac7e safer code 2020-02-26 17:03:24 +01:00
Niels Lyngsø 4a6484b577 test for blockEditorService 2020-02-26 17:03:06 +01:00
Kenn Jacobsen 384746cd26 V8: Use current client culture when searching content pickers (#7123)
* Use current client culture when searching content pickers

* Use string interpolation
2020-02-26 15:16:26 +00:00
Niels Lyngsø 3779ea8050 use Chrome Headless for unit tests 2020-02-26 14:49:17 +01:00
Niels Lyngsø 28adc1b4f3 renaming 2020-02-26 14:47:52 +01:00
Matthew-Wise 4dc5b02b89 Changed showPage to Save and publish updated button style to link (#7649)
* Changed showPage to Save and publish updated button style to link

* Change language key from showPage to saveAndPreview
2020-02-26 13:44:57 +00:00
Bjarke Berg ba97598044 - Moved dashboards to Core
- Introduced IUserAgentProvider, instead of using HttpContext directly
- Introduced IUmbracoApplicationLifetime, instead of using UmbracoApplication directly
- Introduced IMachineKeyConfig instead of using WebConfigurationManager directly
- Move information about dbProvider to the SqlSyntax
- Moved install steps
2020-02-26 13:52:06 +01:00
Niels Lyngsø 8ffae1ce31 implement block list editor 2020-02-26 13:02:22 +01:00
Bjarke Berg c7a45eff1d Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/executable-backoffice 2020-02-26 10:39:11 +01:00
Bjarke Berg 8d76499969 Separated TreeNode stuff from the commonMapper to allow move of more mappers 2020-02-26 10:33:05 +01:00
Bjarke Berg 57aa93959a Merge pull request #7717 from umbraco/netcore/feature/migrate-more-property-editors
Netcore: Move property editors to Infrastructure
2020-02-26 07:49:36 +01:00
Anders Bjerner 7d0733f40d Making DataEditor.GetValueEditor method virtual 2020-02-26 07:42:59 +01:00
Bjarke Berg 35eb67dd10 Merge pull request #7712 from umbraco/netcore/feature/AB5168-migrate-macros
Netcore: Move macros to Abstractions and Infrastructure
2020-02-26 07:39:06 +01:00
Shannon 3553bb2aa3 Fixes CollectionBuilder's to ensure that each item in the collection is registered in DI with the same lifetime as the collection itself 2020-02-26 12:12:15 +11:00
Poornima Nayar e36df809c0 Merge pull request #7140 from kjac/v8/fix/media-picker-logout-login
V8: Make sure the media picker can survive a logout and subsequent login
2020-02-25 22:26:18 +00:00
Sebastiaan Janssen b42883280b Merge branch 'v8/dev' into v8/contrib 2020-02-25 22:36:33 +01:00
Sebastiaan Janssen 67168068f6 Merge branch 'v8/contrib' into pr/7449
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/mediapicker/mediapicker.html
2020-02-25 22:12:37 +01:00
Tom Pipe f7594b36db Ensure macromodel implements IContentModel, fixing #7504 2020-02-25 22:08:03 +01:00
Kenn Jacobsen 7d0c5508da Rollback breaks for non-string property values 2020-02-25 21:54:34 +01:00
Kenn Jacobsen 50ab5ce79b Open rollback in a medium sized panel 2020-02-25 21:53:41 +01:00
Kenn Jacobsen 044dc4eb98 Only show culture for content links if there is more than one culture 2020-02-25 21:51:31 +01:00
Kenn Jacobsen ea29eb993c Align "Field is mandatory" label with the actual toggle 2020-02-25 21:50:30 +01:00
Kenn Jacobsen e4edd47a48 Ensure that empty asset URLs in plugin manifests do not break the application 2020-02-25 21:48:58 +01:00
Kenn Jacobsen 5e155a871c Fix the create dialog on empty installs 2020-02-25 21:42:37 +01:00
Kenn Jacobsen b48e288d71 Fix JS errors for Nested Content in single mode
(cherry picked from commit f4cd1c2f0c)
2020-02-25 21:29:48 +01:00
Kenn Jacobsen f4cd1c2f0c Fix JS errors for Nested Content in single mode 2020-02-25 21:28:40 +01:00
Bjarke Berg 5e1ac76e5f Bugfix: Sometimes the httpcontext is null here 2020-02-25 21:11:17 +01:00
Scott Brady a05a45bb64 Added identity stores. TODOs 2020-02-25 18:21:07 +00:00
Scott Brady 38ea741d78 Removed use of Identity.Owin extension methods. Replaced security stamp constant 2020-02-25 18:06:11 +00:00
Scott Brady 3294ee8e18 Addd ASP.NET Core Identity 2020-02-25 17:32:39 +00:00
ksingercoffey 5a35ba60c1 #7643: add type="button" to prevent default clicks by pressing Enter (#7651)
(cherry picked from commit 5307a8cf13)
2020-02-25 16:53:53 +01:00
elitsa 42db16b430 Moving the last few Property Editors to Infrastructure proj 2020-02-25 16:06:14 +01:00
Scott Brady 70232be288 Merge branch 'netcore/dev' into netcore/feature/users 2020-02-25 14:05:47 +00:00
Elitsa Marinovska e0b9219528 Update MacroContent.cs to use is operator for comparison to null
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2020-02-25 14:27:58 +01:00
Warren Buckley e2f54c3f3a Merge pull request #7696 from kjac/v8/fix/login-culture-unset-2
V8: Make sure mculture is set after logout and login
(cherry picked from commit 4acddb288a)
2020-02-25 13:10:10 +00:00
Warren Buckley aa8e2b0859 Merge pull request #7696 from kjac/v8/fix/login-culture-unset-2
V8: Make sure mculture is set after logout and login
(cherry picked from commit 4acddb288a)
2020-02-25 13:08:22 +00:00
Warren Buckley 4acddb288a Merge pull request #7696 from kjac/v8/fix/login-culture-unset-2
V8: Make sure mculture is set after logout and login
2020-02-25 13:07:34 +00:00
elitsa 02fbf0f9e7 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5168-migrate-macros 2020-02-25 13:44:48 +01:00
elitsa 0bdf03bda2 Removing the last references to MacroTypes and removing the references to pageElements coming from old legacy (PublishedContentHashtableConverter), which is deleted as well 2020-02-25 13:43:08 +01:00
elitsa 65e719cfa6 Migrating more Macro files to Abstractions or Infrastructure 2020-02-25 13:40:22 +01:00
elitsa 0a130d6bbd Removing MacroType enum as we only have one type - PartialView. Refactoring all its references and fixing tests 2020-02-25 13:38:36 +01:00
elitsa c3d3e6e27d As GetAsText() had no other purpose when WebForm Controls were removed, it is now replaced with the populated Text property 2020-02-25 13:33:22 +01:00
elitsa 10563577d9 Eliminating WebForms Controls from MacroContent and migrating the file from Web to Abstractions/Core project 2020-02-25 13:29:03 +01:00
Niels Lyngsø 82676ae649 rename ElementTypes to Blocks 2020-02-25 12:55:27 +01:00
Bjarke Berg 85df997486 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/executable-backoffice 2020-02-25 12:00:40 +01:00
Bjarke Berg bf4023afa7 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Infrastructure/PropertyEditors/DataValueReferenceFactoryCollection.cs
#	src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs
#	src/Umbraco.Web/PropertyEditors/ValueConverters/MarkdownEditorValueConverter.cs
2020-02-25 11:57:11 +01:00
Bjarke Berg 814e74b5c5 removed reference to non existing project 2020-02-25 10:58:53 +01:00
Bjarke Berg d140723b22 Cleanup legacy stuff in Umbraco.Web.csproj 2020-02-25 10:56:33 +01:00
Warren Buckley 78a46677e5 Merge pull request #7630 from kjac/v8/fix/nested-content-single-mode-add-more-than-one
V8: Nested Content can't add multiple items
(cherry picked from commit a65bf08f1a)
2020-02-25 09:47:46 +00:00
Warren Buckley a65bf08f1a Merge pull request #7630 from kjac/v8/fix/nested-content-single-mode-add-more-than-one
V8: Nested Content can't add multiple items
2020-02-25 09:43:56 +00:00
Bjarke Berg 95a27b82a2 Fix for jobject casting issue 2020-02-25 10:40:39 +01:00
Bjarke Berg f5a1981ea5 Moved dashboards 2020-02-25 10:18:31 +01:00
Bjarke Berg 4aac898e08 Worked on AspNetCoreHostingEnvironment.cs 2020-02-25 10:18:07 +01:00
Scott Brady 80a15c5785 Merge branch 'netcore/dev' into netcore/feature/users 2020-02-25 09:12:25 +00:00
Bjarke Berg 8f5ffb8da6 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/executable-backoffice 2020-02-25 09:03:52 +01:00
Bjarke Berg 9a8ecea8a6 Updated copyright year 2020-02-25 08:56:58 +01:00
Bjarke Berg 04caec842a Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/executable-backoffice
# Conflicts:
#	src/Umbraco.Examine/Umbraco.Examine.csproj
2020-02-25 08:38:15 +01:00
Bjarke Berg 06af62d87d Merge pull request #7691 from umbraco/netcore/feature/move-mappings-after-httpcontext
NetCore: Move more files
2020-02-25 08:26:39 +01:00
Bjarke Berg 6bb920b457 Added comments, and replaced a static helper with extension methods 2020-02-25 07:57:59 +01:00
Kenn Jacobsen 69b3bc6fc7 V8: Remove create option in listviews for deleted content (#7655) 2020-02-24 18:46:36 +00:00
Kenn Jacobsen 23f8c3e474 V8: Correct cursor for list view search icon (#7656) 2020-02-24 18:28:11 +00:00
Shannon Deminick 92da83194a Missing null check which will cause a YSOD if empty value (#7661) 2020-02-24 18:27:26 +00:00
Warren Buckley baacd6f27f Merge pull request #7654 from kjac/v8/fix/recycle-bin-without-mculture
V8: Ensure that the recycle bin doesn't delete content at root
(cherry picked from commit 4275401c4b)
2020-02-24 15:52:33 +00:00
Warren Buckley 4275401c4b Merge pull request #7654 from kjac/v8/fix/recycle-bin-without-mculture
V8: Ensure that the recycle bin doesn't delete content at root
2020-02-24 15:50:13 +00:00
Bjarke Berg 14eb630cc3 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/move-mappings-after-httpcontext
# Conflicts:
#	src/Umbraco.Examine/Umbraco.Examine.csproj
2020-02-24 16:19:14 +01:00
Bjarke Berg 36b68f2966 Creating composition root 2020-02-24 16:18:47 +01:00
Warren Buckley 4ed69d21a0 Merge branch 'v8/8.6' up into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs
2020-02-24 15:11:58 +00:00
Kenn Jacobsen 2b103f539d Fix overlays in fullscreen RTE (#7697) 2020-02-24 14:06:18 +00:00
Bjarke Berg 20201fb6be Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/executable-backoffice 2020-02-24 14:58:58 +01:00
Bjarke Berg 4425c3d5c0 Merge pull request #7708 from umbraco/netcore/feature/csharp-8
Netcore: Updated projects to have C# 8 support
2020-02-24 14:58:42 +01:00
Bjarke Berg aad8cba039 Updated projects to have C# 8 support 2020-02-24 13:37:27 +01:00
Sebastiaan Janssen 858390f2b0 Merge branch 'v8/dev' into v8/contrib 2020-02-24 12:16:11 +01:00
Jeavon 5efeb53805 Add missing methods "GetChildren(Guid id)" & "HasChildren(Guid id)" to "IContentTypeBaseService" (#7700) 2020-02-24 11:11:33 +00:00
Bjarke Berg e74c22ec87 Merge branch 'netcore/feature/move-mappings-after-httpcontext' into netcore/feature/executable-backoffice 2020-02-24 11:46:58 +01:00
Bjarke Berg 1d6e423b98 Added Imagesharp to the website stuff 2020-02-24 11:37:51 +01:00
Nathan Woulfe 51481bbe3a Update editor.service.js (#7703)
fix ngdoc description for templateEditor fn
2020-02-24 10:35:46 +00:00
Bjarke Berg c9b970e872 Using the ServiceContext from the baseclass instead of Current.Services in tests (#7644) 2020-02-24 11:27:02 +01:00
Bjarke Berg 329ad4324e Removed file 2020-02-24 10:53:54 +01:00
Bjarke Berg 5517186cb7 Added Web.Website 2020-02-24 10:51:48 +01:00
Bjarke Berg f398f578ea Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/executable-backoffice 2020-02-24 10:40:16 +01:00
Bjarke Berg de59d499a9 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/move-mappings-after-httpcontext 2020-02-24 10:39:39 +01:00
Bjarke Berg 133b194d7e Roll back to c# 7 on core 2020-02-24 10:14:16 +01:00
Bjarke Berg de95a1c712 Roll back to c# 7 on core 2020-02-24 10:10:25 +01:00
Bjarke Berg 20a7a6be42 Merge branch 'netcore/dev' into netcore/feature/move-mappings-after-httpcontext 2020-02-24 10:06:59 +01:00
Bjarke Berg c975162e14 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/executable-backoffice 2020-02-24 09:57:27 +01:00
Bjarke Berg 683c0b8732 Merge branch 'netcore/dev' into netcore/feature/move-mappings-after-httpcontext 2020-02-24 08:24:19 +01:00
Bjarke Berg 90c2381c86 Renamed Umbraco.Abstractions to Umbraco.Core 2020-02-24 08:21:53 +01:00
Niels Lyngsø fcc079111d Slightly brigther disable state 2020-02-22 20:01:16 +01:00
Nathan Woulfe d65b8f14ba add pointer-events:none on disabled checkbox/radio 2020-02-22 12:02:50 +01:00
Kenn Jacobsen 634741e35b Make sure mculture is set after logout and login 2020-02-20 19:56:33 +01:00
Niels Lyngsø 0952d9c9c4 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list 2020-02-20 10:53:50 +01:00
Niels Lyngsø 92aabf6bc4 use right ids 2020-02-20 10:45:46 +01:00
Poornima Nayar 366b4fc70d Merge pull request #7690 from nathanwoulfe/fix-regression-from-validation-changes
Fix regression from valpropertymsg directive changes
2020-02-20 09:38:59 +00:00
Niels Lyngsø 3e402f9945 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB4550-segments-ui-variant-picker 2020-02-20 10:29:40 +01:00
Niels Lyngsø 510ecf5168 update save dialogs 2020-02-20 10:22:09 +01:00
Bjarke Berg e497079a89 Merge branch 'netcore/feature/move-mappings-after-httpcontext' into netcore/feature/executable-backoffice 2020-02-20 10:16:24 +01:00
Bjarke Berg 8c0e50ccd6 Fix issue in Test project still referencing Umbraco.Examine 2020-02-20 09:25:26 +01:00
Bjarke Berg bbe9aa1848 Fix issue with NuCache knowing the web project 2020-02-20 09:05:42 +01:00
Bjarke Berg 46a68d1b86 Rename file to align with class name 2020-02-20 09:00:50 +01:00
Bjarke Berg d1c39a813a Merge branch 'netcore/dev' into netcore/feature/move-mappings-after-httpcontext
# Conflicts:
#	src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
#	src/Umbraco.Web/Install/InstallHelper.cs
2020-02-20 08:46:54 +01:00
Bjarke Berg 46f00cf960 Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2020-02-20 08:34:01 +01:00
Bjarke Berg 79ee20a45b Post merge - Move files into correct locations 2020-02-20 08:33:28 +01:00
Bjarke Berg b8b31e7814 Merge pull request #7639 from emmagarland/netcore/feature/7369-removeservices-unittests
Replaced instances of Current.Services.MediaService in more Unit Tests
2020-02-20 08:31:34 +01:00
Bjarke Berg e96d094c71 Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2020-02-20 08:26:04 +01:00
Shannon Deminick ba2c0da379 Merge pull request #7646 from AndyButland/netcore/fix-circular-dependency-data-type-repository
Removed circular dependency between data type service and repository
2020-02-20 18:11:01 +11:00
Bjarke Berg e6c315ff69 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Umbraco.Core.csproj
#	src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
#	src/Umbraco.Web/Editors/UpdateCheckController.cs
#	src/Umbraco.Web/Install/InstallHelper.cs
2020-02-20 08:06:37 +01:00
Bjarke Berg 4ca4d8e6e0 Merge pull request #7684 from umbraco/v8/feature/AB4953-change-webservice-to-rest
Change web service invocation to new Our rest endpoints
2020-02-20 08:02:38 +01:00
Bjarke Berg ce821ee2bf worked on HostingEnvironment 2020-02-20 07:55:24 +01:00
Shannon Deminick ac6cf7be6b Merge pull request #7664 from umbraco/netcore/feature/move-files-after-umbraco-context-abstractions
Netcore: Removed `UrlProvider` from `UmbracoContext`
2020-02-20 17:51:08 +11:00
Nathan Woulfe 65750d2b32 fixes regression where validation object doesn't always exist on the property, depending on context 2020-02-20 08:59:46 +10:00
Niels Lyngsø dcdeae9ea3 only pure language variants can be mandatory 2020-02-19 17:27:04 +01:00
Niels Lyngsø 27b239cc08 making variant dialogs up to date with Segments. 2020-02-19 17:25:08 +01:00
Niels Lyngsø 602ee33334 use "and" instead of & 2020-02-19 15:35:46 +01:00
Niels Lyngsø 1855241dcc Merge remote-tracking branch 'origin/v8/feature/AB4550-segments-clientcode' into v8/feature/AB4550-segments-ui-variant-picker 2020-02-19 15:19:26 +01:00
Niels Lyngsø 99ad8ea773 apply search params instead of overwritting them. 2020-02-19 15:02:33 +01:00
Bjarke Berg 942bb0d585 Merge branch 'netcore/feature/move-mappings-after-httpcontext' into netcore/feature/executable-backoffice
# Conflicts:
#	src/Umbraco.Abstractions/CompositionExtensions.cs
2020-02-19 14:44:22 +01:00
emma burstow 2a277eec6b Merge branch 'v8/contrib' into pr/7231 2020-02-19 13:35:22 +00:00
Kenn Jacobsen 64cffcb967 Fix Nested Content JS errors when enforcing min items (#7628) 2020-02-19 13:10:21 +00:00
Niels Lyngsø 4e687853b4 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB4550-segments-clientcode 2020-02-19 13:41:00 +01:00
Bjarke Berg e69ef327a9 Moved Editor stuff that was not controllers 2020-02-19 13:33:04 +01:00
Niels Lyngsø 490ce0808a Save & publish dialog change for a simpler experience accommodating segments 2020-02-19 13:28:46 +01:00
Bjarke Berg 9f5da7f5a8 Merge branch 'netcore/feature/move-files-after-umbraco-context-abstractions' into netcore/feature/move-mappings-after-httpcontext 2020-02-19 13:11:46 +01:00
Bjarke Berg aa918716d8 Removed possibility to inject HttpContextBase directly. - Refactored last occurence 2020-02-19 12:56:55 +01:00
Bjarke Berg b808443558 Removed old soap reference from the project 2020-02-19 12:34:21 +01:00
Warren Buckley 8527b28d4b Merge pull request #7686 from umbraco/v8/feature/umb-form-check-transclude
Enabling transclude for umb-form-check
2020-02-19 10:42:51 +00:00
Bjarke Berg ca4f0a8057 Merge branch 'netcore/feature/move-files-after-umbraco-context-abstractions' into netcore/feature/move-mappings-after-httpcontext
# Conflicts:
#	src/Umbraco.Web/Install/InstallHelper.cs
#	src/Umbraco.Web/Models/Mapping/CommonMapper.cs
2020-02-19 11:40:25 +01:00
Warren Buckley b41c3ad3bc Merge pull request #7660 from umbraco/v8/bugfix/AB4900-start-nodes-list-views
Fixing when a start node is a content item in a nested list view
2020-02-19 09:57:26 +00:00
Bjarke Berg b964ff1d3e Introduced an extension method on IHttpContextAccessor that return the HttpContext or throws if null. 2020-02-19 10:18:27 +01:00
Bjarke Berg 610d807006 Fixed integration tests by composing the MediaUrlGenerators 2020-02-19 10:17:49 +01:00
Niels Lyngsø 6e22b03792 Merge remote-tracking branch 'origin/v8/feature/umb-form-check-transclude' into v8/feature/AB4550-segments-ui-variant-picker 2020-02-19 10:17:46 +01:00
Niels Lyngsø 278f8cc99f css change 2020-02-19 10:13:51 +01:00
Niels Lyngsø 088c51e84d enabling transclude for umb-form-check 2020-02-19 09:36:33 +01:00
Niels Lyngsø 2cd50822ea adjustments of Save and publish dialog 2020-02-19 09:35:36 +01:00
Bjarke Berg 750b6f6a18 Move more files and fixed circular dependency 2020-02-19 09:29:10 +01:00
Bjarke Berg 9ed94f753d Fixed issue with wrong installId in cookie. + Refactored to not use Newtonsoft.Json + Minor renames 2020-02-19 08:32:47 +01:00
Shannon 13a56eb085 Renames and refactors the MediaUrlGeneratorCollection and ensure that this collection is used wherever IMediaUrlGenerator is needed instead of relying property editors possibly being the implementation. 2020-02-19 16:37:00 +11:00
Shannon 04c620d76e Reverts how UmbracoContextReference works 2020-02-19 15:46:54 +11:00
Shannon 5cb5585574 Removes ICurrentUserAccessor since we don't need it, fixes editorconfig (for now) 2020-02-19 15:38:22 +11:00
Shannon 653616912a Fixes issue when a user's start node is below a list view and when there's list views below that 2020-02-19 13:43:48 +11:00
elitsa a058703004 Making call async and adding setters for InstallLog 2020-02-18 16:28:07 +01:00
Daniël Knippers 3d10a061e9 Update CONTRIBUTING.md (#7680)
* Update CONTRIBUTING.md

Syncs header name with summary and fixes link syntax

* Update CONTRIBUTING.md

Changed header back and updated summary instead
2020-02-18 14:05:07 +00:00
elitsa 79b5b73923 Creating Repositories - abstraction + implementation which use HttpClient and call the endpoints. Registering the Repositories in repositories' composition 2020-02-18 14:53:01 +01:00
elitsa 1b3769f5d7 Creating models for to serialize and deserialize when calling the rest API 2020-02-18 14:50:30 +01:00
elitsa b2ddc4a2b0 Creating the service interfaces and their implementations. Registering them in CoreInitialComposer. These services delegate the work to repositories 2020-02-18 14:48:36 +01:00
elitsa 166c04b1b6 Injecting a service interface instead of calling an old web service on Our 2020-02-18 14:45:49 +01:00
Bjarke Berg fb5d4fcb2f Merge branch 'netcore/feature/move-files-after-umbraco-context-abstractions' into netcore/feature/move-mappings-after-httpcontext
# Conflicts:
#	src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
2020-02-18 14:22:30 +01:00
Bjarke Berg 5a61b27366 Break cycle by introducing DataEditorWithMediaPathCollection 2020-02-18 13:56:31 +01:00
Niels Lyngsø cac745fa78 segment before language in GetDisplayName 2020-02-18 13:51:03 +01:00
Bjarke Berg accef6d96a Merged Umbraco.Examine and Umbraco.Infrastructure and moved more files into Infrastructure 2020-02-18 13:34:31 +01:00
Poornima Nayar 9e2a471e5d Merge pull request #7662 from nathanwoulfe/7647-clear-validation-after-clearing-property
v8: 7647 Can't save content after clearing property with validation error
2020-02-18 10:53:07 +00:00
Daniël Knippers 12bb2a42d6 ContentVariantDisplay: add DisplayName property and use in Umbr… (#7677) 2020-02-18 11:47:58 +01:00
Daniël Knippers 5a5291d149 V8/feature/ab4550 segments ui variant picker (#7676)
* Fixes incorrect property inheritance logic

* Fixes crash in canVariantPublish when variant.language is null

* Adds variant display name in dropdown

* Logic for invariant properties updated to also support segment invariance

* Properties varied by segment only now properly saved when multiple variants are saved/published

* Logic for disabling property editors moved to function and corrected for all cases of culture/segment properties

* Fixes syntax error in less file

* Fixes empty variants returned from GetEmpty() for a ContentType set to vary by segment

* Replaced _.each with _.find to prevent having to loop through all variants and/or somehow open multiple.

It is not possible to break out of _.each using a return statement, it simply returns that current function
but _.each will continue calling the others after that.

* Added a null check on Culture prop which is now possibly null due to segments

* Makes sure segments are not completely removed when their value is null.

During save/publish, Umbraco first deletes all property data of a specific version
and then adds property values again. However, any segments that were created but had
an empty value would not be added again which meant the segments were entirely gone afterwards.

* GetSegments() updated to always return the default segment, not only when there are no segments at all.

This makes sure that even if there is no property data for the default segment in the database but only for
some segments, the default segment will still be returned here.
2020-02-18 11:46:31 +01:00
Bjarke Berg ecaa3be637 Merge branch 'netcore/feature/move-files-after-umbraco-context-abstractions' into netcore/feature/move-mappings-after-httpcontext 2020-02-18 11:40:05 +01:00
Bjarke Berg e6e3fc39fb Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/move-files-after-umbraco-context-abstractions
# Conflicts:
#	src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
2020-02-18 11:39:34 +01:00
Bjarke Berg 51f6d30dbc Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/move-mappings-after-httpcontext
# Conflicts:
#	src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
2020-02-18 11:38:51 +01:00
Bjarke Berg f254d3754b Moved files from Backoffice to application + clean up 2020-02-18 11:32:31 +01:00
Niels Lyngsø 23b0a30db2 clean up + validation limit range 2020-02-18 10:07:58 +01:00
Bjarke Berg 5e79585149 Introduced Umbraco.Web.UI.Backoffice 2020-02-18 08:32:06 +01:00
Andy Butland 0bba475533 Amends to key value service/repository to better match existing repository patterns. 2020-02-17 22:12:42 +01:00
Poornima Nayar 05465f2e91 Merge pull request #7092 from JeffreyPerplex/patch-5
Make the source code build documentation a bit less complex
2020-02-17 15:37:19 +00:00
Poornima Nayar a9bb1ff49e Merge pull request #7021 from stevemegson/v8/pr/member-cmsContentNu
OnMemberRefreshedEntity stores data as published rather than edited
2020-02-17 15:26:48 +00:00
Niels Lyngsø 61c619cd1d vertical align 2020-02-17 16:26:09 +01:00
Niels Lyngsø aff01643d1 style adjustment to border of creator item in item-picker 2020-02-17 15:14:16 +01:00
Bjarke Berg 43b33f9e6b Move features
- Introduced IUmbracoFeature
Move Install
Move Tree Items
 - Introduced IMenuItemCollectionFactory - to insure injection of ActionCollection
2020-02-17 14:58:34 +01:00
Bjarke Berg 7a6ded2f6e Merge branch 'netcore/feature/move-files-after-umbraco-context-abstractions' into netcore/feature/move-mappings-after-httpcontext 2020-02-17 13:23:02 +01:00
Bjarke Berg aeca49dddb Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/move-files-after-umbraco-context-abstractions
# Conflicts:
#	src/Umbraco.Abstractions/PublishedContentExtensions.cs
#	src/Umbraco.Abstractions/Routing/AliasUrlProvider.cs
#	src/Umbraco.Abstractions/Routing/DefaultMediaUrlProvider.cs
#	src/Umbraco.Abstractions/Routing/DefaultUrlProvider.cs
#	src/Umbraco.Abstractions/Routing/UrlProvider.cs
#	src/Umbraco.Abstractions/Routing/UrlProviderExtensions.cs
#	src/Umbraco.Infrastructure/Runtime/CoreInitialComposer.cs
#	src/Umbraco.Tests/Cache/DistributedCacheBinderTests.cs
#	src/Umbraco.Tests/Routing/GetContentUrlsTests.cs
#	src/Umbraco.Tests/Routing/MediaUrlProviderTests.cs
#	src/Umbraco.Tests/Routing/UmbracoModuleTests.cs
#	src/Umbraco.Tests/Routing/UrlProviderTests.cs
#	src/Umbraco.Tests/Routing/UrlsProviderWithDomainsTests.cs
#	src/Umbraco.Tests/Routing/UrlsWithNestedDomains.cs
#	src/Umbraco.Tests/Security/BackOfficeCookieManagerTests.cs
#	src/Umbraco.Tests/TestHelpers/TestHelper.cs
#	src/Umbraco.Tests/TestHelpers/TestObjects-Mocks.cs
#	src/Umbraco.Tests/Testing/Objects/TestUmbracoContextFactory.cs
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
#	src/Umbraco.Tests/Web/Mvc/RenderIndexActionSelectorAttributeTests.cs
#	src/Umbraco.Tests/Web/Mvc/SurfaceControllerTests.cs
#	src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs
#	src/Umbraco.Web/PublishedContentExtensions.cs
#	src/Umbraco.Web/UmbracoContext.cs
#	src/Umbraco.Web/UmbracoContextFactory.cs
#	src/Umbraco.Web/UmbracoInjectedModule.cs
2020-02-17 13:07:59 +01:00
Bjarke Berg 2b8be2cf00 Netcore: Move files from Web/Routing to Abstractions/Routing (#7642)
* AB4951 - Move routing files to abstractions

* Changed UriUtility from static to instance

* Moved more files from Routing in web to Abstractions

* Moved UrlProvider to Abstractions

* Moved PublishedRequest to Abstractions
2020-02-17 12:07:51 +01:00
Poornima Nayar cc9e0f45a8 Merge pull request #6962 from kjac/v8/fix/upload-imagecropper-styling
V8: Styling updates to image cropper and upload property editors
2020-02-17 09:42:05 +00:00
Poornima Nayar 00d3dd3e48 Merge pull request #6988 from kjac/v8/fix/hide-breadcrumb-for-recycle-bin-children
V8: Do not show the breadcrumb for immediate children in the recycle bin
2020-02-17 09:12:08 +00:00
Bjarke Berg e7e4dc8441 Clean up 2020-02-17 10:07:18 +01:00
Bjarke Berg 402867f115 Moved lots of mapping files 2020-02-17 09:15:48 +01:00
Bjarke Berg f2b1558cb1 Review fixes from comments on https://github.com/umbraco/Umbraco-CMS/pull/7664 2020-02-17 09:04:15 +01:00
Bjarke Berg 7a55852cbb Update editor config to not force private constants to be named _camelCase 2020-02-17 09:02:27 +01:00
Shannon a69cffffce Merge branch 'netcore/dev' into netcore/feature/move-files-after-umbraco-context-abstractions 2020-02-17 11:53:08 +11:00
Shannon Deminick 707e11ed69 Merge pull request #7619 from umbraco/netcore/feature/AB4919-untable-umbraco-context
NetCore: Untangle and abstract UmbracoContext
2020-02-17 10:29:18 +11:00
Anders Bjerner 24b0c1d8b5 Merge pull request #7670 from poornimanayar/member-dashboard-amend
CSS class added to the h3 on members dashboard
2020-02-16 13:04:52 +01:00
Poornima Nayar 49217df95d CSS class added to the h3 on members dashboard 2020-02-15 15:08:55 +00:00
Andy Butland f92b43260a Added unit tests for new KeyValueRepository. 2020-02-15 12:17:48 +01:00
Andy Butland ac91b9ef5e Removed usage of obsoleteted method in UserService. 2020-02-15 11:10:25 +01:00
Andy Butland 40d7baca79 Migrated database concerns from KeyValueService to new repository. 2020-02-15 11:08:32 +01:00
Andy Butland 0b49c2d84e Removed a few duplicated comments. 2020-02-15 09:37:57 +01:00
Andy Butland 1f8d4b1db7 Moved implementation of check for existance of username on creating user from user service to repository. 2020-02-15 09:20:59 +01:00
Niels Lyngsø 53d4f5d89d use file tree for view picker 2020-02-14 16:26:10 +01:00
Daniël Knippers 1a4e6e564c Review Perplex change for Segments (#7659)
* Fixes incorrect property inheritance logic

* Fixes crash in canVariantPublish when variant.language is null

* Adds variant display name in dropdown

* Logic for invariant properties updated to also support segment invariance

* Properties varied by segment only now properly saved when multiple variants are saved/published

* Logic for disabling property editors moved to function and corrected for all cases of culture/segment properties

* Fixes syntax error in less file

* Fixes empty variants returned from GetEmpty() for a ContentType set to vary by segment
2020-02-14 15:16:50 +01:00
Niels Lyngsø 74dfe8d08e improved actions for block list 2020-02-14 14:29:12 +01:00
Niels Lyngsø b2c20864ea remove comment 2020-02-14 14:28:41 +01:00
Niels Lyngsø 1464ddd349 min max validation for numberrange 2020-02-14 14:28:30 +01:00
Niels Lyngsø 946c229434 move confirmMessage below content of overlay. 2020-02-14 14:28:14 +01:00
Niels Lyngsø dd5770b962 correcting primary btn colors 2020-02-14 14:27:50 +01:00
Niels Lyngsø b0e5c4f642 add confirmRemove overlay 2020-02-14 14:27:32 +01:00
Bjarke Berg 738e374061 Cleanup 2020-02-14 14:03:05 +01:00
Bjarke Berg 0bbd82b262 Removed Url stuff from UmbracoContext 2020-02-14 13:52:51 +01:00
Bjarke Berg ddfa57e57a Merge remote-tracking branch 'origin/netcore/feature/move-files-after-umbraco-context-abstractions' into netcore/feature/move-files-after-umbraco-context-abstractions 2020-02-14 13:18:10 +01:00
Bjarke Berg 0372b13495 Merge branch 'netcore/dev' into netcore/feature/move-files-after-umbraco-context-abstractions 2020-02-14 13:17:55 +01:00
Bjarke Berg c6e1e7b3e5 Untangled UrlProvider from UmbracoContext 2020-02-14 13:06:10 +01:00
Aleksandr Šmailov 67e182bdbf Updated content controller to hide save button (#7318) 2020-02-14 12:37:20 +01:00
Sebastiaan Janssen 165138a74b Merge branch 'v8/dev' into v8/contrib 2020-02-14 09:32:36 +01:00
Bjarke Berg dceb6c80f5 Merge branch 'netcore/feature/AB4919-untable-umbraco-context' into netcore/feature/move-files-after-umbraco-context-abstractions
# Conflicts:
#	src/Umbraco.Web/Security/WebSecurity.cs
#	src/Umbraco.Web/UmbracoContextFactory.cs
2020-02-14 09:00:50 +01:00
Bjarke Berg 6ccd63694d Fix merge issue 2020-02-14 08:51:17 +01:00
Bjarke Berg 293a5fbe33 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4919-untable-umbraco-context
# Conflicts:
#	src/Umbraco.Web/Templates/TemplateRenderer.cs
2020-02-14 08:34:04 +01:00
Bjarke Berg 463a081968 Merge remote-tracking branch 'origin/netcore/feature/AB4919-untable-umbraco-context' into netcore/feature/AB4919-untable-umbraco-context 2020-02-14 08:05:42 +01:00
Nathan Woulfe c362c00758 I think it's fixed, needs thorough testing... 2020-02-14 16:22:02 +10:00
Shannon e89096eeb6 Dont call Thread.GetDomain() more than needed 2020-02-14 12:36:22 +11:00
Shannon 31d71ad86e Removes methods/props from interfaces that don't need to be there, removes unused code, obsoletes some code we need to refactor 2020-02-14 12:30:56 +11:00
Shannon Deminick 54af158012 Merge pull request #7650 from umbraco/netcore/feature/clean-up-legacy-alternative-template-stuff
NetCore: Removed legacy way of handling alternative templates..
2020-02-14 11:07:55 +11:00
Bjarke Berg 53a9e75a48 Refactor UmbracoContext to inject IHttpAccessor instead of HttpContext 2020-02-13 15:13:38 +01:00
Niels Lyngsø 00855dde7a Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list 2020-02-13 14:49:03 +01:00
Niels Lyngsø cac07aa7eb option to require umbVariantContentEditors and do a requestSplitView 2020-02-13 14:44:46 +01:00
Niels Lyngsø b83ef4dc5e Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB4550-segments-ui-variant-picker 2020-02-13 14:21:59 +01:00
Niels Lyngsø 5acf6b2b37 event handler for requesting a splitview 2020-02-13 13:49:03 +01:00
Bjarke Berg 31130be85a Move files 2020-02-13 12:58:05 +01:00
Niels Lyngsø 42ab969725 numberrange prevalue editor 2020-02-13 12:38:07 +01:00
Niels Lyngsø 35ba840a25 correct overlays, so they can use size 2020-02-13 12:37:49 +01:00
Niels Lyngsø abdf8bc22c correct sentence to use the number 7 2020-02-13 12:37:28 +01:00
Niels Lyngsø 596c6b937d clean up of html 2020-02-13 12:36:57 +01:00
Niels Lyngsø bb3bccb1cc style adjustment 2020-02-13 12:36:48 +01:00
Bjarke Berg 392828fcb2 Merge branch 'netcore/feature/use-request-cache-instead-of-httpcontext-items' into netcore/feature/move-files-after-umbraco-context-abstractions 2020-02-13 12:28:50 +01:00
Bjarke Berg b57a7690f5 Moved More files to infrastructure/abstractions 2020-02-13 11:21:20 +01:00
Kenn Jacobsen 8370c5b42f Ensure that the recycle bin doesn't delete content at root 2020-02-13 11:20:53 +01:00
Bjarke Berg a69b985002 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4919-untable-umbraco-context 2020-02-13 09:50:19 +01:00
Bjarke Berg 6ae1f79b5f Moved IUmbracoContextAccessor 2020-02-13 09:44:13 +01:00
Bjarke Berg 04b1e37348 Reintroduced some code that could not be removed 2020-02-13 09:38:16 +01:00
Niels Lyngsø b3e88040ec 7285 making property actions show on focus within (#7287) 2020-02-13 09:29:15 +01:00
Bjarke Berg 99045eaaa4 Reintroduced some code that could not be removed 2020-02-13 09:17:57 +01:00
Poornima Nayar 68ee537520 Accessibility improvements to user group screen (#7414) 2020-02-13 09:10:06 +01:00
Paul Seal 69a1729967 Change the icon in the Document Types Tree to be the chosen icon instead of a default one. (#7358)
* - changed the icon in the document types tree to be the icon chose rather than the default doc type icon

* - rendered icons for media types and member types

* - used null coalescing for icon setting for better null handling

Co-authored-by: paulmoriyama <48755798+paulmoriyama@users.noreply.github.com>
2020-02-13 08:07:46 +00:00
Bjarke Berg a329fb1a92 Replaced HttpContextBase injection with HttpContextAccessor injection 2020-02-13 08:52:58 +01:00
Bjarke Berg 215cb60b15 Refactored usages of HttpContext.IsDebuggerEnabled to use the IHostingEnvironment.IsDebugMode 2020-02-13 07:56:50 +01:00
Bjarke Berg 85afde0ea1 Replaced usages of HttpContext.Items with usages of IRequestCache 2020-02-13 07:46:49 +01:00
ksingercoffey 5307a8cf13 #7643: add type="button" to prevent default clicks by pressing Enter (#7651) 2020-02-13 07:41:19 +01:00
Benjamin Howarth 721d41da62 Update PropertyType.cs
Please, *please* stop making things internal when it breaks legacy behaviour (such as obtaining properties by tab group, which is precisely what this allows for).
2020-02-12 17:01:59 +00:00
Niels Lyngsø 7b8cd45f27 add style to create-option in itempicker + removing overflow hidden 2020-02-12 17:18:10 +01:00
Niels Lyngsø bc73c6f060 ability to not embed templates in dev mode 2020-02-12 17:17:36 +01:00
Niels Lyngsø bc1f5f2086 Initial work on Block List Prevalue Editor 2020-02-12 17:17:04 +01:00
Bjarne Fyrstenborg 450a77fff5 Missing onClose for tour (#7595) 2020-02-12 15:21:03 +01:00
abi a7ad464b40 Remove Empty Statements 2020-02-12 15:11:18 +01:00
Warren Buckley 1574263c69 Merge pull request #7627 from umbraco/v8/bugfix/AB4828-resetpassword-mail
AB4828 - Reset Password Email

(cherry picked from commit f00680bfe6)
2020-02-12 12:06:52 +00:00
Warren Buckley 6a6978d8da Merge pull request #7627 from umbraco/v8/bugfix/AB4828-resetpassword-mail
AB4828 - Reset Password Email

(cherry picked from commit f00680bfe6)
2020-02-12 11:56:10 +00:00
Warren Buckley 9c428b7f01 Bump version to 8.5.4 2020-02-12 11:55:51 +00:00
Warren Buckley ffd43131c4 Merge pull request #7627 from umbraco/v8/bugfix/AB4828-resetpassword-mail
AB4828 - Reset Password Email

(cherry picked from commit f00680bfe6)
2020-02-12 11:54:21 +00:00
Warren Buckley f00680bfe6 Merge pull request #7627 from umbraco/v8/bugfix/AB4828-resetpassword-mail
AB4828 - Reset Password Email
2020-02-12 10:41:31 +00:00
Bjarke Berg 0f6c945fe0 Fix tests 2020-02-12 11:12:09 +01:00
Warren Buckley e90e32b871 Add unit test to verify SecurityStamp changes/invalidates when the userlogin changes 2020-02-12 10:11:28 +00:00
Bjarke Berg 6c395db5a5 Removed legacy way of handling alternative templates.. Today we use ContentFinderByUrlAndTemplate 2020-02-12 10:56:23 +01:00
Andy Butland 1b7554c5ce Fixed failing unit test. 2020-02-12 09:05:31 +01:00
Shannon 7182be93d9 Ensures that we don't set IsChildOfListView when it's a user's start node since we are actually rendering that tree node when that is the case 2020-02-12 13:47:48 +11:00
Benjamin Carleski bcd26b9243 Merge remote-tracking branch 'umbraco/temp-7538-image-url-generator' into netcore/dev
# Conflicts:
#	src/Umbraco.Abstractions/IImageUrlGenerator.cs
#	src/Umbraco.Abstractions/ImageUrlGenerationOptions.cs
#	src/Umbraco.Core/Composing/Current.cs
#	src/Umbraco.Core/Models/UserExtensions.cs
#	src/Umbraco.Core/PropertyEditors/ValueConverters/ImageCropperValue.cs
#	src/Umbraco.Core/Umbraco.Core.csproj
#	src/Umbraco.Tests/PropertyEditors/ImageCropperTest.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
#	src/Umbraco.Tests/Runtimes/StandaloneTests.cs
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
#	src/Umbraco.Web/Templates/TemplateUtilities.cs
2020-02-11 16:53:13 -08:00
Shannon 8dc9d4ace4 Updates c# ShouldRenderChildrenOfContainer to allow for nested list views 2020-02-12 11:44:57 +11:00
Andy Butland 927b7c0f75 Removed circular dependency between data type service and repository, by moving the creation of labels for missing property editors to the service. 2020-02-11 23:17:39 +01:00
Niels Lyngsø 2fc495128e make icon of umb-preview-node align vertically. 2020-02-11 21:48:28 +01:00
Mark Drake 3296021907 Add an Active State for Expand (...) in the Top Section Navigation 2020-02-11 21:10:28 +01:00
Bjarne Fyrstenborg 53ca5eec88 Adjust child selector sorting (#7582)
* Only add move cursor to sortable child elements

* Don't sort add button

* Add missing docs for onSort

* Change add button to use button element

* Use button element for remove button and add aria-hidden to icons

* Reset styling of button element

* Ensure add button is full width

* Remove unnecessary cursor styles since these now inherit from button element
2020-02-11 20:36:42 +01:00
Steve Megson b2141b6657 Slider format function should return a number 2020-02-11 20:25:44 +01:00
Bjarne Fyrstenborg 4ff91ed4d1 Use button element in user detail and user group views (#7584)
* Use button element on user detail page

* Use button element on user group page
2020-02-11 20:15:22 +01:00
Benjamin Carleski c63af8e161 Merge pull request #7616 from umbraco/temp-7538-image-url-generator
Introduce Image URL Generator abstraction
2020-02-11 10:30:48 -08:00
Warren Buckley 9c165dc797 Merge pull request #7637 from umbraco/v8/bug/AB4899-remember-user-filtering
V8/bug/ab4899 remember user filtering
2020-02-11 13:10:02 +00:00
Bjarke Berg ad8d908ddf Merge pull request #7550 from stevetemple/v8/feature/obsolete-publishedcontent-url
Obsolete Url on IPublishedContent
2020-02-11 13:09:46 +01:00
Bjarke Berg 3c1076e023 Merge pull request #7544 from stevetemple/v8/feature/obsolete-creatorname-writername
Obsolete CreatorName and WriterName on IPublishedContent
2020-02-11 13:08:15 +01:00
Warren Buckley a7ff82f29a Implements Shans notes on changins security stamp for chaning email/username 2020-02-11 11:52:44 +00:00
Niels Lyngsø 9733c64b20 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list 2020-02-11 12:42:52 +01:00
Niels Lyngsø 355fe6be21 Remember user filtering 2020-02-11 12:12:01 +01:00
Niels Lyngsø 72ff7ab8f1 on blur event for umb-mini-search 2020-02-11 12:11:32 +01:00
Bjarke Berg 6f32470fdf Cleanup 2020-02-11 11:27:43 +01:00
Emma Garland 7afcbd5ec3 Replaced instances of MediaService with ServiceContext or existing injected mediaservice 2020-02-11 10:23:28 +00:00
Warren Buckley 6ae88f6c76 Revert "Verify & check SecurityStamp"
This reverts commit c5e0ef90c3.
2020-02-11 09:56:30 +00:00
Bjarke Berg ec1d829a3e Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4919-untable-umbraco-context
# Conflicts:
#	src/Umbraco.Tests/TestHelpers/ControllerTesting/TestControllerActivatorBase.cs
#	src/Umbraco.Web/Macros/MacroRenderer.cs
2020-02-11 10:30:41 +01:00
Bjarke Berg 9449ed9a4d Fix views 2020-02-11 10:28:34 +01:00
Arkadiusz Biel 8e2ed68b88 Add more descriptive exception (#7591)
* Add more descriptive exepection

* Finish with .

* Update src/Umbraco.Core/Collections/TopoGraph.cs

Co-Authored-By: Sebastiaan Janssen <sebastiaan@umbraco.com>

* Update src/Umbraco.Core/Collections/TopoGraph.cs

Co-Authored-By: Sebastiaan Janssen <sebastiaan@umbraco.com>

Co-authored-by: Sebastiaan Janssen <sebastiaan@umbraco.com>
2020-02-11 09:20:30 +00:00
Bjarke Berg c76fff9d04 Merge pull request #7618 from AndyButland/netcore/7617-published-content-element-property-extension-methods
Netcore: Migrate various extension methods on IPublishedContent, IPublishedElement and IPublishedProperty to Umbraco.Abstractions
2020-02-11 10:20:10 +01:00
Kenn Jacobsen 94d9acdeee Prevent multi URL picker from crashing with JS errors when absolute (non-local) links are added.
(cherry picked from commit 2c9c5baae5)
2020-02-11 10:06:47 +01:00
Kenn Jacobsen 2c9c5baae5 Prevent multi URL picker from crashing with JS errors when absolute (non-local) links are added. 2020-02-11 10:05:58 +01:00
emma burstow c5ddba47a8 Update SetUmbracoVersionStep.cs
Punctuation fix
2020-02-10 20:21:35 +01:00
Bjarke Berg 4d15c8c044 Bug fixes for macros 2020-02-10 19:59:47 +01:00
Bjarke Berg e94921b384 Introduced interface on PublishedRequest and moved interfaces to abstractions 2020-02-10 19:23:42 +01:00
Kenn Jacobsen 4a0ce8572c Nested Content can't add multiple items when configured with a single element type 2020-02-10 17:29:31 +01:00
Warren Buckley c5e0ef90c3 Verify & check SecurityStamp 2020-02-10 14:27:54 +00:00
Bjarke Berg 4b9d0941a4 Fix if httpContext is null we cannot wrap it 2020-02-10 15:05:35 +01:00
Niels Lyngsø 0265b54c4d Merge remote-tracking branch 'origin/v8/feature/UI-even-more-light-pink' into v8/feature/AB4550-segments-ui-variant-picker 2020-02-10 14:44:13 +01:00
Niels Lyngsø de11eba116 adjusted color slightly 2020-02-10 14:43:57 +01:00
Bjarke Berg 3dcff69d34 Clean up 2020-02-10 14:40:24 +01:00
Niels Lyngsø 0b730968ed get and set AllowSegmentVariant 2020-02-10 14:39:05 +01:00
Bjarke Berg d151503dbf Started replacing UmbracoContext.HttpContext with injection of IHttpContextAccessor 2020-02-10 14:22:18 +01:00
Nathan Woulfe b32e8c5f16 update angular-aria to 1.7.9 (#7606)
(cherry picked from commit d1503eba03)
2020-02-10 11:48:39 +01:00
Nathan Woulfe d96bcae5c8 7168 hotkeys in rte (#7604)
(cherry picked from commit 608555126e)
2020-02-10 11:48:38 +01:00
Nathan Woulfe d1503eba03 update angular-aria to 1.7.9 (#7606) 2020-02-10 11:47:07 +01:00
Nathan Woulfe 608555126e 7168 hotkeys in rte (#7604) 2020-02-10 11:46:21 +01:00
Warren Buckley 1fa8157e4c Merge pull request #7602 from umbraco/v8/bugfix/AB4932-track-refs-all-variants
Ensures that we track relations for values on all variant property values
2020-02-10 10:43:46 +00:00
Niels Lyngsø 87b9642d1a Merge branch 'v8/feature/AB4550-segments-clientcode' into v8/feature/AB4550-segments-ui-variant-picker 2020-02-10 11:34:29 +01:00
Bjarke Berg ef7af69731 https://github.com/umbraco/Umbraco-CMS/issues/7138 - Injected IIOHelper (#7581)
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
2020-02-10 11:23:23 +01:00
Bjarne Fyrstenborg 58b2c3f791 Align icon in mini search (#7589)
* Align icon vertically and horizontally inside icon placeholder

* Add aria-hidden to search icon
2020-02-10 10:22:44 +00:00
Poornima Nayar b6efb86f61 Merge pull request #6951 from kjac/v8/fix/reapply-focus-after-dialog
V8: Re-apply input focus to the last focused element when closing dialogs
2020-02-10 10:07:13 +00:00
Shannon 3fac40b4b5 loads preview via sql paging instead of one single query 2020-02-10 20:15:12 +11:00
Bjarke Berg aa6a70efba Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4919-untable-umbraco-context 2020-02-10 09:45:14 +01:00
Niels Lyngsø 1f2b293c59 focus styling 2020-02-10 09:19:25 +01:00
Daniël Knippers 124bc27921 V8/feature/ab4550 segments ui variant picker (#7614)
* Fixes incorrect property inheritance logic

* Fixes crash in canVariantPublish when variant.language is null

* Adds variant display name in dropdown

* Logic for invariant properties updated to also support segment invariance

* Properties varied by segment only now properly saved when multiple variants are saved/published

* Logic for disabling property editors moved to function and corrected for all cases of culture/segment properties

* Fixes syntax error in less file
2020-02-10 09:16:03 +01:00
Bjarke Berg b850b3c8fe AB4950 - Created new Umbraco.Web.BackOffice project. Moved dashboards into this new project (#7615) 2020-02-10 09:06:29 +01:00
Niels Lyngsø 21ea8e3b8b show split-view on focus 2020-02-10 08:57:54 +01:00
Niels Lyngsø 61ed8800cc ups 2020-02-10 07:58:31 +01:00
Bjarke Berg 5784449fce Started replacing UmbracoContext.HttpContext with injection of IHttpContextAccessor 2020-02-10 07:03:50 +01:00
Bjarke Berg 794e2ccdac Introduced interface on UrlProvider (Can't be named IUrlProvider) 2020-02-09 20:20:13 +01:00
Benjamin Carleski 4309489174 Make changes for PR suggestions 2020-02-09 11:12:29 -08:00
Bjarke Berg 2658dae649 Introduced interface on WebSecurity 2020-02-09 20:10:49 +01:00
Bjarke Berg c335a8dbb5 Introduced interface on UmbracoContext 2020-02-09 19:05:39 +01:00
Bjarke Berg 99e011dc01 Moved search files to abstractions and infrastructure 2020-02-09 18:09:01 +01:00
Bjarke Berg 5491037d10 Removed CSharpTest.Net.Collections from nuspec 2020-02-09 10:39:11 +01:00
Bjarke Berg 1d25caaf14 Removed unused nuget from Umbraco.Web 2020-02-09 10:27:32 +01:00
Benjamin Carleski 7e7d38e74b Add ImageUrlGeneratorController 2020-02-08 16:49:12 -08:00
Benjamin Carleski 408ee452e1 Code cleanup, added unit tests 2020-02-08 11:05:14 -08:00
Andy Butland c72b6649bf Fixed failing unit tests. 2020-02-08 11:33:49 +01:00
Andy Butland 0c0b94b10f Migrate various extension methods on IPublishedContent, IPublishedElement and IPublishedProperty to Umbraco.Abstractions 2020-02-08 10:02:33 +01:00
Benjamin Carleski e7248ea48f Fix ImageCropperText parameter ordering 2020-02-07 16:37:27 -08:00
Benjamin Carleski a7ff20de6e Introduce Image URL Generator abstraction 2020-02-07 15:01:03 -08:00
Niels Lyngsø c9621ca8be comment change 2020-02-07 13:39:27 +01:00
Niels Lyngsø aed0a09ea3 indentation of border for variant that are in not-created state 2020-02-07 13:38:01 +01:00
Bjarke Berg 3f7fae7369 Fix merge issues 2020-02-07 12:56:54 +01:00
Niels Lyngsø a49af7ab9b convert to hex color code 2020-02-07 12:49:43 +01:00
Niels Lyngsø 60b46e4968 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB4550-segments-ui-variant-picker 2020-02-07 12:45:50 +01:00
Niels Lyngsø 4784a7b1eb more data for demo 2020-02-07 12:45:10 +01:00
Bjarke Berg 35a736e6cd Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/IO/SystemDirectories.cs
#	src/Umbraco.Core/Udi.cs
#	src/Umbraco.Core/Umbraco.Core.csproj
2020-02-07 10:04:28 +01:00
Bjarke Berg d721ab2e25 Merge pull request #7542 from AndyButland/feature/netcore-publish-cache
Moved PublishedCache from Umbraco.Web into .Net standard project (#7551)
2020-02-07 06:47:46 +01:00
Bjarke Berg 81bbd201ea Removed internal visible tos 2020-02-07 06:16:27 +01:00
Bjarke Berg add34e4f6b Removed unused interface 2020-02-07 06:13:59 +01:00
Shannon 636d0c9ccd Ensures that we track relations for values on all variant property values 2020-02-07 12:18:27 +11:00
Enkel Media 02a9645ed1 #6812 AuditService some methods not returning any values (#6822)
* #6812 Worked on AuditService some methods not returning any values

* Changed userId to include also admin-user

* Use Constant for "SuperUserId" over magic int

Co-authored-by: markusobviuse <36044239+markusobviuse@users.noreply.github.com>
2020-02-06 23:03:53 +00:00
Anders Bjerner 051fe53548 Merge pull request #7600 from bjarnef/dev-v8-sections-focus
Fix jumping section name on focus
2020-02-06 19:41:07 +01:00
Sebastiaan Janssen d285d40578 That safeguard unfortunately broke all the tests 2020-02-06 17:52:36 +01:00
Bjarne Fyrstenborg b182141d6c Fix jumping section name on focus 2020-02-06 17:33:22 +01:00
Sebastiaan Janssen fbd95f1c8e Fixes problem with #7530 where UmbracoContext is empty when HtmlImageSourceParser gets initialized 2020-02-06 15:10:05 +01:00
Bjarke Berg d147b182ee Renamed the project to Umbraco.PublishedCache.NuCache - and move non NuCache related stuff to abstractions and infrastructure. 2020-02-06 14:40:46 +01:00
Shannon 88df0fe691 Adds new methods to MembershipHelper for dealing with checking bulk paths for access 2020-02-07 00:17:21 +11:00
Bjarke Berg 0bc843b06d Merge remote-tracking branch 'origin/netcore/dev' into feature/netcore-publish-cache 2020-02-06 14:09:23 +01:00
Bjarke Berg a018315404 Removed references from web and Models builder.. Moved some classes to do so 2020-02-06 14:09:16 +01:00
Niels Lyngsø 555be8dd0a first part of enabling allow segments 2020-02-06 12:47:50 +01:00
Warren Buckley 97aa19c7a6 Merge pull request #7556 from umbraco/dependabot/npm_and_yarn/src/Umbraco.Web.UI.Client/tinymce-4.9.7
8.6RC: Bump tinymce from 4.9.2 to 4.9.7 in /src/Umbraco.Web.UI.Client

(cherry picked from commit 45e4e39412)
2020-02-06 08:53:24 +00:00
Warren Buckley 45e4e39412 Merge pull request #7556 from umbraco/dependabot/npm_and_yarn/src/Umbraco.Web.UI.Client/tinymce-4.9.7
8.6RC: Bump tinymce from 4.9.2 to 4.9.7 in /src/Umbraco.Web.UI.Client
2020-02-06 08:48:25 +00:00
Warren Buckley eea4098496 Merge pull request #7557 from umbraco/v8/feature/AB2207-block-list-models
c# Block List models and property value converter with tests created
2020-02-06 08:10:12 +00:00
Bjarke Berg c0a59cbad7 Renamed SqlCe Project 2020-02-06 08:49:02 +01:00
Shannon 45e892f350 Changes api to GetData 2020-02-06 16:52:34 +11:00
Shannon 39c0e686ff Remove empty BlockListEditor 2020-02-06 16:40:16 +11:00
Bjarke Berg ebe7445a58 Merge pull request #7580 from umbraco/netcore/feature/examine-lucene-as-new-csproj-style
NetCore: Replaced the Umbraco.Examine.Lucene.csproj with the new format
2020-02-06 05:53:57 +01:00
Kenn Jacobsen 44e261b36a V8: Improve treepicker keyboard navigation for trees with listviews (#7032)
* Remember the current tab focus when opening a mini list view in the tree picker

* Automatically assign focus to the search box in mini list views
2020-02-05 21:04:28 +00:00
Poornima Nayar 3bdcff3a5c Merge pull request #6934 from kjac/v8/fix/treepicker-search-autofocus
V8: Add autofocus to treepicker search box
2020-02-05 20:57:07 +00:00
Poornima Nayar ec97bf11a5 Merge pull request #6927 from kjac/v8/fix/rte-insert-image-auto-resize
V8: Auto-resize the RTE after inserting images
2020-02-05 20:36:12 +00:00
Niels Lyngsø a2e2b63aab added content-apps 2020-02-05 14:05:56 +01:00
Bjarke Berg 4e3980dd71 Merge pull request #7491 from benjaminc/netcore/feature/7368-CleanupObsoletes
Remove obsolete Stylesheet constant and references
2020-02-05 11:36:08 +01:00
Niels Lyngsø 3b12d25ddd which around actions 2020-02-05 11:24:38 +01:00
Niels Lyngsø 6fb9afc3d8 labelTemplate rename 2020-02-05 11:20:53 +01:00
Niels Lyngsø 41e866c43a more demo content 2020-02-05 11:16:40 +01:00
Niels Lyngsø 8c02c33143 style create-bar 2020-02-05 11:16:31 +01:00
Benjamin Carleski 0e150161f7 Add audit messages back 2020-02-05 01:52:10 -08:00
Bjarke Berg 27cae2bbde Genererate xmldoc on release 2020-02-05 08:47:59 +01:00
Bjarke Berg e13c17b02d Updated and aligned nuget package versions 2020-02-05 08:43:23 +01:00
Bjarke Berg a3867d93dd Replaced the Umbraco.Examine.Lucene.csproj with the new format (PackageReferences) 2020-02-05 08:17:30 +01:00
Shannon Deminick e4cba73dec Merge pull request #7568 from stevemegson/v8/pr/migrations/published-flag
Migrations - ensure that documents with a published version are published
2020-02-05 16:18:02 +11:00
Shannon Deminick 2072ca6687 Merge pull request #7567 from stevemegson/v8/pr/migrations/edited-flag
Migrations - setting edited flag for versions
2020-02-05 16:12:28 +11:00
Shannon Deminick bfd9091c7d Merge pull request #7566 from stevemegson/v8/pr/migrations/convert-media-urls
Migrations - In ConvertTinyMceAndGridMediaUrlsToLocalLink, avoid unnecessary updates
2020-02-05 16:07:03 +11:00
Shannon Deminick 30d026b54f Merge pull request #7565 from stevemegson/v8/pr/migrations/addtypedlabels
Migrations - In AddTypedLabels, clear VarcharValue as well as TextValue
2020-02-05 16:04:39 +11:00
Shannon d6b1e0d4c7 formats sql onto new lines 2020-02-05 16:02:40 +11:00
Shannon 25e5e2b4d8 Merge branch 'stevemegson-v8/pr/migrations/update-from' into v8/contrib 2020-02-05 15:47:41 +11:00
Shannon 12e653f8a4 Merge branch 'v8/pr/migrations/update-from' of https://github.com/stevemegson/Umbraco-CMS into stevemegson-v8/pr/migrations/update-from
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/V_8_0_0/VariantsMigration.cs
2020-02-05 15:47:08 +11:00
Shannon 3479bad605 Fixes migration syntax 2020-02-05 15:41:29 +11:00
Shannon Deminick 61da081c57 Merge pull request #7569 from stevemegson/v8/pr/migrations/extra-versions
Migrations - Add extra "published=newest" versions with INSERT...SELECT
2020-02-05 14:52:03 +11:00
Shannon e3b0d8df61 changes install background 2020-02-05 12:41:51 +11:00
Andy Butland 41fde9318d Restored accidental change of csproj 2020-02-04 19:19:51 +01:00
Andy Butland b0c752bc5c Removed concrete type checks for back-office published cache details, so now working from interface. Renamed controller and FE assets to more generic name. 2020-02-04 19:18:35 +01:00
Andy Butland 28267087ef Merge branch 'feature/netcore-publish-cache' of https://github.com/AndyButland/Umbraco-CMS into feature/netcore-publish-cache
# Conflicts:
#	src/Umbraco.Web/PublishedContentExtensions.cs
2020-02-04 18:55:52 +01:00
Niels Lyngsø 03fe861b94 dragable 2020-02-04 14:40:20 +01:00
elitsa 3bfc251430 Html encoding document name when it's rendered in the relation types html.
(cherry picked from commit 889f0fc085)
2020-02-04 12:38:09 +00:00
Warren Buckley bf272318d8 Merge pull request #7558 from umbraco/v7/bugfix/AB4627-html-encode-document-name-in-relation-types
Html encoding document names when rendered in the Relation Types views
2020-02-04 12:27:40 +00:00
Warren Buckley fcad2c4863 Fix up unit test as a new Data Editor was added for Block Editor 2020-02-04 10:00:39 +00:00
Bjarke Berg bc6f79ef5b Fixed views after moving extension methods 2020-02-04 09:50:32 +01:00
Bjarke Berg 420d8d2ba8 Merge remote-tracking branch 'origin/netcore/dev' into feature/netcore-publish-cache 2020-02-04 07:14:41 +01:00
Shannon 6bd5ff9b33 puts new migration in the right place with the right name 2020-02-04 16:45:47 +11:00
Shannon 4698ce70d3 Fixes issue with upgrading from v7 -> 8.6
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/V_8_6_0/AddDatabaseIndexesMissingOnForeignKeys.cs
2020-02-04 16:43:36 +11:00
Shannon 4cb307978a Fixes issue with upgrading from v7 -> 8.6, will cherry pick this 2020-02-04 16:41:33 +11:00
Shannon a426a15b5a fixes migration and uses migration syntax 2020-02-04 15:49:05 +11:00
Shannon Deminick 3ea1f4a126 Merge pull request #7562 from stevemegson/v8/migrations/propertydata-index
Migrations - Create temporary index on umbracoPropertyData
2020-02-04 15:35:01 +11:00
Shannon Deminick 3784398d11 Merge pull request #7561 from stevemegson/v8/pr/migrations/replace-column
Migrations - Use sp_rename in ReplaceColumn when available
2020-02-04 15:23:23 +11:00
Shannon 0c619b184e remove comments 2020-02-04 12:39:03 +11:00
Shannon Deminick 48e2f84b71 Merge pull request #7529 from umbraco/netcore/feature/3679-examine-netstandard
Updating solution to use netstandard abstractions of Examine
2020-02-04 12:35:12 +11:00
Steve Megson 0187967cd8 Don't mark a version as current if it is published 2020-02-03 17:01:49 +00:00
Steve Megson 03631cfe9a Add extra "published=newest" versions with INSERT...SELECT instead of foreach 2020-02-03 16:53:35 +00:00
Steve Megson cb42eebb24 Migrations - ensure that documents with a published version are marked as published 2020-02-03 16:27:37 +00:00
Steve Megson e830af26ce VariantsMigration - setting edited flag for versions 2020-02-03 16:15:54 +00:00
Steve Megson 2b56a5aa2c Use sp_rename in ReplaceColumn when available 2020-02-03 15:04:00 +00:00
Steve Megson a6d89f5363 SQLCE does not support UPDATE...FROM, but we can still use it for SQL Server 2020-02-03 14:53:31 +00:00
Bjarke Berg 714ef684b2 Merge pull request #7547 from emmagarland/netcore/feature/7369-removeservices-unittests
Unit tests update to replace Current.Service references
2020-02-03 15:51:23 +01:00
Steve Megson 681264d233 Remove temporary index 2020-02-03 14:40:24 +00:00
Steve Megson 1677b32274 Create temporary index on umbracoPropertyData 2020-02-03 14:37:31 +00:00
Steve Megson c154af84d8 In AddTypedLabels, clear VarcharValue as well as TextValue 2020-02-03 14:36:07 +00:00
Steve Megson a5fa7465b1 In ConvertTinyMceAndGridMediaUrlsToLocalLink, avoid unnecessary updates 2020-02-03 14:27:19 +00:00
Niels Lyngsø 898594cea3 adjustment of border-radius 2020-02-03 15:08:43 +01:00
Niels Lyngsø 89c489cfe5 inline-editor + interpolation for label + element editor as a component 2020-02-03 14:53:45 +01:00
Bjarke Berg 47ca4a0207 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/3679-examine-netstandard 2020-02-03 14:18:27 +01:00
Shannon 3d0543922a un-breaks ctor 2020-02-03 22:48:00 +11:00
elitsa 889f0fc085 Html encoding document name when it's rendered in the relation types html. 2020-02-03 11:39:11 +01:00
Shannon 199ea404ed Makes model props readonly/immutable 2020-02-03 18:37:07 +11:00
Shannon 9f0becaf52 Adds another test to show how to access the data block from a layout element 2020-02-03 18:31:18 +11:00
Shannon c39c81914e Merge branch 'v8/feature/block-editor-list' into v8/feature/AB2207-block-list-models
# Conflicts:
#	src/Umbraco.Web/PropertyEditors/BlockListPropertyEditor.cs
2020-02-03 16:58:16 +11:00
Shannon 3f3ff3c4b5 Merge branch 'v8/dev' into v8/feature/block-editor-list 2020-02-03 16:52:48 +11:00
Shannon a23f93c557 Gets the block list property value converter tests running and written 2020-02-03 16:45:54 +11:00
dependabot[bot] c96c0cff32 Bump tinymce from 4.9.2 to 4.9.7 in /src/Umbraco.Web.UI.Client
Bumps [tinymce](https://github.com/tinymce/tinymce-dist) from 4.9.2 to 4.9.7.
- [Release notes](https://github.com/tinymce/tinymce-dist/releases)
- [Changelog](https://github.com/tinymce/tinymce-dist/blob/4.9.7/changelog.txt)
- [Commits](https://github.com/tinymce/tinymce-dist/compare/4.9.2...4.9.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-02-03 03:27:33 +00:00
Shannon Deminick c69ee586c0 Merge pull request #7494 from liamlaverty/add-missing-fk-index
Add missing fk index
2020-02-03 14:26:47 +11:00
Robert Foster a3bf9d2a51 Renamed "DermineIsChildOfListView" to "DetermineIsChildOfListView" 2020-02-02 13:00:40 +01:00
Andy Butland b8bfdf1441 Restored type check for NuCache status controller.
Added service located extension method for retrieving creator and writer name.
2020-02-01 18:19:50 +01:00
Steve Temple a8672790d3 Obsolete Url on IPublishedContent 2020-02-01 13:38:14 +00:00
Andy Butland 50c309e613 Removed type check for dashboard status URL from published status controller and moved to interface. 2020-01-31 15:52:08 +01:00
Steve Temple 6b46167180 In GetDataTable use Obsolete CreatorName and WriterName for now 2020-01-31 14:40:37 +00:00
Andy Butland 9e89e18492 Migrated various IPublishedContent extension methods from web to core, removin use of service location.
Kept the original methods passing through to the core ones, providing the service located dependencies.
Used one of these migrated methods in the Umbraco.Infrastructure.PublishedCache project.
2020-01-31 15:33:31 +01:00
Emma Garland e303d9e4f4 Mock IMediaService and IUserService 2020-01-31 13:57:23 +00:00
Emma Garland 8cb11de18c Replaced member service and user service with mocks 2020-01-31 13:51:22 +00:00
Andy Butland 45ee8a985d Add disambiguity otherwise flagged by build checks. 2020-01-31 13:36:14 +01:00
Andy Butland 5ebade460f Removed language features not recognised by build checks. 2020-01-31 13:21:53 +01:00
Andy Butland d1373862e5 Removed Url property from IPublishedContent and amended usages to use the existing Url() extension method. 2020-01-31 13:09:33 +01:00
Andy Butland f13abca1ac Removed WriterName and CreatorName from IPublished content and replaced functionality with an extension methods requiring an instance of IUserService. 2020-01-31 11:28:52 +01:00
Steve Temple b95d674092 Tidy up formatting 2020-01-31 09:50:37 +00:00
Steve Temple 377f1925ea Obsolete CreatorName and WriterName on IPublishedContent 2020-01-31 09:34:08 +00:00
Shannon 292c76df0b Getting models and value converter setup along with tests 2020-01-31 15:59:27 +11:00
Andy Butland 171fce2ecb Moved PublishedCache from Umbraco.Web into .Net standard project.
Returned to compiling state with a number of things to check and some temporarily commented out functionality.
2020-01-30 20:08:03 +01:00
Bjarke Berg 5259b19eef Fix reference to umbraco.core 2020-01-30 19:19:19 +01:00
Kenn Jacobsen 0a89fcc248 V8: Ensure consistent template file casing no matter how templa… (#4889)
Thanks Kenn! Wonderful, as ever
2020-01-30 16:06:15 +00:00
emma burstow a41aa26532 V8: Fix button style when opening doctype in infinite editing w… (#7003)
Lovely stuff :D
2020-01-30 14:12:53 +00:00
Nik 48a3ec0581 [FIX] Corrected Create method so that String UDI is correctly identified
- [FIX] Changed check of UDI type to check for GUID type and then String type as previously was checking for
GUID type twice. This resulted in the method never creating a String UDI if needed.
 - [ISSUE] Github Issue #7507 https://github.com/umbraco/Umbraco-CMS/issues/7507
2020-01-30 15:07:06 +01:00
emma burstow 15291a66e3 V8: Don't allow logins for users with no content and/or media s… (#5917)
Lovely work again
2020-01-30 10:52:09 +00:00
emma burstow c7cceedbd6 Merge branch 'v8/contrib' into pr/5917 2020-01-30 10:50:47 +00:00
Kenn Jacobsen da20bf0b56 V8: Change "Include subfolders in search" to "Search only in th… (#4720)
Lots of lovely work here - this is one of those PRs that show how good communication can really make the experience of contributing one of learning for all parties. Thanks Kenn and all who contributed their time here
2020-01-30 10:45:50 +00:00
emma burstow e39c0ef7a8 V8: Add custom crop indication to image cropper (#5626)
Thanks!  So sorry it's taken so long.
2020-01-30 10:32:05 +00:00
emma burstow a076f10765 Merge branch 'v8/contrib' into pr/5626 2020-01-30 10:29:57 +00:00
emma burstow 829e6dc103 V8: Mark the current variant as dirty when its name changes (#7004)
Whoop whoop! Thanks Kenn
2020-01-30 10:27:39 +00:00
emma burstow f1f175bf11 Merge branch 'v8/contrib' into pr/7004 2020-01-30 10:25:59 +00:00
emma burstow 861c09f24c Merge branch 'v8/contrib' into pr/7003 2020-01-30 10:21:59 +00:00
Matthew-Wise 423a21da10 Added dialog aria labelling (#7000)
Thanks Matt 👍
2020-01-30 10:20:16 +00:00
Shannon 772e46b93a init commit of strongly typed models for implementations of a block editor and the upcoming block list editor 2020-01-30 17:36:40 +11:00
Bjarke Berg f1daa125e6 Fix for merge issue with ports 2020-01-29 19:54:05 +01:00
Kenn Jacobsen b6a073a12e Add missing documentation for web.routing in umbracoSettings.config (#7468)
Cheers Kenn :)
2020-01-29 16:54:56 +00:00
Nathan Woulfe a945b0c511 use default color when previous selection removed (#7448)
Thanks Nathan!
2020-01-29 16:52:20 +00:00
Bjarke Berg b4d0620886 Merge pull request #7523 from umbraco/netcore/feature/AB4687-move-healthchecks-from-web
Netcore: Move healthchecks and healthcheck scheduling to Abstractions and Infrastructure
2020-01-29 14:07:50 +01:00
Bjarke Berg ddead752e2 Fixed merge issue 2020-01-29 13:19:39 +01:00
jmcaveney 42fe20a11e Uses AppSettings.Path constant for SystemDirectories.Umbraco (#7440) 2020-01-29 13:16:17 +01:00
Bjarke Berg 14f0005345 Fixed issue with the smtp settings.. Found when testing smtp healthcheck 2020-01-29 13:15:31 +01:00
Bjarke Berg cbf02d7b16 Merge remote-tracking branch 'origin/netcore/feature/AB4687-move-healthchecks-from-web' into netcore/feature/AB4687-move-healthchecks-from-web 2020-01-29 11:55:32 +01:00
Bjarke Berg 3b3d616647 Merge branch 'netcore/dev' into netcore/feature/AB4687-move-healthchecks-from-web 2020-01-29 11:55:00 +01:00
Bjarke Berg 617e2a42e8 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4687-move-healthchecks-from-web 2020-01-29 11:54:28 +01:00
Bjarke Berg bdade02164 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4687-move-healthchecks-from-web 2020-01-29 11:52:28 +01:00
Bjarke Berg 0d34468f20 Merge pull request #7522 from umbraco/netcore/feature/AB4685-move-scheduling-from-web
Netcore: Move scheduling to Abstractions and Infrastructure
2020-01-29 11:51:07 +01:00
Niels Lyngsø 039025f925 Merge branch 'v8/feature/UI-even-more-light-pink' into v8/feature/AB4550-segments-ui-variant-picker 2020-01-29 10:34:13 +01:00
Niels Lyngsø f1eab708c3 adding colors: pinkExtraLight + gray-12 + @gray-13 2020-01-29 10:33:33 +01:00
Niels Lyngsø 3152b35402 removed .umb-variant-switcher from editor.less into its own file. 2020-01-29 10:09:35 +01:00
Niels Lyngsø 0c0861321e display segments in variant picker 2020-01-29 10:09:07 +01:00
Niels Lyngsø 7fcd598361 restructure data for variant picker 2020-01-29 10:08:23 +01:00
Bjarke Berg 03f1faf20d Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Web/Editors/UsersController.cs
#	src/Umbraco.Web/Models/ChangingPasswordModel.cs
#	src/Umbraco.Web/Templates/HtmlImageSourceParser.cs
2020-01-29 09:22:45 +01:00
Aleksandr Šmailov 537674a0b3 Improve RTE performance when using base64 images (#7530) 2020-01-29 08:53:08 +01:00
Shannon c4b9a62e3b Fixes netstandard references 2020-01-29 15:29:28 +11:00
Shannon 958118fc7f removes duplicate lines in csproj 2020-01-29 14:20:17 +11:00
Shannon ecf5a5efbc reverts accidental change 2020-01-29 12:46:16 +11:00
Shannon a19d9b2a9b removes empty file 2020-01-29 12:42:50 +11:00
Shannon 1dffffcf11 changes namesapces 2020-01-29 12:36:57 +11:00
Shannon 76d868d46d Moves file 2020-01-29 12:31:06 +11:00
Shannon 5b5aa4c499 All Lucene based logic is part of Umbraco.Examine.Lucene, no other part of Umbraco now knows about Lucene at all. 2020-01-29 12:24:57 +11:00
Shannon Deminick 4058ca6109 Merge pull request #7532 from lars-erik/v8/fix-tests-more
Don't downcast `IPublishedSnapshot` unnecessarily in `PublishedContent`
2020-01-29 09:48:55 +11:00
Lars-Erik Aabech af7f03e1f7 Don't downcast IPublishedSnapshot unnecessarily in PublishedContent 2020-01-28 22:28:54 +01:00
Warren Buckley 9212d7cdb1 Merge pull request #7310 from ronaldbarendse/v7/bugfix/miniprofiler-startup
V7: Discard MiniProfiler results when not in debug mode
2020-01-28 16:16:53 +00:00
elitsa bd8ba35ff3 Fixing a boot error in FilePermissionHelper 2020-01-28 15:22:14 +01:00
elitsa 5ce8e29aa6 Moving Scheduling classes dependent on the recently moved HealthCheck classes - changing class accessibility level, installing needed nuget into Infrastructure proj 2020-01-28 14:38:18 +01:00
elitsa 550568dda6 Creating an interface for FilePermissionHelper, making the implementation (in Umbraco.Web) singleton and adding the interface to Umbraco.Abstractions. Changing static methods in FilePermissionHelper to instance ones and fixing old way of referencing those methods. Removing the usage of Current in FolderAndFilePermissionsCheck. Fixing tests - mocking the newly created IFilePermissionHelper 2020-01-28 13:48:44 +01:00
elitsa 6707ac4d5f Getting the IISVersion through HostingEnvironment, rather than directly calling HttpRuntime, fixing base ctor signature 2020-01-28 13:41:54 +01:00
elitsa aab8b58067 csprojs with moved files and added package 2020-01-28 13:34:19 +01:00
elitsa ca863fce8d Fixing modified method signature, using a magic string rather than using CustomErrorsMode (System.Web.Configuration) 2020-01-28 13:32:32 +01:00
elitsa 394377f20a Moving classes from Web to Infrastructure without modifications - a unused usings are removed and HealthCheckNotificationMethodCollectionBuilder is made public 2020-01-28 13:25:38 +01:00
elitsa 1d79ab4877 Moving classes from Web to Abstractions without modifications - a few unused usings are removed 2020-01-28 13:22:33 +01:00
elitsa 559b6641a1 Moving last classes in Security folder - removing the usage of Current, refactoring var name, fixing modified method signature 2020-01-28 13:14:50 +01:00
Shannon 4183514b52 Renames Examine2 to Examine as the netstandard part 2020-01-28 17:11:43 +11:00
Shannon 69f4ea5484 Renames Umbraco.Examine project to Umbraco.Examine.Lucene for the Lucene implementation part 2020-01-28 17:09:45 +11:00
Shannon 0695d308c2 Moves remaining non-lucene stuff 2020-01-28 17:07:06 +11:00
Shannon 0343b302f3 Moving stuff to Examine2 (temp name) as a netstandard project, updates to latest Examine netstandard, moves constants to separate class. 2020-01-28 16:37:55 +11:00
Shannon 4cf4952a7e Umbraco.Web still needs refs to Examine.Lucene for now. Going to try to split Umbraco.Examine into 2x projects 2020-01-28 15:38:23 +11:00
Shannon 58537ce11a Updates to newer 2.0 version of Examine which has Examine.Core as netstandard 2020-01-28 15:21:58 +11:00
elitsa c624919710 Moving Security HealthChecks to Abstractions proj 2020-01-27 16:38:02 +01:00
Poornima Nayar c077f56ced Merge pull request #6942 from kjac/v8/fix/locked-alias-cursor
V8: Use "not allowed" cursor for locked type aliases
2020-01-27 15:24:36 +00:00
elitsa 8c6281cb6d Merge branch 'netcore/dev' into netcore/feature/AB4687-move-healthchecks-from-web 2020-01-27 15:11:51 +01:00
Bjarke Berg 5ed900f276 Bugfix - Aparently the UmbracoApplicationBase constructor is called twice.. 2020-01-27 14:55:43 +01:00
elitsa 9b371273b5 Refactoring SmtpCheck to use the new GlobalSettings to get smtp host and port instead of WebConfigurationManager 2020-01-27 14:36:29 +01:00
Bjarke Berg a1ed2eb135 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/SolutionInfo.cs
2020-01-27 14:22:04 +01:00
elitsa 770c4beb95 Moving Scheduling classes from Web to Abstractions and Infrastructure. 2020-01-27 12:56:00 +01:00
Niels Lyngsø 9df2711d5e enforce the content content-app in split view mode. 2020-01-27 11:18:31 +01:00
Niels Lyngsø 8efa973992 sync active app in variants 2020-01-27 11:17:56 +01:00
Bjarke Berg 3b7825b30d Netcore: Moves services and dependencies from Web to Abstractions (#7497)
* Moves the services and dependencies from web,

* Fix bug with Empty collection not being a property (new one for each access)

* remvoed moved files from web csproj

* Fix spelling
2020-01-27 09:31:24 +01:00
Bjarke Berg 09b9c01f94 Netcore: Make composition root available as current in abstrations (#7500)
* Added all the essential parts of umbraco available on the Current from Abstractions.
These are created when Current is initialized.

* Moved some of the composers and components into Infrastructure - And removed unused Settings Files

* Init current with null logger

* Avoid multiple init of Current
2020-01-27 09:12:52 +01:00
Niels Lyngsø f988a6a31b more demo content 2020-01-27 07:37:29 +01:00
Nathan Woulfe 902d4196cf add dialog for change password, shift form from user details view int… (#7450) 2020-01-27 06:29:04 +01:00
Poornima Nayar ebed80791d Changed delete button style on media type folder delete to danger style (#7393) 2020-01-27 06:12:01 +01:00
Sebastiaan Janssen 41dc8d915b Merge branch 'v8/dev' into v8/contrib 2020-01-26 10:37:11 +01:00
Niels Lyngsø d9b0916ca7 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/block-editor-list 2020-01-24 13:35:37 +01:00
Niels Lyngsø b2ef64c6a8 still have a copy of apps for each variant, but just create it when its needed. 2020-01-24 13:18:21 +01:00
Kenn Jacobsen 8e736f87d0 Hide the "blob:" URL for images uploaded via the RTE (#6926) 2020-01-24 11:38:21 +00:00
Niels Lyngsø abd8b3a1a7 one way binding 2020-01-24 12:04:32 +01:00
Niels Lyngsø 6ab054868c use umb-outline for focus outline 2020-01-24 11:06:11 +01:00
Niels Lyngsø 0180b9db7d fixing broken style 2020-01-24 11:05:59 +01:00
Niels Lyngsø 0b8cffabc7 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB4550-segments-ui 2020-01-24 10:18:57 +01:00
Warren Buckley 8bf457a88d Set v8/dev to 8.7.0 with powershell .\build setumbracoversion 8.7.0 2020-01-24 09:10:54 +00:00
Warren Buckley 3ad1bb9e12 Added "rc" to AssemblyInformationalVersion for 8.6.0-rc 2020-01-24 09:06:33 +00:00
Warren Buckley f486db89d4 Merge pull request #7498 from umbraco/v8/feature/upgrade-npm-dependencies
upgrade npm dependencies
2020-01-24 08:52:36 +00:00
Bjarke Berg 257ea6c1c3 Merge remote-tracking branch 'origin/v8/8.5' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2020-01-24 09:32:34 +01:00
Bjarke Berg 4cf78d6ef0 Bump version to 8.5.3 2020-01-24 09:22:34 +01:00
Bjarke Berg 7bdf97c431 https://github.com/umbraco/Umbraco-CMS/issues/7469 Unsealed class to allow override 2020-01-24 09:20:16 +01:00
Bjarke Berg 05fe604e22 https://github.com/umbraco/Umbraco-CMS/issues/7469 Renamed extension method to avoid ambiguous signature 2020-01-24 09:19:29 +01:00
Sebastiaan Janssen d45ef632f1 Merge branch 'v8/dev' into v8/contrib 2020-01-24 09:01:37 +01:00
Bjarke Berg 384ecbe22a Removed reference from Umbraco.Web.UI to Umbraco.TestData 2020-01-24 08:25:03 +01:00
Niels Lyngsø b8ded53e6a revert to content 2020-01-23 20:00:06 +01:00
Niels Lyngsø ba6c5a4840 rename variantHelper to contentVariantUtilities 2020-01-23 19:56:03 +01:00
Niels Lyngsø f2edd9682b Remove this part until we see the need for this 2020-01-23 19:51:06 +01:00
Niels Lyngsø 133bec9b65 remove space 2020-01-23 19:45:17 +01:00
Niels Lyngsø 03b05a05d1 clean up 2020-01-23 19:40:41 +01:00
Niels Lyngsø e02624baf5 remove spaces 2020-01-23 19:32:31 +01:00
Niels Lyngsø 535b762f6e reverting these lines from refactoring process 2020-01-23 19:24:33 +01:00
Niels Lyngsø 3672048c60 clean up 2020-01-23 19:17:40 +01:00
Niels Lyngsø 9215575f19 remove comment 2020-01-23 19:14:22 +01:00
Niels Lyngsø 2f2fc72500 correct binding 2020-01-23 19:14:14 +01:00
Niels Lyngsø d4d7425c24 Refactoring part 2 of umb-editor, splitview, variants. 2020-01-23 19:09:48 +01:00
Niels Lyngsø f302b373ac basic tests for segments validation 2020-01-23 17:00:14 +01:00
Niels Lyngsø 7fc0f01887 fixed versions for angular + npm 2020-01-23 15:23:32 +01:00
Niels Lyngsø aaf53921eb upgrade to Angular 1.7.9 + npm 6.13.6 2020-01-23 15:15:48 +01:00
Niels Lyngsø 58adb42930 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB4550-segments-ui 2020-01-23 15:04:22 +01:00
Niels Lyngsø 30be926949 Refactorying of umb-editor, splitview, variants 2020-01-23 14:50:58 +01:00
Poornima Nayar dd78fd832c Merge pull request #6933 from kjac/v8/fix/treepicker-retain-selected-state
V8: Display picked item state when navigating the treepicker
2020-01-23 13:03:09 +00:00
Bjarke Berg a9e6919420 Merge pull request #7496 from benjaminc/netcore/feature/7369-remove-current-services
Replace Current.Services references with DI where possible
2020-01-23 13:39:59 +01:00
Bjarke Berg fd2524bcc5 Need to make lazy injection of IEntityService to break cycle after merge :( 2020-01-23 13:33:10 +01:00
Poornima Nayar 18e0f8d092 Merge pull request #6790 from stevemegson/v8/pr/6230
V8: Update TinyMCE language files
2020-01-23 12:28:51 +00:00
Bjarke Berg 1bfb64bdd8 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Abstractions/Constants-AppSettings.cs
#	src/Umbraco.Abstractions/ContentVariationExtensions.cs
#	src/Umbraco.Abstractions/IMainDom.cs
#	src/Umbraco.Abstractions/PropertyEditors/MultiUrlPickerConfiguration.cs
#	src/Umbraco.Abstractions/Runtime/IMainDom.cs
#	src/Umbraco.Abstractions/Runtime/MainDom.cs
#	src/Umbraco.Core/IMainDom.cs
#	src/Umbraco.Core/MainDom.cs
#	src/Umbraco.Core/Umbraco.Core.csproj
#	src/Umbraco.Infrastructure/MainDom.cs
#	src/Umbraco.Infrastructure/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Infrastructure/Runtime/CoreRuntime.cs
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
#	src/Umbraco.Web/Models/Mapping/ContentTypeMapDefinition.cs
#	src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs
#	src/Umbraco.Web/UmbracoApplication.cs
#	src/Umbraco.Web/UmbracoComponentRenderer.cs
2020-01-23 13:16:49 +01:00
Bjarke Berg fd11ef6ed1 Merge pull request #7306 from umbraco/v8/bugfix/AB3323-SqlMainDom
Introduce a new IMainDomLock and both default and sql implementations
2020-01-23 12:44:11 +01:00
Poornima Nayar df8f281141 Merge pull request #7045 from ronaldbarendse/v8/bugfix/nested-content-defaultpropertyvalueconverters
Add DefaultPropertyValueConverterAttribute to core Nested Content PropertyValueConverters
2020-01-23 11:26:13 +00:00
Niels Lyngsø 109d9e1f7b implement segment support 2020-01-23 11:26:55 +01:00
Bjarke Berg 0d84bfb42e Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2020-01-23 10:34:06 +01:00
Shannon Deminick 3b63d9baa3 Merge pull request #7486 from umbraco/netcore/feature/AB4635-move-cache-refreshers
NetCore:  Moved CacheRefreshers to abstractions
2020-01-23 20:18:48 +11:00
Shannon 877e0cca93 removes unneeded ctor param 2020-01-23 20:06:02 +11:00
Shannon c7b0bf20b0 Removes RefreshByJson and changes macro cache refreshing to use objects 2020-01-23 19:48:15 +11:00
Sebastiaan Janssen a9d45413c8 Merge branch 'v8/dev' into v8/contrib 2020-01-23 09:04:57 +01:00
Shannon 52b93bfc9c ensures only _sqlServerSyntax is used 2020-01-23 18:33:55 +11:00
Shannon a020c52ff6 Simplifies IdKeyMap interface, moves the weird add mapping logic in PublishedSnapshotService to a composer. 2020-01-23 18:10:21 +11:00
Benjamin Carleski a379e01578 Replace Current.Services references with DI where possible 2020-01-22 21:43:25 -08:00
Shannon 8d7ed7dd32 adds const fixing naming 2020-01-23 16:26:13 +11:00
Shannon 201927580c Fixing accidental api signature breaking change 2020-01-23 16:23:27 +11:00
Shannon Deminick 238db1c908 Merge pull request #7430 from ronaldbarendse/v8/bugfix/enum-extensions
Clean up EnumExtensions
2020-01-23 15:03:51 +11:00
Dave Woestenborghs d61090a225 #7452 set save state correctly for variant when setting schedule publishing 2020-01-22 21:27:35 +01:00
LiamL 1047929880 simplifies tablename for dictionary dto 2020-01-22 13:22:09 +00:00
Bjarke Berg 47c211907a AB4635 - Fixed up some of the review comments - Removed static (de)serializers and get the CacheRefresher from the collection 2020-01-22 14:09:20 +01:00
Bjarke Berg d8427779ea Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2020-01-22 11:58:20 +01:00
Bjarke Berg 3bdfe84717 Merge pull request #7490 from benjaminc/netcore/feature/7370-inject-config-interfaces
Use dependency injection for config classes
2020-01-22 11:52:50 +01:00
Niels Lyngsø 4a028ed22c renaming getCultureCallbacks to getVariantCallbacks, for segment support. 2020-01-22 11:47:48 +01:00
Bjarke Berg 3e7c6c12b0 Removed support for vbhtml views 2020-01-22 11:45:18 +01:00
Bjarke Berg 2e0299cf7b Removed used things 2020-01-22 11:44:56 +01:00
Niels Lyngsø 5acca8c416 adding missing segment argument 2020-01-22 11:40:53 +01:00
Ronald Barendse c4da5703fd Merge changes 2020-01-22 11:40:41 +01:00
Ronald Barendse 1cc6a8cb45 Rename SetVariesBy to SetFlag on the enum overload 2020-01-22 11:14:31 +01:00
Sebastiaan Janssen ac675d14e9 Fixes build errors 2020-01-22 11:13:49 +01:00
Bjarke Berg db27090ac0 Merge pull request #7233 from umbraco/v8/bugfix/6758-nucache-fix
When nucache updates are made the previous Gen root node is cleared
2020-01-22 11:13:43 +01:00
Ronald Barendse 6c2e1b29fd Use SetVariesBy extension methods instead of SetFlag/UnsetFlag 2020-01-22 11:10:56 +01:00
Ronald Barendse 10f15a7648 Remove duplicate VariesBySegment overload after merge 2020-01-22 11:10:28 +01:00
Ronald Barendse b01f2ed35e Merge remote-tracking branch 'upstream' into v8/bugfix/enum-extensions 2020-01-22 11:04:11 +01:00
Sebastiaan Janssen a7b580b552 Merge branch 'v8/dev' into pr/7430 2020-01-22 10:56:21 +01:00
Niels Lyngsø 686e1beb74 Apply segments for validation, client side. 2020-01-22 10:40:56 +01:00
Bjarke Berg 1dfdfba236 Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/AB3323-SqlMainDom 2020-01-22 09:39:06 +01:00
Warren Buckley 81a0a52874 Merge branch 'v8/feature/media-tracking' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
2020-01-22 08:36:32 +00:00
Niels Lyngsø 5246e535e6 Merge remote-tracking branch 'PerplexDaniel/feature/backoffice-segment-support-client' into v8/feature/AB4550-segments-ui
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditorcontentheader.directive.js
#	src/Umbraco.Web.UI.Client/src/views/components/editor/umb-editor-content-header.html
2020-01-22 09:22:39 +01:00
Bjarke Berg efd4512e64 Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/AB3323-SqlMainDom 2020-01-22 09:18:30 +01:00
Sebastiaan Janssen 794976dda7 Merge branch 'v8/dev' into v8/contrib 2020-01-22 08:55:42 +01:00
Niels Lyngsø 8030901184 Fix mistakes made in commit a4a6b77 2020-01-22 08:36:52 +01:00
Bjarke Berg b84961bcbc Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/AB3323-SqlMainDom
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Web/PublishedCache/NuCache/PublishedSnapshotService.cs
2020-01-22 07:06:43 +01:00
Benjamin Carleski c9bbb158be Remove obsolete Stylesheet constant and references 2020-01-21 17:50:20 -08:00
Shannon Deminick 656585b2dc Merge pull request #7438 from umbraco/netcore/feature/AB4385-move-content-apps-to-abstractions
Netcore:  Move content apps to abstractions
2020-01-22 12:43:56 +11:00
Benjamin Carleski ae25845f2b Correct cut-and-paste error 2020-01-21 17:40:13 -08:00
Benjamin Carleski fd3ef48367 Use dependency injection for config classes 2020-01-21 17:25:03 -08:00
Shannon Deminick 3fa969eef2 Merge pull request #7400 from bielu/allow-override-internalsearch-constants
Add possibility to override internal hardcoded configs for backoffice search
2020-01-22 11:18:32 +11:00
Anders Bjerner 63bd28f8c1 Merge pull request #7477 from MarcStoecker/patch-4
Fix typo in DE "installFinish" caption
2020-01-21 23:01:58 +01:00
Anders Bjerner fecd09cf9d Merge pull request #7488 from JeffDess/v8/contrib
Fix typo in contentTypeSavedHeader French label
2020-01-21 22:48:46 +01:00
Sebastiaan Janssen 163c1f7028 Fix automatic merge gone wrong 2020-01-21 19:16:07 +01:00
Sebastiaan Janssen a4a6b77fc1 Merge branch 'v8/contrib' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/services/tour.service.js
2020-01-21 18:58:03 +01:00
Jean-François Dessureault 204e0841af Fix typo in contentTypeSavedHeader French label
"documet" should read "document"
2020-01-21 10:48:21 -05:00
elitsa 1bf1a86f94 Commenting out the Starter Kit installation for now as it isn't compatible 2020-01-21 15:41:35 +01:00
Bjarke Berg f95b99676a Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4385-move-content-apps-to-abstractions 2020-01-21 14:29:27 +01:00
Bjarke Berg 17ee7796f4 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4635-move-cache-refreshers 2020-01-21 14:24:53 +01:00
Bjarke Berg 258dcef773 Merge pull request #7460 from umbraco/netcore/feature/AB4549-Move-models-from-web
Netcore: Move models from web to abstractions and infrastructure
2020-01-21 14:22:20 +01:00
elitsa 9ef5f74d67 Removing unnecessary namespace from in-line file reference 2020-01-21 13:50:37 +01:00
elitsa bda64d75ba Removing the usage of Current 2020-01-21 13:47:21 +01:00
Bjarke Berg 0cdd6ba29d AB4635 - Moved CacheRefreshers to abstractions 2020-01-21 13:40:23 +01:00
Bjarke Berg f3107c6f55 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4385-move-content-apps-to-abstractions 2020-01-21 11:07:42 +01:00
Bjarke Berg 68e3fe275a Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4549-Move-models-from-web
# Conflicts:
#	src/Umbraco.Web/Editors/ContentTypeController.cs
#	src/Umbraco.Web/Editors/PackageInstallController.cs
2020-01-21 11:05:48 +01:00
Bjarke Berg 928f774bfd Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2020-01-21 10:51:43 +01:00
Bjarke Berg d533631dff Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2020-01-21 10:51:36 +01:00
Bjarke Berg bdf29f315f Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2020-01-21 10:51:16 +01:00
Bjarke Berg d7377bd9b4 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.ModelsBuilder.Embedded/Compose/ModelsBuilderComposer.cs
#	src/Umbraco.ModelsBuilder.Embedded/Configuration/ModelsBuilderConfig.cs
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/web.Template.Debug.config
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/Umbraco.Web/Editors/DataTypeController.cs
#	src/Umbraco.Web/Editors/MacrosController.cs
#	src/Umbraco.Web/Models/Mapping/ContentPropertyBasicMapper.cs
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
2020-01-21 10:51:04 +01:00
Bjarke Berg 3978ad95df Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.ModelsBuilder.Embedded/Compose/ModelsBuilderComposer.cs
#	src/Umbraco.ModelsBuilder.Embedded/Configuration/ModelsBuilderConfig.cs
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/web.Template.Debug.config
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/Umbraco.Web/Editors/DataTypeController.cs
#	src/Umbraco.Web/Editors/MacrosController.cs
#	src/Umbraco.Web/Models/Mapping/ContentPropertyBasicMapper.cs
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
2020-01-21 10:50:26 +01:00
abi 0d12852cd8 Address Shannon comments
Add code documentation, return empty enumerable instead of allocate empty list
2020-01-21 09:07:10 +00:00
Bjarke Berg 8b4c291d44 Merge pull request #7472 from benjaminc/netcore/feature/7368-CleanupObsoletes
Netcore/feature/7368 cleanup obsoletes
2020-01-21 10:04:36 +01:00
Bjarke Berg 7a113ca386 Merge pull request #7482 from umbraco/v8/dev-merge-8.5
Merge of 8.5 into v8/dev
2020-01-21 09:03:16 +01:00
Bjarke Berg 1ee09af4f3 7368 - Updated view to use the new name of ReplaceLineBreaksForHtml 2020-01-21 09:01:11 +01:00
Warren Buckley 466f8ca185 V8: Email Marketing Opt In (#7366)
* Enable BackOfficeTours to have a bool to hide them in the help drawer

* New hidden tour to display the email marketing option on login to backoffice

* Update to tourService to use the new bool property of hidden to show/hide the tour in the help drawer

* AngularJS Resource to call the Azure Function EmailService proxy code - currently set to DEV

* New method on userService.addUserToEmailMarketing that in turn calls the new emailMarketingResource

* New AngularJS view & controller in the tour step to deal with user clicking yes/accept to the email opt-in

* Modifies the init script to auto launch the hidden email marketing tour at login
If it has been accepted or dismissed before we then try to launch the original intro tour

* Only show the email marketing tour when the intro tour has been dismissed or completed and will appear for one time only the next time you login

* When using X to close email tour, it does not disable and never show it again but just closes it, similar to intro tour

* Adds new localStorageService key for 'emailMarketingTourShown' to prevent the tour being shown again in the same logged in session, if you refresh the backoffice in your browser

* Update URL to email function

* Adding new COMA copy for email marketing tour - needs fine tuning pixel pushing from Niels L

* Prettified layout of e-mail marketing promotion tour

* fixing whitespace

* text=auto

* adding xml to gitattributes

* Ensures the email tour is not shown if you dismiss the intro tour and manually refresh the page

Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
2020-01-21 08:56:51 +01:00
Bjarke Berg 832c699fc4 Merge remote-tracking branch 'origin/v8/8.5' into v8/dev-merge-8.5
# Conflicts:
#	src/SolutionInfo.cs
2020-01-21 08:10:12 +01:00
Shannon be38b96391 fixes up the AddSegmentData endpoint 2020-01-21 13:52:53 +11:00
Shannon 4cf204f8f5 Merge branch 'v8/dev' into v8/feature/media-tracking
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
2020-01-21 13:40:16 +11:00
Shannon 8cc78631a0 Adds TestData project along with test endpoints for enabling/disabling segments 2020-01-21 13:33:39 +11:00
Benjamin Carleski 25e58665ba Merge remote-tracking branch 'umbraco/netcore/dev' into netcore/feature/7368-CleanupObsoletes 2020-01-20 14:26:58 -08:00
Benjamin Carleski fceac19f04 Update controllers to include UmbracoMapper 2020-01-20 14:15:54 -08:00
Benjamin Carleski 7284ab0400 Remove obsolete UmbracoApiControllerBase constructor 2020-01-20 11:55:49 -08:00
Benjamin Carleski 421ed582da Remove obsolete UmbracoIndexesCreator methods 2020-01-20 11:50:08 -08:00
Benjamin Carleski d35b3468e2 Remove obsolete RebuildIndexes method 2020-01-20 11:46:03 -08:00
Benjamin Carleski cd4f646ed0 Remove obsolete PublishedContentQuery constructor 2020-01-20 11:45:44 -08:00
Benjamin Carleski f463fae047 Fix BuilderTests reference 2020-01-20 11:26:18 -08:00
Benjamin Carleski 628373f7a4 Remove obsoletes Umbraco.Infrastructure 2020-01-20 11:26:01 -08:00
Niels Lyngsø addd583e34 visual corrections 2020-01-20 20:21:43 +01:00
Benjamin Carleski 0c1d54ba4d Remove unused obsoletes from Umbraco.Web.UI.Client 2020-01-20 11:07:13 -08:00
Benjamin Carleski 66e32148b2 Remove unused obsoletes from Umbraco.Abstractions 2020-01-20 11:06:29 -08:00
Niels Lyngsø 84f383a77d Turn Compositions and Reorder buttons into outline styles, to make then stand back. 2020-01-20 19:20:33 +01:00
Niels Lyngsø f04207a3a1 add xml and json for gitattributes 2020-01-20 19:11:31 +01:00
Niels Lyngsø 9f8d6230d1 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/5656-ux-doctype-property-creation-journey
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
2020-01-20 19:06:15 +01:00
Niels Lyngsø 2583d0c7d0 BlockList PropertyEditor 2020-01-20 17:34:49 +01:00
Bjarke Berg 3279098f02 AB4549 - Moved mappers 2020-01-20 15:48:03 +01:00
Bjarke Berg e45ff0b63d Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4549-Move-models-from-web 2020-01-20 15:44:15 +01:00
Bjarke Berg f4caf75ced Merge pull request #7476 from umbraco/netcore/feature/AB4519-move-more-property-editors-to-infrastructure
Netcore: Move property editors to Infrastructure or Abstractions (2nd part)
2020-01-20 15:43:14 +01:00
Bjarke Berg 9fa18fe9a3 AB4549 - Moved more models 2020-01-20 15:20:21 +01:00
elitsa beb55ccd23 Moving property editors to Abstractions project 2020-01-20 15:11:54 +01:00
Bjarke Berg 7fbe482919 Revert "https://github.com/umbraco/Umbraco-CMS/issues/7469 - Fixed Ambiguous extension method issue by renaming our extension method from Value to GetValue"
This reverts commit baef282b
2020-01-20 14:09:13 +01:00
Marc Stöcker 9a7b72c8c1 Fix typo in DE "installFinish" caption
(and improve wording: "Abschließen" (~ completing something) instead of "Quit" or "Close" as it was; EN is "Finishing")
2020-01-20 13:39:22 +01:00
Niels Lyngsø 382ead27f2 Run JS when Views has been updated, cause we have embeded templates. 2020-01-20 13:30:50 +01:00
elitsa 3f6e14c065 Moving files from ParameterEditors and ValueConverters folders under PropertyEditors 2020-01-20 13:05:20 +01:00
elitsa d88dbbb0cd Moving some more PropertyEditors From Umbraco.Web to Umbraco.Infrastructure 2020-01-20 11:45:40 +01:00
Bjarke Berg 5a67e5b395 AB4549 - Moved more models 2020-01-20 11:37:19 +01:00
Niels Lyngsø 034567bb0e reverted gulp change 2020-01-20 11:11:05 +01:00
Warren Buckley d378495942 Log message format fix for PR6617 2020-01-20 09:11:29 +00:00
Niels Lyngsø 761b5ecc01 Add BlockListPropertyEditor to csproj 2020-01-20 09:09:54 +01:00
Niels Lyngsø 4caad6e429 ability to turn on/off focus outlines 2020-01-20 09:09:14 +01:00
Niels Lyngsø 85d4cd9be3 compile JS after HTML, cause HTML is embeded in JS. 2020-01-20 09:07:41 +01:00
Niels Lyngsø 897517d4ec do not set focus if already set + clear timeout if running 2020-01-20 09:07:13 +01:00
Niels Lyngsø 678e31834d registrer Block List Editor 2020-01-20 09:06:27 +01:00
Kenn Jacobsen c27634d8a9 V8: Allow reordering of allowed child types (#4927)
* Allow explicitly sorting allowed child types for content types

* Allow explicitly sorting allowed child types for media types

* Remove console.log

* Fix the mapping of allowed content types (after introduction of the new mapper)

* Fix sorting after merge
2020-01-19 09:50:18 +00:00
Andy Butland bc82ccd824 Prevented user from changing a document type to an element type if it's already been used to create content (#5668) 2020-01-19 09:34:04 +00:00
Benjamin Carleski 3320e1a2f0 Remove unused obsoletes from Umbraco.Web 2020-01-17 17:22:55 -08:00
Benjamin Carleski 94f42c3223 Update package references to fix compilation error 2020-01-17 17:21:50 -08:00
Ronald Barendse b3829bfff8 Reorder methods to keep overloads adjacent 2020-01-17 22:44:44 +01:00
Ronald Barendse d9dfea8ef5 Add remarks and better summary on SetVariesBy extension methods 2020-01-17 22:43:11 +01:00
Ronald Barendse 05f7d24a9a Add VariesBySegment and VariesByCultureAndSegment extension methods for ISimpleContentType 2020-01-17 22:42:24 +01:00
LiamL 93e85f77f2 removes generics stuff & makes the migration simpler 2020-01-17 15:15:29 +00:00
Claus df1e006b9f Merge pull request #7470 from umbraco/v8/hotfix/7469-ambiguous-extension-method
https://github.com/umbraco/Umbraco-CMS/issues/7469 - Fixed  Ambiguous…
2020-01-17 14:32:18 +01:00
Kenn Jacobsen bcf4c97270 V8: Support culture variant URLs in multi URL picker (#7130)
Thanks, Kenn - great work as usual 👍
2020-01-17 12:58:18 +00:00
Bjarke Berg baef282b10 https://github.com/umbraco/Umbraco-CMS/issues/7469 - Fixed Ambiguous extension method issue by renaming our extension method from Value to GetValue 2020-01-17 13:53:03 +01:00
Bjarke Berg 6637bf520c https://github.com/umbraco/Umbraco-CMS/issues/7469 - Fixed Ambiguous extension method issue by renaming our extension method from Value to GetValue 2020-01-17 13:22:13 +01:00
Bjarke Berg 5ddc4b8efb Bump version to 8.5.2 2020-01-17 11:51:31 +01:00
Sebastiaan Janssen 12e88fde42 Merge branch 'v8/dev' into v8/contrib 2020-01-17 10:07:06 +01:00
Bjarke Berg 7a6ec6bfa4 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4385-move-content-apps-to-abstractions
# Conflicts:
#	src/Umbraco.Abstractions/ContentApps/ContentAppFactoryCollectionBuilder.cs
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
2020-01-17 06:57:09 +01:00
Bjarke Berg dc7e0e41d9 Merge pull request #7467 from umbraco/v8/hotfix/7466-lazy-eval-mb-mode
V8: Bugfix - Lazy evaluate MB mode
2020-01-17 06:50:53 +01:00
Shannon Deminick 160ad18f1d Merge pull request #7465 from umbraco/v7/hotfix/AB4084-backport-contentservice-returns-outdated-results
V7: Backported/reimplemented fix for contentservice returning outdated results
2020-01-17 16:12:38 +11:00
Shannon 1b56922213 Fixes threadsafety for settings value 2020-01-17 13:31:22 +11:00
Kenn Jacobsen f3d9a01800 Hide the "Add" button for Nested Content in "single mode" (#7327) 2020-01-16 22:00:28 +00:00
Bjarke Berg b272a3b791 https://github.com/umbraco/Umbraco-CMS/issues/7466 - Fixes issue with external ModelsBuilder and Dll or LiveDll mode. The issue is because the Mode is determined in the contructor, and not lazy. 2020-01-16 19:39:17 +01:00
Kieron Boswell f5a5a9a297 Spelling mistake in comments of partial snippet (#6975) 2020-01-16 17:19:54 +01:00
Kieron Boswell 4d5f34a63d Spelling mistake on word Success in instructional comment. (#6966) 2020-01-16 17:15:07 +01:00
Bjarke Berg d4e6eb2b6b AB4084 - Backported/reimplemented fix for contentservice returning outdated results 2020-01-16 17:04:38 +01:00
Jan Skovgaard 4c68f7e53a List view configuration - Sort order distance fix (#6905)
Thanks, Jan. You're a 🌟
2020-01-16 15:13:25 +00:00
Anders Bjerner c127bedb93 Responsive Angular API documentation (#7030) 2020-01-16 15:11:08 +00:00
Kenn Jacobsen dbe088eedb V8: Add infinite editing to datatype references tab (#6907)
* Add infinite editing to datatype references tab

* Use correct save button label in infinite editing mode
2020-01-16 14:36:54 +00:00
Kenn Jacobsen e85640c483 V8: Set tab focus on newly created nested content items (#6914)
* Set tab focus on newly created nested content items

* Fix bad merge

* Undo unintentional change
2020-01-16 14:15:04 +00:00
Kenn Jacobsen 6ca0a8ba66 V8: A few UX updates to the listview move dialog (#6902)
* Add some context to the move operation from listviews

* Disable submit button in the listview move dialog until a target is chosen

* Fix bad merge
2020-01-16 13:47:25 +00:00
Mike Masey 1b3f809cec Improvements to grid accessibility (#6804)
Happy to merge this one. It's a nice improvement. Great work Mmmmmmasey ;)
2020-01-16 13:03:01 +00:00
Jan Skovgaard ed533697e2 Listview: Various corrections (#6904)
Heyyyyy Jan. Thanks for this contribution. :)
2020-01-16 13:01:40 +00:00
Kenn Jacobsen fb477429fe V8: UX updates to the listview copy dialog + add option to incl… (#6903)
Fab work Kenn :)
2020-01-16 09:48:46 +00:00
Poornima Nayar eed94d8cd0 Change to default branch name for v8 2020-01-16 09:21:26 +01:00
Bjarke Berg 2c8d53ed71 AB3986 - fix from merge 2020-01-16 07:25:18 +01:00
Bjarke Berg 087702334d Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4549-Move-models-from-web 2020-01-16 07:20:13 +01:00
Shannon Deminick 0577877a41 Merge pull request #7432 from umbraco/netcore/feature/AB3986-handle-iregistedobject-and-remove-core-project
Netcore: Handle IRegisteredObject and remove Umbraco.Core project
2020-01-16 14:57:32 +11:00
LiamL 6b570cd5e3 adds fk index to cmsDictionary -> parentId 2020-01-15 14:56:06 +00:00
Bjarke Berg 6d92f5915a Merge remote-tracking branch 'origin/v8/8.5' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2020-01-15 13:44:42 +01:00
Bjarke Berg 4ff0f2f51a Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4549-Move-models-from-web 2020-01-15 13:42:55 +01:00
Bjarke Berg 17609b70de Merge pull request #7459 from umbraco/netcore/feature/AB4519-move-property-editors-to-infrastructure
Netcore: Move property editors to infrastructure (1st part)
2020-01-15 10:33:08 +01:00
Bjarke Berg ea398e1b80 AB3986 - Changed dictionary to be concurrent to ensure thread safety. 2020-01-15 09:31:09 +01:00
Bjarke Berg 1e5c00878b AB4549 - Moved models from web to abstractions and infrastructure 2020-01-15 09:05:52 +01:00
Bjarke Berg 55160f8e03 Merge remote-tracking branch 'origin/v8/8.5' into v8/8.5 2020-01-15 07:07:32 +01:00
Bjarke Berg 10e5d5c7ac bump version to 8.5.1 2020-01-15 07:06:30 +01:00
Shannon 29c2110b0a Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3986-handle-iregistedobject-and-remove-core-project 2020-01-15 14:17:38 +11:00
Shannon Deminick 59812f887f Merge pull request #7427 from umbraco/netcore/feature/AB4231-Move-SqlCe-stuff-to-seperate-project
Netcore: Move SqlCe classes to separate project
2020-01-15 13:59:27 +11:00
Shannon 11f5d2f800 Fixes startup - no need for using "Current" which wasn't set at that point but shouldn't have been used anyways. 2020-01-15 13:53:21 +11:00
Shannon c18b6e6c82 Don't eagerly create an IBulkSqlInsertProvider (fixes install boot), this is now created with the IDbProviderFactoryCreator which simplifies a bunch of ctors. 2020-01-15 13:40:35 +11:00
Shannon cf818b2268 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4231-Move-SqlCe-stuff-to-seperate-project 2020-01-15 12:48:42 +11:00
Shannon Deminick 6900842d12 Merge pull request #7426 from umbraco/netcore/feature/AB4234-Move-Indentity-struff-to-web
Netcore: Move indentity struff from core to web
2020-01-15 12:45:50 +11:00
Shannon b418fcae33 Merge branch 'ronaldbarendse-v8/bugfix/contentquery-search' into v8/dev 2020-01-15 12:38:39 +11:00
Shannon 6f420b9577 Merge branch 'v8/bugfix/contentquery-search' of https://github.com/ronaldbarendse/Umbraco-CMS into ronaldbarendse-v8/bugfix/contentquery-search 2020-01-15 12:18:52 +11:00
Shannon Deminick a341079442 Merge pull request #7458 from umbraco/v8/hotfix/7457-external-modelsbuilder-issue-missing-di-registration
Hotfix - Missing registration in IOC when running external MB
2020-01-15 10:40:36 +11:00
Rachel Breeze d841fdcde0 Moved the accessibiity texts created in #6315 and #5760 into visuallyhidden section to comply with other commits (#6978) 2020-01-14 20:35:46 +01:00
Jan Skovgaard 8829d7fbca Forms dashboard: Add translations and hide icon for screen readers (#6883) 2020-01-14 20:13:03 +01:00
elitsa c588fc085b Migrating FileUploadPropertyEditor and its PropertyEditor dependencies. Fixing its tests due to the changes 2020-01-14 16:53:20 +01:00
elitsa 8655be1b28 Moving more PropertyEditors to Umbraco.Infrastructure 2020-01-14 16:50:22 +01:00
elitsa 2646a20647 Moving a bunch PropertyEditors From Umbraco.Web to Umbraco.Infrastructure 2020-01-14 16:35:50 +01:00
Jan Skovgaard 9847b99b68 Nested content config: Add help translations (#6909) 2020-01-14 16:22:13 +01:00
Bjarke Berg ddb04964b5 https://github.com/umbraco/Umbraco-CMS/issues/7457 - We need to register the config no matter what which MB is used. The config is used to avoid execution of methods in the internal MB 2020-01-14 15:54:07 +01:00
Bjarke Berg a90c5f6d8e Merge pull request #7405 from umbraco/v8/bugfix/MainDom-DeadLock
V8/bugfix/main dom dead lock
2020-01-14 13:15:24 +01:00
Niels Lyngsø 21114cbbd7 gulp support for less files in views folder 2020-01-14 10:54:11 +01:00
Jan Skovgaard 0ec3080fe2 Help drawer: Add missing translations (#6932) 2020-01-14 10:33:14 +01:00
Sebastiaan Janssen 0ba5a0ab25 Merge branch 'v8/dev' into v8/contrib 2020-01-14 08:46:43 +01:00
Bjarke Berg 51d0f7da94 AB4234 - Fixes namespaces and removed old unused property on user 2020-01-14 07:47:47 +01:00
Shannon 094f1c2539 Merge branch 'netcore/dev' into netcore/feature/AB4234-Move-Indentity-struff-to-web 2020-01-14 12:41:58 +11:00
Shannon Deminick 2c7c556c5f Merge pull request #7425 from umbraco/netcore/feature/AB3677-remove-current-from-core
Netcore: Removed Current (Core)
2020-01-14 12:37:41 +11:00
Shannon Deminick 33f73379c5 Merge pull request #7454 from umbraco/v8/feature/7212-segment-support
V8/feature/7212 segment support
2020-01-14 11:49:45 +11:00
Shannon 63fab6a56b adds notes 2020-01-14 11:47:31 +11:00
Jan Skovgaard 8176054432 Add label and missing translations (#7019) 2020-01-13 22:33:31 +01:00
Jan Skovgaard d48b33d86d Icon picker: Accessibility improvements (#6990) 2020-01-13 22:03:34 +01:00
Niels Lyngsø 550a2c5fbf align macro parameters to follow new element structure 2020-01-13 13:25:54 +01:00
Niels Lyngsø 59795acb6c adjust styling 2020-01-13 13:25:29 +01:00
Shannon 3e71de4698 ensure locks the data types 2020-01-13 22:28:25 +11:00
Shannon b02360518d Changed to GetAwaiter/GetResult and updates comment 2020-01-13 22:25:46 +11:00
Shannon 71b3aa1cb0 Removes the need for checking variant when binding content 2020-01-13 22:16:19 +11:00
Shannon d9d3e6847f Merge remote-tracking branch 'origin/v8/dev' into v8/feature/7212-segment-support 2020-01-13 21:33:26 +11:00
Shannon Deminick eeb4f172bc Merge pull request #7212 from PerplexDaniel/feature/backoffice-segment-support-server
Segments in Backoffice: Server code
2020-01-13 21:31:24 +11:00
Bjarke Berg 2b0e9e8450 Added more options on the test builders 2020-01-13 07:29:12 +01:00
Shannon d26334ad39 Fixes the issue of manipulating data for an existing Gen, adds notes, makes the Gen comparison operator consistent. 2020-01-13 17:16:55 +11:00
Shannon 1d54863233 Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/6758-nucache-fix 2020-01-13 15:41:20 +11:00
Nathan Woulfe 21aa8fd959 remove lodash in favor of native es6 methods, adds type attribute to buttons 2020-01-13 09:15:27 +10:00
Nathan Woulfe ccc6f38778 guard code for non-infinite editing to prevent route change 2020-01-13 09:15:02 +10:00
Kenn Jacobsen 2906eafa79 V8: Make it possible to hide anchor/querystring input in the li… (#7031)
Wonderful work
2020-01-10 19:14:11 +00:00
Kenn Jacobsen 2b1e330957 V8: Reset paging in user search when free text searching and fi… (#7049)
Thanks Kenn :)
2020-01-10 19:09:51 +00:00
Kenn Jacobsen 4a44cd3a58 V8: If Nested Content has multiple item types, always let the e… (#5429)
Lovely work  Kenn. Thanks, as ever
2020-01-10 19:02:39 +00:00
Kenn Jacobsen 4e5a433348 Merged with v8/dev 2020-01-10 16:18:29 +01:00
Niels Lyngsø a6fcaecd9c correcting presentation and styling of picked data type 2020-01-10 14:57:43 +01:00
Niels Lyngsø fadc161ac9 correcting datatype creation flow 2020-01-10 13:00:26 +01:00
Kenn Jacobsen c3937d6e62 Disable the actions menu button until there are actions available 2020-01-10 12:58:58 +01:00
Niels Lyngsø 4a7ca96357 completing the datatype picker flow 2020-01-10 11:48:32 +01:00
Niels Lyngsø 981a1c9925 correted styling 2020-01-10 11:47:53 +01:00
Niels Lyngsø 2348cb80be titlecase fitler added 2020-01-10 11:47:34 +01:00
Dave Woestenborghs f92d0b59bd Make sure the configured url provider mode is used when getting a url (#7189) 2020-01-10 10:41:37 +01:00
Dave Woestenborghs eeaa5a82d4 V8/doctype tours (#6980) 2020-01-10 10:39:22 +01:00
Kenn Jacobsen 2b4279315a V8: Make the markdown editor use the Umbraco link picker (#5745) 2020-01-10 10:05:52 +01:00
Steve Megson 16faeb1886 V8: Date pickers - parsing non-standard formats (#6001) 2020-01-10 09:34:23 +01:00
elitsa 7656072bd5 Fixing namespaces and usings 2020-01-09 16:45:46 +01:00
elitsa f8a1e4491b Fixing merge conflict 2020-01-09 16:43:02 +01:00
elitsa 0748fede86 Adding tests for RelationType 2020-01-09 16:39:28 +01:00
elitsa 3dbe0c2847 Fixing indentation 2020-01-09 16:38:31 +01:00
elitsa 76ed4ccc6c Updating namespaces 2020-01-09 16:37:24 +01:00
Bjarke Berg b786dd185b Clean up 2020-01-09 15:48:28 +01:00
Bjarke Berg 728799b036 using extension methods to enforce consistency 2020-01-09 15:32:19 +01:00
Poornima Nayar 1cd30aae99 Merge pull request #6943 from kjac/v8/fix/protect-system-media-types
V8: Protect "system media types" from alias changes and deletion
2020-01-09 14:18:10 +00:00
Niels Lyngsø 9a917b2c7c Merge remote-tracking branch 'origin/v8/dev' into v8/feature/5656-ux-doctype-property-creation-journey
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/datatypepicker/datatypepicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/datatypepicker/datatypepicker.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
2020-01-09 14:59:03 +01:00
Bjarke Berg 9d6d43c2d0 Added language tests 2020-01-09 14:49:11 +01:00
Poornima Nayar 418aa89872 Merge pull request #6952 from kjac/v8/fix/content-picker-max-one-item-help-text
V8: Don't show "max items" help text for content pickers in single item configuration
2020-01-09 13:32:36 +00:00
Bjarne Fyrstenborg a10c4403ab Remove konamiCode directive since it isn't used anywhere in core (#7437) 2020-01-09 14:26:18 +01:00
Bjarke Berg 997796758e Added Builders 2020-01-09 14:24:20 +01:00
Sebastiaan Janssen ecb6f93e54 Merge branch 'v8/dev' into v8/contrib 2020-01-09 13:29:39 +01:00
Sebastiaan Janssen 324f18052f Merge branch 'v8/dev' into v8/contrib
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/users/views/groups/groups.html
#	src/Umbraco.Web.UI.Client/src/views/users/views/users/users.html
2020-01-09 13:29:06 +01:00
Niels Lyngsø 83112dbd19 forgot to commit minor minor style adjustment 2020-01-09 13:21:08 +01:00
Kenn Jacobsen 0992bd849a Review: Media picker UX updates (#5241)
* Don't allow editing media items (including folders) in the media picker

* Define explicitly if media grid files and folders can be opened + remove "edit item" functionality

* Ensure that files and folders can always be opened (edited) in the media library grid view

* Remove "edit item" handling from the media picker + update click handlers to select items when their names are clicked (when applicable)

* Remove obsolete "allowMediaEdit" from mediapicker controller.

* Remove obsolete "allowMediaEdit" from mediapicker controller again (after merge).

* Make things work again after merging from latest dev

* Corrected focusable elements + hover styling

* breadcrumbs styling adjustment

Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
2020-01-09 13:16:31 +01:00
Bjarke Berg a33d1b4fef Added UnitTest project 2020-01-09 13:04:27 +01:00
Ronald Barendse babe1aa60a Add documentation and clean code 2020-01-09 09:50:33 +01:00
Ronald Barendse c38240c872 Add SetVariesBy extension methods for ContentVariation 2020-01-09 09:35:37 +01:00
Kenn Jacobsen a1b8d4a097 Don't load duplicate nodes for editors with start nodes 2020-01-08 19:46:35 +01:00
Bjarne Fyrstenborg 0dfd7679e0 Request datatype by guid (#6847) 2020-01-08 19:02:16 +01:00
Bjarke Berg 29140bc7ea AB4375 - Moved ITagQuery and TagModel to Umbraco.Abstractions 2020-01-08 15:39:07 +01:00
Bjarke Berg 4bca006e86 AB4385 - Moved Content Apps to Infrastructure - Introduced ICurrentUserAccessor in Abstractions 2020-01-08 14:46:20 +01:00
Bjarne Fyrstenborg d51b5e7822 Add code snippet component (#7294)
* Add umbCodeSnippet component

* Add aria-hidden to font icons

* Replace copy button with umb-code-snippet component

* Adjust styling of code snippet

* Adjust language of code snippet

* Update docs for component

* Adjust padding in code header

* Add code snippet content wrapper

* Fix typo

* Rename id value

* Fix typo in docs

* Update color of code blocks

* Use variables for colors

* round border + size for copy button

Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
2020-01-08 14:20:43 +01:00
Bjarke Berg bdf0f32a70 AB4375 - Moved Actions to Umbraco.Abstractions 2020-01-08 13:39:47 +01:00
Warren Buckley 258dc8d2ac Merge pull request #7434 from umbraco/v8/feature/0000-selection-and-focus-colors-adjusted
Review Selection and Focus styling adjusted
2020-01-08 12:38:04 +00:00
Bjarke Berg 447e1ee1f0 AB4375 - Moved Sections to Umbraco.Abstractions 2020-01-08 13:36:48 +01:00
Bjarke Berg 39b7cb4201 AB4375 - Moved Tour to Umbraco.Abstractions 2020-01-08 13:35:05 +01:00
Bjarke Berg 33525f3ea9 AB4375 - Moved Media from Umbraco.Web to Umbraco.Infrastructure and added reference to System.Drawing.Common 2020-01-08 13:31:14 +01:00
Claus 99bc508b68 Ignoring data folder from Deploy. 2020-01-08 13:01:56 +01:00
Niels Lyngsø 61eaf20954 added missing function, forgotten in a previous commit. 2020-01-08 12:12:11 +01:00
Niels Lyngsø 680ff52a88 correction of error-marks vertical position 2020-01-08 11:35:49 +01:00
Niels Lyngsø 18ede02030 Reverting, shouldnt have changed this one. 2020-01-08 11:31:29 +01:00
Niels Lyngsø d816971a09 only show focus outline on select-all-action if tabbing is active 2020-01-08 11:03:29 +01:00
Niels Lyngsø 96a35859b6 using umb-mini-search instead of custom impl. 2020-01-08 10:44:28 +01:00
Niels Lyngsø f5bd0f6d83 enable callbacks to be optional 2020-01-08 10:43:53 +01:00
Niels Lyngsø 95120d779a correction disable look for buttons 2020-01-08 10:43:37 +01:00
Bjarke Berg c7f60d8312 AB3986 - Wrapped System.Web.Hosting.IRegisteredObject in the AspNetHostingEnvironment. Updated Maindom to use our own new interface and the wrapper and moved to infrastructure. Removed the Umbraco.Core project now that it was empty. 2020-01-08 09:01:58 +01:00
Ronald Barendse ec4bc11c1b Obsolete HasFlagAll extension method 2020-01-07 20:35:00 +01:00
Ronald Barendse cae2c32172 Remove SetFlag and UnsetFlag extension methods 2020-01-07 20:32:04 +01:00
joepvtl 2908ecac64 7058 NullOrEmpty check to fix Grid in NestedContent (#7080) 2020-01-07 17:31:25 +01:00
Niels Lyngsø 16a9630be2 adjusting focus outlines with new color and spacing 2020-01-07 17:00:31 +01:00
Jan Skovgaard ddb0bd6bd9 Healthcheck dashboard: Add translations (#6887) 2020-01-07 15:41:06 +01:00
Bjarke Berg cdfd3df98a AB4231 - Moved SqlCe classes to separate project 2020-01-07 14:52:59 +01:00
Bjarke Berg 586b9c37f8 AB4234 - Moved stuff from core into web, that used identity. 2020-01-07 13:51:03 +01:00
Bjarke Berg c6c0d7df54 AB4234 - Moved stuff from core into web, that used identity. 2020-01-07 13:50:38 +01:00
Bjarke Berg d2443ea4c0 AB3677 - Removed the Core.Composing.Current.. Moved stuff to Web.Composing.Current and injected more stuff. 2020-01-07 13:08:21 +01:00
Claus 7ad46130e4 Merge remote-tracking branch 'origin/v8/8.4' into v8/8.5 2020-01-07 13:06:34 +01:00
Niels Lyngsø 79ad482ba2 onOutsideClick for naviation controller 2020-01-07 13:05:26 +01:00
Claus 838b26cedb bump version to 8.4.1 2020-01-07 13:04:52 +01:00
Niels Lyngsø c0f55d00ef Merge remote-tracking branch 'origin/v8/dev' into v8/feature/0000-selection-and-focus-colors-adjusted
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/components/umb-content-grid.html
2020-01-07 13:04:35 +01:00
Niels Lyngsø 0046a26047 Adjustment of selection color and focus outline 2020-01-07 13:02:59 +01:00
Claus 53286c66a0 Merge pull request #7418 from umbraco/v8/bugfix/7404-deadlock
Fixes #7404 - Deadlock issue
2020-01-07 12:44:38 +01:00
Claus bc8d02b4ac Merge pull request #7260 from umbraco/v8/feature/0000-listview-styling-adjustments
Listview styling adjustments
2020-01-07 11:53:41 +01:00
Claus a19cb25f9c Merge branch 'v8/dev' into v8/contrib 2020-01-07 10:48:49 +01:00
Bjarke Berg 58f9b48e16 Merge branch 'netcore/dev' into netcore/feature/AB3677-remove-current-from-core
# Conflicts:
#	src/Umbraco.Abstractions/UriExtensions.cs
#	src/Umbraco.Tests/Web/Controllers/ContentControllerTests.cs
#	src/Umbraco.Web/Editors/Filters/MemberSaveModelValidator.cs
#	src/Umbraco.Web/Editors/MediaController.cs
#	src/Umbraco.Web/Editors/TemplateController.cs
#	src/Umbraco.Web/Models/Mapping/PropertyTypeGroupMapper.cs
#	src/Umbraco.Web/PropertyEditors/FileUploadPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/ListViewPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/UserPickerPropertyEditor.cs
#	src/Umbraco.Web/UmbracoDefaultOwinStartup.cs
2020-01-07 09:46:42 +01:00
Bjarke Berg c82772228c Minor changes.. Moved files and clean up 2020-01-07 09:36:40 +01:00
Daniël Knippers 24afe3f130 Changed ArgumentException to InvalidOperationException 2020-01-07 09:34:12 +01:00
Bjarke Berg 439048bc4f Merge pull request #7380 from AndyButland/feature/7371-short-string-helper
.NET Core transition: Removed (almost) all instances of Current.ShortStringHlper and replaced with constructor injection (#7371)
2020-01-07 09:05:28 +01:00
Bjarke Berg e1b06498c6 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/DocumentRepository.cs
2020-01-07 08:06:36 +01:00
Bjarke Berg 09b480919b Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Web.UI/config/umbracoSettings.Release.config
2020-01-07 07:35:34 +01:00
Shannon 5d7a1bacfe Ensures the DocumentRepository behavior for looking up data to populate IContent remains the same. 2020-01-07 15:34:53 +11:00
Shannon 9a192131d6 Ensures the DocumentRepository behavior for looking up data to populate IContent remains the same. 2020-01-07 14:53:17 +11:00
Jan Skovgaard 161faec2b1 User group picker: Fix accessibility issues (#6994) 2020-01-06 22:27:36 +01:00
Jan Skovgaard 9c69504fac Add label, styling and dictionary items (#6984) 2020-01-06 21:17:12 +01:00
Niels Odgaard 91b36fc512 #6896 - Added notifications for Cultures and Hostnames save event. Notifcations are in english and danish so far. (#6899) 2020-01-06 20:29:57 +01:00
Jan Skovgaard 617216e0c9 Startup dashboard: Add view fallback translations (#6884) 2020-01-06 20:08:41 +01:00
Rasmus Østergård 92db75c89c Auto select Content-Group when configuring Nested Content if only one is present (#6982) 2020-01-06 19:38:09 +01:00
Claus ada000437b reverting more changes for optimizations to ensure tests are not failing. 2020-01-06 15:45:34 +01:00
Bjarke Berg 0c7cc8e002 Merge pull request #7356 from umbraco/netcore/feature/AB4227-move-files-to-infrastructure
Netcore/feature/ab4227 move files to infrastructure
2020-01-06 15:43:00 +01:00
Bjarke Berg 6d719a2ecc Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2020-01-06 14:59:42 +01:00
Bjarke Berg 44a36227f9 Merge pull request #7356 from umbraco/netcore/feature/AB4227-move-files-to-infrastructure
Netcore/feature/ab4227 move files to infrastructure
2020-01-06 14:59:17 +01:00
Sebastiaan Janssen d988d07c5d Merge branch 'v8/dev' into v8/contrib 2020-01-06 14:34:17 +01:00
Claus 15d4141398 reverting change in regards to not loading variants. 2020-01-06 14:07:20 +01:00
Shannon Deminick a68d1af2ca Merge pull request #7384 from AndyButland/feature/7367-netcore-password-config
.NET Core transition: Populated user and member password configuration from settings file (#7367)
2020-01-06 22:07:55 +11:00
Shannon 95337d5a70 Cleans up old notes 2020-01-06 21:39:26 +11:00
Shannon 94d05b1768 Fixes #7404 - Deadlock issue 2020-01-06 21:14:46 +11:00
Shannon c2ac5e8531 Fixes a couple more issues with recursive locks 2020-01-06 18:34:04 +11:00
Ronald Barendse fa23b50d1e Add skip and take argument validation 2020-01-05 22:55:55 +01:00
Ronald Barendse 3bd7718c38 Remove ordering by score when converting to PublishedSearchResult 2020-01-05 22:27:56 +01:00
Ronald Barendse c355e8f5f0 Use ExternalIndexName as default parameter value 2020-01-05 22:26:13 +01:00
Liam Laverty f6d21799cb fixes info notifications to appear in blue (#7351) 2020-01-05 13:28:58 +01:00
Poornima Nayar 9d30b1acc0 Feature/media provide screen reader context remove files (#6919) 2020-01-03 20:23:47 +01:00
Dennis Adolfi f3b542f1c2 Temp/Missing-swedish-translations (#7046)
* Added a few missing swedish translations.

* Found two more translations missing for swedish

* User translations

* fond some more

* found some more translations missing
2020-01-03 16:04:36 +00:00
Poornima Nayar cdefcecae5 Merge pull request #7041 from kjac/v8/fix/listview-status-messages-styling
V8: Ensure that listview status messages are vertically centered
2020-01-03 15:49:19 +00:00
Poornima Nayar d2076b065e Merge pull request #7029 from umbraco/v8/fix/ngdocs-code-styling
Angular API documentation: Adds styling for <code> elements
2020-01-03 15:35:40 +00:00
Warren Buckley 8b51b7f7ab Commit of suggestion to community PR #6617 that I was unable to directly push back to due to their repo permissions 2020-01-03 15:35:07 +00:00
Warren Buckley 7c53fd4677 Merge pull request #6617 from ronaldbarendse/v8/bugfix/6616-exception-in-component-terminate
Log exceptions thrown while terminating components
2020-01-03 15:31:46 +00:00
Poornima Nayar 131ae2ab3f Merge pull request #7017 from kjac/v8/fix/macro-partial-view-mandatory
V8: Make macro partial view mandatory
2020-01-03 15:09:00 +00:00
Claus fbec19042d Merge remote-tracking branch 'origin/v8/bugfix/7245-missing-indexes' into v8/dev 2020-01-03 13:26:32 +01:00
Warren Buckley ad53b76308 Merge branch 'v8/8.5' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2020-01-03 11:59:05 +00:00
Warren Buckley 97f48ed569 Merge branch 'v8/8.5' of https://github.com/umbraco/Umbraco-CMS into v8/8.5 2020-01-03 11:41:39 +00:00
Claus b613f8b56d Merge pull request #7315 from umbraco/v8/bug/3935-useractions-xsrf-validation
Adding extra validation for anti forgery tokens
2020-01-03 12:40:35 +01:00
Warren Buckley 36b24186b4 Merge branch 'v8/8.4' into v8/8.5 2020-01-03 11:11:31 +00:00
Shannon 7a129f890d Changes MainDom testing timeout to be larger... but not 1.5 mins! 2020-01-03 15:07:21 +11:00
Shannon 243e76b3cc Removes ability to have recursive locks in SnapDictionary, changes logic to require locking around the methods just like ContentStore, updates tests 2020-01-03 15:04:39 +11:00
Shannon 8e3b3c8326 Changes methods that should already be locked to check that they are and changes their names/adds docs 2020-01-03 13:21:49 +11:00
Shannon e6b333a3ec Changes readlocks to normal locks, no need to have extra objects allocated and complex code. 2020-01-03 12:39:56 +11:00
Shannon 3d8e9a78e3 Fixes deadlock 2020-01-03 12:39:17 +11:00
abi d33928f425 Correct project references 2020-01-03 01:43:37 +01:00
Shannon a46e9124d2 First commit in fixing deadlock - committing my notes, etc... 2020-01-03 10:38:48 +11:00
abi 358b4c9133 Make fields list to allow to add fields 2020-01-02 23:08:53 +00:00
abi 3b8e6d3cc0 rename to UmbracoTreeSearcherFields 2020-01-02 23:05:08 +00:00
abi 12f51dec4e Use immutable types 2020-01-02 23:00:53 +00:00
Kenn Jacobsen 603a8d40e7 Merged with v8/dev 2020-01-02 20:27:11 +01:00
Poornima Nayar 87199ca91c @poornimanayar Changed the styles from warning to danger for the confirm delete button, added localization keys 2020-01-02 19:28:20 +01:00
Poornima Nayar a45a8c5b13 Accessibility improvements and clean up of mini list view (#7398) 2020-01-02 19:21:06 +01:00
Poornima Nayar 4045642821 Merge pull request #7307 from kjac/v8/fix/nested-content-enter-adds-item
V8: Don't add new Nested Content items on enter key
2020-01-02 15:08:47 +00:00
abi 575ec6fec4 Correct project references 2020-01-02 13:39:23 +00:00
abi 9614dcf0b0 move InternalSearchConstants to correct place in source code 2020-01-02 13:20:32 +00:00
abi 00c913d621 add InternalSearchConstants 2020-01-02 12:02:48 +00:00
Poornima Nayar 4b5d73d523 Assign Domains Overlay - Moved inline styles into a stylesheet (#7012) 2020-01-02 11:14:28 +01:00
Anders Bjerner f62ba9206f Editor service shouldn't overwrite the size if already set in the options 2020-01-02 10:59:07 +01:00
Poornima Nayar 05a12851bf User Details View Accessibility Improvement (#6969) 2020-01-02 09:25:48 +01:00
Kenn Jacobsen 7c67281fd1 Merged with v8/contrib 2020-01-02 08:42:18 +01:00
Poornima Nayar 059432755f Accessibility improvements to Multivalues view 2019-12-30 20:50:58 +01:00
Poornima Nayar 95323bb5ab Merge pull request #7300 from kjac/v8/fix/nc-sort-jumping
V8: Avoid UI "jumping" when sorting nested content items
2019-12-30 14:11:05 +00:00
Poornima Nayar afdbd93636 Merge pull request #7308 from kjac/v8/fix/nested-content-itempicker-double-enter
V8: Prevent the Nested Content item picker from crashing
2019-12-30 13:08:41 +00:00
Shannon b24a87d986 Changes logging to debug 2019-12-30 18:51:38 +11:00
Shannon 5476388e78 adds lock else we end up detecting when not needed 2019-12-30 18:49:33 +11:00
Shannon 0d1101eaa7 adds notes/logging 2019-12-30 18:14:18 +11:00
Shannon 7501629c54 Adds logging to SqlMainDomLock 2019-12-30 17:15:57 +11:00
Poornima Nayar 845b217cd9 Merge pull request #7311 from kjac/v8/fix/multi-url-sortable-update
V8: Make the Multi URL Picker sorting behave the same as MNTP
2019-12-29 13:45:49 +00:00
Poornima Nayar 65c53f1783 Merge pull request #7257 from kjac/v8/fix/edit-template-prompt-save
V8: Do not save content when opening the content template
2019-12-27 17:33:03 +00:00
Poornima Nayar b4cfb1f75d Merge pull request #7344 from kjac/v8/fix/mntp-start-node-and-filter
V8: Display MNTP "Allow items of type" correctly when a start node is set
2019-12-27 13:58:50 +00:00
Poornima Nayar 61adf4cd48 Merge pull request #7348 from kjac/v8/fix/nested-content-hide-add-button-while-loading
V8 Hide the Nested Content "add" button until the editor has loaded
2019-12-27 13:44:15 +00:00
Warren Buckley 48a51ea4ef Merge pull request #7315 from umbraco/v8/bug/3935-useractions-xsrf-validation
Adding extra validation for anti forgery tokens
2019-12-27 12:18:25 +00:00
Poornima Nayar 496da436f6 Remove inline styling from the tour intro (#6938)
* Remove inline styling from the tour intro

* removed the id attribute
2019-12-27 12:41:59 +01:00
Poornima Nayar 4ffcf47560 Accessibility Improvement Open Template (#7124)
* WIP Accessibility Improvement Open Template

* More accessibility fixes to the Templates section for doc types

* Missed commit

* fix changes to styling
2019-12-27 12:25:20 +01:00
Warren Buckley eda25d58f9 Merge pull request #7376 from umbraco/v8/feature/enable-property-actions-for-property-editor-controllers
Property Actions for Property Editor with Controllers
2019-12-24 13:34:54 +00:00
Andy Butland bd5b344a57 Merge branch 'netcore/dev' into feature/7371-short-string-helper
# Conflicts:
#	src/Umbraco.Core/StringExtensions.cs
#	src/Umbraco.Core/TypeExtensions.cs
#	src/Umbraco.Infrastructure/Packaging/PackageDataInstallation.cs
#	src/Umbraco.Infrastructure/Persistence/Factories/DataTypeFactory.cs
#	src/Umbraco.Infrastructure/Persistence/Repositories/Implement/DataTypeRepository.cs
#	src/Umbraco.ModelsBuilder.Embedded/Compose/ModelsBuilderComponent.cs
#	src/Umbraco.ModelsBuilder.Embedded/UmbracoServices.cs
#	src/Umbraco.Tests/LegacyXmlPublishedCache/XmlStore.cs
#	src/Umbraco.Tests/Persistence/Repositories/DocumentRepositoryTest.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
#	src/Umbraco.Tests/Routing/RenderRouteHandlerTests.cs
#	src/Umbraco.Tests/Strings/StringExtensionsTests.cs
#	src/Umbraco.Tests/Web/Controllers/ContentControllerTests.cs
#	src/Umbraco.Tests/Web/Controllers/UsersControllerTests.cs
#	src/Umbraco.Web/Editors/CodeFileController.cs
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/Umbraco.Web/Editors/ContentControllerBase.cs
#	src/Umbraco.Web/Editors/ContentTypeController.cs
#	src/Umbraco.Web/Editors/CurrentUserController.cs
#	src/Umbraco.Web/Editors/DashboardController.cs
#	src/Umbraco.Web/Editors/EntityController.cs
#	src/Umbraco.Web/Editors/MacroRenderingController.cs
#	src/Umbraco.Web/Editors/MacrosController.cs
#	src/Umbraco.Web/Editors/MediaController.cs
#	src/Umbraco.Web/Editors/MemberController.cs
#	src/Umbraco.Web/Editors/RelationTypeController.cs
#	src/Umbraco.Web/Editors/TinyMceController.cs
#	src/Umbraco.Web/Editors/UsersController.cs
#	src/Umbraco.Web/Macros/PublishedContentHashtableConverter.cs
#	src/Umbraco.Web/Models/Mapping/UserMapDefinition.cs
#	src/Umbraco.Web/Mvc/RenderRouteHandler.cs
#	src/Umbraco.Web/PropertyEditors/RichTextEditorPastedImages.cs
#	src/Umbraco.Web/Runtime/WebInitialComponent.cs
#	src/Umbraco.Web/Templates/TemplateRenderer.cs
2019-12-24 09:08:47 +01:00
Andy Butland 32e46b0f0c Added user and member password configuration to release config. 2019-12-24 08:05:33 +01:00
Andy Butland 0e8f1887bd Completed setup to fix failing unit tests. 2019-12-23 15:28:05 +01:00
Andy Butland 0670caee15 Populated user and member password configuration from settings file. 2019-12-23 14:35:39 +01:00
Warren Buckley 6511c1e458 Update src/Umbraco.Web.UI.Client/src/common/directives/components/property/umbpropertyeditor.directive.js 2019-12-23 12:53:32 +00:00
Shannon 74cc148b99 Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/AB3323-SqlMainDom 2019-12-23 18:21:03 +11:00
Shannon Deminick 8aa6fff801 Merge pull request #7356 from umbraco/netcore/feature/AB4227-move-files-to-infrastructure
Netcore/feature/ab4227 move files to infrastructure
2019-12-23 17:35:54 +11:00
Shannon db596a40da Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB4227-move-files-to-infrastructure 2019-12-23 17:06:31 +11:00
Shannon Deminick 67928b61db Merge pull request #7350 from umbraco/netcore/feature/AB3791-Move-scoping-to-infrastructure-and-replace-callcontext
Netcore/feature/ab3791 move scoping to infrastructure and replace callcontext
2019-12-23 17:04:09 +11:00
Shannon 9dd258320a Adds notes, fixes tests 2019-12-23 16:04:17 +11:00
Poornima Nayar ed3293528f Accessibility fix to umb-user-group-preview 2019-12-22 20:49:57 +01:00
Dirk Seefeld 07924e7627 Update de.xml
Based on 8.3.0 release
2019-12-22 18:40:31 +01:00
Anders Bjerner 4c96c8be3e Replaced umb-overlay with editorService for listing fields of an Examine search result (#6862) 2019-12-22 18:28:49 +01:00
Søren Kottal 2c368c2b38 fix saving searches in the logviewer 2019-12-21 20:52:59 +01:00
BatJan 720a1b2dd4 Change div to button and fix styling 2019-12-21 18:39:30 +01:00
Søren Kottal d55897c635 Use the editor icon for data type trees (#7373) 2019-12-21 16:33:36 +01:00
Bjarne Fyrstenborg 69764d2496 Add component unique ids (#7375) 2019-12-21 13:05:32 +01:00
BatJan b7fd8f3d2d Add deep-blur, aria attributes and change a to button and add aria-hidden to the i element 2019-12-21 12:57:43 +01:00
Jan Skovgaard da7dacd6f2 Help drawer: Fix accessibility and semantics for help drawer (#6953)
* Fix accessibility and semantics for help drawer

* Move inline styling external
2019-12-20 22:08:40 +01:00
Matthew-Wise 4adee8b4c7 Added aria labeled by to the create document list options (#6922) 2019-12-20 21:27:34 +01:00
Andy Butland d469a2153b Removed (almost) all instances of Current.ShortStringHlper and replaced with constructor injection. 2019-12-20 17:36:44 +01:00
Niels Lyngsø ee1c0fc7fe disable media-picker property-action remove-all-entries by default. 2019-12-20 15:04:10 +01:00
Niels Lyngsø d1062f1236 implementation of Property Action for multi Media Picker 2019-12-20 14:44:17 +01:00
Niels Lyngsø 2eedc6d3c9 populate umbProperty on property-editor scope so controllers can use it. 2019-12-20 14:43:49 +01:00
KB 61caaee613 Space missing before Author of Installed package, added space to match formatting of Created Packages page. 2019-12-20 14:05:25 +01:00
KB 4a703fc0ec Spelling mistake on word Umbraco in instructional comment. 2019-12-20 12:30:36 +01:00
Sebastiaan Janssen c1bffefd23 Merge branch 'v8/dev' into v8/contrib 2019-12-20 11:55:36 +01:00
Claus 7950e328ed Merge pull request #7372 from umbraco/v8/bugfix/AB3893-grid-embed-html-bug
V8: AB3893 Updates the HTML Razor Partial View for grid cell items that use Embed
2019-12-20 10:59:10 +01:00
Thor Madsen-Holm c892cca28c V8/invite user curosr ui fix (#6985)
* add optional readonly scope attribute

* add readonly attribute to umb-checkmark directive in user invite section of user.html template. Extend ng-class statement in umb-checkmark template, adding cursor-auto when readonly is defined
2019-12-20 10:55:28 +01:00
Warren Buckley ed0aa7f14a Use DetectIsJson string extension as opposed to a horrible try/catch 2019-12-20 09:55:03 +00:00
Poornima Nayar 394f0dbd9f Merge pull request #6908 from BatJan/feature/listview-config-table-styling
Listview: Add table class
2019-12-20 09:47:43 +00:00
Poornima Nayar 5148b3ca40 Merge pull request #6910 from kjac/v8/feature/member-type-search
V8: Make member types searchable
2019-12-20 09:43:44 +00:00
Poornima Nayar d792c9dcc6 Merge pull request #6911 from BatJan/feature/macro-parameters
Macro parameters: Improve accessibility
2019-12-20 09:42:30 +00:00
Poornima Nayar ab57776c69 Merge pull request #6912 from BatJan/feature/color-picker-accessibility
Color picker datatype: Improve accessibility
2019-12-20 09:40:23 +00:00
Jan Skovgaard b5be86114f Package repo: Accessibility improvements (#6955)
* Change a to button, add missing label and aria-hidden attribues + fix styling

* Visually hide label

* Remove dummy text leftover
2019-12-20 09:38:05 +00:00
Poornima Nayar d31d960fad Merge pull request #6970 from kjac/v8/fix/multiple-media-picker-styling
V8: Make multiple media property editor same width as other property editors
2019-12-20 09:35:15 +00:00
Poornima Nayar 60a392ade4 Change the style of delete confirm buttons at various places across back office (#6957)
* Member Group - Changed confirm button style to danger style

* Delete Scripts - Confirm button style changed to danger style

* Content blueprints - Confirm delete button style changed to danger style

* Document Type Delete - Confirm delete button style changed to danger style

* Log Viewer Saved Search Delete Overlay - Confirm delete button style changed to danger style

* Macro Delete - Confirm delete button style changed to danger style

* Mediatype delete - Confirm delete button style changed to danger style

* Membertype delete - Confirm delete button style changed to danger style

* Delete partial view macro - Confirm delete button style changed to danger style

* Delete partial view - Confirm delete button style changed to danger style

* Delete relation type - Confirm delete button style changed to danger style

* Delete stylesheets - Confirm delete button style changed to danger style

* Delete template - Confirm delete button style changed to danger style

* Delete doc type folder - Confirm button style changed to danger style
2019-12-20 10:25:11 +01:00
Poornima Nayar b23d9b691b Changed the style of the Import button on Doctype Import to action style 2019-12-20 08:58:30 +01:00
Rasmus Østergård 9c33ebc98a V8/feature/5914 broken backoffice validation (#6989)
* validate max length for textbox

* validate max length for textarea
2019-12-20 08:35:24 +01:00
Niels Swimberghe e578ca1b0f Add KeepAlive settings to resolve #7116 (#7164) 2019-12-20 08:14:42 +01:00
Shannon 95d3a87bb2 Simplifies ScopeProvider now that we are using AsyncLocal we don't need to worry about the weird constraints of CallContext which was being worked around with the static object dictionary 2019-12-20 16:19:29 +11:00
Shannon ef5a6a1db6 Adds notes changes some logic 2019-12-20 15:12:54 +11:00
Shannon bcc0fa391a adds notes, changes to use AsyncLocal<Guid> then will look at full refactor 2019-12-20 12:50:33 +11:00
BatJan 217a93a070 Add umb-auto-focus directive so input recieves focus when add has been clicked 2019-12-19 19:11:48 +01:00
Kenn Jacobsen 22968b4af4 Reflect inherited permissions in child node menus (#6798) 2019-12-19 16:25:03 +00:00
Warren Buckley 1fc2c89ea6 Updates the HTML Razor Partial View for grid cell items that use Embed
It has been recently updated in 8.2.0 that the Value stored is a JSON object containing width, height & the raw HTML returned by the oEmbed

Fixes #7178
2019-12-19 16:01:55 +00:00
Bjarke Berg 0a4cfcd3bc Merge remote-tracking branch 'origin/netcore/feature/AB3791-Move-scoping-to-infrastructure-and-replace-callcontext' into netcore/feature/AB4227-move-files-to-infrastructure 2019-12-19 15:59:19 +01:00
Bjarke Berg dbf0581cb1 AB3791 - Removed unnessasary [Apartment(ApartmentState.STA)] 2019-12-19 15:55:01 +01:00
Bjarke Berg dfeb97caa4 AB3677 - Moved usages of Current (Core) to Current (Web) 2019-12-19 15:53:50 +01:00
Jan Skovgaard 929eec17d7 Extend umb-checkbox to allow icons (#6979)
* Add iconclass setting so we can render an icon next to the checkbmark when used in the rte settings

* Remove wrapping label

* Remove temporary inline stylling and ensure elements are not rendered if their values are missing

* Refactor styling so the spacing is handled by the label making it more flexible when having icon + text combinations

* Remove todo comment
2019-12-19 14:43:47 +00:00
BatJan 95f2258123 Remove data-toggle attribute 2019-12-19 14:21:03 +00:00
BatJan bfef4c4758 Refactor search toggle to use a button and fix it's accessibility 2019-12-19 14:21:03 +00:00
Poornima Nayar 6afd77ecb9 Merge pull request #7028 from kjac/v8/fix/linkpicker-styling
V8: Evenly distribute link URL and anchor inputs in linkpicker
2019-12-19 14:18:06 +00:00
Kenn Jacobsen 6241603c33 V8: On smaller screens, trees should close when you click outside them (#7018) 2019-12-19 14:15:46 +00:00
BatJan 1f6534739d Change <a> to <button> 2019-12-19 14:13:46 +00:00
Bjarne Fyrstenborg 3df135fb06 Update to noUiSlider v14.1.1 2019-12-19 13:57:16 +00:00
Bjarne Fyrstenborg c54f74d005 Update noUiSlider to v14.1.0 for accessibility to support keys Home/End and Page Up/Down 2019-12-19 13:57:16 +00:00
poornima-abelandcole bf071e7407 Removed Members Dashboard Intro 2019-12-19 13:53:40 +00:00
Kenn Jacobsen a5c0965e02 Automatically select uploaded media in media pickers 2019-12-19 13:41:49 +00:00
Poornima Nayar 00364bcdf0 Merge pull request #6997 from DennisRP/v8/fix/mini-list-view-breadcrumbs-alignment
Fix - Misaligned breadcrumbs in mini list view
2019-12-19 11:47:08 +00:00
Poornima Nayar d3d64e6b40 Merge pull request #6891 from skttl/overlay-container-alignment
Aligns the padding of .umb-overlay-container with .umb-overlay-header
2019-12-19 11:44:29 +00:00
Shannon Deminick d624005355 Merge pull request #7309 from umbraco/netcore/feature/move-files
Netcore/feature/move files
2019-12-19 22:35:55 +11:00
Bjarke Berg 0e4ac7f7d1 Merge remote-tracking branch 'origin/netcore/feature/AB4227-move-files-to-infrastructure' into netcore/feature/AB3677-remove-current-from-core
# Conflicts:
#	src/Umbraco.Tests/TestHelpers/TestHelper.cs
2019-12-19 12:27:51 +01:00
Bjarke Berg cfacc4912d AB4227 - Made some classes internal 2019-12-19 12:24:30 +01:00
esther d050bc6500 remove duplicate method canAdd 2019-12-19 12:00:09 +01:00
Poornima Nayar 5d05c2ad4b Replaced umb-checkbox with umb-toggle in listview copy overlay (#6944) 2019-12-19 11:39:11 +01:00
Bjarke Berg 2ed6b11b6f Merge remote-tracking branch 'origin/netcore/feature/AB3791-Move-scoping-to-infrastructure-and-replace-callcontext' into netcore/feature/AB4227-move-files-to-infrastructure
# Conflicts:
#	src/Umbraco.Tests.Benchmarks/BulkInsertBenchmarks.cs
#	src/Umbraco.Tests/TestHelpers/TestHelper.cs
#	src/Umbraco.Web/Editors/UsersController.cs
2019-12-19 11:34:08 +01:00
Anders Bjerner b2195ebed6 Improved the ngdocs for the editor service (#7023) 2019-12-19 11:33:43 +01:00
Anders Bjerner f1393295ac Fixed casing for the "noTemplate" option (#7022)
* Fixed casing for the "noTemplate" option

The option should be named using camel casing similar to pretty much all other options. The fix is made so either "notemplate" or "noTemplate" can be specified, making the fix backwards compatible instead of creating a breaking change.

* Setting "documentTypeId" to "-1" if not already specified and "create" is "true"
2019-12-19 11:32:04 +01:00
Bjarke Berg 2fd6e8d617 Merge remote-tracking branch 'origin/netcore/feature/move-files' into netcore/feature/AB3791-Move-scoping-to-infrastructure-and-replace-callcontext 2019-12-19 11:30:25 +01:00
Bjarke Berg 4a2ecef369 Merge remote-tracking branch 'origin/netcore/feature/move-files' into netcore/feature/move-files 2019-12-19 11:23:43 +01:00
Bjarke Berg 67c54bec50 AB4227 - Review fixes - Added null logger + clean up 2019-12-19 11:23:31 +01:00
David Zweben da0e053dbc Fixed @name label in filemanager.service.js
Corrected the @name documentation of the setFiles method in filemanager.service.js, from "addFiles" to "setFiles".
2019-12-19 10:51:11 +01:00
Nathan Woulfe 65a2c0bde4 add disable-hotkeys attribute to disable hotkeys (#7186) 2019-12-19 10:44:26 +01:00
Bjarke Berg d5527f0485 AB3677 - Removed lot of stuff from Current (Core) and uses Current (Web) instead 2019-12-19 10:43:34 +01:00
Poornima Nayar 2dfabae9b9 Merge pull request #6672 from kjac/v8/fix/actions-multiple-groups
V8: Handle permissions for users in multiple groups
2019-12-19 09:18:40 +00:00
Andy Butland ec831bcec0 V8: #7209 fixes filter in User Management not keeping state (#7216)
* Saved and restored user view filter and sort when viewing user details and returning to list.

* Reworked state retention when navigating to and from the users list and user details pages to use querystring values.

* Fixed issue with culture parameter on navigating between user list and details screen.
Ensured when opening users list with querystring that user states filter is correctly populated.
2019-12-19 10:12:56 +01:00
Sven Geusens 57a58f91cd Added Ids to inputs so the label in umb-control-group gets linked 2019-12-19 10:06:40 +01:00
Warren Buckley fa2bbcc358 V8: Add in Recycle Bin context message (#7341)
* Add a message bar to give context that this node/content item is in the trash/recycle bin

* Update umb-variant-content.html

* Update en.xml

* Update en_us.xml
2019-12-19 09:38:44 +01:00
Sebastiaan Janssen 8b225b8e58 Merge branch 'v8/dev' into v8/contrib 2019-12-19 09:18:02 +01:00
poornimanayar 9594767d17 revert unnecesary changes for the css class 2019-12-19 09:11:40 +01:00
Dirk Seefeld e423c93a16 Fix HelpController for isolated intranet solutions (#7163)
* Fix HelpController for isolated intranet solutions

* remove debug catch & throw lines
2019-12-19 09:05:47 +01:00
Paul Seal 6f90bc2990 - only show remove photo on user avatar when there is an avatar 2019-12-19 09:03:19 +01:00
Rachel Breeze b8387ac4e5 Don't keep prepending login to the page title
Now uses #6456 to prevent the page title being appended to the previous page title when the user is automatically logged out.
2019-12-19 08:50:59 +01:00
Poornima Nayar e92ab7d3a5 Changed the Disable button in user details to be warning style 2019-12-19 08:35:39 +01:00
Dennis Adolfi a835aa0674 v8: Updated search component to get translated placeholder "Search.." and "Clear" text (#7122)
* Added translation for clear with marker so I can see if it loads correcly. Installing Umbraco locally to try it out.

* Added Clear translation to en.xml, en-us.xml and sv.xml.

* befin translation search placeholder. Not working for some reason, investiagte.

* Inject localizationService to localize placeholder. For some reason i get 503 service unavabile when I try to build.ps1. Will have to look more into this late, saving my work.

* merge conflicts

* 2 vs 4 spaces caused massive diff. Fixed my local copy to same space so now it should look better.

* * updated after PR review. Using localize element attribute instead of adding dependency to the localizationService. Also added dansih translation.

* Remove whitespace noise
2019-12-19 08:25:42 +01:00
Shannon a8f006e36e Removes the useNativeBulkInsert parameter, it's super old and useless 2019-12-19 17:56:48 +11:00
Shannon aae5fc0048 Removes BulkInsertRecordsWithTransaction and changes tests 2019-12-19 17:45:28 +11:00
Bjarke Berg 7f9fbe9877 AB4227 - Removed StringExtensions from core.. 2019-12-18 18:55:00 +01:00
Liam Laverty 76ef9da271 maps isSensitiveData in groupsbuilder
` property.isSensitiveData = propertyModel.isSensitiveData;` wasn't being set, which seems to have caused https://github.com/umbraco/Umbraco-CMS/issues/7270
2019-12-18 14:48:54 +01:00
Bjarne Fyrstenborg c692bd997a Use input-id on toggle in profiler dashboard 2019-12-18 14:47:18 +01:00
René Pjengaard 56b0480d4f added documentation for param startNodeId (mediaPicker) 2019-12-18 14:45:33 +01:00
René Pjengaard d0daec65c4 added documentation for param startNodeId 2019-12-18 14:44:14 +01:00
Paul Seal fa26e2ee02 removed unused _domainService 2019-12-18 14:39:53 +01:00
Rachel Breeze 578a725d7c V8: Accessibility Changes For umbEditorHeader Directive (settings section) (#6986)
* Improved accessibility of the data type edit controller, by implementing the new header directive properties for screen reader only text, and for setting the page title

* Improved accessibility of the macro edit controller, by implementing the new header directive properties for screen reader only text, and for setting the page title

* Improved accessibility of the relation type edit controller, by implementing the new header directive properties for screen reader only text, and for setting the page title

* Added to do note for log viewer
2019-12-18 14:37:34 +01:00
Laura W c6afb861aa Updated language discrepancies on database install steps 2019-12-18 14:33:15 +01:00
Mike Masey 661ece2a4c Improve keyboard accessibility for media library items (#6916)
* improvement: add better tabbed focus state to media grid item

* fix: update media grid item overlay to show on focus & change div to button
2019-12-18 14:06:30 +01:00
Bjarke Berg b3c06be83a AB4227 - Moved a mix of files 2019-12-18 13:42:34 +01:00
Bjarke Berg 6c923bc9b4 AB4227 - Moved a mix of files 2019-12-18 13:42:33 +01:00
Bjarke Berg 38519b2bab AB4227 - Moved Logging 2019-12-18 13:42:32 +01:00
Bjarke Berg 897cb63ad6 AB4227 - Moved Packaging, Compose, Dictionary, Manifest and Sync 2019-12-18 13:42:31 +01:00
Bjarke Berg da1cf259c6 AB4227 - Moved Services and Migration 2019-12-18 13:42:29 +01:00
Bjarke Berg a22824e33a AB4227 - Moved Persistence Repository implementations 2019-12-18 13:42:27 +01:00
Bjarke Berg 03631a1731 AB4227 - Moved Persistence Root 2019-12-18 13:42:26 +01:00
Bjarke Berg 7a0e0f7782 AB4227 - Moved Persistence.Factories 2019-12-18 13:42:25 +01:00
Bjarke Berg 7c1e81db0d AB4227 - Moved persistence mappers 2019-12-18 13:42:24 +01:00
Bjarke Berg 17a586ed0c AB4227 - Moved dtos and made some public to let then be known by the web project 2019-12-18 13:42:22 +01:00
Malthe Petersen 0e9594ca2d fix: url segment null in preview content 2019-12-18 12:23:53 +01:00
Rob Maas 809ab6d05f Added ContentApps for Members (#6670) 2019-12-18 10:43:41 +01:00
Warren Buckley 0b6f1f6e11 Merge pull request #7349 from umbraco/v8/feature/0000-live-preview-badge-update-n-styling
PreviewBadge with option to open in PreviewMode in BackOffice…
2019-12-18 09:10:13 +00:00
Shannon ddaafa2abe updates readme 2019-12-18 16:11:31 +11:00
Shannon e0531f1429 allows ImagesController to still return valid urls even if the uri isn't resolved to a local on-disk file 2019-12-18 16:10:33 +11:00
Shannon 1e35aeb9cf ensures .jpg ext is added to test data 2019-12-18 16:01:27 +11:00
Shannon 000a8d2c94 manually merges changes for the NC validation stuff since there was conflicts 2019-12-18 15:37:00 +11:00
Shannon a1769dd937 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/media-tracking
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Core/Models/RelationType.cs
#	src/Umbraco.Web/PropertyEditors/NestedContentPropertyEditor.cs
#	src/Umbraco.Web/UmbracoComponentRenderer.cs
2019-12-18 15:28:27 +11:00
Shannon Deminick 2a7faf36f0 Merge pull request #7075 from umbraco/v8/fix/6324-wrong-media-path-stored
Wrong media path stored in database
2019-12-18 15:02:33 +11:00
Shannon 63429dadb7 Adds notes, changes values to constants 2019-12-18 15:01:33 +11:00
Shannon 1d61bc829c Merge branch 'v8/dev' into v8/fix/6324-wrong-media-path-stored 2019-12-18 12:10:00 +11:00
Shannon 0d0f8e6beb adds debug timing 2019-12-18 11:08:15 +11:00
Niels Lyngsø 5939d02e49 remove line break 2019-12-17 16:19:48 +01:00
Niels Lyngsø 746bcb3571 updated badge animation and position to be center aligned. 2019-12-17 15:42:20 +01:00
Bjarke Berg 9a6c976f6e AB3791 - Moved scoping to infrastructure, implemented our own CallContext 2019-12-17 15:06:51 +01:00
Bjarke Berg f0d1c38aa8 AB3791 - Moved scoping to infrastructure, implemented our own CallContext 2019-12-17 15:03:14 +01:00
Niels Lyngsø 9640f05582 updated previewBadge with option to open in PreviewMode in BackOffice and with new styling 2019-12-17 13:50:35 +01:00
Kenn Jacobsen 39ae2fb258 Hide the Nested Content "add" button until the editor has loaded 2019-12-17 12:30:45 +01:00
Kenn Jacobsen 448f3406dd Make sure MNTP config displays allowed items correctly when a start node is set 2019-12-17 08:50:09 +01:00
Shannon Deminick 62c701d5c3 Merge pull request #6630 from ronaldbarendse/v8/bugfix/6624-enable-disablecomposer-from-all-assemblies
Get EnableComposer and DisableComposer attributes from all assemblies
2019-12-17 06:56:34 +01:00
Shannon Deminick 25d1c454dc Update readme.md 2019-12-17 16:50:54 +11:00
Shannon 292a40194f updates readme, adjusts controller 2019-12-17 16:46:02 +11:00
Shannon 9e9a2d8379 Adds TestData project with an endpoint to create content/media hieararchy for testing 2019-12-17 10:38:03 +11:00
Warren Buckley 7d52ff98a9 Merge pull request #7335 from umbraco/v8/feature/0000-preview-ui-2019
Preview UI supporting multiple choices
2019-12-16 15:59:29 +00:00
Niels Lyngsø e215d19f96 only show languages if we have any + select default if none is selected + right align dropdown menu 2019-12-16 16:31:04 +01:00
Niels Lyngsø 72054d7fe2 remove outcommented code 2019-12-16 15:08:00 +01:00
Niels Lyngsø 526b1e8b82 changed svg to icon 2019-12-16 15:05:58 +01:00
Niels Lyngsø f20c11b37d Update src/Umbraco.Web.UI.Client/src/less/canvas-designer.less
removed comment

Co-Authored-By: Warren Buckley <warren@umbraco.com>
2019-12-16 14:32:53 +01:00
Niels Lyngsø c4cf3cf5ea added motion to ensure attention brought to preview bar 2019-12-16 13:33:51 +01:00
Warren Buckley b78d8fa3e1 Merge pull request #6795 from umbraco/v8/feature/mb-embed
V8: Embed models builder
2019-12-16 11:42:01 +00:00
Ronald Barendse 507db27337 Removed unnecessary WithCollectionBuilder call 2019-12-12 14:38:16 +01:00
Ronald Barendse 8b3e2c61af Add obsolete Composers constructor for backwards-compatibility 2019-12-12 13:55:43 +01:00
Bjarke Berg 70adb70afd Bugfix 2019-12-12 13:49:17 +01:00
Kenn Jacobsen 492fb01ad9 Don't load languages in treepicker unless they're needed 2019-12-12 13:41:40 +01:00
Bjarke Berg 2578e51f43 Added specific version to infrastructure 2019-12-12 13:20:49 +01:00
Bjarke Berg d36ff6d509 Refactored such that the a IBulkSqlInsertProvider can be used, to diff. between SqlCe and SqlServer 2019-12-12 12:55:17 +01:00
Bjarke Berg f9286d1eda Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/move-files
# Conflicts:
#	src/Umbraco.Tests/Published/NestedContentTests.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
#	src/Umbraco.Web/PropertyEditors/ContentPickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/MediaPickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/MultiNodeTreePickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/NestedContentPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
2019-12-12 09:13:40 +01:00
Bjarke Berg 2574811b58 Handle SqlCE outside of core/abstractions 2019-12-12 09:09:26 +01:00
Bjarke Berg ec6b86bbea Merge pull request #7276 from umbraco/netcore/feature/iohelper-cannot-use-system-web
Netcore: IOHelper cannot use System.Web
2019-12-12 09:07:40 +01:00
Bjarke Berg 21902620fd Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/iohelper-cannot-use-system-web
# Conflicts:
#	src/Umbraco.Tests/Published/NestedContentTests.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
#	src/Umbraco.Tests/Web/TemplateUtilitiesTests.cs
#	src/Umbraco.Web/PropertyEditors/ContentPickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/MediaPickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/MultiNodeTreePickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/MultiUrlPickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/NestedContentPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
2019-12-12 08:33:58 +01:00
Bjarke Berg c94b65d76b Moved scope and persistence 2019-12-12 08:11:23 +01:00
Shannon df84ec4fae Changes the DocumentRepository to be more granular in what data it loads and optimizes a few methods to not load erroneous data 2019-12-11 16:31:03 +01:00
Shannon 2b14a40e45 Changes index to be a combined index since that is what is required 2019-12-11 16:30:27 +01:00
elitsa 0c377a05dc Typo fixes 2019-12-11 14:34:04 +01:00
elitsa 35d021237e Added a cookie path claim on user login, so that we can validate requests for xsrf token 2019-12-11 14:33:21 +01:00
Shannon fba537928a Adds a couple missing indexes 2019-12-11 14:29:50 +01:00
Niels Lyngsø b722ae2008 bottom align preview bar 2019-12-11 13:08:19 +01:00
Kenn Jacobsen a8c55a4cb9 Make the Multi URL Picker sorting behave the same as MNTP 2019-12-11 09:53:20 +01:00
Ronald Barendse 262a4cba36 Explicitly set MiniProfiler storage to HttpRuntimeCacheStorage 2019-12-11 09:30:25 +01:00
Bjarke Berg 9e5494cc14 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/move-files
# Conflicts:
#	src/Umbraco.Core/Persistence/Repositories/Implement/ContentRepositoryBase.cs
#	src/Umbraco.Core/Persistence/Repositories/Implement/DocumentBlueprintRepository.cs
#	src/Umbraco.Core/Persistence/Repositories/Implement/DocumentRepository.cs
#	src/Umbraco.Core/Persistence/Repositories/Implement/MediaRepository.cs
#	src/Umbraco.Core/Persistence/Repositories/Implement/MemberRepository.cs
#	src/Umbraco.Tests/Persistence/Repositories/ContentTypeRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/DocumentRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/DomainRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/MediaRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/MemberRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/PublicAccessRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/TagRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/TemplateRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
#	src/Umbraco.Tests/Published/NestedContentTests.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
#	src/Umbraco.Tests/Services/ContentServicePerformanceTest.cs
#	src/Umbraco.Tests/Services/ContentServiceTests.cs
#	src/Umbraco.Tests/Web/TemplateUtilitiesTests.cs
#	src/Umbraco.Web/PropertyEditors/ContentPickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/MediaPickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/MultiNodeTreePickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/MultiUrlPickerPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/NestedContentPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
2019-12-11 09:29:36 +01:00
Ronald Barendse c845f5d8c5 Discard MiniProfiler results when not in debug mode 2019-12-11 09:26:31 +01:00
Ronald Barendse 6f67105645 Undo removing the MiniProfiler routes if solution is not in debug mode 2019-12-11 09:25:30 +01:00
Kenn Jacobsen bfcc10e35e Prevent the Nested Content item picker from crashing when hitting enter on "add content" twice 2019-12-11 09:06:12 +01:00
Shannon 0ef08db765 adds error logging and ensure we don't throw exceptions on a background task which would destroy the app domain 2019-12-11 08:55:07 +01:00
Kenn Jacobsen c6a7bfb1c9 Don't add new Nested Content items on enter key 2019-12-10 21:41:01 +01:00
Shannon a63de7672b updates a bool check 2019-12-10 15:53:57 +01:00
Shannon aae8dbdc15 Updates to allow the sql main dom lock to be able to wait until the previous maindom has fully unwound before it can be taken over. 2019-12-10 15:44:47 +01:00
Bjarke Berg 76e1f30594 Fixed broken view 2019-12-10 15:01:11 +01:00
Bjarke Berg aa15f89275 Merge remote-tracking branch 'origin/v8/feature/media-tracking' into netcore/dev
# Conflicts:
#	src/Umbraco.Abstractions/Models/IDataValueEditor.cs
#	src/Umbraco.Abstractions/Models/RelationType.cs
#	src/Umbraco.Core/Contants-UdiEntityType.cs
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Core/Udi.cs
#	src/Umbraco.Tests/Models/RelationTests.cs
#	src/Umbraco.Tests/Models/RelationTypeTests.cs
#	src/Umbraco.Tests/Persistence/Repositories/MediaRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
#	src/Umbraco.Tests/Published/NestedContentTests.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTestBase.cs
#	src/Umbraco.Tests/PublishedContent/PublishedContentTests.cs
#	src/Umbraco.Tests/Services/ContentServicePerformanceTest.cs
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
#	src/Umbraco.Tests/Web/TemplateUtilitiesTests.cs
#	src/Umbraco.Web/Editors/MediaController.cs
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/NestedContentPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
#	src/Umbraco.Web/Runtime/WebInitialComposer.cs
#	src/Umbraco.Web/Templates/TemplateUtilities.cs
#	src/Umbraco.Web/UmbracoComponentRenderer.cs
2019-12-10 14:44:42 +01:00
Niels Lyngsø 86c6fd5873 dropdown menus for preview 2019-12-10 14:07:09 +01:00
Shannon e919af14d3 adds comments 2019-12-10 13:50:10 +01:00
Shannon 654511a656 adds appSetting to switch maindom lock 2019-12-10 13:42:53 +01:00
Shannon 1513a12549 Introduce a new IMainDomLock and both default and sql implementations 2019-12-10 13:33:59 +01:00
Kenn Jacobsen 12376fb6be Make Nested Content actually save the item content again (#7301) 2019-12-10 09:44:05 +01:00
Niels Lyngsø 6c0cb723c6 new preview UI prototype 2019-12-10 09:40:41 +01:00
Bjarke Berg 67536a49a7 Moved Models from Umbraco.Core to Umbraco.Infrastructure 2019-12-10 08:37:19 +01:00
Kenn Jacobsen aa158fa79f Avoid UI "jumping" when sorting nested content items 2019-12-09 22:27:38 +01:00
Bjarke Berg becce7800b Moved Models from Umbraco.Core to Umbraco.Infrastructure 2019-12-09 14:12:06 +01:00
Bjarke Berg 2ea8e7cdd0 Moved PropertyEditors from Umbraco.Core to Umbraco.Infrastructure 2019-12-09 10:44:22 +01:00
Bjarke Berg d90534769c Moved Serialization from Umbraco.Core to Umbraco.Infrastructure and added reference to Newtonsoft.Json 2019-12-09 08:40:49 +01:00
Bjarke Berg 86574c5e11 Moved more files to abstractions 2019-12-06 12:09:47 +01:00
Warren Buckley 29ff95323c Merge pull request #7282 from umbraco/v8/feature/0000-gulp-only-render-sourcemaps-on-dev
Basic setup for differentiating compile modes in gulp
2019-12-06 09:57:25 +00:00
Warren Buckley ba82e51c72 Bumped to 8.5.0
powershell .\build setumbracoversion 8.5.0
2019-12-06 09:48:35 +00:00
Warren Buckley 66801f09ab Remove the cleanup code of LESS Source Map files from the ZIP & Nupkg builds - this is done with Niels PR as only gulp dev creates LESS SourceMaps 2019-12-06 09:27:35 +00:00
Warren Buckley 1d0fb7be3b Merge branch 'v8/dev' into v8/feature/0000-gulp-only-render-sourcemaps-on-dev 2019-12-06 09:10:18 +00:00
Bjarke Berg 82bb1f00fc AB4079 - Review fixes 2019-12-06 09:49:28 +01:00
Claus a06946289d Merge pull request #7274 from umbraco/v8/bugfix/AB4075-activeNode-should-match-nodeType
Checking nodeType on activeNode to ensure that nodes originate from same treeAlias
2019-12-06 09:44:42 +01:00
Niels Lyngsø 37513a5161 basic setup for differentiating compile modes in gulp + only compile sourcemaps in dev mode 2019-12-06 09:34:53 +01:00
Bjarke Berg a7687e9439 Merge pull request #7277 from umbraco/v8/feature/AB3324-maindom-switching
Ability to swap out IMainDom
2019-12-06 08:09:10 +01:00
Shannon 3e48022949 Fixes test 2019-12-06 13:19:14 +11:00
Bjarke Berg 1b5a577e30 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB3324-maindom-switching 2019-12-05 14:15:51 +01:00
Bjarke Berg f7e5e81556 Merge pull request #6757 from umbraco/v8/bugfix/6546-MainDom-Cleanup
Cleaning up MainDom and other resources preventing clean shutdown/startup
2019-12-05 14:12:54 +01:00
Bjarke Berg 5c6dcc900e Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/iohelper-cannot-use-system-web 2019-12-05 14:03:28 +01:00
Bjarke Berg fb562817bc Moved more files to abstractions and eliminated the use of JObject 2019-12-05 14:03:09 +01:00
Shannon Deminick 03a59bc2e2 Merge pull request #7193 from umbraco/netcore/feature/core-cannot-use-system-web
Netcore: Abstract System.Web stuff
2019-12-05 23:52:51 +11:00
Warren Buckley 4d78a2c848 Remove old & unecessary comment 2019-12-05 12:50:46 +00:00
Shannon Deminick 703cce266e Merge pull request #7228 from umbraco/v8/feature/community-package-tracking
V8 - Community package tracking of references
2019-12-05 23:44:15 +11:00
Warren Buckley 2948d506ea V8: Bye hardcoded colors lets use Variables (#7246)
* Bye bye #fff let's use the variable @white instead

* Update to use @black

* Update canvas-designer file with variables where possible - ALOT was not found (need to see if we have similar matches already)

* Update all hex colour variables or add a TODO comment

* Empty LESS files so lets get rid of them

* Moves the color CSS classes out into own less file to ensure variables contains variables only

* Adds in gulp-sourcemaps to allow us to have LESS sourcemaps - https://www.npmjs.com/package/gulp-less#source-maps

* A VERY BAD first attempt at doing DARK mode, but plumbing done. Now a game of tweaking variables

* Revert "A VERY BAD first attempt at doing DARK mode, but plumbing done. Now a game of tweaking variables"

This reverts commit 5ac8080c8b314cd65b1bd735fea88569991736b2.

* Update hard-coded hex values to color variables

* Fix couple typos with LESS variables gray not grey

* Amend build script so we remove the /umbraco/assets/css/maps folder from the build ouput of the ZIP & Nuget Packages

* Removing more hard coded colour values
2019-12-05 13:38:57 +01:00
Shannon 0e5bc264fc Merge branch 'v8/bugfix/6546-MainDom-Cleanup' into v8/feature/AB3324-maindom-switching 2019-12-05 23:27:24 +11:00
Shannon 3f78331145 Adds lots of notes, fixes tests to ensure we catch OperationCanceledException where necessary, adds logging to tests, fixes a boolean op 2019-12-05 23:26:49 +11:00
Warren Buckley cad384a0a6 Moves logic out from ContentRepositoryBase & into a method on the Collection itself 2019-12-05 11:18:18 +00:00
Bjarke Berg 816baa5eaf Moved SystemFiles to abstractions 2019-12-05 10:43:45 +01:00
Bjarke Berg 204bbd5c46 Moved IOHelper to abstractions 2019-12-05 10:41:58 +01:00
Shannon 385722c43c Merge branch 'v8/bugfix/6546-MainDom-Cleanup' into v8/feature/AB3324-maindom-switching 2019-12-05 19:20:30 +11:00
Shannon 6f9062c0cf fixes test (cherry picked) 2019-12-05 19:19:09 +11:00
Shannon d8c1c8fd13 fixes test 2019-12-05 19:18:15 +11:00
Bjarke Berg 3a7ef42a6c Fixed tests 2019-12-05 08:54:37 +01:00
mikkelhm 7c5a2dd6f1 Close unclosed key element in italian language file 2019-12-05 08:35:49 +01:00
Bjarke Berg 147626fc08 Refactored the hosting settings out of global settings 2019-12-05 08:31:06 +01:00
Shannon 15f75ce756 FIxes test and fixes boolean issue with bg task runner shutdown (issue exists in v7 too) 2019-12-05 18:07:43 +11:00
Bjarke Berg 566f9a09fe Committed missing file changes 2019-12-05 07:58:21 +01:00
Bjarke Berg df80694df8 Let ManifestWatcher use IHostingEnvironment to unload app domain 2019-12-05 07:53:40 +01:00
Shannon 7bea36d628 fixes comment 2019-12-05 16:17:17 +11:00
Bjarke Berg 28ecb355dd Let IOHelper use IHostingEnvironment 2019-12-04 21:30:18 +01:00
Warren Buckley 9e1a56eba5 Rename from DataValueReferenceFor to DataValyeReferenceFactory & Factories for the plural collection 2019-12-04 16:14:33 +00:00
Niels Lyngsø 0c3d3b229e Checking nodeType on activeNode to ensure that nodes originate from the same treeAlias 2019-12-04 14:42:06 +01:00
Bjarke Berg d2bf64195e Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/core-cannot-use-system-web
# Conflicts:
#	src/Umbraco.Tests/Membership/MembershipProviderBaseTests.cs
#	src/Umbraco.Tests/Testing/TestingTests/MockTests.cs
#	src/Umbraco.Web/Security/AppBuilderExtensions.cs
#	src/Umbraco.Web/Security/BackOfficeUserManager.cs
#	src/Umbraco.Web/UmbracoDefaultOwinStartup.cs
2019-12-04 11:51:12 +01:00
Bjarke Berg 13e04bcfe8 Merge pull request #7263 from umbraco/netcore/feature/AB3970-membership-providers
Removing more membership providers from being used
2019-12-04 11:44:29 +01:00
Bjarke Berg 886a298b3d AB3981 - Review fixes - Moved abstractions into namespace folders, removed code that was commented out, removed unused code, added xml doc 2019-12-04 10:39:49 +01:00
Bjarke Berg 42ef37f0a3 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/core-cannot-use-system-web
# Conflicts:
#	src/Umbraco.Tests/Components/ComponentTests.cs
#	src/Umbraco.Tests/TestHelpers/TestHelper.cs
#	src/Umbraco.Tests/TestHelpers/TestObjects.cs
2019-12-04 09:43:22 +01:00
Bjarke Berg ca07e68db2 Merge pull request #7234 from umbraco/netcore/feature/AB3980-replace-httpcontext-items-in-scopeprovider
NetCore: Replaces the usages of HttpContext.Items ScopeProvider
2019-12-04 09:41:47 +01:00
Bjarke Berg 5f5a6e460c NoAppCache must return false in "IsAvailable" 2019-12-04 09:11:57 +01:00
Shannon 1f481315bc Allow for switching out MainDom which will need to be done in the UmbracoApplication 2019-12-04 17:18:15 +11:00
Shannon 6bba032325 re-merges 2019-12-04 16:09:39 +11:00
Shannon 8218467e04 Merge branch 'v8/dev' into v8/bugfix/6546-MainDom-Cleanup
# Conflicts:
#	src/Umbraco.Core/MainDom.cs
#	src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs
#	src/Umbraco.Web/PublishedCache/NuCache/PublishedSnapshotService.cs
2019-12-04 16:09:22 +11:00
Shannon 898167f8c6 Adds IsAvailable to IRequestCache and re-implements the DEBUG_SCOPES flag, fixes core proj build issue with DEBUG_SCOPES enabled 2019-12-04 13:30:46 +11:00
Shannon 29908dee44 Removes the remaining bits of membership providers stuff from being used in the back office, simplifies how properties are mapped and removes the legacy weirdness of mapping membership provider properties 2019-12-04 12:50:05 +11:00
abi d162b17931 MediaIndexPopulator should use IUmbracoContentIndex instead of UmbracoContentIndex 2019-12-04 10:57:36 +11:00
Shannon Deminick f02c46bc5d Merge pull request #7253 from bielu/v8/bugfix/contentpopulators
8.4RC: MediaIndexPopulator should use IUmbracoContentIndex instead of Umbrac…
2019-12-04 10:56:36 +11:00
Bjarke Berg 76742f0554 Merge remote-tracking branch 'origin/v8/8.4' into v8/8.4 2019-12-03 19:32:24 +01:00
Bjarke Berg 12a831d178 Removed RC version 2019-12-03 19:31:02 +01:00
Warren Buckley 36c8285daf Merge pull request #7267 from umbraco/v8/bugfix/7247-fixing-auto-resize-to-show-docType-alias
adding timeout for Chrome to render before making the correction
2019-12-03 13:43:51 +00:00
Claus b17326c9c0 Marking default json ctor for serialization. 2019-12-03 14:28:53 +01:00
Warren Buckley dc4b9a3c4d Merge pull request #7265 from umbraco/v8/bugfix/7258-hideLabel-for-Grid-RTE-PreValue-for-8.4
7258 hide label for grid rte pre value for 8.4
2019-12-03 13:21:08 +00:00
Bjarke Berg 3d6bc9f161 fix core csproj missing files 2019-12-03 14:11:26 +01:00
Warren Buckley 19497ee785 Fix up unit test - needed to add the collection to the Compositon for all tests inheriting from UmbracoTestBase 2019-12-03 11:52:46 +00:00
emma burstow bfb9c71981 Merge branch 'v8/dev' into pr/7004 2019-12-03 11:21:21 +00:00
emma burstow de496a0256 Merge branch 'v8/dev' into pr/7003 2019-12-03 11:11:50 +00:00
Niels Lyngsø 2d0a8d52d9 adding timeout for Chrome to render before making the correction 2019-12-03 12:06:31 +01:00
Warren Buckley 153eb219f9 Merge pull request #7266 from umbraco/v8/bugfix/7236-Property-Action-Toggle-position-corrected-for-non-horizontal-form-for-8.4
7236 property action toggle position corrected for non horizontal form for 8.4
2019-12-03 10:01:03 +00:00
Niels Lyngsø fa783e4861 corrected position of Property-Action toggle for non horizontal form 2019-12-03 09:51:41 +01:00
Niels Lyngsø de712cd89d Adds HideLabel for Rich Text Editor prevalue property 2019-12-03 09:47:27 +01:00
Niels Lyngsø 5616dcb807 moved hideLabel to control-header 2019-12-03 09:46:40 +01:00
Bjarke Berg e7c85daa2e Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3970-membership-providers
# Conflicts:
#	src/Umbraco.Web/Editors/Filters/MemberSaveModelValidator.cs
#	src/Umbraco.Web/Editors/Filters/MemberSaveValidationAttribute.cs
2019-12-03 08:58:49 +01:00
Bjarke Berg f7404064be AB3980 Cleanup tests 2019-12-03 08:43:09 +01:00
Shannon 97ad7a0239 removes more membership provider and System.Web.Security from being used in the back office 2019-12-03 16:16:33 +11:00
Shannon d7fa5f0b66 Removes membership providers stuff from back office, removes all old legacy rules for passwords and membership providers. 2019-12-03 15:28:55 +11:00
Shannon 6410a83ca8 Fixes issue with empty connection string on startup 2019-12-03 14:16:05 +11:00
Warren Buckley e1e5ac44cc Something gone funky/awol with my commits - remove dupe code :S 2019-12-02 15:35:13 +00:00
Warren Buckley 1b84051e8f Move DataValueReferceFors collection from Umbraco.Web to Umbraco.Core composer in order to see if that helps the Unit Test LightInject issue 2019-12-02 15:24:50 +00:00
Warren Buckley 958eb82213 Move the GetReferences about (back to where it was) 2019-12-02 15:23:56 +00:00
Warren Buckley 1471bffeff Adds DataValueReferenceFor & its collection 2019-12-02 15:00:56 +00:00
Niels Lyngsø 43f63497d0 visual corrections for listview and grid 2019-12-02 14:49:14 +01:00
Niels Lyngsø 988f8890fe minor change for mini-search component 2019-12-02 14:48:43 +01:00
Niels Lyngsø 201c31395c componentizing mini-search 2019-12-02 14:48:17 +01:00
Bjarke Berg f39324b732 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/core-cannot-use-system-web 2019-12-02 14:13:33 +01:00
Bjarke Berg 3906f3aa6b Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3980-replace-httpcontext-items-in-scopeprovider 2019-12-02 14:12:50 +01:00
Bjarke Berg 1da4429177 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Abstractions/Exceptions/ConnectionException.cs
#	src/Umbraco.Abstractions/Exceptions/DataOperationException.cs
#	src/Umbraco.Abstractions/Exceptions/InvalidCompositionException.cs
#	src/Umbraco.Abstractions/IO/MediaFileSystem.cs
#	src/Umbraco.Abstractions/IO/PhysicalFileSystem.cs
#	src/Umbraco.Abstractions/Migrations/DataLossException.cs
#	src/Umbraco.Abstractions/Models/Entities/EntitySlim.cs
#	src/Umbraco.Abstractions/Xml/UmbracoXPathPathSyntaxParser.cs
#	src/Umbraco.Abstractions/Xml/XmlHelper.cs
#	src/Umbraco.Core/Manifest/ManifestParser.cs
#	src/Umbraco.Core/Models/ContentRepositoryExtensions.cs
#	src/Umbraco.Core/Models/PropertyType.cs
#	src/Umbraco.Core/Persistence/UmbracoDatabaseFactory.cs
#	src/Umbraco.Core/PropertyEditors/Validators/RegexValidator.cs
#	src/Umbraco.Core/PropertyEditors/Validators/RequiredValidator.cs
#	src/Umbraco.Core/StringExtensions.cs
#	src/Umbraco.Web/Editors/Filters/ContentModelValidator.cs
#	src/Umbraco.Web/Mvc/AreaRegistrationExtensions.cs
2019-12-02 13:51:07 +01:00
Bjarke Berg 6aa23dc371 Simply moved stuff to abstractions without any modifications 2019-12-02 13:26:49 +01:00
Kenn Jacobsen d456051cbe Do not save content when opening the content template in infinite editing 2019-12-02 07:49:29 +01:00
Shannon 2ec5a8101a fixes binary breaking change introduced 2019-12-02 17:15:47 +11:00
abi 71cfbcc787 MediaIndexPopulator should use IUmbracoContentIndex instead of UmbracoContentIndex 2019-11-29 15:13:11 +00:00
Niels Lyngsø f0a310d6d7 using btn-outline for create button in listivew 2019-11-28 17:41:28 +01:00
Niels Lyngsø 938d5d207d NC PropertyAction Delete-All, do not test length if value is nu… (#7242) 2019-11-28 10:35:07 +01:00
Kenn Jacobsen 771fa3028a V8: Fix Nested Content configuration overflow on smaller screens (#7006) 2019-11-28 09:09:50 +01:00
Warren Buckley 69faaa8797 Update tests to pass in an empty collection for the repository layers expecting the new dataValueReferencesCollection 2019-11-27 20:29:38 +00:00
Warren Buckley 645a30a8aa Adds new ValueReference classes and update to Interface for IsForEditor method to check if we should get references for a specific dataeditor based on its alias 2019-11-27 20:24:16 +00:00
Bjarke Berg 41639740d2 AB3980 - Replaced HttpContext.Current.Items with IRequestCache in ScopeProvider 2019-11-27 14:10:48 +01:00
Kenn Jacobsen 9ae05b5b15 V8: Update the descriptions of the Nested Content configuration… (#7224)
* Update the descriptions of the Nested Content configuration options
* Reduced the amount of words for further readability
2019-11-27 13:40:25 +01:00
Jan Skovgaard c20416a374 Nested Content: Fix controls to be more accessible (#6998)
* Change a to button
* Added localization for copy
* Correcting lost parts from merge.
2019-11-27 13:38:02 +01:00
Kenn Jacobsen 880d65bb42 V8: Add indicators to required properties within nested content (#7217) 2019-11-27 12:32:16 +01:00
Bjarke Berg b997b40f1d Handled Serilog enrichers..
- Introduced ISessionIdResolver and AspNetSessionIdResolver
2019-11-27 09:01:17 +01:00
Bjarke Berg 452bd299bf Introduced IHtmlEncodedString and HtmlEncodedString as our own abstractions of IHtmlString and HtmlString 2019-11-27 08:38:55 +01:00
Shannon bd2c3bdcb3 Creates test to assert the problem 2019-11-27 14:28:53 +11:00
Shannon Deminick cb012d372f Merge pull request #6693 from PerplexDaniel/pr/6691_vary-by-culture-set-unset-culture-flag-only
Properly set / unset Culture flag when "vary by Culture" is changed
2019-11-27 11:40:12 +11:00
Shannon f8e613320b REmoves the term 'Encrypt' from PasswordSecurity 2019-11-27 11:34:32 +11:00
Shannon 67946b4af3 don't allocate empty dictionary when rendering macro and deal with null vals 2019-11-27 10:47:20 +11:00
Shannon Deminick 14a90e5026 Merge pull request #6627 from stevemegson/v8/pr/macro-preview
Unpublished content appearing in macro results
2019-11-27 10:28:59 +11:00
Shannon Deminick 8f7615bc61 Merge pull request #7221 from stevemegson/v8/pr/ensure-application-url
Thread safety in RuntimeState.EnsureApplicationUrl
2019-11-27 10:10:44 +11:00
Søren Gregersen 5b713af96c Removed unused jQuery
MEGA CHANGE! But every bit of jQuery removed from the internet is a good change :)
2019-11-26 21:00:45 +01:00
Kenn Jacobsen 0abd3aec9b Merged with v8/dev 2019-11-26 19:04:35 +01:00
Niels Lyngsø 4b8ea94991 Property-Action for Remove All Entries in Nested Content (#7036)
* Property-Action for remove all entries from Nested Content
* Add "delete all items" confirmation and rephrase action link a bit
* Enforce "delete" confirmation type in overlayService.confirmDelete
* rename to controller for easier to solve merge conflicts
* update removeAllEntriesAction.isDisabled when content changes
* minor correction
2019-11-26 13:59:37 +01:00
Bjarke Berg 87b2dc777c Changed System.Web.HttpUtility To System.Net.WebUtility 2019-11-26 13:28:46 +01:00
Bjarke Berg 797e83c2fe Post merge fixes 2019-11-26 12:49:10 +01:00
Bjarke Berg 0680f104b5 Added "rc" to AssemblyInformationalVersion 2019-11-26 12:39:12 +01:00
Warren Buckley 7573d52807 Initial plumbing, extension methods etc for collection to store IDataValueReferences 2019-11-26 11:09:33 +00:00
Warren Buckley 3ead51ff64 Update WebInitComposer to use the easier to read extension method on composition as opposed to declaring WithCollectionBuilder 2019-11-26 11:05:30 +00:00
Bjarke Berg 2fc50c5730 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/core-cannot-use-system-web
# Conflicts:
#	src/Umbraco.Core/Runtime/CoreInitialComposer.cs
#	src/Umbraco.Core/StringExtensions.cs
#	src/Umbraco.Tests/Membership/MembershipProviderBaseTests.cs
#	src/Umbraco.Tests/Membership/UmbracoServiceMembershipProviderTests.cs
#	src/Umbraco.Tests/Services/MemberServiceTests.cs
#	src/Umbraco.Web/Security/AppBuilderExtensions.cs
#	src/Umbraco.Web/Security/BackOfficeUserManager.cs
#	src/Umbraco.Web/Security/MembershipProviderBase.cs
#	src/Umbraco.Web/Security/MembershipProviderExtensions.cs
#	src/Umbraco.Web/Security/Providers/UsersMembershipProvider.cs
#	src/Umbraco.Web/Security/UmbracoMembershipProviderBase.cs
#	src/Umbraco.Web/UmbracoDefaultOwinStartup.cs
2019-11-26 11:51:50 +01:00
Bjarke Berg d58787e965 Merge pull request #7220 from umbraco/netcore/feature/AB3917-remove-membership-providers
Remove membership providers from Core
2019-11-26 11:38:42 +01:00
Warren Buckley 2420b9c253 Update CoreComposer to use the easier to read extension method on composition as opposed to declaring WithCollectionBuilder 2019-11-26 10:28:56 +00:00
Niels Lyngsø 37c668b4a8 ensure history line only goes between entries of the list. 2019-11-26 11:02:56 +01:00
Steve Megson 311e2afde0 Use ConcurrentHashSet 2019-11-26 08:51:48 +00:00
Bjarke Berg fd22afd387 AB3917 - Removes unused variable.. 2019-11-26 09:38:24 +01:00
Bjarke Berg 7831d00808 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3917-remove-membership-providers 2019-11-26 08:54:14 +01:00
Bjarke Berg 969832310e Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/core-cannot-use-system-web 2019-11-26 08:47:33 +01:00
Niels Lyngsø 4be096af0f Merge remote-tracking branch 'origin/v8/8.4' into v8/dev 2019-11-26 08:24:26 +01:00
Bjarke Berg 294d9819b4 Merge pull request #7205 from umbraco/netcore/feature/AB3915-remaining-services
Moves remaining service abstractions
2019-11-26 08:21:44 +01:00
Bjarke Berg 323a60fa76 Removed IOHelper.Default, to prepare for injecting 2019-11-26 08:15:00 +01:00
Shannon 3b67731cbc fixes new installation password reset 2019-11-26 17:19:53 +11:00
Shannon 488f6925b8 Fixes tests, removes some magic strings 2019-11-26 12:49:57 +11:00
Shannon Deminick 0eea70b50b Merge pull request #7222 from umbraco/v8/bugfix/5551-refactorying-of-property-actions-api
Refactorying of PropertyActions
2019-11-26 12:22:06 +11:00
Shannon ba625e6181 fix up minor inconsistency 2019-11-26 12:20:49 +11:00
Niels Lyngsø ea8f1c3ae3 make umbProperty optional, since its not present in DocumentTypeEditor 2019-11-25 15:47:45 +01:00
Niels Lyngsø b4ae7ebe2c refactored how communication is done between propertyEditorController and umbPropertyDirective 2019-11-25 15:38:11 +01:00
Niels Lyngsø b0b67ca957 removed PropertyEditorService as its not needed anymore 2019-11-25 15:36:56 +01:00
Shannon a6707cd367 Cleans up some usings with System.Web 2019-11-26 00:13:37 +11:00
Shannon 4fe20bb7c8 Removes references to password question/answer/ProviderUserKey 2019-11-26 00:03:45 +11:00
Shannon b90446ee88 Merge branch 'netcore/feature/AB3915-remaining-services' into netcore/feature/AB3917-remove-membership-providers 2019-11-25 23:55:50 +11:00
Shannon d41d545045 oops fix build 2019-11-25 23:55:14 +11:00
Shannon a458df360f Removes references to password question/answer 2019-11-25 23:53:12 +11:00
Shannon 76b413e527 Removes all references of System.Web.Security from core project 2019-11-25 23:37:30 +11:00
Shannon 3e518a0921 Merge branch 'netcore/feature/AB3915-remaining-services' into netcore/feature/AB3917-remove-membership-providers
# Conflicts:
#	src/Umbraco.Core/Persistence/Repositories/Implement/UserRepository.cs
#	src/Umbraco.Core/Runtime/CoreInitialComposer.cs
2019-11-25 23:19:15 +11:00
Shannon ed9a6d3f22 Moves culture dictionary implementation to Core instead of web since it has nothing to do with Web really, fixes tests
# Conflicts:
#	src/Umbraco.Core/Persistence/Repositories/Implement/UserRepository.cs
#	src/Umbraco.Core/Runtime/CoreInitialComposer.cs
#	src/Umbraco.Web/Editors/AuthenticationController.cs
#	src/Umbraco.Web/Install/InstallSteps/NewInstallStep.cs
2019-11-25 23:16:49 +11:00
Niels Lyngsø 503fd1887e Change NestedContent property editor controller into a component 2019-11-25 13:16:04 +01:00
Shannon 73bb9e3279 Moves culture dictionary implementation to Core instead of web since it has nothing to do with Web really, fixes tests 2019-11-25 23:10:54 +11:00
Shannon 763b090b4d Fixes up issues with members, now it still works in the UI 2019-11-25 22:08:08 +11:00
Shannon 1136e15a27 kill user membership provider, adds some passwords api abstractions, moves membership provider logic out of Core/services, removes membership scenario and other membership code we don't want anymore. 2019-11-25 21:20:00 +11:00
Warren Buckley f9d59f9270 Merge pull request #7211 from umbraco/v8/bugfix/3909-Rename-reference-to-info
Rename reference to info
2019-11-25 10:46:01 +01:00
Steve Megson 051b105fea Removed breaking change 2019-11-25 09:01:14 +00:00
Steve Megson 7ed6c0c1a2 Thread safety in EnsureApplicationUrl 2019-11-24 13:44:09 +00:00
Niels Lyngsø b9104dfaf8 moved info properties to the into tab. 2019-11-22 14:53:15 +01:00
Daniël Knippers 1889aeff4b Merge branch 'v8/dev' of https://github.com/umbraco/Umbraco-CMS into feature/backoffice-segment-support-client
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/content/overlays/publish.html
2019-11-22 14:19:41 +01:00
Daniël Knippers 491ab5c44f Merge branch 'v8/dev' of https://github.com/umbraco/Umbraco-CMS into feature/backoffice-segment-support-server 2019-11-22 14:06:10 +01:00
Niels Lyngsø b13120f0a1 minor style adjustment for media references 2019-11-22 11:32:11 +01:00
Warren Buckley ab9478ff6d Merge pull request #7207 from umbraco/v8/bugfix/7181-Check-if-template-tree-exists-for-8.4
check if template tree exists, to avoid error if its not present.
2019-11-22 10:32:48 +01:00
Niels Lyngsø e83589a024 rename reference tab to info tab 2019-11-22 09:59:11 +01:00
Daniël Knippers 06074ead44 Merge branch 'v8/dev' of https://github.com/umbraco/Umbraco-CMS into pr/6691_vary-by-culture-set-unset-culture-flag-only
# Conflicts:
#	src/Umbraco.Web/Models/Mapping/ContentTypeMapDefinition.cs
2019-11-22 09:08:27 +01:00
Niels Lyngsø 3402f36de3 check if template tree exists, to avoid error if its not present. 2019-11-22 09:02:28 +01:00
Shannon 6c5c256e62 ... and down the rabbit hole we go 2019-11-22 13:38:07 +11:00
Shannon 15db9ecbbf start the process of removing membership providers 2019-11-22 13:32:37 +11:00
Shannon 310597ce27 fix build 2019-11-22 13:25:37 +11:00
Shannon 251f1c1f84 Moves ContentTypeChange 2019-11-22 13:15:41 +11:00
Shannon 3dbebfb153 Refactors the usage of ICultureDictionary so its injectable, removes more uses of Current, removes unused methods relying on System.Web 2019-11-22 13:13:19 +11:00
Shannon e51a3efe15 Moves more services and friends, removes more usages of Current 2019-11-22 12:17:26 +11:00
Shannon 719c23c7a2 Fixes build 2019-11-22 11:57:37 +11:00
Shannon Deminick 30417034de Merge pull request #7179 from umbraco/netcore/feature/AB3869-move-packages
Netcore: Movement of package abstractions
2019-11-22 11:51:58 +11:00
Warren Buckley 096bcf8a11 Merge pull request #7203 from umbraco/v8/bugfix/AB3875-untouchability-fix-8.4-cherry
Bugfix - AB3875 untouchability checker: do not check style for document fragments
2019-11-21 15:28:47 +01:00
Bjarke Berg 199cd75fcc Merge pull request #7172 from umbraco/netcore/feature/AB3734-move-io-stuff
Netcore: Move most of IO into abstractions
2019-11-21 15:24:08 +01:00
Bjarke Berg 3070ce55a8 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3734-move-io-stuff 2019-11-21 14:52:45 +01:00
Bjarke Berg 99fb19b7a3 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3869-move-packages 2019-11-21 14:48:06 +01:00
Shannon Deminick 1bbbe53f8f Merge pull request #7176 from umbraco/netcore/feature/AB3789-move-propertyeditors
NetCore: Move PropertyEditor abstractions
2019-11-22 00:36:59 +11:00
Shannon Deminick 30c7fe23b6 Merge pull request #7202 from umbraco/netcore/feature/AB3733-moving-icomposer-and-friends
Moving icomposer and friends
2019-11-22 00:33:34 +11:00
Shannon d35040e2eb couple more composer things 2019-11-22 00:32:33 +11:00
Warren Buckley f209905d2a Update src/Umbraco.Web.UI.Client/src/common/services/tabbable.service.js
(cherry picked from commit 7798937ea7d26bd42d122a1ebdb90859e4cb11c5)
2019-11-21 14:30:44 +01:00
Niels Lyngsø 213fa0e71e return true, cause DocumentFragment is never displayed.
(cherry picked from commit ec9c99554ace24b5a1fbeae4a22dbe29cdc62f77)
2019-11-21 14:30:36 +01:00
Niels Lyngsø 7ccfe809ae Do not check style of DocumentFragment.
(cherry picked from commit 3b7d5995e4cdeab56265114416e7ea17b8ca7cbd)
2019-11-21 14:30:24 +01:00
Bjarke Berg 75f084002a AB3734 - Review fixes 2019-11-21 14:29:48 +01:00
Shannon 79507c405d moving files 2019-11-22 00:25:26 +11:00
Bjarke Berg 0354fc91bc Removed static ApplicationUrlHelper and introduced IBackOfficeInfo and AspNetBackOfficeInfo 2019-11-21 14:20:27 +01:00
Bjarke Berg 3e360abf15 Removed static ApplicationUrlHelper and introduced IBackOfficeInfo and AspNetBackOfficeInfo 2019-11-21 14:19:56 +01:00
Warren Buckley d205e98250 Merge branch 'v8/dev' of https://github.com/umbraco/Umbraco-CMS into v8/dev 2019-11-21 11:01:05 +01:00
Warren Buckley 47c328b3a7 Merge branch 'AndyButland-feature/5702-custom-validation-messages' into v8/dev 2019-11-21 11:00:41 +01:00
Warren Buckley c7c98e1750 Add required message validation to textarea 2019-11-21 10:57:15 +01:00
Warren Buckley 042637c3b6 Move migration to 8.6.0 - 8.4 is hactoberfest, 8.5 is Models Builder only and dev/v8 is 8.6.0 2019-11-21 10:34:17 +01:00
Warren Buckley 9fea3ea500 Merge branch 'feature/5702-custom-validation-messages' of https://github.com/AndyButland/Umbraco-CMS into AndyButland-feature/5702-custom-validation-messages
# Conflicts:
#	src/Umbraco.Core/PropertyEditors/Validators/RegexValidator.cs
2019-11-21 10:10:15 +01:00
Shannon f427155480 Removes unused exceptions 2019-11-21 19:39:30 +11:00
Bjarke Berg 54bd658d41 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/core-cannot-use-system-web 2019-11-21 09:34:14 +01:00
Shannon Deminick b68f1d44f1 Merge pull request #6599 from ronaldbarendse/v8/bugfix/5947-custom-exceptions
Fixed and cleaned up custom exception classes
2019-11-21 19:21:19 +11:00
Bjarke Berg d6ba60a2a4 Removed local include 2019-11-21 08:29:32 +01:00
Bjarke Berg e9ea2ce79a Renamed IpResolver to AspNetIpResolver 2019-11-20 15:25:58 +01:00
Bjarke Berg fc22282a59 Injecting IHostingEnvironment 2019-11-20 15:21:09 +01:00
Bjarke Berg bec4205ef5 Introduced a IHostingEnvironment and one implemtation for AspNetHostingEnvironment 2019-11-20 13:38:41 +01:00
Bjarke Berg 94791bcd11 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3734-move-io-stuff
# Conflicts:
#	src/Umbraco.Abstractions/IO/FileSystems.cs
#	src/Umbraco.Abstractions/IO/PhysicalFileSystem.cs
#	src/Umbraco.Abstractions/IO/ShadowWrapper.cs
#	src/Umbraco.Core/Composing/CompositionExtensions/FileSystems.cs
#	src/Umbraco.Tests/IO/PhysicalFileSystemTests.cs
#	src/Umbraco.Tests/IO/ShadowFileSystemTests.cs
#	src/Umbraco.Tests/Persistence/Repositories/PartialViewRepositoryTests.cs
#	src/Umbraco.Tests/Persistence/Repositories/ScriptRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/StylesheetRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/TemplateRepositoryTest.cs
#	src/Umbraco.Tests/Scoping/ScopeFileSystemsTests.cs
#	src/Umbraco.Web/Editors/BackOfficeAssetsController.cs
#	src/Umbraco.Web/Trees/FilesTreeController.cs
2019-11-20 12:31:15 +01:00
Bjarke Berg 0adf295a4f Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3789-move-propertyeditors 2019-11-20 11:38:00 +01:00
Bjarke Berg caa8ccd306 AB3869 - Removed UmbracoVersion from Core Current 2019-11-20 11:36:17 +01:00
Bjarke Berg 259c0263bd Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3869-move-packages
# Conflicts:
#	src/Umbraco.Core/Composing/CompositionExtensions/Services.cs
#	src/Umbraco.Core/Packaging/PackagesRepository.cs
#	src/Umbraco.Tests/TestHelpers/TestObjects.cs
2019-11-20 11:32:57 +01:00
Bjarke Berg 969d8fbedd Introduced a IIpResolver 2019-11-20 11:27:19 +01:00
Bjarke Berg 44e2019e72 Merge pull request #7190 from crgrieve/7173-crl
Injecting umbraco version
2019-11-20 11:26:36 +01:00
Bjarke Berg 4d5d94d3ed 7173 - Refactored to inject IUmbracoVersion instead of using Current. 2019-11-20 10:50:15 +01:00
Bjarke Berg ec169d17d7 Refactored CoreRuntime to inject a IUmbracoBootPermissionChecker, instead of using system.web to test this it self. Also moved some logging from CoreWebsite into WebRuntime, that used hosting information 2019-11-20 10:20:20 +01:00
Shannon Deminick 24bd62a646 Merge pull request #7160 from umbraco/v8/feature/3610-pagination-media-ref
AB3610 - Pagination of Media References
2019-11-20 12:19:14 +11:00
Shannon beebdce0a2 Fixes $routeParams issue 2019-11-20 12:18:14 +11:00
Shannon 895f68d9e2 Fixes bulk insert records, adjusts parsing of object types 2019-11-20 12:15:27 +11:00
Carole Rennie Logan 100d4431dc removing unused using statements 2019-11-19 23:24:08 +00:00
Carole Rennie Logan b69d14da5e IUmbracoVersion updates 2019-11-19 23:15:11 +00:00
Carole Rennie Logan 015d588218 First comimt changing IUmbracoVersion 2019-11-19 22:37:14 +00:00
Bjarke Berg 97ade695a7 Move more code without lot of changes 2019-11-19 14:12:11 +01:00
Bjarke Berg 8ff37564f1 AB3869 - Moved IPackagingService 2019-11-19 13:45:21 +01:00
Bjarke Berg 81b0175cc5 Merge branch 'netcore/dev' into netcore/feature/AB3869-move-packages 2019-11-19 13:42:18 +01:00
Bjarke Berg 0f91870f68 Merge branch 'netcore/dev' into netcore/feature/AB3789-move-propertyeditors 2019-11-19 13:41:18 +01:00
Bjarke Berg 00ce1f389a Simple moved files from core to abstractions 2019-11-19 13:40:38 +01:00
Bjarke Berg 2dad288b93 AB3869 included missing file 2019-11-19 13:10:37 +01:00
Bjarke Berg 133c6b121a AB3869 move packages to abstractions 2019-11-19 13:03:58 +01:00
Bjarke Berg 2c9a1d9735 AB3869 move packages to abstractions 2019-11-19 13:01:00 +01:00
Andy Butland 54b3e7e60d Moved custom validation message database migrations into 8.4 folder and namespace 2019-11-19 12:35:36 +01:00
Andy Butland 12fa862ee6 Merge branch 'v8/dev' into feature/5702-custom-validation-messages 2019-11-19 11:53:33 +01:00
Bjarke Berg 9ab6c5fe7b Injecting RuntimeState instead of using Current 2019-11-19 11:44:34 +01:00
Bjarke Berg b14c01e33d Merge branch 'netcore/dev' into netcore/feature/AB3789-move-propertyeditors 2019-11-19 11:06:13 +01:00
Bjarke Berg a49b313080 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev 2019-11-19 11:05:32 +01:00
Bjarke Berg 7376331761 AB3789 - Moved some of the propertyEditor stuff 2019-11-19 11:00:03 +01:00
Bjarke Berg cd0de24a11 Merge branch 'netcore/dev' into netcore/feature/AB3789-move-propertyeditors 2019-11-19 10:48:37 +01:00
Bjarke Berg 638f05f0b2 Merge remote-tracking branch 'origin/v8/dev' into netcore/feature/AB3789-move-propertyeditors 2019-11-19 10:46:27 +01:00
Warren Buckley 8d3850a50b Merge pull request #7167 from umbraco/v8/bugfix/7147-fix-losing-content-when-using-embed-in-RTE
Embed function in RTE removes previous content from RTE
2019-11-19 09:44:44 +00:00
Bjarke Berg 0484a85f56 Merge remote-tracking branch 'origin/v8/dev' into netcore/feature/AB3789-move-propertyeditors 2019-11-19 10:43:46 +01:00
Bjarke Berg 45b6fcd404 AB3789 - Moved some of the propertyEditor stuff 2019-11-19 10:37:48 +01:00
Bjarke Berg 5c0f9fb438 Merge pull request #7175 from umbraco/netcore/feature/AB3743-move-remaining-udi-stuff-and-deploy
Netcore: Move remaining Udi stuff
2019-11-19 10:25:37 +01:00
Warren Buckley 7c1af34b3e Update src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js 2019-11-19 08:58:00 +00:00
Bjarke Berg d9d267a489 AB3743 - Moved more deploy stuff 2019-11-19 09:50:18 +01:00
Bjarke Berg 3ee18b8975 AB3743 - Moved the remaining Udi stuff and the required deploy stuff 2019-11-19 09:46:51 +01:00
Bjarke Berg f6ff67aef4 Merge pull request #7170 from soreng/netcore/feature/remove_current_iohelper
Netcore/feature/remove current iohelper
2019-11-19 09:28:25 +01:00
Bjarke Berg 282973f1e2 More injections of IIOHelper 2019-11-19 08:52:39 +01:00
Bjarke Berg ca77c519e9 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/remove_current_iohelper
# Conflicts:
#	src/Umbraco.Abstractions/Configuration/ConfigsExtensions.cs
#	src/Umbraco.Configuration/GlobalSettings.cs
#	src/Umbraco.Tests/Persistence/Repositories/ScriptRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/StylesheetRepositoryTest.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheTests.cs
#	src/Umbraco.Tests/TestHelpers/TestHelper.cs
2019-11-19 08:13:35 +01:00
Bjarke Berg 541e7a3cb5 AB3734 - Post merge fixes 2019-11-19 08:04:24 +01:00
Bjarke Berg c9c4d3acdf Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3734-move-io-stuff
# Conflicts:
#	src/Umbraco.Tests/Persistence/Repositories/ScriptRepositoryTest.cs
#	src/Umbraco.Tests/Persistence/Repositories/StylesheetRepositoryTest.cs
2019-11-19 07:55:05 +01:00
Bjarke Berg 4f204543e6 AB3734 - Moved alot of stuff from Umbraco.Core.IO into abstractions 2019-11-19 07:53:40 +01:00
Shannon Deminick f10a3809ec Merge pull request #7169 from umbraco/netcore/feature/move_icontent_type
NetCore: Move IContentType to abstractions
2019-11-19 17:01:39 +11:00
Shannon e45ea6560d fixes test, adds note 2019-11-19 17:00:58 +11:00
Shannon e366f99105 Cleans up IPropertyType since we don't need the method ConvertAssignedValue as an abstraction 2019-11-19 15:52:56 +11:00
Shannon e537a55181 fix incorrect validation 2019-11-19 15:42:18 +11:00
Shannon 0137996815 Fixes tests, adds notes 2019-11-19 15:38:06 +11:00
Shannon dbd76a903a Cleans up the IPropertyType interface, cleans up how it is constructed 2019-11-19 15:25:04 +11:00
Shannon 1ef5106529 oops fix build 2019-11-19 14:54:03 +11:00
Shannon 645cfcab42 Simplifies the interface inheritance removes SimpleContentTypeMapper (can't be used), improves how mappers are looked up, simplifies other models 2019-11-19 14:10:08 +11:00
Shannon 9f5479d686 Cleans up interface inheritance a bit 2019-11-19 12:28:41 +11:00
Shannon ba35afa494 re, re, re-fixes the merge issues with this stupid csproj file, hopefully it now merges upwards properly. 2019-11-19 12:17:42 +11:00
Shannon 31f51516d2 removes old config transforms for v7 -> v8 no longer needed 2019-11-19 11:53:05 +11:00
Shannon fe2a919573 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/move_icontent_type 2019-11-19 11:52:09 +11:00
Shannon Deminick 901e3d1845 Merge pull request #7095 from umbraco/netcore/feature/AB3594_move_exsiting_configuration_to_own_project
Netcore: Move configuration
2019-11-19 11:49:21 +11:00
Shannon f71a54ec8f Adds some comments and fixme 2019-11-19 11:45:21 +11:00
Shannon 8f48df66d5 Refactors Configs and how it acquires a factory, re-internalizes Umbraco.Configuration classes 2019-11-19 11:16:07 +11:00
Claus 5a78c28d19 Merge pull request #7171 from umbraco/v8/bugfix/fix-unclosed-xml-in-italian-language
Close unclosed key element in italian language file
2019-11-18 22:29:39 +01:00
mikkelhm 6faa5d79d3 Close unclosed key element in italian language file 2019-11-18 22:17:39 +01:00
Søren Gregersen be7c1f6eb1 fixed (almost all) tests 2019-11-18 20:43:38 +01:00
Søren Gregersen 0bdf0ec122 merged 2019-11-18 19:51:42 +01:00
Søren Gregersen b99f2ca25f merged 2019-11-18 19:46:32 +01:00
Søren Gregersen c1ecfbefd5 fix: reverted a few placed, passing tests 2019-11-18 17:40:15 +01:00
Bjarke Berg 2c18dbffeb Clean up 2019-11-18 15:29:04 +01:00
Bjarke Berg 03cb9c0104 Fixed tests 2019-11-18 15:17:18 +01:00
Bjarke Berg 21e9d09ff0 AB3594 - Fixed tests 2019-11-18 14:54:16 +01:00
Bjarke Berg 6af645db95 AB3594 - removed reference to core from configuration 2019-11-18 14:22:11 +01:00
Niels Lyngsø 5c160f6390 Only replace content by EmbedItem if the selected content is of type EmbedItem. 2019-11-18 14:20:44 +01:00
Bjarke Berg 4c05af7b9d AB3594 - Post review fixes.. Also removed the Current class from abstractions, and injected the factory into config 2019-11-18 14:11:50 +01:00
Niels Lyngsø 882ba8d270 only nested content properties should be handled, for now... 2019-11-18 13:21:18 +01:00
Warren Buckley dc494ff525 MemberEntitySlim has the same properties as ContentEntitySlim so lets inherit it 2019-11-18 12:18:50 +00:00
Bjarke Berg 50e61e9227 More usage of IPropertyType, and moved more classes 2019-11-18 13:03:24 +01:00
Warren Buckley 31b85a2cd6 Remove code duplication & do some cleanup - need to work on passing the type variable to Cast<T> 2019-11-18 11:43:31 +00:00
Niels Lyngsø d153bc3551 Do not copy keys from NestedContent properties, instead we trust they will be created if they dont exists. which they do. 2019-11-18 11:58:40 +01:00
Bjarke Berg a888b2e4a5 Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2019-11-18 11:04:01 +01:00
Shannon 4338a8f32d Merge branch 'netcore/dev' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-18 20:23:31 +11:00
Shannon cd3a97ce75 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Abstractions/Constants-Conventions.cs
2019-11-18 19:58:42 +11:00
Bjarke Berg c62088aa85 Moved IMember, IPublicAccessService 2019-11-18 09:27:06 +01:00
Bjarke Berg 36e030a2af Moved IContentService, IDataType and PublishResult 2019-11-18 09:21:47 +01:00
Ronald Barendse 979ccebe75 Make publicly exposed internal exceptions public 2019-11-15 21:19:22 +01:00
Warren Buckley 675b6e7b7c Remove test page size of 1 to check if each pager was working fine 2019-11-15 13:53:56 +00:00
Warren Buckley 8773d644aa Implement paging for the three entity types that media can be related to 2019-11-15 12:50:44 +00:00
Bjarke Berg ac2e8f63ef AB3594 - Post Merge fixes :S 2019-11-15 12:25:09 +01:00
Bjarke Berg 47a0326e9c Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-15 11:43:05 +01:00
Bjarke Berg 603ec0ccfb AB3594 - Moved the composition root out to UmbracoApplicationBase, and injecting the needed parts from there. Also remove usages of ConfigurationManager from Umbraco.Core 2019-11-15 11:41:13 +01:00
Ronald Barendse b9e749152f Merge branch 'v8/dev' into v8/bugfix/contentquery-search 2019-11-15 09:49:50 +01:00
Kenn Jacobsen 83bac35662 Merged with v8/dev 2019-11-15 09:19:26 +01:00
Ronald Barendse 34008edd34 Fix issues with added PanicException 2019-11-15 09:15:12 +01:00
Shannon 85c2269645 Adds ability to filter out paged relations by entity type 2019-11-15 14:49:46 +11:00
Shannon ca91bf0f94 Fixes issue with getting paged entity relations when the relation is between the same entity and itself 2019-11-15 14:14:09 +11:00
Bjarke Berg a97e131891 Bump version o 8.6 (8.5 reserved for MB release) 2019-11-14 14:00:49 +01:00
Bjarke Berg c0dc545c27 Fix for csproj 2019-11-14 13:54:04 +01:00
Bjarke Berg 7c72fb57f2 Merge remote-tracking branch 'origin/v8/8.3' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditorheader.directive.js
#	src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
#	src/Umbraco.Web/Cache/LanguageCacheRefresher.cs
2019-11-14 13:40:32 +01:00
Bjarke Berg ba73ad5792 Merge remote-tracking branch 'skttl/grid-editor-name-templates' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/grid/grid.controller.js
#	src/Umbraco.Web.UI/config/grid.editors.config.js
2019-11-14 13:08:05 +01:00
Bjarke Berg 126380dcee AB3594 - Removed references from core to configuration 2019-11-14 12:49:56 +01:00
Ronald Barendse c206382fa1 Use snapshot to convert search results into content, media or members 2019-11-14 09:23:27 +01:00
Ronald Barendse 634f648517 Require Examine 1.0.2 2019-11-14 09:20:18 +01:00
Bjarke Berg 73167029f0 Merge remote-tracking branch 'origin/v8/dev' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-14 08:05:32 +01:00
Shannon Deminick 0423ea7bd8 Merge pull request #7152 from umbraco/netcore/feature/AB3761-moving-stuff
Moving whatever can be moved currently to Abstractions project
2019-11-14 17:19:57 +11:00
Shannon f4f440e9f8 Moves a couple more packaging things 2019-11-14 17:16:47 +11:00
Shannon 1db673d544 Moves some packages stuff 2019-11-14 17:10:06 +11:00
Shannon 1f17085801 Merge branch 'netcore/dev' into netcore/feature/AB3761-moving-stuff 2019-11-14 17:00:47 +11:00
Shannon 89f5cec832 Fixes System.ComponentModel.Annotations to keep working with aspnet framework 2019-11-14 17:00:21 +11:00
Shannon 221a0c8d9d Moves more stuff 2019-11-14 16:59:43 +11:00
Shannon 3bd223669f Moves as much as possible from Models/Packaging, Models/PublishedContent, Models/Entities, Models/Membership 2019-11-14 16:19:24 +11:00
Shannon Deminick 075937de59 Merge pull request #7145 from umbraco/v8/feature/0000-Remove-non-production-mode-from-gulp
remove isProd from Gulp script
2019-11-14 13:14:02 +11:00
Shannon 7cbb2840a4 Merge branch 'Jeavon-v8/feature/search-media-files' into v8/dev 2019-11-14 12:40:53 +11:00
Shannon Deminick d0f534e2f4 Merge pull request #7120 from umbraco/netcore/feature/AB3649-move-manifest-stuff
Netcore: Move manifest code
2019-11-14 12:10:25 +11:00
Shannon Deminick 2012745c13 Merge pull request #7135 from umbraco/netcore/feature/abstract-systemdirectories
Changed SystemDirectories from static to instance,
2019-11-14 12:08:40 +11:00
Shannon Deminick e39f465423 Merge pull request #7139 from umbraco/v8/feature/3621-UI-paging-relations
AB3621 - Paging Relations UI
2019-11-14 11:51:55 +11:00
Ronald Barendse b494678dd9 Changed thrown exception types to InvalidOperationException 2019-11-14 00:57:13 +01:00
Ronald Barendse 03c7bcc6c9 Remove serialization of ViewModel in InstallException 2019-11-14 00:29:57 +01:00
Ronald Barendse 3ef10ac8fc Constrain generic type of DataOperationException to an enum 2019-11-14 00:28:24 +01:00
Ronald Barendse 4a84f63ab4 Updated obsolete message for WontImplementException 2019-11-14 00:20:04 +01:00
Ronald Barendse 9f19546c42 Validate options argument and authentication type 2019-11-14 00:10:16 +01:00
Ronald Barendse b486c54645 Use same argument validation in BeginUmbracoForm overloads 2019-11-14 00:07:28 +01:00
Ronald Barendse 84495f23b5 Update ufprt field HTML to use double quotes 2019-11-14 00:03:05 +01:00
Ronald Barendse 76de5cc4c7 Changed NullReferenceException to InvalidOperationException 2019-11-13 23:57:26 +01:00
Ronald Barendse f1953bc99c Use same argument validation in AddAttribute as in SetAttribute 2019-11-13 23:56:00 +01:00
Ronald Barendse 5a004581ad Remove DuplicateKeyException 2019-11-13 23:54:00 +01:00
Søren Gregersen 7b19ab005b first round of refactoring 2019-11-13 21:12:02 +01:00
Bjarke Berg b50ffb11bd post merge 2019-11-13 15:52:18 +01:00
Warren Buckley 2314b4de5e Make fixes based on Shan's review notes 2019-11-13 14:35:13 +00:00
Ronald Barendse b64eb05e79 Update documentation of Search overloads 2019-11-13 14:39:52 +01:00
Ronald Barendse 9b87b65537 Create Examine query that only searches content 2019-11-13 14:39:11 +01:00
Bjarke Berg 2e200779f9 Merge branch 'netcore/feature/abstract-systemdirectories' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-13 14:20:21 +01:00
Bjarke Berg c9a99f52aa Can't have the path info on IOHelper, because that leads to a cycle between config and IOHelper. Now you need to go directly to config, if you need a path 2019-11-13 14:15:50 +01:00
Bjarke Berg 5edac2a476 Merge branch 'netcore/feature/abstract-systemdirectories' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project
# Conflicts:
#	src/Umbraco.Abstractions/IO/IIOHelper.cs
#	src/Umbraco.Core/IO/IOHelper.cs
2019-11-13 13:26:44 +01:00
Bjarke Berg b721e75cd2 Move the config usage out of IOHelper 2019-11-13 13:22:28 +01:00
Jeavon 88f6ddeae4 Code tweaks from PR review - also led to adding logging for Deserialization issues and therefore needing to mock the logger for the tests 2019-11-13 12:07:11 +00:00
Bjarke Berg e7683b7a39 Cleanup and moved some methods from the interface 2019-11-13 12:56:22 +01:00
Bjarke Berg 0be396c4fd Post merge fixes 2019-11-13 12:53:01 +01:00
Bjarke Berg 6dceb9c449 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-13 12:45:34 +01:00
Bjarke Berg 9889967b83 Merge branch 'netcore/feature/abstract-systemdirectories' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project
# Conflicts:
#	src/Umbraco.Abstractions/Configuration/GlobalSettingsExtensions.cs
#	src/Umbraco.Core/ConfigsExtensions.cs
#	src/Umbraco.Core/Configuration/GlobalSettings.cs
#	src/Umbraco.Tests/Configurations/GlobalSettingsTests.cs
2019-11-13 12:38:56 +01:00
Bjarke Berg 683c0da468 Moved stuff from SystemDirectories into constants and IOHelper to avoid a circular dependency 2019-11-13 11:56:32 +01:00
Bjarke Berg ad91b2d9fc More movement 2019-11-13 10:48:51 +01:00
Niels Lyngsø e2adb4964c remove isProd from Gulp script 2019-11-13 09:36:40 +01:00
Bjarke Berg 6b0f7ce038 Merge remote-tracking branch 'origin/v8/dev' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project
# Conflicts:
#	src/Umbraco.Abstractions/Constants-Conventions.cs
2019-11-13 08:39:13 +01:00
Shannon Deminick 149d128d03 Merge pull request #7144 from umbraco/netcore/feature/AB3742-udi-fixing
Fixing Udi and moving it's components to Abstractions
2019-11-13 17:29:13 +11:00
Shannon 1a6a31e337 Moves more Udi things 2019-11-13 16:51:07 +11:00
Shannon c97b156eaf Moves Udi, UriParser and others to abstractions 2019-11-13 16:44:40 +11:00
Shannon c58c31c6bd Split Udi into UdiParser & UdiParserServiceConnectors, remove GuidUdi and StringUdi Parse methods (makes no sense), adds generic parse method to UdiParser, simplifies tests, removes Current usage 2019-11-13 16:33:40 +11:00
Shannon 995b31b86c Cleans up IProperty 2019-11-13 12:17:09 +11:00
Shannon 319376d157 Cleans up IPropertyCollection 2019-11-13 12:04:50 +11:00
Shannon 850ecf6900 Cleans up IPropertyType 2019-11-13 11:56:35 +11:00
Shannon 46b27d1257 Changes protected field to property, makes Regex/Required valiidators more resilient to testing removes the need for setting up Current in the ManifestParserTests 2019-11-13 11:43:16 +11:00
Shannon 5bcf9ef102 removes IOHelper registration 2019-11-13 11:17:48 +11:00
Shannon Deminick 89e9b14f88 Merge pull request #7131 from umbraco/v8/hotfix/7125-update-dependencies-to-same-as-nuspec
V8: Update the projects to use the same dependencies as required by our nuspec
2019-11-13 09:21:53 +11:00
Kenn Jacobsen 091b3844ad Make sure the media picker can survive a logout and subsequent login 2019-11-12 20:34:30 +01:00
Warren Buckley 411bf067e5 Bit of tidying up 2019-11-12 19:11:16 +00:00
Warren Buckley 05c1f0f389 Fix up the missing nulls & ammend the mapping 2019-11-12 14:50:43 +00:00
Bjarke Berg 424260ac2b Merge branch 'netcore/feature/abstract-systemdirectories' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project
# Conflicts:
#	src/Umbraco.Core/ConfigsExtensions.cs
2019-11-12 15:32:45 +01:00
Bjarke Berg 42904d63aa Fixed views 2019-11-12 15:32:03 +01:00
Bjarke Berg 0fcf8325e3 Changed SystemDirectories from static to instance, Added interface in abstractions and create a static property on current. 2019-11-12 15:25:21 +01:00
Warren Buckley bbcdcbdde0 Start adding in pagination to relations 2019-11-12 14:09:36 +00:00
Bjarke Berg 3ffa7700ff AB3594 - missing xmldoc end 2019-11-12 14:46:56 +01:00
Bjarke Berg 3a9686d56b AB3594 - Moved more config stuff 2019-11-12 14:42:57 +01:00
Bjarke Berg 6d18b3f363 Merge branch 'netcore/feature/AB3649-move-manifest-stuff' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-12 14:11:08 +01:00
Bjarke Berg 9b4c26bf7e AB3649 - Fixed tests 2019-11-12 13:40:07 +01:00
Jeavon 10622cc430 Switched to using a dummy Uri so that runtimeState isn't needed as per review 2019-11-12 10:26:25 +00:00
Jeavon b30f7b6a48 Merge branch 'v8/dev' into v8/feature/search-media-files 2019-11-12 10:12:03 +00:00
Bjarke Berg c016a48b36 AB3649 - Extracted IManifestParser 2019-11-12 11:06:50 +01:00
Bjarke Berg 94f5894b74 AB3649 - Moved manifest stuff 2019-11-12 10:59:04 +01:00
Bjarke Berg b64b0758e1 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3649-move-manifest-stuff 2019-11-12 10:42:48 +01:00
Bjarke Berg 6da93c6fc3 AB3649 - Refactored services injected into ctor instead of methods 2019-11-12 10:42:39 +01:00
Bjarke Berg b4880944be Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3649-move-manifest-stuff
# Conflicts:
#	src/Umbraco.Core/CompositionExtensions_Essentials.cs
2019-11-12 10:38:33 +01:00
Bjarke Berg 282220ee39 Merge pull request #7109 from umbraco/netcore/feature/AB3650-TypeFinder-abstraction
ITypeFinder abstraction
2019-11-12 10:37:41 +01:00
Bjarke Berg 267a9af30f Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3650-TypeFinder-abstraction
# Conflicts:
#	src/Umbraco.Core/CompositionExtensions_Essentials.cs
#	src/Umbraco.Core/Runtime/CoreRuntime.cs
#	src/Umbraco.Tests/Runtimes/StandaloneTests.cs
#	src/Umbraco.Tests/Testing/UmbracoTestBase.cs
2019-11-12 10:05:54 +01:00
Kenn Jacobsen 09273b6d6f Remove JS error in console when editing document types with Nested Content properties 2019-11-12 08:53:35 +01:00
Bjarke Berg 7eef6b4037 https://github.com/umbraco/Umbraco-CMS/issues/7125 - Updates the projects to use the same versions as required by our nuspec 2019-11-12 08:50:31 +01:00
Shannon Deminick 40894c8ed0 Merge pull request #7129 from umbraco/netcore/feature/AB3736-services-models
Moving most repositories and service interfaces (excluding content based ones)
2019-11-12 17:57:19 +11:00
Shannon e0351bc837 fix test 2019-11-12 17:56:47 +11:00
Shannon 0b16d6dee1 fix build 2019-11-12 16:44:13 +11:00
Shannon 161367bb71 fix build 2019-11-12 16:42:53 +11:00
Shannon 2b2db8b8ef Moves most service interfaces, ensure IOHelper is registered 2019-11-12 16:31:08 +11:00
Shannon 40f1a1f6ea More repos 2019-11-12 14:49:41 +11:00
Shannon 91d5029047 moves more repos 2019-11-12 14:43:19 +11:00
Shannon 570e9ca7bd Moves IExternalLoginRepository, abstracts out IUserLoginInfo 2019-11-12 14:39:27 +11:00
Shannon 8cc218f716 Moves more repos 2019-11-12 14:23:53 +11:00
Shannon f3aca158fb Lots of the repo interfaces moved 2019-11-12 14:16:50 +11:00
Shannon 545a427d11 abstracts out IScript, stops casting stuff 2019-11-12 13:49:56 +11:00
Shannon 38986f3bfd Abstracts out IStylesheet, IStylesheetProperty 2019-11-12 13:33:02 +11:00
Shannon Deminick df94becbc9 Merge pull request #7128 from umbraco/netcore/feature/AB3735-xml-xpath-moving
Moves all Umbraco.Core.Xml items to the Abstractions project
2019-11-12 13:00:31 +11:00
Shannon e58edd7d5d Moves remaining Umbraco.Core.Xml items to abstractions project 2019-11-12 12:56:17 +11:00
Shannon fce8ac87a2 Moves a bunch of the xml/xpath classes/interfaces and remvoes unused code of XmlHelper 2019-11-12 12:37:21 +11:00
Jan Skovgaard a2551521e4 Settings dashboard: Add translations (#6880) 2019-11-11 20:48:52 +01:00
Warren Buckley 8dcec429d3 Remove relations for the RelationType overview 2019-11-11 15:16:19 +00:00
Bjarke Berg f90fc48ca8 AB3649 - Moved IContent and ContentSchedule 2019-11-11 15:42:14 +01:00
Warren Buckley f553868503 Merge pull request #7067 from umbraco/v8/feature/AB3466-paged-relations
Adds ability to get paged relations by type
2019-11-11 14:03:34 +00:00
Warren Buckley dd1c8ec6a3 Revert a C#8 fancy new switch as AzureDevOps does not like that 2019-11-11 12:05:26 +00:00
Warren Buckley 747cdcb5ee Merge remote-tracking branch 'origin/v8/feature/media-tracking' into v8/feature/AB3466-paged-relations
# Conflicts:
#	src/Umbraco.Core/Persistence/Repositories/IRelationRepository.cs
2019-11-11 11:29:00 +00:00
Warren Buckley 28f8aac271 Merge pull request #7066 from umbraco/v8/feature/3449-relations-paging
New service/repo endpoints for efficient paging of entities based on relations data
2019-11-11 11:18:06 +00:00
Warren Buckley eee33696e8 Adss in missing XML params from signature 2019-11-11 11:05:57 +00:00
Shannon 3242f78aa6 Fixes tests 2019-11-11 21:38:18 +11:00
Shannon 694d92aad2 Merge remote-tracking branch 'origin/v8/feature/media-tracking' into v8/feature/AB3466-paged-relations
# Conflicts:
#	src/Umbraco.Core/Persistence/Repositories/Implement/RelationRepository.cs
2019-11-11 21:29:52 +11:00
Shannon 28600a02bd Merge remote-tracking branch 'origin/v8/feature/media-tracking' into v8/feature/3449-relations-paging
# Conflicts:
#	src/Umbraco.Core/Persistence/Repositories/Implement/RelationRepository.cs
2019-11-11 21:25:35 +11:00
Shannon d3fb1ae842 fixing tests 2019-11-11 19:46:11 +11:00
Shannon 46b91b7991 no c#8 2019-11-11 19:11:40 +11:00
Shannon dd24d512fd fixes startup order 2019-11-11 19:01:10 +11:00
Shannon f154d9c333 Moves TypeLoader to abstractions 2019-11-11 18:56:14 +11:00
Bjarke Berg 16ff38a456 AB3649 - Moved IPropertyCollection, IMedia, and IContentBase 2019-11-11 08:36:27 +01:00
Shannon d0834ec340 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3650-TypeFinder-abstraction
# Conflicts:
#	src/Umbraco.Abstractions/Composing/TypeFinder.cs
#	src/Umbraco.Tests/Components/ComponentTests.cs
#	src/Umbraco.Tests/Composing/ComposingTestBase.cs
#	src/Umbraco.Tests/Composing/CompositionTests.cs
#	src/Umbraco.Tests/Composing/TypeFinderTests.cs
#	src/Umbraco.Tests/Composing/TypeLoaderTests.cs
#	src/Umbraco.Tests/CoreThings/UdiTests.cs
#	src/Umbraco.Tests/Runtimes/StandaloneTests.cs
#	src/Umbraco.Tests/TestHelpers/BaseUsingSqlCeSyntax.cs
#	src/Umbraco.Tests/Web/TemplateUtilitiesTests.cs
2019-11-11 17:39:56 +11:00
Shannon Deminick 297b497e78 Merge pull request #7111 from umbraco/netcore/feature/non-static-iohelper
NetCore: Static IOHelper -> IIOHelper
2019-11-11 17:36:10 +11:00
Shannon a8face2023 Moving TypeHelper ... but now need IOHelper... 2019-11-11 17:30:50 +11:00
Shannon d84963dac5 Uses ITypeFinder abstraction where required 2019-11-11 16:07:47 +11:00
Bjarke Berg e5c3b1f8aa AB3649 - More refactor of Property to IProperty... 2019-11-08 15:10:05 +01:00
Bjarke Berg 4c963d5fb2 AB3649 - ILocalizationService 2019-11-08 14:38:57 +01:00
Bjarke Berg c285a16393 AB3649 - Moved more stuff 2019-11-08 14:30:46 +01:00
Bjarke Berg ed82bd05c6 AB3649 - Abstracted IPropertyType, IProperty and IPropertyValue 2019-11-08 14:27:27 +01:00
Bjarke Berg 118d50671f AB3649 - Moved Manifest stuff 2019-11-08 10:58:31 +01:00
Niels Lyngsø 5528c721c7 Merge pull request #6811 from umbraco/v8/feature/0000-DataType-DeleteWarning-with-links-to-references
Adding reference links to DataType delete dialog
2019-11-08 09:36:11 +01:00
Niels Lyngsø 73f7e85f41 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/0000-DataType-DeleteWarning-with-links-to-references
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/datatypes/delete.html
2019-11-08 09:28:52 +01:00
Bjarke Berg 1a4f167b12 Merge branch 'netcore/feature/non-static-iohelper' into netcore/feature/AB3649-move-manifest-stuff 2019-11-08 08:58:24 +01:00
Bjarke Berg 06a153c09f Merge branch 'netcore/feature/non-static-iohelper' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-08 08:56:07 +01:00
Bjarke Berg 0b7422c0d7 AB3653 - Moved IIOHelper interface to abstractions 2019-11-08 08:52:44 +01:00
Bjarke Berg ee29c7e974 Merge branch 'netcore/feature/non-static-iohelper' into netcore/feature/AB3649-move-manifest-stuff 2019-11-08 08:35:50 +01:00
Bjarke Berg 5720fc7465 AB3653 - Fixed IOHelper on Current to be real static.. 2019-11-08 08:35:16 +01:00
Bjarke Berg 80b17e388f Using IIOHelper in ManifestParser 2019-11-08 08:24:34 +01:00
Bjarke Berg 2ce67dcf9a Merge branch 'netcore/feature/non-static-iohelper' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project
# Conflicts:
#	src/Umbraco.Core/Manifest/ManifestParser.cs
#	src/Umbraco.Tests/Composing/CompositionTests.cs
2019-11-08 07:55:23 +01:00
Bjarke Berg 13507c0e13 AB3653 - Static IOHelper -> IIOHelper (Moved into Current as a first step 😭) 2019-11-08 07:51:14 +01:00
Shannon c812e3aec9 fixing tests, reverting change to TypeHelper, just leaving it as is but with caching 2019-11-08 15:31:38 +11:00
Shannon db216e43b7 Moves the WebCachingAppCache to the web project 2019-11-08 15:00:15 +11:00
Shannon 74d12a4d62 Moves more cache items to the abstractions project, decouples the HttpRequestAppCache from System.Web 2019-11-08 14:51:20 +11:00
Shannon 6398f1e216 Creates ITypeFinder interface and simplifies type finder with TypeFinderExtensions, moves GetTypeByName to TypeHelper using assembly name parsing instead of scanning every assembly. 2019-11-08 14:26:06 +11:00
Shannon Deminick dbc0f694aa Merge pull request #7057 from umbraco/v8/feature/mb-embed-handle-tours-to-not-expect-the-app-plugins-folder
Only enumerate the app plugins folder if it exists
2019-11-08 12:22:17 +11:00
Shannon 5db6ce2b8e fixes some comments 2019-11-08 12:20:57 +11:00
Shannon b0e2f2d511 bumps cdf requirements 2019-11-08 11:51:02 +11:00
Rasmus John Pedersen 787529cf0d Remove IDataEditor inheritance 2019-11-07 19:41:51 +01:00
Richard Thompson 0d2c2846d4 Corrected the model variable name
The model variable name is registerModel rather than profileModel.
2019-11-07 15:21:11 +00:00
andyneil 41915080b2 Fix incorrect data types for default member properties. (#7086)
Issue https://github.com/umbraco/Umbraco-CMS/issues/7051
2019-11-07 15:01:22 +00:00
Poornima Nayar 52dcdb396f Accessibility Improvement - Open Template in info content app changed from anchor tag to button 2019-11-07 14:34:46 +00:00
Poornima Nayar 603f720636 Changed the styling of Resend Invitation button and fixed the margin 2019-11-07 14:17:08 +00:00
Paul Seal 466610bd32 - added delete title to trash icons in the grid 2019-11-07 14:05:23 +00:00
Bjarke Berg 05569440c4 Post merge fixes - Port number 2019-11-07 14:47:41 +01:00
Bjarke Berg 0110813fc1 Post merge fixes 2019-11-07 14:38:31 +01:00
Bjarke Berg 563f58afa6 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/SolutionInfo.cs
2019-11-07 14:34:45 +01:00
Bjarke Berg d5c59235e3 Merge pull request #7068 from umbraco/v8/feature/AB3448-bulk-insert-relations
Adds ability to bulk insert relations and adds tests
2019-11-07 14:28:22 +01:00
Bjarke Berg c70d82d32b AB3649 - Moved ManifestSection 2019-11-07 14:10:06 +01:00
Bjarke Berg 4529cd408a Init CurrentCore 2019-11-07 14:08:07 +01:00
John Sheard d747312eb7 encode name of folder rename 2019-11-07 13:06:50 +00:00
Jeffrey Schoemaker ce969aad3b Make it a bit less complex 2019-11-07 13:34:26 +01:00
Bjarke Berg f4fee90b7e Merge remote-tracking branch 'origin/netcore/feature/AB3594_move_exsiting_configuration_to_own_project' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-07 13:11:26 +01:00
Bjarke Berg 8ef89a0722 Merge branch 'netcore/dev' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-07 13:03:18 +01:00
Bjarke Berg 40ca1fd27a Merge remote-tracking branch 'origin/netcore/dev' into netcore/dev 2019-11-07 13:02:56 +01:00
Bjarke Berg a3e73b59bf More config movement 2019-11-07 13:02:30 +01:00
Shannon 39880f885a fixing tests 2019-11-07 13:02:30 +01:00
Shannon a3d142831e fixing tests 2019-11-07 13:02:30 +01:00
Shannon 69c2b732ce new IJsonSerializer, moves other base cache refresher classes 2019-11-07 13:02:30 +01:00
Shannon 15bf971f04 Removes weird serialization implementation. 2019-11-07 13:02:29 +01:00
Bjarke Berg c77d910e95 Move some of the config to Umbraco.Configuration 2019-11-07 13:02:29 +01:00
Bjarke Berg c6ca955d5a Move some of the config to Umbraco.Configuration 2019-11-07 13:02:29 +01:00
Shannon f11ce3b9d9 Moves AppCaches and cache refresher bases 2019-11-07 13:02:28 +01:00
Shannon fdda90c2bf Installs runtime cache nuget into abstractions, moves more cache classes and preps AppCaches to not rely on system.web. 2019-11-07 13:02:28 +01:00
Shannon 7f9a3a7868 Creates SafeLazy to be used by all caching things instead of relying on the base class as a static that cannot be moved right now. 2019-11-07 13:02:27 +01:00
Shannon 235f6fbc54 moves DictionaryAppCache 2019-11-07 13:02:27 +01:00
Shannon 0463f2a43b Moves more cache classes 2019-11-07 13:02:27 +01:00
Shannon 93c75372e7 Moves IRepositoryCachePolicy 2019-11-07 13:02:27 +01:00
Shannon 57fab1d34b Moves IAppPolicyCache 2019-11-07 13:02:27 +01:00
Shannon c7cf7f60e8 Removes CacheItemPriority since this wasn't used, or was used in one place innapropriately. 2019-11-07 13:02:27 +01:00
Shannon 3913742b98 Removes totally unused CacheItemRemovedCallback 2019-11-07 13:02:27 +01:00
Bjarke Berg 48437adb47 Move Configs to abstractions 2019-11-07 13:02:27 +01:00
Bjarke Berg b004bf8920 Move Configs to abstractions, and injected factory all over to create one because we need to inject stuff from system.configuration 2019-11-07 13:02:27 +01:00
Bjarke Berg 99da374fbf Move slim entities 2019-11-07 13:02:26 +01:00
Bjarke Berg 4f5a5a09b4 Move events 2019-11-07 13:02:26 +01:00
Bjarke Berg a0138af362 Move a small part of current 2019-11-07 13:02:26 +01:00
Bjarke Berg 640da8bc91 Move logging stuff 2019-11-07 13:02:26 +01:00
Bjarke Berg d16bc41e3d Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB3594_move_exsiting_configuration_to_own_project 2019-11-07 12:59:40 +01:00
Bjarke Berg 914d6f3f2e More config movement 2019-11-07 12:58:56 +01:00
Shannon Deminick 1d2adb8409 Merge pull request #7087 from umbraco/netcore/feature/AB3648-ICachePolicy
Moving Umbraco.Core.Cache files to abstractions project
2019-11-07 22:57:28 +11:00
Jeffrey Schoemaker 55b76ecc4e Add some help if you're on the wrong repo (#7082) 2019-11-07 12:46:48 +01:00
Bill Bixby 6307a0173b Edit text file to remove reference to App_Data\NuGetBackup folder 2019-11-07 11:24:31 +00:00
Shannon 7a4cafd425 fixing tests 2019-11-07 22:22:09 +11:00
Sebastiaan Janssen 60e4727e51 Update CONTRIBUTING.md 2019-11-07 12:05:16 +01:00
Shannon Deminick 9267b138c6 Merge pull request #7071 from umbraco/v8/feature/3608AB-media-tracking-ref
AB3608 - Implement WebAPI & UI for displaying media relations/references
2019-11-07 21:58:43 +11:00
Jeffrey Schoemaker 2bbe2c01de Added to switch to the correct repository
I always forget this.... And it's nowhere in the documentation
2019-11-07 10:48:00 +00:00
Shannon 3a78e48d3a fixing tests 2019-11-07 21:46:04 +11:00
Shannon c91465e2b2 new IJsonSerializer, moves other base cache refresher classes 2019-11-07 21:28:56 +11:00
Shannon a9a3051af1 Removes weird serialization implementation. 2019-11-07 21:07:09 +11:00
Bjarke Berg bd7a2d670a Move some of the config to Umbraco.Configuration 2019-11-07 10:10:12 +01:00
Bjarke Berg 7a0dc23867 Move some of the config to Umbraco.Configuration 2019-11-07 10:08:16 +01:00
Shannon 327ea04d98 Moves AppCaches and cache refresher bases 2019-11-07 19:56:49 +11:00
Shannon 3b862f7e3a Installs runtime cache nuget into abstractions, moves more cache classes and preps AppCaches to not rely on system.web. 2019-11-07 19:39:20 +11:00
Shannon 922671eb7d Creates SafeLazy to be used by all caching things instead of relying on the base class as a static that cannot be moved right now. 2019-11-07 19:16:45 +11:00
Shannon b36f9e925e moves DictionaryAppCache 2019-11-07 18:57:40 +11:00
Shannon 2a8b505a66 Moves more cache classes 2019-11-07 18:50:14 +11:00
Shannon 1193d8fecd Moves IRepositoryCachePolicy 2019-11-07 18:36:29 +11:00
Shannon ae94b668c5 Moves IAppPolicyCache 2019-11-07 18:35:21 +11:00
Shannon b4f3cc005d Removes CacheItemPriority since this wasn't used, or was used in one place innapropriately. 2019-11-07 18:34:05 +11:00
Shannon 5ec78cd510 Removes totally unused CacheItemRemovedCallback 2019-11-07 18:29:16 +11:00
Bjarke Berg 70aefc4ede Move Configs to abstractions 2019-11-07 08:00:48 +01:00
Bjarke Berg c6157b8765 Move Configs to abstractions, and injected factory all over to create one because we need to inject stuff from system.configuration 2019-11-06 15:37:03 +01:00
Warren Buckley ab87bd200c Adds in lang backoffice keys to EN & EN_US 2019-11-06 13:45:21 +00:00
Warren Buckley 45392603bd Adds in the new Media Relations tables to the <umb-media-node-info> directive view & JS to call the resource/WebAPI 2019-11-06 13:45:03 +00:00
Warren Buckley 642247799a Adds new AngularJS reference to call the new WebAPI endpoint 2019-11-06 13:42:00 +00:00
Warren Buckley 1c7e2367f5 New WebAPI method to return references/relations for Media items 2019-11-06 13:41:21 +00:00
Warren Buckley bf2727a1eb New model to return from WebAPI 2019-11-06 13:40:00 +00:00
Bjarke Berg f1d85be6bb Move slim entities 2019-11-06 14:18:06 +01:00
Bjarke Berg 934fa2748d Move events 2019-11-06 13:35:34 +01:00
Bjarke Berg 8f4d4cb23f Move a small part of current 2019-11-06 10:56:11 +01:00
Bjarke Berg fc1e4b182a Move logging stuff 2019-11-06 10:43:33 +01:00
Shannon 049d51e466 Adds ability to bulk insert relations and adds tests 2019-11-06 16:45:28 +11:00
Shannon 90b6a09013 Adds ability to get paged relations by type 2019-11-06 14:35:15 +11:00
Shannon b03bca4093 removes test code 2019-11-06 13:29:50 +11:00
Shannon 12541e7e8f reverts changes to IUmbracoEntity, we don't need to query on the object type property 2019-11-06 13:22:12 +11:00
Shannon 9ef40fb484 adds notes 2019-11-06 13:16:28 +11:00
Shannon d1948b1543 Adds relation service tests for both paged children and parents and tests the repo 2019-11-06 13:08:03 +11:00
Shannon 6b7a48d00b Gets entity repository working with relation queries and adds test 2019-11-06 12:43:10 +11:00
KB d41e5bb27f Update JQuery CDN In partial snippets, to use newer version without vulnerability 2019-11-05 18:16:47 +00:00
Kenn Jacobsen 759e3ddf5e Make sure we can't rollback trashed items serverside 2019-11-05 18:15:14 +00:00
Kenn Jacobsen a78aab628f Don't show rollback for deleted content 2019-11-05 18:15:14 +00:00
Bjarke Berg 747fe85ede Moved collection builders 2019-11-05 18:46:43 +01:00
Bjarke Berg 0d33baba45 Merge pull request #7062 from umbraco/netcore/feature/move_constants
Unicore: Move constrants to abstractions
2019-11-05 17:04:29 +01:00
Bjarke Berg 71d83ca9ff removed obj folder 2019-11-05 17:02:19 +01:00
Bjarke Berg ca60cd76f3 Merge branch 'netcore/feature/mb_embed' into netcore/feature/move_constants
# Conflicts:
#	src/Umbraco.Infrastructure/obj/Debug/netstandard2.0/Umbraco.Infrastructure.AssemblyInfo.cs
#	src/Umbraco.Infrastructure/obj/Debug/netstandard2.0/Umbraco.Infrastructure.AssemblyInfoInputs.cache
2019-11-05 16:55:27 +01:00
Bjarke Berg d8cfd786aa Created empty infrastructure project 2019-11-05 16:52:49 +01:00
Bjarke Berg 9995d838ed Moved mapping, and abstractions for migrations 2019-11-05 16:52:43 +01:00
Bjarke Berg 3df329deb2 bump version and remove unused references 2019-11-05 16:52:22 +01:00
Bjarke Berg 043c452a2d AB3613 - Only enumerate the folder if it exists 2019-11-05 16:52:18 +01:00
Søren Kottal 1c70d04ce2 Moves editor name part out of template. Adds null checking in templates 2019-11-05 15:33:29 +01:00
Bjarke Berg f3ebe79fc7 Updated comments 2019-11-05 14:59:10 +01:00
Bjarke Berg 63bfc4c2c0 Move constants 2019-11-05 14:55:42 +01:00
Bjarke Berg befcabfced Move constants 2019-11-05 13:28:26 +01:00
Jan Skovgaard 68de8a1fa6 Video dashboard (Settings & Members): Add translations (#6881) 2019-11-05 12:20:00 +01:00
Jan Skovgaard c8ec7ce8ba Profiling dashboard: Add translations (#6879) 2019-11-05 12:10:41 +01:00
Matt Brailsford 0b16c48fc3 Split PagedResult into a typed and non-typed version (Fixes #46… (#6871) 2019-11-05 11:59:04 +01:00
Kevin Jump 3211054063 look for the system.web section under the root configuration node
use Element to get the root system.web. DescendantsAndSelf can return multiple
2019-11-05 11:52:48 +01:00
Jan Skovgaard 8dd92bc720 NuCache dashboard: Add translation keys (#6867) 2019-11-05 11:46:55 +01:00
Bjarke Berg 030b7d1e52 Merge remote-tracking branch 'origin/v8/feature/mb-embed-handle-tours-to-not-expect-the-app-plugins-folder' into netcore/feature/mb_embed 2019-11-05 11:46:44 +01:00
Bjarke Berg 219da2a427 Created empty infrastructure project 2019-11-05 11:31:29 +01:00
Jan Skovgaard fd649ea0e2 Languages: Add missing "none" translation (#6865) 2019-11-05 10:27:27 +01:00
Jan Skovgaard 1759813795 Examine management dashboard: Add missing translations (#6866) 2019-11-05 10:20:11 +01:00
Bjarke Berg b4e98286f5 Moved mapping, and abstractions for migrations 2019-11-05 10:19:13 +01:00
Bjarke Berg e37fdea574 bump version and remove unused references 2019-11-05 09:39:16 +01:00
Bjarke Berg 41486c7ed9 AB3613 - Only enumerate the folder if it exists 2019-11-05 09:35:57 +01:00
Bjarke Berg 9dfa3b55a6 MB need to know abstractions 2019-11-05 09:07:18 +01:00
Bjarke Berg 1732fad780 Merge remote-tracking branch 'origin/v8/feature/mb-embed' into netcore/feature/mb_embed 2019-11-05 07:54:49 +01:00
Shannon f7e8a53922 Revert "Gets entity repository to be able to return a mix of object types"
This reverts commit fff3d2648f.
2019-11-05 15:53:50 +11:00
Shannon 602acce8f4 Gets entity repository to be able to return a mix of object types 2019-11-05 15:50:49 +11:00
Shannon fff3d2648f Gets entity repository to be able to return a mix of object types 2019-11-05 15:05:51 +11:00
Shannon 412eadd9a3 Changes namespace for media tracking migrations to 8.6 2019-11-05 10:48:23 +11:00
Shannon dcba53033c Changes namespace for media tracking migrations to 8.6 2019-11-05 10:30:38 +11:00
Shannon 5dde88149d Merge branch 'v8/dev' into v8/feature/media-tracking 2019-11-05 10:28:34 +11:00
Bjarke Berg fc2fc18a26 Moved filesytem abstractions + removed resharper warnings 2019-11-04 19:22:17 +01:00
Bjarke Berg 88e57277fa Bump version to 8.4.0 2019-11-04 12:58:08 +01:00
Bjarke Berg e77eb74655 post cherry pick fix 2019-11-04 11:54:19 +01:00
Shannon 5728823625 Fixes tests - Nucache tests were not disposing the snapshot service so was binding to all events!! renames the test snapshot service to avoid confusion 2019-11-04 11:43:29 +01:00
Shannon 5125772de5 ensures nucache table isn't rebuilt when adding a new lang 2019-11-04 11:43:19 +01:00
Shannon 58f50be337 simplifies lang refresher a bit 2019-11-04 11:43:07 +01:00
Shannon 22de853dee ensures the domain cache is totally refreshed when changing langs 2019-11-04 11:42:58 +01:00
Shannon 37fce725ff Updates UI to allow updating a culture for a language and warn the user if they are changing it, updates the controller to be able to udpate a culture on a lang 2019-11-04 11:42:46 +01:00
Shannon a7eb693053 updates logic for cache refreshers for languages to deal with updating nucache and examine 2019-11-04 11:40:25 +01:00
Shannon 73fc648718 Adds logic to ensure you can't change to a culture that is already assigned + test 2019-11-04 11:40:17 +01:00
Rasmus John Pedersen 640f042acf Disallow deleting "Sensitive data" user group 2019-11-04 11:37:50 +01:00
Rasmus John Pedersen 6b318207c7 Disable rename alias of system user groups 2019-11-04 11:37:27 +01:00
Bjarke Berg 501f9495a9 Bumb version to 8.3 2019-11-04 11:30:52 +01:00
Ronald Barendse 17c7f5c05f Mark Nested Content PVCs as default 2019-11-01 22:56:47 +01:00
Sebastiaan Janssen 4e908e9dd1 Update 1_Bug.md 2019-11-01 15:23:53 +01:00
Kenn Jacobsen d3d8b1bd68 Ensure that listview status messages are vertically centered 2019-11-01 15:06:00 +01:00
Ronald Barendse b0d834668d Fix search not skipping results 2019-11-01 10:50:12 +01:00
Mike 88af496f29 Accessibilty improvement to media picker (#6805) 2019-11-01 10:17:28 +01:00
Andy Butland e934dbd054 Updated validation message comparisons with default messages to use invariant comparison. 2019-11-01 09:38:41 +01:00
Shannon d1ea46ff71 fixes null ref check and returning the correct deserialized val, adds comments 2019-11-01 14:45:05 +11:00
Shannon 717c185e45 Manually merges prev changes to nested content from 6768 and 6826 and changes how the prop values are iterated 2019-11-01 14:22:49 +11:00
Shannon 595b36c5df Merge remote-tracking branch 'origin/v8/dev' into v8/feature/media-tracking
# Conflicts:
#	src/Umbraco.Web/PropertyEditors/NestedContentPropertyEditor.cs
2019-11-01 13:27:13 +11:00
Shannon 065e3c1ba3 removes the MB package 2019-11-01 11:33:15 +11:00
Anders Bjerner c47ea58d10 Angular API documentation: Adds styling for <code> elements 2019-10-31 20:03:56 +01:00
Kenn Jacobsen efd0c0cf56 Evenly distribute link URL and anchor inputs in linkpicker 2019-10-31 20:03:03 +01:00
Marc Goodson a873c9188f Allow querystring parameters to set IsElementType checkbox on create document type route (#6779)
* Allow query string parameters sent to create document type route 'set' the default checkboxes for either Is an element type or Allow varying by culture

* allow isElement and AllowVaryByCulture to be set in infinite editor

not sure where this is used, but in theory this might be useful to be wired up too?

* Release the camels!

update the model properties to follow camelcase, ignoring the existing notemplate that doesn't!!
2019-10-31 16:20:02 +01:00
Poornima Nayar b2e5d64d6e Better exception handling for templates when they exceed 255 ch… (#6649) 2019-10-31 15:54:14 +01:00
Kenn Jacobsen f2d7a25e0f Make macro partial view mandatory 2019-10-31 15:52:48 +01:00
Poornima Nayar 5db47ad546 Buttons on the healthcheck dashboard made more consistent (#6667) 2019-10-31 15:35:56 +01:00
Rachel Breeze ce0833719b Fix for #6315 where the loading banner continues to display if there is no current editor state 2019-10-31 15:15:37 +01:00
Steve Megson 486dd0b8ea PublishedSnapshotService.OnMemberRefreshedEntity stores data as published rather than edited 2019-10-31 11:39:52 +00:00
Bjarke Berg 34d9e0cd09 Merge branch 'v8/dev' into v8/feature/mb-embed 2019-10-31 12:33:01 +01:00
Bjarke Berg bf16a5936e Merge remote-tracking branch 'origin/v8/feature/mb-embed' into v8/feature/mb-embed 2019-10-31 12:32:51 +01:00
Bjarke Berg 5c82968829 Merge remote-tracking branch 'origin/v8/dev' into v8/dev 2019-10-31 12:32:12 +01:00
Warren Buckley ecc9e2665c Merge pull request #6823 from umbraco/v8/feature/6816-property-actions
PropertyActions + Copy all entries for Nested Content
2019-10-31 11:22:47 +00:00
Warren Buckley 2842c65ee6 Merge pull request #6948 from umbraco/v8/feature/0000-DataType-DeleteWarning-styling
Styling for the DataType Delete Dialog
2019-10-31 11:21:47 +00:00
Niels Lyngsø 9e4b9e6431 changed span to div 2019-10-31 11:53:30 +01:00
Bjarke Berg 851a4e0d56 Fix Umbraco.Web.UI.csproj after auto merge 2019-10-31 11:49:43 +01:00
Bjarke Berg ad6343719b Merge branch 'v8/8.2' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2019-10-31 11:48:53 +01:00
Bjarke Berg 0aa1eb84b7 Merge remote-tracking branch 'origin/v8/8.2' into v8/8.2 2019-10-31 11:39:30 +01:00
Bjarke Berg b8f417d462 Merge pull request #7002 from umbraco/v8/bugfix/AB3441-nucache-race-condition
Fixes a race condition with nucache
2019-10-31 11:39:10 +01:00
Niels Lyngsø 5ccb10d092 Fix for Umb Request Helper unit test. (#7008)
Fix for Umb Request Helper unit test.
2019-10-31 11:11:18 +01:00
Niels Lyngsø 6c21279216 require because we need underscore to be available... 2019-10-31 11:03:19 +01:00
Bjarke Berg ef38fc1a6d Bump version to 8.2.2 2019-10-31 10:02:08 +01:00
Kenn Jacobsen 6690c2ad27 Fix broken RTEs when reordering grid rows 2019-10-31 09:39:10 +01:00
Claus 77077c8000 Merge pull request #6954 from kjac/v8/fix/grid-rte-reorder
V8: Fix broken grid when reordering grid rows that contain RTE's
2019-10-31 09:33:58 +01:00
Shannon 68db41fe93 Ensures that when there is no cache file, or if a cache file is empty, on startup any call to SetAllFastSorted was not ensuring the local db cache file was updated if the data was loaded from the database. 2019-10-31 18:58:07 +11:00
Kenn Jacobsen 0819f1a917 Mark the current variant as dirty when its name changes 2019-10-31 08:08:08 +01:00
Kenn Jacobsen b22dba2062 Use warning button style when opening doctype in infinite editing with unsaved changes 2019-10-31 08:00:20 +01:00
Shannon bf37bbf4fe oops fixes the log output 2019-10-31 16:34:30 +11:00
Shannon 40e656de46 notes 2019-10-31 16:27:34 +11:00
Shannon aff4814e0b Ensures that PublishedSnapshotService cannot close the local cache files after they are created but before they are populated 2019-10-31 16:06:43 +11:00
Shannon c682bbcaf1 Adds notes and better logging to PublishedSnapshotService, fixes log output from HealthCheckNotifier, changes initial delay time of scheduled task to be longer. 2019-10-31 15:45:57 +11:00
Shannon Deminick 1dc3a023c4 Merge pull request #6824 from bielu/v8/feature/InterfaceForContentPopulators
Create Interface for Member and Content Index to use in Populators
2019-10-31 14:16:41 +11:00
Shannon Deminick ea104e579e Merge pull request #6936 from umbraco/AB3325-AB3326-AB3327-AB3328-AB3329-AB3330-AB3331-Media-Tracking-References
media tracking references
2019-10-31 14:13:45 +11:00
Shannon 3d66c201c2 Adds safety check of Udi.TryParse 2019-10-31 14:08:38 +11:00
Rasmus John Pedersen 26f1e77813 Resolve media paths from data editors
# Conflicts:
#	src/Umbraco.Core/Persistence/Factories/ContentBaseFactory.cs
#	src/Umbraco.Core/Persistence/Repositories/Implement/MediaRepository.cs
2019-10-30 21:58:54 +01:00
Rasmus John Pedersen 0e0f6e6678 Ensure media path stored is the same as stored in the property 2019-10-30 21:58:54 +01:00
Dennis Meinert Pedersen 4de4656f96 Avoid breadcrumbs in mini list are misaligned 2019-10-30 20:47:03 +01:00
BatJan bf62bfa17f Remove unused dashboards 2019-10-30 19:18:17 +00:00
BatJan e60abea32c Remove outdated media dashboards 2019-10-30 19:16:28 +00:00
Kenn Jacobsen da3a971906 Do not show breadcrumb for immediate children in the recycle bin 2019-10-30 18:57:33 +01:00
Søren Kottal cd4002b165 open templates from umb-grid-selector in infinite editor 2019-10-30 15:32:06 +00:00
Søren Kottal eb81aae3e9 remove text saying open button on content picker is in preview 2019-10-30 15:16:10 +00:00
Søren Kottal 23c0c502d3 css changes to make the previewer nav look like the top nav in v8 (#6875) 2019-10-30 15:06:50 +00:00
Matt Brailsford eebc06c1a3 Sets the appState current node when executing a menu action (#6874) 2019-10-30 14:53:24 +00:00
Kevin Jump e113b56ce1 log warning if siteUri is null, (#6868) 2019-10-30 14:36:15 +00:00
Bjarke Berg 10fd0bd013 Post merge stuff 2019-10-30 15:28:15 +01:00
Bjarke Berg eade92e803 Merge remote-tracking branch 'origin/v8/dev' into vx/feature/unicore
# Conflicts:
#	src/Umbraco.Core/ObjectExtensions.cs
#	src/Umbraco.Core/Persistence/Repositories/Implement/ContentTypeRepositoryBase.cs
#	src/Umbraco.Core/StringExtensions.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
2019-10-30 13:35:48 +01:00
Niels Lyngsø 946fb38924 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/6816-property-actions
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
#	src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
2019-10-30 13:24:30 +01:00
Steve Megson 38d2419520 Media uploader in RTE doesn't select uploaded image
(cherry picked from commit d38f275467)
2019-10-30 13:19:14 +01:00
Steve Megson d38f275467 Media uploader in RTE doesn't select uploaded image 2019-10-30 13:15:32 +01:00
Niels Lyngsø bef9696628 Show error before submitting the form, so editors know in advance that they have reached the limit. 2019-10-30 12:08:17 +01:00
Kenn Jacobsen f172760f96 Editors should always be allowed to delete their own content (#6799)
* Users should always be allowed to delete their own content

* Changed comment to be more precise

(cherry picked from commit 8a02b4f587)
2019-10-30 11:33:31 +01:00
Kenn Jacobsen ff36cf11d1 Allow file upload and image cropper properties to be optional 2019-10-30 11:24:13 +01:00
Kenn Jacobsen 8a02b4f587 Editors should always be allowed to delete their own content (#6799)
* Users should always be allowed to delete their own content

* Changed comment to be more precise
2019-10-30 11:24:08 +01:00
Rachel Breeze 1bac8141f5 V8: Accessibility Changes For umbEditorHeader Directive (#6315)
* Umb editor control contains a11y support for the media section

* Started work to align to the settings section

* A11Y Amends for umbraco header directive specifically to support document type

* Fixed error when creating a new user

* This change makes sure that if a relationship type is edited, followed by a create, the title of the page is reset, a seperate PR will address the a11y requirements for this controller

* Umbraco Header directive now uses "create" rather than create item

* Made the ediorFor property more generic

* Made the ediorFor property more generic
Umbraco Header directive now uses "create" rather than create item

* Edit and create template now aligns to the more a11y header directive

* Added support for a11y name and title on settings->scripts

* Added support for a11y name and title on settings->stylesheets

* Added support for a11y name and title on settings->partial views

* Added support for a11y name and title on settings->partial view macros

* Added support for a11y name and title when editing members

* Added support for a11y name and title when editing member groups

* Updated to ignore package-lock

* Added support for a11y name and title when editing media types

* Added the ability to prevent the title being set via the umbeditorheader directive, currently for use when the content editor is editing media via a content page

* No longer sets the page title by default

* No longer sets the page title by default

* Added support for a11y name and title when editing members

* Added support for a11y name and title when editing dictionary items

* Removed bug where by screen reader was reading "blank" when the name-locked value was set to true or there was no message/ name to display

* Fixing redering issues following refactor

* Don't ignore package-lock.json

* Merged languages

* Fix up merge errors
2019-10-30 10:14:47 +00:00
Daniël Knippers 965d6cbeb7 Added enum extension methods + tests for SetFlag and UnsetFlag. 2019-10-30 11:04:53 +01:00
Kenn Jacobsen abffe537c3 Make multiple media property editor same width as other property editors 2019-10-30 11:00:19 +01:00
Niels Lyngsø c86b63f7fd Changed validation for NestedContent, allow for pasting many items, but do not allow to save them. 2019-10-30 10:49:34 +01:00
Niels Lyngsø 0e308e1ad0 fixing umb-mediapicker-upload template to work with new CSS for umb-control-group 2019-10-30 08:58:47 +01:00
Kenn Jacobsen 06ca4294b1 Styling updates to image cropper and upload property editors 2019-10-30 08:52:23 +01:00
Bjarke Berg f305dd45cb AB3328 - Fixed two bugs - One if links was absolute and not references, and one if the value was empty string. 2019-10-30 08:50:15 +01:00
Sebastiaan Janssen 06e2146b54 Merge branch 'v8/dev' into pr/6823
# Conflicts:
#	src/Umbraco.Web.UI.Client/gulp/tasks/watchTask.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
2019-10-30 07:28:00 +01:00
Shannon 12cb370578 Reduces statics, reduces code duplication for iterating over properties in the NC prop editor 2019-10-30 17:14:04 +11:00
Shannon Deminick 9e3d2c9ed9 Merge pull request #6946 from umbraco/v8/feature/AB3389-MB-Move_js_from_app_plugins
Move the embedded Modelsbuilder files away from App_Plugins
2019-10-30 15:35:39 +11:00
Jan Skovgaard e90670425e Grid layout config: Replace the old checkbox with the umb-checbox directive (#6859) 2019-10-29 22:48:49 +01:00
Jan Skovgaard c7af35937c Log viewer: Filter toggle (#6863) 2019-10-29 22:44:22 +01:00
Jan Skovgaard c563d617fb Log viewer: Localize texts and titles (#6861) 2019-10-29 22:11:08 +01:00
Anders Bjerner 82d6b14eaa Improved the editor service documentation a bit 2019-10-29 22:03:03 +01:00
Jan Skovgaard 6beb507033 Confirm uninstall package: Change old checkbox to use umb-checkbox (#6858) 2019-10-29 21:55:29 +01:00
Sebastiaan Janssen 3abe4f6a52 Removed the extra padding on the left on the overlay header (#6848) 2019-10-29 21:53:19 +01:00
SANDIP PALIT 5f83f199cb Fixed Grammatical errors (#6857) 2019-10-29 21:52:45 +01:00
Kenn Jacobsen 891b3419ee Fix broken RTEs when reordering grid rows 2019-10-29 21:48:39 +01:00
Kenn Jacobsen 150cd07ccf V8: Even out the padding in dialog footers (#6800) 2019-10-29 21:43:18 +01:00
Jeavon 4be1c3b4c4 Add UmbracoVirtualNodeByUdiRouteHandler (#6796)
* Add UmbracoVirtualNodeByUdiRouteHandler

* Parameter must be a GuidUdi
2019-10-29 21:38:29 +01:00
Steve Megson 8463f1db08 Cache lookup of macro by alias 2019-10-29 21:34:25 +01:00
Steve Megson 0554b47864 Rollback dropdown - convert version dates to local 2019-10-29 21:31:33 +01:00
Poornima Nayar 6c13e4a762 Create package form missing "Include all child nodes" label by… (#6766) 2019-10-29 21:30:09 +01:00
Poornima Nayar 227a0ec0d8 Changed button style to danger, change confirm dialog button to danger syle and removed duplicate button-style attribute on the enable button 2019-10-29 21:28:37 +01:00
Poornima Nayar 1371120e7c Content Blueprint save button style change 2019-10-29 21:27:36 +01:00
nfJakobsen 63060a88c6 added apostrophe so Installer becomes Installér 2019-10-29 21:07:09 +01:00
Poornima Nayar 86ce1d9311 Notifications span full width on user group save or delete 2019-10-29 21:05:52 +01:00
Poornima Nayar 46ce5f7ca9 Change the style of the confirm button on delete media (#6725) 2019-10-29 21:00:28 +01:00
Poornima Nayar 978ab88b75 Change the confirm button style on delete dictionary item 2019-10-29 20:58:01 +01:00
Poornima Nayar a1a709342d Changes to delete saved searches overlay 2019-10-29 20:57:00 +01:00
Poornima Nayar f0ea76a3ce Move all inline styles in the logviewer search screen to a stylesheet 2019-10-29 20:55:59 +01:00
Bjarne Fyrstenborg 1de9ec3259 Use umb-checkbox in doctype collection (#6719) 2019-10-29 20:53:03 +01:00
Harry Gordon 0e91bb647d Asset service load now throws for unknown assets. Additionally, now allows optional default asset type to handle unknown assets. 2019-10-29 20:43:50 +01:00
Kenn Jacobsen 4ee6fdd642 Hide the content picker "max items" help text when it is configured in single picker mode 2019-10-29 20:39:38 +01:00
kfc 92c17a853f Removed *.security.js from karma.conf.js 2019-10-29 20:36:03 +01:00
Kenn Jacobsen 15395aaaca Re-apply input focus to the last focused element when closing dialogs 2019-10-29 20:28:45 +01:00
Andy Butland 66b709653a Added custom FormatValidator for the MultipleTextStringPropertyEditor to validate each text string individually against the configured regular expression. 2019-10-29 20:22:08 +01:00
Poornima Nayar c314ab1e0b Clean up of the published cache status dashboard (#6666) 2019-10-29 19:57:26 +01:00
Poornima Nayar 40358ff6fb Tweak the examine management dashboard (#6665) 2019-10-29 19:51:39 +01:00
Poornima Nayar 6a90a8755b Update the create dialog on Relation to use umb-radiobutton 2019-10-29 19:46:21 +01:00
Sebastiaan Janssen 0d7caa0f80 Clean up of change password section in member details (#6643)
* Clean up of change password section in member details

* Added missing attributes to umb-checkbox

* More tweaks based on comments

* Removed href from the button
2019-10-29 19:42:13 +01:00
Ronald Barendse 7f0a077f58 Add SecurityCodeScan static code analyzer (#6636)
* Added SecurityCodeScan to all projects

* Enable analysing of content items
2019-10-29 19:37:15 +01:00
Steve Megson 3a111eceb3 Set focus to RTE when clicking property label (#6609) 2019-10-29 19:15:22 +01:00
Steve Megson 990d14e791 Set focus to Umb-Tags when clicking property label (#6608) 2019-10-29 19:12:06 +01:00
Carole Rennie Logan 99272a48f3 Copy to clipboard in query builder (#6584) 2019-10-29 19:07:40 +01:00
Bjarne Fyrstenborg f018b32f99 Use umb-checkbox in template section (#6531) 2019-10-29 18:25:08 +01:00
Anders Bjerner bfdbc4cb8b Introduced confirm and confirmDelete functions in the Angular overlay service (#6526) 2019-10-29 18:18:43 +01:00
Niels Lyngsø 4cf42bbb68 Added specific styling to the DataType Delete dialog for better looks and overview 2019-10-29 17:38:02 +01:00
Niels Lyngsø 5641a6cd35 correcting minor typo in gulp watch script 2019-10-29 17:19:15 +01:00
Sebastiaan Janssen 77fd959166 Fix bad merge 2019-10-29 16:31:31 +01:00
Jeavon 76bbf01cbe Changed field to a List as suggested in review 2019-10-29 15:25:10 +00:00
Bjarke Berg 1436441f78 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/mb-embed 2019-10-29 16:09:43 +01:00
Niels Lyngsø 3d542acc42 Revert-style-hack that ensures that we only show property-actions on properties that are directly begin hovered 2019-10-29 15:24:23 +01:00
Bjarke Berg 1e34a649bf Merge pull request #6935 from umbraco/v8/feature/AB3289-MB-allow-legacy
Allow legacy Models Builder to continue to work if detected
2019-10-29 15:12:19 +01:00
Niels Lyngsø 0c29d57ef9 ensured that all entry aliases meets the allowed aliases + refactored the test method 2019-10-29 14:54:31 +01:00
Bjarke Berg d82918d39c Merge branch 'v8/feature/AB3289-MB-allow-legacy' into v8/feature/AB3389-MB-Move_js_from_app_plugins 2019-10-29 14:44:10 +01:00
Bjarke Berg a00824484d Revert "AB3289 - Do not use the nuget package as default"
This reverts commit 7d08040f
2019-10-29 14:43:43 +01:00
Bjarke Berg da984f185e Merge branch 'v8/feature/AB3289-MB-allow-legacy' into v8/feature/AB3389-MB-Move_js_from_app_plugins 2019-10-29 14:30:46 +01:00
Bjarke Berg 7d08040f34 AB3289 - Do not use the nuget package as default 2019-10-29 14:29:58 +01:00
Bjarke Berg 17e28b6840 AB3389 - Move the stuff from App_Plugins/ModelsBuilder into Umbraco.Web.UI.Client and handle dashboard as code. 2019-10-29 14:28:54 +01:00
Jeavon 04004876b1 Merge branch 'v8/dev' into v8/feature/search-media-files 2019-10-29 12:13:09 +00:00
Niels Lyngsø 338c4b7bcf Set notification to error + removed console.logs 2019-10-29 12:50:47 +01:00
Kenn Jacobsen 546a948d0b Protect "system media types" from alias changes and deletion 2019-10-29 12:13:42 +01:00
Bjarke Berg fd9d2038ed Merge pull request #6917 from umbraco/v8/feature/AB3348-MB-lite-cleanup
Code cleanup for MB embed
2019-10-29 11:40:04 +01:00
Kenn Jacobsen 3dd7e530ba Use "not allowed" cursor for locked type aliases 2019-10-29 11:38:32 +01:00
Niels Lyngsø 3a8123f00c Update src/Umbraco.Web.UI.Client/src/common/directives/components/property/umbproperty.directive.js
Removed comment

Co-Authored-By: Warren Buckley <warren@umbraco.com>
2019-10-29 11:26:35 +01:00
Bjarke Berg 4862ae03ae AB3289 - Fixed broken tests 2019-10-29 11:19:32 +01:00
Bjarke Berg eb1a43b6a0 Merge remote-tracking branch 'origin/v8/feature/AB3348-MB-lite-cleanup' into v8/feature/AB3289-MB-allow-legacy
# Conflicts:
#	src/Umbraco.ModelsBuilder.Embedded/BackOffice/DashboardReport.cs
#	src/Umbraco.ModelsBuilder.Embedded/Building/Builder.cs
#	src/Umbraco.ModelsBuilder.Embedded/Building/ModelsGenerator.cs
#	src/Umbraco.ModelsBuilder.Embedded/Building/TextBuilder.cs
#	src/Umbraco.ModelsBuilder.Embedded/ModelsGenerationError.cs
#	src/Umbraco.ModelsBuilder.Embedded/OutOfDateModelsStatus.cs
#	src/Umbraco.ModelsBuilder.Embedded/PureLiveModelFactory.cs
#	src/Umbraco.ModelsBuilder.Embedded/UmbracoServices.cs
2019-10-29 11:15:45 +01:00
Niels Lyngsø 312a069531 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/6816-property-actions
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/less/main.less
2019-10-29 11:08:06 +01:00
Bjarke Berg 63cf79a758 AB3348 - Clean up unused usings, removed unused method... 2019-10-29 11:01:44 +01:00
Warren Buckley bd4e66e0c6 Merge pull request #6664 from umbraco/v8/bug/6663-lang-variant-deletion
Language variant deletion
2019-10-29 09:43:29 +00:00
Bjarke Berg 0f9634fe09 Merge remote-tracking branch 'origin/v8/feature/media-tracking' into AB3325-AB3326-AB3327-AB3328-AB3329-AB3330-AB3331-Media-Tracking-References 2019-10-29 10:33:41 +01:00
Bjarke Berg df1f0bd175 Merge pull request #6843 from umbraco/v8/feature/AB2462-media-tracking
Media tracking prototype
2019-10-29 10:32:00 +01:00
Warren Buckley 38b96beb0d Merge branch 'v8/dev' into v8/bug/6663-lang-variant-deletion
# Conflicts:
#	src/Umbraco.Web/Cache/LanguageCacheRefresher.cs
2019-10-29 09:16:52 +00:00
Bjarke Berg da698a9a85 AB2462 - Code review fixes 2019-10-29 09:57:32 +01:00
Niels Lyngsø 1f954fb9be sligthly less bottom border on contextmenu. 2019-10-29 09:55:59 +01:00
Bjarke Berg 34a0210d9d AB3329 - Handle empty strings from nested content 2019-10-29 08:53:00 +01:00
Bjarke Berg 8d4de3de55 AB3326 - Handle empty strings from nested content 2019-10-29 08:52:47 +01:00
Bjarke Berg 5ddc961df3 AB3327 - Nested Content references 2019-10-29 08:52:02 +01:00
Shannon d69356cc12 Adds unit test and couple methods to relation service and improves the relation service lookups for entities. 2019-10-29 13:29:22 +11:00
Shannon df2a65424e notes 2019-10-29 12:16:56 +11:00
Shannon 33cd7f6a98 oops, added the internal visible to attribute to the wrong file 2019-10-29 11:55:16 +11:00
Shannon 0aa8711988 Ensures that the MB version is added to the models hash to ensure that if the MB version changes, the purelive models are regenerated 2019-10-29 11:38:06 +11:00
Shannon 2c9939e516 restores the MB enable flag 2019-10-29 11:02:18 +11:00
Kenn Jacobsen 9c2360ef43 Add autofocus to treepicker search box 2019-10-28 22:51:30 +01:00
Kenn Jacobsen c089ecf7b9 Retain picked item state when navigating the treepicker 2019-10-28 22:31:17 +01:00
Kenn Jacobsen a7873fc01c Trigger an RTE resize after inserting images 2019-10-28 20:30:18 +01:00
Tom Pipe 1614dc6e34 V8: Health check http header case sensitivity (#6753) 2019-10-28 18:04:20 +01:00
Niels Lyngsø 11560aa138 sligthly darker line in the bottom to enhance the depth 2019-10-28 17:21:58 +01:00
Niels Lyngsø 1c5d8efe77 corrected variable name for property-action 2019-10-28 17:18:08 +01:00
Niels Lyngsø ed909e9f93 updated look + ability to disable a property-action 2019-10-28 15:55:02 +01:00
Shannon cd89308711 Ensures embedded MB is enabled on the UI proj, disables embedded MB if the legacy MB is detected 2019-10-29 01:14:10 +11:00
Shannon 3b6abbb936 Renames project: Umbraco.ModelsBuilder.Embedded and namespaces since we need a different assembly, updates nuspec, changes file path of MB app_plugins 2019-10-29 00:25:03 +11:00
Bjarke Berg 0aaee0baba AB3328 - Multi Url Picker references 2019-10-28 14:11:59 +01:00
Bjarke Berg c8b189d53d AB3326 - Made MediaPickerPropertyValueEditor nested and internal and handle null values 2019-10-28 13:58:23 +01:00
Bjarke Berg f2e02ea05e AB3329 - Added Content picker references 2019-10-28 13:57:55 +01:00
Bjarke Berg 35ebc13774 AB3331 - Added MNTP references 2019-10-28 13:25:05 +01:00
Bjarke Berg 80643ac6ad AB3325 - Added Grid references 2019-10-28 13:11:33 +01:00
Bjarke Berg c52adf76f7 AB3226 - Added MediaPicker references 2019-10-28 12:56:54 +01:00
Bjarke Berg 5699dc32b7 AB2462 - Find the relation type from the entity type on the udi 2019-10-28 12:53:37 +01:00
Bjarke Berg 21290fd134 AB2462 - Fixed issue with multiple references to the same item 2019-10-28 12:53:08 +01:00
Shannon c10ad86c43 more cleanup 2019-10-28 22:23:06 +11:00
Shannon 35192eefe5 cleanup 2019-10-28 22:12:08 +11:00
Shannon d7ca1933cd fixes tests 2019-10-28 21:59:08 +11:00
Shannon adbd2f0cca Changes namespaces, removes legacy PureLiveAssemblyAttribute 2019-10-28 21:53:32 +11:00
Niels Lyngsø 5dd7eda2ab Revert change. 2019-10-28 10:25:51 +01:00
Niels Lyngsø 0868b2e1b6 Revert "Everything was squished but now it is not."
This reverts commit 29de4fd63f.
2019-10-28 10:19:40 +01:00
Niels Lyngsø c6ed307e62 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/6816-property-actions
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
2019-10-28 10:00:05 +01:00
Shannon 51f89410ce notes 2019-10-28 19:35:18 +11:00
Shannon 6368a0a8d6 Fixes circular ref, last static gone, slight perf improvement in module 2019-10-28 19:08:42 +11:00
Shannon 43cd1268ca Moves classes/namespaces, reduces statics, reduces usages of "Current", imports some unit tests from orig MB. 2019-10-28 18:02:52 +11:00
BatJan ba1fc56c94 Change <a> to <button> 2019-10-27 21:52:11 +01:00
BatJan a98188a88c Add aria-hidden and change <a> to <button> 2019-10-27 21:42:25 +01:00
Kenn Jacobsen f6aee731fc Make member types searchable 2019-10-27 21:35:26 +01:00
BatJan 813eb9fed1 Add table class to improve the look of the column overview 2019-10-27 21:12:38 +01:00
Matthew-Wise 4153cfe78f WIP/Issue - Improving accessibility of the three dot tree options button (#6561)
* Improves accessability of the three dot tree options button

* Updated list view headers styling to have the link/hand cursor visible only if the header is sortable (and hence clicking has an effect)

* Allows members to be ordered by additional system fields (#6575)

* Fix ContentType.Alias matching in PublishedContentExtensions an… (#6577)

* Fixes an error in #6538 by moving the colon character to the sr-only span

* V8: Move misplaced colon in language selector (#6692)

* V8: It should be possible to disallow all types at content root (#6580)

* Pick macro parameters in an infinite editor like content type properties (#6586)

* Reload node children after publishing with descendants

* Correct URL decoding of macro partial view names (#6592)

* Fix semantics for list views (#6595)

* fixes test

* fixing tests

* Improved menu context
2019-10-27 14:07:06 +00:00
Poornima Nayar 43692c81e4 Removed href from the button 2019-10-27 10:06:06 +00:00
Søren Kottal 1a703dcee8 Aligns the padding of .umb-overlay-container with umb-overlay-header 2019-10-27 10:58:52 +01:00
Poornima Nayar 68687080ab More tweaks based on comments 2019-10-27 09:48:24 +00:00
Niels Lyngsø 0a91e384ae further fixes merge conflict with #6699 2019-10-25 16:03:43 +02:00
Anders Bjerner a4b4014d6c Improved a few Danish translations for the Users section 2019-10-25 15:55:20 +02:00
Kenn Jacobsen 2a016a9ad0 Do not allow copying items in the recycle bin 2019-10-25 15:53:29 +02:00
Kenn Jacobsen c66676517f Apply trashed state to deleted content items with list view enabled 2019-10-25 15:52:11 +02:00
Kenn Jacobsen 9b00bb824c Make the listview delete dialog warn about irreversible deletions 2019-10-25 15:50:52 +02:00
Kenn Jacobsen 0f6e8dc9ff Fix the styling for the publish/unpublish dialogs in listviews (#6854) 2019-10-25 15:47:05 +02:00
Kenn Jacobsen c4acf124b9 Automatically select all languages when selecting a mandatory language in the listview unpublish dialog 2019-10-25 15:44:52 +02:00
Niels Lyngsø f4a06a628d Updated to match result from recent PR #6699 2019-10-25 15:30:39 +02:00
Niels Lyngsø 9fc52103c4 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/6816-property-actions
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/less/main.less
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
2019-10-25 15:24:01 +02:00
Bjarke Berg 9d91402aca V8: Follow guidelines from .editorconfig (#6849)
* Removed unused variable

* Align usage of C# type keywords vs Universal type names. Now we use C# keywords all over.
2019-10-25 14:16:50 +01:00
Poornima Nayar fdbef5b87d Added missing attributes to umb-checkbox 2019-10-25 14:09:29 +01:00
Jan Skovgaard ee17cb1463 Refactor labels to actually reference the proper input fields (#6838) 2019-10-25 14:53:02 +02:00
Niels Lyngsø d7ded94f98 Mobile layout for control.header + use after element for bottom border on umb-control-group, so we can use margin to space above, to allow for margin collapse for margin-bottom on controls and control-description. 2019-10-25 13:51:15 +02:00
elitsa 77f04a2efe Merge branch 'v8/dev' into Clean-up-members-reset-password 2019-10-25 13:30:57 +02:00
Poornima Nayar 4f4588561e Removed the extra padding on the left on the overlay header 2019-10-25 12:08:12 +01:00
Søren Kottal 56f33e1006 Adds nametemplates for grid editors (#6634)
* Adds nametemplates for grid editors
2019-10-25 12:35:15 +02:00
elitsa f20394556c Removed trailing newlines 2019-10-25 11:58:04 +02:00
Niels Lyngsø 548bb48f38 PropertyActions first version 2019-10-25 11:50:52 +02:00
Søren Kottal 131273bb5c V8 style preview badge (#6585)
* V8 style preview badge

* updates the preview badges in other places

* Removes umbraco logo

* changes the "click to end" icon

* Set flex-shrink to 0 on the badge end element

* adds width:1em to the svg
2019-10-25 11:37:58 +02:00
elitsa c03a2c6ed4 Merge remote-tracking branch 'origin/v8/dev' into grid-editor-name-templates 2019-10-25 11:30:18 +02:00
Niels Lyngsø 957520aca0 fix watch task for LESS 2019-10-25 10:29:57 +02:00
Shannon 1a75d99a6b fixes test 2019-10-25 16:14:44 +11:00
Shannon 70ccee302d Renames/moves some stuff and adds test to show auto relation tracking 2019-10-25 15:08:56 +11:00
Shannon 25c2eed888 Ensures the right type is tracked for links ensures relations are removed. 2019-10-25 14:33:40 +11:00
Shannon 15865d566b Implements the tracking for document/media/member repos 2019-10-25 14:17:18 +11:00
Shannon Deminick 5121df5b2e Merge pull request #6764 from Adolfi/v8/dev-umbracoapicontroller-testable
UmbracoApiController Testable
2019-10-25 10:01:16 +11:00
Kenn Jacobsen 8b18233d4e Don't YSOD when publishing if a property editor has been removed 2019-10-24 22:21:19 +02:00
BatJan 20f886aaec Extend the umb-radio button directive to handle localizations 2019-10-24 22:19:09 +02:00
Jan Skovgaard 2b22350d56 Media picker: Fix semantics, missing dictionary items and hide… (#6707) 2019-10-24 22:12:54 +02:00
Kenn Jacobsen 759bba93b8 Limit the number of tabbable elements in tree nodes (#6834) 2019-10-24 22:00:11 +02:00
Kenn Jacobsen 9310638a7f Set focus on the name field when editing, also for existing items (#6833) 2019-10-24 21:58:35 +02:00
Kenn Jacobsen ce6a217577 Performance boost for Nested Content: Don't load all content types all the time. 2019-10-24 21:56:47 +02:00
Kenn Jacobsen d3344e2cd4 V8: Make "add property" shortcut work with multiple groups (#6821) 2019-10-24 21:54:34 +02:00
Rasmus Olofsson 96a2af2653 Add Swedish translations for prompt 2019-10-24 21:50:06 +02:00
Kenn Jacobsen 551a54a9d6 V8: Make it possible to open tabs with the keyboard (#6778) 2019-10-24 21:43:26 +02:00
Kenn Jacobsen 0a5594f56a Remove "double tabbing" for datatype picker 2019-10-24 21:41:58 +02:00
Kenn Jacobsen 057839a402 Do not allow deleting inherited content type groups 2019-10-24 21:40:15 +02:00
Kenn Jacobsen 58275366f2 Submit the datetime picker on enter (when entering time) 2019-10-24 21:39:01 +02:00
BatJan 5c52d6b219 Replace old checkbox markup with umb-checkbox 2019-10-24 21:32:19 +02:00
BatJan 68425fa46e Fix text alignment 2019-10-24 21:31:06 +02:00
Kenn Jacobsen bfe359bd1e Remove duplicate language labels in publish with descendants dialog 2019-10-24 21:29:50 +02:00
Kenn Jacobsen 62ff2c4d35 Harmonize content save/publish dialogs with mandatory languages 2019-10-24 21:27:32 +02:00
Kenn Jacobsen 01b9a09c09 V8: Make Nested Content resilient to missing property editors (#6768) 2019-10-24 21:25:15 +02:00
Kenn Jacobsen 847e82868a Make sure lazy loaded properties do not break the taborder when creating content types 2019-10-24 21:10:59 +02:00
Kenn Jacobsen c6ab73b806 Style the umb-overlay header and footer like the rest of the overlays 2019-10-24 21:09:51 +02:00
Kenn Jacobsen b46d6718c4 Use the member type icon in the members section 2019-10-24 21:05:13 +02:00
Kenn Jacobsen df8347d5f4 V8: General UX overhaul of the media picker in the RTE (#6722) 2019-10-24 21:01:01 +02:00
Kenn Jacobsen b1037786ca V8: Use member type icon in member pickers (#6696) 2019-10-24 20:46:01 +02:00
Kenn Jacobsen 6a8d3141c9 V8: Fix sorting of the immediate children of editor start nodes (#6686) 2019-10-24 20:43:54 +02:00
Kenn Jacobsen d312dc5f92 Show the "remove" action for assigned user groups when editing users 2019-10-24 17:25:01 +02:00
Kenn Jacobsen 0c1b56e671 Fix section and user assignment to groups 2019-10-24 17:24:09 +02:00
Kenn Jacobsen b0d7bdaa77 V8: Filter out invalid selections in the MNTP "Allowed items" picker (#6641) 2019-10-24 17:21:38 +02:00
Sebastiaan Janssen f2dfdd6086 Merge pull request #6780 from kjac/v8/fix/sections-tray-keyboard-navigation
V8: Fix keyboard through the sections tray on small screens
2019-10-24 17:10:54 +02:00
Kenn Jacobsen b6a1a4ebb1 Ensure that the active state is clearly visible for property "edit" and "delete" icons 2019-10-24 17:09:30 +02:00
Kenn Jacobsen 04b736870c Style and translate the composition removal confirmation dialog (#6769) 2019-10-24 17:06:41 +02:00
Mario Lopez 4bc4b6946e #5294 Full path for DocType on Nested Content configuration (#5430) 2019-10-24 16:49:04 +02:00
Shannon f3f242b416 fixes test 2019-10-24 22:39:12 +11:00
Shannon f656f7d0a0 Fixes relations editor and loading in relations, allows creating relations without object types, fixes migration 2019-10-24 22:38:11 +11:00
Niels Lyngsø 2b4c35bcd8 Better label for copying all entries of nested content 2019-10-24 13:30:56 +02:00
Shannon ae64fe49be Allows relation types to not have specific object types, updates IRelation to return the actual object types for the ID references, now relations can be more flexible without being strangely tied to specific object types based on the relation type. 2019-10-24 21:32:00 +11:00
Niels Lyngsø 1f0c1602f7 fix console log 2019-10-24 11:50:43 +02:00
arkadiuszbiel ffaf12c548 Create Interface for Member and Content Index to use in Populators 2019-10-24 09:55:41 +01:00
Niels Lyngsø d68cb1f802 Copy all entries feature for nested content 2019-10-24 10:02:33 +02:00
Shannon 193892f084 Creates method to create the relations based on the property editor's returned reference but have discovered a gotcha for relations, so next step is to resolve that. 2019-10-24 16:48:21 +11:00
Shannon f513ed5476 Changes call transition from StopInitial to StopImmediate instead of terminate to ensure that all cancelation tokens are canceled and cleared 2019-10-24 14:35:30 +11:00
Shannon 52b0edf1f5 For backgroundtaskrunner, run shutdown on a threadpool thread to not block the shutdown of other IRegisteredObjects 2019-10-24 14:24:01 +11:00
Shannon Deminick dc54924b52 Merge pull request #6730 from lars-erik/pr/fix-our-tests
Pr/fix our tests
2019-10-24 13:45:41 +11:00
Callum Whyte 6301371e59 Updating references to our.umbraco.org 2019-10-23 18:07:53 +02:00
Kenn Jacobsen 0a6e9df7f4 Dim down the alias of locked/inherited properties 2019-10-23 17:49:49 +02:00
Poornima Nayar 59b9d3d473 style delete package overlay 2019-10-23 17:46:44 +02:00
Kenn Jacobsen d8f6556f3c Fix RTE fullscreen mode 2019-10-23 17:43:31 +02:00
Dave Woestenborghs e13bf327af 6671 - make the macro tree reload after a new macro partial view is created 2019-10-23 17:35:25 +02:00
Dave Woestenborghs 88f153e7a3 V8 - Make it possible to set content app badge through content… (#6706) 2019-10-23 17:31:18 +02:00
Jan Skovgaard 2b4e86b62f Add "umb-auto-focus" on media and link pickers (#6704) 2019-10-23 17:23:33 +02:00
emma burstow 3871f408de Update CONTRIBUTING.md
I know it's cheesy to update a .md for hacktoberfest but I have been dying to put some things in here and to switch some things around. Perhaps you'll disagree on the 'easiest way to build the source code' but I wanted to invert the two because I find clicking lots easier.
2019-10-23 17:21:10 +02:00
Ronald Barendse d0303f74fd Allow hash type on GenerateHash and remove obsoleted ToMd5 and ToSHA1 methods (#6679) 2019-10-23 17:19:49 +02:00
Kenn Jacobsen e3bc30c4ca Add validation to user groups when creating new users 2019-10-23 17:15:38 +02:00
Sebastiaan Janssen 72dc1c29b1 Merge pull request #6699 from emmaburstow/temp-padding-for-content-boxes
V8: Padding for umb-control-group so that it's not as squished
2019-10-23 17:03:19 +02:00
Niels Lyngsø 1056493626 ClipboardService support for copying an array/list of nodes/data 2019-10-23 16:40:59 +02:00
Niels Lyngsø e2417da2f0 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/6816-property-actions 2019-10-23 16:00:25 +02:00
Niels Lyngsø 6dbbe1bdd6 correct mistake in WatchTask of our Gulp Script 2019-10-23 15:52:48 +02:00
Nathan Woulfe a41b018f98 V8: Use infinite editor for list view settings (5021) (#6028) 2019-10-23 15:49:36 +02:00
Niels Lyngsø a42fc8fc8e work on copyArray feature for clipboardService 2019-10-23 15:23:23 +02:00
Nathan Woulfe debf65a92f V8: Add option for medium-sized infinite editor (#6808) 2019-10-23 15:10:25 +02:00
Bjarke Berg c5bee77537 AB3267 - removed option to disable modelsbuilder - dont make sense for v8, and everything is broken when if you did it. 2019-10-23 14:40:52 +02:00
Niels Lyngsø c6e78d8c9b Merge remote-tracking branch 'origin/v8/dev' into v8/feature/6816-property-actions 2019-10-23 14:28:22 +02:00
Niels Lyngsø 88a34f5bcd current state, not complete. 2019-10-23 14:28:06 +02:00
Bjarke Berg 43343166c5 AB3267 - refactored new Exception(..) to most explicit exceptions 2019-10-23 14:11:24 +02:00
Bjarke Berg 25d9b9efd1 AB3267 - Made Umbraco core internals visible for Umbraco.ModelsBuilder and uses PanicException instead of just Exception 2019-10-23 13:53:06 +02:00
Niels Lyngsø 6cf697acb2 Added property actions button 2019-10-23 11:48:13 +02:00
Marc Stöcker f019473b0a Keep wording consistent
Keep it similar to "addGridLayout" or "addRowConfiguration" and also in line with "areAdded".
2019-10-23 11:31:44 +02:00
Bjarke Berg 35fff2af87 Merge pull request #6810 from umbraco/v8/bugfix/6763-rte-images-in-grid
fixes images not showing up when rendering rte from the grid.
2019-10-23 10:50:42 +02:00
Niels Lyngsø cc3ef9de0c Upgrade Gulp to v4 (#6809) 2019-10-23 10:31:07 +02:00
Shannon 9303a49732 Moves the copy/paste rte stuff to a separate service, injects lazy property editors and relation service into the base content repositories 2019-10-23 19:08:03 +11:00
Bjarke Berg 3905265aba AB3267 - Specify language version to make azure pipeline happy 2019-10-23 09:52:41 +02:00
Bjarke Berg b5ae96e8ef AB3267 - Specify language version to make azure pipeline happy 2019-10-23 09:41:35 +02:00
Bjarke Berg a9b88e4520 AB3267 - Removed outdated comments 2019-10-23 09:41:12 +02:00
Bjarke Berg 407089c67a Updated Microsoft.CodeAnalysis.CSharp to match the rest of umbraco 2019-10-23 08:38:24 +02:00
Bjarke Berg 998090498a Merge pull request #6807 from umbraco/v8/feature/AB2461-media-tracking
Splits up TemplateUtilities into testable parts, creates new GetReferences API
2019-10-23 08:03:55 +02:00
Shannon c831c9de53 uses nameof in attributes 2019-10-23 16:30:22 +11:00
Dennis Adolfi faeb3e052a * Removed unnessasary test. 2019-10-23 07:30:16 +02:00
Dennis Adolfi ff05293452 * Updated obsolete description on UmbracoApiController.
* Added back the old construcor in UmbracoApiControllerBase and added a obsolete attribute.
2019-10-23 07:29:23 +02:00
Shannon ba8c1df017 fixing tests 2019-10-23 15:38:14 +11:00
Shannon 17fd09fe3d Naming 2019-10-23 14:55:18 +11:00
Shannon 832803a9f6 fix build 2019-10-23 14:35:43 +11:00
Shannon 31ddc1d935 Changes BackgroundTaskRunner to shutdown faster and to ensures that any latched tasks are canceled even with Stop(immediate == false) is executed. 2019-10-23 14:17:30 +11:00
Shannon fff646ad15 MainDom will terminate on first (or only) call to Stop 2019-10-23 14:12:23 +11:00
Bjarke Berg 01ddc97e25 Merge remote-tracking branch 'origin/v8/dev' into v8/dev 2019-10-22 16:39:36 +02:00
Bjarke Berg 733defd463 Revert "Downgraded cherry picked test to work on 8.2.1"
This was only a fix for 8.2.1. The correct code was in dev branch before
This reverts commit a4c4a978
2019-10-22 16:39:14 +02:00
elitsa 09128db858 Merge branch 'v8/dev' into grid-editor-name-templates 2019-10-22 16:25:25 +02:00
Bjarke Berg 050fc1576b Merge branch 'v8/8.2' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2019-10-22 16:23:13 +02:00
Bjarke Berg a4c4a978d9 Downgraded cherry picked test to work on 8.2.1 2019-10-22 16:22:19 +02:00
Bjarke Berg 54bb5bb835 Bump version to 8.2.1 2019-10-22 16:07:37 +02:00
Claus 5e684487c0 fixes images not showing up when rendering rte from the grid. 2019-10-22 16:00:39 +02:00
Nathan Woulfe e0a34d3873 adding visibility:hidden to the un-hovered list fixes the problem. have also tidied up the css a bit to remove duplicate class references 2019-10-22 15:59:12 +02:00
Shannon e2d63f553f Adds simpler test to validate RefreshNode 2019-10-22 15:55:48 +02:00
Shannon 296e1ee80f removes test code 2019-10-22 15:55:43 +02:00
Shannon 652591d1c8 removes TODO 2019-10-22 15:55:36 +02:00
Shannon 4641e61743 Fixes issue - when calling Set, we were not setting all node graph elements. 2019-10-22 15:55:28 +02:00
Shannon e7096fd5c8 Gets a test to confirm the issue, now to fix 2019-10-22 15:55:23 +02:00
Shannon 5db26a4502 starts writing tests 2019-10-22 15:55:17 +02:00
Jeavon 5e299d7880 Add additional null checks on GridPropertyEditor in case it's executed in the front end context without CurrentUser 2019-10-22 15:54:32 +02:00
Jeavon bce5b49740 Add additional null conditionals as this method is sometimes called for front end rendering where this is no current user (DTGE) 2019-10-22 15:54:22 +02:00
Niels Lyngsø 6776d6cde6 hide dialog if opening reference in this tab/window. 2019-10-22 15:35:50 +02:00
Niels Lyngsø 89e6cc3611 do close dialog, even thought people might open in a tab. 2019-10-22 15:26:59 +02:00
Niels Lyngsø 67db3778f3 links to edit references 2019-10-22 15:24:36 +02:00
Niels Lyngsø 0f07ecba54 umb-confirm ability to set wether the confirm button is disabled via confirmDisabled 2019-10-22 15:23:46 +02:00
Niels Lyngsø 98df5eae67 never underline icons in table 2019-10-22 15:22:52 +02:00
Niels Lyngsø 0ee9c2d327 ability to disable confirm button in umb-confirm 2019-10-22 15:22:34 +02:00
Søren Kottal 89fc8133d2 Enables list view column templates
* add template property
* Apply template to column value
* Removed trailing newline
2019-10-22 14:38:00 +02:00
Claus 680fdb3ad1 fixes images not showing up when rendering rte from the grid. 2019-10-22 14:33:31 +02:00
Bjarke Berg 8c95573225 AB3267 - Removed unused classes and set some internal 2019-10-22 14:22:43 +02:00
Claus 3573df3531 Merge pull request #6751 from Jeavon/v8/bugfix/null-user-rte-editor
Add additional null conditionals to the FromEditor method of RichTextPropertyValueEditor
2019-10-22 14:19:21 +02:00
Poornima Nayar d2cde44b1f Changed "Chage password" button style in Users section to be action style 2019-10-22 12:37:40 +02:00
Bjarke Berg dd909ebde4 AB3267 - Use interface instead of concrete class 2019-10-22 09:44:51 +02:00
Bjarke Berg 35cae68214 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/mb-embed 2019-10-22 08:07:27 +02:00
Shannon 611ba7de46 fix build 2019-10-22 16:12:31 +11:00
Shannon aee3b9f9d2 updates rte editor to return local link udis 2019-10-22 15:52:09 +11:00
Shannon 1adf5a30f3 Renames some stuff, updates RTE editor to return media/content refs and adds tests for locallink parsing 2019-10-22 15:48:47 +11:00
Shannon 6bb8a15a87 Adds UdiParserTests 2019-10-22 15:07:01 +11:00
Shannon 8a18a5b1cb ensure there is no casing issues with app physical path when generating a hash 2019-10-22 12:13:40 +11:00
Shannon b04f9c17ae Makes some updates based on code reviews 2019-10-22 11:55:05 +11:00
JohnBlair 478bc708b9 Defensive programming around disposal of local content and media dbs. 2019-10-22 11:45:03 +11:00
JohnBlair d774ff8bc1 Undoing a bad previous change where logic in a catch should have been in a finally. Also dispose could throw an error so catch it and complete the clean up. 2019-10-22 11:45:03 +11:00
JohnBlair 77f34e8466 Always reset the signal on a timeout exception waiting on the lock. 2019-10-22 11:45:03 +11:00
JohnBlair ee098e0194 Make sure the local dbs are disposed of if the content store was not created. 2019-10-22 11:44:07 +11:00
JohnBlair e998fce5d1 Trying to lock could throw exceptions so always make sure to properly clean up the local DB. 2019-10-22 11:44:07 +11:00
JohnBlair 7ace5baf9b Allow nucache content and/or media db files to be reused if they already exist. 2019-10-22 11:44:07 +11:00
Shannon 7afdf9e9a9 ensure maindom is disposed as soon as the hosting environment is signaled, remove the GCHandle 2019-10-22 11:40:51 +11:00
Shannon bb2a3a5e3d stub class for udi parser 2019-10-22 11:09:21 +11:00
Lars-Erik Aabech d9c1853543 Totally helpful exception message for test classes that can't be resolved 2019-10-21 23:07:36 +02:00
Lars-Erik Aabech 7bd8dee6a2 Changed TestOptionAttributeBase type resolving to use Assemby instead of String 2019-10-21 23:01:23 +02:00
Rasmus John Pedersen 1362a953f2 Fix wrong assembly name for UmbracoModule 2019-10-21 16:50:39 +02:00
Shannon f8e04eb1d6 Adds tests for MediaParser and simplifies UmbracoContext mocking 2019-10-22 00:53:52 +11:00
Shannon 4f9e0fcb92 No more using TemplateUtilities 2019-10-21 23:53:14 +11:00
Shannon 8ccebd8006 Revert "Removes singleton accessors from repositories" - this causes a circular ref?! 2019-10-21 23:04:25 +11:00
Shannon a78a4ff807 Less statics, new InternalLinkParserTests, better testing support on UDI, less singletons 2019-10-21 22:56:02 +11:00
Shannon a7dfba58d1 Removes singleton accessors from repositories 2019-10-21 22:49:39 +11:00
Bjarke Berg e1c6f721b0 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/mb-embed 2019-10-21 13:33:59 +02:00
Jeavon a854dcb737 Add additional null checks on GridPropertyEditor in case it's executed in the front end context without CurrentUser 2019-10-21 10:10:08 +01:00
Shannon 13f7ee8a5f Adds IDataValueReference 2019-10-21 19:40:06 +11:00
Bjarke Berg ed6fee4fa4 Merge pull request #6625 from umbraco/v8/feature/AB2913-DataTypeTracking
Data type usage reporting and deletion warning
2019-10-21 10:10:37 +02:00
Bjarke Berg c072015288 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB2913-DataTypeTracking
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
2019-10-21 09:40:21 +02:00
Bjarke Berg ba215f8700 fix name to follow the class name 2019-10-21 09:34:35 +02:00
Steve Megson 59ba68dfd0 TinyMCE language files 2019-10-21 08:25:49 +01:00
Kenn Jacobsen 1b07d812a7 Merged with latest v8/dev 2019-10-21 09:02:38 +02:00
Niels Lyngsø c89ea71adf removed comment 2019-10-21 08:51:08 +02:00
Niels Lyngsø f2381daa24 no need for this comment anymore 2019-10-21 08:49:50 +02:00
Bjarke Berg 9ffb3bed57 Merge pull request #6688 from umbraco/v8/bugfix/AB3172-long-running-ops
Long running operations causes SQL timeout
2019-10-21 07:56:53 +02:00
Shannon Deminick 16abdcac46 Merge pull request #6208 from PerplexDaniel/6174-saving-content-type-segment-variation
Support for Segments in ContentTypeRepositoryBase
2019-10-21 16:54:56 +11:00
Bjarke Berg debe4b381c Fixed tests 2019-10-21 07:26:39 +02:00
Bjarke Berg 538a8cf41b Change to case when, just to support if someone change values to something invalid directly in the database, and fixed tes 2019-10-21 07:23:11 +02:00
Shannon Deminick d2c43d6f13 Merge pull request #6789 from umbraco/v8/bugfix/6754-StatusCode-Skip-CustomErrors
fixes #6754 - skip custom errors when using StatusCodeFilterAttribute.
2019-10-21 16:17:27 +11:00
Shannon eb670fd1ac ensure OnSignal logic is all run within the lock, ensures all actions are run even if one throw on shutdown. 2019-10-21 15:59:25 +11:00
Shannon beb16a2f79 Ensures MainDom.Register absolutely does not call install logic if it's not MainDom, adds logging 2019-10-21 15:47:37 +11:00
Kenn Jacobsen e8d159db46 Remove unused event argument 2019-10-20 11:16:14 +02:00
Kenn Jacobsen 5c670b620c Allow tabbing through the section tray and adjust styles accordingly 2019-10-20 11:08:29 +02:00
Dennis Adolfi 8d70d53ed6 * Added test for mocking UmbracoApiController dependencies with injected UmbracoMapper
* Added test for mocking UmbracoApiController dependencies with ServiceLocator resolved UmbracoMapper for backward compability.
2019-10-18 14:27:55 +02:00
Dennis Adolfi c131759688 * Removed service locator resolvning UmbracoMapper (Current.Mapper) in the UmbracoApiControllerBase constructor.
* Added Obsolete marker to old UmbracoApiController constructor injecting Current.Mapper for backward compability, use new full construcor injection instead.
2019-10-18 14:18:19 +02:00
Dave Woestenborghs 3260fec444 V8 - umb-box-header shows values for non-localized and localized title and description (#6689)
* Fix displaying of title and description and also the localized values for title-key and description-key on the umb-box-header directive

* Handle invalide localization keys by setting a fall back value
2019-10-18 13:39:26 +02:00
Poornima Nayar b199a54038 Clean up of the compositions dialog (#6716) 2019-10-18 13:36:16 +02:00
Kenn Jacobsen 9af135e7e7 Make the color class prefix configurable for the umb-color-swatches directive 2019-10-18 13:20:03 +02:00
Kenn Jacobsen d49ad81448 V8: Handle save keyboard shortcut from within the RTE (#6756) 2019-10-18 13:17:16 +02:00
Claus 1d39a25240 Merge pull request #6734 from umbraco/v8/bugfix/6698-nucache-panic
Fixes nucache #6698
2019-10-18 10:36:19 +02:00
Claus b87a952c6a fixes #6754 - skip custom errors when using StatusCodeFilterAttribute. 2019-10-18 09:39:36 +02:00
Shannon 44ed611b7a Ensure MainDom is always registered with HostingEnvironment, not just when it acquires maindom 2019-10-18 11:57:44 +11:00
Shannon b5f29f2390 Ensure the EventWaitHandle is cleaned up, MainDom and BackgroundTaskRunner was not using HostingEnvironment.Stop correctly, ensures no exception is thrown when setting task result on a background task, ensure multiple terminations don't occur, ensure terminations are done if shutdown fails. 2019-10-18 11:57:44 +11:00
Shannon 81ae835564 Implements Disposable pattern correctly for the NamedSemaphoreReleaser 2019-10-18 11:57:44 +11:00
Shannon 10a2303458 Renames AsyncLock -> SystemLock 2019-10-18 11:57:44 +11:00
Jeavon 7af15b3a28 Add additional null conditionals as this method is sometimes called for front end rendering where this is no current user (DTGE) 2019-10-17 17:26:32 +01:00
Jan Skovgaard 20fd5acae6 v8: Extend the umb-checkbox component to handle localization (#5635) 2019-10-17 17:32:19 +02:00
Tom Pipe 4c86756640 Fix for #3510 - health check for http headers was case sensitive, but HTTP spec states http headers are case insensitive 2019-10-17 17:02:01 +02:00
Matthew-Wise 04a201f5f0 install ngAria (#6628) 2019-10-17 16:41:25 +02:00
Rasmus Kongshøj 2aede644f4 Only show time in datepicker if format is HH/HH:mm/HH:mm:ss (#6525) 2019-10-17 16:27:34 +02:00
nfJakobsen 6b4f7f9ec8 Added apostrophe to Filtrer... in danish 2019-10-17 14:15:22 +02:00
nfJakobsen fef6730c1f Fixed title to proper danish 2019-10-17 14:14:22 +02:00
nfJakobsen 0355f7111e Documenttypes correctly spelled in danish is one word. 2019-10-17 14:13:34 +02:00
James George a3779b5be9 [Docs]: minor tweak (#6743) 2019-10-17 13:06:21 +02:00
Shannon 4a7c73993b formatting 2019-10-17 21:05:27 +11:00
Shannon Deminick 406ac131a2 Merge pull request #6570 from ronaldbarendse/v8/bugfix/umbracomapper
Fixed adding/updating UmbracoMapper constructors
2019-10-17 21:04:42 +11:00
Shannon b95404f585 Adds simpler test to validate RefreshNode 2019-10-17 18:51:15 +11:00
Bjarke Berg 9d7aacbfc0 Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/AB3172-long-running-ops 2019-10-17 09:44:51 +02:00
Shannon c91680e4c7 removes test code 2019-10-17 18:43:54 +11:00
Shannon ea642b3c51 removes TODO 2019-10-17 18:43:09 +11:00
Shannon 439bacff07 Fixes issue - when calling Set, we were not setting all node graph elements. 2019-10-17 18:41:05 +11:00
Bjarke Berg 13488be0a3 Merge pull request #6685 from umbraco/v8/bugfix/AB3057-change-lang-culture
Ability to change the culture of an existing language
2019-10-17 08:51:27 +02:00
Shannon f384b31e98 Gets a test to confirm the issue, now to fix 2019-10-17 15:47:15 +11:00
Steve Megson 1d0def72f3 Handle duplicate keys in DataTypeMigration (#6651) 2019-10-16 17:51:06 +02:00
Volken fe5996aaf7 Update ModelStateExtensions.cs
Line 76
There is a duplicated word "errors" change this line 
/// Returns a list of cultures that have property validation errors errors
To
/// Returns a list of cultures that have property validation errors
Or if i missunderstood what you mean change with that for a better understanding.
/// Returns a list of cultures that have property validation errors "errors"
2019-10-16 17:35:42 +02:00
Kewbish 86c6b3d7f8 Grammar changes
There were a few grammatical mistakes and one spelling error in
the various .md files, so I fixed them :)
Signed-off-by: Kewbish <kewbish@gmail.com>
2019-10-16 17:32:51 +02:00
Krnlsoft 9c7d3d8c2a Missing Italian translations
Added missing Italian translations
Removed TODO
2019-10-16 16:46:53 +02:00
Paul Seal 77f2b28aed - set the border for the today class on the date picker (#6619)
* - set the border for the today class on the date picker

* - added the actual styling for the today border
2019-10-16 16:18:06 +02:00
Kenn Jacobsen 008505354b V8: Do not warn about unpublishing multiple languages for invar… (#6613) 2019-10-16 16:15:29 +02:00
Bjarne Fyrstenborg 0b395482f1 Use umb-radiobutton in public access overlay (#6612) 2019-10-16 16:00:59 +02:00
Kenn Jacobsen 6c6b23c465 V8: Add irreversible warning when deleting items from the recycle bin (#6600) 2019-10-16 15:28:03 +02:00
Kenn Jacobsen 82b8302f25 Turn the "empty recycle bin" warning into an actual warning 2019-10-16 15:26:31 +02:00
Jan Skovgaard 8e73198979 Hide icons and use buttons instead of empty anchors in Examine… (#6596) 2019-10-16 12:09:19 +02:00
Shannon 5ca32ba1e9 starts writing tests 2019-10-16 17:29:45 +11:00
Shannon 4e51a2d184 Fixes tests - Nucache tests were not disposing the snapshot service so was binding to all events!! renames the test snapshot service to avoid confusion 2019-10-16 15:49:19 +11:00
Shannon 6d38f946a4 ensures nucache table isn't rebuilt when adding a new lang 2019-10-16 15:00:13 +11:00
Shannon 9be7f536d3 Merge branch 'v8/dev' into v8/bugfix/AB3057-change-lang-culture 2019-10-16 14:49:46 +11:00
Shannon 0c5b832627 fixing tests 2019-10-16 14:21:03 +11:00
Shannon c832e2a3f5 Merge branch 'v8/dev' into v8/bugfix/AB3057-change-lang-culture 2019-10-16 12:39:17 +11:00
Shannon 72cae37a28 fixes test 2019-10-16 12:38:42 +11:00
Shannon 64279c1b6d Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/AB3057-change-lang-culture 2019-10-16 12:29:22 +11:00
Lars-Erik Aabech c56f6c161e Don't throw when type not found by TestOptionAttribute 2019-10-15 23:57:54 +02:00
Lars-Erik Aabech 1b8f9e91df TestOptionAttibute seam to discover testassemblies 2019-10-15 23:29:13 +02:00
Jan Skovgaard 9c601ab631 Fix semantics for list views (#6595) 2019-10-15 18:42:52 +02:00
Steve Megson b8425fa662 Correct URL decoding of macro partial view names (#6592) 2019-10-15 18:30:12 +02:00
Kenn Jacobsen 8fa3ebdd04 Reload node children after publishing with descendants 2019-10-15 18:19:03 +02:00
Bjarne Fyrstenborg 426aa981f8 Pick macro parameters in an infinite editor like content type properties (#6586) 2019-10-15 18:13:18 +02:00
Kenn Jacobsen 8a85c3cbf9 V8: It should be possible to disallow all types at content root (#6580) 2019-10-15 17:57:06 +02:00
Kenn Jacobsen 178185e411 V8: Move misplaced colon in language selector (#6692) 2019-10-15 15:11:42 +02:00
Sebastiaan Janssen 4e345a8f79 Fixes an error in #6538 by moving the colon character to the sr-only span 2019-10-15 15:04:51 +02:00
rbottema c8c5dfe594 Fix ContentType.Alias matching in PublishedContentExtensions an… (#6577) 2019-10-15 13:25:50 +02:00
Andy Butland 28ec4da0fa Allows members to be ordered by additional system fields (#6575) 2019-10-15 13:18:45 +02:00
Andy Butland 14d0bd056c Updated list view headers styling to have the link/hand cursor visible only if the header is sortable (and hence clicking has an effect) 2019-10-15 13:14:00 +02:00
Emma Burstow 29de4fd63f Everything was squished but now it is not. 2019-10-15 11:50:26 +01:00
Daniël Knippers 4495a4ab5a Updated various test cases to include the Segment flag.
The original test method has been changed to a method with parameters for the
ContentVariation "from" and "to" options and [TestCase] attributes are applied
to run the different combinations.
2019-10-15 11:50:16 +02:00
Daniël Knippers c8a8d2e235 Moved property type variation "auto correction" into separate method and perform before validation. 2019-10-15 11:25:47 +02:00
Daniël Knippers 2b14408693 Revert "Moved property type variation auto correct."
This reverts commit 3858bd40ad.
2019-10-15 11:17:03 +02:00
Daniël Knippers 4a42b2fb43 Merge branch 'v8/dev' into 6174-saving-content-type-segment-variation 2019-10-15 11:07:22 +02:00
Daniël Knippers 1a92dbfd8f Properly set / unset Culture flag instead of removing _all_ flags when "Vary by Culture" is false. 2019-10-15 10:54:51 +02:00
Shannon 37024664f5 streamlines exception types 2019-10-15 11:15:17 +11:00
Shannon dcc46fa32d no generic exception 2019-10-15 11:14:28 +11:00
Kenn Jacobsen 81d70cb5a8 V8: Help users create their first content type on blank installs (#6573) 2019-10-14 18:05:18 +02:00
Kenn Jacobsen f1e6da9d38 Remove "Generic Properties" group from default member type 2019-10-14 18:00:08 +02:00
Kenn Jacobsen cfa1f2bcfb Don't allow deleting property groups with locked properties (#6567) 2019-10-14 17:57:11 +02:00
Benjamin Carleski e0ea4ef36f Add null check in allowed template check 2019-10-14 17:46:37 +02:00
Rachel Breeze c9ea3656bd Added a test for if an empty titlePrefix is passed into the $changeTitle call 2019-10-14 17:45:38 +02:00
Kenn Jacobsen dce4f49a3b V8: Enable editing the search results directly from Examine Management (#6560) 2019-10-14 17:41:32 +02:00
Kenn Jacobsen 529d0fd0aa Reload the media tree when folder contents changes 2019-10-14 17:26:36 +02:00
Florian Beijers e8f84e5974 Labeled controls in Belle (#6555) 2019-10-14 17:25:16 +02:00
Nathan Woulfe cbcef8ba6c allow node preview content to wrap 2019-10-14 17:14:57 +02:00
Nathan Woulfe 35c8c40340 push overlay-right when opening help drawer 2019-10-14 17:13:26 +02:00
Nathan Woulfe 8d3b74fbec use regex for finding img where src is a blob 2019-10-14 17:11:28 +02:00
Bjarne Fyrstenborg d7b25fc4dc Replace checkbox with umb-checkbox in listview publish and unpu… (#6544) 2019-10-14 17:06:36 +02:00
Sebastiaan Janssen 7d5d424045 Fix ContentService.DeleteVersions (#6543)
Fix ContentService.DeleteVersions
2019-10-14 16:46:47 +02:00
Sebastiaan Janssen fcb142fb04 Replace checkbox with umb-checkbox for relate to original (#6542)
* Replace relate to original checkbox with umb-checkbox

* Remove unused localization of search text
2019-10-14 16:02:51 +02:00
Bjarne Fyrstenborg a439606a05 Adjust layout in profiler dashboard (#6539) 2019-10-14 16:01:00 +02:00
Jan Skovgaard fc91ab034e Refactor language picker to improve accessibility (#6538) 2019-10-14 16:00:02 +02:00
Søren Kottal 8f300761ef Makes it possible to change the icon for list view content apps 2019-10-14 15:57:17 +02:00
Rasmus John Pedersen b8e5146baa Add publish and unpublish date to info app 2019-10-14 15:38:26 +02:00
Shannon Deminick 63ae00b0f3 Fixes Search an element from its GUID with the backoffice #6185 (#6530) 2019-10-14 15:07:44 +02:00
Shannon d0435f6625 Moves read/write locking and isolation level to the responsibility of the sql provider based on the db type 2019-10-15 00:04:41 +11:00
Jan Skovgaard fa7a46389c Split events.directive into separate event directives (#6533) 2019-10-14 15:03:46 +02:00
jmayntzhusen 9c28a1ff80 Update styles of API docs to match new identity 2019-10-14 14:47:27 +02:00
Kenn Jacobsen 81c7503c54 Make upload and image cropper mandatory validation work clientside 2019-10-14 14:46:05 +02:00
Kenn Jacobsen f6d00a177e V8: Support allowed types for MNTP member picker (#6524) 2019-10-14 14:34:33 +02:00
Kenn Jacobsen 0d3e330b12 Support allowed types for MNTP media picker 2019-10-14 14:24:11 +02:00
pirvandr 174a1d731d # fix issue 6467: removed all the MacroContainer related files… (#6518) 2019-10-14 14:03:51 +02:00
Lee Kelleher 16dc634cf9 Boolean editors - adds ID attribute to umbToggle (#6512) 2019-10-14 13:56:21 +02:00
Sebastiaan Janssen e0481ac4de add aria markup to umb-toggle so it behaves like the checkbox it is (#6506) 2019-10-14 13:49:42 +02:00
Ronald Barendse 0dea83543e Removed Microsoft.Net.Compilers dependency (#6501) 2019-10-14 13:39:53 +02:00
Shannon 00b5f59bce simplifies lang refresher a bit 2019-10-14 22:09:47 +11:00
Shannon 9008641965 ensures the domain cache is totally refreshed when changing langs 2019-10-14 22:02:42 +11:00
Dirk De Grave b05ef082fd Fixes #6499 by reloading the content in list view after bulk copy/move
(cherry picked from commit f967f21119)
2019-10-14 12:14:27 +02:00
Dirk De Grave f967f21119 Fixes #6499 by reloading the content in list view after bulk copy/move 2019-10-14 12:13:13 +02:00
Shannon ae0ad2b897 Updates UI to allow updating a culture for a language and warn the user if they are changing it, updates the controller to be able to udpate a culture on a lang 2019-10-14 19:04:51 +11:00
Shannon Deminick 1a593a8ef4 Merge pull request #6582 from bielu/feature/split_indexcreator_and_config
V8: Split IndexCreator and Index config methods
2019-10-14 15:55:11 +11:00
Shannon Deminick e59abe852a Merge pull request #6656 from hkooikerspeak/v8/bugfix/6655-contentindexpopulator-not-getting-publishedquery
Fix ContetIndexPopulator publishedQuery
2019-10-14 15:51:51 +11:00
Shannon 348afd3d0a updates logic for cache refreshers for languages to deal with updating nucache and examine 2019-10-14 15:21:00 +11:00
Andy Butland 4e95e13c5d Reverted a comment update now interface change has also been reverted. 2019-10-12 15:13:57 +02:00
elitsa 913db21350 Added missing ; 2019-10-11 15:41:16 +02:00
elitsa 175253a1a6 Clear Cache and remove mculture from the url if the last non-default language is deleted 2019-10-11 15:40:55 +02:00
elitsa 016bed03ae Deleting a language will set the selectedLanguage to the default language and update the mculture attribute in the url. 2019-10-11 15:38:26 +02:00
Kenn Jacobsen f6e7740c93 Use all assigned groups and explicit permission assignments when calculating available actions for a given node 2019-10-11 15:07:32 +02:00
Daniël Knippers 1da29b29b9 Only set segment on property when property can be varied by segment 2019-10-11 14:48:55 +02:00
Daniël Knippers 813998a614 Support for saving edited segment values 2019-10-11 14:48:54 +02:00
Daniël Knippers 8f0ee6d711 Added support for all 4 cases in ContentVariantMapper 2019-10-11 14:48:54 +02:00
Daniël Knippers 74727a179c Adds Segment to ContentItemDisplay and update Variants to include segmented variants. 2019-10-11 14:48:54 +02:00
Daniël Knippers 45db8fd7c4 Add ISimpleContentType.VariesBySegment() 2019-10-11 14:48:54 +02:00
Daniël Knippers 6f78e878fb Segment display name nu capitalized versie van alias 2019-10-11 14:19:11 +02:00
Daniël Knippers 99d8d3f80d Fixes current variant display name 2019-10-11 14:19:10 +02:00
Daniël Knippers 5fcfaac19a Added variantHelper for methods used in various places
(cherry picked from commit a97f8254f550b453ebd1cab91837da4f60f9aff6)
2019-10-11 14:19:10 +02:00
Daniël Knippers f11f4c0a4e Show segment name in Publish dialog
(cherry picked from commit 43679c0b8a591ee9459b397ceb4ef0f9abcbc604)
2019-10-11 14:19:09 +02:00
Daniël Knippers 73ddba5158 Show segment name in switcher. 2019-10-11 14:19:07 +02:00
Daniël Knippers 318a511aec Improve support for invariant properties in combination with segments 2019-10-11 14:18:53 +02:00
Daniël Knippers 9e60654848 Support for saving edited segment values 2019-10-11 14:18:46 +02:00
Daniël Knippers 10bf55dbaa Backoffice support for viewing segments 2019-10-11 14:18:10 +02:00
Bjarke Berg 261dc2af98 AB2913 - Added unit tests for the umbCmsJoinArray filter, and a small change when using null for separator 2019-10-11 13:32:23 +02:00
Bjarke Berg 8a07886303 Merge remote-tracking branch 'origin/v8/dev' into vx/feature/unicore 2019-10-11 10:09:03 +02:00
Harmen Kooiker 79e6c106d3 Fix ContetIndexPopulator publishedQuery 2019-10-11 09:38:43 +02:00
arkadiuszbiel a7412dfe79 Correct name in DI 2019-10-10 18:37:30 +02:00
arkadiuszbiel 511751d147 refactor based on shannon comments 2019-10-10 15:50:00 +02:00
Poornima Nayar 3158b8b644 Clean up of change password section in member details 2019-10-10 12:26:09 +01:00
Shannon 2675516b96 Adds logic to ensure you can't change to a culture that is already assigned + test 2019-10-10 20:45:16 +11:00
Claus ec6b38175c Merge pull request #6458 from umbraco/fix/6377-disable-deleting-sensitive-data-user-group
Disallow deleting "Sensitive data" user group
2019-10-10 10:59:37 +02:00
Shannon b400a72e77 Changes filter name 2019-10-10 17:56:53 +11:00
Søren Kottal 702aa41ff2 Adds nametemplates for grid editors 2019-10-09 22:19:28 +02:00
Jeavon 0c957c2fd9 Also replace underscores 2019-10-09 16:46:57 +01:00
Jeavon 82af5f26e5 Added a fix to handle hyphens in file names 2019-10-09 16:16:19 +01:00
Niels Lyngsø c091d21034 align icons if the are in a umb-table 2019-10-09 16:53:30 +02:00
Niels Lyngsø 188cc2a9fd listing out properties with exclamation mark icon in front of each 2019-10-09 16:43:52 +02:00
Niels Lyngsø 5035438a28 simplified wording by removing "based on it" 2019-10-09 16:33:18 +02:00
Niels Lyngsø e7faa14956 changed wording 2019-10-09 16:31:04 +02:00
Niels Lyngsø e7363adc2d highlight properties begin deleted + corrected array 2019-10-09 16:29:29 +02:00
Niels Lyngsø f658c15a06 rename relations to references, to avoid misunderstanding. 2019-10-09 16:22:58 +02:00
Niels Lyngsø 042971103f rename to Reference 2019-10-09 16:01:54 +02:00
Niels Lyngsø dda99272aa Delete dialog for datatype that has relations 2019-10-09 16:01:01 +02:00
Niels Lyngsø 18e8caeb7e adding new localizations 2019-10-09 16:00:34 +02:00
Ronald Barendse 932f7297f3 Fixed failing test by passing in correct enable/disable attributes 2019-10-09 15:50:06 +02:00
Ronald Barendse bb26f07d01 Added parameterless GetAssemblyAttributes overload returning all attributes 2019-10-09 15:38:07 +02:00
Ronald Barendse fa2a4d867b Return assemblies as list and added documentation 2019-10-09 15:37:13 +02:00
Ronald Barendse 03bbcec894 Enable/disable composers based on supplied attributes (instead of assemblies) 2019-10-09 14:27:36 +02:00
Ronald Barendse be21ddb38e Added GetAssemblyAttributes to TypeLoader 2019-10-09 14:27:36 +02:00
Ronald Barendse 7f889e6d1b Get EnableComposer/DisableComposer attributes for all assemblies 2019-10-09 14:27:36 +02:00
Niels Lyngsø 2d693ddd35 ups, misspelling of localization key 2019-10-09 13:05:47 +02:00
Niels Lyngsø 7024bc495b set template to cache output since its not going to update unless you reloaded the view. 2019-10-09 13:03:57 +02:00
Niels Lyngsø fd7b85f447 added no overflow for properties 2019-10-09 12:54:00 +02:00
Bjarke Berg 8153412cb5 Moved panicexception 2019-10-09 11:50:39 +02:00
Niels Lyngsø dd29fe5745 added used by properties 2019-10-09 11:37:45 +02:00
Bjarke Berg 2b8805b69d Merge branch 'v8/dev' into vx/feature/unicore
# Conflicts:
#	src/Umbraco.Web.UI.Client/package-lock.json
2019-10-09 11:09:10 +02:00
Paul Seal 6f5665f6a5 - updated this in 3 more places 2019-10-09 10:41:48 +02:00
Paul Seal 4e6bbcf6c2 - updated usage of EmptyRecycleBin to pass in the user id as instructed in warning messages 2019-10-09 10:41:48 +02:00
Bjarne Fyrstenborg 0567ed9a34 Fix incorrect path in member group mapping 2019-10-09 10:15:45 +02:00
Andy Butland d25a38e448 Renamed client-side service file to match function name 2019-10-09 08:15:27 +02:00
Shannon 4c344fcb9e fixes build 2019-10-09 16:07:43 +11:00
Shannon cf9add767a Fixes navigating to other items via url 2019-10-09 15:55:09 +11:00
Shannon 4c131d14fc ensure the data type refs are only loaded when the tab is activated 2019-10-09 15:31:13 +11:00
Shannon ac300179e6 Adds new endpoint to DataTypeController to return the correct data and wires that up to angular 2019-10-09 15:19:03 +11:00
Steve Megson ef03b0c611 Stop caching of preview macro results 2019-10-09 00:39:28 +01:00
Shannon Deminick 484d08b72a Merge pull request #6610 from bjarnef/dev-v8-grid-pe-null-check
Check if value is null or whitespace before reading grid configuration
2019-10-09 03:10:59 +04:00
Ronald Barendse 2170a575f2 Log exceptions thrown while terminating components 2019-10-09 00:11:46 +02:00
Ronald Barendse 9a36d10d0c Combine exceptions thrown while terminating components into AggregateException 2019-10-09 00:07:34 +02:00
Andy Butland 624c0d6776 Reverted breaking changes to interfaces and implemented custom messages by replacing known default message strings with custom ones if provided. 2019-10-08 22:49:57 +02:00
Bjarne Fyrstenborg 646bfb02f2 Check if value is null or whitespace before reading grid configuration 2019-10-08 18:55:44 +02:00
Niels Lyngsø 0e34c5e3c2 Merge remote-tracking branch 'origin/v8/feature/AB2918-update-datatype-edit-view' into v8/feature/AB2913-DataTypeTracking 2019-10-08 15:45:44 +02:00
Niels Lyngsø a178a4d77b removing console.logs 2019-10-08 15:45:25 +02:00
Niels Lyngsø ab6f4af439 dont know why this was removed, brain fart... 2019-10-08 15:45:14 +02:00
Niels Lyngsø b53eae0510 Merge remote-tracking branch 'origin/v8/feature/AB2918-update-datatype-edit-view' into v8/feature/AB2913-DataTypeTracking 2019-10-08 15:12:13 +02:00
Niels Lyngsø 982a7c6b51 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB2913-DataTypeTracking 2019-10-08 15:11:51 +02:00
Niels Lyngsø 5deaf996e0 auto width for actions 2019-10-08 14:48:42 +02:00
Niels Lyngsø dfc642e787 seperate row for icons 2019-10-08 14:32:41 +02:00
Niels Lyngsø eff284cb04 corrected open links 2019-10-08 14:20:42 +02:00
Niels Lyngsø 69fb12a270 changed wording 2019-10-08 14:20:30 +02:00
Shannon bcc76b2072 Implements DataTypeService.FindUsages 2019-10-08 23:09:45 +11:00
Niels Lyngsø 3da64651b0 changed to headlines to h5 2019-10-08 14:02:30 +02:00
Niels Lyngsø 097ef82d41 corrected working 2019-10-08 14:02:18 +02:00
Niels Lyngsø 8e17245dc0 changed look and translation keys 2019-10-08 13:58:34 +02:00
Niels Lyngsø dbee0da6a5 tabName translation 2019-10-08 13:14:25 +02:00
Niels Lyngsø 79d20bfddb whitespace 2019-10-08 13:10:45 +02:00
Niels Lyngsø 3365d6fc88 correctied area key for translation 2019-10-08 13:10:17 +02:00
Niels Lyngsø 65c4989575 added more translations 2019-10-08 13:05:48 +02:00
Niels Lyngsø cca66be3d2 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB2918-update-datatype-edit-view 2019-10-08 12:03:07 +02:00
Bjarke Berg e7196d5edf Merge branch 'v8/8.2' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/mediapicker/mediapicker.controller.js
2019-10-08 11:56:43 +02:00
Bjarke Berg bbb1328f2c Merge branch 'v8/8.2-rc' into v8/8.2
# Conflicts:
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
2019-10-08 11:41:14 +02:00
Bjarke Berg 70d162efb3 Merge remote-tracking branch 'origin/v8/8.2-rc' into v8/8.2-rc 2019-10-08 11:18:11 +02:00
Bjarke Berg 9d5f7a8a96 Removed rc from version 2019-10-08 11:17:54 +02:00
Niels Lyngsø 3ff2996cb9 added a view for datatype relations 2019-10-08 10:41:41 +02:00
Niels Lyngsø ab1f9f3acb added fake test for this prototype 2019-10-08 10:41:16 +02:00
Bjarke Berg 570764d03c Merge pull request #6493 from umbraco/v8/bugfix/GridPropertyEditor-NullReference
Fixes null reference caused in GridPropertyValueEditor when the value is empty
2019-10-08 10:06:26 +02:00
Bjarke Berg 3e79f43ebe Merge remote-tracking branch 'origin/v8/8.2' into v8/bugfix/GridPropertyEditor-NullReference 2019-10-08 09:02:47 +02:00
Ronald Barendse 71f3bbfb19 Removed obscure exception message from RetryLimitExceededException 2019-10-07 22:12:14 +02:00
Ronald Barendse ed90e71f76 Removed usage of obsoleted ArgumentNullOrEmptyException 2019-10-07 22:10:21 +02:00
Claus 1bc0c8bca2 Merge pull request #6556 from umbraco/v8/bugfix/AB2996-Fix-MediaFolderPickerPreValueEditor
Only allow one media folder to be picked for RTE paste/drag image upload location
2019-10-07 16:07:25 +02:00
Bjarke Berg ccd4392c2a Merge pull request #6568 from umbraco/v8/bugfix/AB2997-RTE-img-button-throws-tempimg-correct-base
Allow pasted & dragged images that are not yet saved to allow ALT text to be edited
2019-10-07 15:00:36 +02:00
Bjarke Berg 1ad3103d94 https://github.com/umbraco/Umbraco-CMS/issues/6516 - Revert uncommenting stuff, without knowing why the code was their. 2019-10-07 13:21:31 +02:00
Søren Kottal 0e4727f5df Adds missing danish language keys, and changes a few others 2019-10-06 12:58:22 +02:00
Ronald Barendse 8920e10a94 Removed usage of obsoleted DuplicateKeyException 2019-10-06 11:55:02 +02:00
Ronald Barendse 604919495d Removed usage of obsoleted EntityNotFoundException 2019-10-06 11:55:02 +02:00
Ronald Barendse 6350c8c05b Removed usage of obsoleted WontImplementException 2019-10-06 11:55:02 +02:00
Ronald Barendse af1615bbb7 Removed usage of obsoleted FileSecurityException 2019-10-06 11:55:02 +02:00
Ronald Barendse dc5cdfd3d1 Obsoleted exceptions that shouldn't be used anymore or be refactored 2019-10-06 11:54:53 +02:00
arkadiuszbiel 1ca35b2fbb Obsolete instead of remove functions 2019-10-05 14:36:47 +02:00
Jeavon 61465ed997 Add null check to umbracoFilePath and used Yield extension method 2019-10-04 18:30:35 +01:00
Jeavon 7130c99810 Rename new field and ensure Id is also searchable 2019-10-04 17:44:26 +01:00
arkadiuszbiel c0fa66799f Split config and index creator to allow to override only config not whole index creator 2019-10-04 16:41:29 +02:00
Daniël Knippers 4a3b3c4151 Property type correction test 2019-10-04 14:29:01 +02:00
Daniël Knippers 3858bd40ad Moved property type variation auto correct. 2019-10-04 14:29:01 +02:00
Daniël Knippers 2e79a515c9 Updated tests 2019-10-04 14:29:01 +02:00
Jeavon 68866e9faf Adding a constant for the new field name 2019-10-04 11:17:36 +01:00
Jeavon 72147ab8f2 Fixing Examine unit tests 2019-10-04 10:34:10 +01:00
Daniël Knippers c7d00b2c00 Corrected ValidateVariations method
Triggered by a failing unit test that was updated for segments
2019-10-04 08:53:41 +02:00
Ronald Barendse 77df15eeaa Added remarks about property serialization 2019-10-04 00:46:26 +02:00
Ronald Barendse fade67bdb4 Updated exceptions with SerializableAttribute and constructor 2019-10-04 00:46:02 +02:00
Jeavon e4df2f4205 Add ability for editors to search for media items by file name as well as node name. 2019-10-03 17:46:18 +01:00
Daniël Knippers 8892afe219 Merge branch 'upstream-v8-dev' into 6174-saving-content-type-segment-variation 2019-10-03 16:49:01 +02:00
Daniël Knippers d76ff8b999 Updated a couple unit tests for segments 2019-10-03 16:40:44 +02:00
Ronald Barendse 65b49f1a29 Fixed adding/updating UmbracoMapper constructors 2019-10-03 15:06:16 +02:00
Daniël Knippers fc717d1e37 Code comments 2019-10-03 14:01:00 +02:00
Bjarke Berg a87b72cd05 Merge pull request #6554 from umbraco/v8/bugfix/grid-editor-media-refs
Fixes the media refs within the RTE in the Grid
2019-10-03 10:40:38 +02:00
Shannon 03a4affbde Fixes order of parsing RTEs 2019-10-03 10:12:41 +02:00
Niels Lyngsø 05ff51575b Wait for image to load, for measuring size. Removed the 500ms timeout that was prone to error if image was'nt loaded within time. 2019-10-03 10:08:07 +02:00
Warren Buckley 76dd7a667a Remove console.logs 2019-10-03 10:08:07 +02:00
Warren Buckley 0e16d9cd33 WIP: Try and support images in the RTE that are pasted/dragged in and are NOT in media yet to be able to update the ALT text 2019-10-03 10:08:07 +02:00
Rachel Breeze 09df60455c Added missing syntax to controller 2019-10-03 01:16:52 +02:00
Warren Buckley 033780cb90 We only want to allow you to pick one folder in the media library for this prevalue editor 2019-10-02 13:50:00 +01:00
Shannon 6d9af75fbe Fixes the media refs within the RTE in the Grid 2019-10-02 13:49:50 +02:00
Niels Lyngsø 5669528253 fixing icon issue in PreValueEditor 2019-10-02 12:06:21 +02:00
Niels Lyngsø 72952db3b2 fixing toolbar issues when sticky and RTE width in grid. 2019-10-02 12:05:26 +02:00
Shannon 4918fa0868 added timeout 2019-10-02 12:05:11 +02:00
Shannon b4c6930c11 Merge branch 'v8/8.2' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/services/mediahelper.service.js
#	src/Umbraco.Web.UI/Umbraco/config/lang/en_us.xml
2019-10-02 10:47:09 +02:00
Shannon d0a1f96990 Merge branch 'v8/8.2-rc' into v8/8.2 2019-10-02 10:46:17 +02:00
Shannon aed32afd0f Revert copy-paste property editors, will move to a diff branch 2019-10-02 10:41:00 +02:00
Niels Lyngsø 69d97bc984 first step for changing the datatype edit view 2019-10-02 10:28:26 +02:00
Rasmus John Pedersen f65140854d Too much scope 2019-10-02 08:48:37 +02:00
Steve Megson dbce1147a8 Fix ContentService.DeleteVersions 2019-10-01 22:31:42 +01:00
Bjarne Fyrstenborg 76c1d10701 Remove unused localization of search text 2019-10-01 22:53:26 +02:00
Bjarne Fyrstenborg e0cc87f9a2 Replace relate to original checkbox with umb-checkbox 2019-10-01 22:52:26 +02:00
Rasmus Kongshøj 7e0abeb6e5 Added missing class 2019-10-01 20:25:26 +02:00
Rasmus John Pedersen 41126c2c73 Allow editing name and saving on on list views 2019-10-01 20:09:21 +02:00
Anders Bjerner 9378316ed3 Marking the umb-overlay directive as deprecated 2019-10-01 19:52:19 +02:00
jmayntzhusen 85cc7d82d0 Update styles of API docs to match new identity (#6517) 2019-10-01 19:49:40 +02:00
Dennis Aaen a025871b8c Added new translation for issue #6484 (#6515) 2019-10-01 19:42:17 +02:00
Andy Butland 52783356cb Renamed validationHelperService to more specific validationMessageService 2019-10-01 18:59:00 +02:00
Shannon Deminick 392fd321e5 Merge pull request #6333 from umbraco/v8/bugfix/6127-soft-redirect-nav-fix
Fixes V8: Can't navigate to another node when the editor is in "create" state #6127
2019-10-01 18:39:28 +02:00
Shannon 76410632b6 Changes how soft redirecting works 2019-10-01 18:30:09 +02:00
Shannon 62ee1899ad Fixes Return 503 status code when in upgrade mode #6334 2019-10-01 18:26:36 +02:00
Kenn Jacobsen 29383f37e7 V8: Lazy load thumbnails in the media grid (#6510) 2019-10-01 18:21:46 +02:00
Shannon Deminick 293d50f400 Merge pull request #6051 from MicroTekAppDev/temp8-5484
Fix for #5484 - V8 : Back office freeze when opening multiple content nodes
2019-10-01 18:16:04 +02:00
Florian Beijers 5b2d2d22c4 add aria markup to umb-toggle so it behaves like the checkbox it is 2019-10-01 17:13:50 +02:00
Warren Buckley e9b0d32401 Merge pull request #6497 from umbraco/v8/bugfix/0000-TinyMCE-CSS-corrections-for-grid
fixing toolbar issues when sticky and RTE width in grid.
2019-10-01 13:35:38 +01:00
Warren Buckley 4f5205615e Merge pull request #6498 from umbraco/v8/bugfix/0000-TinyMCE-CSS-icon-issue
V8/bugfix/0000 tiny mce css icon issue
2019-10-01 13:14:38 +01:00
Niels Lyngsø c2b6e49ad3 fixing icon issue in PreValueEditor 2019-10-01 13:35:27 +02:00
Warren Buckley ad2f3feb22 Merge pull request #6496 from umbraco/v8/bugfix/0000-TinyMCE-init-fix
Fix initialization problem with TinyMCE 4
2019-10-01 11:19:32 +01:00
Niels Lyngsø 6cfe689a69 fixing toolbar issues when sticky and RTE width in grid. 2019-10-01 12:17:23 +02:00
Carole Rennie Logan 77dc014b58 More inclusive language 2019-10-01 12:08:56 +02:00
Shannon 3a1078824d Merge branch 'v8/dev' of https://github.com/umbraco/Umbraco-CMS into v8/dev 2019-10-01 12:02:29 +02:00
Shannon 3422f1c3cf Merge branch 'PerplexDaniel-6179+6180-read-write-segmented-property-values' into v8/dev 2019-10-01 12:01:57 +02:00
Niels Lyngsø 742bce039d added timeout 2019-10-01 10:25:50 +02:00
Bjarne Fyrstenborg 038e650e0f Adjust log viewer search layout (#6491) 2019-10-01 09:57:08 +02:00
Shannon d677ea618c Fixes null reference caused in GridPropertyValueEditor when the value is empty 2019-10-01 09:48:46 +02:00
Shannon d97101a14b Updates tests to rename assertion method parameters including code comments 2019-10-01 09:37:43 +02:00
Anders Bjerner 279efb0e85 Added missing translations for Danish 2019-09-30 23:34:44 +02:00
Anders Bjerner 968acb183f Added punctuation (#6489) 2019-09-30 23:32:56 +02:00
Bjarne Fyrstenborg bd13619b18 Use umb-checkbox for loglevel selection 2019-09-30 23:30:19 +02:00
Anders Bjerner e9cecd0526 More punctuation for the Danish descriptions 2019-09-30 23:21:20 +02:00
Anders Bjerner 1079bfce1b Proper punctuation for the Danish translation 2019-09-30 23:04:14 +02:00
Bjarne Fyrstenborg 5b8da1ce19 Add umb-checkbox for publish unpublished content items with no… (#6485) 2019-09-30 22:39:37 +02:00
Dave Woestenborghs 5f6ab6c146 V8/fix section selection (#6481) 2019-09-30 22:38:09 +02:00
Dave Woestenborghs aab35ae3ba V8/fix user group selection (#6480) 2019-09-30 22:36:51 +02:00
Anders Bjerner 48f04f302f Sorter -> Sortér 2019-09-30 22:30:29 +02:00
Andy Butland ad5158612f Updated project file 2019-09-30 21:32:42 +02:00
Andy Butland 9e2d7daa2b Corrected namespace 2019-09-30 21:31:56 +02:00
Andy Butland 133704db7b Update validation message fields to single-line inputs 2019-09-30 20:22:13 +02:00
Andy Butland 973117df58 Updated migration plan to move validation messages into migration to 8.3 2019-09-30 20:16:29 +02:00
Kenn Jacobsen 9527059abf Make sure search doesn't close when clicking "Clear" (#5797) 2019-09-30 19:24:00 +02:00
Kenn Jacobsen e286e60a3b Use umb-checkbox in the delete doctype confirm (#4982) 2019-09-30 19:22:36 +02:00
Kenn Jacobsen 47f27e8eec Remove "RenderModel" from various comments throughout the code (#4814) 2019-09-30 19:14:26 +02:00
Søren Gregersen 3fd412e962 fix: Missing "=" in Flickr markup
Seems to have been missing in quite a lot of versions :)
2019-09-30 19:13:12 +02:00
Dirk Seefeld 9e1809eeec Idseefeld umbraco config lang de (#5776) 2019-09-30 19:07:37 +02:00
Kenn Jacobsen 985df6e32b V8: Show the breadcrumb when creating new content (#6128) 2019-09-30 18:51:05 +02:00
Andy Butland 0fe373259b Merge branch 'v8/dev' into feature/5702-custom-validation-messages 2019-09-30 18:45:00 +02:00
Sebastiaan Janssen f1b724bdc4 5867 enables tabbing to field-lock-toggler, and adds tab-focus styling (#5876) 2019-09-30 18:36:37 +02:00
Sebastiaan Janssen 765d1576e0 Hide the icon from screen readers 2019-09-30 18:35:35 +02:00
Sebastiaan Janssen 6d57fcca8c Merge branch 'v8/dev' into pr/5876 2019-09-30 18:34:24 +02:00
Kenn Jacobsen 53a129ab22 V8: Support multiple URL aliases in umbracoUrlAlias (#5875) 2019-09-30 18:32:24 +02:00
Kenn Jacobsen 37dd442682 V8: Fix alignment between dashboard headers and root nodes (#5787) 2019-09-30 18:30:18 +02:00
Bjarne Fyrstenborg 48fbd4aec2 Update noUiSlider to latest patch version 2019-09-30 18:29:30 +02:00
Kenn Jacobsen 1101391659 Remove the GUID input hover title (#4829) 2019-09-30 18:21:50 +02:00
Sebastiaan Janssen 45249be8b2 Merge branch 'v7/dev' into v8/dev
# Conflicts:
#	src/Umbraco.Core/ObjectExtensions.cs
2019-09-30 18:13:06 +02:00
Benjamin Howarth a37b1075a1 #2996 resubmitting ContentExtensions and ObjectExtensions fixes (#6473)
(cherry picked from commit 79bf9b753c)
2019-09-30 17:56:08 +02:00
Benjamin Howarth 79bf9b753c #2996 resubmitting ContentExtensions and ObjectExtensions fixes (#6473) 2019-09-30 17:54:28 +02:00
mh@ecreo.dk b4f2b023de adds missing language key 2019-09-30 16:41:05 +02:00
Shannon af8c3459e3 Moves Assert4A/B methods to methods and renames some parameters ... need to figure out what the rest mean 2019-09-30 15:59:45 +02:00
Shannon f992da41f7 Merge branch '6179+6180-read-write-segmented-property-values' of https://github.com/PerplexDaniel/Umbraco-CMS into PerplexDaniel-6179+6180-read-write-segmented-property-values 2019-09-30 15:04:06 +02:00
Warren Buckley d7ede1d903 Merge pull request #6331 from umbraco/v7/bugfix/6024-app-event-handler-weight
Fixes ApplicationEventHandler default weight of -100 not set on Umbraco.Web ApplicationEventHandlers #6024
2019-09-30 14:03:14 +01:00
Sebastiaan Janssen 1512800639 Bump to RC version 2019-09-30 13:48:43 +02:00
Warren Buckley 1f37974f15 Merge pull request #6462 from umbraco/v8/bugfix/2997-get-by-key-cache-refresher
Fixes #2997 - ContentService returns outdated result
2019-09-30 12:33:51 +01:00
Jan Skovgaard f3086cf22e Fix minor issues in umb-app-header (#6457) 2019-09-30 10:55:41 +02:00
Bjarne Fyrstenborg a83b72ed47 v8: Add umb file icon component (#6293) 2019-09-29 17:51:17 +02:00
Bjarne Fyrstenborg ca824b01d6 v8: Add confirm overlay when deleting user account (#5487) 2019-09-29 17:02:12 +02:00
Steve Megson 88c6bb9c21 V8: Redirect tracking on move (#6344) 2019-09-29 16:49:04 +02:00
Kenn Jacobsen ca8d5b948c Don't YSOD when editing doctype from content that hasn't been saved yet 2019-09-29 16:07:29 +02:00
Andy Butland 1acb6f5215 Re-ordered and updatesd language delete clauses in language repository to ensure any tags for the language are deleted before the language itself is deleted 2019-09-29 16:04:54 +02:00
Jan Skovgaard 2cd92e7394 Use aria attributes in dialog markup (#6402) 2019-09-29 15:54:04 +02:00
Andy Butland cb5b9ed7e4 Hide settings and delete option when re-ordering doc type properties 2019-09-29 15:40:14 +02:00
Andy Butland d984014258 Fixes #6400: Content Templates don't set name correctly when cr… (#6404) 2019-09-29 15:37:09 +02:00
BatJan e1d28608cf Ensure notifications are announced by screen readers and tweak semanics and a litle styling too 2019-09-29 15:24:32 +02:00
Bjarne Fyrstenborg 795b64dadd v8: Change button style for "create package" and "show more" (in the log viewer) (#6428) 2019-09-29 15:16:50 +02:00
Sebastiaan Janssen df6e29a249 Uses just the fix from #6414 - to show a preview of svg files after selection in the media picker 2019-09-29 14:55:39 +02:00
Bjarne Fyrstenborg fa0bdd5aaf v8: Fix media picker svg preview (#6418) 2019-09-29 14:28:00 +02:00
Bjarne Fyrstenborg e20437d8db v8: Change confirm delete button style (#6429) 2019-09-29 13:49:17 +02:00
Bjarne Fyrstenborg 9ec1c05304 v8: Use umb-radiobutton component in relation types (#6454) 2019-09-29 13:48:00 +02:00
Sebastiaan Janssen b87fc4a779 Fix #6461 - declares missing variable 2019-09-29 13:35:40 +02:00
Søren Kottal 5b79d780f7 enables infinite editing for partial views 2019-09-29 13:34:24 +02:00
Søren Kottal 7ad97de848 enables infinite editing for members 2019-09-29 13:21:33 +02:00
Sebastiaan Janssen e37434d816 Don't keep appending the content name on each change of the language dropdown
(cherry picked from 02c3a5a5b2797d59b229d1fbcc8ab6524f247e55 and 7de7e59f55)
2019-09-29 11:54:27 +02:00
Bjarne Fyrstenborg ea0dc9d68f v8: Package repo categories selection updates (#6459) 2019-09-29 11:49:28 +02:00
Gunnar 8a06f2f062 fixed xml comment for GridConfigurationEditor 2019-09-29 11:42:55 +02:00
Sebastiaan Janssen 7de7e59f55 Something went wrong with the title update
Instead of $rootScope, which is not injected, we need to use scope
The title prefix didn't include the original title
2019-09-28 11:29:04 +02:00
Shannon 35a7283952 Fixes #2997 - ContentService returns outdated result 2019-09-27 10:59:29 +02:00
Shannon 99d2bef704 Merge branch 'v8/8.2' into v8/dev 2019-09-27 10:58:45 +02:00
Shannon Deminick cf36268f9f Merge pull request #6338 from umbraco/v8/bug/6162-angular-filter-fix
Fixes v8: Correct label filter is applied when copying NC
2019-09-27 09:54:10 +02:00
Sebastiaan Janssen 52c4a57247 In addition to #6236 - now this now longer keeps appending the content name on each change of the language dropdown 2019-09-26 19:04:09 +02:00
Rasmus John Pedersen ae6004166f Disallow deleting "Sensitive data" user group 2019-09-26 18:40:45 +02:00
Jan Skovgaard d67a89114c Health Check - Text alternatives for icons missing (In Groups) (#6453) 2019-09-26 18:38:38 +02:00
Rasmus John Pedersen 6beb84442c Disable rename alias of system user groups 2019-09-26 18:34:48 +02:00
BatJan 885f0f0cae Lower the z-index so it does not clash with the publishing menu 2019-09-26 16:47:16 +02:00
Martin Jensen 99dcbd3272 Removing unnecessary delete confirmation (#6448) 2019-09-26 16:27:24 +02:00
Niels Lyngsø 759c8b8b98 updated comment 2019-09-26 16:26:07 +02:00
Niels Lyngsø 3d9c2fee7c new Angular Truncate Filter, that supports Legacy version from Umbraco Forms, plus updated code for even prettier truncated content. 2019-09-26 16:26:07 +02:00
Niels Lyngsø 2c18a125c6 Revert "Renamed angular filter so it doesn't collide with the "truncate" one in Forms."
This reverts commit f1cb89b249bdea3faf4b6d6ccf248f64b2056040.
2019-09-26 16:26:07 +02:00
elitsa 93df9c4dfd Renamed angular filter so it doesn't collide with the "truncate" one in Forms. 2019-09-26 16:26:07 +02:00
Shannon Deminick 8a2661c966 Merge pull request #6446 from umbraco/v8/bugfix/AB2881-RTE-preventdrag-for-unallowed-configs
Fixes #6424 - Prevent drag & drop of images if button to insert media is not enabled
2019-09-26 16:15:27 +02:00
BatJan 9c366fe42b Provide text alternatives for non-visual context
Co-authored-by: webdokkeren <thormadsenholm@gmail.com>
2019-09-26 16:11:03 +02:00
Warren Buckley a59fffd891 Keep it DRY 2019-09-26 15:10:23 +01:00
Bjarke Berg 768c9e99fb Merge pull request #6442 from umbraco/v8/bugfix/0000-TinyMCE-toolbar-visual-correction
TinyMCE looking more Umbraco alike
2019-09-26 15:43:10 +02:00
Niels Lyngsø df858d47c2 fixing the looks for Grid 2019-09-26 15:40:51 +02:00
Shannon Deminick fb9b1e0c7f Merge pull request #6447 from umbraco/v8/bugfix/lucene-index-diagnostics
Automatically assign LuceneIndexDiagnostics instead of GenericIndexDiagnostics for LuceneIndexes
2019-09-26 15:35:07 +02:00
Andrei Ilie Pîrvan b188bfa059 fix issue #6248 2019-09-26 15:34:51 +02:00
Warren Buckley 87df6c74c9 * Ensure you can only drag and drop or paste images in when the insert image/media button is enabled in thr RTE toolbar/config
* If disallowed then we add a new native browser event for dragover etc to prevent dropping & showing the no/stop sign icon
2019-09-26 14:31:20 +01:00
Bjarke Berg 6a7b9fa6f7 Merge branch 'v8/8.2' into v8/dev 2019-09-26 15:30:51 +02:00
Bjarke Berg e90a10ba95 Merge pull request #6443 from umbraco/v8/bugfix/0000-TinyMCE-toolbar-width-fix
lets not set a specific width, but do it by CSS.
2019-09-26 15:28:40 +02:00
Shannon 7e3cce91eb Automatically assign LuceneIndexDiagnostics instead of GenericIndexDiagnostics for LuceneIndexes 2019-09-26 15:27:59 +02:00
Niels Lyngsø 1a85c4a635 overwrite TinyMCE skin to match Umbraco Visuals 2019-09-26 15:05:02 +02:00
Shannon 6793167865 fixes brackets 2019-09-26 14:25:06 +02:00
Sebastiaan Janssen 5831cd9159 Merge branch 'v7/dev' into v8/dev
# Conflicts:
#	src/Umbraco.Core/Serialization/JsonNetSerializer.cs
#	src/Umbraco.Web/Editors/BackOfficeController.cs
2019-09-26 13:45:50 +02:00
Sebastiaan Janssen 905b241426 #2996 added GlobalSettings.DebugMode switch for JSON formatting indentation.
(cherry picked from commits d3c4aace16 / 16837d018a)
2019-09-26 13:39:53 +02:00
Benjamin Howarth 16837d018a #2996 changed formatting to none for both data transfer & persistence 2019-09-26 13:33:41 +02:00
Benjamin Howarth d3c4aace16 #2996 added GlobalSettings.DebugMode switch for JSON formatting indentation. 2019-09-26 13:33:41 +02:00
Niels Lyngsø 1fc1de9c73 lets not set a specific width, but do it by CSS. 2019-09-26 13:13:38 +02:00
Bjarke Berg 4904060d7f Merge remote-tracking branch 'origin/v8/8.2' into v8/dev 2019-09-26 13:04:54 +02:00
Bjarke Berg 36319efc90 Merge pull request #6438 from umbraco/v8/bugfix/macro-still-selectable
Fixes selecting Macro Content in RTE to be non editable once node is saved
2019-09-26 13:04:21 +02:00
Warren Buckley f3496d894b Adds contenteditable=false attribute as for whatever reason the CSS class of .mceNonEditable is not working when a macro is saved & loaded in a content node 2019-09-26 11:36:43 +01:00
Bjarke Berg 6c1df64eee Merge branch 'v8/8.2' into v8/dev 2019-09-26 11:47:38 +02:00
Bjarke Berg 198aee27ce Merge pull request #6432 from umbraco/v8/bugfix/non-unique-ids
Use unique IDs for all password fields in umb-login
2019-09-26 11:46:16 +02:00
Sebastiaan Janssen 8ec73b1810 Merge branch 'v8/8.2' into v8/dev 2019-09-26 11:31:30 +02:00
Bjarke Berg 39ad226007 Merge pull request #6434 from umbraco/v8/feature/0000-RTE-initialization-polish
RTE initialization fix
2019-09-26 11:28:26 +02:00
Nathan Woulfe 713cf2312f adding visibility:hidden to the un-hovered list fixes the problem. have also tidied up the css a bit to remove duplicate class references 2019-09-26 11:28:23 +02:00
swcs c652e47c3e overlay "target"-positioning updates correctly on content changes and container resize 2019-09-26 11:26:29 +02:00
Bjarke Berg 0b7c926db3 Merge pull request #6435 from umbraco/v8/bugfix/fix-rte-upload
Fix RTE Upload (Due to merge conflict & refactor) 🙈
2019-09-26 11:26:23 +02:00
Niels Lyngsø cb44138920 using angular promise instead 2019-09-26 11:23:19 +02:00
Warren Buckley b81b92ac64 Fixes up image upload bug - as this got refactored to an event. editor is now args.editor
* Also adds in the code that was in the initEvent function that got missed in merge/refactor
* Fix to use localStorageService & not native browser one
2019-09-26 10:19:23 +01:00
Warren Buckley 36914a1d71 Remove the old initEvents that is no longer used 2019-09-26 10:17:26 +01:00
Niels Lyngsø 1bc7728b69 Test for Bjarke 2019-09-26 10:39:20 +02:00
Bjarke Berg 1a9ed95235 Bumb version to 8.3 2019-09-26 10:05:41 +02:00
Niels Lyngsø f142e429e3 Merge remote-tracking branch 'origin/v8/8.2' into v8/feature/0000-RTE-initialization-polish 2019-09-26 10:04:07 +02:00
Bjarke Berg d1dc2541c7 Merge pull request #6422 from umbraco/v8/bugfix/6419-panic-no-children
Fixes #6419 regression issue in nucache causing a panic exception
2019-09-26 08:44:45 +02:00
kfc 40dd68e4bb Use unique IDs for all password fields in umb-login 2019-09-26 00:04:11 +02:00
Shannon 7d47432e96 Ensure we don't add duplicate keys 2019-09-25 21:37:22 +02:00
Sebastiaan Janssen b2ee35b3b0 Potentially fixes the last security warnings on GitHub 2019-09-25 20:38:43 +02:00
Niels Lyngsø 351323ea20 Fixed toolbar to go on multiple lines in narrow spaces 2019-09-25 15:55:50 +02:00
Shannon f6f8e3cbd5 Merge branch 'temp-5362' of https://github.com/dave0504/Umbraco-CMS into v8/dev
# Conflicts:
#	src/Umbraco.Core/Services/Implement/ContentService.cs
2019-09-25 15:54:07 +02:00
Niels Lyngsø d963c70580 using a timeout to ensure that placeholder element has been appended to document 2019-09-25 15:38:05 +02:00
Shannon afb992dd60 Merge remote-tracking branch 'origin/v7/dev' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Core/Configuration/UmbracoVersion.cs
#	src/Umbraco.Core/Security/UmbracoBackOfficeIdentity.cs
#	src/Umbraco.Core/Services/ContentService.cs
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/linkpicker/linkpicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/member/member.edit.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.controller.js
#	src/Umbraco.Web/Editors/ContentController.cs
#	src/Umbraco.Web/Editors/EntityController.cs
#	src/Umbraco.Web/Properties/Settings.Designer.cs
#	src/Umbraco.Web/Properties/Settings.settings
#	src/Umbraco.Web/UmbracoHelper.cs
2019-09-25 14:48:29 +02:00
Shannon 18cd508804 Merge remote-tracking branch 'origin/v7/7.15' into v7/dev 2019-09-25 14:22:56 +02:00
Shannon ebf55f0031 merge issue from previous branch 2019-09-25 14:18:39 +02:00
Shannon 9f83f57edc Merge branch 'v8/dev' of https://github.com/umbraco/Umbraco-CMS into v8/dev 2019-09-25 14:13:51 +02:00
Shannon 263072d5cd Merge remote-tracking branch 'origin/v8/8.1' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2019-09-25 14:13:33 +02:00
Shannon 1caf7f4587 Fixes regression issue in nucache causing a panic exception 2019-09-25 13:51:19 +02:00
Bjarke Berg be6b11d6a4 Merge pull request #6392 from umbraco/v8/feature/0000-RTE-initialization-polish
V8/feature/0000 rte initialization polish
2019-09-25 13:19:33 +02:00
Sebastiaan Janssen fb4c89b1eb Don't re-add package-lock.json when it gets regenerated 2019-09-25 11:59:41 +02:00
Sebastiaan Janssen a341bc19fb Remove package lock from the docs build to prevent more githubs security warnings
Regenerate package lock in Web.UI.Client to remove old docs references that no longer need to be there
2019-09-25 11:57:10 +02:00
Bjarke Berg 6e71286ad5 Merge branch 'v8/dev' into v8/feature/0000-RTE-initialization-polish
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js
2019-09-25 11:07:46 +02:00
Niels Lyngsø aafa314f0e Separate gulp script for docs (#6409) 2019-09-25 10:52:33 +02:00
Bjarke Berg f2d8d3f44f Merge pull request #6396 from umbraco/v8/bugfix/AB2734-Image-Deletion-Bug
Bug: RTE Image deletion error for images that has not been saved as media items
2019-09-25 08:36:27 +02:00
Warren Buckley 7e7d1eea6c Merge pull request #6415 from umbraco/0000-RTE-turn-off-agressive-paste-tidying
RTE turn off agressive paste tidying
2019-09-24 16:54:13 +01:00
Niels Lyngsø 493d7010ba Reverting to use element ID to initialisation 2019-09-24 17:10:20 +02:00
Warren Buckley 6c0d06c77c Merge branch 'v8/dev' into v8/feature/0000-RTE-initialization-polish 2019-09-24 14:22:10 +01:00
Warren Buckley 5d36423087 After merge - makes sure to resize the deleted & then re-added same image using the same sizing function 2019-09-24 13:47:04 +01:00
Warren Buckley 0aab19f201 Merge branch 'v8/dev' into v8/bugfix/AB2734-Image-Deletion-Bug
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js
#	src/Umbraco.Web/Templates/TemplateUtilities.cs
2019-09-24 13:46:02 +01:00
Bjarke Berg 51c0550c6d Merge pull request #6412 from umbraco/v8/bugfix/AB2737-restrain-image-for-dragged-pasted-images
Drag/Drop & Pasted images in RTE aren't resized to configured max image width setting
2019-09-24 13:47:02 +02:00
Niels Lyngsø 84bee5023f Merge commit '0fbabd088f3b83db00f76802221a57fec64f8895' into v8/feature/0000-RTE-initialization-polish
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js
2019-09-24 13:31:58 +02:00
Niels Lyngsø eedff5d9d1 getting rid of comments 2019-09-24 13:29:48 +02:00
Niels Lyngsø bbb369cbfb lets keep this 2019-09-24 13:29:02 +02:00
Niels Lyngsø 8782935edb no need for this anymore 2019-09-24 13:28:18 +02:00
Elitsa Marinovska 0fbabd088f Merge pull request #6013 from stevemegson/v8/temp-packaging
V8: Data type serialization in packages
2019-09-24 13:25:07 +02:00
Warren Buckley e3b4283ced Update src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2019-09-24 12:11:14 +01:00
Warren Buckley ab7d380ecc Update src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2019-09-24 12:11:01 +01:00
Warren Buckley e0218dc96e Update src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2019-09-24 12:10:55 +01:00
Warren Buckley f43a6a9004 Fix unit test 2019-09-24 12:00:39 +01:00
Warren Buckley 7728559ce4 Rather than tryinbg to find off an inserted img in the DOM use the localStorage
Uses the Angular localStorage lib that falls back to cookies as opposed to native browser localStorage
Clears out tinymce__ localstorage keys when we save the node to ensure we dont have loads stored for the user
2019-09-24 11:47:33 +01:00
elitsa 1aa6c17c7e Merge branch 'v8/dev' into v8/temp-packaging 2019-09-24 12:41:12 +02:00
Niels Lyngsø 5212514818 lets allow classes and h1,h2,h3,h4,h5,h6 no matter the configuration. 2019-09-24 11:12:13 +02:00
Niels Lyngsø aef4bfaac4 we do not use this value jet. 2019-09-24 11:11:48 +02:00
Warren Buckley 906e59c68b Merge branch 'v8/dev' into v8/bugfix/AB2734-Image-Deletion-Bug 2019-09-24 09:13:23 +01:00
Warren Buckley 7404ccf024 C# change to append/perist the width & height into the pasted/dragged image to the image src url for ImageProcessor resizing 2019-09-23 14:47:41 +01:00
Warren Buckley 92a5182427 Moves the image resize on insert into a function that media insert & drag/pasted images uses 2019-09-23 14:42:28 +01:00
CatButtes 44e2c2d93c Set add language button to correct colour
Fix Issue #6380
2019-09-20 18:06:19 +02:00
Lynne Finnigan 327764d366 Change link text for installing starter kit thumbnail & update styles 2019-09-20 17:53:13 +02:00
Søren Kottal 362fb7722d Open composition doctypes in infinite editor (#6387) 2019-09-20 15:34:53 +02:00
Kenn Jacobsen 705713b497 V8: Add clientside mandatory validation to textarea (#6390) 2019-09-20 14:10:48 +02:00
Kenn Jacobsen 10aac80ada V8: Add clientside mandatory validation to Multiple Textstring… (#6391) 2019-09-20 14:09:38 +02:00
Warren Buckley fdfaf06717 By removing the blobCache code - reintroduced a bug where if the same image was put into the RTE the data-tmpimg attribute is not applied to the duplicate image which this fixes 2019-09-20 12:53:30 +01:00
Warren Buckley 92d10db2ab Removing the code to remove the item from blobCache - fixes Shan's reported bug 2019-09-20 12:52:21 +01:00
Warren Buckley 1b4fdf1757 Update FindAndPersistPastedTempImages method to deal with duplicate images in the same RTE to only upload it once 2019-09-20 12:51:06 +01:00
Kenn Jacobsen 71f4a79959 Fix mandatory validation for Member and Member Group pickers (#6393) 2019-09-20 13:49:27 +02:00
Kenn Jacobsen 0c67603745 Make mandatory validation work for Media Picker (#6394) 2019-09-20 13:48:31 +02:00
Kenn Jacobsen 1d6dbbebe3 Make mandatory validation work for Markdown Editor 2019-09-20 13:47:27 +02:00
Lynne Finnigan 77e41489c1 Changed 'customize' anchor tag to a button element 2019-09-20 13:18:29 +02:00
stevemegson 2adb6636bd V7: Error upgrading due to SecurityStamp being null (#6343)
* Allow login with a null SecurityStamp when upgrading

* Added migration to fill in missing SecurityStamp

* Make sure we initialize UmbracoContext as it is needed in some tests that use UmbracoBackOfficeIdentity.AddUserDataClaims

* Moved check for null SecurityStamp

* Generate new SecurityStamp in C#

* Bump version to 7.15.4
2019-09-20 13:09:26 +02:00
stevemegson 98e39ed3ef V7: Error upgrading due to SecurityStamp being null (#6343)
* Allow login with a null SecurityStamp when upgrading

* Added migration to fill in missing SecurityStamp

* Make sure we initialize UmbracoContext as it is needed in some tests that use UmbracoBackOfficeIdentity.AddUserDataClaims

* Moved check for null SecurityStamp

* Generate new SecurityStamp in C#

* Bump version to 7.15.4
2019-09-20 11:38:44 +02:00
Niels Lyngsø 4259c9bf1d less flickering on init of TinyMCE 2019-09-20 11:08:21 +02:00
Sebastiaan Janssen 77ff96d64f Bump version to 8.1.5 2019-09-20 09:54:30 +02:00
Niels Lyngsø 12fd9baf3b clean up init + move editor.uploadImages to service instead of specific implementation 2019-09-20 09:08:28 +02:00
Daniël Knippers 8e5b37cbc8 Merge branch 'upstream-v8-dev' into 6179+6180-read-write-segmented-property-values 2019-09-20 09:05:57 +02:00
Shannon Deminick b56796ca27 Merge pull request #6365 from umbraco/v8/bugfix/AB2727-RTEUploadImage-Prevent-Node-Save
Content items must prevent saving while image upload is in progress
2019-09-20 11:56:17 +10:00
Shannon a5aa63d951 Merge branch 'v8/dev' into v8/bugfix/AB2727-RTEUploadImage-Prevent-Node-Save
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/content/edit.controller.js
2019-09-20 11:06:18 +10:00
Shannon a0c0f61ef4 fix js unit test 2019-09-20 11:03:45 +10:00
Kenn Jacobsen 97ac31a858 Fix preview with multiple cultures + highlight the current culture 2019-09-19 15:27:40 +02:00
stevemegson e9bd67b695 V8: Tours - fix scrolling highlighted element into view (#6356) 2019-09-19 15:20:16 +02:00
Steve Megson 7c2643d57a Reload after rollback 2019-09-19 14:59:25 +02:00
Daniël Knippers aa4677e1dd Added and updated unit tests for the ValidateVariation method 2019-09-19 14:52:05 +02:00
Sebastiaan Janssen 2a3b169923 Fix bad merge
(cherry picked from commit 5fdae055d5)
2019-09-19 13:15:37 +02:00
Sebastiaan Janssen 5fdae055d5 Fix bad merge 2019-09-19 13:13:21 +02:00
Warren Buckley 66d804d3db Merge pull request #6372 from umbraco/v8/feature/0000-RTE-paste-from-word
Improve content pasted from MS Word
2019-09-19 12:02:40 +01:00
martin j griffiths 4535885bdb Update rte.controller.js
Fix issue where an embedded macro prevents editor from returning to pristine/valid after a publish

(cherry picked from commit b4495d0ae5)
2019-09-19 11:53:38 +02:00
martin j griffiths b4495d0ae5 Update rte.controller.js
Fix issue where an embedded macro prevents editor from returning to pristine/valid after a publish
2019-09-19 11:50:47 +02:00
Warren Buckley 8708a0ae97 Wrap in safeApply 2019-09-19 10:38:33 +01:00
Niels Lyngsø 59c5f4cd7c further comment 2019-09-19 11:36:41 +02:00
Niels Lyngsø a3de75f4c0 added comments + better naming 2019-09-19 11:34:45 +02:00
Niels Lyngsø f28d52898d no need for this one 2019-09-19 11:15:32 +02:00
Kenn Jacobsen 9c12b4ee40 V8: Fix clientside mandatory validation for checkbox list (#5780)
(cherry picked from commit f7d9c0b108)
2019-09-19 11:07:37 +02:00
Kenn Jacobsen f7d9c0b108 V8: Fix clientside mandatory validation for checkbox list (#5780) 2019-09-19 11:04:02 +02:00
Warren Buckley e92823f756 Remove the un-needed notificiation 2019-09-19 10:00:42 +01:00
Shannon Deminick 8c46984a2f U4-9912 Previewing without changing creates new version (#1943)
(cherry picked from commit 7d0d5b9c93)
2019-09-19 10:48:08 +02:00
Shannon Deminick 7d0d5b9c93 U4-9912 Previewing without changing creates new version (#1943) 2019-09-19 10:46:02 +02:00
Malthe Petersen a420c145ae 5989 - fixed focalpoint for infinite media picker (#5991) 2019-09-19 10:23:55 +02:00
Kenn Jacobsen 5caaec2af8 V8: Set the form as dirty when adding/removing colors to/from Umbraco.ColorPicker (#5998) 2019-09-19 10:10:09 +02:00
Niels Lyngsø bb99891c2f a few extra element types to allow 2019-09-19 09:29:53 +02:00
Kenn Jacobsen 23ee9eae42 Grant the default admin group access to the Translation section 2019-09-19 09:23:48 +02:00
Niels Lyngsø 380d876f7e remove test of umb-paste-plugin 2019-09-19 09:19:20 +02:00
Niels Lyngsø f8b2489288 clean out image tests 2019-09-19 09:18:11 +02:00
Benjamin Carleski 3be2a98bd3 Add missing FROM clause
(cherry picked from commit f4e61ddf23)
2019-09-19 09:12:23 +02:00
Benjamin Carleski f4e61ddf23 Add missing FROM clause 2019-09-19 09:10:56 +02:00
Niels Lyngsø ec2e27dd07 img configs for tiny 2019-09-19 08:21:06 +02:00
Bjarne Fyrstenborg 71b3260b1d v8: Checkbox radio onchange fix (#6348)
(cherry picked from commit 6a143796c3)
2019-09-18 17:31:16 +02:00
Bjarne Fyrstenborg 6a143796c3 v8: Checkbox radio onchange fix (#6348) 2019-09-18 17:30:12 +02:00
Warren Buckley 3f30be450d Emit event when upload of image starts & stops
Listen for events in content edit JS controller to change the state of the buttons to be 'busy' to avoid page/node being saved whilst large image is uploaded or slow connection
2019-09-18 15:27:30 +01:00
Shannon Deminick 255bcfbc77 Merge pull request #5801 from bielu/v8/dev
Remove last casting to LuceneIndex

(cherry picked from commit 9ba7e7742a)
2019-09-18 15:56:22 +02:00
Shannon Deminick 251d12b1fd Merge pull request #6341 from umbraco/v8/feature/2558AB-NonEditable-OEmbed
Wraps all OEmbed items in a div with the magic CSS class of mceNonEdi…
2019-09-18 22:32:06 +10:00
Shannon 5cfdfd6e9c Moves temp file cleanup to a background task 2019-09-18 22:03:31 +10:00
Warren Buckley c6af9dc6f9 Ad back the magic mceNonEditable CSS class as when its moved & cut around the non-editable attribute does not seem to get re-aspplied 2019-09-18 13:00:52 +01:00
Shannon 87d0937389 Merge branch 'v8/dev' of https://github.com/umbraco/Umbraco-CMS into v8/dev 2019-09-18 20:44:40 +10:00
Shannon a384c0866b Ensures the tinymce baseURL is set before it's initialized so that when we minify it's assets it knows where to load more assets from. 2019-09-18 20:44:11 +10:00
Warren Buckley 8b7418164d Merge pull request #6347 from umbraco/v8/bugfix/AB2684-purelive-model-regen
Lazily recompile PureLive models and lazily create models for nucache
2019-09-18 10:47:04 +01:00
Niels Lyngsø bf9eeb4e37 make OEmbeds non-editable + ability to edit OEmbeds on a later state 2019-09-18 11:24:42 +02:00
Warren Buckley 5fb5388fb5 WIP: Re-open the embed dialog & pass the data attribues found on the containert DIV back to the dialog to re-edit URL, width/height etc 2019-09-17 16:07:43 +01:00
Shannon cc1e46ae05 Simplifies ContentStore for all the instances it's trying to find a linked node by a gen 2019-09-18 00:36:12 +10:00
Shannon e6805b23e3 Oops! didn't complete the scope, ok now package install works within a trans, fixes nucache changes to not pass around _liveGen since sometimes we want the latest that is not _liveGen 2019-09-18 00:10:02 +10:00
Niels Lyngsø b81bd66456 Remove limit of dashboard tabs and fix when expand menu is shown (#6336)
Remove limit of dashboard tabs and fix when expand menu is shown
2019-09-17 15:34:43 +02:00
Shannon ab79cd74b8 Fixes lazy iteration issue on package install 2019-09-17 23:31:32 +10:00
Elitsa Marinovska a6ee500735 Merge pull request #5967 from stevemegson/v8/content-migration
Content migration - typed labels based on alias rather than ID
2019-09-17 15:06:31 +02:00
Shannon 3cf1e18dff Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/AB2684-purelive-model-regen 2019-09-17 23:01:15 +10:00
Shannon ef007382b5 only enable the ModelBindingExceptionFilter when running PureLive, there should be no other reason to have this filter 2019-09-17 22:58:06 +10:00
Shannon 1eb1c9dc4d allows for disabling the modelbinderexceptionfilter from config for testing, adds notes 2019-09-17 22:50:57 +10:00
Shannon 7fdbb84c04 Fixes bug with nucache - it wasn't using gen/snapshots the way it was supposed to 2019-09-17 22:38:43 +10:00
elitsa f8924df711 Merge branch 'v8/dev' into v8/content-migration 2019-09-17 14:34:54 +02:00
Warren Buckley 39d833c716 Adss new deciated CSS/Less file that loads only in the TinyMCE RTE for us to style macros & emebed stuff 2019-09-17 12:49:34 +01:00
Warren Buckley 00936b8732 Merge branch 'v8/dev' into v8/feature/2558AB-NonEditable-OEmbed 2019-09-17 10:23:44 +01:00
Bjarke Berg 49bca0fa43 Merge pull request #6325 from umbraco/v8/feature/2438AB-RTE-Image-Config-MediaFolder
V8: AB 2438 - RTE Pasted/Dragged Images Media Folder Config
2019-09-17 11:16:26 +02:00
Kenn Jacobsen f065c455ab Hide the search results automatically when removing the search term (#5783) 2019-09-17 10:51:59 +02:00
Warren Buckley 519fcab087 Use the recrusive feature bool of Directory.Delete to delete the file at the same time :) 2019-09-17 09:25:26 +01:00
Warren Buckley 11194314fb Be less verbose and assign in one line 2019-09-17 09:22:09 +01:00
Shannon 54110573bc dont hide model binding exceptions if in debug mode 2019-09-17 17:00:21 +10:00
Shannon 7c3351e89f Merge remote-tracking branch 'origin/v8/8.1' into v8/dev 2019-09-17 13:23:37 +10:00
Shannon e1433ddac9 Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/AB2684-purelive-model-regen 2019-09-17 13:09:54 +10:00
Shannon Deminick aca648d84f Merge pull request #6354 from zpqrtbnk/v8/bugfix/nucache-content-store
Bugfix NuCache ContentStore
2019-09-17 13:08:59 +10:00
Stephan b51fb2da9d Fix NuCache ContentStore 2019-09-16 17:27:03 +02:00
Stephan c1d3bfaa5d Add breaking NuCache test 2019-09-16 17:25:53 +02:00
Kenn Jacobsen 11e82f2600 V8: Make validation work properly with multiple invalid properties (#6290) 2019-09-16 16:42:46 +02:00
Kenn Jacobsen 6467aae206 Support "allow items of type" for all types in MNTP (#6177) 2019-09-16 16:32:29 +02:00
Bjarne Fyrstenborg 2faa760628 v8: Fix onChange callback in umbCheckbox and umbRadiobutton (#6345)
(cherry picked from commit be0d38f2af)
2019-09-16 12:57:22 +02:00
Bjarne Fyrstenborg be0d38f2af v8: Fix onChange callback in umbCheckbox and umbRadiobutton (#6345) 2019-09-16 12:56:37 +02:00
Jan Skovgaard 976465be4b Fix some accessibility misunderstandings (#6342) 2019-09-16 12:38:16 +02:00
Warren Buckley 0d49288875 Update src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2019-09-16 09:34:49 +01:00
Warren Buckley 14e33e0cb5 Update src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2019-09-16 09:33:42 +01:00
Shannon 6d886e3810 removes uneeded IsDocumentRequest method 2019-09-16 17:55:04 +10:00
Shannon de8d253a7c obsoletes WithSafeLiveFactory 2019-09-16 17:44:50 +10:00
Shannon c27e876c75 Removes BackgroundPublishedSnapshotNotifier 2019-09-16 17:40:48 +10:00
Shannon 2b9ab0a38a Merge branch 'v8/bugfix/background-pure-live-rebuild-AB1833' into v8/bugfix/AB2684-purelive-model-regen
# Conflicts:
#	src/Umbraco.Web/Cache/ContentTypeCacheRefresher.cs
#	src/Umbraco.Web/Cache/DataTypeCacheRefresher.cs
2019-09-16 17:38:10 +10:00
Shannon 00c720413a Uses reflection to call ResetModels to flag MB to recompile. 2019-09-16 17:23:00 +10:00
Shannon 47d3af9bb3 removes the test suspendable model factory code 2019-09-16 16:59:57 +10:00
Shannon bc40216eca Ensure package installation for data is executed within a single scope/trans 2019-09-16 16:31:16 +10:00
Shannon 4c775822c0 fixes null ref issues since the field values were not copied on clone 2019-09-16 16:22:05 +10:00
Shannon ebada94a48 temp - removing the SuspendSafeLiveFactory for now 2019-09-16 14:59:12 +10:00
Shannon fc821000f3 Adds ext methods for creating a flag to indicate model recompilation should occur 2019-09-16 14:50:05 +10:00
Shannon bc42adb2ce removes notifying all content/media of content type changes since nucache model creation is lazy now 2019-09-16 14:31:27 +10:00
Shannon a85d8f3e21 ensure that we don't CreateModel during cache notification 2019-09-16 14:25:02 +10:00
Shannon 5898b64174 disable force rebuilding pure live models on schema changes 2019-09-16 14:24:25 +10:00
Shannon Deminick 84fcd309d6 Merge pull request #6346 from zpqrtbnk/v8/bugfix/lazy-nucache
Lazily create content and models in NuCache
2019-09-16 11:48:07 +10:00
Shannon ba74b7543c wraps package uninstall in a scope, creates temp SuspendSafeLiveFactory method for testing 2019-09-16 11:47:05 +10:00
Kenn Jacobsen 589cbe504a Make Multi URL Picker mandatory validation work clientside
(cherry picked from commit 7507345c93)
2019-09-15 16:27:53 +02:00
Kenn Jacobsen 7507345c93 Make Multi URL Picker mandatory validation work clientside 2019-09-15 16:27:11 +02:00
Kenn Jacobsen 3c71db1a04 Make sure the validation error help is visible for Multi URL Picker
(cherry picked from commit 5b949cef3c)
2019-09-15 16:25:12 +02:00
Kenn Jacobsen 5b949cef3c Make sure the validation error help is visible for Multi URL Picker 2019-09-15 16:24:19 +02:00
Kenn Jacobsen 956b725e3d V8: Localize the default property validation error (#6294) 2019-09-15 16:23:14 +02:00
Jan Skovgaard dce593d260 Add leave function for "Save and publish" options popup #6298 (#6300) 2019-09-15 15:40:22 +02:00
Jan Skovgaard a4ac2328f9 "Actions" is identified as a button, but behaves like a drop do… (#6303) 2019-09-15 15:29:43 +02:00
Jan Skovgaard 41c4f12d1b Links components (e.g. 'Footer links'), 'Add' is identfied as "Add link" but doesn't identify the label (#6304) 2019-09-15 15:08:23 +02:00
Jan Skovgaard de656acec6 Links components (e.g. 'Footer links') can not be tabbed to (#6305) 2019-09-15 15:01:53 +02:00
Bjarne Fyrstenborg 234a0c45c0 v8: umbCheckbox and umbRadiobutton fixes (#6302) 2019-09-15 12:42:34 +02:00
Kenn Jacobsen 24691b4ce0 Make decimal properties work with mandatory validation clientside
(cherry picked from commit 0582e4f72e)
2019-09-15 12:32:39 +02:00
Kenn Jacobsen 0582e4f72e Make decimal properties work with mandatory validation clientside 2019-09-15 12:32:22 +02:00
Kenn Jacobsen 9ed50613ed Make integer properties work with mandatory validation clientside
(cherry picked from commit 26b40ebfd2)
2019-09-15 12:31:29 +02:00
Kenn Jacobsen 26b40ebfd2 Make integer properties work with mandatory validation clientside 2019-09-15 12:31:01 +02:00
Michael Pontin ba63470833 Added double check for the decimal label
(cherry picked from commit 1c9ed847a1)
2019-09-15 12:29:28 +02:00
Michael Pontin 1c9ed847a1 Added double check for the decimal label 2019-09-15 12:29:12 +02:00
Kenn Jacobsen 0934a83aec Fix textbox aria-required
(cherry picked from commit e83760c6bd)
2019-09-15 12:25:30 +02:00
Kenn Jacobsen e83760c6bd Fix textbox aria-required 2019-09-15 12:25:13 +02:00
Kenn Jacobsen b0e788fdaa Don't show NC delete confirmation if an item can't be deleted
(cherry picked from commit 3f4bff9ac3)
2019-09-15 12:22:21 +02:00
leekelleher f98df48c25 Help Drawer - Hide Tours if there are none
`vm.tours` is declared as an empty array (in the controller),
it isn't null, so we need to check the array length.
Otherwise if there are none, the "Tours" title is displayed.

(cherry picked from commit a51f7b29de)
2019-09-15 12:22:10 +02:00
Kenn Jacobsen 3f4bff9ac3 Don't show NC delete confirmation if an item can't be deleted 2019-09-15 12:20:48 +02:00
leekelleher a51f7b29de Help Drawer - Hide Tours if there are none
`vm.tours` is declared as an empty array (in the controller),
it isn't null, so we need to check the array length.
Otherwise if there are none, the "Tours" title is displayed.
2019-09-15 11:55:17 +02:00
Warren Buckley 3c0b1797b7 Wraps all OEmbed items in a div with the magic CSS class of mceNonEditable which means users can highlight the entire item in one go, to copy/cut/move about as needed 2019-09-13 15:32:26 +01:00
Niels Lyngsø fa3f5287c1 making our own paste plugin to be able to handle images in pasted content from MS Word 2019-09-13 13:44:54 +02:00
Niels Lyngsø f59cf544a5 make gulp able to watch libs 2019-09-13 13:43:48 +02:00
Warren Buckley 63914aec4f Couple of fixes 2019-09-13 11:10:47 +01:00
Warren Buckley df6da16161 Merge branch 'v8/dev' into v8/feature/2438AB-RTE-Image-Config-MediaFolder
# Conflicts:
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
#	src/Umbraco.Web/Templates/TemplateUtilities.cs
2019-09-13 09:51:53 +01:00
Rasmus John Pedersen e2ba9e1eb4 Remove limit of dashboard tabs and fix when expand menu is shown 2019-09-13 10:31:44 +02:00
Stephan e5634d13f1 Lazily create content and models in NuCache 2019-09-13 09:55:53 +02:00
Shannon 6839397206 bumps examine requirements 2019-09-13 11:58:32 +10:00
Shannon 297c0a8780 Merge branch 'v8/dev' of https://github.com/umbraco/Umbraco-CMS into v8/dev 2019-09-13 11:58:19 +10:00
Shannon a9805e2b5a bumps cdf requirements 2019-09-13 11:57:12 +10:00
Shannon Deminick 3be464726b Merge pull request #6332 from umbraco/v8/feature/2349AB-RTE-Image-Upload
AB 2439 - Create API controller for uploading images for RTE (Final Fixes)
2019-09-12 23:55:59 +10:00
Warren Buckley c4026fb92f Inject all the things - aka make sure Shan doesn't poke with a sharp pointy stick for using Current 2019-09-12 14:54:21 +01:00
Shannon aa9ece94b7 naming convention and null check 2019-09-12 23:37:17 +10:00
Warren Buckley 0d0abca255 Move the general cleanup of the App_Data/TEMP/FileUploads folder for one day+ old files 2019-09-12 14:35:45 +01:00
Warren Buckley f6e9fb2845 Adds same code loop as FileUploadCleanupFilterAttribute to delete files 2019-09-12 14:27:22 +01:00
Shannon 6ade20717f Merge branch 'v8/bugfix/background-pure-live-rebuild-AB1833' of https://github.com/umbraco/Umbraco-CMS into v8/bugfix/background-pure-live-rebuild-AB1833 2019-09-12 23:15:16 +10:00
Shannon c7c2f64b62 removes comments 2019-09-12 23:15:03 +10:00
Shannon Deminick d7b950fe06 Update src/Umbraco.Web/RoutableDocumentFilter.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2019-09-12 23:14:18 +10:00
Shannon Deminick 2c27a631c9 Update src/Umbraco.Web/RoutableDocumentFilter.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2019-09-12 23:14:10 +10:00
Warren Buckley 056e057cbb Merge pull request #6327 from umbraco/v8/feature/6326-RTE-Image-size-as-attribute
store img size as html attributes
2019-09-12 12:51:05 +01:00
Niels Lyngsø 31d09c5e04 paste tidying 2019-09-12 13:47:29 +02:00
Warren Buckley a5c5a12a00 Remove dupe Authz attribute 2019-09-12 12:07:57 +01:00
Warren Buckley ba319609f2 Fix up tests - thanks again VS for not notifying me that the Build fails when I build the entire SLN 2019-09-12 09:40:21 +01:00
Warren Buckley ec0c79a38c Merge branch 'v8/dev' into v8/feature/2438AB-RTE-Image-Config-MediaFolder 2019-09-12 09:18:55 +01:00
Warren Buckley 632808acdb * Inbject UmbracoContextAccessor & null check it for the user id
* Remove unused & sort usings
2019-09-12 09:04:23 +01:00
Steve Megson ffcc84b1fb Data type configuration serialization 2019-09-12 08:57:05 +01:00
Warren Buckley 4ccebbc209 Reopen branch/PR for fixes
* Reorder usings
* Add an error response & log the reason if we can't move a file about
* Add UmbracoApplicationAuthorize attribute for security so not any user can upload images
2019-09-12 08:49:40 +01:00
Steve Megson b0deb4ceab AddTypedLabels - find standard label properties based on alias rather than ID 2019-09-12 08:45:52 +01:00
Stephan cbf6801d5a Merge branch v8/dev into v8/feature/mb-embed 2019-09-12 09:33:10 +02:00
Shannon 8a60c95a36 Fixes default weighting for Umbraco.Web handlers and adds unit test 2019-09-12 17:04:29 +10:00
Bjarke Berg 5b791a1787 Merge pull request #6246 from umbraco/v8/feature/2349AB-RTE-Image-Upload
AB 2439 -  Create API controller for uploading images for RTE
2019-09-12 08:23:39 +02:00
Shannon 81b277314c better logging 2019-09-12 16:21:17 +10:00
Warren Buckley 698dcc0fef Merge branch 'v8/feature/2349AB-RTE-Image-Upload' into v8/feature/2438AB-RTE-Image-Config-MediaFolder 2019-09-11 14:25:46 +01:00
Warren Buckley 54a3bd07d7 Logic to use -1 Media root folder if no media folder is picked on the configuration of the RTE or the Grid 2019-09-11 14:24:52 +01:00
Bjarke Berg 401e362298 Remove the image from tinyMce cache, otherwise we can't handle if we upload the exactly same image twice 2019-09-11 15:20:19 +02:00
Shannon 942c6c75c5 fixes tests 2019-09-11 23:01:11 +10:00
Niels Lyngsø 1c651b4e59 store img size as html attributes 2019-09-11 14:31:03 +02:00
Shannon 19716e3c96 fixing tests 2019-09-11 21:47:43 +10:00
Warren Buckley a6f68ceaa7 Merge branch 'v8/feature/2438AB-RTE-Image-Config-MediaFolder' of https://github.com/umbraco/Umbraco-CMS into v8/feature/2438AB-RTE-Image-Config-MediaFolder 2019-09-11 12:21:46 +01:00
Warren Buckley 496ae724b4 Merge branch 'v8/feature/2349AB-RTE-Image-Upload' into v8/feature/2438AB-RTE-Image-Config-MediaFolder
# Conflicts:
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
2019-09-11 12:20:27 +01:00
Niels Lyngsø 247a40d46b Merge branch 'v8/feature/2438AB-RTE-Image-Config-MediaFolder' of https://github.com/umbraco/Umbraco-CMS into v8/feature/2438AB-RTE-Image-Config-MediaFolder 2019-09-11 13:18:44 +02:00
Niels Lyngsø 3c137668e0 created prevalueeditor mediafolderpicker 2019-09-11 13:18:40 +02:00
Niels Lyngsø 9b4ccc78d4 corrected misspelling 2019-09-11 13:18:14 +02:00
Niels Lyngsø bb6c4ace90 ensure that we handle string values 2019-09-11 13:18:04 +02:00
Niels Lyngsø fd3fb4c937 grey out not selectable media items in media grid. 2019-09-11 13:17:40 +02:00
Niels Lyngsø 0b55468e5c make sure to check string boolean, since it arrives as string because of AngularJS 2019-09-11 13:17:26 +02:00
Warren Buckley 39050d06f9 Use a guid instead of user id & unix time offset for unique folder path 2019-09-11 11:16:47 +01:00
Warren Buckley f07be7df1c Usa a CONST for the data attribute 2019-09-11 11:13:46 +01:00
Warren Buckley 9bbc66d10d Some rename of variables for readability 2019-09-11 11:06:38 +01:00
Warren Buckley 104d414887 Fix some trailing typo stuff 2019-09-11 11:00:23 +01:00
Warren Buckley a47811f210 Update src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2019-09-11 10:55:12 +01:00
Warren Buckley 9f4697c5b3 Update src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2019-09-11 10:54:47 +01:00
Warren Buckley 9167cad9fc Update copy 2019-09-11 10:36:30 +01:00
Niels Lyngsø 734794019d Merge branch 'v8/feature/2438AB-RTE-Image-Config-MediaFolder' of https://github.com/umbraco/Umbraco-CMS into v8/feature/2438AB-RTE-Image-Config-MediaFolder 2019-09-11 11:07:35 +02:00
Niels Lyngsø 313260a6ca remove double end tag 2019-09-11 11:07:15 +02:00
Warren Buckley f735c3eae3 Updates view for Config to new PreValue editor that Niels L is working on 2019-09-11 10:05:20 +01:00
Warren Buckley 39fd953ca8 Merge branch 'v8/feature/2438AB-RTE-Image-Config-MediaFolder' of https://github.com/umbraco/Umbraco-CMS into v8/feature/2438AB-RTE-Image-Config-MediaFolder 2019-09-11 10:03:19 +01:00
Warren Buckley 28a0e0aa6f Pass through a GUID that a media picker / new folder picker will use 2019-09-11 10:02:59 +01:00
Niels Lyngsø fdeaaad738 allow mediapicker to only pick folders 2019-09-11 10:12:01 +02:00
Warren Buckley 6de4bbbae6 Adds new config option to RTE & Grid Property Editors - for now uses MediaPicker until we have a FolderPicker Angular PreValue view/editor 2019-09-11 09:03:10 +01:00
Sebastiaan Janssen 83ad1fd910 Apply only the wanted change from V7/bug/6283 save member resets password #6284 2019-09-10 17:13:31 +02:00
Elitsa Marinovska c8c60b7518 Reverting unintended merge
Revert "V7/bug/6283 save member resets password"
2019-09-10 13:56:07 +02:00
Elitsa Marinovska f0fb371b2c Revert "V7/bug/6283 save member resets password" 2019-09-10 13:54:35 +02:00
Elitsa Marinovska 979d25dd07 Merge pull request #6284 from umbraco/v7/bug/6283-save-member-resets-password
V7/bug/6283 save member resets password
2019-09-10 13:10:11 +02:00
Warren Buckley cfe196a45d Fix up C# unit tests - VS19 failed to tell me about these failing to build :S 2019-09-10 11:47:52 +01:00
Warren Buckley 83d568dd5a Fix up unit test 2019-09-10 11:32:02 +01:00
Warren Buckley e8ccfd52af Merge remote-tracking branch 'origin/v8/dev' into v8/feature/2349AB-RTE-Image-Upload
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js
2019-09-10 10:58:24 +01:00
Warren Buckley 6669b54a70 Move the logic for finding temp images for persisting into a shared class so Grid & RTE can both use it 2019-09-10 10:50:36 +01:00
Warren Buckley d5331d85af Removing the localStorage key cleanup - seems to be a timing issue if you drag the image into a middle of a word 2019-09-10 10:48:28 +01:00
elitsa 8bc2cc7d4c Merge branch 'v7/dev' into v7/bug/6283-save-member-resets-password 2019-09-10 10:50:18 +02:00
Shannon 127c429959 fix tests 2019-09-10 17:27:17 +10:00
Shannon 642c06879d ensure we don't wait on background operations when not in PureLive 2019-09-10 17:24:10 +10:00
Shannon c219c21edd ensures tests and benchmark projects are building in Debug mode 2019-09-10 17:23:49 +10:00
Shannon de03130256 Don't fully regenerate models on startup, they will be regenerated if they are not there or if the hashes don't match so let MB use it's cached models if it can. 2019-09-10 17:10:46 +10:00
Shannon 81d9ecc111 fixing tests 2019-09-10 16:58:19 +10:00
Shannon 0a12f86108 Moves the reserved path detection to RoutableDocumentFilter, adds caching to MVC route detection 2019-09-10 16:09:09 +10:00
Shannon 44fbdb7028 renames class 2019-09-10 14:23:42 +10:00
Shannon b997281e1f Only waits for background processing to finish if it's a front-end request, required caching the check for a front-end request which required moving the check to it's own class. 2019-09-10 14:10:26 +10:00
Shannon 596c745a19 Uses an event on UmbracoContext for when the snapshot is created so we can block until the background notifier is completed 2019-09-10 13:35:59 +10:00
Shannon 296afb18a4 Renames and puts in temp fix to try to find out why we are binding to old models 2019-09-10 11:50:09 +10:00
Warren Buckley 9d8e4fd66f Fixes the issue with the image being stored as a base64 inline image, which can be HUGE & make POST request slow to save the content node 2019-09-09 18:50:49 +01:00
Warren Buckley 5e394cb62b Refactor we do not instantly persist the uploaded file to a media item in Umbraco - what if the user undo's or removes it from content we will bloat the media section
* Adds a data-tmpimg attribute to the <img> in the markup, which we scan for when persisting to the DB in the RTE PropertyValueEditor to then perist media items
* TODO: Find a way to get TinyMCE to NOT send a base64 down the wire as the saved content/HTML
2019-09-09 16:04:52 +01:00
Warren Buckley 7d2c92b651 A new temp location for RTE uploads 2019-09-09 15:54:03 +01:00
Shannon fdad387414 renames objects/methods and adds a lock to the routing mechanism 2019-09-09 23:32:02 +10:00
Shannon 8fef824dc1 Moves rebuilding models and cache to background thread 2019-09-09 23:32:02 +10:00
Shannon e593857b61 Merge branch 'v8/dev' of https://github.com/umbraco/Umbraco-CMS into v8/dev 2019-09-09 23:31:22 +10:00
Shannon 4869298b03 Merge branch 'v8/8.1' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/embed/embed.html
2019-09-09 23:31:07 +10:00
Niels Lyngsø 02534c4ac5 Merge pull request #5706 from kjac/v8-feature-copy-property
V8: Copy on property level
2019-09-09 15:13:10 +02:00
Bjarke Berg c121fa323d Merge pull request #6131 from umbraco/v8/bugfix/5925-nucache-startup
Adds POC for fast building of in-memory nucache from persisted files
2019-09-09 15:02:49 +02:00
Bjarke Berg d05e79ca15 Merge branch 'v8/dev' into v8/bugfix/5925-nucache-startup 2019-09-09 13:54:27 +02:00
Rasmus John Pedersen 8f32fce781 Update Headless assembly names 2019-09-09 11:53:12 +02:00
Kenn Jacobsen 2cbed6c6b0 Merged with v8/dev 2019-09-09 11:22:39 +02:00
Nathan Woulfe 1723c39e00 fix tray colour, add some structure to CSS
(cherry picked from commit daadfe6e6c)
2019-09-06 08:41:34 +02:00
Nathan Woulfe daadfe6e6c fix tray colour, add some structure to CSS 2019-09-06 08:39:57 +02:00
Kenn Jacobsen 089e450e09 Make sure media picker items are sortable (#6037)
(cherry picked from commit 6da0caa902)
2019-09-05 18:09:23 +02:00
Kenn Jacobsen 6da0caa902 Make sure media picker items are sortable (#6037) 2019-09-05 18:08:00 +02:00
Kenn Jacobsen 3294137006 V8: Make the color picker mandatory validation work (#5765)
(cherry picked from commit 8aca254ed0)
2019-09-05 18:01:59 +02:00
Kenn Jacobsen 8aca254ed0 V8: Make the color picker mandatory validation work (#5765) 2019-09-05 18:01:07 +02:00
Kenn Jacobsen 604bb6b526 Don't allow selecting non-element types when composing element types 2019-09-05 17:57:40 +02:00
Poornima Nayar a7f1001c53 Some cleanup to the published status dashboard 2019-09-05 17:54:24 +02:00
Bjarne Fyrstenborg 1b0113d3aa v8: Edit embed in grid (#4899) 2019-09-05 17:53:04 +02:00
Bjarne Fyrstenborg 73a61e65de v8: Use umbCheckbox in packager (#6258) 2019-09-05 17:40:28 +02:00
Nathan Woulfe 0534dba12b 5732 grid reorder on scroll listview bugfix (#5918) 2019-09-05 17:13:41 +02:00
Kenn Jacobsen 30cf2fd4b2 Include sort and filter in list view back link 2019-09-05 16:54:46 +02:00
Sebastiaan Janssen c7ea93199f Merge pull request #6222 from patrickdemooij9/temp-5724
5724: Unable to add multiple property groups
(cherry picked from commit 3163b5f2fe)

# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/directives/components/umbgroupsbuilder.directive.js
2019-09-05 16:49:08 +02:00
Sebastiaan Janssen 3163b5f2fe Merge pull request #6222 from patrickdemooij9/temp-5724
5724: Unable to add multiple property groups
2019-09-05 16:45:33 +02:00
Stephan 280f4e7cbe Fix member properties [#6227] 2019-09-05 16:34:17 +02:00
Poornima Nayar d044dd07c3 Show a friendly exception message when the media name exceeds 255 characters
(cherry picked from commit e0d4168f3f)
2019-09-05 16:26:46 +02:00
Poornima Nayar e0d4168f3f Show a friendly exception message when the media name exceeds 255 characters 2019-09-05 16:26:24 +02:00
Poornima Nayar 890281b271 better exception message on content type save
(cherry picked from commit 7d3655c78c)
2019-09-05 16:22:35 +02:00
Poornima Nayar cafd07fd01 Better exception message on media type save
(cherry picked from commit d2efcc822d)
2019-09-05 16:22:27 +02:00
Poornima Nayar 2024681a26 Friendly exception message when datatype with name more than 255 characters is saved
(cherry picked from commit 79f8dc200a)
2019-09-05 16:22:17 +02:00
Poornima Nayar 7d3655c78c better exception message on content type save 2019-09-05 16:22:07 +02:00
Poornima Nayar d2efcc822d Better exception message on media type save 2019-09-05 16:21:38 +02:00
Poornima Nayar 79f8dc200a Friendly exception message when datatype with name more than 255 characters is saved 2019-09-05 16:21:21 +02:00
Poornima Nayar b7e75daa75 Maxlength attribute on macro name
(cherry picked from commit 088abae314)
2019-09-05 16:20:36 +02:00
Poornima Nayar 088abae314 Maxlength attribute on macro name 2019-09-05 16:19:46 +02:00
Poornima Nayar c594377c05 fix the left margin which causes a space in the help drawer article titles and tour titles
(cherry picked from commit 0e3f324cb0)
2019-09-05 16:15:14 +02:00
Poornima Nayar 0e3f324cb0 fix the left margin which causes a space in the help drawer article titles and tour titles 2019-09-05 16:14:37 +02:00
Bjarne Fyrstenborg 0465169727 v8: Fix SVG image preview (#5883)
(cherry picked from commit 7664d2df18)

# Conflicts:
#	src/Umbraco.Web.UI.Client/src/less/components/umb-media-grid.less
2019-09-05 16:09:16 +02:00
Bjarne Fyrstenborg 7664d2df18 v8: Fix SVG image preview (#5883) 2019-09-05 16:06:59 +02:00
Bjarne Fyrstenborg 105dd989de Add margin before value in listview grid layout
(cherry picked from commit 495ad4c06b)
2019-09-05 15:53:53 +02:00
Bjarne Fyrstenborg 495ad4c06b Add margin before value in listview grid layout 2019-09-05 15:53:01 +02:00
Bjarne Fyrstenborg 771a62532d v8: Refactor checkered background (#5821) 2019-09-05 15:51:46 +02:00
Matt Brailsford d01a5dcd8e Fixes #6255
Updated GetCtrs / GetMaps to merge found maps, rather than replacing all for a given type.

(cherry picked from commit c92eafd8f1)
2019-09-05 15:38:37 +02:00
Matt Brailsford c92eafd8f1 Fixes #6255
Updated GetCtrs / GetMaps to merge found maps, rather than replacing all for a given type.
2019-09-05 15:37:26 +02:00
leekelleher 83588b2dc8 ContentTypeService GetAllElementTypes method
Added an extension method to get all the Element Types from
the ContentTypeService.

Refactored NestedContent's controller accordingly.
2019-09-05 15:36:14 +02:00
leekelleher ff72a341b2 Added method to add to a list of ConfigurationFields 2019-09-05 15:35:08 +02:00
Poornima Nayar c271113da5 Improve consistency around some buttons in the backoffice (#6265) 2019-09-05 15:33:36 +02:00
Bjarne Fyrstenborg 252ea8674f Fix missing checkmark selection in section picker
(cherry picked from commit c1cf6612a4)
2019-09-05 15:31:34 +02:00
Bjarne Fyrstenborg c1cf6612a4 Fix missing checkmark selection in section picker 2019-09-05 15:30:52 +02:00
Bjarne Fyrstenborg 468cd96846 v8: Highlight of old password in change password form (#6274)
(cherry picked from commit f4f99d7a98)
2019-09-05 15:29:46 +02:00
Bjarne Fyrstenborg f4f99d7a98 v8: Highlight of old password in change password form (#6274) 2019-09-05 15:27:33 +02:00
Sebastiaan Janssen 9de47d1f32 Merge branch 'v7/dev' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/embed/embed.html

(cherry picked from commit 1278644cbb)
2019-09-05 15:14:16 +02:00
Sebastiaan Janssen 1278644cbb Merge branch 'v7/dev' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/embed/embed.html
2019-09-05 15:13:27 +02:00
Mark Bowser 39972049bb Apply focus to URL input on embed overlay open. Issue #6276
(cherry picked from commit a58a2e8aa9)
2019-09-05 15:08:42 +02:00
Mark Bowser a58a2e8aa9 Apply focus to URL input on embed overlay open. Issue #6276 2019-09-05 15:07:17 +02:00
Steve Megson 7b0b0f9495 Update umbracoUser2NodeNotify in SuperZero migration
(cherry picked from commit 79bea8b440)
2019-09-05 14:49:14 +02:00
Steve Megson 79bea8b440 Update umbracoUser2NodeNotify in SuperZero migration 2019-09-05 14:48:26 +02:00
Kenn Jacobsen c67b14b837 Fix mandatory validation clientside for content picker and MNTP
(cherry picked from commit adeb8fc1f7)
2019-09-05 14:47:13 +02:00
Kenn Jacobsen adeb8fc1f7 Fix mandatory validation clientside for content picker and MNTP 2019-09-05 14:46:24 +02:00
Jan Skovgaard 0379011140 Accessibility: "Save and publish" has a drop down that can't be accessed via keyboard (#5884) 2019-09-05 14:39:24 +02:00
Jan Skovgaard 5def93fa32 Accessibility: No alt text on any icons (#5905) 2019-09-05 14:16:46 +02:00
Rachel Breeze a68bc34207 Reviewed the forgotten password screen to include alerts and support for screen readers 2019-09-05 13:52:48 +02:00
Rachel Breeze f9dbf8646c First pass at set page title for content page 2019-09-05 13:50:05 +02:00
Rachel Breeze ce0712e464 Added support for setting the page title 2019-09-05 13:48:59 +02:00
Jan Skovgaard 626c6ba8b0 Accessibility: Health Check - unable to navigate to additional options via keyboard (#5928) 2019-09-05 13:45:53 +02:00
Jan Skovgaard 428da6ce13 Accessibility: Create drop down can't be accessed via keyboard (#5960) 2019-09-05 13:41:21 +02:00
Sebastiaan Janssen 47f365e415 Merge branch 'v8/8.1' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2019-09-05 13:03:23 +02:00
Sebastiaan Janssen b94d78e01a Revert "Accessibility: Grid filter drop down can't be accessed via keyboard (#5963)"
This reverts commit e1a438dfc9.

Should not have been picked into a patch release :)
2019-09-05 13:01:05 +02:00
Jan Skovgaard e1a438dfc9 Accessibility: Grid filter drop down can't be accessed via keyboard (#5963)
(cherry picked from commit 4b344ac3fd)

# Conflicts:
#	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
2019-09-05 12:33:45 +02:00
Jan Skovgaard 4b344ac3fd Accessibility: Grid filter drop down can't be accessed via keyboard (#5963) 2019-09-05 12:29:25 +02:00
Sebastiaan Janssen d3f3c74e10 Fix #6283 Save Member resets password 2019-09-05 11:47:13 +02:00
Sebastiaan Janssen 5bbe1fadda Fixes #6021 - Error on save and publish for existing node after content creation in eventhandler 2019-09-05 10:31:08 +02:00
Warren Buckley 8b0a64f8cd Use the angular 3rd party lib angular-local-storage (which falls back to cookies) instead of native localStorage 2019-09-04 14:22:57 +01:00
Liam Laverty 6588fa2e37 updated to 700 people 2019-09-03 16:37:00 +02:00
Bjarke Berg 121a7e38ca Merge pull request #6216 from umbraco/v8/feature/2346AB-Enable-RTE-Paste
AB 2440 - Enable Paste & Drag n Drop of images into RTE editors
2019-09-03 08:45:38 +02:00
Bjarne Fyrstenborg 0871228685 v8: Add umbLoader directive (#4987)
(cherry picked from commit e4f19f7192)
2019-09-02 14:08:45 +02:00
Poornima Nayar 1963dbe639 fix to the documentation link in create packages opening in same window
(cherry picked from commit 3d3a836c52)
2019-09-02 10:17:56 +02:00
Kasper Christensen da0ace18e6 Loginpage: Added an id to input fields and a for attr on the la… (#6247)
(cherry picked from commit 24efa54481)
2019-09-02 10:01:14 +02:00
Mads Krohn 0e8b4b8342 Correctly html encode text (#6235)
(cherry picked from commit 1bf85ab1db)
2019-09-02 08:48:48 +02:00
Warren Buckley 4eed413f95 Remove a forgotten console.log 2019-08-30 13:35:38 +01:00
Warren Buckley 4adcd7de9b Makes the insert media picker button active only if an image has a data-udi attribute set
Means images pasted from a webpage that have a full absolute URL pasted into tiny does not active this button unnecessarily
2019-08-30 12:46:57 +01:00
Warren Buckley db37f847f9 Remove the console.log debug messages 2019-08-30 12:34:46 +01:00
Warren Buckley 55c0a5f7c2 Uses browser localStorage to store the UDI from the API response & updates the IMG element when we put them in the editor 2019-08-30 11:58:22 +01:00
Poornima Nayar f9319079c7 Fix- Unable to create members in the members section using the create option in the overlay
(cherry picked from commit 13e704e36c)
2019-08-30 08:51:35 +02:00
Sebastiaan Janssen 303d709a73 Fixes #6229 - Upgrading to 8.1.3 adds an extra dependentAssembly to web.config 2019-08-29 16:44:18 +02:00
Warren Buckley 1ec88a6647 Add new API controller for uploading images dragged/pasted into a TinyMCE editor 2019-08-29 14:06:29 +01:00
Sebastiaan Janssen 90c99eda17 Bump version to 7.15.3 2019-08-29 15:00:32 +02:00
Sebastiaan Janssen e9bd0d9266 Bump version to 8.1.4 2019-08-29 14:58:58 +02:00
Bjarne Fyrstenborg 538b434c75 v8: Replace tree loader with umbLoader component (#6169) 2019-08-29 14:37:32 +02:00
Kenn Jacobsen 7d0711e129 Prevent markdown editor from stealing input focus on enter
(cherry picked from commit 7cb0886b35)
2019-08-29 14:33:03 +02:00
Kenn Jacobsen ea9498b90d Prevent double click errors when editing compositions
(cherry picked from commit d0e7344e2d)
2019-08-29 14:30:39 +02:00
Andy Butland d77559d52b Added metadata indicating if document published for content picker display 2019-08-29 14:28:45 +02:00
Sean McLemon 0dc840a4ed When deciding whether to use SSL, ApplicationUrlHelper.GetApplicationUrlFromCurrentRequest() has an expression port == "443" which is always false. The variable port is set to to either "" or ":" + request.ServerVariables["SERVER_PORT"], so it might sometimes be ":443" but it will never be just "443". This code has been this way for at least a year, and I don't know if the situation it tried to handle makes any sense (using port 443 over plain HTTP, for some reason??) so I've just removed it.
(cherry picked from commit 915b24e4e4)
2019-08-29 14:26:54 +02:00
Callum Whyte 563a352953 Correcting ASCII art in README (#6156)
(cherry picked from commit a24e5bd10c)
2019-08-29 14:22:49 +02:00
Kenn Jacobsen 27c8c7abf1 Don't use a hardcoded "image" type in media picker value conversion
(cherry picked from commit 3457018fb4)
2019-08-29 14:21:07 +02:00
Kenn Jacobsen 529792227c Make sure the empty search result is visible for list views
(cherry picked from commit bfc87922cb)
2019-08-29 14:18:41 +02:00
Steve Megson 71aad30f8e Migration of MarkdownEditor prevalues
(cherry picked from commit 09def9f352)
2019-08-29 14:13:10 +02:00
Steve Megson 9413427797 #6158 - missing media folders after migration
(cherry picked from commit 934e2066a0)
2019-08-29 14:10:46 +02:00
stevemegson 742105594e V8: Indexing of grid values containing JSON (#6201)
(cherry picked from commit b254b4fcda)
2019-08-29 14:07:48 +02:00
jmayntzhusen 650663de0c Improve error messages (#6154)
(cherry picked from commit 4dad427a64)
2019-08-29 14:02:12 +02:00
Steve Megson 507c82f122 RefactorMacroColumns
(cherry picked from commit 9e1424fb24)
2019-08-29 13:59:26 +02:00
Kenn Jacobsen 87a0350d44 V8: Use a standard confirm dialog when removing content type compositions (#6213)
(cherry picked from commit ad978c60df)
2019-08-29 13:52:26 +02:00
Kenn Jacobsen 3afcdbbb25 Use a pointer cursor for selectable items in mini listviews
(cherry picked from commit dfe96dccde)
2019-08-29 13:52:19 +02:00
Kenn Jacobsen c7cb3f81f4 V8: Add confirmation when deleting content and media (#6005)
(cherry picked from commit 16ab7b70cf)
2019-08-29 13:45:19 +02:00
Kenn Jacobsen c6e32019c6 V7: Add confirmation when deleting content and media (#6004)
(cherry picked from commit 3f8dffee3f)
2019-08-29 13:42:10 +02:00
Kenn Jacobsen 4c5365de1c Make sure Nested Content blueprints are listed in defined sort order
(cherry picked from commit 204a9c9d53)
2019-08-29 13:38:13 +02:00
Kenn Jacobsen d152cf076f Ensure correct icon for file types in search results
(cherry picked from commit e9eecb2031)
2019-08-29 13:36:26 +02:00
Kenn Jacobsen 18c0298720 Ensure correct icon for file types in search results
(cherry picked from commit 531dee1e75)
2019-08-29 13:34:55 +02:00
Sebastiaan Janssen 55613e3a02 Cherry pick 851a2a3de8
(cherry picked from commit 5d9e1087f4)
2019-08-29 13:06:31 +02:00
Sebastiaan Janssen 979190796e Multi Url Picker fix
(cherry picked from commit b3834c296b)
2019-08-29 11:59:03 +02:00
Patrick e85905ad65 temp-5724: Removed the placeholder code, because there should always be an inital group now 2019-08-28 21:31:50 +02:00
Patrick a43b981feb Temp-5724: Unable to add multiple property groups in membertype/doctype editor 2019-08-28 21:21:23 +02:00
Warren Buckley 30e4eda0d2 The paste plugin was already enabled as it comes from the legacy XML config/tinymceconfig.config file
So we only needed the extra property of paste_data_images to get this to work
2019-08-28 09:47:15 +01:00
Warren Buckley 50ad337755 Merge pull request #6130 from stevemegson/v8/temp-6060
V8: Handle missing grid values in migration from 7.15
(cherry picked from commit b205f19f40)
2019-08-27 15:39:02 +01:00
Daniël Knippers 82c3af51fe Fixes writing / reading segment data combined with segment null 2019-08-27 15:43:07 +02:00
Daniël Knippers 4b4f571d14 Support for Segments in ContentTypeRepositoryBase 2019-08-27 15:07:41 +02:00
Shannon 6f4b8dc381 fixes tests 2019-08-20 10:26:01 +10:00
Shannon 7956ddb15a fixes tests 2019-08-20 10:24:07 +10:00
Shannon f4acb86ac7 fixes tests 2019-08-19 23:32:52 +10:00
Shannon fb38d9afe1 Merges - double linked list for children performance + updates 2019-08-19 23:22:27 +10:00
Shannon 72b20c2849 Merge branch 'v8/8.1' into v8/bugfix/5925-nucache-startup 2019-08-19 22:15:38 +10:00
Shannon e18f73e74c removes todo 2019-08-19 22:07:46 +10:00
Shannon f2a22e9843 Ensure we throw an exception when a fatal Exception is caught instead of swallowing 2019-08-19 22:07:22 +10:00
Shannon 890309bc11 Fixes SetAllFastSorted and sort orders 2019-08-19 17:18:45 +10:00
Shannon e9717ee86a changes to PanicException 2019-08-16 16:18:58 +10:00
Shannon bbd6e1150e Changes loading from DB to use SetAllFastSorted since it's already sorted by level + sort order 2019-08-15 23:59:46 +10:00
Shannon 3d56e45266 Adds notes, cleans up other code 2019-08-15 19:25:28 +10:00
Shannon e9d4b607bb Adds POC for fast building of in-memory nucache from persisted files 2019-08-15 19:05:43 +10:00
Brian Sokolnicki ddf500b169 bug fix for array iteration 2019-08-02 12:53:50 -05:00
Kenn Jacobsen e69784caf8 Merge branch 'v8/dev' into v8-fix-login-user-without-start-nodes 2019-07-30 13:36:41 +02:00
Kenn Jacobsen ad99374885 Merge branch 'v8/dev' into v8-feature-imagecropper-custom-crop-indication 2019-07-30 10:43:45 +02:00
Kenn Jacobsen bebe0ec9ff Merge branch 'v8/dev' into v8-feature-copy-property 2019-07-30 08:45:16 +02:00
Kenn Jacobsen f27b754967 Update src/Umbraco.Web/Security/BackOfficeSignInManager.cs
Co-Authored-By: Ronald Barendse <ronald@barend.se>
2019-07-25 07:40:44 +02:00
Kenn Jacobsen f4d8f58505 Update src/Umbraco.Web/Security/BackOfficeSignInManager.cs
Co-Authored-By: Ronald Barendse <ronald@barend.se>
2019-07-25 07:40:38 +02:00
Kenn Jacobsen 3031459b8a Don't allow logins for users with no content and/or media start nodes 2019-07-16 19:44:11 +02:00
Kenn Jacobsen 742a664ec3 Merged with v8/dev 2019-07-12 22:38:43 +02:00
skttl 5d5bd54aee 5867 enables tabbing to field-lock-toggler, and adds tab-focus styling 2019-07-12 21:07:55 +02:00
Bjarke Berg 9a2d309dbe Merge remote-tracking branch 'origin/v8/dev' into vx/feature/unicore
# Conflicts:
#	src/Umbraco.Abstractions/EnumerableExtensions.cs
#	src/Umbraco.Abstractions/Models/Entities/EntityBase.cs
#	src/Umbraco.Core/Models/Member.cs
2019-07-03 15:05:34 +02:00
Andy Butland 8fe25ff781 Added null check to resolve failing front-end unit test 2019-06-28 14:46:28 +02:00
Andy Butland 1168197e66 Fixed formatting of nested content validation 2019-06-27 23:20:40 +02:00
Andy Butland 011ad47ac0 Updated new ng-messsages elements to use tags introduced in main branch 2019-06-27 20:00:52 +02:00
Andy Butland 25ae6514c7 Merge branch 'v8/dev' into feature/5702-custom-validation-messages 2019-06-27 19:56:28 +02:00
Andy Butland bb3d2cd948 Applied custom mandatory validation message to existing core property editors that support the mandatory setting. 2019-06-27 15:10:27 +02:00
Stephan 86cf3b275f Some more things need to be public 2019-06-27 13:46:22 +02:00
Stephan b3867d9d55 Post-merge fixes 2019-06-27 12:47:40 +02:00
Stephan 834aeee107 Fix slimmed down ModelsBuilder 2019-06-27 12:47:40 +02:00
Stephan f3643747b3 Publicize IEditorValidator 2019-06-27 12:47:20 +02:00
Stephan ee83c02424 Import slimmed down ModelsBuilder 2019-06-27 12:47:19 +02:00
Stephan 355a5e0eb4 Remove ModelsBuilder NuGet dependency, add project 2019-06-27 12:47:19 +02:00
Andy Butland a90f0c4070 Added custom validation messages to property types: model, dto and migration, update via property type editing, display when content editing. 2019-06-26 14:37:02 +02:00
Kenn Jacobsen d38c12115e Remove some debugging stuff 2019-06-22 13:23:50 +02:00
Kenn Jacobsen cb16eb1826 Don't expand the last item when pasting multiple items 2019-06-22 10:43:40 +02:00
Kenn Jacobsen bcb7e089d8 Merge branch 'v8/dev' into v8-feature-nc-copy-all 2019-06-22 10:21:54 +02:00
Kenn Jacobsen 5fa0641a5c Add hover state to the property copy icon 2019-06-20 22:39:06 +02:00
Kenn Jacobsen 959a4b77bb Remove inline property copying for NC 2019-06-20 22:24:46 +02:00
Kenn Jacobsen c2bf13297d Merge branch 'v8-temp-property-cancopy' into v8-feature-nc-copy-all 2019-06-20 22:11:08 +02:00
Kenn Jacobsen 1bde7dc135 Merge branch 'v8/dev' into v8-feature-nc-copy-all 2019-06-20 22:09:07 +02:00
Kenn Jacobsen c0f26f93b3 WIP for property level copying 2019-06-20 22:07:59 +02:00
Bjarke Berg 83c8d04b15 Merge remote-tracking branch 'origin/v8/dev' into vx/feature/unicore 2019-06-19 07:32:14 +02:00
Bjarke Berg d05a4a4d5c Merge remote-tracking branch 'origin/v8/dev' into vx/feature/unicore
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/V_7_8_0/AddMediaVersionTable.cs
2019-06-18 15:04:16 +02:00
Niels Lyngsø c928133e9b first version 2019-06-14 13:07:01 +02:00
Kenn Jacobsen 201c91d3a8 Whoops, accidental removal of focalPointChanged 2019-06-09 12:32:27 +02:00
Kenn Jacobsen 6425592cc5 Only show "custom crop" text ("automatic crop" is implicit) 2019-06-09 12:11:45 +02:00
Kenn Jacobsen 83b4b6a5f4 Annotate each crop with "Automatic" or "User defined" 2019-06-08 22:50:56 +02:00
Kenn Jacobsen 463dfc45a6 Copy all items from one NC to another (WIP) 2019-06-06 09:34:27 +02:00
Bjarke Berg f06ff71e5b Removed nuget of semver from test (Now using the local in abstractions) 2019-06-03 11:18:10 +02:00
Bjarke Berg e453985ee9 Merge remote-tracking branch 'origin/v8/dev' into vx/feature/unicore 2019-06-03 07:39:23 +02:00
Bjarke Berg 15c02ce828 Merge remote-tracking branch 'origin/v8/dev' into vx/feature/unicore 2019-05-31 11:40:15 +02:00
Bjarke Berg 1fe02af841 Moved more stuff into Abstractions 2019-05-28 16:23:52 +02:00
Bjarke Berg 7aca2e3217 Fixed tests that expected file to be in Umbraco.Core 2019-05-27 14:28:24 +02:00
Bjarke Berg e9324055e9 Moved event stuff 2019-05-27 13:53:53 +02:00
Bjarke Berg 00a121188a Moved more abstractions of models 2019-05-27 12:58:51 +02:00
Bjarke Berg dcf022ffaa Moved more abstractions of models 2019-05-27 11:45:35 +02:00
Bjarke Berg 408b00a737 Moved more abstractions of models 2019-05-27 11:20:33 +02:00
Bjarke Berg e571f51750 Merge remote-tracking branch 'origin/v8/dev' into vx/feature/unicore 2019-05-27 10:21:26 +02:00
Bjarke Berg 85eb44ecc3 Moved more abstractions of models 2019-05-27 10:16:07 +02:00
Bjarke Berg 489bb7f3e9 Added netstandard to web.config. 2019-05-27 09:58:15 +02:00
Bjarke Berg ff71d89415 Moved more files and removed modelsbuilder from UI project 2019-05-27 08:57:57 +02:00
Carole Rennie Logan cd93ebe7c1 moving intextensions and removing unused imports
moving intextensions and removing unused imports
2019-05-21 10:48:59 +01:00
Lars-Erik Aabech 917efc4d9a Bump lang level to 7.3 2019-05-20 18:43:27 +02:00
Shannon 3f2dd88325 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 18:40:27 +02:00
Shannon d42b2492b7 Moves more utilities 2019-05-20 18:40:13 +02:00
Lars-Erik Aabech 98f3035b5c Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 18:39:45 +02:00
Lars-Erik Aabech dccee475f2 Moved several configuration abstractions including IUmbracoSettingsSection. 2019-05-20 18:39:41 +02:00
Bjarke Berg 8bf90bae91 Started moving caches.. 2019-05-20 18:28:35 +02:00
Stephan 34648fc8aa Umbraco.Abstractions default namespace is Umbraco.Core 2019-05-20 18:25:25 +02:00
Lars-Erik Aabech 5f76bb82cd Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 18:23:43 +02:00
Shannon a0506622b4 dirty tracking, entities, cloning moved 2019-05-20 18:23:22 +02:00
Lars-Erik Aabech 1256512a1d Set language level to 7.1 for abstractions project for now 2019-05-20 18:23:21 +02:00
Shannon 46cb6e2329 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 18:08:09 +02:00
Shannon e58588801e fixes csproj merge 2019-05-20 18:07:57 +02:00
Lars-Erik Aabech 185c453c00 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 17:58:27 +02:00
Lars-Erik Aabech 152ba318bf Removed Semver dependency by copying the class from the original repo. 2019-05-20 17:58:22 +02:00
Shannon 708f4d89c7 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 17:57:43 +02:00
Shannon 57ff36452e Moves Strings and extensions to abstractions (where possible) 2019-05-20 17:57:28 +02:00
Stephan 2495df5573 Move collections to abstractions 2019-05-20 17:50:31 +02:00
Carole Rennie Logan e0fd6fa8ee Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 16:48:13 +01:00
Carole Rennie Logan 79e447239f moving custombooleantypeconverter
moving custombooleantypeconverter to abstractions
2019-05-20 16:48:08 +01:00
Lars-Erik Aabech 74865740e0 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 17:39:30 +02:00
Lars-Erik Aabech f8bc25a2dd Moved runtime abstractions and added SemVer + extensions to abstractions. 2019-05-20 17:39:11 +02:00
Carole Rennie Logan 4da063369d moving SafeCallContext to abstractions
moving SafeCallContext to abstractions
2019-05-20 16:38:42 +01:00
Bjarke Berg facf13f6d5 FIX 2019-05-20 17:29:04 +02:00
Carole Rennie Logan 98afb9a030 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 16:26:25 +01:00
Lars-Erik Aabech f8462a739c Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 17:25:59 +02:00
Lars-Erik Aabech 837a7b506e Moved first core DI abstractions 2019-05-20 17:25:55 +02:00
Lars-Erik Aabech d576be3593 Made DataTableExtensions and made it/methods public. 2019-05-20 17:25:49 +02:00
Carole Rennie Logan 20282edba4 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 16:25:38 +01:00
Bjarke Berg 8fa3f8e06a Moved more stuff 2019-05-20 17:25:29 +02:00
Carole Rennie Logan b85fc649ea moving core items to abstractions
moving core items to abstractions
2019-05-20 16:25:08 +01:00
Stephan deefad4b89 Move ILogger/IProfiler/IProfilingLogger to abstractions 2019-05-20 17:24:46 +02:00
Lars-Erik Aabech 888390d86b Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 17:20:56 +02:00
Lars-Erik Aabech 99d2509eaa Moved several poco extensions and removed BindingRedirects 2019-05-20 17:20:52 +02:00
Bjarke Berg e0c0da802d Moved more stuff 2019-05-20 17:20:15 +02:00
Bjarke Berg f238f37508 Moved InvalidCompositionException 2019-05-20 17:12:54 +02:00
Bjarke Berg 2e2a275ea4 Merge remote-tracking branch 'origin/vx/feature/unicore' into vx/feature/unicore 2019-05-20 17:09:54 +02:00
Bjarke Berg a13723cc7e Moved media 2019-05-20 17:09:45 +02:00
Carole Rennie Logan 30add94906 uditype move to abstractions
uditype move to abstractions
2019-05-20 16:09:37 +01:00
Carole Rennie Logan e61cd0fbba Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 16:06:21 +01:00
Carole Rennie Logan 69407caea8 move upgradeablereadlock
moving to abstractions.
2019-05-20 16:06:09 +01:00
Lars-Erik Aabech dd9cfa7abf Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 17:05:10 +02:00
Lars-Erik Aabech 9122bbdd45 Moved IDiscoverable and Dashboards.* 2019-05-20 17:05:04 +02:00
Stephan 295d2d73e3 Move DisposableObjectSlim to abstractions 2019-05-20 17:04:33 +02:00
Carole Rennie Logan 709babc95b Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 15:59:27 +01:00
Bjarke Berg cab1462d51 Merge remote-tracking branch 'origin/vx/feature/unicore' into vx/feature/unicore 2019-05-20 16:59:07 +02:00
Bjarke Berg cad3e8a635 Moved MacroErrorBehaviour.cs 2019-05-20 16:58:47 +02:00
Carole Rennie Logan 9bac6a4074 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 15:57:51 +01:00
Carole Rennie Logan 49a38f2824 HashCodeCombiner
move hashcodecombiner to abstractions
2019-05-20 15:57:42 +01:00
Lars-Erik Aabech e19cfe575b Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 16:57:40 +02:00
Lars-Erik Aabech c007757564 Moved code annotations 2019-05-20 16:57:14 +02:00
Bjarke Berg 0b77f8c244 Merge remote-tracking branch 'origin/vx/feature/unicore' into vx/feature/unicore 2019-05-20 16:56:19 +02:00
Bjarke Berg f470c4cd3f Moved read and writelock 2019-05-20 16:56:03 +02:00
Shannon 651d48e5c8 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 16:54:30 +02:00
Shannon 1f70e67ac1 moved more utilities 2019-05-20 16:54:20 +02:00
Lars-Erik Aabech 2ef03a2c24 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 16:48:22 +02:00
Shannon 04b319ecb2 moves 4 more utilities 2019-05-20 16:48:12 +02:00
Lars-Erik Aabech fb608d5131 Merge branch 'vx/feature/unicore' of https://github.com/umbraco/Umbraco-CMS into vx/feature/unicore 2019-05-20 16:45:17 +02:00
Lars-Erik Aabech dff06bde30 Moved most exceptions to abstractions. Added abstractions to web and tests. 2019-05-20 16:45:12 +02:00
Shannon 30c1c76263 Moved Attempt and updated project refs 2019-05-20 16:40:11 +02:00
Bjarke Berg 61cb7ac769 Moved ICompletable into abstractions for Project UniCore 🦄 2019-05-20 16:34:10 +02:00
elitsa 1a54cdb583 Functions for the API docs are refactored 2019-05-15 13:54:35 +02:00
elitsa d580153c9a Removing build-docs.ps1 script since it is integrated now in the build.ps1 2019-05-15 13:51:07 +02:00
4656 changed files with 138127 additions and 74295 deletions
+7 -3
View File
@@ -25,6 +25,7 @@ dotnet_naming_rule.private_members_with_underscore.severity = suggestion
dotnet_naming_symbols.private_fields.applicable_kinds = field
dotnet_naming_symbols.private_fields.applicable_accessibilities = private
# dotnet_naming_symbols.private_fields.required_modifiers = abstract,async,readonly,static # all except const
dotnet_naming_style.prefix_underscore.capitalization = camel_case
dotnet_naming_style.prefix_underscore.required_prefix = _
@@ -34,7 +35,10 @@ dotnet_naming_style.prefix_underscore.required_prefix = _
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
csharp_prefer_braces = false : none
[*.{js,less}]
trim_trailing_whitespace = false
[*.js]
trim_trailing_whitespace = true
[*.less]
trim_trailing_whitespace = false
+10 -6
View File
@@ -13,7 +13,7 @@
*.png binary
*.gif binary
*.cs text=auto diff=csharp
*.cs text=auto diff=csharp
*.vb text=auto
*.c text=auto
*.cpp text=auto
@@ -41,9 +41,13 @@
*.fs text=auto
*.fsx text=auto
*.hs text=auto
*.json text=auto
*.xml text=auto
*.csproj text=auto merge=union
*.vbproj text=auto merge=union
*.fsproj text=auto merge=union
*.dbproj text=auto merge=union
*.sln text=auto eol=crlf merge=union
*.csproj text=auto merge=union
*.vbproj text=auto merge=union
*.fsproj text=auto merge=union
*.dbproj text=auto merge=union
*.sln text=auto eol=crlf merge=union
*.gitattributes text=auto
+7 -3
View File
@@ -1,4 +1,4 @@
# Umbraco Cms Build
# Umbraco CMS Build
## Are you sure?
@@ -39,8 +39,12 @@ To build Umbraco, fire up PowerShell and move to Umbraco's repository root (the
build/build.ps1
If you only see a build.bat-file, you're probably on the wrong branch. If you switch to the correct branch (dev-v8) the file will appear and you can build it.
You might run into [Powershell quirks](#powershell-quirks).
If it runs without errors; Hooray! Now you can continue with [the next step](CONTRIBUTING.md#how-do-i-begin) and open the solution and build it.
### Build Infrastructure
The Umbraco Build infrastructure relies on a PowerShell object. The object can be retrieved with:
@@ -66,7 +70,7 @@ The Visual Studio object is `null` when Visual Studio has not been detected (eg
* `Path`: Visual Studio installation path (eg some place under `Program Files`)
* `Major`: Visual Studio major version (eg `15` for VS 2017)
* `Minor`: Visual Studio minor version
* `MsBUild`: the absolute path to the MsBuild executable
* `MsBuild`: the absolute path to the MsBuild executable
#### GetUmbracoVersion
@@ -209,4 +213,4 @@ The best solution is to unblock the Zip file before un-zipping: right-click the
### Git Quirks
Git might have issues dealing with long file paths during build. You may want/need to enable `core.longpaths` support (see [this page](https://github.com/msysgit/msysgit/wiki/Git-cannot-create-a-file-or-directory-with-a-long-path) for details).
Git might have issues dealing with long file paths during build. You may want/need to enable `core.longpaths` support (see [this page](https://github.com/msysgit/msysgit/wiki/Git-cannot-create-a-file-or-directory-with-a-long-path) for details).
+1 -1
View File
@@ -29,4 +29,4 @@ Don't rest on your laurels and never accept the status quo. Contribute and give
## Friendly
Dont judge upon mistakes made but rather upon the speed and quality with which mistakes are corrected. Friendly posts and contributions generate smiles and builds long lasting relationships.
Dont judge upon mistakes made but rather upon the speed and quality with which mistakes are corrected. Friendly posts and contributions generate smiles and build long lasting relationships.
+51 -40
View File
@@ -2,15 +2,15 @@
👍🎉 First off, thanks for taking the time to contribute! 🎉👍
The following is a set of guidelines for contributing to Umbraco CMS.
The following is a set of guidelines, for contributing to Umbraco CMS.
These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
These are mostly guidelines, not rules. Use your best judgement, and feel free to propose changes to this document in a pull request.
Remember, we're a friendly bunch and are happy with whatever contribution you might provide. Below are guidelines for success that we've gathered over the years. If you choose to ignore them then we still love you 💖.
**Code of conduct**
This project and everyone participating in it is governed by the [our Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [Sebastiaan Janssen - sj@umbraco.dk](mailto:sj@umbraco.dk).
This project and everyone participating in it, is governed by the [our Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [Sebastiaan Janssen - sj@umbraco.dk](mailto:sj@umbraco.dk).
**Table of contents**
@@ -22,13 +22,13 @@ This project and everyone participating in it is governed by the [our Code of Co
[Reviews](#reviews)
* [Styleguides](#styleguides)
* [The PR team](#the-pr-team)
* [The Core Contributors](#the-core-contributors-team)
* [Questions?](#questions)
[Working with the code](#working-with-the-code)
* [Building Umbraco from source code](#building-umbraco-from-source-code)
* [Working with the source code](#working-with-the-source-code)
* [Making changes after the PR was opened](#making-changes-after-the-pr-was-opened)
* [Making changes after the PR is open](#making-changes-after-the-pr-is-open)
* [Which branch should I target for my contributions?](#which-branch-should-i-target-for-my-contributions)
* [Keeping your Umbraco fork in sync with the main repository](#keeping-your-umbraco-fork-in-sync-with-the-main-repository)
@@ -38,11 +38,11 @@ This document gives you a quick overview on how to get started.
### 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 valuable time.
Not all changes are wanted, so on occasion 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, so we can ensure that you don't put all your hard work into something we would not be able to merge.
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.
Remember, it is always worth working on an issue from the `Up for grabs` list or even asking for some feedback before you send us a PR. This way, your PR will not be closed as unwanted.
### What can I start with?
@@ -59,37 +59,38 @@ Great question! The short version goes like this:
* **Clone** - when GitHub has created your fork, you can clone it in your favorite Git tool
![Clone the fork](img/clonefork.png)
* **Switch to the correct branch** - switch to the `v8/contrib` branch
* **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! 🎉 **Important:** 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`. When you have a branch, commit your changes. Don't commit to `v8/dev`, create a new branch first.
* **Commit** - done? Yay! 🎉 **Important:** 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`. When you have a branch, commit your changes. Don't commit to `v8/contrib`, create a new branch first.
* **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.
* **Create pull request** - exciting! You're ready to show us your changes (or not quite ready, you just need some feedback to progress - you can now make use of GitHub's draft pull request status, detailed [here](https://github.blog/2019-02-14-introducing-draft-pull-requests/)). 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.
![Create a pull request](img/createpullrequest.png)
### Pull requests
The most successful pull requests usually look a like this:
* Fill in the required template
* Fill in the required template (shown when starting a PR on GitHub), and link your pull request to an issue on the [issue tracker,](https://github.com/umbraco/Umbraco-CMS/issues) if applicable.
* 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.com/documentation/Reference/) is generated
* Unit tests, while optional, are awesome. Thank you!
* 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. However, the more information that you give to us, the more we have to work with when considering your contributions. Good documentation of a pull request can really speed up the time it takes to review and merge your work!
## Reviews
You've sent us your first contribution, congratulations! Now what?
You've sent us your first contribution - congratulations! Now what?
The [pull request team](#the-pr-team) can now start reviewing your proposed changes and give you feedback on them. If it's not perfect, we'll either fix up what we need or we can request you to make some additional changes.
The [pull request team](#the-pr-team) can now start reviewing your proposed changes and give you feedback on them. If it's not perfect, we'll either fix up what we need or we can request that you make some additional changes.
We have [a process in place which you can read all about](REVIEW_PROCESS.md). The very abbreviated version is:
- Your PR will get a reply within 48 hours
- An in-depth reply will be added within at most 2 weeks
- The PR will be either merged or rejected within at most 4 weeks
- Sometimes it is difficult to meet these timelines and we'll talk to you
- Sometimes it is difficult to meet these timelines and we'll talk to you if this is the case.
### Styleguides
@@ -97,23 +98,24 @@ To be honest, we don't like rules very much. We trust you have the best of inten
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.
### The PR team
### The Core Contributors team
The pull request team consists of a member of Umbraco HQ, [Sebastiaan](https://github.com/nul800sebastiaan), who gets assistance from the following community members
The Core Contributors team consists of one member of Umbraco HQ, [Sebastiaan](https://github.com/nul800sebastiaan), who gets assistance from the following community members who have comitted to volunteering their free time:
- [Anders Bjerner](https://github.com/abjerner)
- [Dave Woestenborghs](https://github.com/dawoe)
- [Emma Burstow](https://github.com/emmaburstow)
- [Poornima Nayar](https://github.com/poornimanayar)
- [Kenn Jacobsen](https://twitter.com/KennJacobsen_DK)
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.
These wonderful people aim to provide you with a first reply to your PR, review and test out your changes and on occasions, they might ask more questions. If they are happy with your work, they'll let Umbraco HQ know by approving the PR. Hq will have final sign-off and will check the work again before it is merged.
### Questions?
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:
You can get in touch with [the core contributors team](#the-core-contributors-team) in multiple ways; we love open conversations and we are a friendly bunch. No question you have is stupid. Any question 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.com/forum/contributing-to-umbraco-cms/) forum, the team monitors that one closely
- 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.com/forum/contributing-to-umbraco-cms/) forum. The team monitors that one closely, so one of us will be on hand and ready to point you in the right direction.
## Working with the code
@@ -121,23 +123,24 @@ You can get in touch with [the PR team](#the-pr-team) in multiple ways, we love
In order to build the Umbraco source code locally, first make sure you have the following installed.
* Visual Studio 2017 v15.9.7+
* Node v10+
* npm v6.4.1+
* [Visual Studio 2017 v15.9.7+](https://visualstudio.microsoft.com/vs/)
* [Node.js v10+](https://nodejs.org/en/download/)
* npm v6.4.1+ (installed with Node.js)
* [Git command line](https://git-scm.com/download/)
The easiest way to get started is to run `build.ps1` 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.
The easiest way to get started is to open `src\umbraco.sln` in Visual Studio 2017 (version 15.9.7 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.
Alternatively, you can open `src\umbraco.sln` in Visual Studio 2017 (version 15.9.7 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.
Alternatively, you can run `build.ps1` from the Powershell command line, 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.
![Gulp build in Visual Studio](img/gulpbuild.png)
After this build completes, you should be able to hit `F5` in Visual Studio to build and run the project. A IISExpress webserver will start and the Umbraco installer will pop up in your browser, follow the directions there to get a working Umbraco install up and running.
After this build completes, you should be able to hit `F5` in Visual Studio to build and run the project. A IISExpress webserver will start and the Umbraco installer will pop up in your browser. Follow the directions there to get a working Umbraco install up and running.
### Working with the source code
Some parts of our source code are over 10 years old now. And when we say "old", we mean "mature" of course!
There's two big areas that you should know about:
There are two big areas that you should know about:
1. The Umbraco backoffice is a extensible AngularJS app and requires you to run a `gulp dev` command while you're working with it, so changes are copied over to the appropriate directories and you can refresh your browser to view the results of your changes.
You may need to run the following commands to set up gulp properly:
@@ -146,30 +149,34 @@ There's two big areas that you should know about:
npm install
npm run build
```
The caching for the back office has been described as 'aggressive' so we often find it's best when making back office changes to disable caching in the browser to help you to see the changes you're making.
2. "The rest" is a C# based codebase, which is mostly ASP.NET MVC based. You can make changes, build them in Visual Studio, and hit `F5` to see the result.
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.
To find the general areas for 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.com/apidocs/ui/#/api) (to be found in `src\Umbraco.Web.UI.Client\src`)
* [The C# application](https://our.umbraco.com/apidocs/csharp/)
### Which branch should I target for my contributions?
We like to use [Gitflow as much as possible](https://jeffkreeftmeijer.com/git-flow/), don't worry if you are not familiar with it. The most important thing you need to know is that when you fork the Umbraco repository, the default branch is set to something, usually `v8/dev`. Whatever the default is, that's where we'd like you to target your contributions.
We like to use [Gitflow as much as possible](https://jeffkreeftmeijer.com/git-flow/), but don't worry if you are not familiar with it. The most important thing you need to know is that when you fork the Umbraco repository, the default branch is set to something, usually `v8/contrib`. If you are working on v8, this is the branch you should be targetting. For v7 contributions, please target 'v7/dev'.
Please note: we are no longer accepting features for v7 but will continue to merge bug fixes as and when they arise.
![Which branch should I target?](img/defaultbranch.png)
### Making changes after the PR was opened
### Making changes after the PR is open
If you make the corrections we ask for in the same branch and push them to your fork again, the pull request automatically updates with the additional commit(s) so we can review it again. If all is well, we'll merge the code and your commits are forever part of Umbraco!
### Keeping your Umbraco fork in sync with the main repository
We recommend you sync with our repository before you submit your pull request. That way, you can fix any potential merge conflicts and make our lives a little bit easier.
We recommend you to sync with our repository before you submit your pull request. That way, you can fix any potential merge conflicts and make our lives a little bit easier.
Also, if you've submitted a pull request three weeks ago and want to work on something new, you'll want to get the latest code to build against of course.
Also, if you have submitted a pull request three weeks ago and want to work on something new, you'll want to get the latest code to build against of course.
To sync your fork with this original one, you'll have to add the upstream url, you only have to do this once:
To sync your fork with this original one, you'll have to add the upstream url. You only have to do this once:
```
git remote add upstream https://github.com/umbraco/Umbraco-CMS.git
@@ -179,9 +186,13 @@ Then when you want to get the changes from the main repository:
```
git fetch upstream
git rebase upstream/v8/dev
git rebase upstream/v8/contrib
```
In this command we're syncing with the `v8/dev` branch, but you can of course choose another one if needed.
In this command we're syncing with the `v8/contrib` 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))
### And finally
We welcome all kinds of contributions to this repository. If you don't feel you'd like to make code changes here, you can visit our [documentation repository](https://github.com/umbraco/UmbracoDocs) and use your experience to contribute to making the docs we have, even better. We also encourage community members to feel free to comment on others' pull requests and issues - the expertise we have is not limited to the Core Contributors and HQ. So, if you see something on the issue tracker or pull requests you feel you can add to, please don't be shy.
+2 -2
View File
@@ -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. 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,6 +30,6 @@ It is highly recommended that you speak to the HQ before making large, complex c
### Pull request or package?
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.
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 fix bugs.
Eventually, a package could "graduate" to be included in the CMS.
+5 -5
View File
@@ -7,15 +7,15 @@ 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
Please fill 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/v8/dev/.github/CONTRIBUTING.md
-->
## Umbraco version
I am seeing this issue on Umbraco version: <!-- please note the version here -->
Reproduction
+3 -4
View File
@@ -1,4 +1,4 @@
# [Umbraco CMS](https://umbraco.com) &middot; [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](../LICENSE.md) [![Build status](https://umbraco.visualstudio.com/Umbraco%20Cms/_apis/build/status/Cms%208%20Continuous?branchName=v8/dev)](https://umbraco.visualstudio.com/Umbraco%20Cms/_build?definitionId=75) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md) [![pullreminders](https://pullreminders.com/badge.svg)](https://pullreminders.com?ref=badge)
# [Umbraco CMS](https://umbraco.com) &middot; [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](../LICENSE.md) [![Build status](https://umbraco.visualstudio.com/Umbraco%20Cms/_apis/build/status/Cms%208%20Continuous?branchName=v8/contrib)](https://umbraco.visualstudio.com/Umbraco%20Cms/_build?definitionId=75) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md) [![Twitter](https://img.shields.io/twitter/follow/umbraco.svg?style=social&label=Follow)](https://twitter.com/intent/follow?screen_name=umbraco)
Umbraco is the friendliest, most flexible and fastest growing ASP.NET CMS, and used by more than 500,000 websites worldwide. Our mission is to help you deliver delightful digital experiences by making Umbraco friendly, simpler and social.
@@ -21,7 +21,7 @@ Please also see our [Code of Conduct](CODE_OF_CONDUCT.md).
[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.
If you want to DIY, then 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.
## Documentation
@@ -29,7 +29,7 @@ The documentation for Umbraco CMS can be found [on Our Umbraco](https://our.umbr
## Join the Umbraco 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.
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.
Besides "Our", we all support each other also via Twitter: [Umbraco HQ](https://twitter.com/umbraco), [Release Updates](https://twitter.com/umbracoproject), [#umbraco](https://twitter.com/hashtag/umbraco)
@@ -37,4 +37,3 @@ Besides "Our", we all support each other also via Twitter: [Umbraco HQ](https://
## Contributing
Umbraco is contribution-focused and community-driven. If you want to contribute back to the Umbraco source code, please check out our [guide to contributing](CONTRIBUTING.md).
Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 24 KiB

+23 -1
View File
@@ -55,6 +55,7 @@ App_Data/TEMP/*
src/Umbraco.Web.UI/[Cc]ss/*
src/Umbraco.Web.UI/App_Code/*
src/Umbraco.Web.UI/App_Data/*
src/Umbraco.Web.UI/data/*
src/Umbraco.Tests/App_Data/*
src/Umbraco.Web.UI/[Mm]edia/*
src/Umbraco.Web.UI/[Mm]aster[Pp]ages/*
@@ -99,6 +100,9 @@ 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/[Jj]s/navigation.controller.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/main.controller.js
src/Umbraco.Web.UI/[Uu]mbraco/[Jj]s/utilities.js
src/Umbraco.Web.UI/[Uu]mbraco/[Vv]iews/
src/Umbraco.Web.UI/[Uu]mbraco/[Vv]iews/**/*.js
@@ -132,7 +136,8 @@ src/Umbraco.Web.UI.Client/bower_components/*
preserve.belle
#Ignore Rule for output of generated documentation files from Grunt docserve
src/Umbraco.Web.UI.Client/docs/api
src/Umbraco.Web.UI.Docs/api
src/Umbraco.Web.UI.Docs/package-lock.json
src/*.boltdata/
src/umbraco.sln.ide/*
src/.vs/
@@ -158,7 +163,24 @@ build/hooks/
build/temp/
# Acceptance tests
cypress.env.json
/src/Umbraco.Tests.AcceptanceTest/cypress/support/chainable.ts
/src/Umbraco.Tests.AcceptanceTest/package-lock.json
/src/Umbraco.Tests.AcceptanceTest/cypress/videos/
/src/Umbraco.Tests.AcceptanceTest/cypress/screenshots/
# eof
/src/Umbraco.Web.UI.Client/TESTS-*.xml
/src/ApiDocs/api/*
/src/Umbraco.Web.UI.NetCore/wwwroot/Media/*
/src/Umbraco.Web.UI.NetCore/wwwroot/is-cache/*
/src/Umbraco.Tests.Integration/App_Data/*
/src/Umbraco.Tests.Integration/TEMP/*
/src/Umbraco.Web.UI.NetCore/wwwroot/Umbraco/assets/*
/src/Umbraco.Web.UI.NetCore/wwwroot/Umbraco/js/*
/src/Umbraco.Web.UI.NetCore/wwwroot/Umbraco/lib/*
/src/Umbraco.Web.UI.NetCore/wwwroot/Umbraco/views/*
/src/Umbraco.Web.UI.NetCore/wwwroot/App_Data/TEMP/*
/src/Umbraco.Web.UI.NetCore/App_Data/Logs/*
+1 -1
View File
@@ -7,6 +7,6 @@
-->
<packageSources>
<add key="UmbracoCoreMyGet" value="https://www.myget.org/F/umbracocore/api/v3/index.json" />
<add key="ExamineAppVeyor" value="https://ci.appveyor.com/nuget/examine-f73l6qv0oqfh/" />
<add key="ExamineAzurePipelines" value="https://shazwazza.pkgs.visualstudio.com/Examine/_packaging/Examine-Beta/nuget/v3/index.json" />
</packageSources>
</configuration>
+8 -5
View File
@@ -25,16 +25,15 @@
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.0,1.999999)" />
<dependency id="ClientDependency" version="[1.9.9,1.999999)" />
<dependency id="ClientDependency-Mvc5" version="[1.9.3,1.999999)" />
<dependency id="Examine" version="[1.0.2,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.Identity.Core" 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)" />
@@ -42,6 +41,7 @@
<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)" />
<dependency id="HtmlSanitizer" version="[4.0.217,4.999999)" />
</group>
@@ -52,14 +52,17 @@
<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" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.ModelsBuilder.Embedded.dll" target="lib\net472\Umbraco.ModelsBuilder.Embedded.dll" />
<!-- docs -->
<file src="$BuildTmp$\WebApp\bin\Umbraco.Web.xml" target="lib\net472\Umbraco.Web.xml" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.Web.UI.xml" target="lib\net472\Umbraco.Web.UI.xml" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.Examine.xml" target="lib\net472\Umbraco.Examine.xml" />
<file src="$BuildTmp$\WebApp\bin\Umbraco.ModelsBuilder.Embedded.xml" target="lib\net472\Umbraco.ModelsBuilder.Embedded.xml" />
<!-- symbols -->
<file src="$BuildTmp$\bin\Umbraco.Web.pdb" target="lib\net472\Umbraco.Web.pdb" />
<file src="$BuildTmp$\bin\Umbraco.Examine.pdb" target="lib\net472\Umbraco.Examine.pdb" />
<file src="$BuildTmp$\bin\Umbraco.ModelsBuilder.Embedded.pdb" target="lib\net472\Umbraco.ModelsBuilder.Embedded.pdb" />
</files>
</package>
-2
View File
@@ -26,11 +26,9 @@
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.1.0]" />
<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)" />
</group>
+3 -8
View File
@@ -11,21 +11,16 @@ Y88 88Y 888 888 888 888 d88P 888 888 888 Y88b. Y88..88P
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 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.
We've done our best to transform your configuration files but in case something is not quite right: we recommmend you look in source control for the previous version so you can find the original files before they were transformed.
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, config\splashes and global.asax.
Please read the release notes on our.umbraco.com:
http://our.umbraco.com/contribute/releases
https://our.umbraco.com/contribute/releases
- Umbraco
@@ -11,7 +11,7 @@
<host factoryType="System.Web.Mvc.MvcWebRazorHostFactory, System.Web.Mvc, Version=5.2.7.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" xdt:Locator="Match(factoryType)" xdt:Transform="SetAttributes(factoryType)" />
<pages pageBaseType="System.Web.Mvc.WebViewPage">
<namespaces>
<add namespace="Umbraco.Web.PublishedContentModels" xdt:Transform="InsertIfMissing" />
<add namespace="Umbraco.Web.PublishedModels" xdt:Transform="InsertIfMissing" />
</namespaces>
</pages>
</system.web.webPages.razor>
+5 -4
View File
@@ -5,9 +5,9 @@
<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="settings" type="Umbraco.Core.Configuration.UmbracoSettings.UmbracoSettingsSection, Umbraco.Configuration" 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" />
<section name="HealthChecks" type="Umbraco.Core.Configuration.HealthChecks.HealthChecksSection, Umbraco.Configuration" requirePermission="false" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" />
</sectionGroup>
</configSections>
@@ -53,7 +53,7 @@
<add name="umbracoBaseRequestModule" xdt:Locator="Match(name)" xdt:Transform="Remove" />
<add name="viewstateMoverModule" xdt:Locator="Match(name)" xdt:Transform="Remove" />
<add name=" UmbracoModule" xdt:Locator="Match(name)" xdt:Transform="Remove" />
<add name="UmbracoModule" type="Umbraco.Web.UmbracoModule,umbraco" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" />
<add name="UmbracoModule" type="Umbraco.Web.UmbracoModule,Umbraco.Web" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" />
</httpModules>
<httpHandlers xdt:Transform="InsertIfMissing" />
@@ -76,7 +76,7 @@
<!-- Note, we're removing the one that starts with a space here, don't correct it -->
<!-- This to fix a quirk we for a lot of releases where we added it with the space by default -->
<add name=" UmbracoModule" xdt:Locator="Match(name)" xdt:Transform="Remove" />
<add name="UmbracoModule" type="Umbraco.Web.UmbracoModule,umbraco" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" />
<add name="UmbracoModule" type="Umbraco.Web.UmbracoModule,Umbraco.Web" xdt:Locator="Match(name)" xdt:Transform="InsertIfMissing" />
</modules>
<staticContent xdt:Transform="InsertIfMissing" />
@@ -128,6 +128,7 @@
<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" />
<dependentAssembly xdt:Locator="Condition(./_defaultNamespace:assemblyIdentity/@name='System.Collections.Immutable')" xdt:Transform="Remove" />
</assemblyBinding>
</runtime>
@@ -2,7 +2,7 @@
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">>
<appSettings>
<add key="serilog:using:File" value="Umbraco.Core" xdt:Transform="SetAttributes(value)" xdt:Locator="Match(key)"/>
<add key="serilog:using:File" value="Umbraco.Infrastructure" xdt:Transform="SetAttributes(value)" xdt:Locator="Match(key)"/>
<add key="serilog:write-to:File.shared" xdt:Transform="Remove" xdt:Locator="Match(key)"/>
</appSettings>
+52
View File
@@ -0,0 +1,52 @@
##############################################################
## V8 CMS - .NET & AngularJS Doc sites ##
## Built on demand only, NO automatic PR/branch triggers ##
## ##
## This build pipeline has a webhook for sucessful ##
## builds, that sends the ZIP artifacts to our.umb to host ##
##############################################################
# Name != name of pipeline but the build number format
# https://docs.microsoft.com/en-us/azure/devops/pipelines/process/run-number?view=azure-devops&tabs=yaml
# Build Pipeline triggers
# https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#ci-triggers
trigger: none
pr: none
# Variables & their default values
variables:
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
# VM to run the build on & it's installed software
# https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops
# https://github.com/actions/virtual-environments/blob/master/images/win/Windows2019-Readme.md
pool:
vmImage: 'windows-2019'
jobs:
- job: buildDocs
displayName: 'Build static docs site as ZIPs'
steps:
- task: PowerShell@2
displayName: 'Prep build tool, build C# & JS Docs'
inputs:
targetType: 'inline'
script: |
$uenv=./build.ps1 -get -doc
$uenv.SandboxNode()
$uenv.CompileBelle()
$uenv.PrepareAngularDocs()
$nugetsourceUmbraco = "https://api.nuget.org/v3/index.json"
$uenv.PrepareCSharpDocs()
$uenv.RestoreNode()
errorActionPreference: 'continue'
workingDirectory: 'build'
- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Build.Repository.LocalPath)\build.out\'
artifact: 'docs'
publishLocation: 'pipeline'
+3 -1
View File
@@ -22,6 +22,8 @@
# get NuGet
$cache = 4
$nuget = "$scriptTemp\nuget.exe"
# ensure the correct NuGet-source is used. This one is used by Umbraco
$nugetsourceUmbraco = "https://www.myget.org/F/umbracocore/api/v3/index.json"
if (-not $local)
{
$source = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
@@ -61,7 +63,7 @@
# get the build system
if (-not $local)
{
$params = "-OutputDirectory", $scriptTemp, "-Verbosity", "quiet", "-PreRelease"
$params = "-OutputDirectory", $scriptTemp, "-Verbosity", "quiet", "-PreRelease", "-Source", $nugetsourceUmbraco
&$nuget install Umbraco.Build @params
if (-not $?) { throw "Failed to download Umbraco.Build." }
}
-44
View File
@@ -1,44 +0,0 @@
$uenv=build/build.ps1 -get
$src = "$($uenv.SolutionRoot)\src"
$tmp = $uenv.BuildTemp
$out = $uenv.BuildOutput
$DocFxJson = "$src\ApiDocs\docfx.json"
$DocFxSiteOutput = "$tmp\_site\*.*"
################ Do the UI docs
$uenv.CompileBelle()
"Moving to Umbraco.Web.UI.Client folder"
cd .\src\Umbraco.Web.UI.Client
"Generating the docs and waiting before executing the next commands"
& gulp docs | Out-Null
# change baseUrl
$BaseUrl = "https://our.umbraco.com/apidocs/v8/ui/"
$IndexPath = "./docs/api/index.html"
(Get-Content $IndexPath).replace('location.href.replace(rUrl, indexFile)', "`'" + $BaseUrl + "`'") | Set-Content $IndexPath
# zip it
& $uenv.BuildEnv.Zip a -tzip -r "$out\ui-docs.zip" "$src\Umbraco.Web.UI.Client\docs\api\*.*"
################ Do the c# docs
# Build the solution in debug mode
$SolutionPath = Join-Path -Path $src -ChildPath "umbraco.sln"
#$uenv.CompileUmbraco()
#restore nuget packages
$uenv.RestoreNuGet()
# run DocFx
$DocFx = $uenv.BuildEnv.DocFx
Write-Host "$DocFxJson"
& $DocFx metadata $DocFxJson
& $DocFx build $DocFxJson
# zip it
& $uenv.BuildEnv.Zip a -tzip -r "$out\csharp-docs.zip" $DocFxSiteOutput
+19 -14
View File
@@ -375,11 +375,14 @@
})
$nugetsourceUmbraco = "https://api.nuget.org/v3/index.json"
$ubuild.DefineMethod("RestoreNuGet",
{
Write-Host "Restore NuGet"
Write-Host "Logging to $($this.BuildTemp)\nuget.restore.log"
&$this.BuildEnv.NuGet restore "$($this.SolutionRoot)\src\Umbraco.sln" > "$($this.BuildTemp)\nuget.restore.log"
$params = "-Source", $nugetsourceUmbraco
&$this.BuildEnv.NuGet restore "$($this.SolutionRoot)\src\Umbraco.sln" > "$($this.BuildTemp)\nuget.restore.log" @params
if (-not $?) { throw "Failed to restore NuGet packages." }
})
@@ -435,14 +438,11 @@
Write-Host "Prepare C# Documentation"
$src = "$($this.SolutionRoot)\src"
$tmp = $this.BuildTemp
$out = $this.BuildOutput
$tmp = $this.BuildTemp
$out = $this.BuildOutput
$DocFxJson = Join-Path -Path $src "\ApiDocs\docfx.json"
$DocFxSiteOutput = Join-Path -Path $tmp "\_site\*.*"
#restore nuget packages
$this.RestoreNuGet()
# run DocFx
$DocFx = $this.BuildEnv.DocFx
@@ -458,23 +458,27 @@
Write-Host "Prepare Angular Documentation"
$src = "$($this.SolutionRoot)\src"
$out = $this.BuildOutput
$out = $this.BuildOutput
$this.CompileBelle()
# Check if the solution has been built
if (!(Test-Path "$src\Umbraco.Web.UI.Client\node_modules")) {throw "Umbraco needs to be built before generating the Angular Docs"}
"Moving to Umbraco.Web.UI.Client folder"
cd .\src\Umbraco.Web.UI.Client
"Moving to Umbraco.Web.UI.Docs folder"
cd $src\Umbraco.Web.UI.Docs
"Generating the docs and waiting before executing the next commands"
& gulp docs | Out-Null
& npm install
& npx gulp docs
Pop-Location
# change baseUrl
$BaseUrl = "https://our.umbraco.com/apidocs/v8/ui/"
$IndexPath = "./docs/api/index.html"
(Get-Content $IndexPath).replace('location.href.replace(rUrl, indexFile)', "`'" + $BaseUrl + "`'") | Set-Content $IndexPath
$IndexPath = "./api/index.html"
(Get-Content $IndexPath).replace('origin + location.href.substr(origin.length).replace(rUrl, indexFile)', "`'" + $BaseUrl + "`'") | Set-Content $IndexPath
# zip it
& $this.BuildEnv.Zip a -tzip -r "$out\ui-docs.zip" "$src\Umbraco.Web.UI.Client\docs\api\*.*"
& $this.BuildEnv.Zip a -tzip -r "$out\ui-docs.zip" "$src\Umbraco.Web.UI.Docs\api\*.*"
})
$ubuild.DefineMethod("Build",
@@ -533,6 +537,7 @@
# run
if (-not $get)
{
cd
if ($command.Length -eq 0)
{
$command = @( "Build" )
+205 -63
View File
@@ -1,65 +1,11 @@
body {
color: rgba(0,0,0,.8);
}
.navbar-inverse {
background: #a3db78;
}
.navbar-inverse .navbar-nav>li>a, .navbar-inverse .navbar-text {
color: rgba(0,0,0,.8);
}
.navbar-inverse {
border-color: transparent;
}
.sidetoc {
background-color: #f5fbf1;
}
body .toc {
background-color: #f5fbf1;
}
.sidefilter {
background-color: #daf0c9;
}
.subnav {
background-color: #f5fbf1;
}
.navbar-inverse .navbar-nav>.active>a {
color: rgba(0,0,0,.8);
background-color: #daf0c9;
}
.navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
color: rgba(0,0,0,.8);
background-color: #daf0c9;
}
.btn-primary {
color: rgba(0,0,0,.8);
background-color: #fff;
border-color: rgba(0,0,0,.8);
}
.btn-primary:hover {
background-color: #daf0c9;
color: rgba(0,0,0,.8);
border-color: rgba(0,0,0,.8);
}
.toc .nav > li > a {
color: rgba(0,0,0,.8);
}
button, a {
color: #f36f21;
}
button:hover,
button:focus,
a:hover,
a:focus {
color: #143653;
text-decoration: none;
color: #34393e;
font-family: 'Roboto', sans-serif;
line-height: 1.5;
font-size: 16px;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
word-wrap: break-word
}
.navbar-header .navbar-brand {
@@ -68,6 +14,202 @@ a:focus {
width:50px;
}
.toc .nav > li.active > a {
color: #f36f21;
#_content>a {
margin-top: 5px;
}
/* HEADINGS */
h1 {
font-weight: 600;
font-size: 32px;
}
h2 {
font-weight: 600;
font-size: 24px;
line-height: 1.8;
}
h3 {
font-weight: 600;
font-size: 20px;
line-height: 1.8;
}
h5 {
font-size: 14px;
padding: 10px 0px;
}
article h1,
article h2,
article h3,
article h4 {
margin-top: 35px;
margin-bottom: 15px;
}
article h4 {
padding-bottom: 8px;
border-bottom: 2px solid #ddd;
}
/* NAVBAR */
.navbar-brand>img {
color: #fff;
}
.navbar {
border: none;
/* Both navbars use box-shadow */
-webkit-box-shadow: 0px 1px 3px 0px rgba(100, 100, 100, 0.5);
-moz-box-shadow: 0px 1px 3px 0px rgba(100, 100, 100, 0.5);
box-shadow: 0px 1px 3px 0px rgba(100, 100, 100, 0.5);
}
.subnav {
border-top: 1px solid #ddd;
background-color: #fff;
}
.navbar-inverse {
background-color: #303ea1;
z-index: 100;
}
.navbar-inverse .navbar-nav>li>a,
.navbar-inverse .navbar-text {
color: #fff;
background-color: #303ea1;
border-bottom: 3px solid transparent;
padding-bottom: 12px;
}
.navbar-inverse .navbar-nav>li>a:focus,
.navbar-inverse .navbar-nav>li>a:hover {
color: #fff;
background-color: #303ea1;
border-bottom: 3px solid white;
}
.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:focus,
.navbar-inverse .navbar-nav>.active>a:hover {
color: #fff;
background-color: #303ea1;
border-bottom: 3px solid white;
}
.navbar-form .form-control {
border: none;
border-radius: 20px;
}
/* SIDEBAR */
.toc .level1>li {
font-weight: 400;
}
.toc .nav>li>a {
color: #34393e;
}
.sidefilter {
background-color: #fff;
border-left: none;
border-right: none;
}
.sidefilter {
background-color: #fff;
border-left: none;
border-right: none;
}
.toc-filter {
padding: 10px;
margin: 0;
}
.toc-filter>input {
border: 2px solid #ddd;
border-radius: 20px;
}
.toc-filter>.filter-icon {
display: none;
}
.sidetoc>.toc {
background-color: #fff;
overflow-x: hidden;
}
.sidetoc {
background-color: #fff;
border: none;
}
/* ALERTS */
.alert {
padding: 0px 0px 5px 0px;
color: inherit;
background-color: inherit;
border: none;
box-shadow: 0px 2px 2px 0px rgba(100, 100, 100, 0.4);
}
.alert>p {
margin-bottom: 0;
padding: 5px 10px;
}
.alert>ul {
margin-bottom: 0;
padding: 5px 40px;
}
.alert>h5 {
padding: 10px 15px;
margin-top: 0;
text-transform: uppercase;
font-weight: bold;
border-radius: 4px 4px 0 0;
}
.alert-info>h5 {
color: #1976d2;
border-bottom: 4px solid #1976d2;
background-color: #e3f2fd;
}
.alert-warning>h5 {
color: #f57f17;
border-bottom: 4px solid #f57f17;
background-color: #fff3e0;
}
.alert-danger>h5 {
color: #d32f2f;
border-bottom: 4px solid #d32f2f;
background-color: #ffebee;
}
/* CODE HIGHLIGHT */
pre {
padding: 9.5px;
margin: 0 0 10px;
font-size: 13px;
word-break: break-all;
word-wrap: break-word;
background-color: #fffaef;
border-radius: 4px;
box-shadow: 0px 1px 4px 1px rgba(100, 100, 100, 0.4);
}
.sideaffix {
overflow: visible;
}
+4 -4
View File
@@ -2,7 +2,7 @@
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2019")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@@ -15,8 +15,8 @@ using System.Resources;
// this is the ONLY ONE the CLR cares about for compatibility
// should change ONLY when "hard" breaking compatibility (manual change)
[assembly: AssemblyVersion("8.0.0")]
[assembly: AssemblyVersion("9.0.0")]
// these are FYI and changed automatically
[assembly: AssemblyFileVersion("8.2.0")]
[assembly: AssemblyInformationalVersion("8.2.0")]
[assembly: AssemblyFileVersion("9.0.0")]
[assembly: AssemblyInformationalVersion("9.0.0")]
@@ -0,0 +1,50 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Configuration.Models;
using Umbraco.Core.Configuration;
using Umbraco.Core.Configuration.HealthChecks;
using Umbraco.Core.Configuration.UmbracoSettings;
using ConnectionStrings = Umbraco.Configuration.Models.ConnectionStrings;
using CoreDebugSettings = Umbraco.Configuration.Models.CoreDebugSettings;
namespace Umbraco.Configuration
{
public class AspNetCoreConfigsFactory : IConfigsFactory
{
private readonly IConfiguration _configuration;
public AspNetCoreConfigsFactory(IConfiguration configuration)
{
_configuration = configuration ?? throw new System.ArgumentNullException(nameof(configuration));
}
public Configs Create()
{
var configs = new Configs();
configs.Add<ITourSettings>(() => new TourSettings(_configuration));
configs.Add<ICoreDebugSettings>(() => new CoreDebugSettings(_configuration));
configs.Add<IRequestHandlerSettings>(() => new RequestHandlerSettings(_configuration));
configs.Add<ISecuritySettings>(() => new SecuritySettings(_configuration));
configs.Add<IUserPasswordConfiguration>(() => new UserPasswordConfigurationSettings(_configuration));
configs.Add<IMemberPasswordConfiguration>(() => new MemberPasswordConfigurationSettings(_configuration));
configs.Add<IKeepAliveSettings>(() => new KeepAliveSettings(_configuration));
configs.Add<IContentSettings>(() => new ContentSettings(_configuration));
configs.Add<IHealthChecksSettings>(() => new HealthChecksSettings(_configuration));
configs.Add<ILoggingSettings>(() => new LoggingSettings(_configuration));
configs.Add<IExceptionFilterSettings>(() => new ExceptionFilterSettings(_configuration));
configs.Add<IActiveDirectorySettings>(() => new ActiveDirectorySettings(_configuration));
configs.Add<IRuntimeSettings>(() => new RuntimeSettings(_configuration));
configs.Add<ITypeFinderSettings>(() => new TypeFinderSettings(_configuration));
configs.Add<INuCacheSettings>(() => new NuCacheSettings(_configuration));
configs.Add<IWebRoutingSettings>(() => new WebRoutingSettings(_configuration));
configs.Add<IIndexCreatorSettings>(() => new IndexCreatorSettings(_configuration));
configs.Add<IModelsBuilderConfig>(() => new ModelsBuilderConfig(_configuration));
configs.Add<IHostingSettings>(() => new HostingSettings(_configuration));
configs.Add<IGlobalSettings>(() => new GlobalSettings(_configuration));
configs.Add<IConnectionStrings>(() => new ConnectionStrings(_configuration));
configs.Add<IImagingSettings>(() => new ImagingSettings(_configuration));
return configs;
}
}
}
@@ -0,0 +1,63 @@
using Umbraco.Configuration;
using Umbraco.Configuration.Implementations;
using Umbraco.Configuration.Legacy;
using Umbraco.Core.Configuration.HealthChecks;
using Umbraco.Core.Configuration.Legacy;
using Umbraco.Core.Configuration.UmbracoSettings;
namespace Umbraco.Core.Configuration
{
public class ConfigsFactory : IConfigsFactory
{
public IHostingSettings HostingSettings { get; } = new HostingSettings();
public ICoreDebugSettings CoreDebugSettings { get; } = new CoreDebugSettings();
public IIndexCreatorSettings IndexCreatorSettings { get; } = new IndexCreatorSettings();
public INuCacheSettings NuCacheSettings { get; } = new NuCacheSettings();
public ITypeFinderSettings TypeFinderSettings { get; } = new TypeFinderSettings();
public IRuntimeSettings RuntimeSettings { get; } = new RuntimeSettings();
public IActiveDirectorySettings ActiveDirectorySettings { get; } = new ActiveDirectorySettings();
public IExceptionFilterSettings ExceptionFilterSettings { get; } = new ExceptionFilterSettings();
public ITourSettings TourSettings { get; } = new TourSettings();
public ILoggingSettings LoggingSettings { get; } = new LoggingSettings();
public IKeepAliveSettings KeepAliveSettings { get; } = new KeepAliveSettings();
public IWebRoutingSettings WebRoutingSettings { get; } = new WebRoutingSettings();
public IRequestHandlerSettings RequestHandlerSettings { get; } = new RequestHandlerSettings();
public ISecuritySettings SecuritySettings { get; } = new SecuritySettings();
public IUserPasswordConfiguration UserPasswordConfigurationSettings { get; } = new UserPasswordConfigurationSettings();
public IMemberPasswordConfiguration MemberPasswordConfigurationSettings { get; } = new MemberPasswordConfigurationSettings();
public IContentSettings ContentSettings { get; } = new ContentSettings();
public IGlobalSettings GlobalSettings { get; } = new GlobalSettings();
public IHealthChecksSettings HealthChecksSettings { get; } = new HealthChecksSettings();
public IConnectionStrings ConnectionStrings { get; } = new ConnectionStrings();
public IModelsBuilderConfig ModelsBuilderConfig { get; } = new ModelsBuilderConfig();
public Configs Create()
{
var configs = new Configs();
configs.Add<IGlobalSettings>(() => GlobalSettings);
configs.Add<IHostingSettings>(() => HostingSettings);
configs.Add<IHealthChecksSettings>(() => HealthChecksSettings);
configs.Add<ICoreDebugSettings>(() => CoreDebugSettings);
configs.Add<IConnectionStrings>(() => ConnectionStrings);
configs.Add<IModelsBuilderConfig>(() => ModelsBuilderConfig);
configs.Add<IIndexCreatorSettings>(() => IndexCreatorSettings);
configs.Add<INuCacheSettings>(() => NuCacheSettings);
configs.Add<ITypeFinderSettings>(() => TypeFinderSettings);
configs.Add<IRuntimeSettings>(() => RuntimeSettings);
configs.Add<IActiveDirectorySettings>(() => ActiveDirectorySettings);
configs.Add<IExceptionFilterSettings>(() => ExceptionFilterSettings);
configs.Add<ITourSettings>(() => TourSettings);
configs.Add<ILoggingSettings>(() => LoggingSettings);
configs.Add<IKeepAliveSettings>(() => KeepAliveSettings);
configs.Add<IWebRoutingSettings>(() => WebRoutingSettings);
configs.Add<IRequestHandlerSettings>(() => RequestHandlerSettings);
configs.Add<ISecuritySettings>(() => SecuritySettings);
configs.Add<IUserPasswordConfiguration>(() => UserPasswordConfigurationSettings);
configs.Add<IMemberPasswordConfiguration>(() => MemberPasswordConfigurationSettings);
configs.Add<IContentSettings>(() => ContentSettings);
return configs;
}
}
}
@@ -1,10 +1,9 @@
using System;
using System.Collections.Generic;
using System.Configuration;
namespace Umbraco.Core.Configuration.HealthChecks
{
public class HealthChecksSection : ConfigurationSection, IHealthChecks
public class HealthChecksSection : ConfigurationSection
{
private const string DisabledChecksKey = "disabledChecks";
private const string NotificationSettingsKey = "notificationSettings";
@@ -21,14 +20,5 @@ namespace Umbraco.Core.Configuration.HealthChecks
get { return ((HealthCheckNotificationSettingsElement)(base[NotificationSettingsKey])); }
}
IEnumerable<IDisabledHealthCheck> IHealthChecks.DisabledChecks
{
get { return DisabledChecks; }
}
IHealthCheckNotificationSettings IHealthChecks.NotificationSettings
{
get { return NotificationSettings; }
}
}
}
@@ -0,0 +1,15 @@
using System.Configuration;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Legacy
{
public class ActiveDirectorySettings : IActiveDirectorySettings
{
public ActiveDirectorySettings()
{
ActiveDirectoryDomain = ConfigurationManager.AppSettings["ActiveDirectoryDomain"];
}
public string ActiveDirectoryDomain { get; }
}
}
@@ -63,7 +63,7 @@ namespace Umbraco.Core.Configuration
public void Dispose()
{
ObjectExtensions.DisposeIfDisposable(_stringEnumerator);
_stringEnumerator.DisposeIfDisposable();
}
}
}
@@ -0,0 +1,22 @@
using System.Configuration;
using Umbraco.Core.Configuration.UmbracoSettings;
namespace Umbraco.Configuration.Implementations
{
internal abstract class ConfigurationManagerConfigBase
{
private UmbracoSettingsSection _umbracoSettingsSection;
protected UmbracoSettingsSection UmbracoSettingsSection
{
get
{
if (_umbracoSettingsSection is null)
{
_umbracoSettingsSection = ConfigurationManager.GetSection("umbracoConfiguration/settings") as UmbracoSettingsSection;
}
return _umbracoSettingsSection;
}
}
}
}
@@ -0,0 +1,17 @@
using System.Configuration;
namespace Umbraco.Core.Configuration
{
public class ConnectionStrings : IConnectionStrings
{
public ConfigConnectionString this[string key]
{
get
{
var settings = ConfigurationManager.ConnectionStrings[key];
if (settings == null) return null;
return new ConfigConnectionString(settings.ConnectionString, settings.ProviderName, settings.Name);
}
}
}
}
@@ -0,0 +1,22 @@
using System.Collections.Generic;
using Umbraco.Core.Configuration.UmbracoSettings;
using Umbraco.Core.Macros;
namespace Umbraco.Configuration.Implementations
{
internal class ContentSettings : ConfigurationManagerConfigBase, IContentSettings
{
public string NotificationEmailAddress => UmbracoSettingsSection.Content.Notifications.NotificationEmailAddress;
public bool DisableHtmlEmail => UmbracoSettingsSection.Content.Notifications.DisableHtmlEmail;
public IEnumerable<string> ImageFileTypes => UmbracoSettingsSection.Content.Imaging.ImageFileTypes;
public IEnumerable<IImagingAutoFillUploadField> ImageAutoFillProperties => UmbracoSettingsSection.Content.Imaging.ImageAutoFillProperties;
public bool ResolveUrlsFromTextString => UmbracoSettingsSection.Content.ResolveUrlsFromTextString;
public IEnumerable<IContentErrorPage> Error404Collection => UmbracoSettingsSection.Content.Error404Collection;
public string PreviewBadge => UmbracoSettingsSection.Content.PreviewBadge;
public MacroErrorBehaviour MacroErrorBehaviour => UmbracoSettingsSection.Content.MacroErrors;
public IEnumerable<string> DisallowedUploadFiles => UmbracoSettingsSection.Content.DisallowedUploadFiles;
public IEnumerable<string> AllowedUploadFiles => UmbracoSettingsSection.Content.AllowedUploadFiles;
public bool ShowDeprecatedPropertyEditors => UmbracoSettingsSection.Content.ShowDeprecatedPropertyEditors;
public string LoginBackgroundImage => UmbracoSettingsSection.Content.LoginBackgroundImage;
}
}
@@ -1,22 +1,21 @@
using System;
using System.Configuration;
namespace Umbraco.Core.Configuration
{
internal class CoreDebug
public class CoreDebugSettings : ICoreDebugSettings
{
public CoreDebug()
public CoreDebugSettings()
{
var appSettings = System.Configuration.ConfigurationManager.AppSettings;
var appSettings = ConfigurationManager.AppSettings;
LogUncompletedScopes = string.Equals("true", appSettings[Constants.AppSettings.Debug.LogUncompletedScopes], StringComparison.OrdinalIgnoreCase);
DumpOnTimeoutThreadAbort = string.Equals("true", appSettings[Constants.AppSettings.Debug.DumpOnTimeoutThreadAbort], StringComparison.OrdinalIgnoreCase);
}
// when true, Scope logs the stack trace for any scope that gets disposed without being completed.
// this helps troubleshooting rogue scopes that we forget to complete
/// <inheritdoc />
public bool LogUncompletedScopes { get; }
// when true, the Logger creates a mini dump of w3wp in ~/App_Data/MiniDump whenever it logs
// an error due to a ThreadAbortException that is due to a timeout.
/// <inheritdoc />
public bool DumpOnTimeoutThreadAbort { get; }
}
}
@@ -0,0 +1,18 @@
using System.Configuration;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Legacy
{
public class ExceptionFilterSettings : IExceptionFilterSettings
{
public ExceptionFilterSettings()
{
if (bool.TryParse(ConfigurationManager.AppSettings["Umbraco.Web.DisableModelBindingExceptionFilter"],
out var disabled))
{
Disabled = disabled;
}
}
public bool Disabled { get; }
}
}
@@ -1,14 +1,13 @@
using System;
using System.Configuration;
using System.Linq;
using System.Net.Configuration;
using System.Web;
using System.Web.Configuration;
using System.Web.Hosting;
using System.Net.Mail;
using System.Xml.Linq;
using Umbraco.Composing;
using Umbraco.Configuration;
using Umbraco.Core.IO;
namespace Umbraco.Core.Configuration
namespace Umbraco.Core.Configuration.Legacy
{
// TODO: Replace checking for if the app settings exist and returning an empty string, instead return the defaults!
// TODO: need to massively cleanup these configuration classes
@@ -18,7 +17,6 @@ namespace Umbraco.Core.Configuration
/// </summary>
public class GlobalSettings : IGlobalSettings
{
private string _localTempPath;
// TODO these should not be static
private static string _reservedPaths;
@@ -33,10 +31,8 @@ namespace Umbraco.Core.Configuration
/// </summary>
private static void ResetInternal()
{
GlobalSettingsExtensions.Reset();
_reservedPaths = null;
_reservedUrls = null;
HasSmtpServer = null;
}
/// <summary>
@@ -48,25 +44,60 @@ namespace Umbraco.Core.Configuration
ResetInternal();
}
public static bool HasSmtpServerConfigured(string appPath)
{
if (HasSmtpServer.HasValue) return HasSmtpServer.Value;
var config = WebConfigurationManager.OpenWebConfiguration(appPath);
var settings = (MailSettingsSectionGroup)config.GetSectionGroup("system.net/mailSettings");
// note: "noreply@example.com" is/was the sample SMTP from email - we'll regard that as "not configured"
if (settings == null || settings.Smtp == null || "noreply@example.com".Equals(settings.Smtp.From, StringComparison.OrdinalIgnoreCase)) return false;
if (settings.Smtp.SpecifiedPickupDirectory != null && string.IsNullOrEmpty(settings.Smtp.SpecifiedPickupDirectory.PickupDirectoryLocation) == false)
return true;
if (settings.Smtp.Network != null && string.IsNullOrEmpty(settings.Smtp.Network.Host) == false)
return true;
return false;
public bool IsSmtpServerConfigured
{
get
{
var smtpSettings = SmtpSettings;
if (smtpSettings is null) return false;
if (!(smtpSettings.From is null)) return true;
if (!(smtpSettings.Host is null)) return true;
if (!(smtpSettings.PickupDirectoryLocation is null)) return true;
return false;
}
}
/// <summary>
/// For testing only
/// </summary>
internal static bool? HasSmtpServer { get; set; }
public ISmtpSettings SmtpSettings
{
get
{
var smtpSection = ConfigurationManager.GetSection("system.net/mailSettings/smtp") as ConfigurationSection;
if (smtpSection is null) return null;
var result = new SmtpSettings();
var from = smtpSection.ElementInformation.Properties["from"];
if (@from != null
&& @from.Value is string fromPropValue
&& string.IsNullOrEmpty(fromPropValue) == false
&& !string.Equals("noreply@example.com", fromPropValue, StringComparison.OrdinalIgnoreCase))
{
result.From = fromPropValue;
}
var specifiedPickupDirectorySection = ConfigurationManager.GetSection("system.net/mailSettings/smtp/specifiedPickupDirectory") as ConfigurationSection;
var pickupDirectoryLocation = specifiedPickupDirectorySection?.ElementInformation.Properties["pickupDirectoryLocation"];
if (pickupDirectoryLocation != null
&& pickupDirectoryLocation.Value is string pickupDirectoryLocationPropValue
&& string.IsNullOrEmpty(pickupDirectoryLocationPropValue) == false)
{
result.PickupDirectoryLocation = pickupDirectoryLocationPropValue;
}
// SmtpClient can magically read the section system.net/mailSettings/smtp/network, witch is always
// null if we use ConfigurationManager.GetSection. SmtpSection does not exist in .Net Standard
var smtpClient = new SmtpClient();
result.Host = smtpClient.Host;
result.Port = smtpClient.Port;
return result;
}
}
/// <summary>
/// Gets the reserved urls from web.config.
@@ -100,8 +131,8 @@ namespace Umbraco.Core.Configuration
if (_reservedPaths != null) return _reservedPaths;
var reservedPaths = StaticReservedPaths;
var umbPath = ConfigurationManager.AppSettings.ContainsKey(Constants.AppSettings.Path) && !ConfigurationManager.AppSettings[Constants.AppSettings.Path].IsNullOrWhiteSpace()
? ConfigurationManager.AppSettings[Constants.AppSettings.Path]
var umbPath = ConfigurationManager.AppSettings.ContainsKey(Constants.AppSettings.UmbracoPath) && !ConfigurationManager.AppSettings[Constants.AppSettings.UmbracoPath].IsNullOrWhiteSpace()
? ConfigurationManager.AppSettings[Constants.AppSettings.UmbracoPath]
: "~/umbraco";
//always add the umbraco path to the list
reservedPaths += umbPath.EnsureEndsWith(',');
@@ -115,36 +146,8 @@ namespace Umbraco.Core.Configuration
}
}
/// <summary>
/// Gets the name of the content XML file.
/// </summary>
/// <value>The content XML.</value>
/// <remarks>
/// Defaults to ~/App_Data/umbraco.config
/// </remarks>
public string ContentXmlFile
{
get
{
return ConfigurationManager.AppSettings.ContainsKey(Constants.AppSettings.ContentXML)
? ConfigurationManager.AppSettings[Constants.AppSettings.ContentXML]
: "~/App_Data/umbraco.config";
}
}
/// <summary>
/// Gets the path to umbraco's root directory (/umbraco by default).
/// </summary>
/// <value>The path.</value>
public string Path
{
get
{
return ConfigurationManager.AppSettings.ContainsKey(Constants.AppSettings.Path)
? IOHelper.ResolveUrl(ConfigurationManager.AppSettings[Constants.AppSettings.Path])
: string.Empty;
}
}
/// <summary>
/// Gets or sets the configuration status. This will return the version number of the currently installed umbraco instance.
@@ -160,7 +163,7 @@ namespace Umbraco.Core.Configuration
}
set
{
SaveSetting(Constants.AppSettings.ConfigurationStatus, value);
SaveSetting(Constants.AppSettings.ConfigurationStatus, value, Current.IOHelper); //TODO remove
}
}
@@ -169,9 +172,9 @@ namespace Umbraco.Core.Configuration
/// </summary>
/// <param name="key">Key of the setting to be saved.</param>
/// <param name="value">Value of the setting to be saved.</param>
internal static void SaveSetting(string key, string value)
internal static void SaveSetting(string key, string value, IIOHelper ioHelper)
{
var fileName = IOHelper.MapPath(string.Format("{0}/web.config", SystemDirectories.Root));
var fileName = ioHelper.MapPath("~/web.config");
var xml = XDocument.Load(fileName, LoadOptions.PreserveWhitespace);
var appSettings = xml.Root.DescendantsAndSelf("appSettings").Single();
@@ -187,50 +190,6 @@ namespace Umbraco.Core.Configuration
ConfigurationManager.RefreshSection("appSettings");
}
/// <summary>
/// Removes a setting from the configuration file.
/// </summary>
/// <param name="key">Key of the setting to be removed.</param>
internal static void RemoveSetting(string key)
{
var fileName = IOHelper.MapPath(string.Format("{0}/web.config", SystemDirectories.Root));
var xml = XDocument.Load(fileName, LoadOptions.PreserveWhitespace);
var appSettings = xml.Root.DescendantsAndSelf("appSettings").Single();
var setting = appSettings.Descendants("add").FirstOrDefault(s => s.Attribute("key").Value == key);
if (setting != null)
{
setting.Remove();
xml.Save(fileName, SaveOptions.DisableFormatting);
ConfigurationManager.RefreshSection("appSettings");
}
}
/// <summary>
/// Gets a value indicating whether umbraco is running in [debug mode].
/// </summary>
/// <value><c>true</c> if [debug mode]; otherwise, <c>false</c>.</value>
public static bool DebugMode
{
get
{
try
{
if (HttpContext.Current != null)
{
return HttpContext.Current.IsDebuggingEnabled;
}
//go and get it from config directly
var section = ConfigurationManager.GetSection("system.web/compilation") as CompilationSection;
return section != null && section.Debug;
}
catch
{
return false;
}
}
}
/// <summary>
/// Gets the time out in minutes.
@@ -261,69 +220,22 @@ namespace Umbraco.Core.Configuration
{
try
{
return int.Parse(ConfigurationManager.AppSettings[Constants.AppSettings.VersionCheckPeriod]);
var val = ConfigurationManager.AppSettings[Constants.AppSettings.VersionCheckPeriod];
if (!(val is null))
{
return int.Parse(val);
}
}
catch
{
return 7;
// Ignore
}
return 7;
}
}
/// <inheritdoc />
public LocalTempStorage LocalTempStorageLocation
{
get
{
var setting = ConfigurationManager.AppSettings[Constants.AppSettings.LocalTempStorage];
if (!string.IsNullOrWhiteSpace(setting))
return Enum<LocalTempStorage>.Parse(setting);
return LocalTempStorage.Default;
}
}
/// <inheritdoc />
public string LocalTempPath
{
get
{
if (_localTempPath != null)
return _localTempPath;
switch (LocalTempStorageLocation)
{
case LocalTempStorage.AspNetTemp:
return _localTempPath = System.IO.Path.Combine(HttpRuntime.CodegenDir, "UmbracoData");
case LocalTempStorage.EnvironmentTemp:
// environment temp is unique, we need a folder per site
// use a hash
// combine site name and application id
// site name is a Guid on Cloud
// application id is eg /LM/W3SVC/123456/ROOT
// the combination is unique on one server
// and, if a site moves from worker A to B and then back to A...
// hopefully it gets a new Guid or new application id?
var siteName = HostingEnvironment.SiteName;
var applicationId = HostingEnvironment.ApplicationID; // ie HttpRuntime.AppDomainAppId
var hashString = siteName + "::" + applicationId;
var hash = hashString.GenerateHash();
var siteTemp = System.IO.Path.Combine(Environment.ExpandEnvironmentVariables("%temp%"), "UmbracoData", hash);
return _localTempPath = siteTemp;
//case LocalTempStorage.Default:
//case LocalTempStorage.Unknown:
default:
return _localTempPath = IOHelper.MapPath("~/App_Data/TEMP");
}
}
}
/// <summary>
/// Gets the default UI language.
@@ -378,5 +290,88 @@ namespace Umbraco.Core.Configuration
}
}
}
private string _umbracoMediaPath = null;
public string UmbracoMediaPath => GetterWithDefaultValue(Constants.AppSettings.UmbracoMediaPath, "~/media", ref _umbracoMediaPath);
private string _umbracoScriptsPath = null;
public string UmbracoScriptsPath => GetterWithDefaultValue(Constants.AppSettings.UmbracoScriptsPath, "~/scripts", ref _umbracoScriptsPath);
private string _umbracoCssPath = null;
public string UmbracoCssPath => GetterWithDefaultValue(Constants.AppSettings.UmbracoCssPath, "~/css", ref _umbracoCssPath);
private string _umbracoPath = null;
public string UmbracoPath => GetterWithDefaultValue(Constants.AppSettings.UmbracoPath, "~/umbraco", ref _umbracoPath);
private bool _installMissingDatabase;
public bool InstallMissingDatabase => GetterWithDefaultValue("Umbraco.Core.RuntimeState.InstallMissingDatabase", false, ref _installMissingDatabase);
private bool _installEmptyDatabase;
public bool InstallEmptyDatabase => GetterWithDefaultValue("Umbraco.Core.RuntimeState.InstallEmptyDatabase", false, ref _installEmptyDatabase);
private bool _disableElectionForSingleServer;
public bool DisableElectionForSingleServer => GetterWithDefaultValue(Constants.AppSettings.DisableElectionForSingleServer, false, ref _disableElectionForSingleServer);
private string _registerType;
public string RegisterType => GetterWithDefaultValue(Constants.AppSettings.RegisterType, string.Empty, ref _registerType);
private string _databaseFactoryServerVersion;
public string DatabaseFactoryServerVersion => GetterWithDefaultValue(Constants.AppSettings.Debug.DatabaseFactoryServerVersion, string.Empty, ref _databaseFactoryServerVersion);
private string _iconsPath;
/// <summary>
/// Gets the path to folder containing the icons used in the umbraco backoffice (/umbraco/assets/icons by default).
/// </summary>
/// <value>The icons path.</value>
public string IconsPath => GetterWithDefaultValue(Constants.AppSettings.IconsPath, $"{UmbracoPath}/assets/icons", ref _iconsPath);
private string _mainDomLock;
public string MainDomLock => GetterWithDefaultValue(Constants.AppSettings.MainDomLock, string.Empty, ref _mainDomLock);
private T GetterWithDefaultValue<T>(string appSettingKey, T defaultValue, ref T backingField)
{
if (backingField != null) return backingField;
if (ConfigurationManager.AppSettings.ContainsKey(appSettingKey))
{
try
{
var value = ConfigurationManager.AppSettings[appSettingKey];
backingField = (T)Convert.ChangeType(value, typeof(T));
}
catch
{
/* ignore and use default value */
backingField = defaultValue;
}
}
else
{
backingField = defaultValue;
}
return backingField;
}
/// <summary>
/// Gets the path to the razor file used when no published content is available.
/// </summary>
public string NoNodesViewPath
{
get
{
var configuredValue = ConfigurationManager.AppSettings[Constants.AppSettings.NoNodesViewPath];
if (!string.IsNullOrWhiteSpace(configuredValue))
{
return configuredValue;
}
return "~/config/splashes/NoNodes.cshtml";
}
}
}
}
@@ -0,0 +1,26 @@
using System.Collections.Generic;
using System.Configuration;
using Umbraco.Core.Configuration.HealthChecks;
namespace Umbraco.Core.Configuration.Legacy
{
public class HealthChecksSettings : IHealthChecksSettings
{
private HealthChecksSection _healthChecksSection;
private HealthChecksSection HealthChecksSection
{
get
{
if (_healthChecksSection is null)
{
_healthChecksSection = ConfigurationManager.GetSection("umbracoConfiguration/HealthChecks") as HealthChecksSection;
}
return _healthChecksSection;
}
}
public IEnumerable<IDisabledHealthCheck> DisabledChecks => HealthChecksSection.DisabledChecks;
public IHealthCheckNotificationSettings NotificationSettings => HealthChecksSection.NotificationSettings;
}
}
@@ -0,0 +1,54 @@
using System.Configuration;
namespace Umbraco.Core.Configuration.Legacy
{
public class HostingSettings : IHostingSettings
{
private bool? _debugMode;
/// <inheritdoc />
public LocalTempStorage LocalTempStorageLocation
{
get
{
var setting = ConfigurationManager.AppSettings[Constants.AppSettings.LocalTempStorage];
if (!string.IsNullOrWhiteSpace(setting))
return Enum<LocalTempStorage>.Parse(setting);
return LocalTempStorage.Default;
}
}
public string ApplicationVirtualPath => null;
/// <summary>
/// Gets a value indicating whether umbraco is running in [debug mode].
/// </summary>
/// <value><c>true</c> if [debug mode]; otherwise, <c>false</c>.</value>
public bool DebugMode
{
get
{
if (!_debugMode.HasValue)
{
try
{
if (ConfigurationManager.GetSection("system.web/compilation") is ConfigurationSection compilation)
{
var debugElement = compilation.ElementInformation.Properties["debug"];
_debugMode = debugElement != null && (debugElement.Value is bool debug && debug);
}
}
catch
{
_debugMode = false;
}
}
return _debugMode.GetValueOrDefault();
}
}
}
}
@@ -0,0 +1,15 @@
using System.Configuration;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Legacy
{
public class IndexCreatorSettings : IIndexCreatorSettings
{
public IndexCreatorSettings()
{
LuceneDirectoryFactory = ConfigurationManager.AppSettings["Umbraco.Examine.LuceneDirectoryFactory"];
}
public string LuceneDirectoryFactory { get; }
}
}
@@ -0,0 +1,10 @@
using Umbraco.Core.Configuration.UmbracoSettings;
namespace Umbraco.Configuration.Implementations
{
internal class KeepAliveSettings : ConfigurationManagerConfigBase, IKeepAliveSettings
{
public bool DisableKeepAliveTask => UmbracoSettingsSection.KeepAlive.DisableKeepAliveTask;
public string KeepAlivePingUrl => UmbracoSettingsSection.KeepAlive.KeepAlivePingUrl;
}
}
@@ -0,0 +1,9 @@
using Umbraco.Core.Configuration.UmbracoSettings;
namespace Umbraco.Configuration.Implementations
{
internal class LoggingSettings : ConfigurationManagerConfigBase, ILoggingSettings
{
public int MaxLogAge => UmbracoSettingsSection.Logging.MaxLogAge;
}
}
@@ -0,0 +1,16 @@
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Implementations
{
internal class MemberPasswordConfigurationSettings : ConfigurationManagerConfigBase, IMemberPasswordConfiguration
{
public int RequiredLength => UmbracoSettingsSection.Security.UserPasswordConfiguration.RequiredLength;
public bool RequireNonLetterOrDigit => UmbracoSettingsSection.Security.UserPasswordConfiguration.RequireNonLetterOrDigit;
public bool RequireDigit => UmbracoSettingsSection.Security.UserPasswordConfiguration.RequireDigit;
public bool RequireLowercase=> UmbracoSettingsSection.Security.UserPasswordConfiguration.RequireLowercase;
public bool RequireUppercase=> UmbracoSettingsSection.Security.UserPasswordConfiguration.RequireUppercase;
public bool UseLegacyEncoding=> UmbracoSettingsSection.Security.UserPasswordConfiguration.UseLegacyEncoding;
public string HashAlgorithmType=> UmbracoSettingsSection.Security.UserPasswordConfiguration.HashAlgorithmType;
public int MaxFailedAccessAttemptsBeforeLockout => UmbracoSettingsSection.Security.UserPasswordConfiguration.MaxFailedAccessAttemptsBeforeLockout;
}
}
@@ -0,0 +1,200 @@
using System;
using System.Configuration;
using System.IO;
using System.Threading;
using Umbraco.Core.Configuration;
using Umbraco.Core;
using Umbraco.Core.IO;
namespace Umbraco.Configuration.Legacy
{
/// <summary>
/// Represents the models builder configuration.
/// </summary>
public class ModelsBuilderConfig : IModelsBuilderConfig
{
private const string Prefix = "Umbraco.ModelsBuilder.";
private object _modelsModelLock;
private bool _modelsModelConfigured;
private ModelsMode _modelsMode;
private object _flagOutOfDateModelsLock;
private bool _flagOutOfDateModelsConfigured;
private bool _flagOutOfDateModels;
public string DefaultModelsDirectory => "~/App_Data/Models";
/// <summary>
/// Initializes a new instance of the <see cref="ModelsBuilderConfig"/> class.
/// </summary>
public ModelsBuilderConfig()
{
// giant kill switch, default: false
// must be explicitely set to true for anything else to happen
Enable = ConfigurationManager.AppSettings[Prefix + "Enable"] == "true";
// ensure defaults are initialized for tests
ModelsNamespace = Constants.ModelsBuilder.DefaultModelsNamespace;
ModelsDirectory = DefaultModelsDirectory;
DebugLevel = 0;
// stop here, everything is false
if (!Enable) return;
// default: false
AcceptUnsafeModelsDirectory = ConfigurationManager.AppSettings[Prefix + "AcceptUnsafeModelsDirectory"].InvariantEquals("true");
// default: true
EnableFactory = !ConfigurationManager.AppSettings[Prefix + "EnableFactory"].InvariantEquals("false");
// default: initialized above with DefaultModelsNamespace const
var value = ConfigurationManager.AppSettings[Prefix + "ModelsNamespace"];
if (!string.IsNullOrWhiteSpace(value))
ModelsNamespace = value;
// default: initialized above with DefaultModelsDirectory const
value = ConfigurationManager.AppSettings[Prefix + "ModelsDirectory"];
if (!string.IsNullOrWhiteSpace(value))
{
// GetModelsDirectory will ensure that the path is safe
ModelsDirectory = value;
}
// default: 0
value = ConfigurationManager.AppSettings[Prefix + "DebugLevel"];
if (!string.IsNullOrWhiteSpace(value))
{
if (!int.TryParse(value, out var debugLevel))
throw new ConfigurationErrorsException($"Invalid debug level \"{value}\".");
DebugLevel = debugLevel;
}
}
/// <summary>
/// Initializes a new instance of the <see cref="ModelsBuilderConfig"/> class.
/// </summary>
public ModelsBuilderConfig(
bool enable = false,
ModelsMode modelsMode = ModelsMode.Nothing,
string modelsNamespace = null,
bool enableFactory = true,
bool flagOutOfDateModels = true,
string modelsDirectory = null,
bool acceptUnsafeModelsDirectory = false,
int debugLevel = 0)
{
Enable = enable;
_modelsMode = modelsMode;
ModelsNamespace = string.IsNullOrWhiteSpace(modelsNamespace) ? Constants.ModelsBuilder.DefaultModelsNamespace : modelsNamespace;
EnableFactory = enableFactory;
_flagOutOfDateModels = flagOutOfDateModels;
ModelsDirectory = string.IsNullOrWhiteSpace(modelsDirectory) ? DefaultModelsDirectory : modelsDirectory;
AcceptUnsafeModelsDirectory = acceptUnsafeModelsDirectory;
DebugLevel = debugLevel;
}
/// <summary>
/// Gets a value indicating whether the whole models experience is enabled.
/// </summary>
/// <remarks>
/// <para>If this is false then absolutely nothing happens.</para>
/// <para>Default value is <c>false</c> which means that unless we have this setting, nothing happens.</para>
/// </remarks>
public bool Enable { get; }
/// <summary>
/// Gets the models mode.
/// </summary>
public ModelsMode ModelsMode =>
LazyInitializer.EnsureInitialized(ref _modelsMode, ref _modelsModelConfigured, ref _modelsModelLock, () =>
{
// mode
var modelsMode = ConfigurationManager.AppSettings[Prefix + "ModelsMode"];
if (string.IsNullOrWhiteSpace(modelsMode)) return ModelsMode.Nothing; //default
switch (modelsMode)
{
case nameof(ModelsMode.Nothing):
return ModelsMode.Nothing;
case nameof(ModelsMode.PureLive):
return ModelsMode.PureLive;
case nameof(ModelsMode.AppData):
return ModelsMode.AppData;
case nameof(ModelsMode.LiveAppData):
return ModelsMode.LiveAppData;
default:
throw new ConfigurationErrorsException($"ModelsMode \"{modelsMode}\" is not a valid mode." + " Note that modes are case-sensitive. Possible values are: " + string.Join(", ", Enum.GetNames(typeof(ModelsMode))));
}
});
/// <summary>
/// Gets a value indicating whether system.web/compilation/@debug is true.
/// </summary>
public bool IsDebug
{
get
{
if (ConfigurationManager.GetSection("system.web/compilation") is ConfigurationSection section &&
bool.TryParse(section.ElementInformation.Properties["debug"].Value.ToString(), out var isDebug))
{
return isDebug;
}
return false;
}
}
/// <summary>
/// Gets the models namespace.
/// </summary>
/// <remarks>That value could be overriden by other (attribute in user's code...). Return default if no value was supplied.</remarks>
public string ModelsNamespace { get; }
/// <summary>
/// Gets a value indicating whether we should enable the models factory.
/// </summary>
/// <remarks>Default value is <c>true</c> because no factory is enabled by default in Umbraco.</remarks>
public bool EnableFactory { get; }
/// <summary>
/// Gets a value indicating whether we should flag out-of-date models.
/// </summary>
/// <remarks>Models become out-of-date when data types or content types are updated. When this
/// setting is activated the ~/App_Data/Models/ood.txt file is then created. When models are
/// generated through the dashboard, the files is cleared. Default value is <c>false</c>.</remarks>
public bool FlagOutOfDateModels
=> LazyInitializer.EnsureInitialized(ref _flagOutOfDateModels, ref _flagOutOfDateModelsConfigured, ref _flagOutOfDateModelsLock, () =>
{
var flagOutOfDateModels = !ConfigurationManager.AppSettings[Prefix + "FlagOutOfDateModels"].InvariantEquals("false");
if (ModelsMode == ModelsMode.Nothing || ModelsMode.IsLive())
{
flagOutOfDateModels = false;
}
return flagOutOfDateModels;
});
/// <summary>
/// Gets the models directory.
/// </summary>
/// <remarks>Default is ~/App_Data/Models but that can be changed.</remarks>
public string ModelsDirectory { get; }
/// <summary>
/// Gets a value indicating whether to accept an unsafe value for ModelsDirectory.
/// </summary>
/// <remarks>An unsafe value is an absolute path, or a relative path pointing outside
/// of the website root.</remarks>
public bool AcceptUnsafeModelsDirectory { get; }
/// <summary>
/// Gets a value indicating the debug log level.
/// </summary>
/// <remarks>0 means minimal (safe on live site), anything else means more and more details (maybe not safe).</remarks>
public int DebugLevel { get; }
}
}
@@ -0,0 +1,14 @@
using System.Configuration;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Legacy
{
public class NuCacheSettings : INuCacheSettings
{
public NuCacheSettings()
{
BTreeBlockSize = ConfigurationManager.AppSettings["Umbraco.Web.PublishedCache.NuCache.BTree.BlockSize"];
}
public string BTreeBlockSize { get; }
}
}
@@ -0,0 +1,15 @@
using System.Collections.Generic;
using System.Linq;
using Umbraco.Core;
using Umbraco.Core.Configuration.UmbracoSettings;
namespace Umbraco.Configuration.Implementations
{
internal class RequestHandlerSettings : ConfigurationManagerConfigBase, IRequestHandlerSettings
{
public bool AddTrailingSlash => UmbracoSettingsSection?.RequestHandler?.AddTrailingSlash ?? true;
public bool ConvertUrlsToAscii => UmbracoSettingsSection?.RequestHandler?.UrlReplacing?.ConvertUrlsToAscii.InvariantEquals("true") ?? false;
public bool TryConvertUrlsToAscii => UmbracoSettingsSection?.RequestHandler?.UrlReplacing?.ConvertUrlsToAscii.InvariantEquals("try") ?? false;
public IEnumerable<IChar> CharCollection => UmbracoSettingsSection?.RequestHandler?.UrlReplacing?.CharCollection ?? Enumerable.Empty<IChar>();
}
}
@@ -0,0 +1,29 @@
using System.Configuration;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Legacy
{
public class RuntimeSettings : IRuntimeSettings
{
public RuntimeSettings()
{
if (ConfigurationManager.GetSection("system.web/httpRuntime") is ConfigurationSection section)
{
var maxRequestLengthProperty = section.ElementInformation.Properties["maxRequestLength"];
if (maxRequestLengthProperty != null && maxRequestLengthProperty.Value is int requestLength)
{
MaxRequestLength = requestLength;
}
var maxQueryStringProperty = section.ElementInformation.Properties["maxQueryStringLength"];
if (maxQueryStringProperty != null && maxQueryStringProperty.Value is int maxQueryStringLength)
{
MaxQueryStringLength = maxQueryStringLength;
}
}
}
public int? MaxQueryStringLength { get; }
public int? MaxRequestLength { get; }
}
}
@@ -0,0 +1,14 @@
using Umbraco.Core.Configuration.UmbracoSettings;
namespace Umbraco.Configuration.Implementations
{
internal class SecuritySettings : ConfigurationManagerConfigBase, ISecuritySettings
{
public bool KeepUserLoggedIn => UmbracoSettingsSection.Security.KeepUserLoggedIn;
public bool HideDisabledUsersInBackoffice => UmbracoSettingsSection.Security.HideDisabledUsersInBackoffice;
public bool AllowPasswordReset => UmbracoSettingsSection.Security.AllowPasswordReset;
public string AuthCookieName => UmbracoSettingsSection.Security.AuthCookieName;
public string AuthCookieDomain => UmbracoSettingsSection.Security.AuthCookieDomain;
public bool UsernameIsEmail => UmbracoSettingsSection.Security.UsernameIsEmail;
}
}
@@ -0,0 +1,18 @@
using System.Net.Mail;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration
{
public class SmtpSettings : ISmtpSettings
{
public string From { get; set; }
public string Host { get; set; }
public int Port { get; set; }
public string PickupDirectoryLocation { get; set; }
public SmtpDeliveryMethod DeliveryMethod { get; set; }
public string Username { get; set; }
public string Password { get; set; }
}
}
@@ -0,0 +1,9 @@
using Umbraco.Core.Configuration.UmbracoSettings;
namespace Umbraco.Configuration.Implementations
{
internal class TourSettings : ConfigurationManagerConfigBase, ITourSettings
{
public bool EnableTours => UmbracoSettingsSection.BackOffice.Tours.EnableTours;
}
}
@@ -0,0 +1,17 @@
using System.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Legacy
{
public class TypeFinderSettings : ITypeFinderSettings
{
public TypeFinderSettings()
{
AssembliesAcceptingLoadExceptions = ConfigurationManager.AppSettings[
Constants.AppSettings.AssembliesAcceptingLoadExceptions];
}
public string AssembliesAcceptingLoadExceptions { get; }
}
}
@@ -2,14 +2,6 @@
namespace Umbraco.Core.Configuration
{
/// <summary>
/// Represents an Umbraco configuration section which can be used to pass to UmbracoConfiguration.For{T}
/// </summary>
public interface IUmbracoConfigurationSection
{
}
/// <summary>
/// Represents an Umbraco section within the configuration file.
/// </summary>
@@ -0,0 +1,15 @@
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Implementations
{
internal class UserPasswordConfigurationSettings : ConfigurationManagerConfigBase, IUserPasswordConfiguration
{
public int RequiredLength => UmbracoSettingsSection.Security.UserPasswordConfiguration.RequiredLength;
public bool RequireNonLetterOrDigit => UmbracoSettingsSection.Security.UserPasswordConfiguration.RequireNonLetterOrDigit;
public bool RequireDigit => UmbracoSettingsSection.Security.UserPasswordConfiguration.RequireDigit;
public bool RequireLowercase=> UmbracoSettingsSection.Security.UserPasswordConfiguration.RequireLowercase;
public bool RequireUppercase=> UmbracoSettingsSection.Security.UserPasswordConfiguration.RequireUppercase;
public bool UseLegacyEncoding=> UmbracoSettingsSection.Security.UserPasswordConfiguration.UseLegacyEncoding;
public string HashAlgorithmType=> UmbracoSettingsSection.Security.UserPasswordConfiguration.HashAlgorithmType;
public int MaxFailedAccessAttemptsBeforeLockout => UmbracoSettingsSection.Security.UserPasswordConfiguration.MaxFailedAccessAttemptsBeforeLockout;
}
}
@@ -0,0 +1,16 @@
using Umbraco.Core.Configuration.UmbracoSettings;
namespace Umbraco.Configuration.Implementations
{
internal class WebRoutingSettings : ConfigurationManagerConfigBase, IWebRoutingSettings
{
public bool TrySkipIisCustomErrors => UmbracoSettingsSection?.WebRouting?.TrySkipIisCustomErrors ?? false;
public bool InternalRedirectPreservesTemplate => UmbracoSettingsSection?.WebRouting?.InternalRedirectPreservesTemplate ?? false;
public bool DisableAlternativeTemplates => UmbracoSettingsSection?.WebRouting?.DisableAlternativeTemplates ?? false;
public bool ValidateAlternativeTemplates => UmbracoSettingsSection?.WebRouting?.ValidateAlternativeTemplates ?? false;
public bool DisableFindContentByIdPath => UmbracoSettingsSection?.WebRouting?.DisableFindContentByIdPath ?? false;
public bool DisableRedirectUrlTracking => UmbracoSettingsSection?.WebRouting?.DisableRedirectUrlTracking ?? false;
public string UrlProviderMode => UmbracoSettingsSection?.WebRouting?.UrlProviderMode ?? "Auto";
public string UmbracoApplicationUrl => UmbracoSettingsSection?.WebRouting?.UmbracoApplicationUrl;
}
}
@@ -0,0 +1,19 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Models
{
internal class ActiveDirectorySettings : IActiveDirectorySettings
{
private const string Prefix = Constants.Configuration.ConfigPrefix + "ActiveDirectory:";
private readonly IConfiguration _configuration;
public ActiveDirectorySettings(IConfiguration configuration)
{
_configuration = configuration;
}
public string ActiveDirectoryDomain => _configuration.GetValue<string>(Prefix+"Domain");
}
}
@@ -0,0 +1,59 @@
using System;
using System.Data.Common;
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Models
{
public class ConnectionStrings : IConnectionStrings
{
private readonly IConfiguration _configuration;
public ConnectionStrings(IConfiguration configuration)
{
_configuration = configuration;
}
public ConfigConnectionString this[string key]
{
get
{
var connectionString = _configuration.GetConnectionString(key);
var provider = ParseProvider(connectionString);
return new ConfigConnectionString(connectionString, provider, key);
}
set => throw new NotImplementedException();
}
private string ParseProvider(string connectionString)
{
if (string.IsNullOrEmpty(connectionString))
{
return null;
}
var builder = new DbConnectionStringBuilder();
builder.ConnectionString = connectionString;
if (builder.TryGetValue("Data Source", out var ds) && ds is string dataSource)
{
if (dataSource.EndsWith(".sdf"))
{
return Constants.DbProviderNames.SqlCe;
}
}
if (builder.TryGetValue("Server", out var s) && s is string server && builder.TryGetValue("Database", out var db) && db is string database)
{
if (!string.IsNullOrEmpty(server) && !string.IsNullOrEmpty(database))
{
return Constants.DbProviderNames.SqlServer;
}
}
throw new ArgumentException("Cannot determine provider name from connection string", nameof(connectionString));
}
}
}
@@ -0,0 +1,115 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration.UmbracoSettings;
using Umbraco.Core.Macros;
namespace Umbraco.Configuration.Models
{
internal class ContentSettings : IContentSettings
{
private const string Prefix = Constants.Configuration.ConfigPrefix + "Content:";
private const string NotificationsPrefix = Prefix + "Notifications:";
private const string ImagingPrefix = Prefix + "Imaging:";
private const string DefaultPreviewBadge =
@"<div id=""umbracoPreviewBadge"" class=""umbraco-preview-badge""><span class=""umbraco-preview-badge__header"">Preview mode</span><a href=""{0}/preview/end?redir={1}"" class=""umbraco-preview-badge__end""><svg viewBox=""0 0 100 100"" xmlns=""http://www.w3.org/2000/svg""><title>Click to end</title><path d=""M5273.1 2400.1v-2c0-2.8-5-4-9.7-4s-9.7 1.3-9.7 4v2a7 7 0 002 4.9l5 4.9c.3.3.4.6.4 1v6.4c0 .4.2.7.6.8l2.9.9c.5.1 1-.2 1-.8v-7.2c0-.4.2-.7.4-1l5.1-5a7 7 0 002-4.9zm-9.7-.1c-4.8 0-7.4-1.3-7.5-1.8.1-.5 2.7-1.8 7.5-1.8s7.3 1.3 7.5 1.8c-.2.5-2.7 1.8-7.5 1.8z""/><path d=""M5268.4 2410.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1s-.4-1-1-1h-4.3zM5272.7 2413.7h-4.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1s-.4-1-1-1zM5272.7 2417h-4.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1 0-.5-.4-1-1-1z""/><path d=""M78.2 13l-8.7 11.7a32.5 32.5 0 11-51.9 25.8c0-10.3 4.7-19.7 12.9-25.8L21.8 13a47 47 0 1056.4 0z""/><path d=""M42.7 2.5h14.6v49.4H42.7z""/></svg></a></div><style type=""text/css"">.umbraco-preview-badge {{position: absolute;top: 1em;right: 1em;display: inline-flex;background: #1b264f;color: #fff;padding: 1em;font-size: 12px;z-index: 99999999;justify-content: center;align-items: center;box-shadow: 0 10px 50px rgba(0, 0, 0, .1), 0 6px 20px rgba(0, 0, 0, .16);line-height: 1;}}.umbraco-preview-badge__header {{font-weight: bold;}}.umbraco-preview-badge__end {{width: 3em;padding: 1em;margin: -1em -1em -1em 2em;display: flex;flex-shrink: 0;align-items: center;align-self: stretch;}}.umbraco-preview-badge__end:hover,.umbraco-preview-badge__end:focus {{background: #f5c1bc;}}.umbraco-preview-badge__end svg {{fill: #fff;width:1em;}}</style>";
private static readonly ImagingAutoFillUploadField[] DefaultImagingAutoFillUploadField =
{
new ImagingAutoFillUploadField
{
Alias = "umbracoFile"
}
};
private readonly IConfiguration _configuration;
public ContentSettings(IConfiguration configuration)
{
_configuration = configuration;
}
public string NotificationEmailAddress =>
_configuration.GetValue<string>(NotificationsPrefix+"Email");
public bool DisableHtmlEmail =>
_configuration.GetValue(NotificationsPrefix+"DisableHtmlEmail", false);
public IEnumerable<string> ImageFileTypes => _configuration.GetValue(
ImagingPrefix+"ImageFileTypes", new[] { "jpeg", "jpg", "gif", "bmp", "png", "tiff", "tif" });
public IEnumerable<IImagingAutoFillUploadField> ImageAutoFillProperties =>
_configuration.GetValue(ImagingPrefix+"AutoFillImageProperties",
DefaultImagingAutoFillUploadField);
public bool ResolveUrlsFromTextString =>
_configuration.GetValue(Prefix+"ResolveUrlsFromTextString", false);
public IEnumerable<IContentErrorPage> Error404Collection => _configuration
.GetSection(Prefix+"Errors:Error404")
.GetChildren()
.Select(x => new ContentErrorPage(x));
public string PreviewBadge => _configuration.GetValue(Prefix+"PreviewBadge", DefaultPreviewBadge);
public MacroErrorBehaviour MacroErrorBehaviour =>
_configuration.GetValue(Prefix+"MacroErrors", MacroErrorBehaviour.Inline);
public IEnumerable<string> DisallowedUploadFiles => _configuration.GetValue(
Prefix+"DisallowedUploadFiles",
new[] { "ashx", "aspx", "ascx", "config", "cshtml", "vbhtml", "asmx", "air", "axd" });
public IEnumerable<string> AllowedUploadFiles =>
_configuration.GetValue(Prefix+"AllowedUploadFiles", Array.Empty<string>());
public bool ShowDeprecatedPropertyEditors =>
_configuration.GetValue(Prefix+"ShowDeprecatedPropertyEditors", false);
public string LoginBackgroundImage =>
_configuration.GetValue(Prefix+"LoginBackgroundImage", string.Empty);
private class ContentErrorPage : IContentErrorPage
{
public ContentErrorPage(IConfigurationSection configurationSection)
{
Culture = configurationSection.Key;
var value = configurationSection.Value;
if (int.TryParse(value, out var contentId))
{
HasContentId = true;
ContentId = contentId;
}
else if (Guid.TryParse(value, out var contentKey))
{
HasContentKey = true;
ContentKey = contentKey;
}
else
{
ContentXPath = value;
}
}
public int ContentId { get; }
public Guid ContentKey { get; }
public string ContentXPath { get; }
public bool HasContentId { get; }
public bool HasContentKey { get; }
public string Culture { get; set; }
}
private class ImagingAutoFillUploadField : IImagingAutoFillUploadField
{
public string Alias { get; set; }
public string WidthFieldAlias { get; set; }
public string HeightFieldAlias { get; set; }
public string LengthFieldAlias { get; set; }
public string ExtensionFieldAlias { get; set; }
}
}
}
@@ -0,0 +1,23 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Models
{
internal class CoreDebugSettings : ICoreDebugSettings
{
private const string Prefix = Constants.Configuration.ConfigPrefix + "Core:Debug:";
private readonly IConfiguration _configuration;
public CoreDebugSettings(IConfiguration configuration)
{
_configuration = configuration;
}
public bool LogUncompletedScopes =>
_configuration.GetValue(Prefix+"LogUncompletedScopes", false);
public bool DumpOnTimeoutThreadAbort =>
_configuration.GetValue(Prefix+"DumpOnTimeoutThreadAbort", false);
}
}
@@ -0,0 +1,19 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Models
{
internal class ExceptionFilterSettings : IExceptionFilterSettings
{
private const string Prefix = Constants.Configuration.ConfigPrefix + "ExceptionFilter:";
private readonly IConfiguration _configuration;
public ExceptionFilterSettings(IConfiguration configuration)
{
_configuration = configuration;
}
public bool Disabled => _configuration.GetValue(Prefix+"Disabled", false);
}
}
@@ -0,0 +1,103 @@
using System;
using System.Linq;
using System.Net.Mail;
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Models
{
/// <summary>
/// The GlobalSettings Class contains general settings information for the entire Umbraco instance based on information
/// from web.config appsettings
/// </summary>
internal class GlobalSettings : IGlobalSettings
{
private const string Prefix = Constants.Configuration.ConfigGlobalPrefix;
internal const string
StaticReservedPaths = "~/app_plugins/,~/install/,~/mini-profiler-resources/,"; //must end with a comma!
internal const string
StaticReservedUrls = "~/config/splashes/noNodes.aspx,~/.well-known,"; //must end with a comma!
private readonly IConfiguration _configuration;
public GlobalSettings(IConfiguration configuration)
{
_configuration = configuration;
}
public string ReservedUrls => _configuration.GetValue(Prefix + "ReservedUrls", StaticReservedUrls);
public string ReservedPaths => _configuration.GetValue(Prefix + "ReservedPaths", StaticReservedPaths);
// TODO: https://github.com/umbraco/Umbraco-CMS/issues/4238 - stop having version in web.config appSettings
public string ConfigurationStatus
{
get => _configuration.GetValue<string>(Prefix + "ConfigurationStatus");
set => throw new NotImplementedException("We should remove this and only use the value from database");
}
public int TimeOutInMinutes => _configuration.GetValue(Prefix + "TimeOutInMinutes", 20);
public string DefaultUILanguage => _configuration.GetValue(Prefix + "TimeOutInMinutes", "en-US");
public bool HideTopLevelNodeFromPath =>
_configuration.GetValue(Prefix + "HideTopLevelNodeFromPath", false);
public bool UseHttps => _configuration.GetValue(Prefix + "UseHttps", false);
public int VersionCheckPeriod => _configuration.GetValue(Prefix + "VersionCheckPeriod", 7);
public string UmbracoPath => _configuration.GetValue(Prefix + "UmbracoPath", "~/umbraco");
public string IconsPath => _configuration.GetValue(Prefix + "IconsPath", $"{UmbracoPath}/assets/icons");
public string UmbracoCssPath => _configuration.GetValue(Prefix + "UmbracoCssPath", "~/css");
public string UmbracoScriptsPath =>
_configuration.GetValue(Prefix + "UmbracoScriptsPath", "~/scripts");
public string UmbracoMediaPath => _configuration.GetValue(Prefix + "UmbracoMediaPath", "~/media");
public bool InstallMissingDatabase =>
_configuration.GetValue(Prefix + "InstallMissingDatabase", false);
public bool InstallEmptyDatabase => _configuration.GetValue(Prefix + "InstallEmptyDatabase", false);
public bool DisableElectionForSingleServer =>
_configuration.GetValue(Prefix + "DisableElectionForSingleServer", false);
public string RegisterType => _configuration.GetValue(Prefix + "RegisterType", string.Empty);
public string DatabaseFactoryServerVersion =>
_configuration.GetValue(Prefix + "DatabaseFactoryServerVersion", string.Empty);
public string MainDomLock => _configuration.GetValue(Prefix + "MainDomLock", string.Empty);
public string NoNodesViewPath =>
_configuration.GetValue(Prefix + "NoNodesViewPath", "~/config/splashes/NoNodes.cshtml");
public bool IsSmtpServerConfigured =>
_configuration.GetSection(Constants.Configuration.ConfigGlobalPrefix + "Smtp")?.GetChildren().Any() ?? false;
public ISmtpSettings SmtpSettings =>
new SmtpSettingsImpl(_configuration.GetSection(Constants.Configuration.ConfigGlobalPrefix + "Smtp"));
private class SmtpSettingsImpl : ISmtpSettings
{
private readonly IConfigurationSection _configurationSection;
public SmtpSettingsImpl(IConfigurationSection configurationSection)
{
_configurationSection = configurationSection;
}
public string From => _configurationSection.GetValue<string>("From");
public string Host => _configurationSection.GetValue<string>("Host");
public int Port => _configurationSection.GetValue<int>("Port");
public string PickupDirectoryLocation => _configurationSection.GetValue<string>("PickupDirectoryLocation");
public SmtpDeliveryMethod DeliveryMethod => _configurationSection.GetValue<SmtpDeliveryMethod>("DeliveryMethod");
public string Username => _configurationSection.GetValue<string>("Username");
public string Password => _configurationSection.GetValue<string>("Password");
}
}
}
@@ -0,0 +1,105 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration.HealthChecks;
namespace Umbraco.Configuration.Models
{
internal class HealthChecksSettings : IHealthChecksSettings
{
private const string Prefix = Constants.Configuration.ConfigPrefix + "HealthChecks:";
private readonly IConfiguration _configuration;
public HealthChecksSettings(IConfiguration configuration)
{
_configuration = configuration;
}
public IEnumerable<IDisabledHealthCheck> DisabledChecks => _configuration
.GetSection(Prefix+"DisabledChecks")
.GetChildren()
.Select(
x => new DisabledHealthCheck
{
Id = x.GetValue<Guid>("Id"),
DisabledOn = x.GetValue<DateTime>("DisabledOn"),
DisabledBy = x.GetValue<int>("DisabledBy")
});
public IHealthCheckNotificationSettings NotificationSettings =>
new HealthCheckNotificationSettings(
_configuration.GetSection(Prefix+"NotificationSettings"));
private class DisabledHealthCheck : IDisabledHealthCheck
{
public Guid Id { get; set; }
public DateTime DisabledOn { get; set; }
public int DisabledBy { get; set; }
}
private class HealthCheckNotificationSettings : IHealthCheckNotificationSettings
{
private readonly IConfigurationSection _configurationSection;
public HealthCheckNotificationSettings(IConfigurationSection configurationSection)
{
_configurationSection = configurationSection;
}
public bool Enabled => _configurationSection.GetValue("Enabled", false);
public string FirstRunTime => _configurationSection.GetValue<string>("FirstRunTime");
public int PeriodInHours => _configurationSection.GetValue("PeriodInHours", 24);
public IReadOnlyDictionary<string, INotificationMethod> NotificationMethods => _configurationSection
.GetSection("NotificationMethods")
.GetChildren()
.ToDictionary(x => x.Key, x => (INotificationMethod) new NotificationMethod(x.Key, x));
public IEnumerable<IDisabledHealthCheck> DisabledChecks => _configurationSection
.GetSection("DisabledChecks").GetChildren().Select(
x => new DisabledHealthCheck
{
Id = x.GetValue<Guid>("Id"),
DisabledOn = x.GetValue<DateTime>("DisabledOn"),
DisabledBy = x.GetValue<int>("DisabledBy")
});
}
private class NotificationMethod : INotificationMethod
{
private readonly IConfigurationSection _configurationSection;
public NotificationMethod(string alias, IConfigurationSection configurationSection)
{
Alias = alias;
_configurationSection = configurationSection;
}
public string Alias { get; }
public bool Enabled => _configurationSection.GetValue("Enabled", false);
public HealthCheckNotificationVerbosity Verbosity =>
_configurationSection.GetValue("Verbosity", HealthCheckNotificationVerbosity.Summary);
public bool FailureOnly => _configurationSection.GetValue("FailureOnly", true);
public IReadOnlyDictionary<string, INotificationMethodSettings> Settings => _configurationSection
.GetSection("Settings").GetChildren().ToDictionary(x => x.Key,
x => (INotificationMethodSettings) new NotificationMethodSettings(x.Key, x.Value));
}
private class NotificationMethodSettings : INotificationMethodSettings
{
public NotificationMethodSettings(string key, string value)
{
Key = key;
Value = value;
}
public string Key { get; }
public string Value { get; }
}
}
}
@@ -0,0 +1,29 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Models
{
internal class HostingSettings : IHostingSettings
{
private const string Prefix = Constants.Configuration.ConfigPrefix + "Hosting:";
private readonly IConfiguration _configuration;
public HostingSettings(IConfiguration configuration)
{
_configuration = configuration;
}
/// <inheritdoc />
public LocalTempStorage LocalTempStorageLocation =>
_configuration.GetValue(Prefix+"LocalTempStorage", LocalTempStorage.Default);
public string ApplicationVirtualPath => null;
/// <summary>
/// Gets a value indicating whether umbraco is running in [debug mode].
/// </summary>
/// <value><c>true</c> if [debug mode]; otherwise, <c>false</c>.</value>
public bool DebugMode => _configuration.GetValue(Prefix+"Debug", false);
}
}
@@ -0,0 +1,26 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Models
{
internal class ImagingSettings : IImagingSettings
{
private const string Prefix = Constants.Configuration.ConfigPrefix + "Imaging:";
private const string CachePrefix = Prefix + "Cache:";
private const string ResizePrefix = Prefix + "Resize:";
private readonly IConfiguration _configuration;
public ImagingSettings(IConfiguration configuration)
{
_configuration = configuration;
}
public int MaxBrowserCacheDays => _configuration.GetValue(CachePrefix + "MaxBrowserCacheDays", 7);
public int MaxCacheDays => _configuration.GetValue(CachePrefix + "MaxCacheDays", 365);
public uint CachedNameLength => _configuration.GetValue(CachePrefix + "CachedNameLength", (uint) 8);
public string CacheFolder => _configuration.GetValue(CachePrefix + "Folder", "../App_Data/Cache");
public int MaxResizeWidth => _configuration.GetValue(ResizePrefix + "MaxWidth", 5000);
public int MaxResizeHeight => _configuration.GetValue(ResizePrefix + "MaxHeight", 5000);
}
}
@@ -0,0 +1,20 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Models
{
internal class IndexCreatorSettings : IIndexCreatorSettings
{
private const string Prefix = Constants.Configuration.ConfigPrefix + "Examine:";
private readonly IConfiguration _configuration;
public IndexCreatorSettings(IConfiguration configuration)
{
_configuration = configuration;
}
public string LuceneDirectoryFactory =>
_configuration.GetValue<string>(Prefix + "LuceneDirectoryFactory");
}
}
@@ -0,0 +1,23 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration.UmbracoSettings;
namespace Umbraco.Configuration.Models
{
internal class KeepAliveSettings : IKeepAliveSettings
{
private const string Prefix = Constants.Configuration.ConfigPrefix + "KeepAlive:";
private readonly IConfiguration _configuration;
public KeepAliveSettings(IConfiguration configuration)
{
_configuration = configuration;
}
public bool DisableKeepAliveTask =>
_configuration.GetValue(Prefix + "DisableKeepAliveTask", false);
public string KeepAlivePingUrl => _configuration.GetValue(Prefix + "KeepAlivePingUrl",
"{umbracoApplicationUrl}/api/keepalive/ping");
}
}
@@ -0,0 +1,19 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration.UmbracoSettings;
namespace Umbraco.Configuration.Models
{
internal class LoggingSettings : ILoggingSettings
{
private const string Prefix = Constants.Configuration.ConfigPrefix + "Logging:";
private readonly IConfiguration _configuration;
public LoggingSettings(IConfiguration configuration)
{
_configuration = configuration;
}
public int MaxLogAge => _configuration.GetValue(Prefix + "MaxLogAge", -1);
}
}
@@ -0,0 +1,38 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Models
{
internal class MemberPasswordConfigurationSettings : IMemberPasswordConfiguration
{
private const string Prefix = Constants.Configuration.ConfigSecurityPrefix + "MemberPassword:";
private readonly IConfiguration _configuration;
public MemberPasswordConfigurationSettings(IConfiguration configuration)
{
_configuration = configuration;
}
public int RequiredLength =>
_configuration.GetValue(Prefix + "RequiredLength", 10);
public bool RequireNonLetterOrDigit =>
_configuration.GetValue(Prefix + "RequireNonLetterOrDigit", false);
public bool RequireDigit =>
_configuration.GetValue(Prefix + "RequireDigit", false);
public bool RequireLowercase =>
_configuration.GetValue(Prefix + "RequireLowercase", false);
public bool RequireUppercase =>
_configuration.GetValue(Prefix + "RequireUppercase", false);
public string HashAlgorithmType =>
_configuration.GetValue(Prefix + "HashAlgorithmType", "HMACSHA256");
public int MaxFailedAccessAttemptsBeforeLockout =>
_configuration.GetValue(Prefix + "MaxFailedAccessAttemptsBeforeLockout", 5);
}
}
@@ -0,0 +1,86 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Models
{
/// <summary>
/// Represents the models builder configuration.
/// </summary>
internal class ModelsBuilderConfig : IModelsBuilderConfig
{
private const string Prefix = Constants.Configuration.ConfigModelsBuilderPrefix;
private readonly IConfiguration _configuration;
/// <summary>
/// Initializes a new instance of the <see cref="ModelsBuilderConfig" /> class.
/// </summary>
public ModelsBuilderConfig(IConfiguration configuration)
{
_configuration = configuration;
}
public string DefaultModelsDirectory => "~/App_Data/Models";
/// <summary>
/// Gets a value indicating whether the whole models experience is enabled.
/// </summary>
/// <remarks>
/// <para>If this is false then absolutely nothing happens.</para>
/// <para>Default value is <c>false</c> which means that unless we have this setting, nothing happens.</para>
/// </remarks>
public bool Enable => _configuration.GetValue(Prefix+"Enable", false);
/// <summary>
/// Gets the models mode.
/// </summary>
public ModelsMode ModelsMode =>
_configuration.GetValue(Prefix+"ModelsMode", ModelsMode.Nothing);
/// <summary>
/// Gets the models namespace.
/// </summary>
/// <remarks>That value could be overriden by other (attribute in user's code...). Return default if no value was supplied.</remarks>
public string ModelsNamespace => _configuration.GetValue<string>(Prefix+"ModelsNamespace");
/// <summary>
/// Gets a value indicating whether we should enable the models factory.
/// </summary>
/// <remarks>Default value is <c>true</c> because no factory is enabled by default in Umbraco.</remarks>
public bool EnableFactory => _configuration.GetValue(Prefix+"EnableFactory", true);
/// <summary>
/// Gets a value indicating whether we should flag out-of-date models.
/// </summary>
/// <remarks>
/// Models become out-of-date when data types or content types are updated. When this
/// setting is activated the ~/App_Data/Models/ood.txt file is then created. When models are
/// generated through the dashboard, the files is cleared. Default value is <c>false</c>.
/// </remarks>
public bool FlagOutOfDateModels =>
_configuration.GetValue(Prefix+"FlagOutOfDateModels", false) && !ModelsMode.IsLive();
/// <summary>
/// Gets the models directory.
/// </summary>
/// <remarks>Default is ~/App_Data/Models but that can be changed.</remarks>
public string ModelsDirectory =>
_configuration.GetValue(Prefix+"ModelsDirectory", "~/App_Data/Models");
/// <summary>
/// Gets a value indicating whether to accept an unsafe value for ModelsDirectory.
/// </summary>
/// <remarks>
/// An unsafe value is an absolute path, or a relative path pointing outside
/// of the website root.
/// </remarks>
public bool AcceptUnsafeModelsDirectory =>
_configuration.GetValue(Prefix+"AcceptUnsafeModelsDirectory", false);
/// <summary>
/// Gets a value indicating the debug log level.
/// </summary>
/// <remarks>0 means minimal (safe on live site), anything else means more and more details (maybe not safe).</remarks>
public int DebugLevel => _configuration.GetValue(Prefix+"DebugLevel", 0);
}
}
@@ -0,0 +1,19 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Models
{
internal class NuCacheSettings : INuCacheSettings
{
private const string Prefix = Constants.Configuration.ConfigPrefix + "NuCache:";
private readonly IConfiguration _configuration;
public NuCacheSettings(IConfiguration configuration)
{
_configuration = configuration;
}
public string BTreeBlockSize => _configuration.GetValue<string>(Prefix+"BTreeBlockSize");
}
}
@@ -0,0 +1,87 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration.UmbracoSettings;
namespace Umbraco.Configuration.Models
{
internal class RequestHandlerSettings : IRequestHandlerSettings
{
private const string Prefix = Constants.Configuration.ConfigPrefix + "RequestHandler:";
private static readonly CharItem[] DefaultCharCollection =
{
new CharItem { Char = " ", Replacement = "-" },
new CharItem { Char = "\"", Replacement = "" },
new CharItem { Char = "'", Replacement = "" },
new CharItem { Char = "%", Replacement = "" },
new CharItem { Char = ".", Replacement = "" },
new CharItem { Char = ";", Replacement = "" },
new CharItem { Char = "/", Replacement = "" },
new CharItem { Char = "\\", Replacement = "" },
new CharItem { Char = ":", Replacement = "" },
new CharItem { Char = "#", Replacement = "" },
new CharItem { Char = "+", Replacement = "plus" },
new CharItem { Char = "*", Replacement = "star" },
new CharItem { Char = "&", Replacement = "" },
new CharItem { Char = "?", Replacement = "" },
new CharItem { Char = "æ", Replacement = "ae" },
new CharItem { Char = "ä", Replacement = "ae" },
new CharItem { Char = "ø", Replacement = "oe" },
new CharItem { Char = "ö", Replacement = "oe" },
new CharItem { Char = "å", Replacement = "aa" },
new CharItem { Char = "ü", Replacement = "ue" },
new CharItem { Char = "ß", Replacement = "ss" },
new CharItem { Char = "|", Replacement = "-" },
new CharItem { Char = "<", Replacement = "" },
new CharItem { Char = ">", Replacement = "" }
};
private readonly IConfiguration _configuration;
public RequestHandlerSettings(IConfiguration configuration)
{
_configuration = configuration;
}
public bool AddTrailingSlash =>
_configuration.GetValue(Prefix+"AddTrailingSlash", true);
public bool ConvertUrlsToAscii => _configuration
.GetValue<string>(Prefix+"ConvertUrlsToAscii").InvariantEquals("true");
public bool TryConvertUrlsToAscii => _configuration
.GetValue<string>(Prefix+"ConvertUrlsToAscii").InvariantEquals("try");
//We need to special handle ":", as this character is special in keys
public IEnumerable<IChar> CharCollection
{
get
{
var collection = _configuration.GetSection(Prefix + "CharCollection").GetChildren()
.Select(x => new CharItem()
{
Char = x.GetValue<string>("Char"),
Replacement = x.GetValue<string>("Replacement"),
}).ToArray();
if (collection.Any() || _configuration.GetSection("Prefix").GetChildren().Any(x =>
x.Key.Equals("CharCollection", StringComparison.OrdinalIgnoreCase)))
{
return collection;
}
return DefaultCharCollection;
}
}
public class CharItem : IChar
{
public string Char { get; set; }
public string Replacement { get; set; }
}
}
}
@@ -0,0 +1,19 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Models
{
internal class RuntimeSettings : IRuntimeSettings
{
private const string Prefix = Constants.Configuration.ConfigPrefix + "Runtime:";
private readonly IConfiguration _configuration;
public RuntimeSettings(IConfiguration configuration)
{
_configuration = configuration;
}
public int? MaxQueryStringLength => _configuration.GetValue<int?>(Prefix+"MaxRequestLength");
public int? MaxRequestLength => _configuration.GetValue<int?>(Prefix+"MaxRequestLength");
}
}
@@ -0,0 +1,33 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration.UmbracoSettings;
namespace Umbraco.Configuration.Models
{
internal class SecuritySettings : ISecuritySettings
{
private const string Prefix = Constants.Configuration.ConfigSecurityPrefix;
private readonly IConfiguration _configuration;
public SecuritySettings(IConfiguration configuration)
{
_configuration = configuration;
}
public bool KeepUserLoggedIn => _configuration.GetValue(Prefix + "KeepUserLoggedIn", true);
public bool HideDisabledUsersInBackoffice =>
_configuration.GetValue(Prefix + "HideDisabledUsersInBackoffice", false);
public bool AllowPasswordReset =>
_configuration.GetValue(Prefix + "AllowPasswordResetAllowPasswordReset", true);
public string AuthCookieName =>
_configuration.GetValue(Prefix + "AuthCookieName", "UMB_UCONTEXT");
public string AuthCookieDomain =>
_configuration.GetValue<string>(Prefix + "AuthCookieDomain");
public bool UsernameIsEmail => _configuration.GetValue(Prefix + "UsernameIsEmail", true);
}
}
@@ -0,0 +1,21 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration.UmbracoSettings;
namespace Umbraco.Configuration.Models
{
internal class TourSettings : ITourSettings
{
private const string Prefix = Constants.Configuration.ConfigPrefix + "Tours:";
private readonly IConfiguration _configuration;
public TourSettings(IConfiguration configuration)
{
_configuration = configuration;
}
public string Type { get; set; }
public bool EnableTours => _configuration.GetValue(Prefix+"EnableTours", true);
}
}
@@ -0,0 +1,20 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Models
{
internal class TypeFinderSettings : ITypeFinderSettings
{
private const string Prefix = Constants.Configuration.ConfigPrefix + "TypeFinder:";
private readonly IConfiguration _configuration;
public TypeFinderSettings(IConfiguration configuration)
{
_configuration = configuration;
}
public string AssembliesAcceptingLoadExceptions =>
_configuration.GetValue<string>(Prefix+"AssembliesAcceptingLoadExceptions");
}
}
@@ -0,0 +1,36 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration;
namespace Umbraco.Configuration.Models
{
internal class UserPasswordConfigurationSettings : IUserPasswordConfiguration
{
private const string Prefix = Constants.Configuration.ConfigSecurityPrefix + "UserPassword:";
private readonly IConfiguration _configuration;
public UserPasswordConfigurationSettings(IConfiguration configuration)
{
_configuration = configuration;
}
public int RequiredLength => _configuration.GetValue(Prefix + "RequiredLength", 10);
public bool RequireNonLetterOrDigit =>
_configuration.GetValue(Prefix + "RequireNonLetterOrDigit", false);
public bool RequireDigit => _configuration.GetValue(Prefix + "RequireDigit", false);
public bool RequireLowercase =>
_configuration.GetValue(Prefix + "RequireLowercase", false);
public bool RequireUppercase =>
_configuration.GetValue(Prefix + "RequireUppercase", false);
public string HashAlgorithmType =>
_configuration.GetValue(Prefix + "HashAlgorithmType", "HMACSHA256");
public int MaxFailedAccessAttemptsBeforeLockout =>
_configuration.GetValue(Prefix + "MaxFailedAccessAttemptsBeforeLockout", 5);
}
}
@@ -0,0 +1,42 @@
using Microsoft.Extensions.Configuration;
using Umbraco.Core;
using Umbraco.Core.Configuration.UmbracoSettings;
using Umbraco.Core.Models.PublishedContent;
namespace Umbraco.Configuration.Models
{
internal class WebRoutingSettings : IWebRoutingSettings
{
private const string Prefix = Constants.Configuration.ConfigPrefix + "WebRouting:";
private readonly IConfiguration _configuration;
public WebRoutingSettings(IConfiguration configuration)
{
_configuration = configuration;
}
public bool TrySkipIisCustomErrors =>
_configuration.GetValue(Prefix + "TrySkipIisCustomErrors", false);
public bool InternalRedirectPreservesTemplate =>
_configuration.GetValue(Prefix + "InternalRedirectPreservesTemplate", false);
public bool DisableAlternativeTemplates =>
_configuration.GetValue(Prefix + "DisableAlternativeTemplates", false);
public bool ValidateAlternativeTemplates =>
_configuration.GetValue(Prefix + "ValidateAlternativeTemplates", false);
public bool DisableFindContentByIdPath =>
_configuration.GetValue(Prefix + "DisableFindContentByIdPath", false);
public bool DisableRedirectUrlTracking =>
_configuration.GetValue(Prefix + "DisableRedirectUrlTracking", false);
public string UrlProviderMode =>
_configuration.GetValue(Prefix + "UrlProviderMode", UrlMode.Auto.ToString());
public string UmbracoApplicationUrl =>
_configuration.GetValue<string>(Prefix + "UmbracoApplicationUrl");
}
}
@@ -0,0 +1,11 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Umbraco Cms
[assembly: InternalsVisibleTo("Umbraco.Tests")]
[assembly: InternalsVisibleTo("Umbraco.Tests.Common")]
[assembly: InternalsVisibleTo("Umbraco.Tests.Benchmarks")]
// Allow this to be mocked in our unit tests
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")]
@@ -0,0 +1,41 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>8</LangVersion>
</PropertyGroup>
<ItemGroup>
<Compile Remove="obj\**" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Remove="obj\**" />
</ItemGroup>
<ItemGroup>
<None Remove="obj\**" />
</ItemGroup>
<ItemGroup>
<_UnmanagedRegistrationCache Remove="obj\Umbraco.Configuration.csproj.UnmanagedRegistration.cache" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="3.1.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="3.1.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="3.1.2" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.6.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Umbraco.Core\Umbraco.Core.csproj" />
</ItemGroup>
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>Umbraco.Tests.Integration</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
</Project>
@@ -7,6 +7,6 @@ namespace Umbraco.Core.Configuration.UmbracoSettings
[ConfigurationProperty("tours")]
internal TourConfigElement Tours => (TourConfigElement)this["tours"];
ITourSection IBackOfficeSection.Tours => Tours;
ITourSettings IBackOfficeSection.Tours => Tours;
}
}
@@ -0,0 +1,65 @@
using System.Collections.Generic;
using System.Configuration;
using Umbraco.Core.Macros;
namespace Umbraco.Core.Configuration.UmbracoSettings
{
internal class ContentElement : UmbracoConfigurationElement, IContentSettings
{
private const string DefaultPreviewBadge = @"<div id=""umbracoPreviewBadge"" class=""umbraco-preview-badge""><span class=""umbraco-preview-badge__header"">Preview mode</span><a href=""{0}/preview/end?redir={1}"" class=""umbraco-preview-badge__end""><svg viewBox=""0 0 100 100"" xmlns=""http://www.w3.org/2000/svg""><title>Click to end</title><path d=""M5273.1 2400.1v-2c0-2.8-5-4-9.7-4s-9.7 1.3-9.7 4v2a7 7 0 002 4.9l5 4.9c.3.3.4.6.4 1v6.4c0 .4.2.7.6.8l2.9.9c.5.1 1-.2 1-.8v-7.2c0-.4.2-.7.4-1l5.1-5a7 7 0 002-4.9zm-9.7-.1c-4.8 0-7.4-1.3-7.5-1.8.1-.5 2.7-1.8 7.5-1.8s7.3 1.3 7.5 1.8c-.2.5-2.7 1.8-7.5 1.8z""/><path d=""M5268.4 2410.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1s-.4-1-1-1h-4.3zM5272.7 2413.7h-4.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1s-.4-1-1-1zM5272.7 2417h-4.3c-.6 0-1 .4-1 1s.4 1 1 1h4.3c.6 0 1-.4 1-1 0-.5-.4-1-1-1z""/><path d=""M78.2 13l-8.7 11.7a32.5 32.5 0 11-51.9 25.8c0-10.3 4.7-19.7 12.9-25.8L21.8 13a47 47 0 1056.4 0z""/><path d=""M42.7 2.5h14.6v49.4H42.7z""/></svg></a></div><style type=""text/css"">.umbraco-preview-badge {{position: absolute;top: 1em;right: 1em;display: inline-flex;background: #1b264f;color: #fff;padding: 1em;font-size: 12px;z-index: 99999999;justify-content: center;align-items: center;box-shadow: 0 10px 50px rgba(0, 0, 0, .1), 0 6px 20px rgba(0, 0, 0, .16);line-height: 1;}}.umbraco-preview-badge__header {{font-weight: bold;}}.umbraco-preview-badge__end {{width: 3em;padding: 1em;margin: -1em -1em -1em 2em;display: flex;flex-shrink: 0;align-items: center;align-self: stretch;}}.umbraco-preview-badge__end:hover,.umbraco-preview-badge__end:focus {{background: #f5c1bc;}}.umbraco-preview-badge__end svg {{fill: #fff;width:1em;}}</style>";
[ConfigurationProperty("imaging")]
internal ContentImagingElement Imaging => (ContentImagingElement) this["imaging"];
[ConfigurationProperty("ResolveUrlsFromTextString")]
internal InnerTextConfigurationElement<bool> ResolveUrlsFromTextString => GetOptionalTextElement("ResolveUrlsFromTextString", false);
public IEnumerable<IContentErrorPage> Error404Collection => Errors.Error404Collection;
[ConfigurationProperty("errors", IsRequired = true)]
internal ContentErrorsElement Errors => (ContentErrorsElement) base["errors"];
[ConfigurationProperty("notifications", IsRequired = true)]
internal NotificationsElement Notifications => (NotificationsElement) base["notifications"];
[ConfigurationProperty("PreviewBadge")]
internal InnerTextConfigurationElement<string> PreviewBadge => GetOptionalTextElement("PreviewBadge", DefaultPreviewBadge);
[ConfigurationProperty("MacroErrors")]
internal InnerTextConfigurationElement<MacroErrorBehaviour> MacroErrors => GetOptionalTextElement("MacroErrors", MacroErrorBehaviour.Inline);
[ConfigurationProperty("disallowedUploadFiles")]
internal CommaDelimitedConfigurationElement DisallowedUploadFiles => GetOptionalDelimitedElement("disallowedUploadFiles", new[] {"ashx", "aspx", "ascx", "config", "cshtml", "vbhtml", "asmx", "air", "axd"});
[ConfigurationProperty("allowedUploadFiles")]
internal CommaDelimitedConfigurationElement AllowedUploadFiles => GetOptionalDelimitedElement("allowedUploadFiles", new string[0]);
[ConfigurationProperty("showDeprecatedPropertyEditors")]
internal InnerTextConfigurationElement<bool> ShowDeprecatedPropertyEditors => GetOptionalTextElement("showDeprecatedPropertyEditors", false);
[ConfigurationProperty("loginBackgroundImage")]
internal InnerTextConfigurationElement<string> LoginBackgroundImage => GetOptionalTextElement("loginBackgroundImage", string.Empty);
string IContentSettings.NotificationEmailAddress => Notifications.NotificationEmailAddress;
bool IContentSettings.DisableHtmlEmail => Notifications.DisableHtmlEmail;
IEnumerable<string> IContentSettings.ImageFileTypes => Imaging.ImageFileTypes;
IEnumerable<IImagingAutoFillUploadField> IContentSettings.ImageAutoFillProperties => Imaging.ImageAutoFillProperties;
bool IContentSettings.ResolveUrlsFromTextString => ResolveUrlsFromTextString;
string IContentSettings.PreviewBadge => PreviewBadge;
MacroErrorBehaviour IContentSettings.MacroErrorBehaviour => MacroErrors;
IEnumerable<string> IContentSettings.DisallowedUploadFiles => DisallowedUploadFiles;
IEnumerable<string> IContentSettings.AllowedUploadFiles => AllowedUploadFiles;
bool IContentSettings.ShowDeprecatedPropertyEditors => ShowDeprecatedPropertyEditors;
string IContentSettings.LoginBackgroundImage => LoginBackgroundImage;
}
}
@@ -12,7 +12,7 @@ namespace Umbraco.Core.Configuration.UmbracoSettings
//set the default
GetDefaultImageFileTypes());
internal static string[] GetDefaultImageFileTypes()
public static string[] GetDefaultImageFileTypes()
{
return new[] {"jpeg", "jpg", "gif", "bmp", "png", "tiff", "tif"};
}
@@ -49,7 +49,7 @@ namespace Umbraco.Core.Configuration.UmbracoSettings
}
}
internal static ImagingAutoFillPropertiesCollection GetDefaultImageAutoFillProperties()
public static ImagingAutoFillPropertiesCollection GetDefaultImageAutoFillProperties()
{
return new ImagingAutoFillPropertiesCollection
{
@@ -0,0 +1,13 @@
using System.Configuration;
namespace Umbraco.Core.Configuration.UmbracoSettings
{
internal class KeepAliveElement : ConfigurationElement, IKeepAliveSettings
{
[ConfigurationProperty("disableKeepAliveTask", DefaultValue = "false")]
public bool DisableKeepAliveTask => (bool)base["disableKeepAliveTask"];
[ConfigurationProperty("keepAlivePingUrl", DefaultValue = "{umbracoApplicationUrl}/api/keepalive/ping")]
public string KeepAlivePingUrl => (string)base["keepAlivePingUrl"];
}
}
@@ -3,12 +3,12 @@ using System.Configuration;
namespace Umbraco.Core.Configuration.UmbracoSettings
{
internal class LoggingElement : UmbracoConfigurationElement, ILoggingSection
internal class LoggingElement : UmbracoConfigurationElement, ILoggingSettings
{
[ConfigurationProperty("maxLogAge")]
internal InnerTextConfigurationElement<int> MaxLogAge => GetOptionalTextElement("maxLogAge", -1);
int ILoggingSection.MaxLogAge => MaxLogAge;
int ILoggingSettings.MaxLogAge => MaxLogAge;
}
}
@@ -0,0 +1,6 @@
namespace Umbraco.Core.Configuration.UmbracoSettings
{
internal class MemberPasswordConfigurationElement : PasswordConfigurationElement, IMemberPasswordConfiguration
{
}
}

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