Commit Graph

10433 Commits

Author SHA1 Message Date
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
1280235dcf Adds custom mapper for SqlCe for Image column, hopefully tests pass now. 2020-07-06 16:25:15 +10:00
Shannon Deminick
0d4f5c9ea7 Merge pull request #8378 from nzdev/v8/feature/nucache-perf
support uInt32
2020-07-03 16:03:03 +10: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
Shannon
3735b6d391 Fixes paging size for querying the nucache table so it doesn't timeout 2020-07-02 16:21:54 +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
Shannon Deminick
ee7d62e583 Fixes #7148 - ensures we only check for SurfaceController routes (#8322)
* See https://github.com/umbraco/Umbraco-CMS/issues/7148 for bug report and reason for fork and PR.

* Fixes #7148 - ensures we only check for SurfaceController routes

When finding the SurfaceController to post back to when using BeginUmbracoForm we weren't specifically checking for only SurfaceControllers routes since we just assumed it would be a SurfaceController route. This is problematic if using a SurfaceController simultaneously as an IRenderController with a custom front-end route since it will fail to find that controller to post back to. This is fixed by further filtering the controllers looked up to only include SurfaceControllers.

Co-authored-by: Colin Wiseman <sayhi@codeitwise.co.uk>
2020-06-24 10:22:10 +02:00
Sebastiaan Janssen
fee6ef0fb0 Merge branch 'v8/contrib' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/package.json
#	src/Umbraco.Web.UI.Client/src/common/directives/components/application/umbtour.directive.js
2020-06-24 09:05:22 +02:00
patrickdemooij9
591575b47d Added content apps for document types (#8187)
* Added content apps for document types

* PR Feedback updates

* Updated the javascript code to use Utilities

* Replace tolowercase comparison with localeCompare
2020-06-19 18:10:16 +01:00
Ronald Barendse
0886ada39c Properly HTML encode text in helper methods (#6545) 2020-06-19 11:41:16 +02:00
Thomas Andresen
a9bd2ae856 Merge pull request #8266 from umbraco/v8/bugfix/macro-rte-render-fix
Allows unpublished content to render a macro HTML in the RTE
2020-06-17 15:59:50 +02:00
Sebastiaan Janssen
567d7176a5 Importing a doctype would never assign a value to UploadedFiles, turns out we don't need UploadedFiles on the model
Additionally added a check to see if temp files were left behind and delete them to prevent errors when the same file has just been uploaded
2020-06-15 11:05:40 +02:00
Warren Buckley
3680f22321 Allows unpublished content to render a macro HTML in the RTE 2020-06-10 14:33:32 +01:00
Warren Buckley
e82f504658 Adds skipStepIfVisible property to JSON Tour Steps to allow skipping if DOM item is present (#8235)
Co-authored-by: Niels Lyngsø <nsl@umbraco.com>
2020-06-09 08:55:06 +02:00
Sebastiaan Janssen
9829d4abef Merge branch 'v8/dev' into v8/contrib 2020-06-02 11:41:09 +02:00
Chad
a4274ba767 Shorter JSON property names for nucache (#8204) 2020-06-02 11:35:19 +02:00
Warren Buckley
49c438b55f Merge pull request #7166 from umbraco/v8/feature/7133-do-not-paste-keys-in-nested-content
NC keys: Do not copy keys for Nested Content (Fix for #7133)
2020-05-29 15:18:46 +00:00
Steve Megson
33850b13d0 If GetControllerTypeInternal falls back to creating an instance, it should also release it (#8196) 2020-05-29 14:39:14 +02:00
Shannon
2565a626cb Fixes NC key replacement and adds tests 2020-05-29 13:01:56 +10:00
Warren Buckley
732d574ec2 Tidy up & better checking for NC JSON with JSONPath & SelectTokens()
Less code duplication.
No need for Publishing event as Saving event is called before publishing
2020-05-28 21:35:39 +01:00
Warren Buckley
c81268995c Remove code duplication 2020-05-28 12:06:04 +01:00
Warren Buckley
c9ab2ca9ef Use InvariantEquals 2020-05-28 11:45:43 +01:00
Claus
ff30a27697 adding missing nullchecks. 2020-05-28 08:41:32 +02:00
Jan Skovgaard
32a0c3b075 "Actions" drop down options do not give context to the user (#6301) 2020-05-26 17:45:39 +02:00
Sebastiaan Janssen
78a7785256 Merge branch 'v8/contrib' into v8/dev
# Conflicts:
#	src/Umbraco.Web.UI.Client/package-lock.json
2020-05-26 16:27:09 +02:00
Warren Buckley
e434b01386 Adds in NC Property Component to deal with creating/adding missing keys 2020-05-26 14:43:57 +01:00
Marc Goodson
b6262bf334 Remove ContentFinderByRedirectUrl if RedirectUrlTracking is disabled (#7761) 2020-05-25 17:51:52 +02:00
Bjarke Berg
5b7f1227f9 Bugfix for issue with hanging saves. + Fix for double post of save templates 2020-05-22 10:46:13 +02:00
Daniël Knippers
392d74f80d Added support for segments to File Uploads (#8070) 2020-05-19 17:04:23 +02:00
Bjarne Fyrstenborg
11f8628279 Lock core relation types (#8022) 2020-05-16 19:51:57 +02:00
Daniël Knippers
0fdf084544 Validation errors reworked to incorporate segment errors (#8065) 2020-05-14 17:03:33 +02:00
Sebastiaan Janssen
7634b37676 Merge branch 'v8/dev' into v8/contrib 2020-05-11 14:22:07 +02:00
Shannon Deminick
aff41762ac Merge pull request #8061 from umbraco/v8/bugfix/5716-section-check-when-no-dashboards
Preventive check that will enable sections load for users with no dashboards
2020-05-07 15:46:16 +10:00
Warren Buckley
0f4681f3f9 Merge pull request #7973 from umbraco/v8/feature/AB6057-segment-feature
Segment feature
2020-05-05 14:53:12 +01:00
Elitsa Marinovska
3763427726 Adding section value check in the query string 2020-05-05 09:41:04 +02:00
Bjarke Berg
a9b48fe85e Merge pull request #8058 from umbraco/v8/bugfix/8038-SqlMainDomLock-loadbalancing
Fixes SqlMainDomLock setting for Azure does not work in Load Balancing #8038
2020-05-04 12:09:56 +02:00
Shannon
d7469e6576 when we rebuild indexes in the back office we are actually calling index.CreateIndex() 2 times before populating 2020-05-04 09:24:07 +02:00