Commit Graph

86 Commits

Author SHA1 Message Date
nzdev
f8bb53ac03 changed isdecompressed to a property. Changed serializerbase to internal 2020-12-16 19:20:24 +13:00
nzdev
f09fcfbdd4 Fix serialization of decompressed lazy strings 2020-11-27 14:45:44 +13:00
nzdev
e8195bfff0 fix deserialization order 2020-11-24 10:10:38 +13:00
nzdev
95fe8bea23 Serialize more primitives 2020-11-24 10:09:27 +13:00
Shannon
67a9b5bb97 Refactors the serialization of the content data that is stored in the nucache table. This had to change because we need to resolve content type data in order to check if the property should be compressed and we cannot do that data lookup while the data is being processed since we get an open data reader exception. This is fixed now by using a serializer factory instead so the Create method can do any initialization needed prior to running any serialization operation. Renames a few things so we dont have ContentNested (whatever that meant ) 2020-09-25 00:32:11 +10:00
Shannon
6bd6d97bda WIP (fixes migrations) 2020-09-24 18:37:24 +10:00
Shannon
9a06b6291a Simplifies compression implementation, adds compression options to target all complex editors, ensures the options are per document type/property type 2020-08-26 15:57:13 +10:00
Shannon
ba8da3850e This gets things working with all compression levels - going to cleanup/simplify 2020-08-26 11:43:43 +10:00
Shannon
d84d305ae9 Changes our Expression visitor to not output NOT for boolean values 2020-08-25 10:38:49 +10:00
Shannon
6f2dccc2e2 Uses a more optimized COUNT query when rebuilding the in memory cache 2020-08-25 10:14:36 +10:00
Shannon
666d67e562 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/nucache-perf
# Conflicts:
#	src/Umbraco.Core/Migrations/Upgrade/UmbracoPlan.cs
#	src/Umbraco.Web/PublishedCache/NuCache/DataSource/DatabaseDataSource.cs
2020-08-14 00:49:03 +10:00
Shannon
c619e5a96a Fixes the property map, adds notes, updates tests data to include larger paragraphs 2020-08-14 00:45:58 +10:00
Shannon
7d689a6e11 adds notes, ensures that we optimize property data when using msgpack binary serialization too! 2020-08-13 23:32:05 +10:00
Shannon
9ac2c27110 Revert "removes the SQLDatabase enum value" and renames some stuff 2020-08-13 23:09:40 +10:00
Shannon
044585a4f3 removes the SQLDatabase enum value 2020-08-13 22:22:06 +10:00
Shannon
07de0876e7 Cleans up some code, adds code comments 2020-08-13 22:15:09 +10:00
Shannon
0d159751b9 Cleans up code - removes tuples everywhere 2020-08-13 19:15:13 +10:00
nzdev
451eacf7cb Fix NuCache spelling 2020-08-04 18:03:08 +12:00
nzdev
d4276dff58 Fix composition. Store compression options in map 2020-08-04 18:01:06 +12:00
nzdev
d1449a0f5c Fix key mapping 2020-07-09 11:50:15 +12:00
nzdev
c1c189d47f Wip support for compressing/decompressing nucache documents on a per property basis. Option for compressing the properties in sql/nucache.db. Option for immediate/lazy decompression of properties. Mapping support for shorter property alias.
TODO: config file for property map
TODO:  HasValue and IsValue on propertyvalueconverterbase
2020-07-09 00:17:31 +12:00
Shannon
c4e7929e68 Converts umbProperty to a component, gets nested valPropertyMsg validators clearing (as a prototype), need to check TODOs, test inline editing, etc... 2020-07-07 12:50:15 +10:00
nzdev
76a718c5bc Merge branch 'v8/feature/nucache-perf' of https://github.com/umbraco/Umbraco-CMS into v8/feature/nucache-perf 2020-07-03 17:53:00 +12:00
Shannon
39625d94dd Adds migration for binary column on cmsContentNu 2020-07-03 15:41:25 +10:00
nzdev
40184c0c3c support uInt32 2020-07-03 16:56:08 +12:00
Shannon
de67bdc2a2 Fixing build/tests 2020-07-03 14:50:21 +10:00
Shannon
9b827df11a Allows serializer to be configured 2020-07-03 13:30:40 +10:00
Shannon
c63bfb866b Adds MessagePack serialization for nucache 2020-07-03 12:11:05 +10:00
Shannon
dd6cebca82 Merge branch 'v8/nucache-serializer' of https://github.com/nzdev/Umbraco-CMS into nzdev-v8/nucache-serializer 2020-07-03 00:52:40 +10:00
Shannon
e75c9d2273 Interns strings for aliases, etc... for when content is deserialized from the contentNu table so we aren't duplicating strings when cold booting. 2020-07-03 00:26:55 +10:00
Shannon
d2042e28e1 Adds string interning for reading of property alias, culture and segment when reading from the content cache 2020-07-02 21:27:48 +10:00
nzdev
7ad019c18a remove example nested content serializer as it is not production ready. 2020-07-01 17:49:34 +12:00
nzdev
578e1317a0 Introduce IContentNestedDataSerializer to allow injecting a custom serializer for nucache 2020-07-01 17:19:56 +12:00
Chad
a4274ba767 Shorter JSON property names for nucache (#8204) 2020-06-02 11:35:19 +02:00
Shannon
5d8bfcea97 Ensure when we are loading in ALL data that we page over the data as to not cause an SQL timeout 2020-04-17 12:46:36 +10:00
Malthe Petersen
0e9594ca2d fix: url segment null in preview content 2019-12-18 12:23:53 +01:00
Shannon
e18f73e74c removes todo 2019-08-19 22:07:46 +10:00
Shannon
890309bc11 Fixes SetAllFastSorted and sort orders 2019-08-19 17:18:45 +10:00
Shannon
bbd6e1150e Changes loading from DB to use SetAllFastSorted since it's already sorted by level + sort order 2019-08-15 23:59:46 +10:00
Shannon
3d56e45266 Adds notes, cleans up other code 2019-08-15 19:25:28 +10:00
Shannon
7c52b9602c Reduce some allocations and in advertent SQL calls along with inadvertent enumeration of the entire cache, adds some notes 2019-07-03 17:43:30 +10:00
Stephan
983144c3f9 Unit-test published content linked-list children 2019-05-29 17:01:12 +02:00
Stephan
4feb766cc6 Fix IPublishedContent.Children() and NuCache 2019-04-23 08:29:43 +02:00
Stephan
bf1e9b48be Comment (bump PR) 2019-04-02 09:40:14 +02:00
Stephan
2b2db8bf24 Enable configuration of NuCache BTree block size 2019-03-29 19:18:22 +01:00
Stephan
7a0f11bc6f Fix NuCache url segments 2019-03-05 11:15:30 +01:00
Chris Houston
193e24afd2 Fixing all the TODO, FIXME & HACK comments so they all follow the same layout. 2019-01-27 11:16:00 +01:00
Chris Houston
0b6ba5aa52 Temp8 - Fixing spelling / typos etc in Umbraco.Web (#4148) 2019-01-26 16:52:19 +01:00
Stephan
9522ee826f Deal with fixme in Umbraco.Web 2019-01-21 16:01:37 +01:00
Stephan
ed7c8da81f Merge branch 'temp8' of https://github.com/StefanoChiodino/Umbraco-CMS into temp8-pr3583 2019-01-10 16:29:36 +01:00