Shannon
ff829d49a3
Updates all cache refreshers to reference the IsolatedRuntimeCache where required, refactors how IsolatedRuntimeCache is exposed on the CacheHelper, ensures that IsolatedRuntimeCache is used in all repositories instead of the global RuntimeCache, changes all obsolete usages of CacheHelper to the non obsolete equivalent, obsoletes many of the cache keys, obsoletes a couple cache refreshers that aren't used anymore in 7.3, simplifies CacheHelper with regards to it's 'disabled' cache state.
2016-01-06 18:08:14 +01:00
Rasmus John Pedersen
a56936b6f9
Fixes bug with macro multiline parameters
2015-12-14 13:44:57 +01:00
Shannon
d5460068d4
Merge remote-tracking branch 'origin/master-v7' into dev-v7
...
Conflicts:
build/UmbracoVersion.txt
src/SolutionInfo.cs
src/Umbraco.Core/Configuration/UmbracoVersion.cs
src/Umbraco.Core/Macros/MacroTagParser.cs
src/Umbraco.Core/packages.config
src/Umbraco.Tests/Controllers/BackOfficeControllerUnitTests.cs
src/Umbraco.Tests/Macros/MacroParserTests.cs
src/Umbraco.Tests/Strings/StringExtensionsTests.cs
src/Umbraco.Tests/Umbraco.Tests.csproj
src/Umbraco.Web.UI.Client/src/common/services/macro.service.js
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web/Editors/BackOfficeController.cs
src/umbraco.cms/Actions/Action.cs
2015-07-16 17:04:25 +02:00
Shannon
9e2ab8507f
Fixes c# macro tag parser - it needs to parse all macros contained in the entire string, the regex options were wrong meaning if you tried to add multiple macros without parameters it would fail, have added a unit test for that.
2015-07-16 12:31:07 +02:00
Shannon
49f8b530b7
FIX U4-6687: Adding tests for RTE Macro parsing when macroAlias is the first attribute and a new test for multiple Macros of various format.
2015-07-16 09:51:04 +02:00
Shannon
0efeba3744
Fixing unit tests, decouples more singleton accessors
2015-07-15 16:28:50 +02:00
Shannon Deminick
b1fda57e50
Merge pull request #707 from trankin/bugfixes/U4-6687
...
Fix U4-6687: Can't add multiple instances of a macro in RTE in 7.2.6 …
2015-06-15 12:05:14 +02:00
Tom Rankin
6be183f11b
FIX U4-6687: Adding tests for RTE Macro parsing when macroAlias is the first attribute and a new test for multiple Macros of various format.
2015-06-10 12:53:32 -05:00
Stephan
f285af8a4e
Merge remote-tracking branch 'origin/dev-v7' into 7.3.0
2015-05-26 13:19:43 +02:00
Tom Fulton
4ec66bc868
Fix U4-6655: RTE Macro not rendering in backoffice when "macroAlias" is not first attribute
...
Loosens UMBRACO_MACRO regex parsing to fix, add tests
2015-05-22 20:40:30 -06:00
Shannon
d3eff734aa
Merge branch 'dev-v7' into 7.3.0
...
Conflicts:
build/UmbracoVersion.txt
src/Umbraco.Core/Configuration/UmbracoVersion.cs
src/Umbraco.Core/CoreBootManager.cs
src/Umbraco.Core/Models/Template.cs
src/Umbraco.Core/Persistence/Repositories/ContentTypeBaseRepository.cs
src/Umbraco.Core/PropertyEditors/ParameterEditorResolver.cs
src/Umbraco.Core/PropertyEditors/PropertyEditorResolver.cs
src/Umbraco.Core/Services/LocalizedTextService.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/Plugins/TypeFinderTests.cs
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web/Editors/BackOfficeController.cs
src/Umbraco.Web/Models/ContentExtensions.cs
src/Umbraco.Web/PublishedContentExtensions.cs
src/Umbraco.Web/Routing/PublishedContentRequestEngine.cs
src/Umbraco.Web/Scheduling/Scheduler.cs
src/Umbraco.Web/Umbraco.Web.csproj
2015-03-19 17:37:00 +11:00
Shannon
37b219f6e1
Fixes: U4-4942 Widget disappears in RTE when there is a space in the macro alias
2015-03-18 19:52:45 +11:00
Shannon
1cb0cd296c
Decoupling more things, mostly to do with the PluginManager and logging which now requires an IServiceProvider so have created a simple instance of that.
2015-01-16 15:47:44 +11:00
Shannon
defc9d3bc2
Updated all repo's to have their correct ctor's with their correct dependencies. Updated them all to accept ILogger updated all other dependencies with the same without breaking anything since all is internal, or obsoleted other public methods. Updates lots of the tests with mock instances instead, now more tests have less singleton dependencies, easier to test, much clearer and more IoC driven. Updated unit tests to supply the ILogger for required objects, tests should run faster now since most things are just mocked.
2015-01-09 10:51:15 +11:00
Shannon
519b06fe30
Moves logging interface to Logging namespace called ILogger, creates a resolver for it, updates the boot process to ensure it exists first and anything during the boot process that is logging ensures that if it is not resolved that it logs elsewhere. Wraps LogHelper to use the ILogger based on the resolver. Updates all services that used LogHelper to have an ILogger injected into them. This is really only the start, there's a ton of places that use LogHelper (508) other places so we'll need to start looking at changing those over. All base classes will need to expose an Ilogger so people can use that.
2015-01-07 17:23:24 +11:00
Shannon
4ec37b9d3a
Fixes: U4-5391 Create config to explicitly set the 'base url' for a website that is not running as a load balanced site - used for scheduled tasks/publishing/keepalive
2014-11-13 13:05:27 +11:00
Shannon
f0573fc68c
Fixes: U4-4084 Macro's with non alphanumeric chars in their aliases cannot render in the rich text editor
2014-01-20 13:59:25 +11:00
Shannon
fcacc1bd71
Merge commit '060e584503039ac020f79602ae9565d7ee0531bb' into 7.0.2
2013-12-16 16:21:06 +11:00
Shannon
a42b660648
Backporting the cachehelper and associated cache classes.
2013-12-16 13:19:10 +11:00
Shannon
d50aa38c31
Ooops fixes the rte macro parser to not return empty when no macros are found
2013-12-09 14:01:34 +11:00
Shannon
2eb5c08825
Fixing: U4-3686 Umbraco 7 - Rich Text Editor and Macro Issues + fixed up the per-controller webapi configuration and more fixes to loading propertyeditors/param editors, this saves a assembly scan.
2013-12-06 15:01:58 +11:00
Shannon
a311a54d3d
Hugely simplifies setting properties from macro parameters on user control macros with tests.
2013-11-11 12:22:29 +11:00
Shannon
330732323f
Hugely simplifies setting properties from macro parameters on user control macros with tests.
2013-11-11 12:16:30 +11:00
Per Ploug Krogslund
7440855c72
merge
2013-11-07 17:16:22 +01:00
Shannon
b19ed4c039
Trying to fix macro parser tests
2013-11-04 21:44:37 +11:00
Shannon
d97a98f45d
Updates the macro tag parser to not care about the class - if it ever gets stripped again it won't matter on the server side.
2013-10-11 17:28:50 +11:00
Shannon
06400f8db5
Gets the modal content loading in the rte on editor load all in async, fixes an issue with valtogglemsg when used in a modal to ensure we unsubscribe from the events when the modal element is destroyed.
2013-09-25 14:29:59 +10:00
Shannon
d3a9087093
Got the macro dialog working with previously selected macros in the rte and pre-fills the data that was previously there.
2013-09-24 18:46:53 +10:00
Shannon
972d33ccec
Got macro content loading in editor async updated more of the macro plugin to ensure the macro contents cannot be edited.
2013-09-24 13:34:29 +10:00
Shannon
dc258400f1
Have the RTE insert macro stuff working, needs a few tweaks and needs to load content but its working. YOU NEED A FULL BRAND NEW DB RE-INSTALL FOR THIS.
2013-09-23 13:49:24 +10:00
Shannon
01510ce126
Fixes up the tests with changes to cache helper
2013-08-09 11:42:20 +10:00
Morten Christensen
e870db3c29
Fixing MacroTests that had a dependency on the Profiler, which wasn't setup in the fixture.
2013-05-22 11:24:46 -02:00
Shannon Deminick
3b982b80f5
Fixes test issues, needed to disable application cache for these tests since the cache invalidation happens at the CacheRefresher level but for these
...
tests (any many other ones) we are not 'booting' umbraco with the Boot managers so the CacheRefreshers are not wired up to listen to events to clear
the cache. This puts us another step closer to having a proper global cache solution that will work for everything. At least now, all of the legacy
code is using the ApplicationCache which we can now control from a central location. Changed NiceUrlsProviderWithDomainsTests to only require a new db
schema per fixture.
2013-03-23 04:01:52 +06:00
Shannon Deminick
860c8c1002
Fixes: #U4-482, #U4-549. Macro cache streamlining - ensures it is cleared based on event handling instead of inline everywhere
...
in code. Unit tests for CacheHelper, unit tests for umbraco.macro, updates to
ObjectExtensions.TryConvertTo + unit tests, enhanced disposable method of ApplicationContext.
2013-03-12 22:58:21 +04:00