Commit Graph

30506 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
bc40216eca Ensure package installation for data is executed within a single scope/trans 2019-09-16 16:31:16 +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
ebada94a48 temp - removing the SuspendSafeLiveFactory for now 2019-09-16 14:59:12 +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
Shannon
6839397206 bumps examine requirements 2019-09-13 11:58:32 +10:00
Shannon
297c0a8780 Merge branch 'v8/dev' of https://github.com/umbraco/Umbraco-CMS into v8/dev 2019-09-13 11:58:19 +10:00
Shannon
a9805e2b5a bumps cdf requirements 2019-09-13 11:57:12 +10:00
Shannon Deminick
3be464726b Merge pull request #6332 from umbraco/v8/feature/2349AB-RTE-Image-Upload
AB 2439 - Create API controller for uploading images for RTE (Final Fixes)
2019-09-12 23:55:59 +10: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
056e057cbb Merge pull request #6327 from umbraco/v8/feature/6326-RTE-Image-size-as-attribute
store img size as html attributes
2019-09-12 12:51:05 +01:00
Warren Buckley
a5c5a12a00 Remove dupe Authz attribute 2019-09-12 12:07:57 +01:00
Warren Buckley
ba319609f2 Fix up tests - thanks again VS for not notifying me that the Build fails when I build the entire SLN 2019-09-12 09:40:21 +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
Bjarke Berg
5b791a1787 Merge pull request #6246 from umbraco/v8/feature/2349AB-RTE-Image-Upload
AB 2439 -  Create API controller for uploading images for RTE
2019-09-12 08:23:39 +02:00
Shannon
81b277314c better logging 2019-09-12 16:21:17 +10:00
Bjarke Berg
401e362298 Remove the image from tinyMce cache, otherwise we can't handle if we upload the exactly same image twice 2019-09-11 15:20:19 +02:00
Shannon
942c6c75c5 fixes tests 2019-09-11 23:01:11 +10:00
Niels Lyngsø
1c651b4e59 store img size as html attributes 2019-09-11 14:31:03 +02:00
Shannon
19716e3c96 fixing tests 2019-09-11 21:47:43 +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
cfe196a45d Fix up C# unit tests - VS19 failed to tell me about these failing to build :S 2019-09-10 11:47:52 +01:00
Warren Buckley
83d568dd5a Fix up unit test 2019-09-10 11:32:02 +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
Warren Buckley
d5331d85af Removing the localStorage key cleanup - seems to be a timing issue if you drag the image into a middle of a word 2019-09-10 10:48:28 +01:00
Shannon
127c429959 fix tests 2019-09-10 17:27:17 +10:00
Shannon
642c06879d ensure we don't wait on background operations when not in PureLive 2019-09-10 17:24:10 +10:00