diff --git a/AssemblyInfo.vb b/AssemblyInfo.vb index 03e874e..411296d 100644 --- a/AssemblyInfo.vb +++ b/AssemblyInfo.vb @@ -29,14 +29,14 @@ Imports System.Runtime.InteropServices - - + + 'The following GUID is for the ID of the typelib if this project is exposed to COM - + ' Version information for an assembly consists of the following four values: ' @@ -48,5 +48,5 @@ Imports System.Runtime.InteropServices ' You can specify all the values or you can default the Build and Revision Numbers ' by using the '*' as shown below: - - + + diff --git a/DotNetNuke.Events.sln b/DotNetNuke.Events.sln index 6d97086..d6a732a 100644 --- a/DotNetNuke.Events.sln +++ b/DotNetNuke.Events.sln @@ -1,11 +1,10 @@ Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 +# Visual Studio 14 +VisualStudioVersion = 14.0.24720.0 +MinimumVisualStudioVersion = 10.0.40219.1 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "DotNetNuke.Events.ScheduleControl", "Controls\DotNetNuke.Events.ScheduleControl\DotNetNuke.Events.ScheduleControl.vbproj", "{E90DA1B8-E75D-4E59-AE77-407BE089CF1A}" EndProject Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "DotNetNuke.Events", "DotNetNuke.Events.vbproj", "{F13CD116-F8CC-4108-8691-F855EEBF7A4F}" - ProjectSection(ProjectDependencies) = postProject - {E90DA1B8-E75D-4E59-AE77-407BE089CF1A} = {E90DA1B8-E75D-4E59-AE77-407BE089CF1A} - EndProjectSection EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/DotNetNuke.Events.vbproj b/DotNetNuke.Events.vbproj index 2f83385..c04d864 100644 --- a/DotNetNuke.Events.vbproj +++ b/DotNetNuke.Events.vbproj @@ -367,7 +367,9 @@ + + @@ -383,6 +385,8 @@ + + @@ -563,6 +567,7 @@ + diff --git a/Installation/06.02.02.SqlDataProvider b/Installation/06.02.02.SqlDataProvider new file mode 100644 index 0000000..bbe1975 --- /dev/null +++ b/Installation/06.02.02.SqlDataProvider @@ -0,0 +1,95 @@ +/************************************************************/ +/***** *****/ +/***** SqlDataProvider *****/ +/***** Install/Upgrade for Events module 06.02.02 *****/ +/***** *****/ +/***** Note: To manually execute this script you must *****/ +/***** perform a search AND replace operation *****/ +/***** for {databaseOwner} AND {objectQualifier} *****/ +/***** or use 'SQL' FROM Host Menu AND run this. *****/ +/***** *****/ +/************************************************************/ + +if exists (select * from dbo.sysobjects where id = object_id(N'{databaseOwner}[{objectQualifier}EventsSignupsMyEnrollments]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) +drop procedure {databaseOwner}[{objectQualifier}EventsSignupsMyEnrollments] +GO + +/** EventsSignupsMyEnrollments **/ + +CREATE PROCEDURE {databaseOwner}[{objectQualifier}EventsSignupsMyEnrollments] +( + @ModuleID int, + @UserID int, + @SocialGroupId int, + @CategoryIDs as nvarchar(1024), + @BeginDate datetime, + @EndDate datetime +) +AS +BEGIN +SET NOCOUNT ON; +SET DATEFORMAT mdy; + +Select s.EventID, + s.SignupID, + s.ModuleID, + s.Userid, + s.Approved, + u.displayName as UserName, + u.Email, + e.EventTimeBegin, + DATEADD(mi, e.Duration, e.EventTimeBegin) as EventTimeEnd, + e.EventName, + e.Importance, + e.Approved as EventApproved, + e.MaxEnrollment, + (Select Sum(NoEnrolees) from {databaseOwner}[{objectQualifier}EventsSignups] WHERE EventID = e.EventID and e.Signups = 1) as Enrolled, + PayPalStatus, + PayPalReason, + PayPalTransID, + PayPalPayerID, + PayPalPayerStatus, + PayPalRecieverEmail, + PayPalUserEmail, + PayPalPayerEmail, + PayPalFirstName, + PayPalLastName, + PayPalAddress, + PayPalCity, + PayPalState, + PayPalZip, + PayPalCountry, + PayPalCurrency, + PayPalPaymentDate, + PayPalAmount, + PayPalFee, + NoEnrolees, + r.EventTimeZoneId, + AnonEmail, + AnonName, + AnonTelephone, + AnonCulture, + AnonTimeZoneId, + S.FirstName, + S.LastName, + S.Company, + S.JobTitle, + S.ReferenceNumber, + S.Street, + S.PostalCode, + S.City, + S.Region, + S.Country +FROM {databaseOwner}[{objectQualifier}EventsRecurMaster] AS r RIGHT OUTER JOIN + {databaseOwner}[{objectQualifier}Events] AS e ON r.RecurMasterID = e.RecurMasterID RIGHT OUTER JOIN + {databaseOwner}[{objectQualifier}EventsSignups] AS s LEFT OUTER JOIN + {databaseOwner}[{objectQualifier}Users] AS u ON s.UserID = u.UserID ON e.EventID = s.EventID LEFT OUTER JOIN + {databaseOwner}[{objectQualifier}EventsMaster] AS M ON s.ModuleID = M.SubEventID +Where s.Userid = @UserID AND (s.ModuleID = @ModuleID Or M.ModuleID = @ModuleID) + AND (r.SocialGroupId = @SocialGroupId or (r.SocialGroupId is null and @SocialGroupId = -1)) + AND (e.Category in (SELECT * FROM {databaseOwner}[{objectQualifier}EventsSplitIDs](@CategoryIDs)) or @CategoryIDs = '-1') + AND ((e.EventTimeBegin < DATEADD(DAY,1,@EndDate) AND DATEADD(minute,e.Duration,e.EventTimeBegin) >= @BeginDate) OR + (e.EventTimeBegin >= @BeginDate AND e.EventTimeBegin < DATEADD(DAY,1, @EndDate))) +ORDER BY e.EventTimeBegin desc +END +GO diff --git a/Installation/CleanUp/Cleanup.06.02.02.txt b/Installation/CleanUp/Cleanup.06.02.02.txt new file mode 100644 index 0000000..64b2d7b --- /dev/null +++ b/Installation/CleanUp/Cleanup.06.02.02.txt @@ -0,0 +1,3 @@ +'Remove old versions of events +Install\Module\Events_06.02.01_Source.zip +Install\Module\Events_06.02.01_Install.zip diff --git a/Installation/DNN_Events.dnn b/Installation/DNN_Events.dnn index 2baec37..0f81421 100644 --- a/Installation/DNN_Events.dnn +++ b/Installation/DNN_Events.dnn @@ -1,6 +1,6 @@  - + Events This module renders single and recurring events and includes Master and Sub Calendars with Event Rollup, TimeZone Adjustment, Event Enrollment, and Event Notification. DesktopModules\Events\DNN_Events.png @@ -11,7 +11,7 @@ support@dnnsoftware.com - + true 07.02.00 @@ -205,6 +205,11 @@ 06.02.01.SqlDataProvider 06.02.01 +