Commit Graph

35409 Commits

Author SHA1 Message Date
Ronald Barendse
a9d8f5fa5b Fix exporting/importing macro partial views using a virtual file path 2021-09-21 11:22:40 +02:00
Ronald Barendse
8b853b17ac Include installed media to package definition on install 2021-09-21 11:11:40 +02:00
Ronald Barendse
c2a184482c Add null checks when writing summary text 2021-09-15 11:03:28 +02:00
Ronald Barendse
af0f263e3c Fix code formatting 2021-09-14 23:56:49 +02:00
Ronald Barendse
26b26a940d Write all installation results to summary text 2021-09-14 23:50:25 +02:00
Ronald Barendse
7e7e28f7c7 Use IFileService to save macro partial views 2021-09-14 23:48:24 +02: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
Ronald Barendse
0aa545df75 Update parameter order of new AddPropertyGroup overload 2021-09-08 16:24:10 +02:00
Ronald Barendse
d4f3a55033 Merge pull request #11055 from umbraco/v8/bugfix/reorder-group-to-generic-tab-only-work-once
Fix move group to Generic tab only work once
2021-09-08 16:10:12 +02:00
Ronald Barendse
530e498132 Merge pull request #11042 from umbraco/v8/bugfix/set-correct-sort-order-on-converted-tab
Set correct sort order on converted tab
2021-09-08 16:09:31 +02:00
Ronald Barendse
3b994339d7 Updated directory casing for language files 2021-09-08 16:03:01 +02:00
Mads Rasmussen
05dc65ecf0 Fixes folder creation for doc, data, and media types (#11040)
* fixes folder creation for doctype and datatype

* add fix for media types

* remove umb-auto-focus we use focus-when instead
2021-09-08 15:58:54 +02:00
Nikolaj Geisle
8da852c417 Update src/Umbraco.Web.BackOffice/Controllers/UmbracoAuthorizedApiController.cs 2021-09-08 15:20:49 +02:00
Ronald Barendse
7c250fcac7 Use ImageSharp configuration from DI (and its related ReadOrigin) 2021-09-08 15:18:29 +02:00
Mads Rasmussen
1fa816bd32 Show notification when a group can't be moved + reset requested tab 2021-09-08 15:14:12 +02:00
Ronald Barendse
9b7c43217c Move repeated code into a private method 2021-09-08 15:06:35 +02:00
Bjarke Berg
f941e9caca Fixed issue because of missing overload of GetAncestors that takes an Guid as id. 2021-09-08 14:59:52 +02:00
Zeegaan
ef73e181f1 Implemented attribute changes in controller 2021-09-08 14:54:21 +02:00
Ronald Barendse
bd8d7b91d6 Support plain file path strings as Image Cropper values 2021-09-08 12:07:05 +02:00
Ronald Barendse
b145f09368 Ensure TryGetMediaPath only returns true on non-empty values 2021-09-08 12:03:56 +02:00
Elitsa Marinovska
6c56c298d6 Merge branch 'v9/dev' into v9/bugfix/fix_issues_when_changing_umbraco_path 2021-09-08 08:17:59 +02:00
Shannon Deminick
676b5c4198 Update Umbraco.Web.Common.csproj 2021-09-08 06:03:12 +10:00
Ronald Barendse
e2497d66a8 Refactor IContentTypeBase API to use property group aliases 2021-09-07 20:48:45 +02:00