Stephan
c0eaeb3168
Fix tests with issues
2017-07-21 13:06:23 +02:00
Shannon
bc8829ce14
U4-8432 Update log4net async appender to use the official log4net one
2017-04-07 12:08:16 +10:00
Stephan
3c75693e20
Add a few (ignored) tests used for debugging
2017-03-02 14:01:58 +01:00
Stephan
3fd918d381
Refacetor BackgroundTaskRunner, fix async issues
2016-10-04 14:12:06 +02:00
Stephan
35c7fb60fd
Refactor BackgroundTaskRunner, support cancellation of current task
2016-10-03 15:15:51 +02:00
Stephan
161f2eda86
DisposableObject - cleanup & use
2015-07-14 15:57:01 +02:00
Stephan
d83fdb48c9
Merge branch 7.2.7 into dev-v7
...
Conflicts:
build/UmbracoVersion.txt
src/SolutionInfo.cs
src/Umbraco.Core/ApplicationContext.cs
src/Umbraco.Core/AsyncLock.cs
src/Umbraco.Core/Cache/DictionaryCacheProviderBase.cs
src/Umbraco.Core/Cache/ObjectCacheRuntimeCacheProvider.cs
src/Umbraco.Core/CoreBootManager.cs
src/Umbraco.Core/Logging/LogHelper.cs
src/Umbraco.Core/PluginManager.cs
src/Umbraco.Core/Sync/ServerEnvironmentHelper.cs
src/Umbraco.Core/TypeFinder.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/Scheduling/BackgroundTaskRunnerTests.cs
src/Umbraco.Tests/ServerEnvironmentHelperTests.cs
src/Umbraco.Web.UI.Client/bower.json
src/Umbraco.Web.UI.Client/gruntFile.js
src/Umbraco.Web.UI.Client/src/less/grid.less
src/Umbraco.Web.UI.Client/src/less/panel.less
src/Umbraco.Web.UI.Client/src/less/property-editors.less
src/Umbraco.Web.UI.Client/src/loader.js
src/Umbraco.Web.UI.Client/src/views/propertyeditors/datepicker/datepicker.controller.js
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web.UI/config/ClientDependency.config
src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlCacheFilePersister.cs
src/Umbraco.Web/Scheduling/BackgroundTaskRunner.cs
src/Umbraco.Web/Scheduling/KeepAlive.cs
src/Umbraco.Web/Scheduling/LatchedBackgroundTaskBase.cs
src/Umbraco.Web/Scheduling/LogScrubber.cs
src/Umbraco.Web/Scheduling/RecurringTaskBase.cs
src/Umbraco.Web/Scheduling/ScheduledPublishing.cs
src/Umbraco.Web/Scheduling/ScheduledTasks.cs
src/Umbraco.Web/Scheduling/Scheduler.cs
src/Umbraco.Web/UI/JavaScript/JsInitialize.js
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/umbraco.presentation/content.cs
src/umbraco.cms/Actions/Action.cs
2015-07-13 22:45:37 +02:00
Stephan
34a9eef8b8
BackgroundTaskRunner - add Hosted option, refactor some tasks
...
Conflicts:
src/Umbraco.Web/Scheduling/BackgroundTaskRunner.cs
2015-07-13 14:13:47 +02:00
Shannon
1067b1e245
BackgroundTaskRunner - refactor recurring tasks, improve shutdown
...
Conflicts:
src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlCacheFilePersister.cs
src/Umbraco.Web/Scheduling/LogScrubber.cs
src/Umbraco.Web/Scheduling/Scheduler.cs
src/Umbraco.Web/Umbraco.Web.csproj
2015-07-08 17:41:20 +02:00
Shannon
ccda1bdd73
Refactor scheduled tasks & publishing cancellation
2015-07-08 17:23:15 +02:00
Stephan
6833c195c1
BackgroundTaskRunner - refactor recurring tasks, improve shutdown
2015-07-08 13:18:46 +02:00
Stephan
dffe09af58
Merge remote-tracking branch 'origin/dev-v7' into 7.3.0
...
Conflicts:
src/Umbraco.Web/UmbracoModule.cs
2015-06-04 18:32:54 +02:00
Stephan
07e9a3a4ea
Refactor scheduled tasks & publishing cancellation
2015-06-04 14:00:02 +02:00
Stephan
61718f9450
fix merge
2015-05-21 21:03:32 +02:00
Stephan
115ba8dcb8
Merge remote-tracking branch 'origin/dev-v7' into 7.3.0
...
Conflicts:
src/Umbraco.Tests/Scheduling/BackgroundTaskRunnerTests.cs
src/Umbraco.Web/Scheduling/BackgroundTaskRunner.cs
src/Umbraco.Web/Scheduling/BackgroundTaskRunnerAwaiter.cs
src/Umbraco.Web/Umbraco.Web.csproj
2015-05-21 20:49:18 +02:00
Stephan
a76ba9a0a7
BackgroundTaskRunner - more fixes
2015-05-21 19:37:22 +02:00
Shannon
b788a6c642
Merge remote-tracking branch 'origin/dev-v7' into 7.3.0
...
Conflicts:
src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlCacheFilePersister.cs
src/Umbraco.Web/Scheduling/BackgroundTaskRunner.cs
src/Umbraco.Web/Scheduling/BackgroundTaskRunnerAwaiter.cs
src/Umbraco.Web/Scheduling/Scheduler.cs
src/umbraco.cms/businesslogic/web/StyleSheet.cs
2015-05-21 17:12:30 +10:00
Shannon
4c4117a052
Fixes BackgroundTaskRunner - moves the OnStopped call to where it should be. Un-ignores tests - these need to execute and cannot be ignored. They are not long running but if there are issues then they will timeout - DO NOT IGNORE. if the build server has issues with these then it's our logic that is at fault.
2015-05-21 13:05:58 +10:00
Shannon
2f9753cc12
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
build/UmbracoVersion.txt
src/SolutionInfo.cs
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web.UI/packages.config
src/Umbraco.Web/Editors/BackOfficeController.cs
src/Umbraco.Web/PublishedCache/XmlPublishedCache/XmlCacheFilePersister.cs
src/Umbraco.Web/umbraco.presentation/content.cs
src/umbraco.macroRenderings/app.config
2015-05-05 12:27:01 +10:00
Sebastiaan Janssen
8037f929aa
Ignore more slow tests
2015-04-23 15:35:42 +02:00
Sebastiaan Janssen
fec3e57ed6
Ignore tests that don't run to completion on slower build server
2015-04-23 15:19:18 +02:00
Shannon
19715ef45f
Fixes build, updated BackgroundTaskRunner to get an ILogger injected
2015-04-09 17:12:52 +10:00
Shannon
cc804bd3bd
removes duplicate test
2015-04-08 17:57:00 +10:00
Shannon
ce81f9b1b1
we'll try these tests again
2015-04-08 17:08:06 +10:00
Shannon
3f70761d49
this should fix one of the tests
2015-04-08 17:01:38 +10:00
Shannon
dee45146a4
applies a max timout for BackgroundTaskRunnerTests
2015-04-08 16:55:34 +10:00
Shannon
147cc92ac5
Updates BackgroundTaskRunner & tests: removes the need for most Thread.Sleep which is error prone, this is done by updating the GetAwaiter() method to be a custom awaiter so we can await the entire background task running operations. We then add a property called CurrentThraedingTask which then allows awaiting the current Task instance. Adds error handling to all event handlers for the task runner. Changes events to be TypedEventHandlers
2015-04-08 16:28:42 +10:00
Stephan
58ce04e26b
cleanup
2015-03-27 14:49:31 +11:00
Stephan
be37026587
refactor latched background tasks, now use a task for xml
...
Conflicts:
src/Umbraco.Web.UI/config/ClientDependency.config
2015-03-27 14:49:25 +11:00
Stephan
b7436dc55f
refactor BackgroundTaskRunner
2015-03-27 14:47:42 +11:00
Shannon
bc068b201d
Updates BackgroundTaskRunner to ensure canceled or skipped tasks are disposed, updated tests to reflect
2015-03-27 14:47:42 +11:00
Shannon
912b01c9aa
Updates BackgroundTaskRunner to support more complex options including the ability to only execute the last/final task in the queue. Added tests to support, updated the 'content' object to use this option so that only the last task in the queue will execute so that file persisting doesn't get queued but the correctly queued data will be written.
2015-03-27 14:47:42 +11:00
Shannon
a82035061c
Updates BackgroundTaskRunner to support async operations. Updates the content xml cache file persisting to use a IBackgroundTask instead of the strange queuing for persistence - which was super strange because in many cases another request thread will actually be the thread that is persisting the xml file than the request thread that requested it created. This implementation is far better, the xml file will be persisted on a non request thread and will handle multiple documents being published at the same time guaranteeing that the latest published version is the one persisted. The file persistence is also web aware (due to how BackgroundTaskRunner works) so during app shutdown the file will still be written if it's currently being processed.
2015-03-27 14:47:41 +11:00
Shannon
0a7bbfb1ca
Merge remote-tracking branch 'origin/6.2.5' into 7.2.1
...
Conflicts:
src/Umbraco.Core/Configuration/UmbracoSettings.cs
src/Umbraco.Core/Sync/ServerEnvironmentHelper.cs
src/Umbraco.Tests/Scheduling/BackgroundTaskRunnerTests.cs
src/Umbraco.Tests/Umbraco.Tests.csproj
src/Umbraco.Web.UI/install/steps/defaultUser.ascx
src/Umbraco.Web.UI/web.Template.Debug.config
src/Umbraco.Web/Scheduling/BackgroundTaskRunner.cs
src/Umbraco.Web/Scheduling/IBackgroundTask.cs
src/Umbraco.Web/Scheduling/KeepAlive.cs
src/Umbraco.Web/Scheduling/LogScrubber.cs
src/Umbraco.Web/Scheduling/ScheduledPublishing.cs
src/Umbraco.Web/Scheduling/ScheduledTasks.cs
src/Umbraco.Web/Scheduling/Scheduler.cs
src/Umbraco.Web/Scheduling/TaskEventArgs.cs
src/Umbraco.Web/Umbraco.Web.csproj
2014-12-08 17:16:16 +11:00
Shannon
4d8732d925
The only way i could get this project to build and run was to change the transform to explicitly target 4.0.0.1 for mvc and webapi, otherwise nothing works and horribly cryptic build errors. Added the tests for the BackgroundTaskRunner
2014-12-08 14:59:32 +11:00
Shannon
b1d4a99510
U4-5728 - Do not run KeepAlive, ScheduledPublishing, without an url
...
Updates the scheduler and the scheduled tasks to use a background task runner (ported from new courier codebase with tests) so that they are web aware and wind down properly.
2014-11-12 16:00:17 +11:00