Commit Graph

32583 Commits

Author SHA1 Message Date
Shannon
6bb8a15a87 Adds UdiParserTests 2019-10-22 15:07:01 +11:00
Shannon
8a18a5b1cb ensure there is no casing issues with app physical path when generating a hash 2019-10-22 12:13:40 +11:00
Shannon
b04f9c17ae Makes some updates based on code reviews 2019-10-22 11:55:05 +11:00
JohnBlair
478bc708b9 Defensive programming around disposal of local content and media dbs. 2019-10-22 11:45:03 +11:00
JohnBlair
d774ff8bc1 Undoing a bad previous change where logic in a catch should have been in a finally. Also dispose could throw an error so catch it and complete the clean up. 2019-10-22 11:45:03 +11:00
JohnBlair
77f34e8466 Always reset the signal on a timeout exception waiting on the lock. 2019-10-22 11:45:03 +11:00
JohnBlair
ee098e0194 Make sure the local dbs are disposed of if the content store was not created. 2019-10-22 11:44:07 +11:00
JohnBlair
e998fce5d1 Trying to lock could throw exceptions so always make sure to properly clean up the local DB. 2019-10-22 11:44:07 +11:00
JohnBlair
7ace5baf9b Allow nucache content and/or media db files to be reused if they already exist. 2019-10-22 11:44:07 +11:00
Shannon
7afdf9e9a9 ensure maindom is disposed as soon as the hosting environment is signaled, remove the GCHandle 2019-10-22 11:40:51 +11:00
Shannon
bb2a3a5e3d stub class for udi parser 2019-10-22 11:09:21 +11:00
Lars-Erik Aabech
d9c1853543 Totally helpful exception message for test classes that can't be resolved 2019-10-21 23:07:36 +02:00
Lars-Erik Aabech
7bd8dee6a2 Changed TestOptionAttributeBase type resolving to use Assemby instead of String 2019-10-21 23:01:23 +02:00
Rasmus John Pedersen
1362a953f2 Fix wrong assembly name for UmbracoModule 2019-10-21 16:50:39 +02:00
Shannon
f8e04eb1d6 Adds tests for MediaParser and simplifies UmbracoContext mocking 2019-10-22 00:53:52 +11:00
Shannon
4f9e0fcb92 No more using TemplateUtilities 2019-10-21 23:53:14 +11:00
Shannon
8ccebd8006 Revert "Removes singleton accessors from repositories" - this causes a circular ref?! 2019-10-21 23:04:25 +11:00
Shannon
a78a4ff807 Less statics, new InternalLinkParserTests, better testing support on UDI, less singletons 2019-10-21 22:56:02 +11:00
Shannon
a7dfba58d1 Removes singleton accessors from repositories 2019-10-21 22:49:39 +11:00
Bjarke Berg
e1c6f721b0 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/mb-embed 2019-10-21 13:33:59 +02:00
Jeavon
a854dcb737 Add additional null checks on GridPropertyEditor in case it's executed in the front end context without CurrentUser 2019-10-21 10:10:08 +01:00
Shannon
13f7ee8a5f Adds IDataValueReference 2019-10-21 19:40:06 +11:00
Bjarke Berg
ed6fee4fa4 Merge pull request #6625 from umbraco/v8/feature/AB2913-DataTypeTracking
Data type usage reporting and deletion warning
2019-10-21 10:10:37 +02:00
Bjarke Berg
c072015288 Merge remote-tracking branch 'origin/v8/dev' into v8/feature/AB2913-DataTypeTracking
# Conflicts:
#	src/Umbraco.Web.UI/Umbraco/config/lang/en.xml
2019-10-21 09:40:21 +02:00
Bjarke Berg
ba215f8700 fix name to follow the class name 2019-10-21 09:34:35 +02:00
Steve Megson
59ba68dfd0 TinyMCE language files 2019-10-21 08:25:49 +01:00
Kenn Jacobsen
1b07d812a7 Merged with latest v8/dev 2019-10-21 09:02:38 +02:00
Niels Lyngsø
c89ea71adf removed comment 2019-10-21 08:51:08 +02:00
Niels Lyngsø
f2381daa24 no need for this comment anymore 2019-10-21 08:49:50 +02:00
Bjarke Berg
9ffb3bed57 Merge pull request #6688 from umbraco/v8/bugfix/AB3172-long-running-ops
Long running operations causes SQL timeout
2019-10-21 07:56:53 +02:00
Shannon Deminick
16abdcac46 Merge pull request #6208 from PerplexDaniel/6174-saving-content-type-segment-variation
Support for Segments in ContentTypeRepositoryBase
2019-10-21 16:54:56 +11:00
Bjarke Berg
debe4b381c Fixed tests 2019-10-21 07:26:39 +02:00
Bjarke Berg
538a8cf41b Change to case when, just to support if someone change values to something invalid directly in the database, and fixed tes 2019-10-21 07:23:11 +02:00
Shannon Deminick
d2c43d6f13 Merge pull request #6789 from umbraco/v8/bugfix/6754-StatusCode-Skip-CustomErrors
fixes #6754 - skip custom errors when using StatusCodeFilterAttribute.
2019-10-21 16:17:27 +11:00
Shannon
eb670fd1ac ensure OnSignal logic is all run within the lock, ensures all actions are run even if one throw on shutdown. 2019-10-21 15:59:25 +11:00
Shannon
beb16a2f79 Ensures MainDom.Register absolutely does not call install logic if it's not MainDom, adds logging 2019-10-21 15:47:37 +11:00
Kenn Jacobsen
e8d159db46 Remove unused event argument 2019-10-20 11:16:14 +02:00
Kenn Jacobsen
5c670b620c Allow tabbing through the section tray and adjust styles accordingly 2019-10-20 11:08:29 +02:00
Dennis Adolfi
8d70d53ed6 * Added test for mocking UmbracoApiController dependencies with injected UmbracoMapper
* Added test for mocking UmbracoApiController dependencies with ServiceLocator resolved UmbracoMapper for backward compability.
2019-10-18 14:27:55 +02:00
Dennis Adolfi
c131759688 * Removed service locator resolvning UmbracoMapper (Current.Mapper) in the UmbracoApiControllerBase constructor.
* Added Obsolete marker to old UmbracoApiController constructor injecting Current.Mapper for backward compability, use new full construcor injection instead.
2019-10-18 14:18:19 +02:00
Dave Woestenborghs
3260fec444 V8 - umb-box-header shows values for non-localized and localized title and description (#6689)
* Fix displaying of title and description and also the localized values for title-key and description-key on the umb-box-header directive

* Handle invalide localization keys by setting a fall back value
2019-10-18 13:39:26 +02:00
Poornima Nayar
b199a54038 Clean up of the compositions dialog (#6716) 2019-10-18 13:36:16 +02:00
Kenn Jacobsen
9af135e7e7 Make the color class prefix configurable for the umb-color-swatches directive 2019-10-18 13:20:03 +02:00
Kenn Jacobsen
d49ad81448 V8: Handle save keyboard shortcut from within the RTE (#6756) 2019-10-18 13:17:16 +02:00
Claus
1d39a25240 Merge pull request #6734 from umbraco/v8/bugfix/6698-nucache-panic
Fixes nucache #6698
2019-10-18 10:36:19 +02:00
Claus
b87a952c6a fixes #6754 - skip custom errors when using StatusCodeFilterAttribute. 2019-10-18 09:39:36 +02:00
Shannon
44ed611b7a Ensure MainDom is always registered with HostingEnvironment, not just when it acquires maindom 2019-10-18 11:57:44 +11:00
Shannon
b5f29f2390 Ensure the EventWaitHandle is cleaned up, MainDom and BackgroundTaskRunner was not using HostingEnvironment.Stop correctly, ensures no exception is thrown when setting task result on a background task, ensure multiple terminations don't occur, ensure terminations are done if shutdown fails. 2019-10-18 11:57:44 +11:00
Shannon
81ae835564 Implements Disposable pattern correctly for the NamedSemaphoreReleaser 2019-10-18 11:57:44 +11:00
Shannon
10a2303458 Renames AsyncLock -> SystemLock 2019-10-18 11:57:44 +11:00