Commit Graph

35430 Commits

Author SHA1 Message Date
Bjarke Berg
8d58e31bcf Merge pull request #11096 from umbraco/v9/feature/merge_v8_14092021
V9: Merged 8.17RC (14/09/2021)
2021-09-14 14:07:14 +02:00
Bjarke Berg
b30dcf905b Merge remote-tracking branch 'origin/v8/8.17' into v9/feature/merge_v8_14092021
# Conflicts:
#	src/Umbraco.Core/PropertyEditors/MultiUrlPickerConfiguration.cs
#	src/Umbraco.Web/HealthCheck/Checks/Security/ExcessiveHeadersCheck.cs
2021-09-14 13:10:44 +02:00
Sebastiaan Janssen
237ac53928 Merge branch 'v8/dev' into v8/8.17 2021-09-14 12:57:13 +02:00
Andy Butland
ef69847645 Added a constant for reference to the umbraco/Licenses folder. 2021-09-14 11:36:01 +02:00
Bjarke Berg
f3096c99da Merge remote-tracking branch 'origin/v8/8.17' into v9/feature/merge_v8_14092021
# Conflicts:
#	src/Umbraco.Core/ConfigsExtensions.cs
#	src/Umbraco.Core/Configuration/CoreDebug.cs
#	src/Umbraco.Core/Scoping/ScopeProvider.cs
#	src/Umbraco.Infrastructure/Scoping/Scope.cs
#	src/Umbraco.PublishedCache.NuCache/ContentStore.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/LocksTests.cs
#	src/Umbraco.Tests.Integration/Umbraco.Infrastructure/Persistence/UnitOfWorkTests.cs
#	src/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Scoping/ScopeUnitTests.cs
#	src/Umbraco.Tests/Components/ComponentTests.cs
#	src/Umbraco.Tests/TestHelpers/TestObjects.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.Client/package.json
#	src/Umbraco.Web/HealthCheck/Checks/Security/BaseHttpHeaderCheck.cs
2021-09-14 11:32:43 +02:00
Bjarne Fyrstenborg
71733b72d9 Remove restricted image size when opening media (#10940)
* Remove restricted image size as SVG are vector and we already handle max size in css

* Use css class instead of inline style

* Add required src and alt attributes to img tag - ng-src will populate value of src attribute

* Align folder icon in medie entry editor
2021-09-14 17:57:16 +10:00
Mads Rasmussen
c6a1765c95 set form to dirty when add tab, delete tab, add group, and delete group 2021-09-14 08:41:32 +02:00
Bjarne Fyrstenborg
a4e472b4d3 Stream line <umb-progress-bar> and <umb-progress-circle> 2021-09-14 16:02:56 +10:00
Bjarne Fyrstenborg
aa48cdbbfd Media picker 3 preview with checkered background (#10939)
* Set property editor limit width on parent like other property editors

* Use checkered background in media picker 3 preview like the legacy media picker
2021-09-14 15:58:59 +10:00
Jan Skovgaard
5b62516114 Grid: labels offset fix (#10979)
* Add missing focus styling

* Ensure labels have the proper pixels offset

Co-authored-by: BatJan <jaskov@gmail.com>
Co-authored-by: Jan Skovgaard Olsen <jso@co3.dk>
2021-09-14 15:54:46 +10:00
Jeavon Leopold
8810b98003 Exclude "Server" header from excessive check if the value is "cloudflare" 2021-09-14 15:46:41 +10:00
Bjarne Fyrstenborg
e42af34b5f Introduce overlaysize prevalue editor (#11010)
* Introduce overlaysize prevalue editor instead of redundant prevalue editor for each property editor

* Move ordering of properties

* Change overlaySizeWidth to overlaySize

* Make it clear overlay is only for link picker

* Fix overlay size not working for link picker in rich text editor
2021-09-14 15:43:21 +10:00
Sebastiaan Janssen
a1e965cce6 Merge branch 'v8/dev' into v8/8.17 2021-09-13 16:22:44 +02:00
Bjarne Fyrstenborg
eb7b570002 Include MediaService extensions 2021-09-13 15:19:28 +02:00
Sebastiaan Janssen
25d482f42f Add package-lock.json updates 2021-09-13 14:41:21 +02:00
Jeavon Leopold
fb466f4309 Fix string interpolation for health check messages 2021-09-13 13:11:54 +02:00
Shannon Deminick
5fadb238ee Don't eagerly acquire distributed (SQL) locks (#10171) 2021-09-13 13:09:47 +02:00
Sebastiaan Janssen
cacd471601 Updating Angular and jQuery to the latest available version 2021-09-13 13:03:29 +02:00
Chad Currie
b17cc47632 Fix message template to not mix string interpolating and formatting. 2021-09-13 11:10:26 +02:00
Bjarke Berg
2ac5bb0dc4 Merge pull request #11039 from umbraco/v9/feature/cancellation_now_works_on_content
V9/feature/cancellation now works on content
2021-09-13 08:45:15 +02:00
Bjarke Berg
91ba144f3b Merge pull request #11076 from umbraco/v9/bugfix/9661-bool-conversion
Fixes #9661 boolean conversion
2021-09-10 21:01:51 +02:00
Shannon
7b5b6eea2c Fixes #9661 boolean conversion 2021-09-10 11:28:04 -06:00
Bjarke Berg
c8a67528ea Merge pull request #11071 from umbraco/v9/bugfix/empty-recycle-bin-index
Fixes empty recycle bin performance with indexing
2021-09-10 11:10:15 +02:00
Nikolaj Geisle
088d87bac6 Merge pull request #11064 from umbraco/v9/bugfix/10650-fix_issue_with_upgrading_while_in_backoffice
Add redirect to /umbraco if you are not in run state.
2021-09-10 10:50:41 +02:00
Nikolaj Geisle
1291a38097 Merge pull request #11060 from umbraco/v9/bugfix/110056-added_missing_null_check_when_conneciton_is_missing
Fixes issue when ConnectionStrings.umbracoDbDSN is missing
2021-09-10 10:33:07 +02:00
Bjarke Berg
583549c768 Fixed test 2021-09-10 09:25:56 +02:00
Bjarke Berg
0db6d542ea Cleanup 2021-09-10 09:24:11 +02:00
Bjarke Berg
7ffdf72519 Merge pull request #11068 from umbraco/v9/bugfix/options-monitor-connection-strings
Fixes reading connection strings after install
2021-09-10 09:22:39 +02:00
Mole
dd03b25a43 Merge pull request #11054 from umbraco/v9/bugfix/#10403-Fixed-Notification-with-UmbracoAuthorizedController
v9: Bugfix - Implemented attribute changes in controller
2021-09-10 09:18:06 +02:00
Shannon
71448eafe6 Fixes empty recycle bin performance with indexing
Currently when the recycle bin is empty, it is going to individually delete each item from the index. This is going to cause tons of allocations in Umbraco for DeferedDeleteIndex objects for each item and then down within Examine is going to process each one individually instead of just doing it in bulk. There will be a lot of allocations made there too along with a bunch of extra and unecessary threads.
2021-09-09 16:04:18 -06:00
Shannon
769f24aaae Fixes reading connection strings after install
The issue was discovered when testing Umbraco Id. If you have an existing install and there is a pending Umbraco migration (upgrade), but you clear out the connection string to force a new install screen, fill out the existing connection string details, it all works and redirects to the back office. This will throw exceptions because the runtime state is in an upgrade state (which is fixed in #11064) but if you then logout and try to log in with an active OAuth provider, it means there is a redirect outside of Umbraco and back again and you'll end up back on the installer screen - but it will not show you the upgrade screen, instead it shows you the normal install screen. This is because we are not using IOptionsMonitor for connection string settings which means it's already read the original empty connection string setting fom the very beginning and isn't reading the current/updated value.

We need to review all IOptions usages. Most of them should be IOptionsMonitor unless its impossible to change the app behavior at runtime with a particular config option.
2021-09-09 13:15:11 -06:00
Bjarke Berg
41aabd2515 https://github.com/umbraco/Umbraco-CMS/issues/10650 - Added redirect in backoffice controller if you are not in run state. 2021-09-09 15:37:13 +02:00
Bjarke Berg
d121456054 https://github.com/umbraco/Umbraco-CMS/issues/11056 Handle null checks 2021-09-09 13:08:27 +02:00
Nikolaj Geisle
dc0994a429 Merge pull request #11059 from umbraco/v9/bugfix/application-url-in-appsettings
V9: Fix ApplicationMainUrl not being set from appsettings.json
2021-09-09 12:39:41 +02:00
Nikolaj
acf0052f8e Merge branch 'v9/dev' into v9/bugfix/imagesize-cleanup
# Conflicts:
#	src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.CoreServices.cs
2021-09-09 11:40:17 +02:00
Nikolaj
7578d460c4 Assign ApplicationMainUrl in constructor of hosting environment if its specified in appsettings 2021-09-09 11:18:12 +02:00
Bjarke Berg
97486e0705 Merge pull request #11050 from umbraco/v9/bugfix/fix-imagecropper-trygetmediapath
Fix Image Cropper media path parsing
2021-09-08 21:03:46 +02:00
Bjarke Berg
2cfb099dea Merge pull request #11058 from umbraco/v9/bugfix/fix-email-handler-detection
Fixes email handler detection
2021-09-08 19:59:23 +02:00
Shannon
8ff78fb1de Fixes email handler detection 2021-09-08 11:19:52 -06:00
Bjarke Berg
1d55d50809 Merge pull request #11046 from umbraco/v9/feature/merge_v8.17-rc
Merge 8.17 RC into V9, cleanup/refactor property groups/tabs API
2021-09-08 19:17:02 +02:00
Bjarke Berg
42e27450d9 Merge pull request #11053 from umbraco/v9/bugfix/add_missing_action
V9: Fixed missing action
2021-09-08 19:16:47 +02:00
Bjarke Berg
3eb21d5bbd Merge pull request #11016 from umbraco/v9/feature/add_friendly_extension_method_to_replace_the_backofficeusermanager
Added SetBackOfficeUserManager extension method to IUmbracoBuilder
2021-09-08 19:11:52 +02:00
Bjarke Berg
e284e30df5 Fixed issues where we used the global setting UmbracoPath instead of the constant 2021-09-08 18:29:24 +02:00
Bjarke Berg
995595cce1 Merge remote-tracking branch 'origin/v9/dev' into v9/bugfix/fix_issues_when_changing_umbraco_path 2021-09-08 18:17:39 +02:00
Bjarke Berg
774a021ea5 Merge remote-tracking branch 'origin/v9/dev' into v9/dev 2021-09-08 17:50:20 +02:00
Bjarke Berg
6558ed9b0c Changes SchemeForBackOffice to just ensure it is prefixed with "Umbraco.".
https://github.com/umbraco/UmbracoDocs/pull/3438#discussion_r703981003
2021-09-08 17:49:56 +02:00
Bjarke Berg
e5ab0fc084 Merge pull request #10962 from umbraco/v9/task/examine-update
Updates to latest Examine version
2021-09-08 17:45:27 +02:00
Ronald Barendse
26c4fc339f Move extension method classes into separate files 2021-09-08 17:01:34 +02:00
Ronald Barendse
87709f7d35 Fix JS unit tests 2021-09-08 16:58:45 +02:00
Ronald Barendse
e2e9305513 Merge branch 'v8/8.17' into v9/feature/merge_v8.17-rc 2021-09-08 16:43:16 +02:00