-
Notifications
You must be signed in to change notification settings - Fork 753
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
Set core object versions to core version #3287
Merged
Merged
Changes from 2 commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Platform/Providers/HtmlEditorProviders/RadEditorProvider/DotNetNuke.RadEditorProvider.dnn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
135 changes: 135 additions & 0 deletions
135
DNN Platform/Website/Providers/DataProviders/SqlDataProvider/09.04.03.SqlDataProvider
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,135 @@ | ||
/************************************************************/ | ||
/***** SqlDataProvider *****/ | ||
/***** *****/ | ||
/***** *****/ | ||
/***** Note: To manually execute this script you must *****/ | ||
/***** perform a search and replace operation *****/ | ||
/***** for {databaseOwner} and {objectQualifier} *****/ | ||
/***** *****/ | ||
/************************************************************/ | ||
|
||
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'{databaseOwner}{objectQualifier}SetCorePackageVersions') AND type in (N'P', N'PC')) | ||
DROP PROCEDURE {databaseOwner}{objectQualifier}SetCorePackageVersions | ||
GO | ||
|
||
SET ANSI_NULLS ON | ||
GO | ||
SET QUOTED_IDENTIFIER ON | ||
GO | ||
CREATE PROCEDURE {databaseOwner}{objectQualifier}SetCorePackageVersions | ||
AS | ||
DECLARE @Version VARCHAR(10) | ||
SET @Version = (SELECT TOP 1 | ||
CAST(v.Major AS VARCHAR) + '.' | ||
+ CAST(v.Minor AS VARCHAR) + '.' | ||
+ CAST(v.Build AS VARCHAR) | ||
FROM {databaseOwner}{objectQualifier}Version v | ||
ORDER BY v.Major DESC, v.Minor DESC, v.Build DESC); | ||
UPDATE {databaseOwner}{objectQualifier}Packages | ||
SET Version=@Version | ||
WHERE [Name] IN ('DotNetNuke.Authentication', | ||
'DotNetNuke.SearchResults', | ||
'DotNetNuke.Security', | ||
'DotNetNuke.ACTIONBUTTONSkinObject', | ||
'DotNetNuke.ACTIONSSkinObject', | ||
'DotNetNuke.BANNERSkinObject', | ||
'DotNetNuke.BREADCRUMBSkinObject', | ||
'DotNetNuke.COPYRIGHTSkinObject', | ||
'DotNetNuke.CURRENTDATESkinObject', | ||
'DotNetNuke.DOTNETNUKESkinObject', | ||
'DotNetNuke.DROPDOWNACTIONSSkinObject', | ||
'DotNetNuke.HELPSkinObject', | ||
'DotNetNuke.HOSTNAMESkinObject', | ||
'DotNetNuke.ICONSkinObject', | ||
'DotNetNuke.LANGUAGESkinObject', | ||
'DotNetNuke.LINKACTIONSSkinObject', | ||
'DotNetNuke.LINKSSkinObject', | ||
'DotNetNuke.LOGINSkinObject', | ||
'DotNetNuke.LOGOSkinObject', | ||
'DotNetNuke.MENUSkinObject', | ||
'DotNetNuke.NAVSkinObject', | ||
'DotNetNuke.PRINTMODULESkinObject', | ||
'DotNetNuke.PRIVACYSkinObject', | ||
'DotNetNuke.SEARCHSkinObject', | ||
'DotNetNuke.SIGNINSkinObject', | ||
'DotNetNuke.TERMSSkinObject', | ||
'DotNetNuke.TITLESkinObject', | ||
'DotNetNuke.TREEVIEWSkinObject', | ||
'DotNetNuke.USERSkinObject', | ||
'DotNetNuke.VISIBILITYSkinObject', | ||
'DotNetNuke.TEXTSkinObject', | ||
'DotNetNuke.STYLESSkinObject', | ||
'DotNetNuke.LEFTMENUSkinObject', | ||
'DotNetNuke.JQUERYSkinObject', | ||
'DotNetNuke.CONTROLPANEL.SkinObject', | ||
'DotNetNuke.Console', | ||
'DefaultAuthentication', | ||
'DotNetNuke.ViewProfile', | ||
'DotNetNuke.TagsSkinObject', | ||
'DotNetNuke.Skin.Default', | ||
'DotNetNuke.Container.Default', | ||
'DotNetNuke.Registration', | ||
'DotNetNuke.ToastSkinObject', | ||
'DotNetNuke.DNNCSSINCLUDESkinObject', | ||
'DotNetNuke.DNNCSSEXCLUDESkinObject', | ||
'DotNetNuke.DNNJSINCLUDESkinObject', | ||
'DotNetNuke.DNNJSEXCLUDESkinObject', | ||
'DotNetNuke.Module Creator'); | ||
UPDATE {databaseOwner}{objectQualifier}DesktopModules | ||
SET Version=@Version | ||
FROM {databaseOwner}{objectQualifier}DesktopModules dtm | ||
INNER JOIN {databaseOwner}{objectQualifier}Packages p ON p.PackageID=dtm.PackageID | ||
WHERE p.[Name] IN ('DotNetNuke.Authentication', | ||
'DotNetNuke.SearchResults', | ||
'DotNetNuke.Security', | ||
'DotNetNuke.ACTIONBUTTONSkinObject', | ||
'DotNetNuke.ACTIONSSkinObject', | ||
'DotNetNuke.BANNERSkinObject', | ||
'DotNetNuke.BREADCRUMBSkinObject', | ||
'DotNetNuke.COPYRIGHTSkinObject', | ||
'DotNetNuke.CURRENTDATESkinObject', | ||
'DotNetNuke.DOTNETNUKESkinObject', | ||
'DotNetNuke.DROPDOWNACTIONSSkinObject', | ||
'DotNetNuke.HELPSkinObject', | ||
'DotNetNuke.HOSTNAMESkinObject', | ||
'DotNetNuke.ICONSkinObject', | ||
'DotNetNuke.LANGUAGESkinObject', | ||
'DotNetNuke.LINKACTIONSSkinObject', | ||
'DotNetNuke.LINKSSkinObject', | ||
'DotNetNuke.LOGINSkinObject', | ||
'DotNetNuke.LOGOSkinObject', | ||
'DotNetNuke.MENUSkinObject', | ||
'DotNetNuke.NAVSkinObject', | ||
'DotNetNuke.PRINTMODULESkinObject', | ||
'DotNetNuke.PRIVACYSkinObject', | ||
'DotNetNuke.SEARCHSkinObject', | ||
'DotNetNuke.SIGNINSkinObject', | ||
'DotNetNuke.TERMSSkinObject', | ||
'DotNetNuke.TITLESkinObject', | ||
'DotNetNuke.TREEVIEWSkinObject', | ||
'DotNetNuke.USERSkinObject', | ||
'DotNetNuke.VISIBILITYSkinObject', | ||
'DotNetNuke.TEXTSkinObject', | ||
'DotNetNuke.STYLESSkinObject', | ||
'DotNetNuke.LEFTMENUSkinObject', | ||
'DotNetNuke.JQUERYSkinObject', | ||
'DotNetNuke.CONTROLPANEL.SkinObject', | ||
'DotNetNuke.Console', | ||
'DefaultAuthentication', | ||
'DotNetNuke.ViewProfile', | ||
'DotNetNuke.TagsSkinObject', | ||
'DotNetNuke.Skin.Default', | ||
'DotNetNuke.Container.Default', | ||
'DotNetNuke.Registration', | ||
'DotNetNuke.ToastSkinObject', | ||
'DotNetNuke.DNNCSSINCLUDESkinObject', | ||
'DotNetNuke.DNNCSSEXCLUDESkinObject', | ||
'DotNetNuke.DNNJSINCLUDESkinObject', | ||
'DotNetNuke.DNNJSEXCLUDESkinObject', | ||
'DotNetNuke.Module Creator'); | ||
GO | ||
|
||
/************************************************************/ | ||
/***** SqlDataProvider *****/ | ||
/************************************************************/ | ||
/************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do these need to be set to 9.4.3, or are they updated automatically now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They will be updated after release from now on. This will happen in an upcoming PR and we'll make an automated task to do this in the future.