Commit Graph

9269 Commits

Author SHA1 Message Date
Sebastiaan Janssen
cb06442de4 Fix: Issue when upgraded from 8.14 to 8.15 when inviting user into the backoffice. #10746 (#10767)
* Remove unusable method

* Fixes #10746 by removing the recursive call ending in an infinite loop

Also: the culture is already known, don't take the `CurrentUICulture`
2021-07-29 12:54:05 +01:00
Patrick de Mooij
c86d3b1dae 9157: Use the sorting event instead of the saving 2021-07-23 09:44:19 +10:00
Sebastiaan Janssen
d615c1e88b Merge branch 'v8/dev' into v8/contrib 2021-07-22 14:01:55 +02:00
Warren Buckley
4df4b3eeaf Merge pull request #10603 from umbraco/v8/bugfix/creating-document-types-sqlce
Fix duplicate ID when creating document types with SQL CE
2021-07-21 12:11:22 +01:00
Shannon
3ce2cf0992 Merge remote-tracking branch 'origin/v8/contrib' into v8/bugfix/removing-unnecessary-readerwriterlock 2021-07-20 10:05:32 -06:00
Sebastiaan Janssen
3a2a79108d Merge branch 'v8/dev' into v8/contrib 2021-07-20 10:23:29 +02:00
Sebastiaan Janssen
3feda1bc58 Merge branch 'v8/8.15' into v8/dev 2021-07-20 10:22:32 +02:00
Sebastiaan Janssen
a37f6c604f Inconsistent formatting 2021-07-10 14:25:26 +02:00
Shannon
93f5dd7631 Changes bulk copy timeout to be infinite. Changes bulk copy to not allocate an arbitrary array. 2021-07-09 13:35:43 -06:00
Shannon
5240921dab Merge branch 'v8/bugfix/8.15rc-bugs' of https://github.com/nzdev/Umbraco-CMS into v8/8.15 2021-07-09 12:25:19 -06:00
Shannon
7dc03256ed Fixes SQLCE migration for nucache table. 2021-07-09 12:05:19 -06:00
Shannon
5e8b4572a0 Ensures that the content nu data column is updated to support null during migration. 2021-07-09 09:40:31 -06:00
nzdev
6a8ed8012c simplify 2021-07-09 21:22:30 +12:00
nzdev
044c900c2b Make IPropertyCacheCompressionOptions useful out of the box. key = "Umbraco.Web.PublishedCache.NuCache.CompressUnPublishedContent" value = "true" will compress all ntext properties on unpublished content 2021-07-09 20:14:35 +12:00
nzdev
6b6525cc98 Add whether the current content is published. Allowing for compression of just non published, non media content. 2021-07-09 19:33:42 +12:00
Rachel Breeze
a1e0af6fff Accessibility improvements for Extensions in Razor Markup (#9576)
* Support for language of parts

* Changed casing of "FallBack" to "Fallback" to be consistent with the existing code.

* Now tests the type to determine if span should be added.

* Remove magic strings and return <div> for IHtmlString values

This fixes the "string" vs "String" issue in the previous commit and prevents the function returning invalid markup

* Fix for test providing string as "object"

Co-authored-by: Joe Glombek <joe@rockdove.uk>
2021-07-06 18:39:56 +01:00
Henk Jan Pluim
1e54d05514 #10577 bugfix - Umbraco backoffice allows you to assign the same 'login' on two different Members (#10591) 2021-07-06 16:46:07 +02:00
Mole
dfa161adb4 Add migration 2021-07-06 13:08:44 +02:00
Mole
9b32c83182 Update PropertyTypeGroupDto IdentitySeed to no longer collide with new media types 2021-07-06 13:03:44 +02:00
Elitsa Marinovska
861fc40572 Ability to configure a remote URL for displaying different content on the content dashboard (#10257)
* Enabling configuration of remote URL for fetching content on the content dashboard and adding additional params indicating whether solution is running on Umbraco Cloud

* Determining if Umbraco is running on Umbraco Cloud by checking whether Umbraco.Deploy.Cloud.dll is present and making its value more accessible for other contexts. Passing a hosting parameter as string instead of boolean

* Changing from Unknown to OnPremises

* Updated content dashboard to use hard-coded URL but path derived from configuration.

Co-authored-by: Andy Butland <abutland73@gmail.com>
(cherry picked from commit 917c89cde7)
2021-06-29 11:47:46 +02:00
Elitsa Marinovska
917c89cde7 Ability to configure a remote URL for displaying different content on the content dashboard (#10257)
* Enabling configuration of remote URL for fetching content on the content dashboard and adding additional params indicating whether solution is running on Umbraco Cloud

* Determining if Umbraco is running on Umbraco Cloud by checking whether Umbraco.Deploy.Cloud.dll is present and making its value more accessible for other contexts. Passing a hosting parameter as string instead of boolean

* Changing from Unknown to OnPremises

* Updated content dashboard to use hard-coded URL but path derived from configuration.

Co-authored-by: Andy Butland <abutland73@gmail.com>
2021-06-29 11:46:07 +02:00
Sebastiaan Janssen
c6832491b6 Merge branch 'v8/contrib' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/views/prevalueeditors/obsoletemediapickernotice.html
2021-06-28 09:34:26 +02:00
Mole
83ee9b4699 Reduce sql queries when rendering blocklists in the content panel (#10521)
Co-authored-by: Nikolaj <nel@umbraco.dk>
2021-06-28 09:32:42 +02:00
Ronald Barendse
5b9cd1bd87 Improvements to media pickers/crop handling and URL generation (#10529) 2021-06-28 09:28:32 +02:00
Mole
ea1091db7c Merge pull request #10235 from umbraco/v8/bugfix/AB10622-be-property-editor-caching
Optimizations related to BlockEditorPropertyEditor.ToEditor()
2021-06-24 08:39:12 +02:00
Shannon
30d57125ce Adds notes, obsoletes old localize methods 2021-06-23 13:14:22 -06:00
Shannon
3b4e645c63 Merge branch 'v8/bugfix/localizedtextservice-memory' of https://github.com/nzdev/Umbraco-CMS into nzdev-v8/bugfix/localizedtextservice-memory 2021-06-23 12:50:47 -06:00
Bjarke Berg
40dbfa7b88 Merge pull request #8376 from umbraco/v8/feature/nucache-perf
Performance improvements mainly around front-end caching
2021-06-23 09:32:29 +02:00
Shannon
94d525d88f small changes based on review. 2021-06-22 15:12:07 -06:00
Sebastiaan Janssen
d8b7e24b7f Merge branch 'v8/8.14' into v8/dev 2021-06-22 12:24:18 +02:00
Mole
1d0a1cb7a9 Merge branch 'v8/dev' into v8/bugfix/AB10622-be-property-editor-caching 2021-06-22 10:43:58 +02:00
Warren Buckley
ee348be8a5 Merge pull request #10496 from umbraco/v8/fix/10483
Fixes clashing aliases when new mediatypes had been installed

(cherry picked from commit f69cee87f9)
2021-06-21 19:27:31 +02:00
Warren Buckley
79fc804a9b Merge pull request #10500 from umbraco/v8/fix/10423
Don't obsolete the v2 pickers, renamed them and they're able to be created again, without config changes

(cherry picked from commit 69383d3dea)
2021-06-21 19:27:13 +02:00
Warren Buckley
f69cee87f9 Merge pull request #10496 from umbraco/v8/fix/10483
Fixes clashing aliases when new mediatypes had been installed
2021-06-21 17:59:01 +01:00
Shannon
060e78f8e1 Merge remote-tracking branch 'origin/v8/contrib' into v8/feature/nucache-perf 2021-06-21 10:15:09 -06:00
Sebastiaan Janssen
809bb3b5d3 Fixes #10423
Don't obsolete the v2 pickers, renamed them and they're able to be created again, without config changes
2021-06-21 14:01:50 +02:00
Sebastiaan Janssen
e95b57ca1f Fixed friendly name of Vector graphics 2021-06-18 11:44:26 +02:00
Sebastiaan Janssen
70590ce993 Invert the previous change so querying with these constants will give the same results as in 8.14.0 2021-06-18 11:42:09 +02:00
Sebastiaan Janssen
64ebbae5b8 Keep the old constants as they were and add new "Name" constants, in case people were already using the old constants to query by alias 2021-06-18 11:37:32 +02:00
Sebastiaan Janssen
2c7413693b Prefix the new media types to stop them from clashing when people make document types with that alias (#10483) 2021-06-18 11:03:21 +02:00
Warren Buckley
dc334c1015 Automated install user with Environment Variables & unattended.user.json (#9930)
* Try to update admin user unattended

This will fail because we're not in install runtime state

* Create a new user instead of trying to update the default admin

* Create a new user instead of trying to update the default admin

* Use same logic from NewInstallStep to modify the SuperUser aka -1

* Add back stuff after merge conflict from v8/dev

* Add event to be raised

* Trying to wire up events

* Remove commented out code - just need to figure out why event is not hit/triggered

* Read Appsettings as opposed to ENV variables

* Use a JSON file that deletes itself as storing secrets in web.config will be accidently committed

* Remove component based event - Component were only initialized after DB creation

* Move UnattendedInstall down after _factory

* Remove commented out code

* Fixed issue where upgrader UI would show up - needed to recheck the Runtimelevel after UnattenedInstall

* Apply suggestions from code review - Thanks Marc :)

Co-authored-by: Marc Goodson <marc@moriyama.co.uk>

Co-authored-by: Mole <nikolajlauridsen@protonmail.ch>
Co-authored-by: Marc Goodson <marc@moriyama.co.uk>
2021-06-16 10:00:29 +01:00
Elitsa Marinovska
990fc118cb Optimization by returning the same instance 2021-06-10 15:36:39 +02:00
inetzo
1e37410578 Convert date to datetime
Datetime values where always converted to date(102) so sorting by time does not work.
By converting to 120 (yyyy-mm-dd hh:mi:ss (24h)) the time is respected.
2021-06-07 15:38:45 +02:00
Shannon Deminick
eb6b7cffad Merge pull request #10182 from umbraco/v8/bugfix/8893-examine-startup
Fix startup issues and timing with Examine and Nucache
2021-06-05 02:37:33 +10:00
Warren Buckley
9ef806d4e9 Rename Media Picker 3 and make current Media Picker Obsolete (#10332) 2021-05-26 16:13:25 +02:00
Shannon
a9508886bf Merge branch 'v8/bugfix/8893-examine-startup' into v8/feature/nucache-perf
# Conflicts:
#	src/Umbraco.Core/Sync/DatabaseServerMessenger.cs
#	src/Umbraco.Core/Sync/ISyncBootStateAccessor.cs
#	src/Umbraco.Core/Sync/NonRuntimeLevelBootStateAccessor.cs
#	src/Umbraco.Core/Sync/SyncBootState.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheTests.cs
#	src/Umbraco.Tests/Scoping/ScopedNuCacheTests.cs
#	src/Umbraco.Tests/Services/ContentTypeServiceVariantsTests.cs
#	src/Umbraco.Tests/TestHelpers/TestSyncBootStateAccessor.cs
#	src/Umbraco.Web/Compose/DatabaseServerRegistrarAndMessengerComponent.cs
#	src/Umbraco.Web/PublishedCache/NuCache/NuCacheComposer.cs
#	src/Umbraco.Web/PublishedCache/NuCache/PublishedSnapshotService.cs
2021-05-24 13:55:07 -07:00
Shannon
eba3c82a86 Changes startup logic, no more "Boot" method, the component just handles events 2021-05-24 12:51:40 -07:00
Shannon
be3bfe1b63 Removes Booting event, backports lazy changes for PublishedSnapshotService from v9. 2021-05-24 12:32:57 -07:00
Shannon
2739e049a6 Merge remote-tracking branch 'origin/v8/contrib' into v8/feature/nucache-perf
# Conflicts:
#	src/Umbraco.TestData/LoadTestComposer.cs
2021-05-17 11:56:11 -07:00
Chad Currie
474a76fd2b Use ContainsKey for Dictionaries. O(1) 2021-05-15 19:18:37 +10:00