Commit Graph

8737 Commits

Author SHA1 Message Date
Shannon
a855a90a8a cleaner fix 2020-03-26 22:09:49 +11:00
Shannon
6fef85aafd fixes Memory Leak in GetCacheItem cache dependency #7773 2020-03-26 22:03:26 +11:00
Shannon
d40b7087f4 Fixes issue with deep cloning Property
main problem was that it was duplicating the _pvalue value when it shouldn't have. The real fix is that the Values property solves all these problems with it's setter but that wasn't being used by the DeepClone engine because that explicitly looks for certain collection types and IReadOnlyCollection wasn't one of them. With that included and PropertyValue marked as IDeepCloneable, it all just works. I've added tests.
2020-03-26 19:56:21 +11:00
Shannon Deminick
0a45f4afef Fixes issue with deep cloning property values (#7795) 2020-03-13 10:52:38 +01:00
Shannon
d3ebdb6198 fixes test 2020-03-09 22:25:58 +11:00
Shannon Deminick
a0aad045fb Merge pull request #7652 from benjaminhowarth1/patch-1
Update PropertyType.cs
2020-03-05 17:51:03 +11:00
Kenn Jacobsen
fbe963a542 Make sure entity media path is mapped for DTO types of GenericContentEntityDto 2020-03-02 08:45:38 +01:00
Nathan Woulfe
af7919ce65 make events public 2020-02-29 11:32:24 +01:00
Sebastiaan Janssen
ba4481319e Merge branch 'v8/dev' into v8/contrib 2020-02-28 09:01:52 +01:00
Anders Bjerner
7d0733f40d Making DataEditor.GetValueEditor method virtual 2020-02-26 07:42:59 +01:00
Shannon
3553bb2aa3 Fixes CollectionBuilder's to ensure that each item in the collection is registered in DI with the same lifetime as the collection itself 2020-02-26 12:12:15 +11:00
Sebastiaan Janssen
b42883280b Merge branch 'v8/dev' into v8/contrib 2020-02-25 22:36:33 +01:00
Shannon Deminick
92da83194a Missing null check which will cause a YSOD if empty value (#7661) 2020-02-24 18:27:26 +00:00
Warren Buckley
4ed69d21a0 Merge branch 'v8/8.6' up into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
#	src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs
2020-02-24 15:11:58 +00:00
Jeavon
5efeb53805 Add missing methods "GetChildren(Guid id)" & "HasChildren(Guid id)" to "IContentTypeBaseService" (#7700) 2020-02-24 11:11:33 +00:00
Warren Buckley
b41c3ad3bc Merge pull request #7660 from umbraco/v8/bugfix/AB4900-start-nodes-list-views
Fixing when a start node is a content item in a nested list view
2020-02-19 09:57:26 +00:00
Bjarke Berg
9ed94f753d Fixed issue with wrong installId in cookie. + Refactored to not use Newtonsoft.Json + Minor renames 2020-02-19 08:32:47 +01:00
Shannon
653616912a Fixes issue when a user's start node is below a list view and when there's list views below that 2020-02-19 13:43:48 +11:00
elitsa
a058703004 Making call async and adding setters for InstallLog 2020-02-18 16:28:07 +01:00
elitsa
79b5b73923 Creating Repositories - abstraction + implementation which use HttpClient and call the endpoints. Registering the Repositories in repositories' composition 2020-02-18 14:53:01 +01:00
elitsa
1b3769f5d7 Creating models for to serialize and deserialize when calling the rest API 2020-02-18 14:50:30 +01:00
elitsa
b2ddc4a2b0 Creating the service interfaces and their implementations. Registering them in CoreInitialComposer. These services delegate the work to repositories 2020-02-18 14:48:36 +01:00
Benjamin Howarth
721d41da62 Update PropertyType.cs
Please, *please* stop making things internal when it breaks legacy behaviour (such as obtaining properties by tab group, which is precisely what this allows for).
2020-02-12 17:01:59 +00:00
abi
a7ad464b40 Remove Empty Statements 2020-02-12 15:11:18 +01:00
Warren Buckley
1574263c69 Merge pull request #7627 from umbraco/v8/bugfix/AB4828-resetpassword-mail
AB4828 - Reset Password Email

(cherry picked from commit f00680bfe6)
2020-02-12 12:06:52 +00:00
Warren Buckley
ffd43131c4 Merge pull request #7627 from umbraco/v8/bugfix/AB4828-resetpassword-mail
AB4828 - Reset Password Email

(cherry picked from commit f00680bfe6)
2020-02-12 11:54:21 +00:00
Warren Buckley
f00680bfe6 Merge pull request #7627 from umbraco/v8/bugfix/AB4828-resetpassword-mail
AB4828 - Reset Password Email
2020-02-12 10:41:31 +00:00
Benjamin Carleski
c63af8e161 Merge pull request #7616 from umbraco/temp-7538-image-url-generator
Introduce Image URL Generator abstraction
2020-02-11 10:30:48 -08:00
Bjarke Berg
ad8d908ddf Merge pull request #7550 from stevetemple/v8/feature/obsolete-publishedcontent-url
Obsolete Url on IPublishedContent
2020-02-11 13:09:46 +01:00
Bjarke Berg
3c1076e023 Merge pull request #7544 from stevetemple/v8/feature/obsolete-creatorname-writername
Obsolete CreatorName and WriterName on IPublishedContent
2020-02-11 13:08:15 +01:00
Warren Buckley
a7ff82f29a Implements Shans notes on changins security stamp for chaning email/username 2020-02-11 11:52:44 +00:00
Arkadiusz Biel
8e2ed68b88 Add more descriptive exception (#7591)
* Add more descriptive exepection

* Finish with .

* Update src/Umbraco.Core/Collections/TopoGraph.cs

Co-Authored-By: Sebastiaan Janssen <sebastiaan@umbraco.com>

* Update src/Umbraco.Core/Collections/TopoGraph.cs

Co-Authored-By: Sebastiaan Janssen <sebastiaan@umbraco.com>

Co-authored-by: Sebastiaan Janssen <sebastiaan@umbraco.com>
2020-02-11 09:20:30 +00:00
Benjamin Carleski
4309489174 Make changes for PR suggestions 2020-02-09 11:12:29 -08:00
Benjamin Carleski
a7ff20de6e Introduce Image URL Generator abstraction 2020-02-07 15:01:03 -08:00
Shannon
636d0c9ccd Ensures that we track relations for values on all variant property values 2020-02-07 12:18:27 +11:00
Enkel Media
02a9645ed1 #6812 AuditService some methods not returning any values (#6822)
* #6812 Worked on AuditService some methods not returning any values

* Changed userId to include also admin-user

* Use Constant for "SuperUserId" over magic int

Co-authored-by: markusobviuse <36044239+markusobviuse@users.noreply.github.com>
2020-02-06 23:03:53 +00:00
Shannon Deminick
e4cba73dec Merge pull request #7568 from stevemegson/v8/pr/migrations/published-flag
Migrations - ensure that documents with a published version are published
2020-02-05 16:18:02 +11:00
Shannon Deminick
2072ca6687 Merge pull request #7567 from stevemegson/v8/pr/migrations/edited-flag
Migrations - setting edited flag for versions
2020-02-05 16:12:28 +11:00
Shannon Deminick
bfd9091c7d Merge pull request #7566 from stevemegson/v8/pr/migrations/convert-media-urls
Migrations - In ConvertTinyMceAndGridMediaUrlsToLocalLink, avoid unnecessary updates
2020-02-05 16:07:03 +11:00
Shannon Deminick
30d026b54f Merge pull request #7565 from stevemegson/v8/pr/migrations/addtypedlabels
Migrations - In AddTypedLabels, clear VarcharValue as well as TextValue
2020-02-05 16:04:39 +11:00
Shannon
d6b1e0d4c7 formats sql onto new lines 2020-02-05 16:02:40 +11:00
Shannon
12e653f8a4 Merge branch 'v8/pr/migrations/update-from' of https://github.com/stevemegson/Umbraco-CMS into stevemegson-v8/pr/migrations/update-from
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/V_8_0_0/VariantsMigration.cs
2020-02-05 15:47:08 +11:00
Shannon
3479bad605 Fixes migration syntax 2020-02-05 15:41:29 +11:00
Shannon Deminick
61da081c57 Merge pull request #7569 from stevemegson/v8/pr/migrations/extra-versions
Migrations - Add extra "published=newest" versions with INSERT...SELECT
2020-02-05 14:52:03 +11:00
Shannon
6bd5ff9b33 puts new migration in the right place with the right name 2020-02-04 16:45:47 +11:00
Shannon
4698ce70d3 Fixes issue with upgrading from v7 -> 8.6
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/V_8_6_0/AddDatabaseIndexesMissingOnForeignKeys.cs
2020-02-04 16:43:36 +11:00
Shannon
4cb307978a Fixes issue with upgrading from v7 -> 8.6, will cherry pick this 2020-02-04 16:41:33 +11:00
Shannon
a426a15b5a fixes migration and uses migration syntax 2020-02-04 15:49:05 +11:00
Shannon Deminick
3ea1f4a126 Merge pull request #7562 from stevemegson/v8/migrations/propertydata-index
Migrations - Create temporary index on umbracoPropertyData
2020-02-04 15:35:01 +11:00
Shannon Deminick
3784398d11 Merge pull request #7561 from stevemegson/v8/pr/migrations/replace-column
Migrations - Use sp_rename in ReplaceColumn when available
2020-02-04 15:23:23 +11:00