Commit Graph

24558 Commits

Author SHA1 Message Date
Warren
93a69d89e8 Add in optional params for the Serilog LoggerConfig Extension methods, to control number of days to keep and the log level to use 2018-08-15 16:58:23 +01:00
Warren
b0d697af6c Forgot the ConsoleLogger needs to have Verbose added 2018-08-15 16:47:15 +01:00
Warren
e76d35e2ff * Removes the unused func methods from Logger & DebugDiagnosticsLogger
* Adds in new Verbose logging level
2018-08-15 16:39:35 +01:00
Warren
95c5817e1e Removes the logging Func from Interface AND updates the only usages
* UmbracoExamineindexer
* The extension method <T> wrappers
2018-08-15 15:21:27 +01:00
Warren
d7c6daac98 Updates the WebAPI Controller Unhandled exception logger to give us a structured message that will now include the Request URL 2018-08-15 14:55:16 +01:00
Warren
ed262e6d4b Fix up the error method in the logger - to pass the exception to Serilog correctly (was wrong way round) & for it to add context of the <T> too 2018-08-15 14:53:23 +01:00
Warren
23ed9773bc FIRST PASS - Updates Umbraco.Web project to not use the func overload & to use new message template instead 2018-08-14 22:36:47 +01:00
Warren
2a298aaaf5 FIRST PASS - Updates Umbraco.Core project to not use the func overload & to use new message template instead 2018-08-14 15:08:32 +01:00
Warren
1c54c4c87d Update Umbraco ILogger extension methods to have some that support message templates for Serilog
* NOTE: Added obsolete with error bool set - to help me find uses to update easier
2018-08-14 15:05:58 +01:00
Warren
f62f3300c2 Implements updates from recent ILogger changes for these other classes that use it 2018-08-14 13:29:38 +01:00
Warren
404e79dd3f Move DisposableTimer into Umbraco.Core.Logging - as it seems to be only related to logging 2018-08-14 13:22:44 +01:00
Warren
b44fc3e273 Update DisposableTime - so that we now have a timing id to help with correlation (searching for the start & end in logs easier) 2018-08-14 13:20:54 +01:00
Warren
24cd72e9a5 Update Umbraco ILogger to use messagetemplates & params to make Serilog happy 2018-08-14 13:16:22 +01:00
Warren
c53d6f1948 Change Logger ctor to take in a Serilog LoggerConfiguration to make it easy to override in code if needed 2018-08-14 11:00:18 +01:00
Warren
31dcded8d6 Moves parts of the Serilog LoggerConfiguration to extensions methods for easier to read & re-use (if someone is attempting to configure the Serilog pipeline in code) 2018-08-14 09:37:29 +01:00
Warren
529a5e10d9 Use string.PadRight to be more explicit with what we are doing with the Log4Net level property enricher 2018-08-13 11:26:50 +01:00
Warren
ee91e8cec2 Nuget still not happy - as this merge contains the recent removal of the umbraco_client folder 2018-08-10 16:50:38 +01:00
Warren
1f9c5a48a7 Fix up .csproj after merge & update CMS.Core nuspec to include the new Serilog nuget packages we've added 2018-08-10 16:44:36 +01:00
Warren
054308b44e Merge remote-tracking branch 'origin/temp8-directive-cleanup' into temp8-serilog 2018-08-10 15:37:50 +01:00
Mads Rasmussen
ec139ca16c clean up that windows resizer event 2018-08-10 14:17:12 +02:00
Mads Rasmussen
23e81a67fa fix indention 2018-08-10 14:05:15 +02:00
Mads Rasmussen
c7a5786521 remove the deprecaed note 2018-08-10 14:03:39 +02:00
Mads Rasmussen
c0ec2a5314 move the auto-scale directive from obsolete. It is still pretty usefull for the code editors 2018-08-10 14:02:59 +02:00
Warren
212e0a091a Allows Serilog to be configured in a serilog.user.config file that will not effect the main umbraco logger
Adds in support for filtering expressions - so the user logger configuration can filter by including or excluding on an expression - common use case to include only my namespace from SourceContext thjat starts with xyz
2018-08-09 22:08:40 +01:00
Mads Rasmussen
cd6585c9b9 remove detect-fold 2018-08-09 21:12:45 +02:00
Mads Rasmussen
a1c4bd6b7a remove umb-content-name 2018-08-09 20:59:10 +02:00
Mads Rasmussen
ca85b0e45c remove umb-header 2018-08-09 20:53:44 +02:00
Warren
9446c2a568 Trying with a nested logger config to see if it works better 2018-08-09 19:51:22 +01:00
Mads Rasmussen
48c5e61d88 remove item sorter 2018-08-09 20:50:52 +02:00
Mads Rasmussen
933bb8ad44 remove drag and drop less import 2018-08-09 20:50:30 +02:00
Mads Rasmussen
ab90690e17 remove umb-login 2018-08-09 20:41:26 +02:00
Mads Rasmussen
67e0b68b7b remove umb-optionsmenu 2018-08-09 20:39:50 +02:00
Mads Rasmussen
c50f7a1284 remove umb-sort 2018-08-09 20:33:48 +02:00
Mads Rasmussen
5ab978ecf5 remove umb-photo-folder 2018-08-09 20:29:17 +02:00
Mads Rasmussen
16ceca1598 remove umb-tab-view 2018-08-09 20:23:20 +02:00
Mads Rasmussen
404055917f remove umb-upload-dropzone 2018-08-09 20:22:11 +02:00
Shannon
6a7b6f7267 Merge branch 'temp8' of https://github.com/umbraco/Umbraco-CMS into temp8 2018-08-09 19:38:36 +10:00
Shannon
f738e6d7c7 Fixes js tests 2018-08-09 19:38:20 +10:00
Warren
e818197365 Fix comma dangle ESLint errors 2018-08-09 09:00:34 +01:00
Shannon
1ffcc853e1 updates package-lock 2018-08-09 15:23:46 +10:00
Shannon
284e440b7e Merge remote-tracking branch 'origin/dev-v7' into temp8
# Conflicts:
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI.Client/src/canvasdesigner/config/canvasdesigner.config.js
#	src/Umbraco.Web.UI.Client/src/canvasdesigner/editors/border.js
#	src/Umbraco.Web.UI.Client/src/canvasdesigner/editors/googlefontpicker.js
#	src/Umbraco.Web.UI.Client/src/canvasdesigner/editors/margin.js
#	src/Umbraco.Web.UI.Client/src/canvasdesigner/editors/padding.js
#	src/Umbraco.Web.UI.Client/src/canvasdesigner/editors/radius.js
#	src/Umbraco.Web.UI.Client/src/canvasdesigner/lib/spectrum.directive.js
#	src/Umbraco.Web.UI.Client/src/common/directives/components/umblaunchminieditor.directive.js
#	src/Umbraco.Web.UI.Client/src/views/common/dialogs/legacydelete.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/dialogs/linkpicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/dialogs/login.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/dialogs/template/querybuilder.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/dialogs/treepicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/common/overlays/mediaPicker/mediapicker.controller.js
#	src/Umbraco.Web.UI.Client/src/views/datatypes/datatype.edit.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/listview/listview.controller.js
#	src/Umbraco.Web.UI.Client/src/views/propertyeditors/tags/tags.controller.js
2018-08-09 15:22:20 +10:00
Shannon Deminick
50597b5715 Merge pull request #2843 from umbraco/temp7-eslint
Temp7 eslint
2018-08-09 15:19:12 +10:00
Shannon
9d7519d591 manually merges noscript update 2018-08-09 15:10:27 +10:00
Mads Rasmussen
f35110309a fix comma-dangle error 2018-08-08 19:52:31 +02:00
Mads Rasmussen
c73860d144 start eslint from scratch so we slowly can add more rules for easier merging to v8 2018-08-08 19:52:00 +02:00
Warren
1842c78c5d Fix for navigation service for hideDialog(true) which is used to hide the current dialog & show the right click context/more options menu which was failing 2018-08-08 15:26:25 +01:00
Warren Buckley
da39eb3ceb Merge pull request #2808 from kows/hackathon-import-doc-type-to-angular
Rewrite importDocumenttype.aspx to Angular [v8hackathon]
2018-08-08 14:36:09 +01:00
Warren
baef12eb2a * Rename import to importdocumentype to match up with the action alias
* Minor UI changes to match what we had previously & some simple validation if an incorrect file extension is chosen
2018-08-08 14:35:09 +01:00
Warren
5389a018b3 Sets back the action alias to importDocumentType - It may break more than we expected 2018-08-08 14:32:58 +01:00
Warren
00487c87fc Merge branch 'temp8' into kows-hackathon-import-doc-type-to-angular 2018-08-08 13:23:41 +01:00