Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Upgrade Process to remove Telerik (Continued from #5166 and #5099) #5212

Merged
merged 56 commits into from
Aug 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
afa6327
Initial commit.
daguiler Apr 22, 2022
1eb8954
Finished replace module step
daguiler Apr 25, 2022
fe2cb1a
Activated All Rules code analysis
daguiler Apr 25, 2022
4fbc673
Added packaging support files
daguiler Apr 25, 2022
86bd0d1
Implemented SQL step
daguiler Apr 25, 2022
b8d83c3
Added Required attribute to validate step properties
daguiler Apr 25, 2022
1960d8b
Fixed bug in UninstallSummaryItem
daguiler Apr 25, 2022
84d9f69
Implemented the clear cache step
daguiler Apr 25, 2022
c9cd5be
Removed Impl namespace and rearranged files
daguiler Apr 26, 2022
6856122
Renamed internal to shim
daguiler Apr 26, 2022
f966def
Moved exception logging to StepBase
daguiler Apr 26, 2022
c7b8b26
Added remove extension step
daguiler Apr 26, 2022
22ff2f5
added update DataType list step
daguiler Apr 26, 2022
07cabc2
added Quiet property to ClearCacheStep
daguiler Apr 26, 2022
2646ffd
Fixed 2017.1 hotfix package name
daguiler Apr 26, 2022
231f2a4
added records affected to SQL step notes
daguiler Apr 26, 2022
fb8b3c4
added dependency cleanup to RemoveExtensionStep
daguiler Apr 26, 2022
e82a151
Show file names only not paths
daguiler Apr 27, 2022
c1dd988
Fixed RadEditor Manager package name
daguiler Apr 27, 2022
9b4d57a
Simplified step name property
daguiler Apr 27, 2022
4d23c13
Implemented replace text in file step
daguiler Apr 27, 2022
1732dab
Implemented Web.config steps
daguiler Apr 27, 2022
d23747b
Added extension files cleanup step
daguiler Apr 27, 2022
7f59fe8
Removed unused NullStep
daguiler Apr 27, 2022
29ed202
Disabling the submit button after click
daguiler Apr 27, 2022
7484ff3
Showing a spinner now while processing
daguiler Apr 28, 2022
af4d7ad
Hooked Telerik removal to the upgrade process
daguiler Apr 28, 2022
45f15f0
Completed remaining localization
daguiler Apr 29, 2022
6cfd2a4
Showing detected Telerik version number
daguiler Apr 29, 2022
6589b3a
Minor fixes
daguiler Apr 30, 2022
dc54f67
Moved in-line style to CSS file
daguiler Apr 30, 2022
2fbfba2
Updated InstalledAndUsed view to handle DAM case
daguiler May 1, 2022
0557262
Updated UpgradeWizard to latest wording
daguiler May 2, 2022
26ee373
Fixed missing Telerik uninstall option in some views
daguiler May 2, 2022
a09dfdd
text fix and rebuild for artefacts
armaganpekatik Jun 24, 2022
d092fad
Update DNN Platform/Modules/TelerikRemoval/TelerikRemoval.dnn
armaganpekatik Jul 7, 2022
a74bb1b
Update DNN Platform/Website/Providers/DataProviders/SqlDataProvider/0…
armaganpekatik Jul 7, 2022
c2ef15a
Merge branch 'release/9.11.0' into telerikupg
donker Jul 28, 2022
32d5e37
Improve user feedback during upgrade
donker Jul 29, 2022
369a2f5
Rename telerik removal from reasources to zip if user opts to remove it
donker Jul 29, 2022
66931bc
Move the removal code to a core distributed library
donker Aug 3, 2022
0fee777
Move TelerikUtils to new lib
donker Aug 4, 2022
843c279
Split dam from telerik uninstall and run it always
donker Aug 5, 2022
d67747d
Small fixes
donker Aug 5, 2022
98b9525
Replace all DAM instances with RM
donker Aug 5, 2022
7f8063d
Support for migration of settings when migrating a module
donker Aug 5, 2022
1f48607
Default to uninstall for upgrade wizard
donker Aug 5, 2022
9827f8e
State of DAM installation has become irrelevant
donker Aug 5, 2022
da8b6ed
Improve messaging
donker Aug 5, 2022
23b1d3b
Add feedback to auto install
donker Aug 5, 2022
4bd2359
Implement wording changes in the module
donker Aug 5, 2022
4f25cb1
Polishing
donker Aug 5, 2022
11de971
Removing deprecated projects
donker Aug 5, 2022
411e436
Always install the removal tool. It won't run automatically anyway if…
donker Aug 6, 2022
d960441
Create the Telerik Removal page on host level so Telerik status can a…
donker Aug 9, 2022
69e9186
Update internal documentation
donker Aug 10, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions Build/Tasks/CreateUpgrade.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,42 +24,15 @@ public sealed class CreateUpgrade : FrostingTask<Context>
/// <inheritdoc/>
public override void Run(Context context)
{
this.RenameResourcesForUpgrade(context);
context.CreateDirectory(context.ArtifactsFolder);
var excludes = new string[context.PackagingPatterns.InstallExclude.Length + context.PackagingPatterns.UpgradeExclude.Length];
context.PackagingPatterns.InstallExclude.CopyTo(excludes, 0);
context.PackagingPatterns.UpgradeExclude.CopyTo(excludes, context.PackagingPatterns.InstallExclude.Length);
var files = context.GetFilesByPatterns(context.WebsiteFolder, new[] { "**/*" }, excludes);
files.Add(context.GetFiles("./Website/Install/Module/DNNCE_Website.Deprecated_*_Install.zip"));
context.Information("Zipping {0} files for Upgrade zip", files.Count);

var packageZip = $"{context.ArtifactsFolder}DNN_Platform_{context.GetBuildNumber()}_Upgrade.zip";
context.Zip(context.WebsiteFolder, packageZip, files);
}

[Obsolete(
"Workaround to support upgrades from 9.8.0 which may or may not still have Telerik installed."
+ "It also prevents the new Resource Manager module being installed for 9.11+ upgrades."
+ "This method is to be removed in v10.0.0 and we should also implement a solution to remove these .resources files"
+ "from the available extensions to make sure people don't install them by mistake.")]
private void RenameResourcesForUpgrade(Context context)
{
var packages = new[]
{
$"{context.WebsiteFolder}Install/Module/DNNCE_DigitalAssetsManagement*.zip",
$"{context.WebsiteFolder}Install/Module/Telerik*.zip",
$"{context.WebsiteFolder}Install/Library/DNNCE_Web.Deprecated*.zip",
$"{context.WebsiteFolder}Install/Library/DNNCE_Website.Deprecated*.zip",
$"{context.WebsiteFolder}Install/Module/DNNCE_ResourceManager*.zip",
};

var filesToRename = context.GetFilesByPatterns(packages);
foreach (var fileToRename in filesToRename)
{
File.Move(
fileToRename.ToString(),
fileToRename.ChangeExtension("resources").ToString());
}
}
}
}
6 changes: 0 additions & 6 deletions Build/Tasks/thirdparty.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
[
{
"name": "Telerik",
"folder": "DNN Platform/Components/Telerik/",
"destination": "Install/Module",
"excludes": [ "**/*.xml" ]
},
{
"name": "jQuery",
"folder": "DNN Platform/JavaScript Libraries/jQuery/",
Expand Down
27 changes: 0 additions & 27 deletions Build/Tools/NuGet/DotNetNuke.Web.Deprecated.nuspec

This file was deleted.

Loading