Commit Graph

9361 Commits

Author SHA1 Message Date
Mole
1b98f8985e Use current request for emails (#11775)
* Use current request for emails

* Fix tests
2022-01-27 12:59:45 +01:00
Niels Lyngsø
23ce69db2f Additional optional sanitization of scripting in TinyMCE (#10653)
(cherry picked from commit f68dba7bcb)
2021-11-03 08:55:59 +01:00
Sebastiaan Janssen
97ecb07be7 Fixes #11206 (#11225) 2021-09-30 10:07:05 +02:00
Shannon
5c0e42e1cb Allows replacing MainDom with alternate DB
There are some cases where there is a complex hosting strategy and folks want a readonly database and are hosting on Azure. In that case, it is not entirely possible to have a readonly Umbraco database because SqlMainDom is required and part of that requirement is to have read/write access to the umbraco key value table.
This PR allows for the default MainDom to be replaced and to allow for an SqlMainDomLock to use an alternate connection string so that a separate read/write database can be used.

(cherry picked from commit 9f48a9f940)
2021-09-30 09:20:08 +02: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
Shannon Deminick
5fadb238ee Don't eagerly acquire distributed (SQL) locks (#10171) 2021-09-13 13:09:47 +02:00
Ronald Barendse
0aa545df75 Update parameter order of new AddPropertyGroup overload 2021-09-08 16:24:10 +02:00
Simone Chiaretta
27f4e38263 Cannot migrate from Umbraco 7 to Umbraco 8 with v8.14+ because userId 0 is skipped over (#10622) 2021-09-02 14:11:13 +02:00
Chad
b201c85c2c Dispose RNGCryptoServiceProvider (#11001) 2021-09-01 16:08:20 +02:00
jesperweber
f736d21c2c Automatically create emtpy SQL CE database with unattended install (#10995) 2021-09-01 15:42:33 +02:00
Chad
51fcde5fcd use existing array to split (#10999) 2021-09-01 13:06:33 +10:00
Sebastiaan Janssen
3fcf8676b4 Merge branch 'v8/dev' into v8/contrib 2021-08-31 17:29:24 +02:00
Ronald Barendse
c29383dae0 Merge branch 'v8/contrib' into v8/feature/reintroduce-tabs 2021-08-31 16:41:55 +02:00
Ronald Barendse
0895aeaf30 Add test for populating alias in migration 2021-08-31 15:50:49 +02:00
Chad
125ebe40fb Replace use of dynamic type with POCOs (#10917) 2021-08-30 19:10:50 +02:00
Chad Currie
20eda449e7 Avoid generating the maindom hash twice to get the Id. 2021-08-30 14:24:30 +02:00
Chad
b1d1a2fcf2 Avoid creating a new string for the log level every log message (#10934) 2021-08-30 14:22:07 +02:00
Chad
50dfb1fd92 Avoid allocating an array every call to IsClientSideRequest() (#10936) 2021-08-30 14:17:05 +02:00
Sebastiaan Janssen
695d4688d3 Merge branch 'v8/dev' into v8/contrib 2021-08-30 11:18:10 +02:00
Nikolaj
ac8a83177f Make AutoInterningStringKeyCaseInsensitiveDictionaryConverter case insensitive
Instead of calling the parents CreateDictionary we just newed up a regular dictionary leading to AutoInterningStringKeyCaseInsensitiveDictionaryConverter not actually being case insensitive
2021-08-26 14:21:40 +02:00
Paul Johnson
94b0b252ec Revert "Optimization by returning the same instance"
This reverts commit 990fc118cb.

When using the _reusableEditor field to create a BlockEditorPropertyEditor 
it doesn't matter that content type cache has been invalidated (memory cache)
as the content types are also cached in a private field in the BlockEditorValues class.

Closes #10910
2021-08-24 16:36:13 +02:00
Chad Currie
8b685a0a2c Update Serilog.Enrichers.Process to 2.0.2 as it fixes a leak
(cherry picked from commit dcc533fd8d)
2021-08-23 15:18:03 +02:00
Chad
d085b11752 DIspose Process (#10918)
(cherry picked from commit a2dab5b6ca)
2021-08-23 15:17:57 +02:00
Chad Currie
dcc533fd8d Update Serilog.Enrichers.Process to 2.0.2 as it fixes a leak 2021-08-23 14:47:50 +02:00
Chad
a2dab5b6ca DIspose Process (#10918) 2021-08-23 14:44:48 +02:00
Ronald Barendse
6883cf40a8 Initial validation of compositions containing invalid property groups (same alias, different type) 2021-08-23 14:34:24 +02:00
Ronald Barendse
eebd88f271 Ensure details of local groups are used by default 2021-08-23 13:18:39 +02:00
Ronald Barendse
d1457702b2 Ensure Id element is still exported for Tabs (older CMS versions break without it present) 2021-08-21 11:43:11 +02:00
Ronald Barendse
5f372a3329 Fix importing document types with properties within nested groups 2021-08-20 12:15:29 +02:00
Ronald Barendse
60ced5db8c Retarget migration to 8.17 2021-08-19 23:29:40 +02:00
Ronald Barendse
e5a1e0f4e9 Merge branch 'v8/contrib' into v8/feature/reintroduce-tabs 2021-08-19 13:44:17 +02:00
Bjarne Fyrstenborg
dc359cc819 User super user id 2021-08-19 08:49:32 +10:00
Ronald Barendse
471a560465 Remove automatic child alias updating on server-side (due to issues with adding already changed aliases) 2021-08-17 14:25:05 +02:00
Dan Booth
56f0f6b3fe Adding [DebuggerDisplay] attribute to core published content classes to make debugging easier 2021-08-06 20:21:30 +01:00
Philippe Guilmette
19a6184502 Delete entries from umbracoUserLogin before deleting the user (fix for 10269) 2021-08-06 16:14:32 +02:00
Callum Whyte
47df53db95 Adding extension for MapDefinitions collection builder 2021-08-06 15:20:49 +02:00
Sebastiaan Janssen
210d155afd Merge branch 'v8/dev' into v8/contrib 2021-08-06 14:10:23 +02:00
Sebastiaan Janssen
e6cff8c7f5 Merge branch 'v8/8.15' into v8/dev 2021-08-06 14:08:20 +02:00
nzdev
6f8749bc52 Automatically intern contentType Alias and propertyType Alias when querying the database to save on memory and speed up comparisons. 2021-08-06 13:00:28 +02:00
nzdev
54b4d6f8d1 Compress true/false from int to bool 2021-08-06 12:59:20 +02:00
inetzo
0ebf8742c3 UserService.SavedUserGroup event returns wrong list of AddedUsers (#10681) 2021-08-06 12:53:35 +02:00
Bjarne Fyrstenborg
9f3eddf95f Refactor NPoco queries to use constants and dtos (#10654) 2021-08-06 11:32:16 +02:00
jattwood
ea42063424 Fix for #10678. 2021-08-05 16:14:23 +02:00
Rowan Bottema
6a12f4af90 Update Serilog dependencies
This should at least fix #10793 because of a memory leak fix in Serilog.Sinks.Map 1.0.2. Also updated the rest for good measure.

Note that Serilog.Sinks.File is not upgraded to the latest version because it is a new major (4.1.0 -> 5.0.0). Also note that Serilog.Filters.Expressions is deprecated and should be replaced by Serilog.Expressions. I considered both out of scope for this fix.
2021-08-05 11:56:37 +02:00
Ronald Barendse
581437cf8b Keep alias casing intact and ignore casing when comparing 2021-08-05 10:38:51 +02:00
Sebastiaan Janssen
14fc72ff2b Reverting ConcurrentHashSet for now so that Umbraco can install again, see #10751 2021-08-05 09:50:58 +02:00
Sebastiaan Janssen
96d5935933 Revert "Accessibility improvements for Extensions in Razor Markup (#9576)"
This reverts commit a1e0af6fff.
2021-08-04 14:19:34 +02:00
Ronald Barendse
7d46129b76 Fix mutable property group keys/aliases 2021-08-04 13:11:31 +02:00
Ronald Barendse
daf2d7c946 Merge branch 'v8/contrib' into v8/feature/reintroduce-tabs and add fixes from #10150 and #10759 2021-08-02 11:35:39 +02:00