Ronald Barendse
dca4d0f167
Add runtime mode (BackofficeDevelopment, Development and Production) ( #12631 )
...
* Add runtime mode setting
* Only enable Razor runtime compilation in development modes
* Only enable ModelsBuilder generation in development modes
* Fix disabling ModelsBuilder controllers
* Add IRuntimeModeValidationService and IRuntimeModeValidator
* Add JITOptimizerValidator
* Add UmbracoApplicationUrlValidator
* Add UseHttpsValidator
* Add RuntimeMinificationValidator
* Add ModelsBuilderModeValidator
* Remove .NET 6 preview 1 fix for Razor runtime compilation
* Only allow InMemoryAuto in backoffice development mode
* Make runtime mode validators public, so they can be easily removed if required
* Add comment to highlight removing RazorCompileOnBuild, RazorCompileOnPublish and CopyRazorGenerateFilesToPublishDirectory when using ModelsMode InMemoryAuto
* Add documentation
* Update src/Umbraco.Web.Common/ModelsBuilder/NoopModelsBuilderDashboardProvider.cs
Co-authored-by: Ronald Barendse <ronald@barend.se >
Co-authored-by: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com >
2022-07-01 08:48:05 +02:00
Ronald Barendse
7d545a7dfc
Fix test after Sqlite casing change
2022-06-30 22:52:59 +02:00
Bjarke Berg
8de95acec6
Fixed casing
2022-06-30 15:30:42 +02:00
Zeegaan
30c5068f83
Get cultureName from culture info if null
2022-06-30 15:28:06 +02:00
Matthew Care
448836ee2d
Break word for limited width content
...
Add break word to avoid overflowing content / account for label values which are often used to store random data
2022-06-30 14:13:46 +02:00
Bjarke Berg
be1fddb9be
Added configuration to allow RTL cultures to opt-in to reverse the url hierarchy ( #12635 )
...
* Added configuration to allow RTL cultures to opt-in to reverse the url hierarchy.
https://github.com/umbraco/Umbraco-CMS/issues/12621
* Fixed bug.. There is difference between array.Reverse (Linq) and list.Reverse (native)
* formatting
2022-06-30 14:08:13 +02:00
gilbertaoe
ccf0d3f443
Update MemberRepository.cs
...
Ensuring that MemberManager.ConfirmEmailAsync persists.
2022-06-30 13:47:16 +02:00
Zeegaan
5eb5cb7e2b
Fix up after merge
2022-06-30 09:57:45 +02:00
Zeegaan
35549ca218
Merge branch 'release/10.0.1' into v10/dev
...
# Conflicts:
# src/Umbraco.Core/Actions/ActionAssignDomain.cs
# src/Umbraco.Core/Configuration/Models/ModelsBuilderSettings.cs
# src/Umbraco.Core/Models/RelationItem.cs
# src/Umbraco.Core/Scoping/ICoreScope.cs
# src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.CoreServices.cs
# src/Umbraco.Infrastructure/HostedServices/ReportSiteTask.cs
# src/Umbraco.Infrastructure/Logging/MessageTemplates.cs
# src/Umbraco.Infrastructure/Persistence/DbProviderFactoryCreator.cs
# src/Umbraco.Infrastructure/Runtime/FileSystemMainDomLock.cs
# src/Umbraco.Infrastructure/Scoping/ScopeProvider.cs
# src/Umbraco.Web.BackOffice/Filters/OutgoingEditorModelEventAttribute.cs
# src/Umbraco.Web.BackOffice/Mapping/ContentMapDefinition.cs
# tests/Umbraco.Tests.Integration/TestServerTest/UmbracoTestServerTestBase.cs
# tests/Umbraco.Tests.UnitTests/Umbraco.Core/Components/ComponentTests.cs
# tests/Umbraco.Tests.UnitTests/Umbraco.Core/Scoping/ScopedNotificationPublisherTests.cs
# tests/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Scoping/ScopeUnitTests.cs
# version.json
2022-06-30 09:48:24 +02:00
Zeegaan
fd0c4fda54
bumb version
2022-06-30 08:34:58 +02:00
Bjarke Berg
62eeb42004
Changed const to return "Microsoft.Data.Sqlite" instead of "Microsoft.Data.SQLite" and made our checks case insensitive where possible. Sadly DbProviderFactories is still case sensative so for that we support both strings. ( #12639 )
...
https://github.com/umbraco/Umbraco-CMS/issues/12604
2022-06-29 16:49:47 +02:00
Erik-Jan Westendorp
ce9f92909b
Remove Obsolete AddOEmbedProvider extension method ( #12624 )
...
* Remove unused using
* Remove Obsolete AddOEmbedProvider Method
* Revert and update obsolete message
2022-06-29 16:41:00 +10:00
Mole
3cfeac94a4
V10: Fix error when opening recycle bin ( #12619 )
...
* Make object type parameter nullable in configuration editor
* Add delete from recycle bin test
* Clean up after test
2022-06-27 14:41:59 +02:00
Kevin Jump
fb35c47c70
Also read the plugin files using the content provider. ( #12552 )
2022-06-27 13:34:09 +02:00
Kevin Jump
5988a4c87d
Also read the plugin files using the content provider. ( #12552 )
2022-06-27 13:29:27 +02:00
Erik-Jan Westendorp
ea264c79ef
Translate 'Referenced by the following items'
2022-06-27 17:48:31 +10:00
Bjarke Berg
b232ff98a0
Fix formatting after merge and fix nullability
2022-06-27 08:31:34 +02:00
Bjarne Fyrstenborg
b60c2ca5d3
Update aria-invalid based on valid length
2022-06-27 09:50:36 +10:00
Mehrdad Babaki
091cb9e428
add a gap between icon and label of media menu ( #12571 )
...
* add a gap between icon and label of media menu
* replace inline style with class
* icon alignment
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au >
2022-06-27 09:18:52 +10:00
Matthew Care
c840ceecff
Allow action links to wrap ( #12611 )
...
* Allow action links to wrap
Preventing wrapping means that buttons can overflow their container.
* slightly wider context menu to reduce runty labels
Co-authored-by: Nathan Woulfe <nathan@nathanw.com.au >
2022-06-27 09:03:07 +10:00
Zeegaan
f3591d2e7a
Create acceptance tests for variant permissions
2022-06-24 13:23:56 +02:00
Zeegaan
551eeda625
Add cascading to UserGroup2LanguageDto.cs
2022-06-23 15:43:27 +02:00
Nikolaj
20f9cfe2ac
Fix ReportSiteTask post merge
2022-06-23 15:25:25 +02:00
Mole
46d71838f2
Only send telemetry if we're on runtimelevel run ( #12600 )
2022-06-23 15:23:41 +02:00
Olivier Bossaer
24222fa4d2
Unescape returnPath.
...
(cherry picked from commit 88af609c81 )
2022-06-23 12:51:30 +02:00
Bjarke Berg
3106e4ee1f
Merge pull request #12585 from olibos/v10/olibos/fix/12575-external-login-form-action
...
Unescape returnPath.
2022-06-23 12:49:58 +02:00
Zeegaan
ac5f2270ac
Set SupportsReadOnly in all our PropertyEditors
2022-06-22 15:45:13 +02:00
Zeegaan
fbfe93b2e0
Fix bug related to invariant content
2022-06-22 15:21:12 +02:00
Zeegaan
dfbd23fd03
Merge remote-tracking branch 'origin/v10/feature/variant-permissions' into v10/feature/variant-permissions
2022-06-22 15:08:51 +02:00
Zeegaan
d4f1d3f680
Add SupportReadOnlyMode to editor
2022-06-22 15:08:44 +02:00
Mads Rasmussen
16ae85f2db
only render property editor readonly mode if the property editor supports it
2022-06-22 14:53:42 +02:00
Zeegaan
8fe2f7e036
Merge remote-tracking branch 'origin/v10/feature/variant-permissions' into v10/feature/variant-permissions
2022-06-22 11:32:10 +02:00
Zeegaan
c552008870
Add supportsReadOnlyMode to ContentPropertyDisplay.cs
2022-06-22 11:31:58 +02:00
Mads Rasmussen
1b19704d37
copy allowed actions in block list editor
2022-06-22 11:19:30 +02:00
Mads Rasmussen
37a4662e3c
use readonly border in media picker
2022-06-22 11:19:02 +02:00
Mads Rasmussen
92fcc425e8
make readonly border lighter
2022-06-22 11:18:40 +02:00
Mole
42e2254e30
Only send telemetry if we're on runtimelevel run ( #12600 )
2022-06-22 08:25:18 +02:00
Mole
4a6a318f2c
Add create content with same name test ( #12557 )
2022-06-21 14:53:56 +02:00
Mole
389380d8fa
V10: Fix sending content notification ( #12597 )
...
* Add mappers to map between ContentItemDisplay and ContentItemDisplayWithSchedule
* Ensure SendingContentNotification is always sent
* Add custom setup hook for UmbracoTestServerTestBase
* Add test showing bug/fix
* Test schedule being mapped correctly
* Obsolete the old constructor
* Removed TODO
2022-06-21 13:57:26 +02:00
Nikolaj Geisle
7789f86b72
Add SupportsReadOnlyMode to package manifest
2022-06-21 12:30:41 +02:00
Mole
045a487190
V10: Fix sending content notification ( #12597 )
...
* Add mappers to map between ContentItemDisplay and ContentItemDisplayWithSchedule
* Ensure SendingContentNotification is always sent
* Add custom setup hook for UmbracoTestServerTestBase
* Add test showing bug/fix
* Test schedule being mapped correctly
* Obsolete the old constructor
* Removed TODO
2022-06-21 11:44:28 +02:00
Nikolaj Geisle
7770f65faa
Move tests
2022-06-21 11:06:18 +02:00
Nikolaj Geisle
9d912ea98a
Add integration tests
2022-06-21 11:04:57 +02:00
Nikolaj Geisle
5049e7071b
Fix redirect after logout bug https://github.com/umbraco/Umbraco-CMS/issues/12592
2022-06-21 09:20:47 +02:00
Nikolaj Geisle
1ab472472c
Fix redirect after logout bug https://github.com/umbraco/Umbraco-CMS/issues/12592
2022-06-21 08:50:00 +02:00
Nikolaj Geisle
c283cc498f
Start work on integration tests
2022-06-21 08:45:33 +02:00
Nikolaj Geisle
8ab5aa1a41
Fix formatting
2022-06-21 08:45:24 +02:00
Nikolaj Geisle
4cd7aae611
Fix up after merge
2022-06-21 08:20:25 +02:00
Nikolaj Geisle
5b1e344092
Merge branch 'v10/dev' into v10/feature/variant-permissions
...
# Conflicts:
# tests/Umbraco.Tests.UnitTests/Umbraco.Core/Models/CultureImpactTests.cs
# tests/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/Editors/UserEditorAuthorizationHelperTests.cs
# tests/Umbraco.Tests.UnitTests/Umbraco.Web.BackOffice/Controllers/ContentControllerTests.cs
2022-06-21 08:18:39 +02:00
Nikolaj Geisle
7aeb400fce
V10: fix build warnings in test projects ( #12509 )
...
* Run code cleanup
* Dotnet format benchmarks project
* Fix up Test.Common
* Run dotnet format + manual cleanup
* Run code cleanup for unit tests
* Run dotnet format
* Fix up errors
* Manual cleanup of Unit test project
* Update tests/Umbraco.Tests.Benchmarks/HexStringBenchmarks.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update tests/Umbraco.Tests.Integration/Testing/TestDbMeta.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update tests/Umbraco.Tests.Benchmarks/TypeFinderBenchmarks.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update tests/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update tests/Umbraco.Tests.Integration/Umbraco.Core/Events/EventAggregatorTests.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Fix according to review
* Fix after merge
* Fix errors
Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk >
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
Co-authored-by: Zeegaan <nge@umbraco.dk >
2022-06-21 08:09:38 +02:00