Commit Graph

9914 Commits

Author SHA1 Message Date
Shannon
cc1e46ae05 Simplifies ContentStore for all the instances it's trying to find a linked node by a gen 2019-09-18 00:36:12 +10:00
Shannon
e6805b23e3 Oops! didn't complete the scope, ok now package install works within a trans, fixes nucache changes to not pass around _liveGen since sometimes we want the latest that is not _liveGen 2019-09-18 00:10:02 +10:00
Shannon
3cf1e18dff Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/AB2684-purelive-model-regen 2019-09-17 23:01:15 +10:00
Shannon
ef007382b5 only enable the ModelBindingExceptionFilter when running PureLive, there should be no other reason to have this filter 2019-09-17 22:58:06 +10:00
Shannon
1eb1c9dc4d allows for disabling the modelbinderexceptionfilter from config for testing, adds notes 2019-09-17 22:50:57 +10:00
Shannon
7fdbb84c04 Fixes bug with nucache - it wasn't using gen/snapshots the way it was supposed to 2019-09-17 22:38:43 +10:00
Bjarke Berg
49bca0fa43 Merge pull request #6325 from umbraco/v8/feature/2438AB-RTE-Image-Config-MediaFolder
V8: AB 2438 - RTE Pasted/Dragged Images Media Folder Config
2019-09-17 11:16:26 +02:00
Warren Buckley
519fcab087 Use the recrusive feature bool of Directory.Delete to delete the file at the same time :) 2019-09-17 09:25:26 +01:00
Warren Buckley
11194314fb Be less verbose and assign in one line 2019-09-17 09:22:09 +01:00
Shannon
54110573bc dont hide model binding exceptions if in debug mode 2019-09-17 17:00:21 +10:00
Shannon
e1433ddac9 Merge remote-tracking branch 'origin/v8/dev' into v8/bugfix/AB2684-purelive-model-regen 2019-09-17 13:09:54 +10:00
Shannon Deminick
aca648d84f Merge pull request #6354 from zpqrtbnk/v8/bugfix/nucache-content-store
Bugfix NuCache ContentStore
2019-09-17 13:08:59 +10:00
Stephan
b51fb2da9d Fix NuCache ContentStore 2019-09-16 17:27:03 +02:00
Kenn Jacobsen
6467aae206 Support "allow items of type" for all types in MNTP (#6177) 2019-09-16 16:32:29 +02:00
Warren Buckley
0d49288875 Update src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2019-09-16 09:34:49 +01:00
Warren Buckley
14e33e0cb5 Update src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2019-09-16 09:33:42 +01:00
Shannon
6d886e3810 removes uneeded IsDocumentRequest method 2019-09-16 17:55:04 +10:00
Shannon
c27e876c75 Removes BackgroundPublishedSnapshotNotifier 2019-09-16 17:40:48 +10:00
Shannon
2b9ab0a38a Merge branch 'v8/bugfix/background-pure-live-rebuild-AB1833' into v8/bugfix/AB2684-purelive-model-regen
# Conflicts:
#	src/Umbraco.Web/Cache/ContentTypeCacheRefresher.cs
#	src/Umbraco.Web/Cache/DataTypeCacheRefresher.cs
2019-09-16 17:38:10 +10:00
Shannon
00c720413a Uses reflection to call ResetModels to flag MB to recompile. 2019-09-16 17:23:00 +10:00
Shannon
47d3af9bb3 removes the test suspendable model factory code 2019-09-16 16:59:57 +10:00
Shannon
4c775822c0 fixes null ref issues since the field values were not copied on clone 2019-09-16 16:22:05 +10:00
Shannon
fc821000f3 Adds ext methods for creating a flag to indicate model recompilation should occur 2019-09-16 14:50:05 +10:00
Shannon
bc42adb2ce removes notifying all content/media of content type changes since nucache model creation is lazy now 2019-09-16 14:31:27 +10:00
Shannon
a85d8f3e21 ensure that we don't CreateModel during cache notification 2019-09-16 14:25:02 +10:00
Shannon
5898b64174 disable force rebuilding pure live models on schema changes 2019-09-16 14:24:25 +10:00
Shannon Deminick
84fcd309d6 Merge pull request #6346 from zpqrtbnk/v8/bugfix/lazy-nucache
Lazily create content and models in NuCache
2019-09-16 11:48:07 +10:00
Shannon
ba74b7543c wraps package uninstall in a scope, creates temp SuspendSafeLiveFactory method for testing 2019-09-16 11:47:05 +10:00
Warren Buckley
63914aec4f Couple of fixes 2019-09-13 11:10:47 +01:00
Warren Buckley
df6da16161 Merge branch 'v8/dev' into v8/feature/2438AB-RTE-Image-Config-MediaFolder
# Conflicts:
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
#	src/Umbraco.Web/Templates/TemplateUtilities.cs
2019-09-13 09:51:53 +01:00
Stephan
e5634d13f1 Lazily create content and models in NuCache 2019-09-13 09:55:53 +02:00
Warren Buckley
c4026fb92f Inject all the things - aka make sure Shan doesn't poke with a sharp pointy stick for using Current 2019-09-12 14:54:21 +01:00
Shannon
aa9ece94b7 naming convention and null check 2019-09-12 23:37:17 +10:00
Warren Buckley
0d0abca255 Move the general cleanup of the App_Data/TEMP/FileUploads folder for one day+ old files 2019-09-12 14:35:45 +01:00
Warren Buckley
f6e9fb2845 Adds same code loop as FileUploadCleanupFilterAttribute to delete files 2019-09-12 14:27:22 +01:00
Shannon
6ade20717f Merge branch 'v8/bugfix/background-pure-live-rebuild-AB1833' of https://github.com/umbraco/Umbraco-CMS into v8/bugfix/background-pure-live-rebuild-AB1833 2019-09-12 23:15:16 +10:00
Shannon
c7c2f64b62 removes comments 2019-09-12 23:15:03 +10:00
Shannon Deminick
d7b950fe06 Update src/Umbraco.Web/RoutableDocumentFilter.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2019-09-12 23:14:18 +10:00
Shannon Deminick
2c27a631c9 Update src/Umbraco.Web/RoutableDocumentFilter.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2019-09-12 23:14:10 +10:00
Warren Buckley
a5c5a12a00 Remove dupe Authz attribute 2019-09-12 12:07:57 +01:00
Warren Buckley
632808acdb * Inbject UmbracoContextAccessor & null check it for the user id
* Remove unused & sort usings
2019-09-12 09:04:23 +01:00
Warren Buckley
4ccebbc209 Reopen branch/PR for fixes
* Reorder usings
* Add an error response & log the reason if we can't move a file about
* Add UmbracoApplicationAuthorize attribute for security so not any user can upload images
2019-09-12 08:49:40 +01:00
Shannon
81b277314c better logging 2019-09-12 16:21:17 +10:00
Warren Buckley
54a3bd07d7 Logic to use -1 Media root folder if no media folder is picked on the configuration of the RTE or the Grid 2019-09-11 14:24:52 +01:00
Warren Buckley
496ae724b4 Merge branch 'v8/feature/2349AB-RTE-Image-Upload' into v8/feature/2438AB-RTE-Image-Config-MediaFolder
# Conflicts:
#	src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
#	src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
2019-09-11 12:20:27 +01:00
Warren Buckley
39050d06f9 Use a guid instead of user id & unix time offset for unique folder path 2019-09-11 11:16:47 +01:00
Warren Buckley
f07be7df1c Usa a CONST for the data attribute 2019-09-11 11:13:46 +01:00
Warren Buckley
9bbc66d10d Some rename of variables for readability 2019-09-11 11:06:38 +01:00
Warren Buckley
104d414887 Fix some trailing typo stuff 2019-09-11 11:00:23 +01:00
Warren Buckley
a47811f210 Update src/Umbraco.Web/PropertyEditors/GridPropertyEditor.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2019-09-11 10:55:12 +01:00