Commit Graph

9889 Commits

Author SHA1 Message Date
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
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
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
Warren Buckley
9f4697c5b3 Update src/Umbraco.Web/PropertyEditors/RichTextPropertyEditor.cs
Co-Authored-By: Bjarke Berg <mail@bergmania.dk>
2019-09-11 10:54:47 +01:00
Warren Buckley
e8ccfd52af Merge remote-tracking branch 'origin/v8/dev' into v8/feature/2349AB-RTE-Image-Upload
# Conflicts:
#	src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js
2019-09-10 10:58:24 +01:00
Warren Buckley
6669b54a70 Move the logic for finding temp images for persisting into a shared class so Grid & RTE can both use it 2019-09-10 10:50:36 +01:00
Shannon
642c06879d ensure we don't wait on background operations when not in PureLive 2019-09-10 17:24:10 +10:00
Shannon
de03130256 Don't fully regenerate models on startup, they will be regenerated if they are not there or if the hashes don't match so let MB use it's cached models if it can. 2019-09-10 17:10:46 +10:00
Shannon
0a12f86108 Moves the reserved path detection to RoutableDocumentFilter, adds caching to MVC route detection 2019-09-10 16:09:09 +10:00
Shannon
44fbdb7028 renames class 2019-09-10 14:23:42 +10:00
Shannon
b997281e1f Only waits for background processing to finish if it's a front-end request, required caching the check for a front-end request which required moving the check to it's own class. 2019-09-10 14:10:26 +10:00
Shannon
596c745a19 Uses an event on UmbracoContext for when the snapshot is created so we can block until the background notifier is completed 2019-09-10 13:35:59 +10:00
Shannon
296afb18a4 Renames and puts in temp fix to try to find out why we are binding to old models 2019-09-10 11:50:09 +10:00
Warren Buckley
5e394cb62b Refactor we do not instantly persist the uploaded file to a media item in Umbraco - what if the user undo's or removes it from content we will bloat the media section
* Adds a data-tmpimg attribute to the <img> in the markup, which we scan for when persisting to the DB in the RTE PropertyValueEditor to then perist media items
* TODO: Find a way to get TinyMCE to NOT send a base64 down the wire as the saved content/HTML
2019-09-09 16:04:52 +01:00
Shannon
fdad387414 renames objects/methods and adds a lock to the routing mechanism 2019-09-09 23:32:02 +10:00
Shannon
8fef824dc1 Moves rebuilding models and cache to background thread 2019-09-09 23:32:02 +10:00
Niels Lyngsø
02534c4ac5 Merge pull request #5706 from kjac/v8-feature-copy-property
V8: Copy on property level
2019-09-09 15:13:10 +02:00
Bjarke Berg
d05e79ca15 Merge branch 'v8/dev' into v8/bugfix/5925-nucache-startup 2019-09-09 13:54:27 +02:00
Rasmus John Pedersen
8f32fce781 Update Headless assembly names 2019-09-09 11:53:12 +02:00
Kenn Jacobsen
2cbed6c6b0 Merged with v8/dev 2019-09-09 11:22:39 +02:00
Kenn Jacobsen
604bb6b526 Don't allow selecting non-element types when composing element types 2019-09-05 17:57:40 +02:00
Poornima Nayar
088abae314 Maxlength attribute on macro name 2019-09-05 16:19:46 +02:00
leekelleher
83588b2dc8 ContentTypeService GetAllElementTypes method
Added an extension method to get all the Element Types from
the ContentTypeService.

Refactored NestedContent's controller accordingly.
2019-09-05 15:36:14 +02:00
Sebastiaan Janssen
47f365e415 Merge branch 'v8/8.1' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2019-09-05 13:03:23 +02:00