diff --git a/Archive.zip b/Archive.zip new file mode 100644 index 000000000..2da2d92b0 Binary files /dev/null and b/Archive.zip differ diff --git a/BlogEngine/ApplicationProvisioning_Script.sql b/BlogEngine/ApplicationProvisioning_Script.sql new file mode 100644 index 000000000..39188b285 --- /dev/null +++ b/BlogEngine/ApplicationProvisioning_Script.sql @@ -0,0 +1,2441 @@ + +SET QUOTED_IDENTIFIER ON +GO +SET ANSI_PADDING ON +GO +CREATE TABLE [dbo].[be_BlogRollItems]( + [BlogRollRowId] [int] IDENTITY(1,1) NOT NULL, + [BlogId] [uniqueidentifier] NOT NULL, + [BlogRollId] [uniqueidentifier] NOT NULL, + [Title] [nvarchar](255) NOT NULL, + [Description] [nvarchar](max) NULL, + [BlogUrl] [varchar](255) NOT NULL, + [FeedUrl] [varchar](255) NULL, + [Xfn] [varchar](255) NULL, + [SortIndex] [int] NOT NULL, + CONSTRAINT [PK_be_BlogRollItems] PRIMARY KEY CLUSTERED +( + [BlogRollRowId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET ANSI_PADDING OFF +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_Blogs]( + [BlogRowId] [int] IDENTITY(1,1) NOT NULL, + [BlogId] [uniqueidentifier] NOT NULL, + [BlogName] [nvarchar](255) NOT NULL, + [Hostname] [nvarchar](255) NOT NULL, + [IsAnyTextBeforeHostnameAccepted] [bit] NOT NULL, + [StorageContainerName] [nvarchar](255) NOT NULL, + [VirtualPath] [nvarchar](255) NOT NULL, + [IsPrimary] [bit] NOT NULL, + [IsActive] [bit] NOT NULL, + [IsSiteAggregation] [bit] NOT NULL, + CONSTRAINT [PK_be_Blogs] PRIMARY KEY CLUSTERED +( + [BlogRowId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_Categories]( + [CategoryRowID] [int] IDENTITY(1,1) NOT NULL, + [BlogID] [uniqueidentifier] NOT NULL, + [CategoryID] [uniqueidentifier] DEFAULT newid() NOT NULL, + [CategoryName] [nvarchar](50) NULL, + [Description] [nvarchar](200) NULL, + [ParentID] [uniqueidentifier] NULL, + CONSTRAINT [PK_be_Categories] PRIMARY KEY CLUSTERED +( + [CategoryRowID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_DataStoreSettings]( + [DataStoreSettingRowId] [int] IDENTITY(1,1) NOT NULL, + [BlogId] [uniqueidentifier] NOT NULL, + [ExtensionType] [nvarchar](50) NOT NULL, + [ExtensionId] [nvarchar](100) NOT NULL, + [Settings] [nvarchar](max) NOT NULL, + CONSTRAINT [PK_be_DataStoreSettings] PRIMARY KEY CLUSTERED +( + [DataStoreSettingRowId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +SET ANSI_PADDING ON +GO +CREATE TABLE [dbo].[be_FileStoreDirectory]( + [Id] [uniqueidentifier] NOT NULL, + [ParentID] [uniqueidentifier] NULL, + [BlogID] [uniqueidentifier] NOT NULL, + [Name] [varchar](255) NOT NULL, + [FullPath] [varchar](1000) NOT NULL, + [CreateDate] [datetime] NOT NULL, + [LastAccess] [datetime] NOT NULL, + [LastModify] [datetime] NOT NULL, + CONSTRAINT [PK_be_FileStoreDirectory] PRIMARY KEY CLUSTERED +( + [Id] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET ANSI_PADDING OFF +GO +SET QUOTED_IDENTIFIER ON +GO +SET ANSI_PADDING ON +GO +CREATE TABLE [dbo].[be_FileStoreFiles]( + [FileID] [uniqueidentifier] NOT NULL, + [ParentDirectoryID] [uniqueidentifier] NOT NULL, + [Name] [varchar](255) NOT NULL, + [FullPath] [varchar](255) NOT NULL, + [Contents] [varbinary](max) NOT NULL, + [Size] [int] NOT NULL, + [CreateDate] [datetime] NOT NULL, + [LastAccess] [datetime] NOT NULL, + [LastModify] [datetime] NOT NULL, + CONSTRAINT [PK_be_FileStoreFiles] PRIMARY KEY CLUSTERED +( + [FileID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET ANSI_PADDING OFF +GO +SET QUOTED_IDENTIFIER ON +GO +SET ANSI_PADDING ON +GO +CREATE TABLE [dbo].[be_FileStoreFileThumbs]( + [thumbnailId] [uniqueidentifier] NOT NULL, + [FileId] [uniqueidentifier] NOT NULL, + [size] [int] NOT NULL, + [contents] [varbinary](max) NOT NULL, + CONSTRAINT [PK_be_FileStoreFileThumbs] PRIMARY KEY CLUSTERED +( + [thumbnailId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET ANSI_PADDING OFF +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_PackageFiles]( + [PackageId] [nvarchar](128) NOT NULL, + [FileOrder] [int] NOT NULL, + [FilePath] [nvarchar](255) NOT NULL, + [IsDirectory] [bit] NOT NULL, + CONSTRAINT [PK_be_PackageFiles] PRIMARY KEY CLUSTERED +( + [PackageId] ASC, + [FilePath] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_Packages]( + [PackageId] [nvarchar](128) NOT NULL, + [Version] [nvarchar](128) NOT NULL, + CONSTRAINT [PK_be_Packages] PRIMARY KEY CLUSTERED +( + [PackageId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) +GO + +CREATE TABLE [dbo].[be_CustomFields]( + [CustomType] [nvarchar](25) NOT NULL, + [ObjectId] [nvarchar](100) NOT NULL, + [BlogId] [uniqueidentifier] NOT NULL, + [Key] [nvarchar](150) NOT NULL, + [Value] [nvarchar](max) NOT NULL, + [Attribute] [nvarchar](250) NULL +) +GO + +CREATE CLUSTERED INDEX [idx_be_CustomType_ObjectId_BlogId_Key] ON [dbo].[be_CustomFields] +( + [CustomType] ASC, + [ObjectId] ASC, + [BlogId] ASC, + [Key] ASC +) +GO + +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_Pages]( + [PageRowID] [int] IDENTITY(1,1) NOT NULL, + [BlogID] [uniqueidentifier] NOT NULL, + [PageID] [uniqueidentifier] DEFAULT newid() NOT NULL, + [Title] [nvarchar](255) NULL, + [Description] [nvarchar](max) NULL, + [PageContent] [nvarchar](max) NULL, + [Keywords] [nvarchar](max) NULL, + [DateCreated] [datetime] NULL, + [DateModified] [datetime] NULL, + [IsPublished] [bit] NULL, + [IsFrontPage] [bit] NULL, + [Parent] [uniqueidentifier] NULL, + [ShowInList] [bit] NULL, + [Slug] [nvarchar](255) NULL, + [IsDeleted] [bit] NOT NULL, + CONSTRAINT [PK_be_Pages] PRIMARY KEY CLUSTERED +( + [PageRowID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_PingService]( + [PingServiceID] [int] IDENTITY(1,1) NOT NULL, + [BlogID] [uniqueidentifier] NOT NULL, + [Link] [nvarchar](255) NULL, + CONSTRAINT [PK_be_PingService_1] PRIMARY KEY CLUSTERED +( + [PingServiceID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_PostCategory]( + [PostCategoryID] [int] IDENTITY(1,1) NOT NULL, + [BlogID] [uniqueidentifier] NOT NULL, + [PostID] [uniqueidentifier] NOT NULL, + [CategoryID] [uniqueidentifier] NOT NULL, + CONSTRAINT [PK_be_PostCategory_1] PRIMARY KEY CLUSTERED +( + [PostCategoryID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_PostComment]( + [PostCommentRowID] [int] IDENTITY(1,1) NOT NULL, + [BlogID] [uniqueidentifier] NOT NULL, + [PostCommentID] [uniqueidentifier] DEFAULT newid() NOT NULL, + [PostID] [uniqueidentifier] NOT NULL, + [ParentCommentID] [uniqueidentifier] NOT NULL, + [CommentDate] [datetime] NOT NULL, + [Author] [nvarchar](255) NULL, + [Email] [nvarchar](255) NULL, + [Website] [nvarchar](255) NULL, + [Comment] [nvarchar](max) NULL, + [Country] [nvarchar](255) NULL, + [Ip] [nvarchar](50) NULL, + [IsApproved] [bit] NULL, + [ModeratedBy] [nvarchar](100) NULL, + [Avatar] [nvarchar](255) NULL, + [IsSpam] [bit] NOT NULL, + [IsDeleted] [bit] NOT NULL, + CONSTRAINT [PK_be_PostComment] PRIMARY KEY CLUSTERED +( + [PostCommentRowID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_PostNotify]( + [PostNotifyID] [int] IDENTITY(1,1) NOT NULL, + [BlogID] [uniqueidentifier] NOT NULL, + [PostID] [uniqueidentifier] NOT NULL, + [NotifyAddress] [nvarchar](255) NULL, + CONSTRAINT [idx_be_PostCategory_BlogId_PostId] PRIMARY KEY CLUSTERED +( + [PostNotifyID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_Posts]( + [PostRowID] [int] IDENTITY(1,1) NOT NULL, + [BlogID] [uniqueidentifier] NOT NULL, + [PostID] [uniqueidentifier] DEFAULT newid() NOT NULL, + [Title] [nvarchar](255) NULL, + [Description] [nvarchar](max) NULL, + [PostContent] [nvarchar](max) NULL, + [DateCreated] [datetime] NULL, + [DateModified] [datetime] NULL, + [Author] [nvarchar](50) NULL, + [IsPublished] [bit] NULL, + [IsCommentEnabled] [bit] NULL, + [Raters] [int] NULL, + [Rating] [real] NULL, + [Slug] [nvarchar](255) NULL, + [IsDeleted] [bit] NOT NULL, + CONSTRAINT [PK_be_Posts] PRIMARY KEY CLUSTERED +( + [PostRowID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_PostTag]( + [PostTagID] [int] IDENTITY(1,1) NOT NULL, + [BlogID] [uniqueidentifier] NOT NULL, + [PostID] [uniqueidentifier] NOT NULL, + [Tag] [nvarchar](50) NULL, + CONSTRAINT [PK_be_PostTag] PRIMARY KEY CLUSTERED +( + [PostTagID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_Profiles]( + [ProfileID] [int] IDENTITY(1,1) NOT NULL, + [BlogID] [uniqueidentifier] NOT NULL, + [UserName] [nvarchar](100) NULL, + [SettingName] [nvarchar](200) NULL, + [SettingValue] [nvarchar](max) NULL, + CONSTRAINT [PK_be_Profiles] PRIMARY KEY CLUSTERED +( + [ProfileID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_QuickNotes]( + [QuickNoteID] [int] IDENTITY(1,1) NOT NULL, + [NoteID] [uniqueidentifier] NOT NULL, + [BlogID] [uniqueidentifier] NOT NULL, + [UserName] [nvarchar](100) NOT NULL, + [Note] [nvarchar](max) NOT NULL, + [Updated] [datetime] NULL, + CONSTRAINT [PK_be_QuickNotes] PRIMARY KEY CLUSTERED +( + [QuickNoteID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_QuickSettings]( + [QuickSettingID] [int] IDENTITY(1,1) NOT NULL, + [BlogID] [uniqueidentifier] NOT NULL, + [UserName] [nvarchar](100) NOT NULL, + [SettingName] [nvarchar](255) NOT NULL, + [SettingValue] [nvarchar](255) NOT NULL, + CONSTRAINT [PK_be_QuickSettings] PRIMARY KEY CLUSTERED +( + [QuickSettingID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +SET ANSI_PADDING ON +GO +CREATE TABLE [dbo].[be_Referrers]( + [ReferrerRowId] [int] IDENTITY(1,1) NOT NULL, + [BlogId] [uniqueidentifier] NOT NULL, + [ReferrerId] [uniqueidentifier] NOT NULL, + [ReferralDay] [datetime] NOT NULL, + [ReferrerUrl] [varchar](255) NOT NULL, + [ReferralCount] [int] NOT NULL, + [Url] [varchar](255) NULL, + [IsSpam] [bit] NULL, + CONSTRAINT [PK_be_Referrers] PRIMARY KEY CLUSTERED +( + [ReferrerRowId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET ANSI_PADDING OFF +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_RightRoles]( + [RightRoleRowId] [int] IDENTITY(1,1) NOT NULL, + [BlogId] [uniqueidentifier] NOT NULL, + [RightName] [nvarchar](100) NOT NULL, + [Role] [nvarchar](100) NOT NULL, + CONSTRAINT [PK_be_RightRoles] PRIMARY KEY CLUSTERED +( + [RightRoleRowId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_Rights]( + [RightRowId] [int] IDENTITY(1,1) NOT NULL, + [BlogId] [uniqueidentifier] NOT NULL, + [RightName] [nvarchar](100) NOT NULL, + CONSTRAINT [PK_be_Rights] PRIMARY KEY CLUSTERED +( + [RightRowId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +ALTER TABLE dbo.be_Rights +ADD CONSTRAINT AK_RightName UNIQUE (BlogId, RightName) + +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_Roles]( + [RoleID] [int] IDENTITY(1,1) NOT NULL, + [BlogID] [uniqueidentifier] NOT NULL, + [Role] [nvarchar](100) NOT NULL, + CONSTRAINT [PK_be_Roles] PRIMARY KEY CLUSTERED +( + [RoleID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_Settings]( + [SettingRowId] [int] IDENTITY(1,1) NOT NULL, + [BlogId] [uniqueidentifier] NOT NULL, + [SettingName] [nvarchar](50) NOT NULL, + [SettingValue] [nvarchar](max) NULL, + CONSTRAINT [PK_be_Settings] PRIMARY KEY CLUSTERED +( + [SettingRowId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +ALTER TABLE dbo.be_Settings +ADD CONSTRAINT AK_SettingName UNIQUE (BlogId, SettingName) + + +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_StopWords]( + [StopWordRowId] [int] IDENTITY(1,1) NOT NULL, + [BlogId] [uniqueidentifier] NOT NULL, + [StopWord] [nvarchar](50) NOT NULL, + CONSTRAINT [PK_be_StopWords] PRIMARY KEY CLUSTERED +( + [StopWordRowId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_UserRoles]( + [UserRoleID] [int] IDENTITY(1,1) NOT NULL, + [BlogID] [uniqueidentifier] NOT NULL, + [UserName] [nvarchar](100) NOT NULL, + [Role] [nvarchar](100) NOT NULL, + CONSTRAINT [PK_be_UserRoles] PRIMARY KEY CLUSTERED +( + [UserRoleID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET QUOTED_IDENTIFIER ON +GO +CREATE TABLE [dbo].[be_Users]( + [UserID] [int] IDENTITY(1,1) NOT NULL, + [BlogID] [uniqueidentifier] NOT NULL, + [UserName] [nvarchar](100) NOT NULL, + [Password] [nvarchar](255) NOT NULL, + [LastLoginTime] [datetime] NULL, + [EmailAddress] [nvarchar](100) NULL, + CONSTRAINT [PK_be_Users] PRIMARY KEY CLUSTERED +( + [UserID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +) + +GO +SET IDENTITY_INSERT [dbo].[be_BlogRollItems] ON + +GO +INSERT [dbo].[be_BlogRollItems] ([BlogRollRowId], [BlogId], [BlogRollId], [Title], [Description], [BlogUrl], [FeedUrl], [Xfn], [SortIndex]) VALUES (1, N'27604f05-86ad-47ef-9e05-950bb762570c', N'890f00e5-3a86-4cba-b85b-104063964a87', N'Ben Amada', N'adventures in application development', N'http://allben.net/', N'http://feeds.feedburner.com/allben', N'contact', 5) +GO +INSERT [dbo].[be_BlogRollItems] ([BlogRollRowId], [BlogId], [BlogRollId], [Title], [Description], [BlogUrl], [FeedUrl], [Xfn], [SortIndex]) VALUES (2, N'27604f05-86ad-47ef-9e05-950bb762570c', N'7f906880-4316-47f1-a934-1a912fc02f8b', N'Russell van der Walt', N'an adventure in web technologies', N'http://blog.ruski.co.za/', N'http://feeds.feedburner.com/rusvdw', N'contact', 4) +GO +INSERT [dbo].[be_BlogRollItems] ([BlogRollRowId], [BlogId], [BlogRollId], [Title], [Description], [BlogUrl], [FeedUrl], [Xfn], [SortIndex]) VALUES (3, N'27604f05-86ad-47ef-9e05-950bb762570c', N'dcdaa78b-0b77-4691-99f0-1bb6418945a1', N'Ruslan Tur', N'.NET and Open Source: better together', N'http://rtur.net/blog/', N'http://feeds.feedburner.com/rtur', N'contact', 2) +GO +INSERT [dbo].[be_BlogRollItems] ([BlogRollRowId], [BlogId], [BlogRollId], [Title], [Description], [BlogUrl], [FeedUrl], [Xfn], [SortIndex]) VALUES (4, N'27604f05-86ad-47ef-9e05-950bb762570c', N'8a846489-b69e-4fde-b2b2-53bc6104a6fa', N'John Dyer', N'Technology and web development in ASP.NET, Flash, and JavaScript', N'http://johndyer.name/', N'http://johndyer.name/syndication.axd', N'contact', 3) +GO +INSERT [dbo].[be_BlogRollItems] ([BlogRollRowId], [BlogId], [BlogRollId], [Title], [Description], [BlogUrl], [FeedUrl], [Xfn], [SortIndex]) VALUES (5, N'27604f05-86ad-47ef-9e05-950bb762570c', N'25e4d8da-3278-4e58-b0bf-932496dabc96', N'Mads Kristensen', N'Full featured simplicity in ASP.NET and C#', N'http://madskristensen.net', N'http://feeds.feedburner.com/netslave', N'contact', 0) +GO +INSERT [dbo].[be_BlogRollItems] ([BlogRollRowId], [BlogId], [BlogRollId], [Title], [Description], [BlogUrl], [FeedUrl], [Xfn], [SortIndex]) VALUES (6, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ccc817ef-e760-482b-b82f-a6854663110f', N'Al Nyveldt', N'Adventures in Code and Other Stories', N'http://www.nyveldt.com/blog/', N'http://feeds.feedburner.com/razorant', N'contact', 1) +GO +SET IDENTITY_INSERT [dbo].[be_BlogRollItems] OFF +GO +SET IDENTITY_INSERT [dbo].[be_Blogs] ON + +GO +INSERT [dbo].[be_Blogs] ([BlogRowId], [BlogId], [BlogName], [Hostname], [IsAnyTextBeforeHostnameAccepted], [StorageContainerName], [VirtualPath], [IsPrimary], [IsActive], [IsSiteAggregation]) VALUES (1, N'27604f05-86ad-47ef-9e05-950bb762570c', N'Primary', N'', 0, N'', N'~/', 1, 1, 0) +GO +SET IDENTITY_INSERT [dbo].[be_Blogs] OFF +GO +SET IDENTITY_INSERT [dbo].[be_Categories] ON + +GO +INSERT [dbo].[be_Categories] ([CategoryRowID], [BlogID], [CategoryID], [CategoryName], [Description], [ParentID]) VALUES (1, N'27604f05-86ad-47ef-9e05-950bb762570c', N'f5962d4c-6c54-4a99-860c-f7e8c1f255d9', N'General', NULL, NULL) +GO +SET IDENTITY_INSERT [dbo].[be_Categories] OFF +GO +SET IDENTITY_INSERT [dbo].[be_DataStoreSettings] ON + +GO +INSERT [dbo].[be_DataStoreSettings] ([DataStoreSettingRowId], [BlogId], [ExtensionType], [ExtensionId], [Settings]) VALUES (1, N'27604f05-86ad-47ef-9e05-950bb762570c', N'1', N'be_WIDGET_ZONE', N' + + <widgets><widget id="d9ada63d-3462-4c72-908e-9d35f0acce40" title="TextBox" showTitle="True">TextBox</widget><widget id="19baa5f6-49d4-4828-8f7f-018535c35f94" title="Administration" showTitle="True">Administration</widget><widget id="d81c5ae3-e57e-4374-a539-5cdee45e639f" title="Search" showTitle="True">Search</widget><widget id="77142800-6dff-4016-99ca-69b5c5ebac93" title="Tag Cloud" showTitle="True">TagCloud</widget><widget id="4ce68ae7-c0c8-4bf8-b50f-a67b582b0d2e" title="Post List" showTitle="True">PostList</widget></widgets> +') +GO +INSERT [dbo].[be_DataStoreSettings] ([DataStoreSettingRowId], [BlogId], [ExtensionType], [ExtensionId], [Settings]) VALUES (113, N'27604f05-86ad-47ef-9e05-950bb762570c', N'0', N'MetaExtension', N' + + + BlogEngine.net + Meta extension + true + 0 + + 44 + + false + 0 + false + ID + BeCommentFilters + + true + + 20 + ID + Integer + true + + + + false + + 100 + Action + String + false + + + + false + + 100 + Subject + String + false + + + + false + + 100 + Operator + String + false + + + + false + + 100 + Filter + String + false + + + true + true + true + + + 44 + + false + 1 + false + FullName + BeCustomFilters + + true + + 100 + FullName + String + true + + App_Code.Extensions.TypePadFilter + App_Code.Extensions.StopForumSpam + App_Code.Extensions.AkismetFilter + + + false + + 100 + Name + String + false + + TypePadFilter + StopForumSpam + AkismetFilter + + + false + + 100 + Checked + String + false + + 0 + 0 + 0 + + + false + + 100 + Cought + String + false + + 0 + 0 + 0 + + + false + + 100 + Reported + String + false + + 0 + 0 + 0 + + + false + + 100 + Priority + String + false + + 0 + 0 + 0 + + true + true + true + + true + 1.0 +') +GO +INSERT [dbo].[be_DataStoreSettings] ([DataStoreSettingRowId], [BlogId], [ExtensionType], [ExtensionId], [Settings]) VALUES (114, N'27604f05-86ad-47ef-9e05-950bb762570c', N'0', N'SyntaxHighlighter', N' + + + <a target="_blank" href="http://dotnetblogengine.net/">BlogEngine.NET</a> + Adds <a target="_blank" href="http://alexgorbatchev.com/wiki/SyntaxHighlighter">Alex Gorbatchev''s</a> source code formatter + true + 0 + + 44 + <p>This extension implements excellent Alex Gorbatchev''s syntax highlighter JS library for source code formatting. Please refer to <a target="_blank" href="http://alexgorbatchev.com/wiki/SyntaxHighlighter:Usage">this site</a> for usage.</p> +<p><b>auto-links</b>: Allows you to turn detection of links in the highlighted element on and off. If the option is turned off, URLs won''t be clickable.</p> +<p><b>collapse</b>: Allows you to force highlighted elements on the page to be collapsed by default.</p> +<p><b>gutter</b>: Allows you to turn gutter with line numbers on and off.</p> +<p><b>light</b>: Allows you to disable toolbar and gutter with a single property.</p> +<p><b>smart-tabs</b>: Allows you to turn smart tabs feature on and off.</p> +<p><b>tab-size</b>: Allows you to adjust tab size.</p> +<p><b>toolbar</b>: Toggles toolbar on/off.</p> +<p><b>wrap-lines</b>: Allows you to turn line wrapping feature on and off.</p> +<p><a target="_blank" href="http://alexgorbatchev.com/wiki/SyntaxHighlighter:Configuration">more...</a></p> + + false + 0 + true + gutter + Options + + false + + 100 + gutter + Boolean + false + + True + + + false + + 100 + smart-tabs + Boolean + false + + True + + + false + + 100 + auto-links + Boolean + false + + True + + + false + + 100 + collapse + Boolean + false + + False + + + false + + 100 + light + Boolean + false + + False + + + false + + 100 + tab-size + Integer + false + + 4 + + + false + + 100 + toolbar + Boolean + false + + True + + + false + + 100 + wrap-lines + Boolean + false + + True + + true + true + true + + + 44 + + false + 1 + true + shBrushBash + Brushes + + false + + 100 + shBrushBash + Boolean + false + + False + + + false + + 100 + shBrushCpp + Boolean + false + + False + + + false + + 100 + shBrushCSharp + Boolean + false + + True + + + false + + 100 + shBrushCss + Boolean + false + + True + + + false + + 100 + shBrushDelphi + Boolean + false + + False + + + false + + 100 + shBrushDiff + Boolean + false + + False + + + false + + 100 + shBrushGroovy + Boolean + false + + False + + + false + + 100 + shBrushJava + Boolean + false + + False + + + false + + 100 + shBrushJScript + Boolean + false + + True + + + false + + 100 + shBrushPhp + Boolean + false + + False + + + false + + 100 + shBrushPlain + Boolean + false + + True + + + false + + 100 + shBrushPython + Boolean + false + + False + + + false + + 100 + shBrushRuby + Boolean + false + + False + + + false + + 100 + shBrushScala + Boolean + false + + False + + + false + + 100 + shBrushSql + Boolean + false + + True + + + false + + 100 + shBrushVb + Boolean + false + + True + + + false + + 100 + shBrushXml + Boolean + false + + True + + + false + + 100 + shBrushColdFusion + Boolean + false + + False + + + false + + 100 + shBrushErlang + Boolean + false + + False + + + false + + 100 + shBrushJavaFX + Boolean + false + + False + + + false + + 100 + shBrushPerl + Boolean + false + + False + + + false + + 100 + shBrushPowerShell + Boolean + false + + False + + true + true + true + + + 44 + + false + 2 + true + SelectedTheme + Themes + + false + + 20 + SelectedTheme + ListBox + false + Default + Default + Django + Eclipse + Emacs + FadeToGrey + MDUltra + Midnight + Dark + + true + true + true + + true + 2.5 +') +GO +INSERT [dbo].[be_DataStoreSettings] ([DataStoreSettingRowId], [BlogId], [ExtensionType], [ExtensionId], [Settings]) VALUES (115, N'27604f05-86ad-47ef-9e05-950bb762570c', N'0', N'BBCode', N' + + + <a href="http://dotnetblogengine.net">BlogEngine.NET</a> + Converts BBCode to XHTML in the comments + true + 0 + true + 1.0 +') +GO +INSERT [dbo].[be_DataStoreSettings] ([DataStoreSettingRowId], [BlogId], [ExtensionType], [ExtensionId], [Settings]) VALUES (116, N'27604f05-86ad-47ef-9e05-950bb762570c', N'0', N'Logger', N' + + + BlogEngine.NET + Subscribes to Log events and records the events in a file. + true + 0 + true + 1.0 +') +GO +INSERT [dbo].[be_DataStoreSettings] ([DataStoreSettingRowId], [BlogId], [ExtensionType], [ExtensionId], [Settings]) VALUES (117, N'27604f05-86ad-47ef-9e05-950bb762570c', N'0', N'TypePadFilter', N' + + + <a href="http://lucsiferre.net">By Chris Nicola</a> + TypePad anti-spam comment filter (based on AkismetFilter) + false + 0 + + 44 + + false + 0 + true + SiteURL + TypePadFilter + + false + + 100 + SiteURL + String + false + + http://example.com/blog + + + false + + 100 + ApiKey + String + false + + 123456789 + + true + true + true + + true + 1.0 +') +GO +INSERT [dbo].[be_DataStoreSettings] ([DataStoreSettingRowId], [BlogId], [ExtensionType], [ExtensionId], [Settings]) VALUES (118, N'27604f05-86ad-47ef-9e05-950bb762570c', N'0', N'MediaElementPlayer', N' + + + <a href="http://johndyer.me/">John Dyer</a> + HTML5 Video/Audio Player + true + 0 + + 44 + +<p>Build on <a href="http://mediaelement.js.com/">MediaElement.js</a>, the HTML5 video/audio player.</p> + +<ol> + <li>Upload media files to your /media/ folder</li> + <li>Add short code to your media: [video src="myfile.mp4"] for video and [audio src="myfile.mp3"] for audio</li> + <li>Customize with the following parameters: + <ul> + <li><b>width</b>: The exact width of the video</li> + <li><b>height</b>: The exact height of the video</li> + <li><b>autoplay</b>: Plays the video as soon as the webpage loads</li> + </ul> + </li> + <li>You can also specify multiple file formats and codecs + <ul> + <li><b>mp4</b>: H.264 encoded MP4 file</li> + <li><b>webm</b>: VP8/WebM encoded file</li> + <li><b>ogg</b>: Theora/Vorbis encoded file</li> + </ul> + </li> +</ol> + +<p>A complete example:<br /> +[code mp4="myfile.mp4" webm="myfile.webm" ogg="myfile.ogg" width="480" height="360"] +</p> + +<p>Supported formats</p> +<ul> + <li><b>MP4/MP3</b>: Native HTML5 for IE9, Safari, Chrome; Flash in IE8, Firefox, Opera</li> + <li><b>WebM</b>: HTML5 for IE9, Chrome, Firefox, Opera; Flash in IE8 (coming in Flash 11)</li> + <li><b>FLV</b>: Flash fallback</li> + <li><b>WMV/WMA</b>: Silverlight fallback</li> +</ul> + + false + 0 + true + width + MediaElementPlayer + + false + + 100 + width + String + false + + 480 + + + false + + 100 + height + String + false + + 360 + + + false + + 100 + folder + String + false + + media + + true + true + true + + true + 1.5 +') +GO +INSERT [dbo].[be_DataStoreSettings] ([DataStoreSettingRowId], [BlogId], [ExtensionType], [ExtensionId], [Settings]) VALUES (119, N'27604f05-86ad-47ef-9e05-950bb762570c', N'0', N'ResolveLinks', N' + + + BlogEngine.NET + Auto resolves URLs in the comments and turn them into valid hyperlinks. + true + 0 + true + 1.5 +') +GO +INSERT [dbo].[be_DataStoreSettings] ([DataStoreSettingRowId], [BlogId], [ExtensionType], [ExtensionId], [Settings]) VALUES (120, N'27604f05-86ad-47ef-9e05-950bb762570c', N'0', N'SendPings', N' + + + BlogEngine.NET + Pings all the ping services specified on the PingServices admin page and send track- and pingbacks + true + 0 + true + 1.3 +') +GO +INSERT [dbo].[be_DataStoreSettings] ([DataStoreSettingRowId], [BlogId], [ExtensionType], [ExtensionId], [Settings]) VALUES (121, N'27604f05-86ad-47ef-9e05-950bb762570c', N'0', N'BreakPost', N' + + + BlogEngine.NET + Breaks a post where [more] is found in the body and adds a link to full post + true + 0 + true + 1.4 +') +GO +INSERT [dbo].[be_DataStoreSettings] ([DataStoreSettingRowId], [BlogId], [ExtensionType], [ExtensionId], [Settings]) VALUES (122, N'27604f05-86ad-47ef-9e05-950bb762570c', N'0', N'AkismetFilter', N' + + + <a href="http://dotnetblogengine.net">BlogEngine.NET</a> + Akismet anti-spam comment filter + false + 0 + + 44 + + false + 0 + true + SiteURL + AkismetFilter + + false + + 100 + SiteURL + String + false + + http://example.com/blog + + + false + + 100 + ApiKey + String + false + + 123456789 + + true + true + true + + true + 1.0 +') +GO +INSERT [dbo].[be_DataStoreSettings] ([DataStoreSettingRowId], [BlogId], [ExtensionType], [ExtensionId], [Settings]) VALUES (123, N'27604f05-86ad-47ef-9e05-950bb762570c', N'0', N'SendCommentMail', N' + + + BlogEngine.NET + Sends an e-mail to the blog owner whenever a comment is added + true + 0 + true + 1.3 +') +GO +INSERT [dbo].[be_DataStoreSettings] ([DataStoreSettingRowId], [BlogId], [ExtensionType], [ExtensionId], [Settings]) VALUES (124, N'27604f05-86ad-47ef-9e05-950bb762570c', N'0', N'Smilies', N' + + + BlogEngine.NET + Converts ASCII smilies into real smilies in the comments + true + 0 + true + 1.3 +') +GO +INSERT [dbo].[be_DataStoreSettings] ([DataStoreSettingRowId], [BlogId], [ExtensionType], [ExtensionId], [Settings]) VALUES (125, N'27604f05-86ad-47ef-9e05-950bb762570c', N'0', N'CodeFormatterExtension', N' + + + www.manoli.net + Converts text to formatted syntax highlighted code (beta). + true + 0 + true + 0.1 +') +GO +INSERT [dbo].[be_DataStoreSettings] ([DataStoreSettingRowId], [BlogId], [ExtensionType], [ExtensionId], [Settings]) VALUES (126, N'27604f05-86ad-47ef-9e05-950bb762570c', N'0', N'SimpleCaptcha', N' + + + <a href="http://www.aaronstannard.com">Aaron Stannard</a> + Settings for the SimpleCaptcha control + false + 0 + + 44 + To get started with SimpleCaptcha, just provide some captcha instructions for your users in the <b>CaptchaLabel</b> + field and the value you require from your users in order to post a comment in the <b>CaptchaAnswer</b> field. + false + 0 + true + CaptchaLabel + SimpleCaptcha + + true + + 30 + CaptchaLabel + String + true + + 5+5 = + + + true + + 30 + CaptchaAnswer + String + true + + 10 + + + false + + 1 + ShowForAuthenticatedUsers + Boolean + true + + False + + true + true + true + + true + 1.0 +') +GO +INSERT [dbo].[be_DataStoreSettings] ([DataStoreSettingRowId], [BlogId], [ExtensionType], [ExtensionId], [Settings]) VALUES (127, N'27604f05-86ad-47ef-9e05-950bb762570c', N'0', N'Recaptcha', N' + + + <a href="http://www.bloodforge.com">Bloodforge.com</a> + Settings for the Recaptcha control + false + 0 + + 44 + +<script type=''text/javascript''> +function showRecaptchaLog() { + window.scrollTo(0, 0); + var width = document.documentElement.clientWidth + document.documentElement.scrollLeft; + var height = document.documentElement.clientHeight + document.documentElement.scrollTop; + + var layer = document.createElement(''div''); + layer.style.zIndex = 1002; + layer.id = ''RecaptchaLogLayer''; + layer.style.position = ''absolute''; + layer.style.top = ''0px''; + layer.style.left = ''0px''; + layer.style.height = document.documentElement.scrollHeight + ''px''; + layer.style.width = width + ''px''; + layer.style.backgroundColor = ''black''; + layer.style.opacity = ''.6''; + layer.style.filter += (''progid:DXImageTransform.Microsoft.Alpha(opacity=60)''); + document.body.style.position = ''static''; + document.body.appendChild(layer); + + var size = { ''height'': 500, ''width'': 750 }; + var iframe = document.createElement(''iframe''); + iframe.name = ''Recaptcha Log Viewer''; + iframe.id = ''RecaptchaLogDetails''; + iframe.src = ''../Pages/RecaptchaLogViewer.aspx''; + iframe.style.height = size.height + ''px''; + iframe.style.width = size.width + ''px''; + iframe.style.position = ''fixed''; + iframe.style.zIndex = 1003; + iframe.style.backgroundColor = ''white''; + iframe.style.border = ''4px solid silver''; + iframe.frameborder = ''0''; + + iframe.style.top = ((height + document.documentElement.scrollTop) / 2) - (size.height / 2) + ''px''; + iframe.style.left = (width / 2) - (size.width / 2) + ''px''; + + document.body.appendChild(iframe); + return false; + } +</script> +You can create your own public key at <a href=''http://www.Recaptcha.net''>http://www.Recaptcha.net</a>. This is used for communication between your website and the recapcha server.<br /><br />Please rememeber you need to <span style="color:red">enable extension</span> for reCaptcha to show up on the comments form.<br /><br />You can see some statistics on Captcha solving by storing successful attempts. If you''re getting spam, this should also confirm that the spammers are at least solving the captcha.<br /><br /><a href=''../Pages/RecaptchaLogViewer.aspx'' target=''_blank'' onclick=''return showRecaptchaLog()''>Click here to view the log</a> + false + 0 + true + PublicKey + Recaptcha + + true + + 50 + PublicKey + String + true + + YOURPUBLICKEY + + + true + + 50 + PrivateKey + String + true + + YOURPRIVATEKEY + + + false + + 1 + ShowForAuthenticatedUsers + Boolean + true + + False + + + false + + 4 + MaxLogEntries + Integer + true + + 50 + + + false + + 20 + Theme + DropDown + true + white + red + white + blackglass + clean + + + false + + 5 + Language + DropDown + true + en + en|English + nl|Dutch + fr|French + de|German + pt|Portuguese + ru|Russian + es|Spanish + tr|Turkish + + true + true + true + + + 44 + + true + 1 + false + Response + RecaptchaLog + + false + + 100 + Response + String + false + + + + false + + 100 + Challenge + String + false + + + + false + + 100 + CommentID + String + false + + + + false + + 100 + TimeToComment + String + false + + + + false + + 100 + TimeToSolveCapcha + String + false + + + + false + + 100 + NumberOfAttempts + String + false + + + + false + + 100 + Enabled + String + false + + + + false + + 100 + Necessary + String + false + + + true + true + true + + true + 1.1 +') +GO +SET IDENTITY_INSERT [dbo].[be_DataStoreSettings] OFF +GO +SET IDENTITY_INSERT [dbo].[be_PingService] ON +GO +INSERT [dbo].[be_PingService] ([PingServiceID], [BlogID], [Link]) VALUES (1, N'27604f05-86ad-47ef-9e05-950bb762570c', N'http://rpc.technorati.com/rpc/ping') +GO +INSERT [dbo].[be_PingService] ([PingServiceID], [BlogID], [Link]) VALUES (2, N'27604f05-86ad-47ef-9e05-950bb762570c', N'http://rpc.pingomatic.com/rpc2') +GO +INSERT [dbo].[be_PingService] ([PingServiceID], [BlogID], [Link]) VALUES (3, N'27604f05-86ad-47ef-9e05-950bb762570c', N'http://ping.feedburner.com') +GO +INSERT [dbo].[be_PingService] ([PingServiceID], [BlogID], [Link]) VALUES (4, N'27604f05-86ad-47ef-9e05-950bb762570c', N'http://www.bloglines.com/ping') +GO +INSERT [dbo].[be_PingService] ([PingServiceID], [BlogID], [Link]) VALUES (5, N'27604f05-86ad-47ef-9e05-950bb762570c', N'http://services.newsgator.com/ngws/xmlrpcping.aspx') +GO +INSERT [dbo].[be_PingService] ([PingServiceID], [BlogID], [Link]) VALUES (6, N'27604f05-86ad-47ef-9e05-950bb762570c', N'http://api.my.yahoo.com/rpc2 ') +GO +INSERT [dbo].[be_PingService] ([PingServiceID], [BlogID], [Link]) VALUES (7, N'27604f05-86ad-47ef-9e05-950bb762570c', N'http://blogsearch.google.com/ping/RPC2') +GO +INSERT [dbo].[be_PingService] ([PingServiceID], [BlogID], [Link]) VALUES (8, N'27604f05-86ad-47ef-9e05-950bb762570c', N'http://rpc.pingthesemanticweb.com/') +GO +SET IDENTITY_INSERT [dbo].[be_PingService] OFF +GO +SET IDENTITY_INSERT [dbo].[be_PostCategory] ON + +GO +INSERT [dbo].[be_PostCategory] ([PostCategoryID], [BlogID], [PostID], [CategoryID]) VALUES (1, N'27604f05-86ad-47ef-9e05-950bb762570c', N'f50d9b47-ed25-4925-a03a-3dab5fd45b28', N'f5962d4c-6c54-4a99-860c-f7e8c1f255d9') +GO +SET IDENTITY_INSERT [dbo].[be_PostCategory] OFF +GO +SET IDENTITY_INSERT [dbo].[be_Posts] ON + +GO +INSERT [dbo].[be_Posts] ([PostRowID], [BlogID], [PostID], [Title], [Description], [PostContent], [DateCreated], [DateModified], [Author], [IsPublished], [IsCommentEnabled], [Raters], [Rating], [Slug], [IsDeleted]) VALUES (1, N'27604f05-86ad-47ef-9e05-950bb762570c', N'f50d9b47-ed25-4925-a03a-3dab5fd45b28', N'Welcome to BlogEngine.NET using Microsoft SQL Server', N'The description is used as the meta description as well as shown in the related posts. It is recommended that you write a description, but not mandatory', +N'

If you see this post it means that BlogEngine.NET is running and the hard part of creating your own blog is done. There is only a few things left to do.

+

Write Permissions

+

To be able to log in, write posts and customize blog, you need to enable write permissions on the App_Data and Custom folders. If your blog is hosted at a hosting provider, you can either log into your account’s admin page or call the support.

+

If you wish to use a database to store your blog data, we still encourage you to enable this write access for an images you may wish to store for your blog posts.  If you are interested in using Microsoft SQL Server, MySQL, SQL CE, or other databases, please see the BlogEngine docs to get started.

+

Security

+

When you`ve got write permissions set, you need to change the username and password. Find the sign-in link located either at the bottom or top of the page depending on your current theme and click it. Now enter "admin" in both the username and password fields and click the button. You will now see an admin menu appear. It has a link to the "Users" admin page. From there you can change password, create new users and set roles and permissions. Passwords are hashed by default so you better configure email in settings for password recovery to work or learn how to do it manually.

+

Configuration and Profile

+

Now that you have your blog secured, take a look through the settings and give your new blog a title.  BlogEngine.NET is set up to take full advantage of many semantic formats and technologies such as FOAF, SIOC and APML. It means that the content stored in your BlogEngine.NET installation will be fully portable and auto-discoverable.  Be sure to fill in your author profile to take better advantage of this.

+

Themes, Widgets & Extensions

+

One last thing to consider is customizing the look and behavior of your blog. We have themes, widgets and extensions available right out of the box. You can install more right from admin panel under Custom/Gallery.

+

On the web

+

You can find news about BlogEngine.NET on the official website. For tutorials, documentation, tips and tricks visit our docs site. The ongoing development of BlogEngine.NET can be followed at CodePlex where the daily builds will be published for anyone to download.

+

Good luck and happy writing.

+

The BlogEngine.NET team

', GETDATE(), NULL, N'admin', 1, NULL, NULL, NULL, NULL, 0) +GO +SET IDENTITY_INSERT [dbo].[be_Posts] OFF +GO +SET IDENTITY_INSERT [dbo].[be_PostTag] ON + +GO +INSERT [dbo].[be_PostTag] ([PostTagID], [BlogID], [PostID], [Tag]) VALUES (1, N'27604f05-86ad-47ef-9e05-950bb762570c', N'f50d9b47-ed25-4925-a03a-3dab5fd45b28', N'blog') +GO +INSERT [dbo].[be_PostTag] ([PostTagID], [BlogID], [PostID], [Tag]) VALUES (2, N'27604f05-86ad-47ef-9e05-950bb762570c', N'f50d9b47-ed25-4925-a03a-3dab5fd45b28', N'welcome') +GO +SET IDENTITY_INSERT [dbo].[be_PostTag] OFF +GO +SET IDENTITY_INSERT [dbo].[be_RightRoles] ON + +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26066, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewDetailedErrorMessages', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26067, N'27604f05-86ad-47ef-9e05-950bb762570c', N'AccessAdminPages', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26068, N'27604f05-86ad-47ef-9e05-950bb762570c', N'AccessAdminPages', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26069, N'27604f05-86ad-47ef-9e05-950bb762570c', N'AccessAdminSettingsPages', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26070, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManageWidgets', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26071, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewPublicComments', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26072, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewPublicComments', N'Anonymous') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26073, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewPublicComments', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26074, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewUnmoderatedComments', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26075, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewUnmoderatedComments', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26076, N'27604f05-86ad-47ef-9e05-950bb762570c', N'CreateComments', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26077, N'27604f05-86ad-47ef-9e05-950bb762570c', N'CreateComments', N'Anonymous') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26078, N'27604f05-86ad-47ef-9e05-950bb762570c', N'CreateComments', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26079, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ModerateComments', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26080, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ModerateComments', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26081, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewPublicPosts', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26082, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewPublicPosts', N'Anonymous') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26083, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewPublicPosts', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26084, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewUnpublishedPosts', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26085, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewUnpublishedPosts', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26086, N'27604f05-86ad-47ef-9e05-950bb762570c', N'CreateNewPosts', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26087, N'27604f05-86ad-47ef-9e05-950bb762570c', N'CreateNewPosts', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26088, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditOwnPosts', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26089, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditOwnPosts', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26090, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditOtherUsersPosts', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26091, N'27604f05-86ad-47ef-9e05-950bb762570c', N'DeleteOwnPosts', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26092, N'27604f05-86ad-47ef-9e05-950bb762570c', N'DeleteOwnPosts', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26093, N'27604f05-86ad-47ef-9e05-950bb762570c', N'DeleteOtherUsersPosts', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26094, N'27604f05-86ad-47ef-9e05-950bb762570c', N'PublishOwnPosts', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26095, N'27604f05-86ad-47ef-9e05-950bb762570c', N'PublishOwnPosts', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26096, N'27604f05-86ad-47ef-9e05-950bb762570c', N'PublishOtherUsersPosts', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26097, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewPublicPages', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26098, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewPublicPages', N'Anonymous') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26099, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewPublicPages', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26100, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewUnpublishedPages', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26101, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewUnpublishedPages', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26102, N'27604f05-86ad-47ef-9e05-950bb762570c', N'CreateNewPages', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26103, N'27604f05-86ad-47ef-9e05-950bb762570c', N'CreateNewPages', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26104, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditOwnPages', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26105, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditOwnPages', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26113, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewRatingsOnPosts', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26114, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewRatingsOnPosts', N'Anonymous') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26115, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewRatingsOnPosts', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26116, N'27604f05-86ad-47ef-9e05-950bb762570c', N'SubmitRatingsOnPosts', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26117, N'27604f05-86ad-47ef-9e05-950bb762570c', N'SubmitRatingsOnPosts', N'Anonymous') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26118, N'27604f05-86ad-47ef-9e05-950bb762570c', N'SubmitRatingsOnPosts', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26119, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewRoles', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26120, N'27604f05-86ad-47ef-9e05-950bb762570c', N'CreateNewRoles', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26121, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditRoles', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26122, N'27604f05-86ad-47ef-9e05-950bb762570c', N'DeleteRoles', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26123, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditOwnRoles', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26124, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditOtherUsersRoles', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26125, N'27604f05-86ad-47ef-9e05-950bb762570c', N'CreateNewUsers', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26126, N'27604f05-86ad-47ef-9e05-950bb762570c', N'DeleteUserSelf', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26127, N'27604f05-86ad-47ef-9e05-950bb762570c', N'DeleteUsersOtherThanSelf', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26128, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditOwnUser', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26129, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditOwnUser', N'Editors') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26130, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditOtherUsers', N'Administrators') +GO +SET IDENTITY_INSERT [dbo].[be_RightRoles] OFF +GO +SET IDENTITY_INSERT [dbo].[be_Rights] ON + +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16041, N'27604f05-86ad-47ef-9e05-950bb762570c', N'None') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16042, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewDetailedErrorMessages') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16043, N'27604f05-86ad-47ef-9e05-950bb762570c', N'AccessAdminPages') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16044, N'27604f05-86ad-47ef-9e05-950bb762570c', N'AccessAdminSettingsPages') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16045, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManageWidgets') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16046, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewPublicComments') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16047, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewUnmoderatedComments') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16048, N'27604f05-86ad-47ef-9e05-950bb762570c', N'CreateComments') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16049, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ModerateComments') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16050, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewPublicPosts') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16051, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewUnpublishedPosts') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16052, N'27604f05-86ad-47ef-9e05-950bb762570c', N'CreateNewPosts') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16053, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditOwnPosts') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16054, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditOtherUsersPosts') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16055, N'27604f05-86ad-47ef-9e05-950bb762570c', N'DeleteOwnPosts') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16056, N'27604f05-86ad-47ef-9e05-950bb762570c', N'DeleteOtherUsersPosts') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16057, N'27604f05-86ad-47ef-9e05-950bb762570c', N'PublishOwnPosts') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16058, N'27604f05-86ad-47ef-9e05-950bb762570c', N'PublishOtherUsersPosts') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16059, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewPublicPages') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16060, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewUnpublishedPages') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16061, N'27604f05-86ad-47ef-9e05-950bb762570c', N'CreateNewPages') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16062, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditOwnPages') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16068, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewRatingsOnPosts') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16069, N'27604f05-86ad-47ef-9e05-950bb762570c', N'SubmitRatingsOnPosts') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16070, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewRoles') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16071, N'27604f05-86ad-47ef-9e05-950bb762570c', N'CreateNewRoles') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16072, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditRoles') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16073, N'27604f05-86ad-47ef-9e05-950bb762570c', N'DeleteRoles') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16074, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditOwnRoles') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16075, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditOtherUsersRoles') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16076, N'27604f05-86ad-47ef-9e05-950bb762570c', N'CreateNewUsers') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16077, N'27604f05-86ad-47ef-9e05-950bb762570c', N'DeleteUserSelf') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16078, N'27604f05-86ad-47ef-9e05-950bb762570c', N'DeleteUsersOtherThanSelf') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16079, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditOwnUser') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16080, N'27604f05-86ad-47ef-9e05-950bb762570c', N'EditOtherUsers') +GO +SET IDENTITY_INSERT [dbo].[be_Rights] OFF +GO +SET IDENTITY_INSERT [dbo].[be_Roles] ON + +GO +INSERT [dbo].[be_Roles] ([RoleID], [BlogID], [Role]) VALUES (1, N'27604f05-86ad-47ef-9e05-950bb762570c', N'Administrators') +GO +INSERT [dbo].[be_Roles] ([RoleID], [BlogID], [Role]) VALUES (6, N'27604f05-86ad-47ef-9e05-950bb762570c', N'Anonymous') +GO +INSERT [dbo].[be_Roles] ([RoleID], [BlogID], [Role]) VALUES (2, N'27604f05-86ad-47ef-9e05-950bb762570c', N'Editors') +GO +SET IDENTITY_INSERT [dbo].[be_Roles] OFF +GO +SET IDENTITY_INSERT [dbo].[be_Settings] ON + +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (1, N'27604f05-86ad-47ef-9e05-950bb762570c', N'administratorrole', N'Administrators') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (2, N'27604f05-86ad-47ef-9e05-950bb762570c', N'alternatefeedurl', N'') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (3, N'27604f05-86ad-47ef-9e05-950bb762570c', N'authorname', N'My name') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (4, N'27604f05-86ad-47ef-9e05-950bb762570c', N'avatar', N'combine') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (5, N'27604f05-86ad-47ef-9e05-950bb762570c', N'blogrollmaxlength', N'23') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (6, N'27604f05-86ad-47ef-9e05-950bb762570c', N'blogrollupdateminutes', N'60') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (7, N'27604f05-86ad-47ef-9e05-950bb762570c', N'blogrollvisibleposts', N'3') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (8, N'27604f05-86ad-47ef-9e05-950bb762570c', N'contactformmessage', N'

I will answer the mail as soon as I can.

') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (9, N'27604f05-86ad-47ef-9e05-950bb762570c', N'contactthankmessage', N'

Thank you

The message was sent.

') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (10, N'27604f05-86ad-47ef-9e05-950bb762570c', N'culture', N'Auto') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (11, N'27604f05-86ad-47ef-9e05-950bb762570c', N'dayscommentsareenabled', N'0') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (12, N'27604f05-86ad-47ef-9e05-950bb762570c', N'description', N'Short description of the blog') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (13, N'27604f05-86ad-47ef-9e05-950bb762570c', N'displaycommentsonrecentposts', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (14, N'27604f05-86ad-47ef-9e05-950bb762570c', N'displayratingsonrecentposts', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (15, N'27604f05-86ad-47ef-9e05-950bb762570c', N'email', N'user@example.com') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (16, N'27604f05-86ad-47ef-9e05-950bb762570c', N'emailsubjectprefix', N'Weblog') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (17, N'27604f05-86ad-47ef-9e05-950bb762570c', N'enablecommentsearch', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (18, N'27604f05-86ad-47ef-9e05-950bb762570c', N'enablecommentsmoderation', N'False') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (19, N'27604f05-86ad-47ef-9e05-950bb762570c', N'enablecontactattachments', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (20, N'27604f05-86ad-47ef-9e05-950bb762570c', N'enablecountryincomments', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (21, N'27604f05-86ad-47ef-9e05-950bb762570c', N'enablehttpcompression', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (22, N'27604f05-86ad-47ef-9e05-950bb762570c', N'enableopensearch', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (23, N'27604f05-86ad-47ef-9e05-950bb762570c', N'enablepingbackreceive', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (24, N'27604f05-86ad-47ef-9e05-950bb762570c', N'enablepingbacksend', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (25, N'27604f05-86ad-47ef-9e05-950bb762570c', N'enablerating', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (26, N'27604f05-86ad-47ef-9e05-950bb762570c', N'enablereferrertracking', N'False') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (27, N'27604f05-86ad-47ef-9e05-950bb762570c', N'enablerelatedposts', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (28, N'27604f05-86ad-47ef-9e05-950bb762570c', N'enablessl', N'False') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (29, N'27604f05-86ad-47ef-9e05-950bb762570c', N'enabletrackbackreceive', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (30, N'27604f05-86ad-47ef-9e05-950bb762570c', N'enabletrackbacksend', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (31, N'27604f05-86ad-47ef-9e05-950bb762570c', N'endorsement', N'http://www.dotnetblogengine.net/syndication.axd') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (32, N'27604f05-86ad-47ef-9e05-950bb762570c', N'fileextension', N'.aspx') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (33, N'27604f05-86ad-47ef-9e05-950bb762570c', N'geocodinglatitude', N'0') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (34, N'27604f05-86ad-47ef-9e05-950bb762570c', N'geocodinglongitude', N'0') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (35, N'27604f05-86ad-47ef-9e05-950bb762570c', N'handlewwwsubdomain', N'') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (36, N'27604f05-86ad-47ef-9e05-950bb762570c', N'iscocommentenabled', N'False') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (37, N'27604f05-86ad-47ef-9e05-950bb762570c', N'iscommentsenabled', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (38, N'27604f05-86ad-47ef-9e05-950bb762570c', N'language', N'en-GB') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (39, N'27604f05-86ad-47ef-9e05-950bb762570c', N'mobiletheme', N'Standard') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (40, N'27604f05-86ad-47ef-9e05-950bb762570c', N'name', N'Name of the blog') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (41, N'27604f05-86ad-47ef-9e05-950bb762570c', N'numberofrecentcomments', N'10') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (42, N'27604f05-86ad-47ef-9e05-950bb762570c', N'numberofrecentposts', N'10') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (43, N'27604f05-86ad-47ef-9e05-950bb762570c', N'postsperfeed', N'10') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (44, N'27604f05-86ad-47ef-9e05-950bb762570c', N'postsperpage', N'10') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (45, N'27604f05-86ad-47ef-9e05-950bb762570c', N'removewhitespaceinstylesheets', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (46, N'27604f05-86ad-47ef-9e05-950bb762570c', N'searchbuttontext', N'Search') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (47, N'27604f05-86ad-47ef-9e05-950bb762570c', N'searchcommentlabeltext', N'Include comments in search') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (48, N'27604f05-86ad-47ef-9e05-950bb762570c', N'searchdefaulttext', N'Enter search term') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (49, N'27604f05-86ad-47ef-9e05-950bb762570c', N'sendmailoncomment', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (50, N'27604f05-86ad-47ef-9e05-950bb762570c', N'showdescriptioninpostlist', N'False') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (51, N'27604f05-86ad-47ef-9e05-950bb762570c', N'showlivepreview', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (52, N'27604f05-86ad-47ef-9e05-950bb762570c', N'showpostnavigation', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (53, N'27604f05-86ad-47ef-9e05-950bb762570c', N'smtppassword', N'password') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (54, N'27604f05-86ad-47ef-9e05-950bb762570c', N'smtpserver', N'mail.example.dk') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (55, N'27604f05-86ad-47ef-9e05-950bb762570c', N'smtpserverport', N'25') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (56, N'27604f05-86ad-47ef-9e05-950bb762570c', N'smtpusername', N'user@example.com') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (57, N'27604f05-86ad-47ef-9e05-950bb762570c', N'storagelocation', N'~/App_Data/') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (58, N'27604f05-86ad-47ef-9e05-950bb762570c', N'syndicationformat', N'Rss') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (59, N'27604f05-86ad-47ef-9e05-950bb762570c', N'theme', N'Standard') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (60, N'27604f05-86ad-47ef-9e05-950bb762570c', N'timestamppostlinks', N'True') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (61, N'27604f05-86ad-47ef-9e05-950bb762570c', N'timezone', N'0') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (62, N'27604f05-86ad-47ef-9e05-950bb762570c', N'trackingscript', N'') +GO +INSERT [dbo].[be_Settings] ([SettingRowId], [BlogId], [SettingName], [SettingValue]) VALUES (63, N'27604f05-86ad-47ef-9e05-950bb762570c', N'enablequicknotes', N'True') +GO +SET IDENTITY_INSERT [dbo].[be_Settings] OFF +GO +SET IDENTITY_INSERT [dbo].[be_StopWords] ON + +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (1, N'27604f05-86ad-47ef-9e05-950bb762570c', N'a') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (2, N'27604f05-86ad-47ef-9e05-950bb762570c', N'about') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (3, N'27604f05-86ad-47ef-9e05-950bb762570c', N'actually') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (4, N'27604f05-86ad-47ef-9e05-950bb762570c', N'add') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (5, N'27604f05-86ad-47ef-9e05-950bb762570c', N'after') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (6, N'27604f05-86ad-47ef-9e05-950bb762570c', N'all') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (7, N'27604f05-86ad-47ef-9e05-950bb762570c', N'almost') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (8, N'27604f05-86ad-47ef-9e05-950bb762570c', N'along') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (9, N'27604f05-86ad-47ef-9e05-950bb762570c', N'also') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (10, N'27604f05-86ad-47ef-9e05-950bb762570c', N'an') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (11, N'27604f05-86ad-47ef-9e05-950bb762570c', N'and') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (12, N'27604f05-86ad-47ef-9e05-950bb762570c', N'any') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (13, N'27604f05-86ad-47ef-9e05-950bb762570c', N'are') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (14, N'27604f05-86ad-47ef-9e05-950bb762570c', N'as') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (15, N'27604f05-86ad-47ef-9e05-950bb762570c', N'at') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (16, N'27604f05-86ad-47ef-9e05-950bb762570c', N'be') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (17, N'27604f05-86ad-47ef-9e05-950bb762570c', N'both') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (18, N'27604f05-86ad-47ef-9e05-950bb762570c', N'but') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (19, N'27604f05-86ad-47ef-9e05-950bb762570c', N'by') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (20, N'27604f05-86ad-47ef-9e05-950bb762570c', N'can') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (21, N'27604f05-86ad-47ef-9e05-950bb762570c', N'cannot') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (22, N'27604f05-86ad-47ef-9e05-950bb762570c', N'com') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (23, N'27604f05-86ad-47ef-9e05-950bb762570c', N'could') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (24, N'27604f05-86ad-47ef-9e05-950bb762570c', N'de') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (25, N'27604f05-86ad-47ef-9e05-950bb762570c', N'do') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (26, N'27604f05-86ad-47ef-9e05-950bb762570c', N'down') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (27, N'27604f05-86ad-47ef-9e05-950bb762570c', N'each') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (28, N'27604f05-86ad-47ef-9e05-950bb762570c', N'either') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (29, N'27604f05-86ad-47ef-9e05-950bb762570c', N'en') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (30, N'27604f05-86ad-47ef-9e05-950bb762570c', N'for') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (31, N'27604f05-86ad-47ef-9e05-950bb762570c', N'from') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (32, N'27604f05-86ad-47ef-9e05-950bb762570c', N'good') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (33, N'27604f05-86ad-47ef-9e05-950bb762570c', N'has') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (34, N'27604f05-86ad-47ef-9e05-950bb762570c', N'have') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (35, N'27604f05-86ad-47ef-9e05-950bb762570c', N'he') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (36, N'27604f05-86ad-47ef-9e05-950bb762570c', N'her') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (37, N'27604f05-86ad-47ef-9e05-950bb762570c', N'here') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (38, N'27604f05-86ad-47ef-9e05-950bb762570c', N'hers') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (39, N'27604f05-86ad-47ef-9e05-950bb762570c', N'his') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (40, N'27604f05-86ad-47ef-9e05-950bb762570c', N'how') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (41, N'27604f05-86ad-47ef-9e05-950bb762570c', N'i') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (42, N'27604f05-86ad-47ef-9e05-950bb762570c', N'if') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (43, N'27604f05-86ad-47ef-9e05-950bb762570c', N'in') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (44, N'27604f05-86ad-47ef-9e05-950bb762570c', N'into') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (45, N'27604f05-86ad-47ef-9e05-950bb762570c', N'is') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (46, N'27604f05-86ad-47ef-9e05-950bb762570c', N'it') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (47, N'27604f05-86ad-47ef-9e05-950bb762570c', N'its') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (48, N'27604f05-86ad-47ef-9e05-950bb762570c', N'just') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (49, N'27604f05-86ad-47ef-9e05-950bb762570c', N'la') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (50, N'27604f05-86ad-47ef-9e05-950bb762570c', N'like') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (51, N'27604f05-86ad-47ef-9e05-950bb762570c', N'long') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (52, N'27604f05-86ad-47ef-9e05-950bb762570c', N'make') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (53, N'27604f05-86ad-47ef-9e05-950bb762570c', N'me') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (54, N'27604f05-86ad-47ef-9e05-950bb762570c', N'more') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (55, N'27604f05-86ad-47ef-9e05-950bb762570c', N'much') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (56, N'27604f05-86ad-47ef-9e05-950bb762570c', N'my') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (57, N'27604f05-86ad-47ef-9e05-950bb762570c', N'need') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (58, N'27604f05-86ad-47ef-9e05-950bb762570c', N'new') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (59, N'27604f05-86ad-47ef-9e05-950bb762570c', N'now') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (60, N'27604f05-86ad-47ef-9e05-950bb762570c', N'of') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (61, N'27604f05-86ad-47ef-9e05-950bb762570c', N'off') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (62, N'27604f05-86ad-47ef-9e05-950bb762570c', N'on') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (63, N'27604f05-86ad-47ef-9e05-950bb762570c', N'once') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (64, N'27604f05-86ad-47ef-9e05-950bb762570c', N'one') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (65, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ones') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (66, N'27604f05-86ad-47ef-9e05-950bb762570c', N'only') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (67, N'27604f05-86ad-47ef-9e05-950bb762570c', N'or') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (68, N'27604f05-86ad-47ef-9e05-950bb762570c', N'our') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (69, N'27604f05-86ad-47ef-9e05-950bb762570c', N'out') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (70, N'27604f05-86ad-47ef-9e05-950bb762570c', N'over') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (71, N'27604f05-86ad-47ef-9e05-950bb762570c', N'own') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (72, N'27604f05-86ad-47ef-9e05-950bb762570c', N'really') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (73, N'27604f05-86ad-47ef-9e05-950bb762570c', N'right') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (74, N'27604f05-86ad-47ef-9e05-950bb762570c', N'same') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (75, N'27604f05-86ad-47ef-9e05-950bb762570c', N'see') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (76, N'27604f05-86ad-47ef-9e05-950bb762570c', N'she') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (77, N'27604f05-86ad-47ef-9e05-950bb762570c', N'so') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (78, N'27604f05-86ad-47ef-9e05-950bb762570c', N'some') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (79, N'27604f05-86ad-47ef-9e05-950bb762570c', N'such') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (80, N'27604f05-86ad-47ef-9e05-950bb762570c', N'take') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (81, N'27604f05-86ad-47ef-9e05-950bb762570c', N'takes') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (82, N'27604f05-86ad-47ef-9e05-950bb762570c', N'that') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (83, N'27604f05-86ad-47ef-9e05-950bb762570c', N'the') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (84, N'27604f05-86ad-47ef-9e05-950bb762570c', N'their') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (85, N'27604f05-86ad-47ef-9e05-950bb762570c', N'these') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (86, N'27604f05-86ad-47ef-9e05-950bb762570c', N'thing') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (87, N'27604f05-86ad-47ef-9e05-950bb762570c', N'this') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (88, N'27604f05-86ad-47ef-9e05-950bb762570c', N'to') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (89, N'27604f05-86ad-47ef-9e05-950bb762570c', N'too') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (90, N'27604f05-86ad-47ef-9e05-950bb762570c', N'took') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (91, N'27604f05-86ad-47ef-9e05-950bb762570c', N'und') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (92, N'27604f05-86ad-47ef-9e05-950bb762570c', N'up') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (93, N'27604f05-86ad-47ef-9e05-950bb762570c', N'use') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (94, N'27604f05-86ad-47ef-9e05-950bb762570c', N'used') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (95, N'27604f05-86ad-47ef-9e05-950bb762570c', N'using') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (96, N'27604f05-86ad-47ef-9e05-950bb762570c', N'very') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (97, N'27604f05-86ad-47ef-9e05-950bb762570c', N'was') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (98, N'27604f05-86ad-47ef-9e05-950bb762570c', N'we') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (99, N'27604f05-86ad-47ef-9e05-950bb762570c', N'well') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (100, N'27604f05-86ad-47ef-9e05-950bb762570c', N'what') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (101, N'27604f05-86ad-47ef-9e05-950bb762570c', N'when') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (102, N'27604f05-86ad-47ef-9e05-950bb762570c', N'where') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (103, N'27604f05-86ad-47ef-9e05-950bb762570c', N'who') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (104, N'27604f05-86ad-47ef-9e05-950bb762570c', N'will') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (105, N'27604f05-86ad-47ef-9e05-950bb762570c', N'with') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (106, N'27604f05-86ad-47ef-9e05-950bb762570c', N'www') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (107, N'27604f05-86ad-47ef-9e05-950bb762570c', N'you') +GO +INSERT [dbo].[be_StopWords] ([StopWordRowId], [BlogId], [StopWord]) VALUES (108, N'27604f05-86ad-47ef-9e05-950bb762570c', N'your') +GO +SET IDENTITY_INSERT [dbo].[be_StopWords] OFF +GO +SET IDENTITY_INSERT [dbo].[be_UserRoles] ON + +GO +INSERT [dbo].[be_UserRoles] ([UserRoleID], [BlogID], [UserName], [Role]) VALUES (1, N'27604f05-86ad-47ef-9e05-950bb762570c', N'Admin', N'Administrators') +GO +SET IDENTITY_INSERT [dbo].[be_UserRoles] OFF +GO +SET IDENTITY_INSERT [dbo].[be_Users] ON + +GO +INSERT [dbo].[be_Users] ([UserID], [BlogID], [UserName], [Password], [LastLoginTime], [EmailAddress]) VALUES (1, N'27604f05-86ad-47ef-9e05-950bb762570c', N'Admin', N'', GETDATE(), N'email@example.com') +GO +SET IDENTITY_INSERT [dbo].[be_Users] OFF +GO +CREATE NONCLUSTERED INDEX [idx_be_BlogRollItems_BlogId] ON [dbo].[be_BlogRollItems] +( + [BlogId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +CREATE UNIQUE NONCLUSTERED INDEX [idx_be_Categories_BlogID_CategoryID] ON [dbo].[be_Categories] +( + [BlogID] ASC, + [CategoryID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +SET ANSI_PADDING ON + +GO +CREATE NONCLUSTERED INDEX [idx_be_DataStoreSettings_BlogId_ExtensionType_TypeID] ON [dbo].[be_DataStoreSettings] +( + [BlogId] ASC, + [ExtensionType] ASC, + [ExtensionId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +CREATE NONCLUSTERED INDEX [idx_Pages_BlogId_PageId] ON [dbo].[be_Pages] +( + [BlogID] ASC, + [PageID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +CREATE NONCLUSTERED INDEX [idx_be_PingService_BlogId] ON [dbo].[be_PingService] +( + [BlogID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +CREATE NONCLUSTERED INDEX [idx_be_PostCategory_BlogId_CategoryId] ON [dbo].[be_PostCategory] +( + [BlogID] ASC, + [CategoryID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +CREATE NONCLUSTERED INDEX [idx_be_PostCategory_BlogId_PostId] ON [dbo].[be_PostCategory] +( + [BlogID] ASC, + [PostID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +CREATE NONCLUSTERED INDEX [idx_be_PostComment_BlogId_PostId] ON [dbo].[be_PostComment] +( + [BlogID] ASC, + [PostID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostNotify] +( + [BlogID] ASC, + [PostID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +CREATE UNIQUE NONCLUSTERED INDEX [be_Posts_BlogID_PostID] ON [dbo].[be_Posts] +( + [BlogID] ASC, + [PostID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +CREATE NONCLUSTERED INDEX [idx_be_PostTag_BlogId_PostId] ON [dbo].[be_PostTag] +( + [BlogID] ASC, + [PostID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +SET ANSI_PADDING ON + +GO +CREATE NONCLUSTERED INDEX [idx_be_Profiles_BlogId_UserName] ON [dbo].[be_Profiles] +( + [BlogID] ASC, + [UserName] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +SET ANSI_PADDING ON + +GO +CREATE NONCLUSTERED INDEX [idx_be_NoteId_BlogId_UserName] ON [dbo].[be_QuickNotes] +( + [NoteID] ASC, + [BlogID] ASC, + [UserName] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +CREATE NONCLUSTERED INDEX [idx_be_Referrers_BlogId] ON [dbo].[be_Referrers] +( + [BlogId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +CREATE NONCLUSTERED INDEX [idx_be_RightRoles_BlogId] ON [dbo].[be_RightRoles] +( + [BlogId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +CREATE NONCLUSTERED INDEX [idx_be_Rights_BlogId] ON [dbo].[be_Rights] +( + [BlogId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +SET ANSI_PADDING ON + +GO +CREATE UNIQUE NONCLUSTERED INDEX [idx_be_Roles_BlogID_Role] ON [dbo].[be_Roles] +( + [BlogID] ASC, + [Role] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +CREATE NONCLUSTERED INDEX [idx_be_Settings_BlogId] ON [dbo].[be_Settings] +( + [BlogId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +CREATE NONCLUSTERED INDEX [idx_be_StopWords_BlogId] ON [dbo].[be_StopWords] +( + [BlogId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +CREATE NONCLUSTERED INDEX [idx_be_UserRoles_BlogId] ON [dbo].[be_UserRoles] +( + [BlogID] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +SET ANSI_PADDING ON + +GO +CREATE NONCLUSTERED INDEX [idx_be_Users_BlogId_UserName] ON [dbo].[be_Users] +( + [BlogID] ASC, + [UserName] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) +GO +ALTER TABLE [dbo].[be_Blogs] ADD CONSTRAINT [DF_be_Blogs_IsSiteAggregation] DEFAULT ((0)) FOR [IsSiteAggregation] +GO +ALTER TABLE [dbo].[be_Pages] ADD CONSTRAINT [DF__be_Pages__IsDele__0425A276] DEFAULT ((0)) FOR [IsDeleted] +GO +ALTER TABLE [dbo].[be_PostComment] ADD CONSTRAINT [DF__be_PostCo__Paren__173876EA] DEFAULT ('00000000-0000-0000-0000-000000000000') FOR [ParentCommentID] +GO +ALTER TABLE [dbo].[be_PostComment] ADD CONSTRAINT [DF__be_PostCo__IsSpa__182C9B23] DEFAULT ((0)) FOR [IsSpam] +GO +ALTER TABLE [dbo].[be_PostComment] ADD CONSTRAINT [DF__be_PostCo__IsDel__1920BF5C] DEFAULT ((0)) FOR [IsDeleted] +GO +ALTER TABLE [dbo].[be_Posts] ADD CONSTRAINT [DF__be_Posts__IsDele__09DE7BCC] DEFAULT ((0)) FOR [IsDeleted] +GO +ALTER TABLE [dbo].[be_Referrers] ADD CONSTRAINT [DF_be_Referrers_Day] DEFAULT (getdate()) FOR [ReferralDay] +GO +ALTER TABLE [dbo].[be_FileStoreFiles] WITH CHECK ADD CONSTRAINT [FK_be_FileStoreFiles_be_FileStoreDirectory] FOREIGN KEY([ParentDirectoryID]) +REFERENCES [dbo].[be_FileStoreDirectory] ([Id]) +ON DELETE CASCADE +GO +ALTER TABLE [dbo].[be_FileStoreFiles] CHECK CONSTRAINT [FK_be_FileStoreFiles_be_FileStoreDirectory] +GO +ALTER TABLE [dbo].[be_FileStoreFileThumbs] WITH CHECK ADD CONSTRAINT [FK_be_FileStoreFileThumbs_be_FileStoreFiles] FOREIGN KEY([FileId]) +REFERENCES [dbo].[be_FileStoreFiles] ([FileID]) +ON DELETE CASCADE +GO +ALTER TABLE [dbo].[be_FileStoreFileThumbs] CHECK CONSTRAINT [FK_be_FileStoreFileThumbs_be_FileStoreFiles] +GO +ALTER TABLE [dbo].[be_PostCategory] WITH CHECK ADD CONSTRAINT [FK_be_PostCategory_be_Categories] FOREIGN KEY([BlogID], [CategoryID]) +REFERENCES [dbo].[be_Categories] ([BlogID], [CategoryID]) +GO +ALTER TABLE [dbo].[be_PostCategory] CHECK CONSTRAINT [FK_be_PostCategory_be_Categories] +GO +ALTER TABLE [dbo].[be_PostCategory] WITH CHECK ADD CONSTRAINT [FK_be_PostCategory_be_Posts] FOREIGN KEY([BlogID], [PostID]) +REFERENCES [dbo].[be_Posts] ([BlogID], [PostID]) +GO +ALTER TABLE [dbo].[be_PostCategory] CHECK CONSTRAINT [FK_be_PostCategory_be_Posts] +GO +ALTER TABLE [dbo].[be_PostComment] WITH CHECK ADD CONSTRAINT [FK_be_PostComment_be_Posts] FOREIGN KEY([BlogID], [PostID]) +REFERENCES [dbo].[be_Posts] ([BlogID], [PostID]) +GO +ALTER TABLE [dbo].[be_PostComment] CHECK CONSTRAINT [FK_be_PostComment_be_Posts] +GO +ALTER TABLE [dbo].[be_PostNotify] WITH CHECK ADD CONSTRAINT [FK_be_PostNotify_be_Posts] FOREIGN KEY([BlogID], [PostID]) +REFERENCES [dbo].[be_Posts] ([BlogID], [PostID]) +GO +ALTER TABLE [dbo].[be_PostNotify] CHECK CONSTRAINT [FK_be_PostNotify_be_Posts] +GO +ALTER TABLE [dbo].[be_PostTag] WITH CHECK ADD CONSTRAINT [FK_be_PostTag_be_Posts] FOREIGN KEY([BlogID], [PostID]) +REFERENCES [dbo].[be_Posts] ([BlogID], [PostID]) +GO +ALTER TABLE [dbo].[be_PostTag] CHECK CONSTRAINT [FK_be_PostTag_be_Posts] +GO + +-- +-- be_Pages SortOrder +-- +ALTER TABLE dbo.be_Pages ADD + SortOrder int NOT NULL CONSTRAINT DF_be_Pages_SortOrder DEFAULT 0 +GO +CREATE NONCLUSTERED INDEX IX_be_Pages ON dbo.be_Pages + ( + SortOrder + ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +GO +-- +-- add new rights to administrators +-- +SET IDENTITY_INSERT [dbo].[be_RightRoles] ON +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26131, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewDashboard', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26132, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManageExtensions', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26133, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManageThemes', N'Administrators') +GO +INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26134, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManagePackages', N'Administrators') +GO +SET IDENTITY_INSERT [dbo].[be_RightRoles] OFF +GO +SET IDENTITY_INSERT [dbo].[be_Rights] ON +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16081, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewDashboard') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16082, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManageExtensions') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16083, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManageThemes') +GO +INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16084, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManagePackages') +GO +SET IDENTITY_INSERT [dbo].[be_Rights] OFF +GO \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/BlogEngine.NET.csproj b/BlogEngine/BlogEngine.NET/BlogEngine.NET.csproj index e04bab7d7..9be807ed1 100644 --- a/BlogEngine/BlogEngine.NET/BlogEngine.NET.csproj +++ b/BlogEngine/BlogEngine.NET/BlogEngine.NET.csproj @@ -21,7 +21,7 @@ - 1.6 + 1.8 true @@ -1591,43 +1591,10 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Web.config @@ -1764,60 +1731,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/BlogEngine/BlogEngine.NET/Web.Config b/BlogEngine/BlogEngine.NET/Web.Config index e698ac4f5..a1683a57b 100644 --- a/BlogEngine/BlogEngine.NET/Web.Config +++ b/BlogEngine/BlogEngine.NET/Web.Config @@ -1,4 +1,4 @@ - + @@ -7,9 +7,10 @@ - + + @@ -18,6 +19,15 @@ + + + + + + + @@ -104,16 +114,18 @@ - + + - + + @@ -150,22 +162,13 @@ - + - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/MySQL/MySQLWeb.Config b/BlogEngine/BlogEngine.NET/setup/MySQL/MySQLWeb.Config deleted file mode 100644 index 0f283105c..000000000 --- a/BlogEngine/BlogEngine.NET/setup/MySQL/MySQLWeb.Config +++ /dev/null @@ -1,282 +0,0 @@ - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/MySQL/MySql.Data.dll b/BlogEngine/BlogEngine.NET/setup/MySQL/MySql.Data.dll deleted file mode 100644 index 581d25e89..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/MySQL/MySql.Data.dll and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/MySQL/ReadMe.txt b/BlogEngine/BlogEngine.NET/setup/MySQL/ReadMe.txt deleted file mode 100644 index e59f8932e..000000000 --- a/BlogEngine/BlogEngine.NET/setup/MySQL/ReadMe.txt +++ /dev/null @@ -1,25 +0,0 @@ -Running BlogEngine.NET using MySQL: - -If you wish to use MySQL to store all your blog data, this folder has all the -information you'll likely need. The scripts included here are for MySQL 5.6. -They could be modified to be used with earlier versions if needed. - -Included is the Initial Setup script for use with new BE installation. -Also, included is an upgrade script from previous versions. In addition, you -will find a sample web.config file with the needed changes to use MySQL. - -Instructions for new setup: - -1. Using the tool of your choice, execute the Setup script against the database you -want to add the BlogEngine data to. This can be a new or existing database. -2. Rename MySQLWeb.Config to Web.config and copy it to your blog folder. (This will -overwrite your existing web.config file. If this is not a new installation, make sure -you have a backup). -3. Update the BlogEngine connection string in the web.config. -4. Add the MySQL .NET Connector (6.9.7) to the bin folder. -5. Surf out to your Blog and see the welcome post. -6. Login with the username admin and password admin. Change the password. - -Upgrading from earlier versions - -- Use scripts in Archive folder to bring your DB to latest version. \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/MySQL/Setup.sql b/BlogEngine/BlogEngine.NET/setup/MySQL/Setup.sql deleted file mode 100644 index b1d2212a8..000000000 --- a/BlogEngine/BlogEngine.NET/setup/MySQL/Setup.sql +++ /dev/null @@ -1,543 +0,0 @@ - -CREATE TABLE `be_Blogs` ( - `BlogRowId` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogId` varchar(36) NOT NULL DEFAULT '', - `BlogName` varchar(255) NOT NULL DEFAULT '', - `Hostname` varchar(255) NOT NULL DEFAULT '', - `IsAnyTextBeforeHostnameAccepted` tinyint(1) NOT NULL DEFAULT 1, - `StorageContainerName` varchar(255) NOT NULL DEFAULT '', - `VirtualPath` varchar(255) NOT NULL DEFAULT '', - `IsPrimary` tinyint(1) NOT NULL DEFAULT 0, - `IsActive` tinyint(1) NOT NULL DEFAULT 1, - `IsSiteAggregation` tinyint(1) NOT NULL DEFAULT 0, - PRIMARY KEY (`BlogRowId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_Categories` ( - `CategoryRowID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogID` varchar(36) NOT NULL DEFAULT '', - `CategoryID` varchar(36) NOT NULL DEFAULT '', - `CategoryName` varchar(50) DEFAULT NULL, - `Description` varchar(200) DEFAULT NULL, - `ParentID` varchar(36) DEFAULT NULL, - PRIMARY KEY (`CategoryRowID`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_DataStoreSettings` ( - `DataStoreSettingRowId` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogId` varchar(36) NOT NULL DEFAULT '', - `ExtensionType` varchar(50) NOT NULL, - `ExtensionId` varchar(100) NOT NULL, - `Settings` text NOT NULL, - PRIMARY KEY (`DataStoreSettingRowId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_Pages` ( - `PageRowID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogID` varchar(36) NOT NULL DEFAULT '', - `PageID` varchar(36) NOT NULL DEFAULT '', - `Title` varchar(255) NOT NULL DEFAULT '', - `Description` text, - `PageContent` longtext, - `Keywords` text, - `DateCreated` datetime DEFAULT NULL, - `DateModified` datetime DEFAULT NULL, - `IsPublished` tinyint(1) DEFAULT NULL, - `IsFrontPage` tinyint(1) DEFAULT NULL, - `Parent` varchar(64) DEFAULT NULL, - `ShowInList` tinyint(1) DEFAULT NULL, - `Slug` varchar(255) DEFAULT NULL, - `IsDeleted` tinyint(1) NOT NULL DEFAULT '0', - PRIMARY KEY (`PageRowID`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_PingService` ( - `PingServiceID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogID` varchar(36) NOT NULL DEFAULT '', - `Link` varchar(255) DEFAULT NULL, - PRIMARY KEY (`PingServiceID`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_Posts` ( - `PostRowID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogID` varchar(36) NOT NULL DEFAULT '', - `PostID` varchar(36) NOT NULL DEFAULT '', - `Title` varchar(255) NOT NULL DEFAULT '', - `Description` text NOT NULL, - `PostContent` longtext NOT NULL, - `DateCreated` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', - `DateModified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', - `Author` varchar(50) NOT NULL DEFAULT '', - `IsPublished` tinyint(1) NOT NULL DEFAULT '0', - `IsCommentEnabled` tinyint(1) NOT NULL DEFAULT '0', - `Raters` int(10) UNSIGNED NOT NULL DEFAULT '0', - `Rating` float NOT NULL DEFAULT '0', - `Slug` varchar(255) NOT NULL DEFAULT '', - `IsDeleted` tinyint(1) NOT NULL DEFAULT '0', - PRIMARY KEY (`PostRowID`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_Profiles` ( - `ProfileID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogID` varchar(36) NOT NULL DEFAULT '', - `UserName` varchar(100) NOT NULL, - `SettingName` varchar(200) NOT NULL, - `SettingValue` text NOT NULL, - PRIMARY KEY (`ProfileID`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_Roles` ( - `RoleID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogID` varchar(36) NOT NULL DEFAULT '', - `Role` varchar(100) NOT NULL, - PRIMARY KEY (`RoleID`) -) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1; - -CREATE TABLE `be_Settings` ( - `SettingRowId` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogID` varchar(36) NOT NULL DEFAULT '', - `SettingName` varchar(50) NOT NULL, - `SettingValue` text, - PRIMARY KEY (`SettingRowId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_StopWords` ( - `StopWordRowId` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogId` varchar(36) NOT NULL DEFAULT '', - `StopWord` varchar(50) NOT NULL, - PRIMARY KEY (`StopWordRowId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_Users` ( - `UserID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogID` varchar(36) NOT NULL DEFAULT '', - `UserName` varchar(100) DEFAULT NULL, - `Password` varchar(255) DEFAULT NULL, - `LastLoginTime` datetime DEFAULT '0000-00-00 00:00:00', - `EmailAddress` varchar(100) DEFAULT NULL, - PRIMARY KEY (`UserID`) -) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; - -CREATE TABLE `be_UserRoles` ( - `UserRoleID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogID` varchar(36) NOT NULL DEFAULT '', - `UserName` varchar(100) NOT NULL DEFAULT '', - `Role` varchar(100) NOT NULL DEFAULT '', - PRIMARY KEY (`UserRoleID`) -) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; - -CREATE TABLE `be_PostCategory` ( - `PostCategoryID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogID` varchar(36) NOT NULL DEFAULT '', - `PostID` varchar(36) NOT NULL DEFAULT '', - `CategoryID` varchar(36) NOT NULL DEFAULT '', - PRIMARY KEY (`PostCategoryID`) -) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1; - -CREATE TABLE `be_PostComment` ( - `PostCommentRowID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogID` varchar(36) NOT NULL DEFAULT '', - `PostCommentID` varchar(36) NOT NULL DEFAULT '', - `PostID` varchar(36) NOT NULL DEFAULT '', - `ParentCommentID` varchar(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000', - `CommentDate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', - `Author` varchar(255) NOT NULL DEFAULT '', - `Email` varchar(255) NOT NULL DEFAULT '', - `Website` varchar(255) NOT NULL DEFAULT '', - `Comment` text NOT NULL, - `Country` varchar(255) NOT NULL DEFAULT '', - `Ip` varchar(50) NOT NULL DEFAULT '', - `IsApproved` tinyint(1) NOT NULL DEFAULT '0', - `ModeratedBy` varchar(100) DEFAULT NULL, - `Avatar` varchar(255) DEFAULT NULL, - `IsSpam` tinyint(1) NOT NULL DEFAULT '0', - `IsDeleted` tinyint(1) NOT NULL DEFAULT '0', - PRIMARY KEY (`PostCommentRowID`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_PostNotify` ( - `PostNotifyID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogID` varchar(36) NOT NULL DEFAULT '', - `PostID` varchar(36) NOT NULL DEFAULT '', - `NotifyAddress` varchar(255) DEFAULT NULL, - PRIMARY KEY (`PostNotifyID`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_PostTag` ( - `PostTagID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogID` varchar(36) NOT NULL DEFAULT '', - `PostID` varchar(36) NOT NULL DEFAULT '', - `Tag` varchar(50) DEFAULT NULL, - PRIMARY KEY (`PostTagID`) -) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=latin1; - -CREATE TABLE IF NOT EXISTS `be_BlogRollItems` ( - `BlogRollRowId` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogId` varchar(36) NOT NULL DEFAULT '', - `BlogRollId` varchar(36) NOT NULL, - `Title` varchar(255) NOT NULL, - `Description` longtext DEFAULT NULL, - `BlogUrl` varchar(255) NOT NULL, - `FeedUrl` varchar(255) DEFAULT NULL, - `Xfn` varchar(255) DEFAULT NULL, - `SortIndex` int(10) NOT NULL, - PRIMARY KEY (`BlogRollRowId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE IF NOT EXISTS `be_Referrers` ( - `ReferrerRowId` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogId` varchar(36) NOT NULL DEFAULT '', - `ReferrerId` varchar(36) NOT NULL, - `ReferralDay` datetime NOT NULL, - `ReferrerUrl` varchar(255) NOT NULL, - `ReferralCount` int(10) NOT NULL, - `Url` varchar(255) DEFAULT NULL, - `IsSpam` tinyint(1) NULL, - PRIMARY KEY (`ReferrerRowId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE IF NOT EXISTS `be_Rights` ( - `RightRowId` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogId` varchar(36) NOT NULL DEFAULT '', - `RightName` varchar(100) NOT NULL, - PRIMARY KEY (`RightRowId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE IF NOT EXISTS `be_RightRoles` ( - `RightRoleRowId` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogId` varchar(36) NOT NULL DEFAULT '', - `RightName` varchar(100) NOT NULL, - `Role` varchar(100) NOT NULL, - PRIMARY KEY (`RightRoleRowId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_Packages` ( - `PackageId` varchar(128) NOT NULL, - `Version` varchar(128) NOT NULL, - PRIMARY KEY (`PackageId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_PackageFiles` ( - `PackageId` varchar(128) NOT NULL, - `FileOrder` int(10) UNSIGNED NOT NULL, - `FilePath` varchar(255) NOT NULL, - `IsDirectory` tinyint(1) NOT NULL, - PRIMARY KEY (`PackageId`, `FileOrder`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_QuickNotes` ( - `QuickNoteID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `NoteID` varchar(36) NOT NULL, - `BlogID` varchar(36) NOT NULL, - `UserName` varchar(100) NOT NULL, - `Note` longtext NOT NULL, - `Updated` datetime NOT NULL, - PRIMARY KEY (`QuickNoteID`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_QuickSettings` ( - `QuickSettingID` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, - `BlogID` varchar(36) NOT NULL, - `UserName` varchar(100) NOT NULL, - `SettingName` varchar(255) NOT NULL, - `SettingValue` varchar(255) NOT NULL, - PRIMARY KEY (`QuickSettingID`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_FileStoreDirectory` ( - `Id` varchar(36) NOT NULL, - `ParentID` varchar(36) NOT NULL, - `BlogID` varchar(36) NOT NULL, - `Name` varchar(255) NOT NULL, - `FullPath` varchar(1000) NOT NULL, - `CreateDate` datetime NOT NULL, - `LastAccess` datetime NOT NULL, - `LastModify` datetime NOT NULL, - PRIMARY KEY (`Id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_FileStoreFiles` ( - `FileID` varchar(36) NOT NULL, - `ParentDirectoryID` varchar(36) NOT NULL, - `Name` varchar(255) NOT NULL, - `FullPath` varchar(255) NOT NULL, - `Contents` longblob NOT NULL, - `Size` int(10) UNSIGNED NOT NULL, - `CreateDate` datetime NOT NULL, - `LastAccess` datetime NOT NULL, - `LastModify` datetime NOT NULL, - PRIMARY KEY (`FileID`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_FileStoreFileThumbs` ( - `thumbnailId` varchar(36) NOT NULL, - `FileId` varchar(36) NOT NULL, - `Size` int(10) UNSIGNED NOT NULL, - `Contents` longblob NOT NULL, - PRIMARY KEY (`thumbnailId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -CREATE TABLE `be_CustomFields` ( - `CustomType` varchar(25) NOT NULL, - `ObjectId` varchar(100) NOT NULL, - `BlogId` varchar(36) NOT NULL, - `Key` varchar(150) NOT NULL, - `Value` text NOT NULL, - `Attribute` varchar(250) NULL -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -/*** Load initial Data ***/ - -INSERT INTO be_Blogs (BlogId, BlogName, Hostname, IsAnyTextBeforeHostnameAccepted, StorageContainerName, VirtualPath, IsPrimary, IsActive) VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'Primary', '', 0, '', '~/', 1, 1); - -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'administratorrole', 'Administrators'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'alternatefeedurl', ''); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'authorname', 'My name'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'avatar', 'combine'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'blogrollmaxlength', '23'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'blogrollupdateminutes', '60'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'blogrollvisibleposts', '3'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'contactformmessage', '

I will answer the mail as soon as I can.

'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'contactthankmessage', '

Thank you

The message was sent.

'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'culture', 'Auto'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'dayscommentsareenabled', '0'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'description', 'Short description of the blog'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'displaycommentsonrecentposts', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'displayratingsonrecentposts', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'email', 'user@example.com'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'emailsubjectprefix', 'Weblog'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablecommentsearch', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablecommentsmoderation', 'False'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablecontactattachments', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablecountryincomments', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablehttpcompression', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enableopensearch', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablepingbackreceive', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablepingbacksend', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablerating', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablereferrertracking', 'False'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablerelatedposts', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablessl', 'False'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enabletrackbackreceive', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enabletrackbacksend', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'endorsement', 'http://www.dotnetblogengine.net/syndication.axd'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'fileextension', '.aspx'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'geocodinglatitude', '0'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'geocodinglongitude', '0'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'handlewwwsubdomain', ''); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'iscocommentenabled', 'False'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'iscommentsenabled', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'language', 'en-GB'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'mobiletheme', 'Standard'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'name', 'Name of the blog'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'numberofrecentcomments', '10'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'numberofrecentposts', '10'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'postsperfeed', '10'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'postsperpage', '10'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'removewhitespaceinstylesheets', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'searchbuttontext', 'Search'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'searchcommentlabeltext', 'Include comments in search'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'searchdefaulttext', 'Enter search term'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'sendmailoncomment', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'showdescriptioninpostlist', 'False'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'showlivepreview', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'showpostnavigation', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'smtppassword', 'password'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'smtpserver', 'mail.example.dk'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'smtpserverport', '25'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'smtpusername', 'user@example.com'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'storagelocation', '~/App_Data/'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'syndicationformat', 'Rss'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'theme', 'Standard'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'timestamppostlinks', 'True'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'timezone', '0'); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'trackingscript', ''); -INSERT INTO be_Settings (BlogID, SettingName, SettingValue) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'enablequicknotes', 'True'); - -INSERT INTO be_PingService (BlogID, Link) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'http://rpc.technorati.com/rpc/ping'); -INSERT INTO be_PingService (BlogID, Link) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'http://rpc.pingomatic.com/rpc2'); -INSERT INTO be_PingService (BlogID, Link) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'http://ping.feedburner.com'); -INSERT INTO be_PingService (BlogID, Link) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'http://www.bloglines.com/ping'); -INSERT INTO be_PingService (BlogID, Link) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'http://services.newsgator.com/ngws/xmlrpcping.aspx'); -INSERT INTO be_PingService (BlogID, Link) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'http://api.my.yahoo.com/rpc2 '); -INSERT INTO be_PingService (BlogID, Link) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'http://blogsearch.google.com/ping/RPC2'); -INSERT INTO be_PingService (BlogID, Link) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'http://rpc.pingthesemanticweb.com/'); - -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'a'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'about'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'actually'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'add'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'after'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'all'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'almost'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'along'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'also'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'an'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'and'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'any'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'are'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'as'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'at'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'be'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'both'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'but'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'by'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'can'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'cannot'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'com'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'could'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'de'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'do'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'down'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'each'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'either'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'en'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'for'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'from'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'good'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'has'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'have'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'he'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'her'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'here'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'hers'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'his'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'how'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'i'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'if'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'in'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'into'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'is'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'it'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'its'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'just'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'la'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'like'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'long'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'make'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'me'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'more'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'much'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'my'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'need'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'new'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'now'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'of'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'off'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'on'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'once'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'one'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'ones'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'only'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'or'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'our'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'out'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'over'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'own'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'really'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'right'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'same'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'see'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'she'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'so'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'some'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'such'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'take'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'takes'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'that'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'the'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'their'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'these'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'thing'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'this'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'to'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'too'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'took'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'und'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'up'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'use'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'used'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'using'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'very'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'was'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'we'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'well'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'what'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'when'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'where'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'who'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'will'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'with'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'www'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'you'); -INSERT INTO be_StopWords (BlogId, StopWord) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'your'); - -INSERT INTO be_BlogRollItems ( BlogId, BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( '27604F05-86AD-47EF-9E05-950BB762570C', '25e4d8da-3278-4e58-b0bf-932496dabc96', 'Mads Kristensen', 'Full featured simplicity in ASP.NET and C#', 'http://madskristensen.net', 'http://feeds.feedburner.com/netslave', 'contact', 0 ); -INSERT INTO be_BlogRollItems ( BlogId, BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( '27604F05-86AD-47EF-9E05-950BB762570C', 'ccc817ef-e760-482b-b82f-a6854663110f', 'Al Nyveldt', 'Adventures in Code and Other Stories', 'http://www.nyveldt.com/blog/', 'http://feeds.feedburner.com/razorant', 'contact', 1 ); -INSERT INTO be_BlogRollItems ( BlogId, BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( '27604F05-86AD-47EF-9E05-950BB762570C', 'dcdaa78b-0b77-4691-99f0-1bb6418945a1', 'Ruslan Tur', '.NET and Open Source: better together', 'http://rtur.net/blog/', 'http://feeds.feedburner.com/rtur', 'contact', 2 ); -INSERT INTO be_BlogRollItems ( BlogId, BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( '27604F05-86AD-47EF-9E05-950BB762570C', '8a846489-b69e-4fde-b2b2-53bc6104a6fa', 'John Dyer', 'Technology and web development in ASP.NET, Flash, and JavaScript', 'http://johndyer.name/', 'http://johndyer.name/syndication.axd', 'contact', 3 ); -INSERT INTO be_BlogRollItems ( BlogId, BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( '27604F05-86AD-47EF-9E05-950BB762570C', '7f906880-4316-47f1-a934-1a912fc02f8b', 'Russell van der Walt', 'an adventure in web technologies', 'http://blog.ruski.co.za/', 'http://feeds.feedburner.com/rusvdw', 'contact', 4 ); -INSERT INTO be_BlogRollItems ( BlogId, BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( '27604F05-86AD-47EF-9E05-950BB762570C', '890f00e5-3a86-4cba-b85b-104063964a87', 'Ben Amada', 'adventures in application development', 'http://allben.net/', 'http://feeds.feedburner.com/allben', 'contact', 5 ); - -INSERT INTO be_Categories (BlogID, CategoryID, CategoryName) - VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'ffc26b8b-7d45-46e3-b702-7198e8847e06', 'General'); - -INSERT INTO be_Posts (BlogID, PostID, Title, Description, PostContent, DateCreated, DateModified, Author, IsPublished) - VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'daf4bc0e-f4b7-4895-94b2-3b1413379d4b', - 'Welcome to BlogEngine.NET 3.1 using MySQL', - 'The description is used as the meta description as well as shown in the related posts. It is recommended that you write a description, but not mandatory', - '

If you see this post it means that BlogEngine.NET is running and the hard part of creating your own blog is done. There is only a few things left to do.

-

Write Permissions

-

To be able to log in, write posts and customize blog, you need to enable write permissions on the App_Data and Custom folders. If your blog is hosted at a hosting provider, you can either log into your account’s admin page or call the support.

-

If you wish to use a database to store your blog data, we still encourage you to enable this write access for an images you may wish to store for your blog posts.  If you are interested in using Microsoft SQL Server, MySQL, SQL CE, or other databases, please see the BlogEngine docs to get started.

-

Security

-

When you`ve got write permissions set, you need to change the username and password. Find the sign-in link located either at the bottom or top of the page depending on your current theme and click it. Now enter "admin" in both the username and password fields and click the button. You will now see an admin menu appear. It has a link to the "Users" admin page. From there you can change password, create new users and set roles and permissions. Passwords are hashed by default so you better configure email in settings for password recovery to work or learn how to do it manually.

-

Configuration and Profile

-

Now that you have your blog secured, take a look through the settings and give your new blog a title.  BlogEngine.NET is set up to take full advantage of many semantic formats and technologies such as FOAF, SIOC and APML. It means that the content stored in your BlogEngine.NET installation will be fully portable and auto-discoverable.  Be sure to fill in your author profile to take better advantage of this.

-

Themes, Widgets & Extensions

-

One last thing to consider is customizing the look and behavior of your blog. We have themes, widgets and extensions available right out of the box. You can install more right from admin panel under Custom/Gallery.

-

On the web

-

You can find news about BlogEngine.NET on the official website. For tutorials, documentation, tips and tricks visit our docs site. The ongoing development of BlogEngine.NET can be followed at CodePlex where the daily builds will be published for anyone to download.

-

Good luck and happy writing.

-

The BlogEngine.NET team

', - CURDATE(), - CURDATE(), - 'admin', - 1); - -INSERT INTO be_PostCategory (BlogID, PostID, CategoryID) - VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'daf4bc0e-f4b7-4895-94b2-3b1413379d4b', 'ffc26b8b-7d45-46e3-b702-7198e8847e06'); -INSERT INTO be_PostTag (BlogID, PostID, Tag) - VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'daf4bc0e-f4b7-4895-94b2-3b1413379d4b', 'blog'); -INSERT INTO be_PostTag (BlogID, PostID, Tag) - VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'daf4bc0e-f4b7-4895-94b2-3b1413379d4b', 'welcome'); - -INSERT INTO be_Users (BlogID, UserName, Password, LastLoginTime, EmailAddress) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'Admin', '', CURDATE(), 'email@example.com'); -INSERT INTO be_Roles (BlogID, Role) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'Administrators'); -INSERT INTO be_Roles (BlogID, Role) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'Editors'); -INSERT INTO be_UserRoles (BlogID, UserName, Role) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'Admin', 'Administrators'); - -INSERT INTO be_DataStoreSettings (BlogId, ExtensionType, ExtensionId, Settings) -VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 1, 'be_WIDGET_ZONE', '<widgets><widget id="d9ada63d-3462-4c72-908e-9d35f0acce40" title="TextBox" showTitle="True">TextBox</widget><widget id="19baa5f6-49d4-4828-8f7f-018535c35f94" title="Administration" showTitle="True">Administration</widget><widget id="d81c5ae3-e57e-4374-a539-5cdee45e639f" title="Search" showTitle="True">Search</widget><widget id="77142800-6dff-4016-99ca-69b5c5ebac93" title="Tag Cloud" showTitle="True">TagCloud</widget><widget id="4ce68ae7-c0c8-4bf8-b50f-a67b582b0d2e" title="Post List" showTitle="True">PostList</widget></widgets>'); --- --- be_Pages SortOrder --- -ALTER TABLE be_Pages ADD COLUMN SortOrder INT DEFAULT 0; --- --- add new rights to administrators --- -INSERT INTO be_RightRoles (BlogID, RightName, Role) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'ViewDashboard', 'Administrators'); -INSERT INTO be_RightRoles (BlogID, RightName, Role) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'ManageExtensions', 'Administrators'); -INSERT INTO be_RightRoles (BlogID, RightName, Role) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'ManageThemes', 'Administrators'); -INSERT INTO be_RightRoles (BlogID, RightName, Role) VALUES ('27604F05-86AD-47EF-9E05-950BB762570C', 'ManagePackages', 'Administrators'); - -INSERT INTO be_Rights (BlogId, RightName) VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ViewDashboard'); -INSERT INTO be_Rights (BlogId, RightName) VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManageExtensions'); -INSERT INTO be_Rights (BlogId, RightName) VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManageThemes'); -INSERT INTO be_Rights (BlogId, RightName) VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManagePackages'); diff --git a/BlogEngine/BlogEngine.NET/setup/ReadMe.txt b/BlogEngine/BlogEngine.NET/setup/ReadMe.txt deleted file mode 100644 index f99920ac3..000000000 --- a/BlogEngine/BlogEngine.NET/setup/ReadMe.txt +++ /dev/null @@ -1,8 +0,0 @@ -BlogEngine.NET supports a variety of data storage options out of the box. By -default, it will store all data in XML files in your App_Data folder. If you wish to -use a database to store your data, we have folders inside the setup folder to help you -get started with SQL Server, SQL CE, MySQL or SQLite. Any database that has an -ADO.NET dll that supports DbProviderFactory can be used with some configuration. - -Additional information can be found on our site at -http://www.dotnetblogengine.net/ \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup1.4.5.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup1.4.5.0.sql deleted file mode 100644 index 506d3c9eb..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup1.4.5.0.sql +++ /dev/null @@ -1,563 +0,0 @@ -/****** BlogEngine.NET 1.4.5 SQL Setup Script ******/ - -/****** Object: Table [dbo].[be_Categories] Script Date: 12/22/2007 14:14:54 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Categories]( - [CategoryID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_Categories_CategoryID] DEFAULT (newid()), - [CategoryName] [nvarchar](50) NULL, - [Description] [nvarchar](200) NULL, - [ParentID] [uniqueidentifier] NULL, - CONSTRAINT [PK_be_Categories] PRIMARY KEY CLUSTERED -( - [CategoryID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_DataStoreSettings] Script Date: 06/28/2008 19:29:31 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -SET ANSI_PADDING ON -GO -CREATE TABLE [dbo].[be_DataStoreSettings]( - [ExtensionType] [nvarchar](50) NOT NULL, - [ExtensionId] [nvarchar](100) NOT NULL, - [Settings] [nvarchar](max) NOT NULL -) ON [PRIMARY] - -GO -/****** Object: Table [dbo].[be_Pages] Script Date: 12/22/2007 14:15:17 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Pages]( - [PageID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_Pages_PageID] DEFAULT (newid()), - [Title] [nvarchar](255) NULL, - [Description] [nvarchar](max) NULL, - [PageContent] [nvarchar](max) NULL, - [Keywords] [nvarchar](max) NULL, - [DateCreated] [datetime] NULL, - [DateModified] [datetime] NULL, - [IsPublished] [bit] NULL, - [IsFrontPage] [bit] NULL, - [Parent] [uniqueidentifier] NULL, - [ShowInList] [bit] NULL, - CONSTRAINT [PK_be_Pages] PRIMARY KEY CLUSTERED -( - [PageID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_PingService] Script Date: 12/22/2007 14:15:47 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PingService]( - [PingServiceID] [int] IDENTITY(1,1) NOT NULL, - [Link] [nvarchar](255) NULL, - CONSTRAINT [PK_be_PingService] PRIMARY KEY CLUSTERED -( - [PingServiceID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Posts] Script Date: 12/22/2007 14:16:27 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Posts]( - [PostID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_Posts_PostID] DEFAULT (newid()), - [Title] [nvarchar](255) NULL, - [Description] [nvarchar](max) NULL, - [PostContent] [nvarchar](max) NULL, - [DateCreated] [datetime] NULL, - [DateModified] [datetime] NULL, - [Author] [nvarchar](50) NULL, - [IsPublished] [bit] NULL, - [IsCommentEnabled] [bit] NULL, - [Raters] [int] NULL, - [Rating] [real] NULL, - [Slug] [nvarchar](255) NULL, - CONSTRAINT [PK_be_Posts] PRIMARY KEY CLUSTERED -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Settings] Script Date: 12/22/2007 14:16:07 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Settings]( - [SettingName] [nvarchar](50) NOT NULL, - [SettingValue] [nvarchar](max) NULL, - CONSTRAINT [PK_be_Settings] PRIMARY KEY CLUSTERED -( - [SettingName] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Profiles] Script Date: 06/28/2008 19:33:41 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Profiles]( - [ProfileID] [int] IDENTITY(1,1) NOT NULL, - [UserName] [nvarchar](100) NULL, - [SettingName] [nvarchar](200) NULL, - [SettingValue] [nvarchar](max) NULL, - CONSTRAINT [PK_be_Profiles] PRIMARY KEY CLUSTERED -( - [ProfileID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_StopWords] Script Date: 06/28/2008 19:33:32 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_StopWords]( - [StopWord] [nvarchar](50) NOT NULL, - CONSTRAINT [PK_be_StopWords] PRIMARY KEY CLUSTERED -( - [StopWord] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_PostCategory] Script Date: 12/22/2007 14:17:00 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PostCategory]( - [PostCategoryID] [int] IDENTITY(1,1) NOT NULL, - [PostID] [uniqueidentifier] NOT NULL, - [CategoryID] [uniqueidentifier] NOT NULL, - CONSTRAINT [PK_be_PostCategory] PRIMARY KEY CLUSTERED -( - [PostCategoryID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_PostCategory] WITH CHECK ADD CONSTRAINT [FK_be_PostCategory_be_Categories] FOREIGN KEY([CategoryID]) -REFERENCES [dbo].[be_Categories] ([CategoryID]) -GO -ALTER TABLE [dbo].[be_PostCategory] CHECK CONSTRAINT [FK_be_PostCategory_be_Categories] -GO -ALTER TABLE [dbo].[be_PostCategory] WITH CHECK ADD CONSTRAINT [FK_be_PostCategory_be_Posts] FOREIGN KEY([PostID]) -REFERENCES [dbo].[be_Posts] ([PostID]) -GO -ALTER TABLE [dbo].[be_PostCategory] CHECK CONSTRAINT [FK_be_PostCategory_be_Posts] -GO -/****** Object: Table [dbo].[be_PostComment] Script Date: 12/22/2007 14:17:15 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PostComment]( - [PostCommentID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_PostComment_PostCommentID] DEFAULT (newid()), - [PostID] [uniqueidentifier] NOT NULL, - [CommentDate] [datetime] NOT NULL, - [Author] [nvarchar](255) NULL, - [Email] [nvarchar](255) NULL, - [Website] [nvarchar](255) NULL, - [Comment] [nvarchar](max) NULL, - [Country] [nvarchar](255) NULL, - [Ip] [nvarchar](50) NULL, - [IsApproved] [bit] NULL, - CONSTRAINT [PK_be_PostComment] PRIMARY KEY CLUSTERED -( - [PostCommentID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_PostComment] WITH CHECK ADD CONSTRAINT [FK_be_PostComment_be_Posts] FOREIGN KEY([PostID]) -REFERENCES [dbo].[be_Posts] ([PostID]) -GO -ALTER TABLE [dbo].[be_PostComment] CHECK CONSTRAINT [FK_be_PostComment_be_Posts] -GO -/****** Object: Table [dbo].[be_PostNotify] Script Date: 12/22/2007 14:17:31 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PostNotify]( - [PostNotifyID] [int] IDENTITY(1,1) NOT NULL, - [PostID] [uniqueidentifier] NOT NULL, - [NotifyAddress] [nvarchar](255) NULL, - CONSTRAINT [PK_be_PostNotify] PRIMARY KEY CLUSTERED -( - [PostNotifyID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_PostNotify] WITH CHECK ADD CONSTRAINT [FK_be_PostNotify_be_Posts] FOREIGN KEY([PostID]) -REFERENCES [dbo].[be_Posts] ([PostID]) -GO -ALTER TABLE [dbo].[be_PostNotify] CHECK CONSTRAINT [FK_be_PostNotify_be_Posts] -GO -/****** Object: Table [dbo].[be_PostTag] Script Date: 12/22/2007 14:17:44 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PostTag]( - [PostTagID] [int] IDENTITY(1,1) NOT NULL, - [PostID] [uniqueidentifier] NOT NULL, - [Tag] [nvarchar](50) NULL, - CONSTRAINT [PK_be_PostTag] PRIMARY KEY CLUSTERED -( - [PostTagID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_PostTag] WITH CHECK ADD CONSTRAINT [FK_be_PostTag_be_Posts] FOREIGN KEY([PostID]) -REFERENCES [dbo].[be_Posts] ([PostID]) -GO -ALTER TABLE [dbo].[be_PostTag] CHECK CONSTRAINT [FK_be_PostTag_be_Posts] -GO -/****** Object: Table [dbo].[be_Users] Script Date: 07/30/2008 21:55:28 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Users]( - [UserID] [int] IDENTITY(1,1) NOT NULL, - [UserName] [nvarchar](100) NOT NULL, - [Password] [nvarchar](255) NOT NULL, - [LastLoginTime] [datetime] NULL, - [EmailAddress] [nvarchar](100) NULL, - CONSTRAINT [PK_be_Users] PRIMARY KEY CLUSTERED -( - [UserID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Roles] Script Date: 07/30/2008 21:56:59 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Roles]( - [RoleID] [int] IDENTITY(1,1) NOT NULL, - [Role] [nvarchar](100) NOT NULL, - CONSTRAINT [PK_be_Roles] PRIMARY KEY CLUSTERED -( - [RoleID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_UserRoles] Script Date: 07/31/2008 12:26:45 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_UserRoles]( - [UserRoleID] [int] IDENTITY(1,1) NOT NULL, - [UserID] [int] NOT NULL, - [RoleID] [int] NOT NULL, - CONSTRAINT [PK_be_UserRoles] PRIMARY KEY CLUSTERED -( - [UserRoleID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Roles] FOREIGN KEY([RoleID]) -REFERENCES [dbo].[be_Roles] ([RoleID]) -GO -ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Roles] -GO -ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Users] FOREIGN KEY([UserID]) -REFERENCES [dbo].[be_Users] ([UserID]) -GO -ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Users] -GO -/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:18:36 ******/ -CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostCategory] -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [FK_CategoryID] Script Date: 12/22/2007 14:19:19 ******/ -CREATE NONCLUSTERED INDEX [FK_CategoryID] ON [dbo].[be_PostCategory] -( - [CategoryID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:19:45 ******/ -CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostComment] -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:20:29 ******/ -CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostNotify] -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:20:43 ******/ -CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostTag] -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [I_TypeID] Script Date: 06/28/2008 19:34:43 ******/ -CREATE NONCLUSTERED INDEX [I_TypeID] ON [dbo].[be_DataStoreSettings] -( - [ExtensionType] ASC, - [ExtensionId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [I_UserName] Script Date: 06/28/2008 19:35:12 ******/ -CREATE NONCLUSTERED INDEX [I_UserName] ON [dbo].[be_Profiles] -( - [UserName] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/*** Load initial Data ***/ -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('administratorrole', 'Administrators'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('alternatefeedurl', ''); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('authorname', 'My name'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('avatar', 'combine'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollmaxlength', '23'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollupdateminutes', '60'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollvisibleposts', '3'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('contactformmessage', '

I will answer the mail as soon as I can.

'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('contactthankmessage', '

Thank you

The message was sent.

'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('culture', 'Auto'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('dayscommentsareenabled', '0'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('description', 'Short description of the blog'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displaycommentsonrecentposts', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displayratingsonrecentposts', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('email', 'user@example.com'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('emailsubjectprefix', 'Weblog'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsearch', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsmoderation', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecontactattachments', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecountryincomments', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablehttpcompression', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enableopensearch', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbackreceive', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbacksend', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerating', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablereferrertracking', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerelatedposts', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablessl', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbackreceive', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbacksend', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('endorsement', 'http://www.dotnetblogengine.net/syndication.axd'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('fileextension', '.aspx'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglatitude', '0'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglongitude', '0'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('handlewwwsubdomain', ''); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscocommentenabled', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscommentsenabled', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('language', 'en-GB'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('mobiletheme', 'Mobile'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('name', 'Name of the blog'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentcomments', '10'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentposts', '10'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperfeed', '10'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperpage', '10'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('removewhitespaceinstylesheets', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchbuttontext', 'Search'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchcommentlabeltext', 'Include comments in search'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchdefaulttext', 'Enter search term'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('sendmailoncomment', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showdescriptioninpostlist', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showlivepreview', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showpostnavigation', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtppassword', 'password'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserver', 'mail.example.dk'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserverport', '25'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpusername', 'user@example.com'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('storagelocation', '~/App_Data/'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('syndicationformat', 'Rss'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('theme', 'Standard'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timestamppostlinks', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timezone', '-5'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('trackingscript', ''); - -INSERT INTO be_PingService (Link) VALUES ('http://rpc.technorati.com/rpc/ping'); -INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingomatic.com/rpc2'); -INSERT INTO be_PingService (Link) VALUES ('http://ping.feedburner.com'); -INSERT INTO be_PingService (Link) VALUES ('http://www.bloglines.com/ping'); -INSERT INTO be_PingService (Link) VALUES ('http://services.newsgator.com/ngws/xmlrpcping.aspx'); -INSERT INTO be_PingService (Link) VALUES ('http://api.my.yahoo.com/rpc2 '); -INSERT INTO be_PingService (Link) VALUES ('http://blogsearch.google.com/ping/RPC2'); -INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingthesemanticweb.com/'); - -INSERT INTO be_StopWords (StopWord) VALUES ('a'); -INSERT INTO be_StopWords (StopWord) VALUES ('about'); -INSERT INTO be_StopWords (StopWord) VALUES ('actually'); -INSERT INTO be_StopWords (StopWord) VALUES ('add'); -INSERT INTO be_StopWords (StopWord) VALUES ('after'); -INSERT INTO be_StopWords (StopWord) VALUES ('all'); -INSERT INTO be_StopWords (StopWord) VALUES ('almost'); -INSERT INTO be_StopWords (StopWord) VALUES ('along'); -INSERT INTO be_StopWords (StopWord) VALUES ('also'); -INSERT INTO be_StopWords (StopWord) VALUES ('an'); -INSERT INTO be_StopWords (StopWord) VALUES ('and'); -INSERT INTO be_StopWords (StopWord) VALUES ('any'); -INSERT INTO be_StopWords (StopWord) VALUES ('are'); -INSERT INTO be_StopWords (StopWord) VALUES ('as'); -INSERT INTO be_StopWords (StopWord) VALUES ('at'); -INSERT INTO be_StopWords (StopWord) VALUES ('be'); -INSERT INTO be_StopWords (StopWord) VALUES ('both'); -INSERT INTO be_StopWords (StopWord) VALUES ('but'); -INSERT INTO be_StopWords (StopWord) VALUES ('by'); -INSERT INTO be_StopWords (StopWord) VALUES ('can'); -INSERT INTO be_StopWords (StopWord) VALUES ('cannot'); -INSERT INTO be_StopWords (StopWord) VALUES ('com'); -INSERT INTO be_StopWords (StopWord) VALUES ('could'); -INSERT INTO be_StopWords (StopWord) VALUES ('de'); -INSERT INTO be_StopWords (StopWord) VALUES ('do'); -INSERT INTO be_StopWords (StopWord) VALUES ('down'); -INSERT INTO be_StopWords (StopWord) VALUES ('each'); -INSERT INTO be_StopWords (StopWord) VALUES ('either'); -INSERT INTO be_StopWords (StopWord) VALUES ('en'); -INSERT INTO be_StopWords (StopWord) VALUES ('for'); -INSERT INTO be_StopWords (StopWord) VALUES ('from'); -INSERT INTO be_StopWords (StopWord) VALUES ('good'); -INSERT INTO be_StopWords (StopWord) VALUES ('has'); -INSERT INTO be_StopWords (StopWord) VALUES ('have'); -INSERT INTO be_StopWords (StopWord) VALUES ('he'); -INSERT INTO be_StopWords (StopWord) VALUES ('her'); -INSERT INTO be_StopWords (StopWord) VALUES ('here'); -INSERT INTO be_StopWords (StopWord) VALUES ('hers'); -INSERT INTO be_StopWords (StopWord) VALUES ('his'); -INSERT INTO be_StopWords (StopWord) VALUES ('how'); -INSERT INTO be_StopWords (StopWord) VALUES ('i'); -INSERT INTO be_StopWords (StopWord) VALUES ('if'); -INSERT INTO be_StopWords (StopWord) VALUES ('in'); -INSERT INTO be_StopWords (StopWord) VALUES ('into'); -INSERT INTO be_StopWords (StopWord) VALUES ('is'); -INSERT INTO be_StopWords (StopWord) VALUES ('it'); -INSERT INTO be_StopWords (StopWord) VALUES ('its'); -INSERT INTO be_StopWords (StopWord) VALUES ('just'); -INSERT INTO be_StopWords (StopWord) VALUES ('la'); -INSERT INTO be_StopWords (StopWord) VALUES ('like'); -INSERT INTO be_StopWords (StopWord) VALUES ('long'); -INSERT INTO be_StopWords (StopWord) VALUES ('make'); -INSERT INTO be_StopWords (StopWord) VALUES ('me'); -INSERT INTO be_StopWords (StopWord) VALUES ('more'); -INSERT INTO be_StopWords (StopWord) VALUES ('much'); -INSERT INTO be_StopWords (StopWord) VALUES ('my'); -INSERT INTO be_StopWords (StopWord) VALUES ('need'); -INSERT INTO be_StopWords (StopWord) VALUES ('new'); -INSERT INTO be_StopWords (StopWord) VALUES ('now'); -INSERT INTO be_StopWords (StopWord) VALUES ('of'); -INSERT INTO be_StopWords (StopWord) VALUES ('off'); -INSERT INTO be_StopWords (StopWord) VALUES ('on'); -INSERT INTO be_StopWords (StopWord) VALUES ('once'); -INSERT INTO be_StopWords (StopWord) VALUES ('one'); -INSERT INTO be_StopWords (StopWord) VALUES ('ones'); -INSERT INTO be_StopWords (StopWord) VALUES ('only'); -INSERT INTO be_StopWords (StopWord) VALUES ('or'); -INSERT INTO be_StopWords (StopWord) VALUES ('our'); -INSERT INTO be_StopWords (StopWord) VALUES ('out'); -INSERT INTO be_StopWords (StopWord) VALUES ('over'); -INSERT INTO be_StopWords (StopWord) VALUES ('own'); -INSERT INTO be_StopWords (StopWord) VALUES ('really'); -INSERT INTO be_StopWords (StopWord) VALUES ('right'); -INSERT INTO be_StopWords (StopWord) VALUES ('same'); -INSERT INTO be_StopWords (StopWord) VALUES ('see'); -INSERT INTO be_StopWords (StopWord) VALUES ('she'); -INSERT INTO be_StopWords (StopWord) VALUES ('so'); -INSERT INTO be_StopWords (StopWord) VALUES ('some'); -INSERT INTO be_StopWords (StopWord) VALUES ('such'); -INSERT INTO be_StopWords (StopWord) VALUES ('take'); -INSERT INTO be_StopWords (StopWord) VALUES ('takes'); -INSERT INTO be_StopWords (StopWord) VALUES ('that'); -INSERT INTO be_StopWords (StopWord) VALUES ('the'); -INSERT INTO be_StopWords (StopWord) VALUES ('their'); -INSERT INTO be_StopWords (StopWord) VALUES ('these'); -INSERT INTO be_StopWords (StopWord) VALUES ('thing'); -INSERT INTO be_StopWords (StopWord) VALUES ('this'); -INSERT INTO be_StopWords (StopWord) VALUES ('to'); -INSERT INTO be_StopWords (StopWord) VALUES ('too'); -INSERT INTO be_StopWords (StopWord) VALUES ('took'); -INSERT INTO be_StopWords (StopWord) VALUES ('und'); -INSERT INTO be_StopWords (StopWord) VALUES ('up'); -INSERT INTO be_StopWords (StopWord) VALUES ('use'); -INSERT INTO be_StopWords (StopWord) VALUES ('used'); -INSERT INTO be_StopWords (StopWord) VALUES ('using'); -INSERT INTO be_StopWords (StopWord) VALUES ('very'); -INSERT INTO be_StopWords (StopWord) VALUES ('was'); -INSERT INTO be_StopWords (StopWord) VALUES ('we'); -INSERT INTO be_StopWords (StopWord) VALUES ('well'); -INSERT INTO be_StopWords (StopWord) VALUES ('what'); -INSERT INTO be_StopWords (StopWord) VALUES ('when'); -INSERT INTO be_StopWords (StopWord) VALUES ('where'); -INSERT INTO be_StopWords (StopWord) VALUES ('who'); -INSERT INTO be_StopWords (StopWord) VALUES ('will'); -INSERT INTO be_StopWords (StopWord) VALUES ('with'); -INSERT INTO be_StopWords (StopWord) VALUES ('www'); -INSERT INTO be_StopWords (StopWord) VALUES ('you'); -INSERT INTO be_StopWords (StopWord) VALUES ('your'); - -DECLARE @postID uniqueidentifier, @catID uniqueidentifier; - -SET @postID = NEWID(); -SET @catID = NEWID(); - -INSERT INTO be_Categories (CategoryID, CategoryName) - VALUES (@catID, 'General'); - -INSERT INTO be_Posts (PostID, Title, Description, PostContent, DateCreated, Author, IsPublished) - VALUES (@postID, - 'Welcome to BlogEngine.NET 1.4.5 using Microsoft SQL Server', - 'The description is used as the meta description as well as shown in the related posts. It is recommended that you write a description, but not mandatory', - '

If you see this post it means that BlogEngine.NET 1.4.5 is running with SQL Server and the DbBlogProvider is configured correctly.

-

Setup

-

If you are using the ASP.NET Membership provider, you are set to use existing users. If you are using the default BlogEngine.NET XML provider, it is time to setup some users. Find the sign-in link located either at the bottom or top of the page depending on your current theme and click it. Now enter "admin" in both the username and password fields and click the button. You will now see an admin menu appear. It has a link to the "Users" admin page. From there you can change the username and password.

-

Write permissions

-

Since you are using SQL to store your posts, most information is stored there. However, if you want to store attachments or images in the blog, you will want write permissions setup on the App_Data folder.

-

On the web

-

You can find BlogEngine.NET on the official website. Here you will find tutorials, documentation, tips and tricks and much more. The ongoing development of BlogEngine.NET can be followed at CodePlex where the daily builds will be published for anyone to download.

-

Good luck and happy writing.

-

The BlogEngine.NET team

', - GETDATE(), - 'admin', - 1); - -INSERT INTO be_PostCategory (PostID, CategoryID) - VALUES (@postID, @catID); -INSERT INTO be_PostTag (PostID, Tag) - VALUES (@postID, 'blog'); -INSERT INTO be_PostTag (PostID, Tag) - VALUES (@postID, 'welcome'); - -INSERT INTO be_Users (UserName, Password, LastLoginTime, EmailAddress) - VALUES ('Admin', '', GETDATE(), 'email@example.com'); -INSERT INTO be_Roles (Role) - VALUES ('Administrators'); -INSERT INTO be_Roles (Role) - VALUES ('Editors'); -INSERT INTO be_UserRoles (UserID, RoleID) -VALUES (1, 1); - -INSERT INTO be_DataStoreSettings (ExtensionType, ExtensionId, Settings) -VALUES (1, 'be_WIDGET_ZONE', -' - - <widgets><widget id="d9ada63d-3462-4c72-908e-9d35f0acce40" title="TextBox" showTitle="True">TextBox</widget><widget id="19baa5f6-49d4-4828-8f7f-018535c35f94" title="Administration" showTitle="True">Administration</widget><widget id="d81c5ae3-e57e-4374-a539-5cdee45e639f" title="Search" showTitle="True">Search</widget><widget id="77142800-6dff-4016-99ca-69b5c5ebac93" title="Tag cloud" showTitle="True">Tag cloud</widget><widget id="4ce68ae7-c0c8-4bf8-b50f-a67b582b0d2e" title="RecentPosts" showTitle="True">RecentPosts</widget></widgets> -'); - -GO diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup1.5.0.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup1.5.0.0.sql deleted file mode 100644 index 9f6c28795..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup1.5.0.0.sql +++ /dev/null @@ -1,564 +0,0 @@ -/****** BlogEngine.NET 1.5 SQL Setup Script ******/ - -/****** Object: Table [dbo].[be_Categories] Script Date: 12/22/2007 14:14:54 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Categories]( - [CategoryID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_Categories_CategoryID] DEFAULT (newid()), - [CategoryName] [nvarchar](50) NULL, - [Description] [nvarchar](200) NULL, - [ParentID] [uniqueidentifier] NULL, - CONSTRAINT [PK_be_Categories] PRIMARY KEY CLUSTERED -( - [CategoryID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_DataStoreSettings] Script Date: 06/28/2008 19:29:31 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -SET ANSI_PADDING ON -GO -CREATE TABLE [dbo].[be_DataStoreSettings]( - [ExtensionType] [nvarchar](50) NOT NULL, - [ExtensionId] [nvarchar](100) NOT NULL, - [Settings] [nvarchar](max) NOT NULL -) ON [PRIMARY] - -GO -/****** Object: Table [dbo].[be_Pages] Script Date: 12/22/2007 14:15:17 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Pages]( - [PageID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_Pages_PageID] DEFAULT (newid()), - [Title] [nvarchar](255) NULL, - [Description] [nvarchar](max) NULL, - [PageContent] [nvarchar](max) NULL, - [Keywords] [nvarchar](max) NULL, - [DateCreated] [datetime] NULL, - [DateModified] [datetime] NULL, - [IsPublished] [bit] NULL, - [IsFrontPage] [bit] NULL, - [Parent] [uniqueidentifier] NULL, - [ShowInList] [bit] NULL, - CONSTRAINT [PK_be_Pages] PRIMARY KEY CLUSTERED -( - [PageID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_PingService] Script Date: 12/22/2007 14:15:47 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PingService]( - [PingServiceID] [int] IDENTITY(1,1) NOT NULL, - [Link] [nvarchar](255) NULL, - CONSTRAINT [PK_be_PingService] PRIMARY KEY CLUSTERED -( - [PingServiceID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Posts] Script Date: 12/22/2007 14:16:27 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Posts]( - [PostID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_Posts_PostID] DEFAULT (newid()), - [Title] [nvarchar](255) NULL, - [Description] [nvarchar](max) NULL, - [PostContent] [nvarchar](max) NULL, - [DateCreated] [datetime] NULL, - [DateModified] [datetime] NULL, - [Author] [nvarchar](50) NULL, - [IsPublished] [bit] NULL, - [IsCommentEnabled] [bit] NULL, - [Raters] [int] NULL, - [Rating] [real] NULL, - [Slug] [nvarchar](255) NULL, - CONSTRAINT [PK_be_Posts] PRIMARY KEY CLUSTERED -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Settings] Script Date: 12/22/2007 14:16:07 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Settings]( - [SettingName] [nvarchar](50) NOT NULL, - [SettingValue] [nvarchar](max) NULL, - CONSTRAINT [PK_be_Settings] PRIMARY KEY CLUSTERED -( - [SettingName] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Profiles] Script Date: 06/28/2008 19:33:41 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Profiles]( - [ProfileID] [int] IDENTITY(1,1) NOT NULL, - [UserName] [nvarchar](100) NULL, - [SettingName] [nvarchar](200) NULL, - [SettingValue] [nvarchar](max) NULL, - CONSTRAINT [PK_be_Profiles] PRIMARY KEY CLUSTERED -( - [ProfileID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_StopWords] Script Date: 06/28/2008 19:33:32 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_StopWords]( - [StopWord] [nvarchar](50) NOT NULL, - CONSTRAINT [PK_be_StopWords] PRIMARY KEY CLUSTERED -( - [StopWord] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_PostCategory] Script Date: 12/22/2007 14:17:00 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PostCategory]( - [PostCategoryID] [int] IDENTITY(1,1) NOT NULL, - [PostID] [uniqueidentifier] NOT NULL, - [CategoryID] [uniqueidentifier] NOT NULL, - CONSTRAINT [PK_be_PostCategory] PRIMARY KEY CLUSTERED -( - [PostCategoryID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_PostCategory] WITH CHECK ADD CONSTRAINT [FK_be_PostCategory_be_Categories] FOREIGN KEY([CategoryID]) -REFERENCES [dbo].[be_Categories] ([CategoryID]) -GO -ALTER TABLE [dbo].[be_PostCategory] CHECK CONSTRAINT [FK_be_PostCategory_be_Categories] -GO -ALTER TABLE [dbo].[be_PostCategory] WITH CHECK ADD CONSTRAINT [FK_be_PostCategory_be_Posts] FOREIGN KEY([PostID]) -REFERENCES [dbo].[be_Posts] ([PostID]) -GO -ALTER TABLE [dbo].[be_PostCategory] CHECK CONSTRAINT [FK_be_PostCategory_be_Posts] -GO -/****** Object: Table [dbo].[be_PostComment] Script Date: 12/22/2007 14:17:15 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PostComment]( - [PostCommentID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_PostComment_PostCommentID] DEFAULT (newid()), - [PostID] [uniqueidentifier] NOT NULL, - [ParentCommentID] [uniqueidentifier] NOT NULL DEFAULT ('00000000-0000-0000-0000-000000000000'), - [CommentDate] [datetime] NOT NULL, - [Author] [nvarchar](255) NULL, - [Email] [nvarchar](255) NULL, - [Website] [nvarchar](255) NULL, - [Comment] [nvarchar](max) NULL, - [Country] [nvarchar](255) NULL, - [Ip] [nvarchar](50) NULL, - [IsApproved] [bit] NULL, - CONSTRAINT [PK_be_PostComment] PRIMARY KEY CLUSTERED -( - [PostCommentID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_PostComment] WITH CHECK ADD CONSTRAINT [FK_be_PostComment_be_Posts] FOREIGN KEY([PostID]) -REFERENCES [dbo].[be_Posts] ([PostID]) -GO -ALTER TABLE [dbo].[be_PostComment] CHECK CONSTRAINT [FK_be_PostComment_be_Posts] -GO -/****** Object: Table [dbo].[be_PostNotify] Script Date: 12/22/2007 14:17:31 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PostNotify]( - [PostNotifyID] [int] IDENTITY(1,1) NOT NULL, - [PostID] [uniqueidentifier] NOT NULL, - [NotifyAddress] [nvarchar](255) NULL, - CONSTRAINT [PK_be_PostNotify] PRIMARY KEY CLUSTERED -( - [PostNotifyID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_PostNotify] WITH CHECK ADD CONSTRAINT [FK_be_PostNotify_be_Posts] FOREIGN KEY([PostID]) -REFERENCES [dbo].[be_Posts] ([PostID]) -GO -ALTER TABLE [dbo].[be_PostNotify] CHECK CONSTRAINT [FK_be_PostNotify_be_Posts] -GO -/****** Object: Table [dbo].[be_PostTag] Script Date: 12/22/2007 14:17:44 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PostTag]( - [PostTagID] [int] IDENTITY(1,1) NOT NULL, - [PostID] [uniqueidentifier] NOT NULL, - [Tag] [nvarchar](50) NULL, - CONSTRAINT [PK_be_PostTag] PRIMARY KEY CLUSTERED -( - [PostTagID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_PostTag] WITH CHECK ADD CONSTRAINT [FK_be_PostTag_be_Posts] FOREIGN KEY([PostID]) -REFERENCES [dbo].[be_Posts] ([PostID]) -GO -ALTER TABLE [dbo].[be_PostTag] CHECK CONSTRAINT [FK_be_PostTag_be_Posts] -GO -/****** Object: Table [dbo].[be_Users] Script Date: 07/30/2008 21:55:28 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Users]( - [UserID] [int] IDENTITY(1,1) NOT NULL, - [UserName] [nvarchar](100) NOT NULL, - [Password] [nvarchar](255) NOT NULL, - [LastLoginTime] [datetime] NULL, - [EmailAddress] [nvarchar](100) NULL, - CONSTRAINT [PK_be_Users] PRIMARY KEY CLUSTERED -( - [UserID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Roles] Script Date: 07/30/2008 21:56:59 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Roles]( - [RoleID] [int] IDENTITY(1,1) NOT NULL, - [Role] [nvarchar](100) NOT NULL, - CONSTRAINT [PK_be_Roles] PRIMARY KEY CLUSTERED -( - [RoleID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_UserRoles] Script Date: 07/31/2008 12:26:45 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_UserRoles]( - [UserRoleID] [int] IDENTITY(1,1) NOT NULL, - [UserID] [int] NOT NULL, - [RoleID] [int] NOT NULL, - CONSTRAINT [PK_be_UserRoles] PRIMARY KEY CLUSTERED -( - [UserRoleID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Roles] FOREIGN KEY([RoleID]) -REFERENCES [dbo].[be_Roles] ([RoleID]) -GO -ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Roles] -GO -ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Users] FOREIGN KEY([UserID]) -REFERENCES [dbo].[be_Users] ([UserID]) -GO -ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Users] -GO -/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:18:36 ******/ -CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostCategory] -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [FK_CategoryID] Script Date: 12/22/2007 14:19:19 ******/ -CREATE NONCLUSTERED INDEX [FK_CategoryID] ON [dbo].[be_PostCategory] -( - [CategoryID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:19:45 ******/ -CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostComment] -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:20:29 ******/ -CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostNotify] -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:20:43 ******/ -CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostTag] -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [I_TypeID] Script Date: 06/28/2008 19:34:43 ******/ -CREATE NONCLUSTERED INDEX [I_TypeID] ON [dbo].[be_DataStoreSettings] -( - [ExtensionType] ASC, - [ExtensionId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [I_UserName] Script Date: 06/28/2008 19:35:12 ******/ -CREATE NONCLUSTERED INDEX [I_UserName] ON [dbo].[be_Profiles] -( - [UserName] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/*** Load initial Data ***/ -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('administratorrole', 'Administrators'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('alternatefeedurl', ''); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('authorname', 'My name'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('avatar', 'combine'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollmaxlength', '23'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollupdateminutes', '60'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollvisibleposts', '3'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('contactformmessage', '

I will answer the mail as soon as I can.

'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('contactthankmessage', '

Thank you

The message was sent.

'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('culture', 'Auto'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('dayscommentsareenabled', '0'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('description', 'Short description of the blog'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displaycommentsonrecentposts', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displayratingsonrecentposts', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('email', 'user@example.com'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('emailsubjectprefix', 'Weblog'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsearch', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsmoderation', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecontactattachments', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecountryincomments', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablehttpcompression', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enableopensearch', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbackreceive', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbacksend', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerating', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablereferrertracking', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerelatedposts', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablessl', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbackreceive', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbacksend', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('endorsement', 'http://www.dotnetblogengine.net/syndication.axd'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('fileextension', '.aspx'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglatitude', '0'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglongitude', '0'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('handlewwwsubdomain', ''); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscocommentenabled', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscommentsenabled', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('language', 'en-GB'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('mobiletheme', 'Mobile'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('name', 'Name of the blog'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentcomments', '10'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentposts', '10'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperfeed', '10'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperpage', '10'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('removewhitespaceinstylesheets', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchbuttontext', 'Search'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchcommentlabeltext', 'Include comments in search'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchdefaulttext', 'Enter search term'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('sendmailoncomment', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showdescriptioninpostlist', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showlivepreview', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showpostnavigation', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtppassword', 'password'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserver', 'mail.example.dk'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserverport', '25'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpusername', 'user@example.com'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('storagelocation', '~/App_Data/'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('syndicationformat', 'Rss'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('theme', 'Standard'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timestamppostlinks', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timezone', '-5'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('trackingscript', ''); - -INSERT INTO be_PingService (Link) VALUES ('http://rpc.technorati.com/rpc/ping'); -INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingomatic.com/rpc2'); -INSERT INTO be_PingService (Link) VALUES ('http://ping.feedburner.com'); -INSERT INTO be_PingService (Link) VALUES ('http://www.bloglines.com/ping'); -INSERT INTO be_PingService (Link) VALUES ('http://services.newsgator.com/ngws/xmlrpcping.aspx'); -INSERT INTO be_PingService (Link) VALUES ('http://api.my.yahoo.com/rpc2 '); -INSERT INTO be_PingService (Link) VALUES ('http://blogsearch.google.com/ping/RPC2'); -INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingthesemanticweb.com/'); - -INSERT INTO be_StopWords (StopWord) VALUES ('a'); -INSERT INTO be_StopWords (StopWord) VALUES ('about'); -INSERT INTO be_StopWords (StopWord) VALUES ('actually'); -INSERT INTO be_StopWords (StopWord) VALUES ('add'); -INSERT INTO be_StopWords (StopWord) VALUES ('after'); -INSERT INTO be_StopWords (StopWord) VALUES ('all'); -INSERT INTO be_StopWords (StopWord) VALUES ('almost'); -INSERT INTO be_StopWords (StopWord) VALUES ('along'); -INSERT INTO be_StopWords (StopWord) VALUES ('also'); -INSERT INTO be_StopWords (StopWord) VALUES ('an'); -INSERT INTO be_StopWords (StopWord) VALUES ('and'); -INSERT INTO be_StopWords (StopWord) VALUES ('any'); -INSERT INTO be_StopWords (StopWord) VALUES ('are'); -INSERT INTO be_StopWords (StopWord) VALUES ('as'); -INSERT INTO be_StopWords (StopWord) VALUES ('at'); -INSERT INTO be_StopWords (StopWord) VALUES ('be'); -INSERT INTO be_StopWords (StopWord) VALUES ('both'); -INSERT INTO be_StopWords (StopWord) VALUES ('but'); -INSERT INTO be_StopWords (StopWord) VALUES ('by'); -INSERT INTO be_StopWords (StopWord) VALUES ('can'); -INSERT INTO be_StopWords (StopWord) VALUES ('cannot'); -INSERT INTO be_StopWords (StopWord) VALUES ('com'); -INSERT INTO be_StopWords (StopWord) VALUES ('could'); -INSERT INTO be_StopWords (StopWord) VALUES ('de'); -INSERT INTO be_StopWords (StopWord) VALUES ('do'); -INSERT INTO be_StopWords (StopWord) VALUES ('down'); -INSERT INTO be_StopWords (StopWord) VALUES ('each'); -INSERT INTO be_StopWords (StopWord) VALUES ('either'); -INSERT INTO be_StopWords (StopWord) VALUES ('en'); -INSERT INTO be_StopWords (StopWord) VALUES ('for'); -INSERT INTO be_StopWords (StopWord) VALUES ('from'); -INSERT INTO be_StopWords (StopWord) VALUES ('good'); -INSERT INTO be_StopWords (StopWord) VALUES ('has'); -INSERT INTO be_StopWords (StopWord) VALUES ('have'); -INSERT INTO be_StopWords (StopWord) VALUES ('he'); -INSERT INTO be_StopWords (StopWord) VALUES ('her'); -INSERT INTO be_StopWords (StopWord) VALUES ('here'); -INSERT INTO be_StopWords (StopWord) VALUES ('hers'); -INSERT INTO be_StopWords (StopWord) VALUES ('his'); -INSERT INTO be_StopWords (StopWord) VALUES ('how'); -INSERT INTO be_StopWords (StopWord) VALUES ('i'); -INSERT INTO be_StopWords (StopWord) VALUES ('if'); -INSERT INTO be_StopWords (StopWord) VALUES ('in'); -INSERT INTO be_StopWords (StopWord) VALUES ('into'); -INSERT INTO be_StopWords (StopWord) VALUES ('is'); -INSERT INTO be_StopWords (StopWord) VALUES ('it'); -INSERT INTO be_StopWords (StopWord) VALUES ('its'); -INSERT INTO be_StopWords (StopWord) VALUES ('just'); -INSERT INTO be_StopWords (StopWord) VALUES ('la'); -INSERT INTO be_StopWords (StopWord) VALUES ('like'); -INSERT INTO be_StopWords (StopWord) VALUES ('long'); -INSERT INTO be_StopWords (StopWord) VALUES ('make'); -INSERT INTO be_StopWords (StopWord) VALUES ('me'); -INSERT INTO be_StopWords (StopWord) VALUES ('more'); -INSERT INTO be_StopWords (StopWord) VALUES ('much'); -INSERT INTO be_StopWords (StopWord) VALUES ('my'); -INSERT INTO be_StopWords (StopWord) VALUES ('need'); -INSERT INTO be_StopWords (StopWord) VALUES ('new'); -INSERT INTO be_StopWords (StopWord) VALUES ('now'); -INSERT INTO be_StopWords (StopWord) VALUES ('of'); -INSERT INTO be_StopWords (StopWord) VALUES ('off'); -INSERT INTO be_StopWords (StopWord) VALUES ('on'); -INSERT INTO be_StopWords (StopWord) VALUES ('once'); -INSERT INTO be_StopWords (StopWord) VALUES ('one'); -INSERT INTO be_StopWords (StopWord) VALUES ('ones'); -INSERT INTO be_StopWords (StopWord) VALUES ('only'); -INSERT INTO be_StopWords (StopWord) VALUES ('or'); -INSERT INTO be_StopWords (StopWord) VALUES ('our'); -INSERT INTO be_StopWords (StopWord) VALUES ('out'); -INSERT INTO be_StopWords (StopWord) VALUES ('over'); -INSERT INTO be_StopWords (StopWord) VALUES ('own'); -INSERT INTO be_StopWords (StopWord) VALUES ('really'); -INSERT INTO be_StopWords (StopWord) VALUES ('right'); -INSERT INTO be_StopWords (StopWord) VALUES ('same'); -INSERT INTO be_StopWords (StopWord) VALUES ('see'); -INSERT INTO be_StopWords (StopWord) VALUES ('she'); -INSERT INTO be_StopWords (StopWord) VALUES ('so'); -INSERT INTO be_StopWords (StopWord) VALUES ('some'); -INSERT INTO be_StopWords (StopWord) VALUES ('such'); -INSERT INTO be_StopWords (StopWord) VALUES ('take'); -INSERT INTO be_StopWords (StopWord) VALUES ('takes'); -INSERT INTO be_StopWords (StopWord) VALUES ('that'); -INSERT INTO be_StopWords (StopWord) VALUES ('the'); -INSERT INTO be_StopWords (StopWord) VALUES ('their'); -INSERT INTO be_StopWords (StopWord) VALUES ('these'); -INSERT INTO be_StopWords (StopWord) VALUES ('thing'); -INSERT INTO be_StopWords (StopWord) VALUES ('this'); -INSERT INTO be_StopWords (StopWord) VALUES ('to'); -INSERT INTO be_StopWords (StopWord) VALUES ('too'); -INSERT INTO be_StopWords (StopWord) VALUES ('took'); -INSERT INTO be_StopWords (StopWord) VALUES ('und'); -INSERT INTO be_StopWords (StopWord) VALUES ('up'); -INSERT INTO be_StopWords (StopWord) VALUES ('use'); -INSERT INTO be_StopWords (StopWord) VALUES ('used'); -INSERT INTO be_StopWords (StopWord) VALUES ('using'); -INSERT INTO be_StopWords (StopWord) VALUES ('very'); -INSERT INTO be_StopWords (StopWord) VALUES ('was'); -INSERT INTO be_StopWords (StopWord) VALUES ('we'); -INSERT INTO be_StopWords (StopWord) VALUES ('well'); -INSERT INTO be_StopWords (StopWord) VALUES ('what'); -INSERT INTO be_StopWords (StopWord) VALUES ('when'); -INSERT INTO be_StopWords (StopWord) VALUES ('where'); -INSERT INTO be_StopWords (StopWord) VALUES ('who'); -INSERT INTO be_StopWords (StopWord) VALUES ('will'); -INSERT INTO be_StopWords (StopWord) VALUES ('with'); -INSERT INTO be_StopWords (StopWord) VALUES ('www'); -INSERT INTO be_StopWords (StopWord) VALUES ('you'); -INSERT INTO be_StopWords (StopWord) VALUES ('your'); - -DECLARE @postID uniqueidentifier, @catID uniqueidentifier; - -SET @postID = NEWID(); -SET @catID = NEWID(); - -INSERT INTO be_Categories (CategoryID, CategoryName) - VALUES (@catID, 'General'); - -INSERT INTO be_Posts (PostID, Title, Description, PostContent, DateCreated, Author, IsPublished) - VALUES (@postID, - 'Welcome to BlogEngine.NET 1.5 using Microsoft SQL Server', - 'The description is used as the meta description as well as shown in the related posts. It is recommended that you write a description, but not mandatory', - '

If you see this post it means that BlogEngine.NET 1.5 is running with SQL Server and the DbBlogProvider is configured correctly.

-

Setup

-

If you are using the ASP.NET Membership provider, you are set to use existing users. If you are using the default BlogEngine.NET XML provider, it is time to setup some users. Find the sign-in link located either at the bottom or top of the page depending on your current theme and click it. Now enter "admin" in both the username and password fields and click the button. You will now see an admin menu appear. It has a link to the "Users" admin page. From there you can change the username and password.

-

Write permissions

-

Since you are using SQL to store your posts, most information is stored there. However, if you want to store attachments or images in the blog, you will want write permissions setup on the App_Data folder.

-

On the web

-

You can find BlogEngine.NET on the official website. Here you will find tutorials, documentation, tips and tricks and much more. The ongoing development of BlogEngine.NET can be followed at CodePlex where the daily builds will be published for anyone to download.

-

Good luck and happy writing.

-

The BlogEngine.NET team

', - GETDATE(), - 'admin', - 1); - -INSERT INTO be_PostCategory (PostID, CategoryID) - VALUES (@postID, @catID); -INSERT INTO be_PostTag (PostID, Tag) - VALUES (@postID, 'blog'); -INSERT INTO be_PostTag (PostID, Tag) - VALUES (@postID, 'welcome'); - -INSERT INTO be_Users (UserName, Password, LastLoginTime, EmailAddress) - VALUES ('Admin', '', GETDATE(), 'email@example.com'); -INSERT INTO be_Roles (Role) - VALUES ('Administrators'); -INSERT INTO be_Roles (Role) - VALUES ('Editors'); -INSERT INTO be_UserRoles (UserID, RoleID) -VALUES (1, 1); - -INSERT INTO be_DataStoreSettings (ExtensionType, ExtensionId, Settings) -VALUES (1, 'be_WIDGET_ZONE', -' - - <widgets><widget id="d9ada63d-3462-4c72-908e-9d35f0acce40" title="TextBox" showTitle="True">TextBox</widget><widget id="19baa5f6-49d4-4828-8f7f-018535c35f94" title="Administration" showTitle="True">Administration</widget><widget id="d81c5ae3-e57e-4374-a539-5cdee45e639f" title="Search" showTitle="True">Search</widget><widget id="77142800-6dff-4016-99ca-69b5c5ebac93" title="Tag cloud" showTitle="True">Tag cloud</widget><widget id="4ce68ae7-c0c8-4bf8-b50f-a67b582b0d2e" title="RecentPosts" showTitle="True">RecentPosts</widget></widgets> -'); - -GO diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup1.6.0.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup1.6.0.0.sql deleted file mode 100644 index 1fd170fa0..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup1.6.0.0.sql +++ /dev/null @@ -1,608 +0,0 @@ -/****** BlogEngine.NET 1.6 SQL Setup Script ******/ - -/****** Object: Table [dbo].[be_Categories] Script Date: 12/22/2007 14:14:54 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Categories]( - [CategoryID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_Categories_CategoryID] DEFAULT (newid()), - [CategoryName] [nvarchar](50) NULL, - [Description] [nvarchar](200) NULL, - [ParentID] [uniqueidentifier] NULL, - CONSTRAINT [PK_be_Categories] PRIMARY KEY CLUSTERED -( - [CategoryID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_DataStoreSettings] Script Date: 06/28/2008 19:29:31 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -SET ANSI_PADDING ON -GO -CREATE TABLE [dbo].[be_DataStoreSettings]( - [ExtensionType] [nvarchar](50) NOT NULL, - [ExtensionId] [nvarchar](100) NOT NULL, - [Settings] [nvarchar](max) NOT NULL -) ON [PRIMARY] - -GO -/****** Object: Table [dbo].[be_Pages] Script Date: 12/22/2007 14:15:17 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Pages]( - [PageID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_Pages_PageID] DEFAULT (newid()), - [Title] [nvarchar](255) NULL, - [Description] [nvarchar](max) NULL, - [PageContent] [nvarchar](max) NULL, - [Keywords] [nvarchar](max) NULL, - [DateCreated] [datetime] NULL, - [DateModified] [datetime] NULL, - [IsPublished] [bit] NULL, - [IsFrontPage] [bit] NULL, - [Parent] [uniqueidentifier] NULL, - [ShowInList] [bit] NULL, - [Slug] [nvarchar](255) NULL, - CONSTRAINT [PK_be_Pages] PRIMARY KEY CLUSTERED -( - [PageID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_PingService] Script Date: 12/22/2007 14:15:47 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PingService]( - [PingServiceID] [int] IDENTITY(1,1) NOT NULL, - [Link] [nvarchar](255) NULL, - CONSTRAINT [PK_be_PingService] PRIMARY KEY CLUSTERED -( - [PingServiceID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Posts] Script Date: 12/22/2007 14:16:27 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Posts]( - [PostID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_Posts_PostID] DEFAULT (newid()), - [Title] [nvarchar](255) NULL, - [Description] [nvarchar](max) NULL, - [PostContent] [nvarchar](max) NULL, - [DateCreated] [datetime] NULL, - [DateModified] [datetime] NULL, - [Author] [nvarchar](50) NULL, - [IsPublished] [bit] NULL, - [IsCommentEnabled] [bit] NULL, - [Raters] [int] NULL, - [Rating] [real] NULL, - [Slug] [nvarchar](255) NULL, - CONSTRAINT [PK_be_Posts] PRIMARY KEY CLUSTERED -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Settings] Script Date: 12/22/2007 14:16:07 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Settings]( - [SettingName] [nvarchar](50) NOT NULL, - [SettingValue] [nvarchar](max) NULL, - CONSTRAINT [PK_be_Settings] PRIMARY KEY CLUSTERED -( - [SettingName] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Profiles] Script Date: 06/28/2008 19:33:41 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Profiles]( - [ProfileID] [int] IDENTITY(1,1) NOT NULL, - [UserName] [nvarchar](100) NULL, - [SettingName] [nvarchar](200) NULL, - [SettingValue] [nvarchar](max) NULL, - CONSTRAINT [PK_be_Profiles] PRIMARY KEY CLUSTERED -( - [ProfileID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_StopWords] Script Date: 06/28/2008 19:33:32 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_StopWords]( - [StopWord] [nvarchar](50) NOT NULL, - CONSTRAINT [PK_be_StopWords] PRIMARY KEY CLUSTERED -( - [StopWord] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_PostCategory] Script Date: 12/22/2007 14:17:00 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PostCategory]( - [PostCategoryID] [int] IDENTITY(1,1) NOT NULL, - [PostID] [uniqueidentifier] NOT NULL, - [CategoryID] [uniqueidentifier] NOT NULL, - CONSTRAINT [PK_be_PostCategory] PRIMARY KEY CLUSTERED -( - [PostCategoryID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_PostCategory] WITH CHECK ADD CONSTRAINT [FK_be_PostCategory_be_Categories] FOREIGN KEY([CategoryID]) -REFERENCES [dbo].[be_Categories] ([CategoryID]) -GO -ALTER TABLE [dbo].[be_PostCategory] CHECK CONSTRAINT [FK_be_PostCategory_be_Categories] -GO -ALTER TABLE [dbo].[be_PostCategory] WITH CHECK ADD CONSTRAINT [FK_be_PostCategory_be_Posts] FOREIGN KEY([PostID]) -REFERENCES [dbo].[be_Posts] ([PostID]) -GO -ALTER TABLE [dbo].[be_PostCategory] CHECK CONSTRAINT [FK_be_PostCategory_be_Posts] -GO -/****** Object: Table [dbo].[be_PostComment] Script Date: 12/22/2007 14:17:15 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PostComment]( - [PostCommentID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_PostComment_PostCommentID] DEFAULT (newid()), - [PostID] [uniqueidentifier] NOT NULL, - [ParentCommentID] [uniqueidentifier] NOT NULL DEFAULT ('00000000-0000-0000-0000-000000000000'), - [CommentDate] [datetime] NOT NULL, - [Author] [nvarchar](255) NULL, - [Email] [nvarchar](255) NULL, - [Website] [nvarchar](255) NULL, - [Comment] [nvarchar](max) NULL, - [Country] [nvarchar](255) NULL, - [Ip] [nvarchar](50) NULL, - [IsApproved] [bit] NULL, - [ModeratedBy] [nvarchar](100) NULL, - [Avatar] [nvarchar](255) NULL, - CONSTRAINT [PK_be_PostComment] PRIMARY KEY CLUSTERED -( - [PostCommentID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_PostComment] WITH CHECK ADD CONSTRAINT [FK_be_PostComment_be_Posts] FOREIGN KEY([PostID]) -REFERENCES [dbo].[be_Posts] ([PostID]) -GO -ALTER TABLE [dbo].[be_PostComment] CHECK CONSTRAINT [FK_be_PostComment_be_Posts] -GO -/****** Object: Table [dbo].[be_PostNotify] Script Date: 12/22/2007 14:17:31 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PostNotify]( - [PostNotifyID] [int] IDENTITY(1,1) NOT NULL, - [PostID] [uniqueidentifier] NOT NULL, - [NotifyAddress] [nvarchar](255) NULL, - CONSTRAINT [PK_be_PostNotify] PRIMARY KEY CLUSTERED -( - [PostNotifyID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_PostNotify] WITH CHECK ADD CONSTRAINT [FK_be_PostNotify_be_Posts] FOREIGN KEY([PostID]) -REFERENCES [dbo].[be_Posts] ([PostID]) -GO -ALTER TABLE [dbo].[be_PostNotify] CHECK CONSTRAINT [FK_be_PostNotify_be_Posts] -GO -/****** Object: Table [dbo].[be_PostTag] Script Date: 12/22/2007 14:17:44 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PostTag]( - [PostTagID] [int] IDENTITY(1,1) NOT NULL, - [PostID] [uniqueidentifier] NOT NULL, - [Tag] [nvarchar](50) NULL, - CONSTRAINT [PK_be_PostTag] PRIMARY KEY CLUSTERED -( - [PostTagID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_PostTag] WITH CHECK ADD CONSTRAINT [FK_be_PostTag_be_Posts] FOREIGN KEY([PostID]) -REFERENCES [dbo].[be_Posts] ([PostID]) -GO -ALTER TABLE [dbo].[be_PostTag] CHECK CONSTRAINT [FK_be_PostTag_be_Posts] -GO -/****** Object: Table [dbo].[be_Users] Script Date: 07/30/2008 21:55:28 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Users]( - [UserID] [int] IDENTITY(1,1) NOT NULL, - [UserName] [nvarchar](100) NOT NULL, - [Password] [nvarchar](255) NOT NULL, - [LastLoginTime] [datetime] NULL, - [EmailAddress] [nvarchar](100) NULL, - CONSTRAINT [PK_be_Users] PRIMARY KEY CLUSTERED -( - [UserID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Roles] Script Date: 07/30/2008 21:56:59 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Roles]( - [RoleID] [int] IDENTITY(1,1) NOT NULL, - [Role] [nvarchar](100) NOT NULL, - CONSTRAINT [PK_be_Roles] PRIMARY KEY CLUSTERED -( - [RoleID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_UserRoles] Script Date: 07/31/2008 12:26:45 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_UserRoles]( - [UserRoleID] [int] IDENTITY(1,1) NOT NULL, - [UserID] [int] NOT NULL, - [RoleID] [int] NOT NULL, - CONSTRAINT [PK_be_UserRoles] PRIMARY KEY CLUSTERED -( - [UserRoleID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Roles] FOREIGN KEY([RoleID]) -REFERENCES [dbo].[be_Roles] ([RoleID]) -GO -ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Roles] -GO -ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Users] FOREIGN KEY([UserID]) -REFERENCES [dbo].[be_Users] ([UserID]) -GO -ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Users] -GO -CREATE TABLE [dbo].[be_BlogRollItems]( - [BlogRollId] [uniqueidentifier] NOT NULL, - [Title] [nvarchar](255) NOT NULL, - [Description] [nvarchar](max) NULL, - [BlogUrl] [varchar](255) NOT NULL, - [FeedUrl] [varchar](255) NULL, - [Xfn] [varchar](255) NULL, - [SortIndex] [int] NOT NULL, - CONSTRAINT [PK_be_BlogRollItems] PRIMARY KEY CLUSTERED -( - [BlogRollId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -CREATE TABLE [dbo].[be_Referrers]( - [ReferrerId] [uniqueidentifier] NOT NULL, - [ReferralDay] [datetime] NOT NULL CONSTRAINT [DF_be_Referrers_Day] DEFAULT (getdate()), - [ReferrerUrl] [varchar](255) NOT NULL, - [ReferralCount] [int] NOT NULL, - [Url] [varchar](255) NULL, - [IsSpam] [bit] NULL, - CONSTRAINT [PK_be_Referrers] PRIMARY KEY CLUSTERED -( - [ReferrerId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO - -/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:18:36 ******/ -CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostCategory] -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [FK_CategoryID] Script Date: 12/22/2007 14:19:19 ******/ -CREATE NONCLUSTERED INDEX [FK_CategoryID] ON [dbo].[be_PostCategory] -( - [CategoryID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:19:45 ******/ -CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostComment] -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:20:29 ******/ -CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostNotify] -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:20:43 ******/ -CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostTag] -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [I_TypeID] Script Date: 06/28/2008 19:34:43 ******/ -CREATE NONCLUSTERED INDEX [I_TypeID] ON [dbo].[be_DataStoreSettings] -( - [ExtensionType] ASC, - [ExtensionId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [I_UserName] Script Date: 06/28/2008 19:35:12 ******/ -CREATE NONCLUSTERED INDEX [I_UserName] ON [dbo].[be_Profiles] -( - [UserName] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/*** Load initial Data ***/ -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('administratorrole', 'Administrators'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('alternatefeedurl', ''); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('authorname', 'My name'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('avatar', 'combine'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollmaxlength', '23'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollupdateminutes', '60'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollvisibleposts', '3'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('contactformmessage', '

I will answer the mail as soon as I can.

'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('contactthankmessage', '

Thank you

The message was sent.

'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('culture', 'Auto'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('dayscommentsareenabled', '0'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('description', 'Short description of the blog'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displaycommentsonrecentposts', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displayratingsonrecentposts', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('email', 'user@example.com'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('emailsubjectprefix', 'Weblog'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsearch', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsmoderation', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecontactattachments', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecountryincomments', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablehttpcompression', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enableopensearch', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbackreceive', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbacksend', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerating', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablereferrertracking', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerelatedposts', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablessl', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbackreceive', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbacksend', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('endorsement', 'http://www.dotnetblogengine.net/syndication.axd'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('fileextension', '.aspx'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglatitude', '0'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglongitude', '0'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('handlewwwsubdomain', ''); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscocommentenabled', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscommentsenabled', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('language', 'en-GB'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('mobiletheme', 'Mobile'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('name', 'Name of the blog'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentcomments', '10'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentposts', '10'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperfeed', '10'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperpage', '10'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('removewhitespaceinstylesheets', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchbuttontext', 'Search'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchcommentlabeltext', 'Include comments in search'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchdefaulttext', 'Enter search term'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('sendmailoncomment', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showdescriptioninpostlist', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showlivepreview', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showpostnavigation', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtppassword', 'password'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserver', 'mail.example.dk'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserverport', '25'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpusername', 'user@example.com'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('storagelocation', '~/App_Data/'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('syndicationformat', 'Rss'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('theme', 'Standard'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timestamppostlinks', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timezone', '-5'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('trackingscript', ''); - -INSERT INTO be_PingService (Link) VALUES ('http://rpc.technorati.com/rpc/ping'); -INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingomatic.com/rpc2'); -INSERT INTO be_PingService (Link) VALUES ('http://ping.feedburner.com'); -INSERT INTO be_PingService (Link) VALUES ('http://www.bloglines.com/ping'); -INSERT INTO be_PingService (Link) VALUES ('http://services.newsgator.com/ngws/xmlrpcping.aspx'); -INSERT INTO be_PingService (Link) VALUES ('http://api.my.yahoo.com/rpc2 '); -INSERT INTO be_PingService (Link) VALUES ('http://blogsearch.google.com/ping/RPC2'); -INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingthesemanticweb.com/'); - -INSERT INTO be_StopWords (StopWord) VALUES ('a'); -INSERT INTO be_StopWords (StopWord) VALUES ('about'); -INSERT INTO be_StopWords (StopWord) VALUES ('actually'); -INSERT INTO be_StopWords (StopWord) VALUES ('add'); -INSERT INTO be_StopWords (StopWord) VALUES ('after'); -INSERT INTO be_StopWords (StopWord) VALUES ('all'); -INSERT INTO be_StopWords (StopWord) VALUES ('almost'); -INSERT INTO be_StopWords (StopWord) VALUES ('along'); -INSERT INTO be_StopWords (StopWord) VALUES ('also'); -INSERT INTO be_StopWords (StopWord) VALUES ('an'); -INSERT INTO be_StopWords (StopWord) VALUES ('and'); -INSERT INTO be_StopWords (StopWord) VALUES ('any'); -INSERT INTO be_StopWords (StopWord) VALUES ('are'); -INSERT INTO be_StopWords (StopWord) VALUES ('as'); -INSERT INTO be_StopWords (StopWord) VALUES ('at'); -INSERT INTO be_StopWords (StopWord) VALUES ('be'); -INSERT INTO be_StopWords (StopWord) VALUES ('both'); -INSERT INTO be_StopWords (StopWord) VALUES ('but'); -INSERT INTO be_StopWords (StopWord) VALUES ('by'); -INSERT INTO be_StopWords (StopWord) VALUES ('can'); -INSERT INTO be_StopWords (StopWord) VALUES ('cannot'); -INSERT INTO be_StopWords (StopWord) VALUES ('com'); -INSERT INTO be_StopWords (StopWord) VALUES ('could'); -INSERT INTO be_StopWords (StopWord) VALUES ('de'); -INSERT INTO be_StopWords (StopWord) VALUES ('do'); -INSERT INTO be_StopWords (StopWord) VALUES ('down'); -INSERT INTO be_StopWords (StopWord) VALUES ('each'); -INSERT INTO be_StopWords (StopWord) VALUES ('either'); -INSERT INTO be_StopWords (StopWord) VALUES ('en'); -INSERT INTO be_StopWords (StopWord) VALUES ('for'); -INSERT INTO be_StopWords (StopWord) VALUES ('from'); -INSERT INTO be_StopWords (StopWord) VALUES ('good'); -INSERT INTO be_StopWords (StopWord) VALUES ('has'); -INSERT INTO be_StopWords (StopWord) VALUES ('have'); -INSERT INTO be_StopWords (StopWord) VALUES ('he'); -INSERT INTO be_StopWords (StopWord) VALUES ('her'); -INSERT INTO be_StopWords (StopWord) VALUES ('here'); -INSERT INTO be_StopWords (StopWord) VALUES ('hers'); -INSERT INTO be_StopWords (StopWord) VALUES ('his'); -INSERT INTO be_StopWords (StopWord) VALUES ('how'); -INSERT INTO be_StopWords (StopWord) VALUES ('i'); -INSERT INTO be_StopWords (StopWord) VALUES ('if'); -INSERT INTO be_StopWords (StopWord) VALUES ('in'); -INSERT INTO be_StopWords (StopWord) VALUES ('into'); -INSERT INTO be_StopWords (StopWord) VALUES ('is'); -INSERT INTO be_StopWords (StopWord) VALUES ('it'); -INSERT INTO be_StopWords (StopWord) VALUES ('its'); -INSERT INTO be_StopWords (StopWord) VALUES ('just'); -INSERT INTO be_StopWords (StopWord) VALUES ('la'); -INSERT INTO be_StopWords (StopWord) VALUES ('like'); -INSERT INTO be_StopWords (StopWord) VALUES ('long'); -INSERT INTO be_StopWords (StopWord) VALUES ('make'); -INSERT INTO be_StopWords (StopWord) VALUES ('me'); -INSERT INTO be_StopWords (StopWord) VALUES ('more'); -INSERT INTO be_StopWords (StopWord) VALUES ('much'); -INSERT INTO be_StopWords (StopWord) VALUES ('my'); -INSERT INTO be_StopWords (StopWord) VALUES ('need'); -INSERT INTO be_StopWords (StopWord) VALUES ('new'); -INSERT INTO be_StopWords (StopWord) VALUES ('now'); -INSERT INTO be_StopWords (StopWord) VALUES ('of'); -INSERT INTO be_StopWords (StopWord) VALUES ('off'); -INSERT INTO be_StopWords (StopWord) VALUES ('on'); -INSERT INTO be_StopWords (StopWord) VALUES ('once'); -INSERT INTO be_StopWords (StopWord) VALUES ('one'); -INSERT INTO be_StopWords (StopWord) VALUES ('ones'); -INSERT INTO be_StopWords (StopWord) VALUES ('only'); -INSERT INTO be_StopWords (StopWord) VALUES ('or'); -INSERT INTO be_StopWords (StopWord) VALUES ('our'); -INSERT INTO be_StopWords (StopWord) VALUES ('out'); -INSERT INTO be_StopWords (StopWord) VALUES ('over'); -INSERT INTO be_StopWords (StopWord) VALUES ('own'); -INSERT INTO be_StopWords (StopWord) VALUES ('really'); -INSERT INTO be_StopWords (StopWord) VALUES ('right'); -INSERT INTO be_StopWords (StopWord) VALUES ('same'); -INSERT INTO be_StopWords (StopWord) VALUES ('see'); -INSERT INTO be_StopWords (StopWord) VALUES ('she'); -INSERT INTO be_StopWords (StopWord) VALUES ('so'); -INSERT INTO be_StopWords (StopWord) VALUES ('some'); -INSERT INTO be_StopWords (StopWord) VALUES ('such'); -INSERT INTO be_StopWords (StopWord) VALUES ('take'); -INSERT INTO be_StopWords (StopWord) VALUES ('takes'); -INSERT INTO be_StopWords (StopWord) VALUES ('that'); -INSERT INTO be_StopWords (StopWord) VALUES ('the'); -INSERT INTO be_StopWords (StopWord) VALUES ('their'); -INSERT INTO be_StopWords (StopWord) VALUES ('these'); -INSERT INTO be_StopWords (StopWord) VALUES ('thing'); -INSERT INTO be_StopWords (StopWord) VALUES ('this'); -INSERT INTO be_StopWords (StopWord) VALUES ('to'); -INSERT INTO be_StopWords (StopWord) VALUES ('too'); -INSERT INTO be_StopWords (StopWord) VALUES ('took'); -INSERT INTO be_StopWords (StopWord) VALUES ('und'); -INSERT INTO be_StopWords (StopWord) VALUES ('up'); -INSERT INTO be_StopWords (StopWord) VALUES ('use'); -INSERT INTO be_StopWords (StopWord) VALUES ('used'); -INSERT INTO be_StopWords (StopWord) VALUES ('using'); -INSERT INTO be_StopWords (StopWord) VALUES ('very'); -INSERT INTO be_StopWords (StopWord) VALUES ('was'); -INSERT INTO be_StopWords (StopWord) VALUES ('we'); -INSERT INTO be_StopWords (StopWord) VALUES ('well'); -INSERT INTO be_StopWords (StopWord) VALUES ('what'); -INSERT INTO be_StopWords (StopWord) VALUES ('when'); -INSERT INTO be_StopWords (StopWord) VALUES ('where'); -INSERT INTO be_StopWords (StopWord) VALUES ('who'); -INSERT INTO be_StopWords (StopWord) VALUES ('will'); -INSERT INTO be_StopWords (StopWord) VALUES ('with'); -INSERT INTO be_StopWords (StopWord) VALUES ('www'); -INSERT INTO be_StopWords (StopWord) VALUES ('you'); -INSERT INTO be_StopWords (StopWord) VALUES ('your'); - -INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( '25e4d8da-3278-4e58-b0bf-932496dabc96', 'Mads Kristensen', 'Full featured simplicity in ASP.NET and C#', 'http://madskristensen.net', 'http://feeds.feedburner.com/netslave', 'contact', 0 ); -INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( 'ccc817ef-e760-482b-b82f-a6854663110f', 'Al Nyveldt', 'Adventures in Code and Other Stories', 'http://www.nyveldt.com/blog/', 'http://feeds.feedburner.com/razorant', 'contact', 1 ); -INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( 'dcdaa78b-0b77-4691-99f0-1bb6418945a1', 'Ruslan Tur', '.NET and Open Source: better together', 'http://rtur.net/blog/', 'http://feeds.feedburner.com/rtur', 'contact', 2 ); -INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( '8a846489-b69e-4fde-b2b2-53bc6104a6fa', 'John Dyer', 'Technology and web development in ASP.NET, Flash, and JavaScript', 'http://johndyer.name/', 'http://johndyer.name/syndication.axd', 'contact', 3 ); -INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( '7f906880-4316-47f1-a934-1a912fc02f8b', 'Russell van der Walt', 'an adventure in web technologies', 'http://blog.ruski.co.za/', 'http://feeds.feedburner.com/rusvdw', 'contact', 4 ); -INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( '890f00e5-3a86-4cba-b85b-104063964a87', 'Ben Amada', 'adventures in application development', 'http://allben.net/', 'http://feeds.feedburner.com/allben', 'contact', 5 ); - -DECLARE @postID uniqueidentifier, @catID uniqueidentifier; - -SET @postID = NEWID(); -SET @catID = NEWID(); - -INSERT INTO be_Categories (CategoryID, CategoryName) - VALUES (@catID, 'General'); - -INSERT INTO be_Posts (PostID, Title, Description, PostContent, DateCreated, Author, IsPublished) - VALUES (@postID, - 'Welcome to BlogEngine.NET 1.6 using Microsoft SQL Server', - 'The description is used as the meta description as well as shown in the related posts. It is recommended that you write a description, but not mandatory', - '

If you see this post it means that BlogEngine.NET 1.6 is running with SQL Server and the DbBlogProvider is configured correctly.

-

Setup

-

If you are using the ASP.NET Membership provider, you are set to use existing users. If you are using the default BlogEngine.NET XML provider, it is time to setup some users. Find the sign-in link located either at the bottom or top of the page depending on your current theme and click it. Now enter "admin" in both the username and password fields and click the button. You will now see an admin menu appear. It has a link to the "Users" admin page. From there you can change the username and password.

-

Write permissions

-

Since you are using SQL to store your posts, most information is stored there. However, if you want to store attachments or images in the blog, you will want write permissions setup on the App_Data folder.

-

On the web

-

You can find BlogEngine.NET on the official website. Here you will find tutorials, documentation, tips and tricks and much more. The ongoing development of BlogEngine.NET can be followed at CodePlex where the daily builds will be published for anyone to download.

-

Good luck and happy writing.

-

The BlogEngine.NET team

', - GETDATE(), - 'admin', - 1); - -INSERT INTO be_PostCategory (PostID, CategoryID) - VALUES (@postID, @catID); -INSERT INTO be_PostTag (PostID, Tag) - VALUES (@postID, 'blog'); -INSERT INTO be_PostTag (PostID, Tag) - VALUES (@postID, 'welcome'); - -INSERT INTO be_Users (UserName, Password, LastLoginTime, EmailAddress) - VALUES ('Admin', '', GETDATE(), 'email@example.com'); -INSERT INTO be_Roles (Role) - VALUES ('Administrators'); -INSERT INTO be_Roles (Role) - VALUES ('Editors'); -INSERT INTO be_UserRoles (UserID, RoleID) -VALUES (1, 1); - -INSERT INTO be_DataStoreSettings (ExtensionType, ExtensionId, Settings) -VALUES (1, 'be_WIDGET_ZONE', -' - - <widgets><widget id="d9ada63d-3462-4c72-908e-9d35f0acce40" title="TextBox" showTitle="True">TextBox</widget><widget id="19baa5f6-49d4-4828-8f7f-018535c35f94" title="Administration" showTitle="True">Administration</widget><widget id="d81c5ae3-e57e-4374-a539-5cdee45e639f" title="Search" showTitle="True">Search</widget><widget id="77142800-6dff-4016-99ca-69b5c5ebac93" title="Tag cloud" showTitle="True">Tag cloud</widget><widget id="4ce68ae7-c0c8-4bf8-b50f-a67b582b0d2e" title="RecentPosts" showTitle="True">RecentPosts</widget></widgets> -'); - -GO diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.0.0.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.0.0.0.sql deleted file mode 100644 index f1e39b571..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.0.0.0.sql +++ /dev/null @@ -1,650 +0,0 @@ -/****** BlogEngine.NET 2.0 SQL Setup Script ******/ - -/****** Object: Table [dbo].[be_Categories] Script Date: 12/22/2007 14:14:54 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Categories]( - [CategoryID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_Categories_CategoryID] DEFAULT (newid()), - [CategoryName] [nvarchar](50) NULL, - [Description] [nvarchar](200) NULL, - [ParentID] [uniqueidentifier] NULL, - CONSTRAINT [PK_be_Categories] PRIMARY KEY CLUSTERED -( - [CategoryID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_DataStoreSettings] Script Date: 06/28/2008 19:29:31 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -SET ANSI_PADDING ON -GO -CREATE TABLE [dbo].[be_DataStoreSettings]( - [ExtensionType] [nvarchar](50) NOT NULL, - [ExtensionId] [nvarchar](100) NOT NULL, - [Settings] [nvarchar](max) NOT NULL -) ON [PRIMARY] - -GO -/****** Object: Table [dbo].[be_Pages] Script Date: 12/22/2007 14:15:17 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Pages]( - [PageID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_Pages_PageID] DEFAULT (newid()), - [Title] [nvarchar](255) NULL, - [Description] [nvarchar](max) NULL, - [PageContent] [nvarchar](max) NULL, - [Keywords] [nvarchar](max) NULL, - [DateCreated] [datetime] NULL, - [DateModified] [datetime] NULL, - [IsPublished] [bit] NULL, - [IsFrontPage] [bit] NULL, - [Parent] [uniqueidentifier] NULL, - [ShowInList] [bit] NULL, - [Slug] [nvarchar](255) NULL, - [IsDeleted] [bit] NOT NULL DEFAULT 0, - CONSTRAINT [PK_be_Pages] PRIMARY KEY CLUSTERED -( - [PageID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_PingService] Script Date: 12/22/2007 14:15:47 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PingService]( - [PingServiceID] [int] IDENTITY(1,1) NOT NULL, - [Link] [nvarchar](255) NULL, - CONSTRAINT [PK_be_PingService] PRIMARY KEY CLUSTERED -( - [PingServiceID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Posts] Script Date: 12/22/2007 14:16:27 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Posts]( - [PostID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_Posts_PostID] DEFAULT (newid()), - [Title] [nvarchar](255) NULL, - [Description] [nvarchar](max) NULL, - [PostContent] [nvarchar](max) NULL, - [DateCreated] [datetime] NULL, - [DateModified] [datetime] NULL, - [Author] [nvarchar](50) NULL, - [IsPublished] [bit] NULL, - [IsCommentEnabled] [bit] NULL, - [Raters] [int] NULL, - [Rating] [real] NULL, - [Slug] [nvarchar](255) NULL, - [IsDeleted] [bit] NOT NULL DEFAULT 0, - CONSTRAINT [PK_be_Posts] PRIMARY KEY CLUSTERED -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Settings] Script Date: 12/22/2007 14:16:07 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Settings]( - [SettingName] [nvarchar](50) NOT NULL, - [SettingValue] [nvarchar](max) NULL, - CONSTRAINT [PK_be_Settings] PRIMARY KEY CLUSTERED -( - [SettingName] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Profiles] Script Date: 06/28/2008 19:33:41 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Profiles]( - [ProfileID] [int] IDENTITY(1,1) NOT NULL, - [UserName] [nvarchar](100) NULL, - [SettingName] [nvarchar](200) NULL, - [SettingValue] [nvarchar](max) NULL, - CONSTRAINT [PK_be_Profiles] PRIMARY KEY CLUSTERED -( - [ProfileID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_StopWords] Script Date: 06/28/2008 19:33:32 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_StopWords]( - [StopWord] [nvarchar](50) NOT NULL, - CONSTRAINT [PK_be_StopWords] PRIMARY KEY CLUSTERED -( - [StopWord] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_PostCategory] Script Date: 12/22/2007 14:17:00 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PostCategory]( - [PostCategoryID] [int] IDENTITY(1,1) NOT NULL, - [PostID] [uniqueidentifier] NOT NULL, - [CategoryID] [uniqueidentifier] NOT NULL, - CONSTRAINT [PK_be_PostCategory] PRIMARY KEY CLUSTERED -( - [PostCategoryID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_PostCategory] WITH CHECK ADD CONSTRAINT [FK_be_PostCategory_be_Categories] FOREIGN KEY([CategoryID]) -REFERENCES [dbo].[be_Categories] ([CategoryID]) -GO -ALTER TABLE [dbo].[be_PostCategory] CHECK CONSTRAINT [FK_be_PostCategory_be_Categories] -GO -ALTER TABLE [dbo].[be_PostCategory] WITH CHECK ADD CONSTRAINT [FK_be_PostCategory_be_Posts] FOREIGN KEY([PostID]) -REFERENCES [dbo].[be_Posts] ([PostID]) -GO -ALTER TABLE [dbo].[be_PostCategory] CHECK CONSTRAINT [FK_be_PostCategory_be_Posts] -GO -/****** Object: Table [dbo].[be_PostComment] Script Date: 12/22/2007 14:17:15 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PostComment]( - [PostCommentID] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT [DF_be_PostComment_PostCommentID] DEFAULT (newid()), - [PostID] [uniqueidentifier] NOT NULL, - [ParentCommentID] [uniqueidentifier] NOT NULL DEFAULT ('00000000-0000-0000-0000-000000000000'), - [CommentDate] [datetime] NOT NULL, - [Author] [nvarchar](255) NULL, - [Email] [nvarchar](255) NULL, - [Website] [nvarchar](255) NULL, - [Comment] [nvarchar](max) NULL, - [Country] [nvarchar](255) NULL, - [Ip] [nvarchar](50) NULL, - [IsApproved] [bit] NULL, - [ModeratedBy] [nvarchar](100) NULL, - [Avatar] [nvarchar](255) NULL, - [IsSpam] [bit] NOT NULL DEFAULT 0, - [IsDeleted] [bit] NOT NULL DEFAULT 0, - CONSTRAINT [PK_be_PostComment] PRIMARY KEY CLUSTERED -( - [PostCommentID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_PostComment] WITH CHECK ADD CONSTRAINT [FK_be_PostComment_be_Posts] FOREIGN KEY([PostID]) -REFERENCES [dbo].[be_Posts] ([PostID]) -GO -ALTER TABLE [dbo].[be_PostComment] CHECK CONSTRAINT [FK_be_PostComment_be_Posts] -GO -/****** Object: Table [dbo].[be_PostNotify] Script Date: 12/22/2007 14:17:31 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PostNotify]( - [PostNotifyID] [int] IDENTITY(1,1) NOT NULL, - [PostID] [uniqueidentifier] NOT NULL, - [NotifyAddress] [nvarchar](255) NULL, - CONSTRAINT [PK_be_PostNotify] PRIMARY KEY CLUSTERED -( - [PostNotifyID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_PostNotify] WITH CHECK ADD CONSTRAINT [FK_be_PostNotify_be_Posts] FOREIGN KEY([PostID]) -REFERENCES [dbo].[be_Posts] ([PostID]) -GO -ALTER TABLE [dbo].[be_PostNotify] CHECK CONSTRAINT [FK_be_PostNotify_be_Posts] -GO -/****** Object: Table [dbo].[be_PostTag] Script Date: 12/22/2007 14:17:44 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_PostTag]( - [PostTagID] [int] IDENTITY(1,1) NOT NULL, - [PostID] [uniqueidentifier] NOT NULL, - [Tag] [nvarchar](50) NULL, - CONSTRAINT [PK_be_PostTag] PRIMARY KEY CLUSTERED -( - [PostTagID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_PostTag] WITH CHECK ADD CONSTRAINT [FK_be_PostTag_be_Posts] FOREIGN KEY([PostID]) -REFERENCES [dbo].[be_Posts] ([PostID]) -GO -ALTER TABLE [dbo].[be_PostTag] CHECK CONSTRAINT [FK_be_PostTag_be_Posts] -GO -/****** Object: Table [dbo].[be_Users] Script Date: 07/30/2008 21:55:28 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Users]( - [UserID] [int] IDENTITY(1,1) NOT NULL, - [UserName] [nvarchar](100) NOT NULL, - [Password] [nvarchar](255) NOT NULL, - [LastLoginTime] [datetime] NULL, - [EmailAddress] [nvarchar](100) NULL, - CONSTRAINT [PK_be_Users] PRIMARY KEY CLUSTERED -( - [UserID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Roles] Script Date: 07/30/2008 21:56:59 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Roles]( - [RoleID] [int] IDENTITY(1,1) NOT NULL, - [Role] [nvarchar](100) NOT NULL, - CONSTRAINT [PK_be_Roles] PRIMARY KEY CLUSTERED -( - [RoleID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_UserRoles] Script Date: 07/31/2008 12:26:45 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_UserRoles]( - [UserRoleID] [int] IDENTITY(1,1) NOT NULL, - [UserID] [int] NOT NULL, - [RoleID] [int] NOT NULL, - CONSTRAINT [PK_be_UserRoles] PRIMARY KEY CLUSTERED -( - [UserRoleID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Roles] FOREIGN KEY([RoleID]) -REFERENCES [dbo].[be_Roles] ([RoleID]) -GO -ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Roles] -GO -ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Users] FOREIGN KEY([UserID]) -REFERENCES [dbo].[be_Users] ([UserID]) -GO -ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Users] -GO -CREATE TABLE [dbo].[be_BlogRollItems]( - [BlogRollId] [uniqueidentifier] NOT NULL, - [Title] [nvarchar](255) NOT NULL, - [Description] [nvarchar](max) NULL, - [BlogUrl] [varchar](255) NOT NULL, - [FeedUrl] [varchar](255) NULL, - [Xfn] [varchar](255) NULL, - [SortIndex] [int] NOT NULL, - CONSTRAINT [PK_be_BlogRollItems] PRIMARY KEY CLUSTERED -( - [BlogRollId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -CREATE TABLE [dbo].[be_Referrers]( - [ReferrerId] [uniqueidentifier] NOT NULL, - [ReferralDay] [datetime] NOT NULL CONSTRAINT [DF_be_Referrers_Day] DEFAULT (getdate()), - [ReferrerUrl] [varchar](255) NOT NULL, - [ReferralCount] [int] NOT NULL, - [Url] [varchar](255) NULL, - [IsSpam] [bit] NULL, - CONSTRAINT [PK_be_Referrers] PRIMARY KEY CLUSTERED -( - [ReferrerId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO - -CREATE TABLE [dbo].[be_Rights]( - [RightName] [nvarchar](100) NOT NULL, - CONSTRAINT [PK_be_Rights] PRIMARY KEY CLUSTERED -( - [RightName] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO - -CREATE TABLE [dbo].[be_RightRoles]( - [RightName] [nvarchar](100) NOT NULL, - [Role] [nvarchar](100) NOT NULL, - CONSTRAINT [PK_be_RightRoles] PRIMARY KEY CLUSTERED -( - [RightName] ASC, - [Role] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO - -/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:18:36 ******/ -CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostCategory] -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [FK_CategoryID] Script Date: 12/22/2007 14:19:19 ******/ -CREATE NONCLUSTERED INDEX [FK_CategoryID] ON [dbo].[be_PostCategory] -( - [CategoryID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:19:45 ******/ -CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostComment] -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:20:29 ******/ -CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostNotify] -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [FK_PostID] Script Date: 12/22/2007 14:20:43 ******/ -CREATE NONCLUSTERED INDEX [FK_PostID] ON [dbo].[be_PostTag] -( - [PostID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [I_TypeID] Script Date: 06/28/2008 19:34:43 ******/ -CREATE NONCLUSTERED INDEX [I_TypeID] ON [dbo].[be_DataStoreSettings] -( - [ExtensionType] ASC, - [ExtensionId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [I_UserName] Script Date: 06/28/2008 19:35:12 ******/ -CREATE NONCLUSTERED INDEX [I_UserName] ON [dbo].[be_Profiles] -( - [UserName] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/*** Load initial Data ***/ -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('administratorrole', 'Administrators'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('alternatefeedurl', ''); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('authorname', 'My name'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('avatar', 'combine'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollmaxlength', '23'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollupdateminutes', '60'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('blogrollvisibleposts', '3'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('contactformmessage', '

I will answer the mail as soon as I can.

'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('contactthankmessage', '

Thank you

The message was sent.

'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('culture', 'Auto'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('dayscommentsareenabled', '0'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('description', 'Short description of the blog'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displaycommentsonrecentposts', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('displayratingsonrecentposts', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('email', 'user@example.com'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('emailsubjectprefix', 'Weblog'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsearch', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecommentsmoderation', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecontactattachments', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablecountryincomments', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablehttpcompression', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enableopensearch', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbackreceive', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablepingbacksend', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerating', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablereferrertracking', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablerelatedposts', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enablessl', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbackreceive', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('enabletrackbacksend', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('endorsement', 'http://www.dotnetblogengine.net/syndication.axd'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('fileextension', '.aspx'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglatitude', '0'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('geocodinglongitude', '0'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('handlewwwsubdomain', ''); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscocommentenabled', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('iscommentsenabled', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('language', 'en-GB'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('mobiletheme', 'Mobile'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('name', 'Name of the blog'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentcomments', '10'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('numberofrecentposts', '10'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperfeed', '10'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('postsperpage', '10'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('removewhitespaceinstylesheets', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchbuttontext', 'Search'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchcommentlabeltext', 'Include comments in search'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('searchdefaulttext', 'Enter search term'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('sendmailoncomment', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showdescriptioninpostlist', 'False'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showlivepreview', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('showpostnavigation', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtppassword', 'password'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserver', 'mail.example.dk'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpserverport', '25'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('smtpusername', 'user@example.com'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('storagelocation', '~/App_Data/'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('syndicationformat', 'Rss'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('theme', 'Standard'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timestamppostlinks', 'True'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('timezone', '-5'); -INSERT INTO be_Settings (SettingName, SettingValue) VALUES ('trackingscript', ''); - -INSERT INTO be_PingService (Link) VALUES ('http://rpc.technorati.com/rpc/ping'); -INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingomatic.com/rpc2'); -INSERT INTO be_PingService (Link) VALUES ('http://ping.feedburner.com'); -INSERT INTO be_PingService (Link) VALUES ('http://www.bloglines.com/ping'); -INSERT INTO be_PingService (Link) VALUES ('http://services.newsgator.com/ngws/xmlrpcping.aspx'); -INSERT INTO be_PingService (Link) VALUES ('http://api.my.yahoo.com/rpc2 '); -INSERT INTO be_PingService (Link) VALUES ('http://blogsearch.google.com/ping/RPC2'); -INSERT INTO be_PingService (Link) VALUES ('http://rpc.pingthesemanticweb.com/'); - -INSERT INTO be_StopWords (StopWord) VALUES ('a'); -INSERT INTO be_StopWords (StopWord) VALUES ('about'); -INSERT INTO be_StopWords (StopWord) VALUES ('actually'); -INSERT INTO be_StopWords (StopWord) VALUES ('add'); -INSERT INTO be_StopWords (StopWord) VALUES ('after'); -INSERT INTO be_StopWords (StopWord) VALUES ('all'); -INSERT INTO be_StopWords (StopWord) VALUES ('almost'); -INSERT INTO be_StopWords (StopWord) VALUES ('along'); -INSERT INTO be_StopWords (StopWord) VALUES ('also'); -INSERT INTO be_StopWords (StopWord) VALUES ('an'); -INSERT INTO be_StopWords (StopWord) VALUES ('and'); -INSERT INTO be_StopWords (StopWord) VALUES ('any'); -INSERT INTO be_StopWords (StopWord) VALUES ('are'); -INSERT INTO be_StopWords (StopWord) VALUES ('as'); -INSERT INTO be_StopWords (StopWord) VALUES ('at'); -INSERT INTO be_StopWords (StopWord) VALUES ('be'); -INSERT INTO be_StopWords (StopWord) VALUES ('both'); -INSERT INTO be_StopWords (StopWord) VALUES ('but'); -INSERT INTO be_StopWords (StopWord) VALUES ('by'); -INSERT INTO be_StopWords (StopWord) VALUES ('can'); -INSERT INTO be_StopWords (StopWord) VALUES ('cannot'); -INSERT INTO be_StopWords (StopWord) VALUES ('com'); -INSERT INTO be_StopWords (StopWord) VALUES ('could'); -INSERT INTO be_StopWords (StopWord) VALUES ('de'); -INSERT INTO be_StopWords (StopWord) VALUES ('do'); -INSERT INTO be_StopWords (StopWord) VALUES ('down'); -INSERT INTO be_StopWords (StopWord) VALUES ('each'); -INSERT INTO be_StopWords (StopWord) VALUES ('either'); -INSERT INTO be_StopWords (StopWord) VALUES ('en'); -INSERT INTO be_StopWords (StopWord) VALUES ('for'); -INSERT INTO be_StopWords (StopWord) VALUES ('from'); -INSERT INTO be_StopWords (StopWord) VALUES ('good'); -INSERT INTO be_StopWords (StopWord) VALUES ('has'); -INSERT INTO be_StopWords (StopWord) VALUES ('have'); -INSERT INTO be_StopWords (StopWord) VALUES ('he'); -INSERT INTO be_StopWords (StopWord) VALUES ('her'); -INSERT INTO be_StopWords (StopWord) VALUES ('here'); -INSERT INTO be_StopWords (StopWord) VALUES ('hers'); -INSERT INTO be_StopWords (StopWord) VALUES ('his'); -INSERT INTO be_StopWords (StopWord) VALUES ('how'); -INSERT INTO be_StopWords (StopWord) VALUES ('i'); -INSERT INTO be_StopWords (StopWord) VALUES ('if'); -INSERT INTO be_StopWords (StopWord) VALUES ('in'); -INSERT INTO be_StopWords (StopWord) VALUES ('into'); -INSERT INTO be_StopWords (StopWord) VALUES ('is'); -INSERT INTO be_StopWords (StopWord) VALUES ('it'); -INSERT INTO be_StopWords (StopWord) VALUES ('its'); -INSERT INTO be_StopWords (StopWord) VALUES ('just'); -INSERT INTO be_StopWords (StopWord) VALUES ('la'); -INSERT INTO be_StopWords (StopWord) VALUES ('like'); -INSERT INTO be_StopWords (StopWord) VALUES ('long'); -INSERT INTO be_StopWords (StopWord) VALUES ('make'); -INSERT INTO be_StopWords (StopWord) VALUES ('me'); -INSERT INTO be_StopWords (StopWord) VALUES ('more'); -INSERT INTO be_StopWords (StopWord) VALUES ('much'); -INSERT INTO be_StopWords (StopWord) VALUES ('my'); -INSERT INTO be_StopWords (StopWord) VALUES ('need'); -INSERT INTO be_StopWords (StopWord) VALUES ('new'); -INSERT INTO be_StopWords (StopWord) VALUES ('now'); -INSERT INTO be_StopWords (StopWord) VALUES ('of'); -INSERT INTO be_StopWords (StopWord) VALUES ('off'); -INSERT INTO be_StopWords (StopWord) VALUES ('on'); -INSERT INTO be_StopWords (StopWord) VALUES ('once'); -INSERT INTO be_StopWords (StopWord) VALUES ('one'); -INSERT INTO be_StopWords (StopWord) VALUES ('ones'); -INSERT INTO be_StopWords (StopWord) VALUES ('only'); -INSERT INTO be_StopWords (StopWord) VALUES ('or'); -INSERT INTO be_StopWords (StopWord) VALUES ('our'); -INSERT INTO be_StopWords (StopWord) VALUES ('out'); -INSERT INTO be_StopWords (StopWord) VALUES ('over'); -INSERT INTO be_StopWords (StopWord) VALUES ('own'); -INSERT INTO be_StopWords (StopWord) VALUES ('really'); -INSERT INTO be_StopWords (StopWord) VALUES ('right'); -INSERT INTO be_StopWords (StopWord) VALUES ('same'); -INSERT INTO be_StopWords (StopWord) VALUES ('see'); -INSERT INTO be_StopWords (StopWord) VALUES ('she'); -INSERT INTO be_StopWords (StopWord) VALUES ('so'); -INSERT INTO be_StopWords (StopWord) VALUES ('some'); -INSERT INTO be_StopWords (StopWord) VALUES ('such'); -INSERT INTO be_StopWords (StopWord) VALUES ('take'); -INSERT INTO be_StopWords (StopWord) VALUES ('takes'); -INSERT INTO be_StopWords (StopWord) VALUES ('that'); -INSERT INTO be_StopWords (StopWord) VALUES ('the'); -INSERT INTO be_StopWords (StopWord) VALUES ('their'); -INSERT INTO be_StopWords (StopWord) VALUES ('these'); -INSERT INTO be_StopWords (StopWord) VALUES ('thing'); -INSERT INTO be_StopWords (StopWord) VALUES ('this'); -INSERT INTO be_StopWords (StopWord) VALUES ('to'); -INSERT INTO be_StopWords (StopWord) VALUES ('too'); -INSERT INTO be_StopWords (StopWord) VALUES ('took'); -INSERT INTO be_StopWords (StopWord) VALUES ('und'); -INSERT INTO be_StopWords (StopWord) VALUES ('up'); -INSERT INTO be_StopWords (StopWord) VALUES ('use'); -INSERT INTO be_StopWords (StopWord) VALUES ('used'); -INSERT INTO be_StopWords (StopWord) VALUES ('using'); -INSERT INTO be_StopWords (StopWord) VALUES ('very'); -INSERT INTO be_StopWords (StopWord) VALUES ('was'); -INSERT INTO be_StopWords (StopWord) VALUES ('we'); -INSERT INTO be_StopWords (StopWord) VALUES ('well'); -INSERT INTO be_StopWords (StopWord) VALUES ('what'); -INSERT INTO be_StopWords (StopWord) VALUES ('when'); -INSERT INTO be_StopWords (StopWord) VALUES ('where'); -INSERT INTO be_StopWords (StopWord) VALUES ('who'); -INSERT INTO be_StopWords (StopWord) VALUES ('will'); -INSERT INTO be_StopWords (StopWord) VALUES ('with'); -INSERT INTO be_StopWords (StopWord) VALUES ('www'); -INSERT INTO be_StopWords (StopWord) VALUES ('you'); -INSERT INTO be_StopWords (StopWord) VALUES ('your'); - -INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( '25e4d8da-3278-4e58-b0bf-932496dabc96', 'Mads Kristensen', 'Full featured simplicity in ASP.NET and C#', 'http://madskristensen.net', 'http://feeds.feedburner.com/netslave', 'contact', 0 ); -INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( 'ccc817ef-e760-482b-b82f-a6854663110f', 'Al Nyveldt', 'Adventures in Code and Other Stories', 'http://www.nyveldt.com/blog/', 'http://feeds.feedburner.com/razorant', 'contact', 1 ); -INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( 'dcdaa78b-0b77-4691-99f0-1bb6418945a1', 'Ruslan Tur', '.NET and Open Source: better together', 'http://rtur.net/blog/', 'http://feeds.feedburner.com/rtur', 'contact', 2 ); -INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( '8a846489-b69e-4fde-b2b2-53bc6104a6fa', 'John Dyer', 'Technology and web development in ASP.NET, Flash, and JavaScript', 'http://johndyer.name/', 'http://johndyer.name/syndication.axd', 'contact', 3 ); -INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( '7f906880-4316-47f1-a934-1a912fc02f8b', 'Russell van der Walt', 'an adventure in web technologies', 'http://blog.ruski.co.za/', 'http://feeds.feedburner.com/rusvdw', 'contact', 4 ); -INSERT INTO be_BlogRollItems ( BlogRollId, Title, [Description], BlogUrl, FeedUrl, Xfn, SortIndex ) -VALUES ( '890f00e5-3a86-4cba-b85b-104063964a87', 'Ben Amada', 'adventures in application development', 'http://allben.net/', 'http://feeds.feedburner.com/allben', 'contact', 5 ); - -DECLARE @postID uniqueidentifier, @catID uniqueidentifier; - -SET @postID = NEWID(); -SET @catID = NEWID(); - -INSERT INTO be_Categories (CategoryID, CategoryName) - VALUES (@catID, 'General'); - -INSERT INTO be_Posts (PostID, Title, Description, PostContent, DateCreated, Author, IsPublished) - VALUES (@postID, - 'Welcome to BlogEngine.NET 2.0 using Microsoft SQL Server', - 'The description is used as the meta description as well as shown in the related posts. It is recommended that you write a description, but not mandatory', - '

If you see this post it means that BlogEngine.NET 2.0 is running and the hard part of creating your own blog is done. There is only a few things left to do.

-

Write Permissions

-

To be able to log in to the blog and writing posts, you need to enable write permissions on the App_Data folder. If you’re blog is hosted at a hosting provider, you can either log into your account’s admin page or call the support. You need write permissions on the App_Data folder because all posts, comments, and blog attachments are saved as XML files and placed in the App_Data folder. 

-

If you wish to use a database to to store your blog data, we still encourage you to enable this write access for an images you may wish to store for your blog posts.  If you are interested in using Microsoft SQL Server, MySQL, SQL CE, or other databases, please see the BlogEngine wiki to get started.

-

Security

-

When you''ve got write permissions to the App_Data folder, you need to change the username and password. Find the sign-in link located either at the bottom or top of the page depending on your current theme and click it. Now enter "admin" in both the username and password fields and click the button. You will now see an admin menu appear. It has a link to the "Users" admin page. From there you can change the username and password.  Passwords are hashed by default so if you lose your password, please see the BlogEngine wiki for information on recovery.

-

Configuration and Profile

-

Now that you have your blog secured, take a look through the settings and give your new blog a title.  BlogEngine.NET 1.4 is set up to take full advantage of of many semantic formats and technologies such as FOAF, SIOC and APML. It means that the content stored in your BlogEngine.NET installation will be fully portable and auto-discoverable.  Be sure to fill in your author profile to take better advantage of this.

-

Themes and Widgets

-

One last thing to consider is customizing the look of your blog.  We have a few themes available right out of the box including two fully setup to use our new widget framework.  The widget framework allows drop and drag placement on your side bar as well as editing and configuration right in the widget while you are logged in.  Be sure to check out our home page for more theme choices and downloadable widgets to add to your blog.

-

Try Out New Features

-

BlogEngine now supports code syntax highlighting and HTML5 video out of the box. To add a video, click the "Insert video" button just above the post editor. Once your video is uploaded, use the following syntax to show it: [­video src="be-sample.mp4"]. Make sure to add "video/mp4" as a MIME type to your IIS.

-

[video src="http://dotnetblogengine.net/media/blogengine-welcome.mp4" type="video/mp4" width="600" height="480"]

-

You can add formatted code by pressing the "Insert Code" button on the post editor toolbar. Here is a small sample:

-
// Hello1.cs
-public class Hello1
-{
-   public static void Main()
-   {
-      System.Console.WriteLine("Hello, World!");
-   }
-}
-

 

-

On the web

-

You can find BlogEngine.NET on the official website. Here you''ll find tutorials, documentation, tips and tricks and much more. The ongoing development of BlogEngine.NET can be followed at CodePlex where the daily builds will be published for anyone to download.

-

Good luck and happy writing.

-

The BlogEngine.NET team

', - GETDATE(), - 'admin', - 1); - -INSERT INTO be_PostCategory (PostID, CategoryID) - VALUES (@postID, @catID); -INSERT INTO be_PostTag (PostID, Tag) - VALUES (@postID, 'blog'); -INSERT INTO be_PostTag (PostID, Tag) - VALUES (@postID, 'welcome'); - -INSERT INTO be_Users (UserName, Password, LastLoginTime, EmailAddress) - VALUES ('Admin', '', GETDATE(), 'email@example.com'); -INSERT INTO be_Roles (Role) - VALUES ('Administrators'); -INSERT INTO be_Roles (Role) - VALUES ('Editors'); -INSERT INTO be_UserRoles (UserID, RoleID) -VALUES (1, 1); - -INSERT INTO be_DataStoreSettings (ExtensionType, ExtensionId, Settings) -VALUES (1, 'be_WIDGET_ZONE', -' - - <widgets><widget id="d9ada63d-3462-4c72-908e-9d35f0acce40" title="TextBox" showTitle="True">TextBox</widget><widget id="19baa5f6-49d4-4828-8f7f-018535c35f94" title="Administration" showTitle="True">Administration</widget><widget id="d81c5ae3-e57e-4374-a539-5cdee45e639f" title="Search" showTitle="True">Search</widget><widget id="77142800-6dff-4016-99ca-69b5c5ebac93" title="Tag cloud" showTitle="True">Tag cloud</widget><widget id="4ce68ae7-c0c8-4bf8-b50f-a67b582b0d2e" title="RecentPosts" showTitle="True">RecentPosts</widget></widgets> -'); - -GO diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.5.0.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.5.0.0.sql deleted file mode 100644 index b79d5bf73..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.5.0.0.sql and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.6.0.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.6.0.0.sql deleted file mode 100644 index 48e258841..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.6.0.0.sql and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.7.0.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.7.0.0.sql deleted file mode 100644 index 850c174a5..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.7.0.0.sql and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.8.0.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.8.0.0.sql deleted file mode 100644 index 8c805d18f..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup2.8.0.0.sql and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup3.0.0.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup3.0.0.0.sql deleted file mode 100644 index 3bc79ee18..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup3.0.0.0.sql and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup3.1.0.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup3.1.0.0.sql deleted file mode 100644 index feed6d774..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLSetup3.1.0.0.sql and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom1.5To1.6.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom1.5To1.6.sql deleted file mode 100644 index 77e85674e..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom1.5To1.6.sql +++ /dev/null @@ -1,39 +0,0 @@ - -CREATE TABLE [dbo].[be_BlogRollItems]( - [BlogRollId] [uniqueidentifier] NOT NULL, - [Title] [nvarchar](255) NOT NULL, - [Description] [nvarchar](max) NULL, - [BlogUrl] [varchar](255) NOT NULL, - [FeedUrl] [varchar](255) NULL, - [Xfn] [varchar](255) NULL, - [SortIndex] [int] NOT NULL, - CONSTRAINT [PK_be_BlogRollItems] PRIMARY KEY CLUSTERED -( - [BlogRollId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO - -CREATE TABLE [dbo].[be_Referrers]( - [ReferrerId] [uniqueidentifier] NOT NULL, - [ReferralDay] [datetime] NOT NULL CONSTRAINT [DF_be_Referrers_Day] DEFAULT (getdate()), - [ReferrerUrl] [varchar](255) NOT NULL, - [ReferralCount] [int] NOT NULL, - [Url] [varchar](255) NULL, - [IsSpam] [bit] NULL, - CONSTRAINT [PK_be_Referrers] PRIMARY KEY CLUSTERED -( - [ReferrerId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO - -ALTER TABLE dbo.be_Pages ADD Slug nvarchar(255) NULL -GO - -ALTER TABLE dbo.be_PostComment ADD ModeratedBy nvarchar(100) NULL -GO - -ALTER TABLE dbo.be_PostComment ADD Avatar nvarchar(255) NULL -GO - diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom1.6To2.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom1.6To2.0.sql deleted file mode 100644 index 2ca0a0ea1..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom1.6To2.0.sql +++ /dev/null @@ -1,34 +0,0 @@ - - -ALTER TABLE [dbo].[be_PostComment] ADD IsSpam bit NOT NULL DEFAULT 0 -GO - -ALTER TABLE [dbo].[be_PostComment] ADD IsDeleted bit NOT NULL DEFAULT 0 -GO - -ALTER TABLE [dbo].[be_Posts] ADD IsDeleted bit NOT NULL DEFAULT 0 -GO - -ALTER TABLE [dbo].[be_Pages] ADD IsDeleted bit NOT NULL DEFAULT 0 -GO - -CREATE TABLE [dbo].[be_Rights]( - [RightName] [nvarchar](100) NOT NULL, - CONSTRAINT [PK_be_Rights] PRIMARY KEY CLUSTERED -( - [RightName] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO - -CREATE TABLE [dbo].[be_RightRoles]( - [RightName] [nvarchar](100) NOT NULL, - [Role] [nvarchar](100) NOT NULL, - CONSTRAINT [PK_be_RightRoles] PRIMARY KEY CLUSTERED -( - [RightName] ASC, - [Role] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO - diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.0to2.5.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.0to2.5.sql deleted file mode 100644 index 176642302..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.0to2.5.sql +++ /dev/null @@ -1,874 +0,0 @@ - - -SET CONCAT_NULL_YIELDS_NULL, ANSI_NULLS, ANSI_PADDING, QUOTED_IDENTIFIER, ANSI_WARNINGS, ARITHABORT ON -SET NUMERIC_ROUNDABORT, IMPLICIT_TRANSACTIONS, XACT_ABORT OFF -GO - --- --- Drop foreign key FK_be_PostCategory_be_Categories on table "be_PostCategory" --- -ALTER TABLE dbo.be_PostCategory - DROP CONSTRAINT FK_be_PostCategory_be_Categories -GO - --- --- Drop foreign key FK_be_PostCategory_be_Posts on table "be_PostCategory" --- -ALTER TABLE dbo.be_PostCategory - DROP CONSTRAINT FK_be_PostCategory_be_Posts -GO - --- --- Drop foreign key FK_be_PostComment_be_Posts on table "be_PostComment" --- -ALTER TABLE dbo.be_PostComment - DROP CONSTRAINT FK_be_PostComment_be_Posts -GO - --- --- Drop foreign key FK_be_PostNotify_be_Posts on table "be_PostNotify" --- -ALTER TABLE dbo.be_PostNotify - DROP CONSTRAINT FK_be_PostNotify_be_Posts -GO - --- --- Drop foreign key FK_be_PostTag_be_Posts on table "be_PostTag" --- -ALTER TABLE dbo.be_PostTag - DROP CONSTRAINT FK_be_PostTag_be_Posts -GO - --- --- Create column "BlogID" on table "dbo.be_Users" --- -ALTER TABLE dbo.be_Users - ADD BlogID uniqueidentifier NULL -GO - -UPDATE dbo.be_Users SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_Users - ALTER - COLUMN BlogID uniqueidentifier NOT NULL -GO - --- --- Create index "idx_be_Users_BlogId_UserName" on table "be_Users" --- -CREATE INDEX idx_be_Users_BlogId_UserName - ON dbo.be_Users (BlogID, UserName) -GO - --- --- Drop foreign key FK_be_UserRoles_be_Roles on table "be_UserRoles" --- -ALTER TABLE dbo.be_UserRoles - DROP CONSTRAINT FK_be_UserRoles_be_Roles -GO - --- --- Drop foreign key FK_be_UserRoles_be_Users on table "be_UserRoles" --- -ALTER TABLE dbo.be_UserRoles - DROP CONSTRAINT FK_be_UserRoles_be_Users -GO - --- --- Create column "BlogID" on table "dbo.be_UserRoles" --- -ALTER TABLE dbo.be_UserRoles - ADD BlogID uniqueidentifier NULL -GO - -UPDATE dbo.be_UserRoles SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_UserRoles - ALTER - COLUMN BlogID uniqueidentifier NOT NULL -GO - --- --- Create column "UserName" on table "dbo.be_UserRoles" --- -ALTER TABLE dbo.be_UserRoles - ADD UserName nvarchar(100) NULL -GO - --- --- Create column "[Role]" on table "dbo.be_UserRoles" --- -ALTER TABLE dbo.be_UserRoles - ADD [Role] nvarchar(100) NULL -GO - --- --- Insert/Lookup values for UserName and Role on table "dbo.be_UserRoles" --- -UPDATE dbo.be_UserRoles -SET [UserName] = -( -SELECT [UserName] -FROM dbo.be_Users -WHERE dbo.be_Users.[UserID] = dbo.be_UserRoles.[UserID] -), -[Role] = -( -SELECT [Role] -FROM dbo.be_Roles -WHERE dbo.be_Roles.RoleID = dbo.be_UserRoles.RoleID -); - -ALTER TABLE dbo.be_UserRoles - ALTER - COLUMN UserName nvarchar(100) NOT NULL -GO - -ALTER TABLE dbo.be_UserRoles - ALTER - COLUMN [Role] nvarchar(100) NOT NULL -GO - --- --- Drop column "UserID" from table "dbo.be_UserRoles" --- -ALTER TABLE dbo.be_UserRoles - DROP COLUMN UserID -GO - --- --- Drop column "RoleID" from table "dbo.be_UserRoles" --- -ALTER TABLE dbo.be_UserRoles - DROP COLUMN RoleID -GO - --- --- Create index "idx_be_UserRoles_BlogId" on table "be_UserRoles" --- -CREATE INDEX idx_be_UserRoles_BlogId - ON dbo.be_UserRoles (BlogID) -GO - --- --- Drop primary key PK_be_StopWords on table "be_StopWords" --- -ALTER TABLE dbo.be_StopWords - DROP CONSTRAINT PK_be_StopWords -GO - --- --- Create column "StopWordRowId" on table "dbo.be_StopWords" --- -ALTER TABLE dbo.be_StopWords - ADD StopWordRowId int IDENTITY -GO - --- --- Create column "BlogId" on table "dbo.be_StopWords" --- -ALTER TABLE dbo.be_StopWords - ADD BlogId uniqueidentifier NULL -GO - -UPDATE dbo.be_StopWords SET BlogId = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_StopWords - ALTER - COLUMN BlogId uniqueidentifier NOT NULL -GO - --- --- Create primary key PK_be_StopWords on table "be_StopWords" --- -ALTER TABLE dbo.be_StopWords - ADD CONSTRAINT PK_be_StopWords PRIMARY KEY (StopWordRowId) -GO - --- --- Create index "idx_be_StopWords_BlogId" on table "be_StopWords" --- -CREATE INDEX idx_be_StopWords_BlogId - ON dbo.be_StopWords (BlogId) -GO - --- --- Drop primary key PK_be_Settings on table "be_Settings" --- -ALTER TABLE dbo.be_Settings - DROP CONSTRAINT PK_be_Settings -GO - --- --- Create column "SettingRowId" on table "dbo.be_Settings" --- -ALTER TABLE dbo.be_Settings - ADD SettingRowId int IDENTITY -GO - --- --- Create column "BlogId" on table "dbo.be_Settings" --- -ALTER TABLE dbo.be_Settings - ADD BlogId uniqueidentifier NULL -GO - -UPDATE dbo.be_Settings SET BlogId = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_Settings - ALTER - COLUMN BlogId uniqueidentifier NOT NULL -GO - --- --- Create primary key PK_be_Settings on table "be_Settings" --- -ALTER TABLE dbo.be_Settings - ADD CONSTRAINT PK_be_Settings PRIMARY KEY (SettingRowId) -GO - --- --- Create index "idx_be_Settings_BlogId" on table "be_Settings" --- -CREATE INDEX idx_be_Settings_BlogId - ON dbo.be_Settings (BlogId) -GO - --- --- Create column "BlogID" on table "dbo.be_Roles" --- -ALTER TABLE dbo.be_Roles - ADD BlogID uniqueidentifier NULL -GO - -UPDATE dbo.be_Roles SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_Roles - ALTER - COLUMN BlogID uniqueidentifier NOT NULL -GO - --- --- Create index "idx_be_Roles_BlogID_Role" on table "be_Roles" --- -CREATE UNIQUE INDEX idx_be_Roles_BlogID_Role - ON dbo.be_Roles (BlogID, [Role]) -GO - --- --- Drop primary key PK_be_Rights on table "be_Rights" --- -ALTER TABLE dbo.be_Rights - DROP CONSTRAINT PK_be_Rights -GO - --- --- Create column "RightRowId" on table "dbo.be_Rights" --- -ALTER TABLE dbo.be_Rights - ADD RightRowId int IDENTITY -GO - --- --- Create column "BlogId" on table "dbo.be_Rights" --- -ALTER TABLE dbo.be_Rights - ADD BlogId uniqueidentifier NULL -GO - -UPDATE dbo.be_Rights SET BlogId = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_Rights - ALTER - COLUMN BlogId uniqueidentifier NOT NULL -GO - --- --- Create primary key PK_be_Rights on table "be_Rights" --- -ALTER TABLE dbo.be_Rights - ADD CONSTRAINT PK_be_Rights PRIMARY KEY (RightRowId) -GO - --- --- Create index "idx_be_Rights_BlogId" on table "be_Rights" --- -CREATE INDEX idx_be_Rights_BlogId - ON dbo.be_Rights (BlogId) -GO - --- --- Drop primary key PK_be_RightRoles on table "be_RightRoles" --- -ALTER TABLE dbo.be_RightRoles - DROP CONSTRAINT PK_be_RightRoles -GO - --- --- Create column "RightRoleRowId" on table "dbo.be_RightRoles" --- -ALTER TABLE dbo.be_RightRoles - ADD RightRoleRowId int IDENTITY -GO - --- --- Create column "BlogId" on table "dbo.be_RightRoles" --- -ALTER TABLE dbo.be_RightRoles - ADD BlogId uniqueidentifier NULL -GO - -UPDATE dbo.be_RightRoles SET BlogId = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_RightRoles - ALTER - COLUMN BlogId uniqueidentifier NOT NULL -GO - --- --- Create primary key PK_be_RightRoles on table "be_RightRoles" --- -ALTER TABLE dbo.be_RightRoles - ADD CONSTRAINT PK_be_RightRoles PRIMARY KEY (RightRoleRowId) -GO - --- --- Create index "idx_be_RightRoles_BlogId" on table "be_RightRoles" --- -CREATE INDEX idx_be_RightRoles_BlogId - ON dbo.be_RightRoles (BlogId) -GO - --- --- Drop primary key PK_be_Referrers on table "be_Referrers" --- -ALTER TABLE dbo.be_Referrers - DROP CONSTRAINT PK_be_Referrers -GO - --- --- Create column "ReferrerRowId" on table "dbo.be_Referrers" --- -ALTER TABLE dbo.be_Referrers - ADD ReferrerRowId int IDENTITY -GO - --- --- Create column "BlogId" on table "dbo.be_Referrers" --- -ALTER TABLE dbo.be_Referrers - ADD BlogId uniqueidentifier NULL -GO - -UPDATE dbo.be_Referrers SET BlogId = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_Referrers - ALTER - COLUMN BlogId uniqueidentifier NOT NULL -GO - --- --- Create primary key PK_be_Referrers on table "be_Referrers" --- -ALTER TABLE dbo.be_Referrers - ADD CONSTRAINT PK_be_Referrers PRIMARY KEY (ReferrerRowId) -GO - --- --- Create index "idx_be_Referrers_BlogId" on table "be_Referrers" --- -CREATE INDEX idx_be_Referrers_BlogId - ON dbo.be_Referrers (BlogId) -GO - --- --- Drop index "I_UserName" from table "be_Profiles" --- -DROP INDEX I_UserName ON dbo.be_Profiles -GO - --- --- Create column "BlogID" on table "dbo.be_Profiles" --- -ALTER TABLE dbo.be_Profiles - ADD BlogID uniqueidentifier NULL -GO - -UPDATE dbo.be_Profiles SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_Profiles - ALTER - COLUMN BlogID uniqueidentifier NOT NULL -GO - --- --- Create index "idx_be_Profiles_BlogId_UserName" on table "be_Profiles" --- -CREATE INDEX idx_be_Profiles_BlogId_UserName - ON dbo.be_Profiles (BlogID, UserName) -GO - --- --- Drop primary key PK_be_Posts on table "be_Posts" --- -ALTER TABLE dbo.be_Posts - DROP CONSTRAINT PK_be_Posts -GO - --- --- Create column "PostRowID" on table "dbo.be_Posts" --- -ALTER TABLE dbo.be_Posts - ADD PostRowID int IDENTITY -GO - --- --- Create column "BlogID" on table "dbo.be_Posts" --- -ALTER TABLE dbo.be_Posts - ADD BlogID uniqueidentifier NULL -GO - -UPDATE dbo.be_Posts SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_Posts - ALTER - COLUMN BlogID uniqueidentifier NOT NULL -GO - --- --- Create primary key PK_be_Posts on table "be_Posts" --- -ALTER TABLE dbo.be_Posts - ADD CONSTRAINT PK_be_Posts PRIMARY KEY (PostRowID) -GO - --- --- Create index "be_Posts_BlogID_PostID" on table "be_Posts" --- -CREATE UNIQUE INDEX be_Posts_BlogID_PostID - ON dbo.be_Posts (BlogID, PostID) -GO - --- --- Drop index "FK_PostID" from table "be_PostTag" --- -DROP INDEX FK_PostID ON dbo.be_PostTag -GO - --- --- Create column "BlogID" on table "dbo.be_PostTag" --- -ALTER TABLE dbo.be_PostTag - ADD BlogID uniqueidentifier NULL -GO - -UPDATE dbo.be_PostTag SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_PostTag - ALTER - COLUMN BlogID uniqueidentifier NOT NULL -GO - --- --- Create foreign key on table "be_PostTag" --- -ALTER TABLE dbo.be_PostTag - ADD CONSTRAINT FK_be_PostTag_be_Posts FOREIGN KEY (BlogID, PostID) REFERENCES dbo.be_Posts (BlogID, PostID) -GO - --- --- Create index "idx_be_PostTag_BlogId_PostId" on table "be_PostTag" --- -CREATE INDEX idx_be_PostTag_BlogId_PostId - ON dbo.be_PostTag (BlogID, PostID) -GO - --- --- Drop index "FK_PostID" from table "be_PostNotify" --- -DROP INDEX FK_PostID ON dbo.be_PostNotify -GO - --- --- Rename primary key "PK_be_PostNotify" to "idx_be_PostCategory_BlogId_PostId" on Table "be_PostNotify" --- -EXEC sp_rename N'dbo.PK_be_PostNotify', N'idx_be_PostCategory_BlogId_PostId', 'OBJECT' -GO - --- --- Create column "BlogID" on table "dbo.be_PostNotify" --- -ALTER TABLE dbo.be_PostNotify - ADD BlogID uniqueidentifier NULL -GO - -UPDATE dbo.be_PostNotify SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_PostNotify - ALTER - COLUMN BlogID uniqueidentifier NOT NULL -GO - --- --- Create foreign key on table "be_PostNotify" --- -ALTER TABLE dbo.be_PostNotify - ADD CONSTRAINT FK_be_PostNotify_be_Posts FOREIGN KEY (BlogID, PostID) REFERENCES dbo.be_Posts (BlogID, PostID) -GO - --- --- Create index "FK_PostID" on table "be_PostNotify" --- -CREATE INDEX FK_PostID - ON dbo.be_PostNotify (BlogID, PostID) -GO - --- --- Drop index "FK_PostID" from table "be_PostComment" --- -DROP INDEX FK_PostID ON dbo.be_PostComment -GO - --- --- Drop primary key PK_be_PostComment on table "be_PostComment" --- -ALTER TABLE dbo.be_PostComment - DROP CONSTRAINT PK_be_PostComment -GO - --- --- Create column "PostCommentRowID" on table "dbo.be_PostComment" --- -ALTER TABLE dbo.be_PostComment - ADD PostCommentRowID int IDENTITY -GO - --- --- Create column "BlogID" on table "dbo.be_PostComment" --- -ALTER TABLE dbo.be_PostComment - ADD BlogID uniqueidentifier NULL -GO - -UPDATE dbo.be_PostComment SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_PostComment - ALTER - COLUMN BlogID uniqueidentifier NOT NULL -GO - --- --- Create primary key PK_be_PostComment on table "be_PostComment" --- -ALTER TABLE dbo.be_PostComment - ADD CONSTRAINT PK_be_PostComment PRIMARY KEY (PostCommentRowID) -GO - --- --- Create index "idx_be_PostComment_BlogId_PostId" on table "be_PostComment" --- -CREATE INDEX idx_be_PostComment_BlogId_PostId - ON dbo.be_PostComment (BlogID, PostID) -GO - --- --- Create foreign key on table "be_PostComment" --- -ALTER TABLE dbo.be_PostComment - ADD CONSTRAINT FK_be_PostComment_be_Posts FOREIGN KEY (BlogID, PostID) REFERENCES dbo.be_Posts (BlogID, PostID) -GO - --- --- Rename primary key "PK_be_PingService" to "PK_be_PingService_1" on Table "be_PingService" --- -EXEC sp_rename N'dbo.PK_be_PingService', N'PK_be_PingService_1', 'OBJECT' -GO - --- --- Create column "BlogID" on table "dbo.be_PingService" --- -ALTER TABLE dbo.be_PingService - ADD BlogID uniqueidentifier NULL -GO - -UPDATE dbo.be_PingService SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_PingService - ALTER - COLUMN BlogID uniqueidentifier NOT NULL -GO - --- --- Create index "idx_be_PingService_BlogId" on table "be_PingService" --- -CREATE INDEX idx_be_PingService_BlogId - ON dbo.be_PingService (BlogID) -GO - --- --- Drop primary key PK_be_Pages on table "be_Pages" --- -ALTER TABLE dbo.be_Pages - DROP CONSTRAINT PK_be_Pages -GO - --- --- Create column "PageRowID" on table "dbo.be_Pages" --- -ALTER TABLE dbo.be_Pages - ADD PageRowID int IDENTITY -GO - --- --- Create column "BlogID" on table "dbo.be_Pages" --- -ALTER TABLE dbo.be_Pages - ADD BlogID uniqueidentifier NULL -GO - -UPDATE dbo.be_Pages SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_Pages - ALTER - COLUMN BlogID uniqueidentifier NOT NULL -GO - --- --- Create primary key PK_be_Pages on table "be_Pages" --- -ALTER TABLE dbo.be_Pages - ADD CONSTRAINT PK_be_Pages PRIMARY KEY (PageRowID) -GO - --- --- Create index "idx_Pages_BlogId_PageId" on table "be_Pages" --- -CREATE INDEX idx_Pages_BlogId_PageId - ON dbo.be_Pages (BlogID, PageID) -GO - --- --- Drop index "I_TypeID" from table "be_DataStoreSettings" --- -DROP INDEX I_TypeID ON dbo.be_DataStoreSettings -GO - --- --- Create column "DataStoreSettingRowId" on table "dbo.be_DataStoreSettings" --- -ALTER TABLE dbo.be_DataStoreSettings - ADD DataStoreSettingRowId int IDENTITY -GO - --- --- Create column "BlogId" on table "dbo.be_DataStoreSettings" --- -ALTER TABLE dbo.be_DataStoreSettings - ADD BlogId uniqueidentifier NULL -GO - -UPDATE dbo.be_DataStoreSettings SET BlogId = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_DataStoreSettings - ALTER - COLUMN BlogId uniqueidentifier NOT NULL -GO - --- --- Create primary key PK_be_DataStoreSettings on table "be_DataStoreSettings" --- -ALTER TABLE dbo.be_DataStoreSettings - ADD CONSTRAINT PK_be_DataStoreSettings PRIMARY KEY (DataStoreSettingRowId) -GO - --- --- Create index "idx_be_DataStoreSettings_BlogId_ExtensionType_TypeID" on table "be_DataStoreSettings" --- -CREATE INDEX idx_be_DataStoreSettings_BlogId_ExtensionType_TypeID - ON dbo.be_DataStoreSettings (BlogId, ExtensionType, ExtensionId) -GO - --- --- Drop primary key PK_be_Categories on table "be_Categories" --- -ALTER TABLE dbo.be_Categories - DROP CONSTRAINT PK_be_Categories -GO - --- --- Create column "CategoryRowID" on table "dbo.be_Categories" --- -ALTER TABLE dbo.be_Categories - ADD CategoryRowID int IDENTITY -GO - --- --- Create column "BlogID" on table "dbo.be_Categories" --- -ALTER TABLE dbo.be_Categories - ADD BlogID uniqueidentifier NULL -GO - -UPDATE dbo.be_Categories SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_Categories - ALTER - COLUMN BlogID uniqueidentifier NOT NULL -GO - --- --- Create primary key PK_be_Categories on table "be_Categories" --- -ALTER TABLE dbo.be_Categories - ADD CONSTRAINT PK_be_Categories PRIMARY KEY (CategoryRowID) -GO - --- --- Create index "idx_be_Categories_BlogID_CategoryID" on table "be_Categories" --- -CREATE UNIQUE INDEX idx_be_Categories_BlogID_CategoryID - ON dbo.be_Categories (BlogID, CategoryID) -GO - --- --- Drop index "FK_CategoryID" from table "be_PostCategory" --- -DROP INDEX FK_CategoryID ON dbo.be_PostCategory -GO - --- --- Drop index "FK_PostID" from table "be_PostCategory" --- -DROP INDEX FK_PostID ON dbo.be_PostCategory -GO - --- --- Rename primary key "PK_be_PostCategory" to "PK_be_PostCategory_1" on Table "be_PostCategory" --- -EXEC sp_rename N'dbo.PK_be_PostCategory', N'PK_be_PostCategory_1', 'OBJECT' -GO - --- --- Create column "BlogID" on table "dbo.be_PostCategory" --- -ALTER TABLE dbo.be_PostCategory - ADD BlogID uniqueidentifier NULL -GO - -UPDATE dbo.be_PostCategory SET BlogID = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_PostCategory - ALTER - COLUMN BlogID uniqueidentifier NOT NULL -GO - --- --- Create foreign key on table "be_PostCategory" --- -ALTER TABLE dbo.be_PostCategory - ADD CONSTRAINT FK_be_PostCategory_be_Categories FOREIGN KEY (BlogID, CategoryID) REFERENCES dbo.be_Categories (BlogID, CategoryID) -GO - --- --- Create foreign key on table "be_PostCategory" --- -ALTER TABLE dbo.be_PostCategory - ADD CONSTRAINT FK_be_PostCategory_be_Posts FOREIGN KEY (BlogID, PostID) REFERENCES dbo.be_Posts (BlogID, PostID) -GO - --- --- Create index "idx_be_PostCategory_BlogId_CategoryId" on table "be_PostCategory" --- -CREATE INDEX idx_be_PostCategory_BlogId_CategoryId - ON dbo.be_PostCategory (BlogID, CategoryID) -GO - --- --- Create index "idx_be_PostCategory_BlogId_PostId" on table "be_PostCategory" --- -CREATE INDEX idx_be_PostCategory_BlogId_PostId - ON dbo.be_PostCategory (BlogID, PostID) -GO - --- --- Create table "dbo.be_Blogs" --- -CREATE TABLE dbo.be_Blogs ( - BlogRowId int IDENTITY, - BlogId uniqueidentifier NOT NULL, - BlogName nvarchar(255) NOT NULL, - Hostname nvarchar(255) NOT NULL, - IsAnyTextBeforeHostnameAccepted bit NOT NULL, - StorageContainerName nvarchar(255) NOT NULL, - VirtualPath nvarchar(255) NOT NULL, - IsPrimary bit NOT NULL, - IsActive bit NOT NULL, - CONSTRAINT PK_be_Blogs PRIMARY KEY (BlogRowId) -) -GO - -INSERT [dbo].[be_Blogs] ([BlogId], [BlogName], [Hostname], [IsAnyTextBeforeHostnameAccepted], [StorageContainerName], [VirtualPath], [IsPrimary], [IsActive]) VALUES (N'27604f05-86ad-47ef-9e05-950bb762570c', N'Primary', N'', 0, N'', N'~/', 1, 1) -GO - --- --- Drop primary key PK_be_BlogRollItems on table "be_BlogRollItems" --- -ALTER TABLE dbo.be_BlogRollItems - DROP CONSTRAINT PK_be_BlogRollItems -GO - --- --- Create column "BlogRollRowId" on table "dbo.be_BlogRollItems" --- -ALTER TABLE dbo.be_BlogRollItems - ADD BlogRollRowId int IDENTITY -GO - --- --- Create column "BlogId" on table "dbo.be_BlogRollItems" --- -ALTER TABLE dbo.be_BlogRollItems - ADD BlogId uniqueidentifier NULL -GO - -UPDATE dbo.be_BlogRollItems SET BlogId = '27604F05-86AD-47EF-9E05-950BB762570C' -GO - -ALTER TABLE dbo.be_BlogRollItems - ALTER - COLUMN BlogId uniqueidentifier NOT NULL -GO - --- --- Create primary key PK_be_BlogRollItems on table "be_BlogRollItems" --- -ALTER TABLE dbo.be_BlogRollItems - ADD CONSTRAINT PK_be_BlogRollItems PRIMARY KEY (BlogRollRowId) -GO - --- --- Create index "idx_be_BlogRollItems_BlogId" on table "be_BlogRollItems" --- -CREATE INDEX idx_be_BlogRollItems_BlogId - ON dbo.be_BlogRollItems (BlogId) -GO - diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.5to2.6.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.5to2.6.sql deleted file mode 100644 index a6f68701e..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.5to2.6.sql +++ /dev/null @@ -1,167 +0,0 @@ - - - --- --- dbo.be_Packages --- -CREATE TABLE [dbo].[be_Packages]( - [PackageId] [nvarchar](128) NOT NULL, - [Version] [nvarchar](128) NOT NULL, - CONSTRAINT [PK_be_Packages] PRIMARY KEY CLUSTERED -( - [PackageId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO - - --- --- be_PackageFiles --- -CREATE TABLE [dbo].[be_PackageFiles]( - [PackageId] [nvarchar](128) NOT NULL, - [FileOrder] [int] NOT NULL, - [FilePath] [nvarchar](255) NOT NULL, - [IsDirectory] [bit] NOT NULL, - CONSTRAINT [PK_be_PackageFiles] PRIMARY KEY CLUSTERED -( - [PackageId] ASC, - [FileOrder] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO - - --- --- be_QuickNotes --- -CREATE TABLE [dbo].[be_QuickNotes]( - [QuickNoteID] [int] IDENTITY(1,1) NOT NULL, - [NoteID] [uniqueidentifier] NOT NULL, - [BlogID] [uniqueidentifier] NOT NULL, - [UserName] [nvarchar](100) NOT NULL, - [Note] [nvarchar](max) NOT NULL, - [Updated] [datetime] NULL, - CONSTRAINT [PK_be_QuickNotes] PRIMARY KEY CLUSTERED -( - [QuickNoteID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] - -GO -CREATE NONCLUSTERED INDEX [idx_be_NoteId_BlogId_UserName] ON [dbo].[be_QuickNotes] -( - [NoteID] ASC, - [BlogID] ASC, - [UserName] ASC -) -GO - - --- --- be_QuickSettings --- -CREATE TABLE [dbo].[be_QuickSettings]( - [QuickSettingID] [int] IDENTITY(1,1) NOT NULL, - [BlogID] [uniqueidentifier] NOT NULL, - [UserName] [nvarchar](100) NOT NULL, - [SettingName] [nvarchar](255) NOT NULL, - [SettingValue] [nvarchar](255) NOT NULL, - CONSTRAINT [PK_be_QuickSettings] PRIMARY KEY CLUSTERED -( - [QuickSettingID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO - - --- --- be_FileStoreDirectory --- -CREATE TABLE [dbo].[be_FileStoreDirectory]( - [Id] [uniqueidentifier] NOT NULL, - [ParentID] [uniqueidentifier] NULL, - [BlogID] [uniqueidentifier] NOT NULL, - [Name] [varchar](255) NOT NULL, - [FullPath] [varchar](1000) NOT NULL, - [CreateDate] [datetime] NOT NULL, - [LastAccess] [datetime] NOT NULL, - [LastModify] [datetime] NOT NULL, - CONSTRAINT [PK_be_FileStoreDirectory] PRIMARY KEY CLUSTERED -( - [Id] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO - - --- --- be_FileStoreFiles --- -CREATE TABLE [dbo].[be_FileStoreFiles]( - [FileID] [uniqueidentifier] NOT NULL, - [ParentDirectoryID] [uniqueidentifier] NOT NULL, - [Name] [varchar](255) NOT NULL, - [FullPath] [varchar](255) NOT NULL, - [Contents] [varbinary](max) NOT NULL, - [Size] [int] NOT NULL, - [CreateDate] [datetime] NOT NULL, - [LastAccess] [datetime] NOT NULL, - [LastModify] [datetime] NOT NULL, - CONSTRAINT [PK_be_FileStoreFiles] PRIMARY KEY CLUSTERED -( - [FileID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO - - -ALTER TABLE [dbo].[be_FileStoreFiles] WITH CHECK ADD CONSTRAINT [FK_be_FileStoreFiles_be_FileStoreDirectory] FOREIGN KEY([ParentDirectoryID]) -REFERENCES [dbo].[be_FileStoreDirectory] ([Id]) -ON DELETE CASCADE -GO - -ALTER TABLE [dbo].[be_FileStoreFiles] CHECK CONSTRAINT [FK_be_FileStoreFiles_be_FileStoreDirectory] -GO - - --- --- be_FileStoreFileThumbs --- -CREATE TABLE [dbo].[be_FileStoreFileThumbs]( - [thumbnailId] [uniqueidentifier] NOT NULL, - [FileId] [uniqueidentifier] NOT NULL, - [size] [int] NOT NULL, - [contents] [varbinary](max) NOT NULL, - CONSTRAINT [PK_be_FileStoreFileThumbs] PRIMARY KEY CLUSTERED -( - [thumbnailId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO - -ALTER TABLE [dbo].[be_FileStoreFileThumbs] WITH CHECK ADD CONSTRAINT [FK_be_FileStoreFileThumbs_be_FileStoreFiles] FOREIGN KEY([FileId]) -REFERENCES [dbo].[be_FileStoreFiles] ([FileID]) -ON DELETE CASCADE -GO - -ALTER TABLE [dbo].[be_FileStoreFileThumbs] CHECK CONSTRAINT [FK_be_FileStoreFileThumbs_be_FileStoreFiles] -GO - - --- --- be_Blogs --- -ALTER TABLE dbo.be_Blogs ADD - IsSiteAggregation bit NOT NULL CONSTRAINT DF_be_Blogs_IsSiteAggregation DEFAULT 0 -GO - - - - - diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.8to3.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.8to3.0.sql deleted file mode 100644 index cbedf1d99..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom2.8to3.0.sql +++ /dev/null @@ -1,27 +0,0 @@ - --- --- be_CustomFields --- -CREATE TABLE [dbo].[be_CustomFields]( - [CustomType] [nvarchar](25) NOT NULL, - [ObjectId] [nvarchar](100) NOT NULL, - [BlogId] [uniqueidentifier] NOT NULL, - [Key] [nvarchar](150) NOT NULL, - [Value] [nvarchar](max) NOT NULL, - [Attribute] [nvarchar](250) NULL -) -GO - -CREATE CLUSTERED INDEX [idx_be_CustomType_ObjectId_BlogId_Key] ON [dbo].[be_CustomFields] -( - [CustomType] ASC, - [ObjectId] ASC, - [BlogId] ASC, - [Key] ASC -) -GO - - - - - diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom3.0to3.1.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom3.0to3.1.sql deleted file mode 100644 index f3eac72c3..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeFrom3.0to3.1.sql +++ /dev/null @@ -1,51 +0,0 @@ --- --- be_Pages SortOrder --- -ALTER TABLE dbo.be_Pages ADD - SortOrder int NOT NULL CONSTRAINT DF_be_Pages_SortOrder DEFAULT 0 -GO -CREATE NONCLUSTERED INDEX IX_be_Pages ON dbo.be_Pages - ( - SortOrder - ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO --- --- ad unique constraints on be_Settings and be_Rights --- - ALTER TABLE dbo.be_Settings - ADD CONSTRAINT AK_SettingName UNIQUE (SettingName) - - ALTER TABLE dbo.be_Rights - ADD CONSTRAINT AK_RightName UNIQUE (RightName) --- --- add new rights to administrators --- -SET IDENTITY_INSERT [dbo].[be_RightRoles] ON -GO -INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26131, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewDashboard', N'Administrators') -GO -INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26132, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManageExtensions', N'Administrators') -GO -INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26133, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManageThemes', N'Administrators') -GO -INSERT [dbo].[be_RightRoles] ([RightRoleRowId], [BlogId], [RightName], [Role]) VALUES (26134, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManagePackages', N'Administrators') -GO -SET IDENTITY_INSERT [dbo].[be_RightRoles] OFF -GO -SET IDENTITY_INSERT [dbo].[be_Rights] ON -GO -INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16081, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ViewDashboard') -GO -INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16082, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManageExtensions') -GO -INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16083, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManageThemes') -GO -INSERT [dbo].[be_Rights] ([RightRowId], [BlogId], [RightName]) VALUES (16084, N'27604f05-86ad-47ef-9e05-950bb762570c', N'ManagePackages') -GO -SET IDENTITY_INSERT [dbo].[be_Rights] OFF -GO - - - - - diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.4.5.0From1.3.x.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.4.5.0From1.3.x.sql deleted file mode 100644 index 621bd8813..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.4.5.0From1.3.x.sql +++ /dev/null @@ -1,246 +0,0 @@ -/****** BlogEngine.NET 1.4.5 SQL Upgrade Script from 1.3.x ******/ - -/* be_Categories update */ -ALTER TABLE [dbo].[be_Categories] - ADD - [ParentID] [uniqueidentifier] NULL -GO - -/****** Object: Table [dbo].[be_DataStoreSettings] Script Date: 06/28/2008 19:29:31 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -SET ANSI_PADDING ON -GO -CREATE TABLE [dbo].[be_DataStoreSettings]( - [ExtensionType] [nvarchar](50) NOT NULL, - [ExtensionId] [nvarchar](100) NOT NULL, - [Settings] [nvarchar](max) NOT NULL -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Profiles] Script Date: 06/28/2008 19:33:41 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Profiles]( - [ProfileID] [int] IDENTITY(1,1) NOT NULL, - [UserName] [nvarchar](100) NULL, - [SettingName] [nvarchar](200) NULL, - [SettingValue] [nvarchar](max) NULL, - CONSTRAINT [PK_be_Profiles] PRIMARY KEY CLUSTERED -( - [ProfileID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_StopWords] Script Date: 06/28/2008 19:33:32 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_StopWords]( - [StopWord] [nvarchar](50) NOT NULL, - CONSTRAINT [PK_be_StopWords] PRIMARY KEY CLUSTERED -( - [StopWord] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Users] Script Date: 07/30/2008 21:55:28 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Users]( - [UserID] [int] IDENTITY(1,1) NOT NULL, - [UserName] [nvarchar](100) NOT NULL, - [Password] [nvarchar](255) NOT NULL, - [LastLoginTime] [datetime] NULL, - [EmailAddress] [nvarchar](100) NULL, - CONSTRAINT [PK_be_Users] PRIMARY KEY CLUSTERED -( - [UserID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Roles] Script Date: 07/30/2008 21:56:59 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Roles]( - [RoleID] [int] IDENTITY(1,1) NOT NULL, - [Role] [nvarchar](100) NOT NULL, - CONSTRAINT [PK_be_Roles] PRIMARY KEY CLUSTERED -( - [RoleID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_UserRoles] Script Date: 07/31/2008 12:26:45 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_UserRoles]( - [UserRoleID] [int] IDENTITY(1,1) NOT NULL, - [UserID] [int] NOT NULL, - [RoleID] [int] NOT NULL, - CONSTRAINT [PK_be_UserRoles] PRIMARY KEY CLUSTERED -( - [UserRoleID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Roles] FOREIGN KEY([RoleID]) -REFERENCES [dbo].[be_Roles] ([RoleID]) -GO -ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Roles] -GO -ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Users] FOREIGN KEY([UserID]) -REFERENCES [dbo].[be_Users] ([UserID]) -GO -ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Users] -GO -/****** Object: Index [I_TypeID] Script Date: 06/28/2008 19:34:43 ******/ -CREATE NONCLUSTERED INDEX [I_TypeID] ON [dbo].[be_DataStoreSettings] -( - [ExtensionType] ASC, - [ExtensionId] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/****** Object: Index [I_UserName] Script Date: 06/28/2008 19:35:12 ******/ -CREATE NONCLUSTERED INDEX [I_UserName] ON [dbo].[be_Profiles] -( - [UserName] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -GO -/*** Load StopWords Data ***/ -INSERT INTO be_StopWords (StopWord) VALUES ('a'); -INSERT INTO be_StopWords (StopWord) VALUES ('about'); -INSERT INTO be_StopWords (StopWord) VALUES ('actually'); -INSERT INTO be_StopWords (StopWord) VALUES ('add'); -INSERT INTO be_StopWords (StopWord) VALUES ('after'); -INSERT INTO be_StopWords (StopWord) VALUES ('all'); -INSERT INTO be_StopWords (StopWord) VALUES ('almost'); -INSERT INTO be_StopWords (StopWord) VALUES ('along'); -INSERT INTO be_StopWords (StopWord) VALUES ('also'); -INSERT INTO be_StopWords (StopWord) VALUES ('an'); -INSERT INTO be_StopWords (StopWord) VALUES ('and'); -INSERT INTO be_StopWords (StopWord) VALUES ('any'); -INSERT INTO be_StopWords (StopWord) VALUES ('are'); -INSERT INTO be_StopWords (StopWord) VALUES ('as'); -INSERT INTO be_StopWords (StopWord) VALUES ('at'); -INSERT INTO be_StopWords (StopWord) VALUES ('be'); -INSERT INTO be_StopWords (StopWord) VALUES ('both'); -INSERT INTO be_StopWords (StopWord) VALUES ('but'); -INSERT INTO be_StopWords (StopWord) VALUES ('by'); -INSERT INTO be_StopWords (StopWord) VALUES ('can'); -INSERT INTO be_StopWords (StopWord) VALUES ('cannot'); -INSERT INTO be_StopWords (StopWord) VALUES ('com'); -INSERT INTO be_StopWords (StopWord) VALUES ('could'); -INSERT INTO be_StopWords (StopWord) VALUES ('de'); -INSERT INTO be_StopWords (StopWord) VALUES ('do'); -INSERT INTO be_StopWords (StopWord) VALUES ('down'); -INSERT INTO be_StopWords (StopWord) VALUES ('each'); -INSERT INTO be_StopWords (StopWord) VALUES ('either'); -INSERT INTO be_StopWords (StopWord) VALUES ('en'); -INSERT INTO be_StopWords (StopWord) VALUES ('for'); -INSERT INTO be_StopWords (StopWord) VALUES ('from'); -INSERT INTO be_StopWords (StopWord) VALUES ('good'); -INSERT INTO be_StopWords (StopWord) VALUES ('has'); -INSERT INTO be_StopWords (StopWord) VALUES ('have'); -INSERT INTO be_StopWords (StopWord) VALUES ('he'); -INSERT INTO be_StopWords (StopWord) VALUES ('her'); -INSERT INTO be_StopWords (StopWord) VALUES ('here'); -INSERT INTO be_StopWords (StopWord) VALUES ('hers'); -INSERT INTO be_StopWords (StopWord) VALUES ('his'); -INSERT INTO be_StopWords (StopWord) VALUES ('how'); -INSERT INTO be_StopWords (StopWord) VALUES ('i'); -INSERT INTO be_StopWords (StopWord) VALUES ('if'); -INSERT INTO be_StopWords (StopWord) VALUES ('in'); -INSERT INTO be_StopWords (StopWord) VALUES ('into'); -INSERT INTO be_StopWords (StopWord) VALUES ('is'); -INSERT INTO be_StopWords (StopWord) VALUES ('it'); -INSERT INTO be_StopWords (StopWord) VALUES ('its'); -INSERT INTO be_StopWords (StopWord) VALUES ('just'); -INSERT INTO be_StopWords (StopWord) VALUES ('la'); -INSERT INTO be_StopWords (StopWord) VALUES ('like'); -INSERT INTO be_StopWords (StopWord) VALUES ('long'); -INSERT INTO be_StopWords (StopWord) VALUES ('make'); -INSERT INTO be_StopWords (StopWord) VALUES ('me'); -INSERT INTO be_StopWords (StopWord) VALUES ('more'); -INSERT INTO be_StopWords (StopWord) VALUES ('much'); -INSERT INTO be_StopWords (StopWord) VALUES ('my'); -INSERT INTO be_StopWords (StopWord) VALUES ('need'); -INSERT INTO be_StopWords (StopWord) VALUES ('new'); -INSERT INTO be_StopWords (StopWord) VALUES ('now'); -INSERT INTO be_StopWords (StopWord) VALUES ('of'); -INSERT INTO be_StopWords (StopWord) VALUES ('off'); -INSERT INTO be_StopWords (StopWord) VALUES ('on'); -INSERT INTO be_StopWords (StopWord) VALUES ('once'); -INSERT INTO be_StopWords (StopWord) VALUES ('one'); -INSERT INTO be_StopWords (StopWord) VALUES ('ones'); -INSERT INTO be_StopWords (StopWord) VALUES ('only'); -INSERT INTO be_StopWords (StopWord) VALUES ('or'); -INSERT INTO be_StopWords (StopWord) VALUES ('our'); -INSERT INTO be_StopWords (StopWord) VALUES ('out'); -INSERT INTO be_StopWords (StopWord) VALUES ('over'); -INSERT INTO be_StopWords (StopWord) VALUES ('own'); -INSERT INTO be_StopWords (StopWord) VALUES ('really'); -INSERT INTO be_StopWords (StopWord) VALUES ('right'); -INSERT INTO be_StopWords (StopWord) VALUES ('same'); -INSERT INTO be_StopWords (StopWord) VALUES ('see'); -INSERT INTO be_StopWords (StopWord) VALUES ('she'); -INSERT INTO be_StopWords (StopWord) VALUES ('so'); -INSERT INTO be_StopWords (StopWord) VALUES ('some'); -INSERT INTO be_StopWords (StopWord) VALUES ('such'); -INSERT INTO be_StopWords (StopWord) VALUES ('take'); -INSERT INTO be_StopWords (StopWord) VALUES ('takes'); -INSERT INTO be_StopWords (StopWord) VALUES ('that'); -INSERT INTO be_StopWords (StopWord) VALUES ('the'); -INSERT INTO be_StopWords (StopWord) VALUES ('their'); -INSERT INTO be_StopWords (StopWord) VALUES ('these'); -INSERT INTO be_StopWords (StopWord) VALUES ('thing'); -INSERT INTO be_StopWords (StopWord) VALUES ('this'); -INSERT INTO be_StopWords (StopWord) VALUES ('to'); -INSERT INTO be_StopWords (StopWord) VALUES ('too'); -INSERT INTO be_StopWords (StopWord) VALUES ('took'); -INSERT INTO be_StopWords (StopWord) VALUES ('und'); -INSERT INTO be_StopWords (StopWord) VALUES ('up'); -INSERT INTO be_StopWords (StopWord) VALUES ('use'); -INSERT INTO be_StopWords (StopWord) VALUES ('used'); -INSERT INTO be_StopWords (StopWord) VALUES ('using'); -INSERT INTO be_StopWords (StopWord) VALUES ('very'); -INSERT INTO be_StopWords (StopWord) VALUES ('was'); -INSERT INTO be_StopWords (StopWord) VALUES ('we'); -INSERT INTO be_StopWords (StopWord) VALUES ('well'); -INSERT INTO be_StopWords (StopWord) VALUES ('what'); -INSERT INTO be_StopWords (StopWord) VALUES ('when'); -INSERT INTO be_StopWords (StopWord) VALUES ('where'); -INSERT INTO be_StopWords (StopWord) VALUES ('who'); -INSERT INTO be_StopWords (StopWord) VALUES ('will'); -INSERT INTO be_StopWords (StopWord) VALUES ('with'); -INSERT INTO be_StopWords (StopWord) VALUES ('www'); -INSERT INTO be_StopWords (StopWord) VALUES ('you'); -INSERT INTO be_StopWords (StopWord) VALUES ('your'); - -INSERT INTO be_Users (UserName, Password, LastLoginTime, EmailAddress) - VALUES ('Admin', '', GETDATE(), 'email@example.com'); -INSERT INTO be_Roles (Role) - VALUES ('Administrators'); -INSERT INTO be_Roles (Role) - VALUES ('Editors'); -INSERT INTO be_UserRoles (UserID, RoleID) -VALUES ( 1, 1); - -INSERT INTO be_DataStoreSettings (ExtensionType, ExtensionId, Settings) -VALUES (1, 'be_WIDGET_ZONE', -' - - <widgets><widget id="d9ada63d-3462-4c72-908e-9d35f0acce40" title="TextBox" showTitle="True">TextBox</widget><widget id="19baa5f6-49d4-4828-8f7f-018535c35f94" title="Administration" showTitle="True">Administration</widget><widget id="d81c5ae3-e57e-4374-a539-5cdee45e639f" title="Search" showTitle="True">Search</widget><widget id="77142800-6dff-4016-99ca-69b5c5ebac93" title="Tag cloud" showTitle="True">Tag cloud</widget><widget id="4ce68ae7-c0c8-4bf8-b50f-a67b582b0d2e" title="RecentPosts" showTitle="True">RecentPosts</widget></widgets> -'); -GO diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.4.5.0From1.4.0.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.4.5.0From1.4.0.0.sql deleted file mode 100644 index 898f7eaad..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.4.5.0From1.4.0.0.sql +++ /dev/null @@ -1,86 +0,0 @@ -/****** BlogEngine.NET 1.4. SQL Upgrade Script ******/ - -/* be_Categories update */ -ALTER TABLE [dbo].[be_Categories] - ADD - [ParentID] [uniqueidentifier] NULL - -/* be_DataStoreSettings update */ -ALTER TABLE [dbo].[be_DataStoreSettings] - ALTER COLUMN Settings varchar(max) - -GO -/****** Object: Table [dbo].[be_Users] Script Date: 07/30/2008 21:55:28 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Users]( - [UserID] [int] IDENTITY(1,1) NOT NULL, - [UserName] [nvarchar](100) NOT NULL, - [Password] [nvarchar](255) NOT NULL, - [LastLoginTime] [datetime] NULL, - [EmailAddress] [nvarchar](100) NULL, - CONSTRAINT [PK_be_Users] PRIMARY KEY CLUSTERED -( - [UserID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_Roles] Script Date: 07/30/2008 21:56:59 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_Roles]( - [RoleID] [int] IDENTITY(1,1) NOT NULL, - [Role] [nvarchar](100) NOT NULL, - CONSTRAINT [PK_be_Roles] PRIMARY KEY CLUSTERED -( - [RoleID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] -GO -/****** Object: Table [dbo].[be_UserRoles] Script Date: 07/31/2008 12:26:45 ******/ -SET ANSI_NULLS ON -GO -SET QUOTED_IDENTIFIER ON -GO -CREATE TABLE [dbo].[be_UserRoles]( - [UserRoleID] [int] IDENTITY(1,1) NOT NULL, - [UserID] [int] NOT NULL, - [RoleID] [int] NOT NULL, - CONSTRAINT [PK_be_UserRoles] PRIMARY KEY CLUSTERED -( - [UserRoleID] ASC -)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] -) ON [PRIMARY] - -GO -ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Roles] FOREIGN KEY([RoleID]) -REFERENCES [dbo].[be_Roles] ([RoleID]) -GO -ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Roles] -GO -ALTER TABLE [dbo].[be_UserRoles] WITH CHECK ADD CONSTRAINT [FK_be_UserRoles_be_Users] FOREIGN KEY([UserID]) -REFERENCES [dbo].[be_Users] ([UserID]) -GO -ALTER TABLE [dbo].[be_UserRoles] CHECK CONSTRAINT [FK_be_UserRoles_be_Users] -GO -INSERT INTO be_Users (UserName, Password, LastLoginTime, EmailAddress) - VALUES ('Admin', '', GETDATE(), 'email@example.com'); -INSERT INTO be_Roles (Role) - VALUES ('Administrators'); -INSERT INTO be_Roles (Role) - VALUES ('Editors'); -INSERT INTO be_UserRoles (UserID, RoleID) -VALUES ( 1, 1); - -UPDATE be_DataStoreSettings -SET Settings = -' - - <widgets><widget id="d9ada63d-3462-4c72-908e-9d35f0acce40" title="TextBox" showTitle="True">TextBox</widget><widget id="19baa5f6-49d4-4828-8f7f-018535c35f94" title="Administration" showTitle="True">Administration</widget><widget id="d81c5ae3-e57e-4374-a539-5cdee45e639f" title="Search" showTitle="True">Search</widget><widget id="77142800-6dff-4016-99ca-69b5c5ebac93" title="Tag cloud" showTitle="True">Tag cloud</widget><widget id="4ce68ae7-c0c8-4bf8-b50f-a67b582b0d2e" title="RecentPosts" showTitle="True">RecentPosts</widget></widgets> -' -WHERE ExtensionId = 'be_WIDGET_ZONE' -GO diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.5.0.0From1.4.5.0.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.5.0.0From1.4.5.0.sql deleted file mode 100644 index 76afea931..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Archive/MSSQLUpgradeTo1.5.0.0From1.4.5.0.sql +++ /dev/null @@ -1,6 +0,0 @@ -/****** BlogEngine.NET 1.5 SQL Upgrade Script ******/ - -/* be_PostComment update */ -ALTER TABLE [dbo].[be_PostComment] - ADD - [ParentCommentID] [uniqueidentifier] NOT NULL DEFAULT ('00000000-0000-0000-0000-000000000000') diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/DbWeb.Config b/BlogEngine/BlogEngine.NET/setup/SQLServer/DbWeb.Config deleted file mode 100644 index 49a5fa2a5..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLServer/DbWeb.Config +++ /dev/null @@ -1,272 +0,0 @@ - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/ReadMe.txt b/BlogEngine/BlogEngine.NET/setup/SQLServer/ReadMe.txt deleted file mode 100644 index e363e07f1..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLServer/ReadMe.txt +++ /dev/null @@ -1,25 +0,0 @@ -Running BlogEngine.NET using SQL Server 2008 and up: - -If you wish to use SQL Server to store all your blog data, this folder has all the -information you'll likely need. The scripts included here are for SQL Server 2008 and up. -They could be modified to be used with earlier or later versions if needed. - -Instructions for new setup: - -1. Open SQL Server Management Studio and connect to your SQL Server. -2. Create a new database if desired. -3. Execute the Setup script against the database you want to add the BlogEngine data to. -4. Rename DbWeb.Config to Web.config and copy it to your blog folder. (This will -overwrite your existing web.config file. If this is not a new installation, make sure -you have a backup). -5. Update the BlogEngine connection string in the web.config. -6. Surf out to your Blog and see the welcome post. -7. Login with the username admin and password admin. Change the password. - -Upgrading from previous version - - - Use Upgrade.sql to upgrade from latest version (3.1) - -Upgrading from earlier versions - -- Use scripts in Archive folder to bring your DB to version 3.1, then run Upgrade.sql \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Setup.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Setup.sql deleted file mode 100644 index 800c9be70..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/SQLServer/Setup.sql and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/SQLServer/Upgrade.sql b/BlogEngine/BlogEngine.NET/setup/SQLServer/Upgrade.sql deleted file mode 100644 index 783d0cbb4..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLServer/Upgrade.sql +++ /dev/null @@ -1,15 +0,0 @@ --- --- Add BlogId to unique constraints --- -ALTER TABLE dbo.be_Rights DROP CONSTRAINT AK_RightName -GO -ALTER TABLE dbo.be_Rights ADD CONSTRAINT AK_RightName UNIQUE (BlogId, RightName) -GO -ALTER TABLE dbo.be_Settings DROP CONSTRAINT AK_SettingName -GO -ALTER TABLE dbo.be_Settings ADD CONSTRAINT AK_SettingName UNIQUE (BlogId, SettingName) -GO -ALTER TABLE dbo.be_PackageFiles DROP CONSTRAINT PK_be_PackageFiles -GO -ALTER TABLE dbo.be_PackageFiles ADD CONSTRAINT PK_be_PackageFiles UNIQUE (PackageId, FilePath) -GO \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.0.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.0.sql deleted file mode 100644 index 062c025db..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.0.sql and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.5.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.5.sql deleted file mode 100644 index f982e6d55..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.5.sql and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.6.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.6.sql deleted file mode 100644 index abeeeabad..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.6.sql and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.7.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.7.sql deleted file mode 100644 index 7bdb149bf..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.7.sql and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.8.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.8.sql deleted file mode 100644 index 9985dc2cf..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_2.8.sql and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_3.0.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_3.0.sql deleted file mode 100644 index e08b1299b..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_3.0.sql and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_3.1.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_3.1.sql deleted file mode 100644 index b71afdd72..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_Setup_3.1.sql and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.0to2.5.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.0to2.5.sql deleted file mode 100644 index bd69f292f..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.0to2.5.sql +++ /dev/null @@ -1,276 +0,0 @@ - - -ALTER TABLE [be_PostCategory] DROP CONSTRAINT [FK_be_PostCategory_be_Categories] -GO -ALTER TABLE [be_PostCategory] DROP CONSTRAINT [FK_be_PostCategory_be_Posts] -GO -ALTER TABLE [be_PostComment] DROP CONSTRAINT [FK_be_PostComment_be_Posts] -GO -ALTER TABLE [be_PostNotify] DROP CONSTRAINT [FK_be_PostNotify_be_Posts] -GO -ALTER TABLE [be_PostTag] DROP CONSTRAINT [FK_be_PostTag_be_Posts] -GO -ALTER TABLE [be_UserRoles] DROP CONSTRAINT [FK_be_UserRoles_be_Roles] -GO -ALTER TABLE [be_UserRoles] DROP CONSTRAINT [FK_be_UserRoles_be_Users] -GO - -CREATE TABLE [be_Blogs] ( - [BlogRowId] int NOT NULL IDENTITY (2,1) -, [BlogId] uniqueidentifier NOT NULL -, [BlogName] nvarchar(255) NOT NULL -, [Hostname] nvarchar(255) NOT NULL -, [IsAnyTextBeforeHostnameAccepted] bit NOT NULL -, [StorageContainerName] nvarchar(255) NOT NULL -, [VirtualPath] nvarchar(255) NOT NULL -, [IsPrimary] bit NOT NULL -, [IsActive] bit NOT NULL -); -GO -ALTER TABLE [be_Blogs] ADD CONSTRAINT [PK_be_Blogs_BlogRowId] PRIMARY KEY ([BlogRowId]); -GO -INSERT INTO [be_Blogs] ([BlogId], [BlogName], [Hostname], [IsAnyTextBeforeHostnameAccepted], [StorageContainerName], [VirtualPath], [IsPrimary], [IsActive]) VALUES (N'27604f05-86ad-47ef-9e05-950bb762570c', N'Primary', N'', 0, N'', N'~/', 1, 1) -GO --- Adding as column with NOT NULL is not allowed, set a default value or allow NULL -ALTER TABLE [be_BlogRollItems] ADD [BlogRollRowId] int NOT NULL IDENTITY (7,1) -GO -ALTER TABLE [be_BlogRollItems] ADD [BlogId] uniqueidentifier NULL -GO -UPDATE [be_BlogRollItems] SET [BlogId] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_BlogRollItems] ALTER COLUMN [BlogId] uniqueidentifier NOT NULL -GO -ALTER TABLE [be_BlogRollItems] DROP CONSTRAINT [PK_be_BlogRollItems_BlogRollId] -GO -ALTER TABLE [be_BlogRollItems] ADD CONSTRAINT [PK_be_BlogRollItems_BlogRollRowId] PRIMARY KEY ([BlogRollRowId]); -GO -CREATE INDEX [idx_be_BlogRollItems_BlogId] ON [be_BlogRollItems] ([BlogId] ASC); -GO -ALTER TABLE [be_Categories] ADD [CategoryRowID] int NOT NULL IDENTITY (2,1) -GO -ALTER TABLE [be_Categories] ADD [BlogID] uniqueidentifier NULL -GO -UPDATE [be_Categories] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_Categories] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL -GO -ALTER TABLE [be_Categories] DROP CONSTRAINT [PK_be_Categories_CategoryID] -GO -ALTER TABLE [be_Categories] ADD CONSTRAINT [PK_be_Categories_CategoryRowID] PRIMARY KEY ([CategoryRowID]); -GO -CREATE UNIQUE INDEX [idx_be_Categories_BlogID_CategoryID] ON [be_Categories] ([BlogID] ASC,[CategoryID] ASC); -GO -ALTER TABLE [be_DataStoreSettings] ADD [DataStoreSettingRowId] int NOT NULL IDENTITY (2,1) -GO -ALTER TABLE [be_DataStoreSettings] ADD [BlogId] uniqueidentifier NULL -GO -UPDATE [be_DataStoreSettings] SET [BlogId] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_DataStoreSettings] ALTER COLUMN [BlogId] uniqueidentifier NOT NULL -GO -ALTER TABLE [be_DataStoreSettings] ADD CONSTRAINT [PK_be_DataStoreSettings_DataStoreSettingRowId] PRIMARY KEY ([DataStoreSettingRowId]); -GO -CREATE INDEX [idx_be_DataStoreSettings_BlogId_ExtensionType_TypeID] ON [be_DataStoreSettings] ([BlogId] ASC,[ExtensionType] ASC,[ExtensionId] ASC); -GO -DROP INDEX [be_DataStoreSettings].[I_TypeID]; -GO -ALTER TABLE [be_Pages] ADD [PageRowID] int NOT NULL IDENTITY (1,1) -GO -ALTER TABLE [be_Pages] ADD [BlogID] uniqueidentifier NULL -GO -UPDATE [be_Pages] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_Pages] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL -GO -ALTER TABLE [be_Pages] DROP CONSTRAINT [PK_be_Pages_PageID] -GO -ALTER TABLE [be_Pages] ADD CONSTRAINT [PK_be_Pages_PageRowID] PRIMARY KEY ([PageRowID]); -GO -CREATE INDEX [idx_Pages_BlogId_PageId] ON [be_Pages] ([BlogID] ASC,[PageID] ASC); -GO -ALTER TABLE [be_PingService] ADD [BlogID] uniqueidentifier NULL -GO -UPDATE [be_PingService] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_PingService] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL -GO -CREATE INDEX [idx_be_PingService_BlogId] ON [be_PingService] ([BlogID] ASC); -GO -ALTER TABLE [be_PostCategory] ADD [BlogID] uniqueidentifier NULL -GO -UPDATE [be_PostCategory] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_PostCategory] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL -GO -CREATE INDEX [idx_be_PostCategory_BlogId_CategoryId] ON [be_PostCategory] ([BlogID] ASC,[CategoryID] ASC); -GO -CREATE INDEX [idx_be_PostCategory_BlogId_PostId] ON [be_PostCategory] ([BlogID] ASC,[PostID] ASC); -GO -DROP INDEX [be_PostCategory].[FK_CategoryID]; -GO -DROP INDEX [be_PostCategory].[FK_PostID]; -GO -ALTER TABLE [be_PostComment] ADD [PostCommentRowID] int NOT NULL IDENTITY (1,1) -GO -ALTER TABLE [be_PostComment] ADD [BlogID] uniqueidentifier NULL -GO -UPDATE [be_PostComment] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_PostComment] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL -GO -ALTER TABLE [be_PostComment] DROP CONSTRAINT [PK_be_PostComment_PostCommentID] -GO -ALTER TABLE [be_PostComment] ADD CONSTRAINT [PK_be_PostComment_PostCommentRowID] PRIMARY KEY ([PostCommentRowID]); -GO -CREATE INDEX [idx_be_PostComment_BlogId_PostId] ON [be_PostComment] ([BlogID] ASC,[PostID] ASC); -GO -DROP INDEX [be_PostComment].[FK_PostID]; -GO -ALTER TABLE [be_PostNotify] ADD [BlogID] uniqueidentifier NULL -GO -UPDATE [be_PostNotify] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_PostNotify] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL -GO -ALTER TABLE [be_Posts] ADD [PostRowID] int NOT NULL IDENTITY (2,1) -GO -ALTER TABLE [be_Posts] ADD [BlogID] uniqueidentifier NULL -GO -UPDATE [be_Posts] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_Posts] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL -GO -ALTER TABLE [be_Posts] DROP CONSTRAINT [PK_be_Posts_PostID] -GO -ALTER TABLE [be_Posts] ADD CONSTRAINT [PK_be_Posts_PostRowID] PRIMARY KEY ([PostRowID]); -GO -CREATE UNIQUE INDEX [be_Posts_BlogID_PostID] ON [be_Posts] ([BlogID] ASC,[PostID] ASC); -GO -ALTER TABLE [be_PostTag] ADD [BlogID] uniqueidentifier NULL -GO -UPDATE [be_PostTag] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_PostTag] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL -GO -CREATE INDEX [idx_be_PostTag_BlogId_PostId] ON [be_PostTag] ([BlogID] ASC,[PostID] ASC); -GO -DROP INDEX [be_PostTag].[FK_PostID]; -GO -ALTER TABLE [be_Profiles] ADD [BlogID] uniqueidentifier NULL -GO -UPDATE [be_Profiles] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_Profiles] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL -GO -CREATE INDEX [idx_be_Profiles_BlogId_UserName] ON [be_Profiles] ([BlogID] ASC,[UserName] ASC); -GO -DROP INDEX [be_Profiles].[I_UserName]; -GO -ALTER TABLE [be_Referrers] ADD [ReferrerRowId] int NOT NULL IDENTITY (1,1) -GO -ALTER TABLE [be_Referrers] ADD [BlogId] uniqueidentifier NULL -GO -UPDATE [be_Referrers] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_Referrers] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL -GO -ALTER TABLE [be_Referrers] DROP CONSTRAINT [PK_be_Referrers_ReferrerId] -GO -ALTER TABLE [be_Referrers] ADD CONSTRAINT [PK_be_Referrers_ReferrerRowId] PRIMARY KEY ([ReferrerRowId]); -GO -CREATE INDEX [idx_be_Referrers_BlogId] ON [be_Referrers] ([BlogId] ASC); -GO -ALTER TABLE [be_RightRoles] ADD [RightRoleRowId] int NOT NULL IDENTITY (1,1) -GO -ALTER TABLE [be_RightRoles] ADD [BlogId] uniqueidentifier NULL -GO -UPDATE [be_RightRoles] SET [BlogId] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_RightRoles] ALTER COLUMN [BlogId] uniqueidentifier NOT NULL -GO -ALTER TABLE [be_RightRoles] DROP CONSTRAINT [PK_be_RightRoles_RightName_Role] -GO -ALTER TABLE [be_RightRoles] ADD CONSTRAINT [PK_be_RightRoles_RightRoleRowId] PRIMARY KEY ([RightRoleRowId]); -GO -CREATE INDEX [idx_be_RightRoles_BlogId] ON [be_RightRoles] ([BlogId] ASC); -GO -ALTER TABLE [be_Rights] ADD [RightRowId] int NOT NULL IDENTITY (1,1) -GO -ALTER TABLE [be_Rights] ADD [BlogId] uniqueidentifier NULL -GO -UPDATE [be_Rights] SET [BlogId] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_Rights] ALTER COLUMN [BlogId] uniqueidentifier NOT NULL -GO -ALTER TABLE [be_Rights] DROP CONSTRAINT [PK_be_Rights_RightName] -GO -ALTER TABLE [be_Rights] ADD CONSTRAINT [PK_be_Rights_RightRowId] PRIMARY KEY ([RightRowId]); -GO -CREATE INDEX [idx_be_Rights_BlogId] ON [be_Rights] ([BlogId] ASC); -GO -ALTER TABLE [be_Roles] ADD [BlogID] uniqueidentifier NULL -GO -UPDATE [be_Roles] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_Roles] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL -GO -CREATE UNIQUE INDEX [idx_be_Roles_BlogID_Role] ON [be_Roles] ([BlogID] ASC,[Role] ASC); -GO -ALTER TABLE [be_Settings] ADD [SettingRowId] int NOT NULL IDENTITY (63,1) -GO -ALTER TABLE [be_Settings] ADD [BlogId] uniqueidentifier NULL -GO -UPDATE [be_Settings] SET [BlogId] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_Settings] ALTER COLUMN [BlogId] uniqueidentifier NOT NULL -GO -ALTER TABLE [be_Settings] DROP CONSTRAINT [PK_be_Settings_SettingName] -GO -ALTER TABLE [be_Settings] ADD CONSTRAINT [PK_be_Settings_SettingRowId] PRIMARY KEY ([SettingRowId]); -GO -CREATE INDEX [idx_be_Settings_BlogId] ON [be_Settings] ([BlogId] ASC); -GO -ALTER TABLE [be_StopWords] ADD [StopWordRowId] int NOT NULL IDENTITY (109,1) -GO -ALTER TABLE [be_StopWords] ADD [BlogId] uniqueidentifier NULL -GO -UPDATE [be_StopWords] SET [BlogId] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_StopWords] ALTER COLUMN [BlogId] uniqueidentifier NOT NULL -GO -ALTER TABLE [be_StopWords] DROP CONSTRAINT [PK_be_StopWords_StopWord] -GO -ALTER TABLE [be_StopWords] ADD CONSTRAINT [PK_be_StopWords_StopWordRowId] PRIMARY KEY ([StopWordRowId]); -GO -CREATE INDEX [idx_be_StopWords_BlogId] ON [be_StopWords] ([BlogId] ASC); -GO -CREATE TABLE [be_UserRoles_temp] ( - [UserRoleID] int NOT NULL IDENTITY (2,1) -, [BlogID] uniqueidentifier NOT NULL -, [UserName] nvarchar(100) NOT NULL -, [Role] nvarchar(100) NOT NULL -); -GO -INSERT INTO [be_UserRoles_temp] ([BlogID],[UserName],[Role]) -SELECT '27604F05-86AD-47EF-9E05-950BB762570C', u.[UserName], r.[Role] -FROM [be_UserRoles] AS ur -INNER JOIN [be_Users] AS u ON u.[UserID] = ur.[UserID] -INNER JOIN [be_Roles] AS r ON r.[RoleID] = ur.[RoleID] -GO -DROP TABLE [be_UserRoles] -GO -SP_RENAME 'be_UserRoles_temp', 'be_UserRoles' -GO -ALTER TABLE [be_UserRoles] ADD CONSTRAINT [PK_be_UserRoles_UserRoleID] PRIMARY KEY ([UserRoleID]); -GO -CREATE INDEX [idx_be_UserRoles_BlogId] ON [be_UserRoles] ([BlogID] ASC); -GO -ALTER TABLE [be_Users] ADD [BlogID] uniqueidentifier NULL -GO -UPDATE [be_Users] SET [BlogID] = '27604F05-86AD-47EF-9E05-950BB762570C' -GO -ALTER TABLE [be_Users] ALTER COLUMN [BlogID] uniqueidentifier NOT NULL -GO -CREATE INDEX [idx_be_Users_BlogId_UserName] ON [be_Users] ([BlogID] ASC,[UserName] ASC); -GO - diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.5to2.6.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.5to2.6.sql deleted file mode 100644 index 3e3c7efb5..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.5to2.6.sql +++ /dev/null @@ -1,196 +0,0 @@ - - --- --- dbo.be_Packages --- -CREATE TABLE [be_Packages]( - [PackageId] [nvarchar](128) NOT NULL, - [Version] [nvarchar](128) NOT NULL -); -GO -ALTER TABLE [be_Packages] ADD CONSTRAINT [PK_be_Packages] PRIMARY KEY ([PackageId]); -GO - - --- --- be_PackageFiles --- -CREATE TABLE [be_PackageFiles]( - [PackageId] [nvarchar](128) NOT NULL, - [FileOrder] [int] NOT NULL, - [FilePath] [nvarchar](255) NOT NULL, - [IsDirectory] [bit] NOT NULL -); -GO -ALTER TABLE [be_PackageFiles] ADD CONSTRAINT [PK_be_PackageFiles] PRIMARY KEY ([PackageId], [FileOrder]); -GO - --- --- be_QuickNotes --- -CREATE TABLE [be_QuickNotes]( - [QuickNoteID] [int] IDENTITY(1,1) NOT NULL, - [NoteID] [uniqueidentifier] NOT NULL, - [BlogID] [uniqueidentifier] NOT NULL, - [UserName] [nvarchar](100) NOT NULL, - [Note] [ntext] NOT NULL, - [Updated] [datetime] NULL -); -GO -ALTER TABLE [be_QuickNotes] ADD CONSTRAINT [PK_be_QuickNotes] PRIMARY KEY ([QuickNoteID]); -GO -CREATE INDEX [idx_be_NoteId_BlogId_UserName] ON [be_QuickNotes] ([NoteID] ASC,[BlogID] ASC,[UserName] ASC); -GO - - --- --- be_QuickSettings --- -CREATE TABLE [be_QuickSettings]( - [QuickSettingID] [int] IDENTITY(1,1) NOT NULL, - [BlogID] [uniqueidentifier] NOT NULL, - [UserName] [nvarchar](100) NOT NULL, - [SettingName] [nvarchar](255) NOT NULL, - [SettingValue] [nvarchar](255) NOT NULL -); -GO -ALTER TABLE [be_QuickSettings] ADD CONSTRAINT [PK_be_QuickSettings] PRIMARY KEY ([QuickSettingID]); -GO - - --- --- be_FileStoreDirectory --- -CREATE TABLE [be_FileStoreDirectory]( - [Id] [uniqueidentifier] NOT NULL, - [ParentID] [uniqueidentifier] NULL, - [BlogID] [uniqueidentifier] NOT NULL, - [Name] [nvarchar](255) NOT NULL, - [FullPath] [nvarchar](1000) NOT NULL, - [CreateDate] [datetime] NOT NULL, - [LastAccess] [datetime] NOT NULL, - [LastModify] [datetime] NOT NULL -); -GO -ALTER TABLE [be_FileStoreDirectory] ADD CONSTRAINT [PK_be_FileStoreDirectory] PRIMARY KEY ([Id]); -GO - - --- --- be_FileStoreFiles --- -CREATE TABLE [be_FileStoreFiles]( - [FileID] [uniqueidentifier] NOT NULL, - [ParentDirectoryID] [uniqueidentifier] NOT NULL, - [Name] [nvarchar](255) NOT NULL, - [FullPath] [nvarchar](255) NOT NULL, - [Contents] [image] NOT NULL, - [Size] [int] NOT NULL, - [CreateDate] [datetime] NOT NULL, - [LastAccess] [datetime] NOT NULL, - [LastModify] [datetime] NOT NULL -); -GO -ALTER TABLE [be_FileStoreFiles] ADD CONSTRAINT [PK_be_FileStoreFiles] PRIMARY KEY ([FileID]); -GO - - --- --- be_FileStoreFileThumbs --- -CREATE TABLE [be_FileStoreFileThumbs]( - [thumbnailId] [uniqueidentifier] NOT NULL, - [FileId] [uniqueidentifier] NOT NULL, - [size] [int] NOT NULL, - [contents] [image] NOT NULL -); -GO -ALTER TABLE [be_FileStoreFileThumbs] ADD CONSTRAINT [PK_be_FileStoreFileThumbs] PRIMARY KEY ([thumbnailId]); -GO - - --- --- be_Blogs --- --- Adding as column with NOT NULL is not allowed, set a default value or allow NULL --- -ALTER TABLE [be_Blogs] ADD [IsSiteAggregation] bit NULL; -GO -UPDATE [be_Blogs] SET [IsSiteAggregation] = 0; -GO -ALTER TABLE [be_Blogs] ALTER COLUMN [IsSiteAggregation] bit NOT NULL; -GO - - -INSERT INTO be_Packages ([PackageId], [Version]) VALUES ('JQ-Mobile', '1.2.3'); -GO - -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 1, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\App_Code\JQ-Mobile', 1); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 2, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\App_Code\JQ-Mobile\ThemeHelper.cs', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 3, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile', 1); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 4, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls', 1); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 5, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\CommentView.ascx', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 6, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\CommentView.ascx.cs', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 7, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\Header.ascx', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 8, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\Header.ascx.cs', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 9, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\MainHeader.ascx', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 10, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\MainHeader.ascx.cs', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 11, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\Pager.ascx', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 12, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\Pager.ascx.cs', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 13, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\PostList.ascx', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 14, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\controls\PostList.ascx.cs', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 15, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Archive.aspx', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 16, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Archive.aspx.cs', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 17, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\CommentView.ascx', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 18, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Contact.aspx', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 19, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Contact.aspx.cs', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 20, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\logo.png', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 21, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\newsletter.html', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 22, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Post.aspx', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 23, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Post.aspx.cs', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 24, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\PostView.ascx', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 25, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\PostView.ascx.cs', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 26, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Readme.txt', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 27, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Search.aspx', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 28, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\Search.aspx.cs', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 29, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\site.master', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 30, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\site.master.cs', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 31, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\style.css', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 32, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\theme.png', 0); -GO -INSERT INTO be_PackageFiles (PackageId, FileOrder, FilePath, IsDirectory) VALUES ('JQ-Mobile', 33, 'D:\Src\Hg\be\BlogEngine\BlogEngine.NET\themes\JQ-Mobile\theme.xml', 0); -GO - - - diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.6to3.0.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.6to3.0.sql deleted file mode 100644 index d3fb496ca..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom2.6to3.0.sql +++ /dev/null @@ -1,21 +0,0 @@ --- --- be_CustomFields --- -CREATE TABLE [be_CustomFields]( - [CustomType] [nvarchar](100) NOT NULL, - [ObjectId] [nvarchar](250) NOT NULL, - [BlogId] [uniqueidentifier] NOT NULL, - [Key] [nvarchar](250) NOT NULL, - [Value] ntext NOT NULL, - [Attribute] [nvarchar](250) NULL -); -GO - -CREATE NONCLUSTERED INDEX [idx_be_CustomType_ObjectId_BlogId_Key] ON [be_CustomFields] -( - [CustomType] ASC, - [ObjectId] ASC, - [BlogId] ASC, - [Key] ASC -); -GO \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom3.0to3.1.sql b/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom3.0to3.1.sql deleted file mode 100644 index 1888cfeba..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQL_CE/Archive/SQL_CE_UpgradeFrom3.0to3.1.sql +++ /dev/null @@ -1,38 +0,0 @@ --- --- be_Pages SortOrder --- -ALTER TABLE [be_Pages] ADD - [SortOrder] [int] NOT NULL CONSTRAINT [DF_be_Pages_SortOrder] DEFAULT 0 -GO -CREATE NONCLUSTERED INDEX [IX_be_Pages] ON [be_Pages] -( - [SortOrder] -); -GO --- --- add new rights to administrators --- -SET IDENTITY_INSERT [be_RightRoles] ON; -GO -INSERT INTO [be_RightRoles] ([RightRoleRowId],[BlogId],[RightName],[Role]) VALUES (66,'27604f05-86ad-47ef-9e05-950bb762570c',N'ViewDashboard',N'Administrators'); -GO -INSERT INTO [be_RightRoles] ([RightRoleRowId],[BlogId],[RightName],[Role]) VALUES (67,'27604f05-86ad-47ef-9e05-950bb762570c',N'ManageExtensions',N'Administrators'); -GO -INSERT INTO [be_RightRoles] ([RightRoleRowId],[BlogId],[RightName],[Role]) VALUES (68,'27604f05-86ad-47ef-9e05-950bb762570c',N'ManageThemes',N'Administrators'); -GO -INSERT INTO [be_RightRoles] ([RightRoleRowId],[BlogId],[RightName],[Role]) VALUES (69,'27604f05-86ad-47ef-9e05-950bb762570c',N'ManagePackages',N'Administrators'); -GO -SET IDENTITY_INSERT [be_RightRoles] OFF; -GO -SET IDENTITY_INSERT [be_Rights] ON; -GO -INSERT INTO [be_Rights] ([RightRowId],[BlogId],[RightName]) VALUES (41,'27604f05-86ad-47ef-9e05-950bb762570c',N'ViewDashboard'); -GO -INSERT INTO [be_Rights] ([RightRowId],[BlogId],[RightName]) VALUES (42,'27604f05-86ad-47ef-9e05-950bb762570c',N'ManageExtensions'); -GO -INSERT INTO [be_Rights] ([RightRowId],[BlogId],[RightName]) VALUES (43,'27604f05-86ad-47ef-9e05-950bb762570c',N'ManageThemes'); -GO -INSERT INTO [be_Rights] ([RightRowId],[BlogId],[RightName]) VALUES (44,'27604f05-86ad-47ef-9e05-950bb762570c',N'ManagePackages'); -GO -SET IDENTITY_INSERT [be_Rights] OFF; -GO diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/BlogEngine.sdf b/BlogEngine/BlogEngine.NET/setup/SQL_CE/BlogEngine.sdf deleted file mode 100644 index 53d0d1ca6..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/SQL_CE/BlogEngine.sdf and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/ReadMe.txt b/BlogEngine/BlogEngine.NET/setup/SQL_CE/ReadMe.txt deleted file mode 100644 index 204dc493b..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQL_CE/ReadMe.txt +++ /dev/null @@ -1,94 +0,0 @@ -Running BlogEngine.NET using SQL CE 4.0 - -If you wish to use SQL CE to store all your blog data, this folder has all the information you'll -likely need. The BlogEngine.sdf is already setup with the DB tables and initial data needed -to get started with BlogEngine.NET. Although not needed, SQL_CE_Setup_2.9.sql is provided -for reference. This was the setup script used to create the BlogEngine.sdf file. - -Instructions for New Setup ------------------------------------------------------------ -1. When running BlogEngine.NET under SQL CE 4.0, you will either need SQL CE 4.0 installed on -your computer, or if deploying to a webhost, you can simply copy the SQL CE 4.0 binary (DLL) -files to your /BIN directory. The DLL files will be located in the installation folder for SQL -CE 4.0. The installation folder is located at: - -%ProgramFiles(x86)%\Microsoft SQL Server Compact Edition\v4.0\Private - -If you do not have SQL CE 4.0 installed on your computer, or you need the DLL files, the latest -CTP version of SQL CE 4.0 can be downloaded at: -http://www.microsoft.com/download/en/details.aspx?id=17876 - -However, please check for the latest version of SQL CE 4.0 before downloading the one at the -above link. - -2. Copy the following files/folders to your /BIN directory. The files are located in the SQL CE -4.0 installation folder: - -%ProgramFiles(x86)%\Microsoft SQL Server Compact Edition\v4.0\Private - - (a) Copy the file "System.Data.SqlServerCe.dll" into your /BIN directory. - (b) There are two sub-folders: AMD64 and X86. Copy both folders to your /BIN directory. - -After copying these files and folders, your /BIN directory will look like this: - -/bin - System.Data.SqlServerCe.dll -/bin/x86 - sqlceca40.dll - sqlcecompact40.dll - sqlceer40EN.dll - sqlceme40.dll - sqlceqp40.dll - sqlcese40.dll -/bin/amd64 - sqlceca40.dll - sqlcecompact40.dll - sqlceer40EN.dll - sqlceme40.dll - sqlceqp40.dll - sqlcese40.dll - -3. Rename the SQL_CE_Web.Config file to web.config and copy it to your blog's root -folder. (This will overwrite your existing web.config file. If this is not a new installation, -make sure you have a backup.) -4. Copy the BlogEngine.sdf file into the App_Data folder. -5. Surf out to your Blog and see the welcome post. -6. Login with the username admin and password admin. Change the password. - -Upgrading from 2.6 ------------------------------------------------------------ - - - Run SQL_CE_UpgradeFrom2.6to3.0.sql against your existing CE database. It will add new table and index. - If you get an error with "GO" keyword not supported, run statements one by one excluding "; GO". - -Upgrading from 2.5 ------------------------------------------------------------ - -There is an upgrade script to update your SDF file so it is compliant with BlogEngine.NET 2.7. -The upgrade script name is SQL_CE_UpgradeFrom2.5to2.6.sql. This script will need to be -run against your BlogEngine.NET 2.5 SDF file. A recommended tool is to use the -SQL Server Compact Toolbox utility found at: - -http://sqlcetoolbox.codeplex.com/ - -An add-in for Visual Studio 2010/2012 can be downloaded, or a standalone version of the toolbox -can be downloaded. This utility will allow you to run a SQL CE script against a SDF -file. You would want to run the script contained in SQL_CE_UpgradeFrom2.5to2.6.sql -against your BlogEngine.NET 2.5 SDF file. Once the script has been run, your BlogEngine.SDF -file will be ready to use in a BlogEngine.NET 2.5 website. - -Additionally, the web.config file has changed from 2.5 to 2.7. It will likely be easiest to start -with the sample web.config file as described above, but if you have other changes in it, -you'll need to merge them. Don't forget to move your connectionString over. - -Troubleshooting ------------------------------------------------------------ -If you use one of the sample web.config files, are running your site on your own machine or a -server that SQL CE 4.0 is already installed on, and you receive the following error message -when starting the site: - -"Failed to find or load the registered .Net Framework Data Provider." - -In this scenario, you may need to remove the section out of the web.config file. - - diff --git a/BlogEngine/BlogEngine.NET/setup/SQL_CE/SQL_CE_Web.Config b/BlogEngine/BlogEngine.NET/setup/SQL_CE/SQL_CE_Web.Config deleted file mode 100644 index 6eafba282..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQL_CE/SQL_CE_Web.Config +++ /dev/null @@ -1,272 +0,0 @@ - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.4.5.0To1.4.0.0.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.4.5.0To1.4.0.0.txt deleted file mode 100644 index 77aa8b61c..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.4.5.0To1.4.0.0.txt +++ /dev/null @@ -1,10 +0,0 @@ -ALTER TABLE [be_Categories] -ADD [ParentID] VARCHAR(36) NULL - -UPDATE be_DataStoreSettings -SET Settings = -' - - <widgets><widget id="b5310024-0259-46dc-ae5e-8514c4d0428c" title="Administration" showTitle="True">Administration</widget><widget id="bc71fece-380e-4937-93cf-14b01d53d03a" title="Search" showTitle="True">Search</widget><widget id="fb84735a-bff6-4670-a249-427720a58c70" title="Tag cloud" showTitle="True">Tag cloud</widget><widget id="2b92a42c-90d4-4752-9eba-932b0c0bd387" title="RecentPosts" showTitle="True">RecentPosts</widget></widgets> -' -WHERE ExtensionID = 'be_WIDGET_ZONE' \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.5To1.6.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.5To1.6.txt deleted file mode 100644 index 7f58e3ce7..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.5To1.6.txt +++ /dev/null @@ -1,27 +0,0 @@ -CREATE TABLE [be_BlogRollItems] ( -[BlogRollId] VARCHAR(36) UNIQUE NOT NULL PRIMARY KEY, -[Title] VARCHAR(255) UNIQUE NULL, -[Description] TEXT NULL, -[BlogUrl] VARCHAR(255) NOT NULL, -[FeedUrl] VARCHAR(255) NULL, -[Xfn] VARCHAR(255) NULL, -[SortIndex] INTEGER NOT NULL -); - -CREATE TABLE [be_Referrers] ( -[ReferrerId] VARCHAR(36) UNIQUE NOT NULL, -[ReferralDay] DATE DEFAULT CURRENT_DATE NOT NULL, -[ReferrerUrl] VARCHAR(255) NOT NULL, -[ReferralCount] INTEGER NOT NULL, -[Url] VARCHAR(255) NULL, -[IsSpam] BOOLEAN NULL -); - -ALTER TABLE be_Pages -ADD Slug VARCHAR(255) NULL; - -ALTER TABLE be_PostComment -ADD ModeratedBy VARCHAR(100) NULL; - -ALTER TABLE be_PostComment -ADD Avatar VARCHAR(255) NULL; \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.6To2.0.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.6To2.0.txt deleted file mode 100644 index 2dc2190c5..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom1.6To2.0.txt +++ /dev/null @@ -1,33 +0,0 @@ -ALTER TABLE be_PostComment -ADD IsSpam BOOLEAN NOT NULL DEFAULT 0; - -ALTER TABLE be_PostComment -ADD IsDeleted BOOLEAN NOT NULL DEFAULT 0; - -ALTER TABLE be_Posts -ADD IsDeleted BOOLEAN NOT NULL DEFAULT 0; - -ALTER TABLE be_Pages -ADD IsDeleted BOOLEAN NOT NULL DEFAULT 0; - -CREATE TABLE [be_Rights] ( -[RightName] VARCHAR(100) UNIQUE NOT NULL -); - -CREATE TABLE [be_RightRoles] ( -[RightName] VARCHAR(100) NOT NULL, -[Role] VARCHAR(100) NOT NULL -); - -UPDATE be_PostComment -SET IsSpam = 0; - -UPDATE be_PostComment -SET IsDeleted = 0; - -UPDATE be_Posts -SET IsDeleted = 0; - -UPDATE be_Pages -SET IsDeleted = 0; - diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.0To2.5.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.0To2.5.txt deleted file mode 100644 index ebe9c01b0..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.0To2.5.txt +++ /dev/null @@ -1,438 +0,0 @@ --- --- Add be_Blogs --- -CREATE TABLE be_Blogs ( -[BlogRowId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogId] VARCHAR(36) NOT NULL, -[BlogName] VARCHAR(255) NOT NULL, -[Hostname] VARCHAR(255) NOT NULL, -[IsAnyTextBeforeHostnameAccepted] BOOLEAN NOT NULL, -[StorageContainerName] VARCHAR(255) NOT NULL, -[VirtualPath] VARCHAR(255) NOT NULL, -[IsPrimary] BOOLEAN NOT NULL DEFAULT 0, -[IsActive] BOOLEAN NOT NULL DEFAULT 1); - -INSERT INTO be_Blogs (BlogId, BlogName, Hostname, IsAnyTextBeforeHostnameAccepted, StorageContainerName, VirtualPath, IsPrimary, IsActive) -VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'Primary', '', 0, '', '~/', 1, 1); - --- --- Update be_Users --- -ALTER TABLE be_Users -ADD BlogID VARCHAR(36) NULL; - -UPDATE be_Users SET BlogID = '27604f05-86ad-47ef-9e05-950bb762570c'; - -CREATE INDEX idx_be_Users_BlogId_UserName -ON be_Users (BlogID, UserName); - --- --- Update be_UserRoles --- -CREATE TABLE be_UserRolesNew ( -[UserRoleID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogID] VARCHAR(36) NOT NULL, -[UserName] VARCHAR(100) NOT NULL, -[Role] VARCHAR(100) NOT NULL); - -INSERT INTO be_UserRolesNew -SELECT ur.UserRoleID, '27604f05-86ad-47ef-9e05-950bb762570c', u.UserName, r.Role -FROM be_UserRoles ur -INNER JOIN be_Users u ON ur.UserID = u.UserID -INNER JOIN be_Roles r ON ur.RoleID = r.RoleID; - -DROP TABLE be_UserRoles; -ALTER TABLE be_UserRolesNew RENAME TO be_UserRoles; - -CREATE INDEX idx_be_UserRoles_BlogId -ON be_UserRoles (BlogID); - --- --- Update be_StopWords --- -CREATE TABLE be_StopWordsNew ( -[StopWordsRowId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogId] VARCHAR(36) NOT NULL, -[StopWord] VARCHAR(50) NOT NULL); - -INSERT INTO be_StopWordsNew (BlogId, StopWord) -SELECT '27604f05-86ad-47ef-9e05-950bb762570c', o.StopWord -FROM be_StopWords o; - -DROP TABLE be_StopWords; -ALTER TABLE be_StopWordsNew RENAME TO be_StopWords; - -CREATE INDEX idx_be_StopWords_BlogId -ON be_StopWords (BlogId); - --- --- Update be_Settings --- -CREATE TABLE be_SettingsNew ( -[SettingsRowId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogId] VARCHAR(36) NOT NULL, -[SettingName] VARCHAR(50), -[SettingValue] TEXT NULL); - -INSERT INTO be_SettingsNew (BlogId, SettingName, SettingValue) -SELECT '27604f05-86ad-47ef-9e05-950bb762570c', s.SettingName, s.SettingValue -FROM be_Settings s; - -DROP TABLE be_Settings; -ALTER TABLE be_SettingsNew RENAME TO be_Settings; - -CREATE INDEX idx_be_Settings_BlogId -ON be_Settings (BlogId); - --- --- Update be_Roles --- -ALTER TABLE be_Roles -ADD BlogID VARCHAR(36) NULL; - -UPDATE be_Roles SET BlogID = '27604f05-86ad-47ef-9e05-950bb762570c'; - -CREATE INDEX idx_be_Roles_BlogId_Role -ON be_Roles (BlogID, Role); - --- --- Update be_Rights --- -CREATE TABLE be_RightsNew ( -[RightRowId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogId] VARCHAR(36) NOT NULL, -[RightName] VARCHAR(100)); - -INSERT INTO be_RightsNew (BlogId, RightName) -SELECT '27604f05-86ad-47ef-9e05-950bb762570c', r.RightName -FROM be_Rights r; - -DROP TABLE be_Rights; -ALTER TABLE be_RightsNew RENAME TO be_Rights; - -CREATE INDEX idx_be_Rights_BlogId -ON be_Rights (BlogId); - --- --- Update be_RightRoles --- -CREATE TABLE be_RightRolesNew ( -[RightRoleRowId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogId] VARCHAR(36) NOT NULL, -[RightName] VARCHAR(100), -[Role] VARCHAR(100)); - -INSERT INTO be_RightRolesNew (BlogId, RightName, Role) -SELECT '27604f05-86ad-47ef-9e05-950bb762570c', r.RightName, r.Role -FROM be_RightRoles r; - -DROP TABLE be_RightRoles; -ALTER TABLE be_RightRolesNew RENAME TO be_RightRoles; - -CREATE INDEX idx_be_RightRoles_BlogId -ON be_RightRoles (BlogId); - --- --- Update be_BlogRollItems --- -CREATE TABLE be_BlogRollItemsNew ( -[BlogRollRowId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogId] VARCHAR(36) NOT NULL, -[BlogRollId] VARCHAR(36) NOT NULL, -[Title] VARCHAR(255) NULL, -[Description] TEXT NULL, -[BlogUrl] VARCHAR(255) NOT NULL, -[FeedUrl] VARCHAR(255) NULL, -[Xfn] VARCHAR(255) NULL, -[SortIndex] INTEGER NOT NULL -); - -INSERT INTO be_BlogRollItemsNew (BlogId, BlogRollId, Title, Description, BlogUrl, FeedUrl, Xfn, SortIndex) -SELECT '27604f05-86ad-47ef-9e05-950bb762570c', b.BlogRollId, b.Title, b.Description, b.BlogUrl, b.FeedUrl, b.Xfn, b.SortIndex -FROM be_BlogRollItems b; - -DROP TABLE be_BlogRollItems; -ALTER TABLE be_BlogRollItemsNew RENAME TO be_BlogRollItems; - -CREATE INDEX idx_be_BlogRollItems_BlogId -ON be_BlogRollItems (BlogId); - --- --- Update be_DataStoreSettings --- -CREATE TABLE be_DataStoreSettingsNew ( -[DataStoreSettingRowId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogId] VARCHAR(36) NOT NULL, -[ExtensionType] VARCHAR(50) NOT NULL, -[ExtensionId] VARCHAR(100) NULL, -[Settings] TEXT NULL -); - -INSERT INTO be_DataStoreSettingsNew (BlogId, ExtensionType, ExtensionId, Settings) -SELECT '27604f05-86ad-47ef-9e05-950bb762570c', b.ExtensionType, b.ExtensionId, b.Settings -FROM be_DataStoreSettings b; - -DROP TABLE be_DataStoreSettings; -ALTER TABLE be_DataStoreSettingsNew RENAME TO be_DataStoreSettings; - -CREATE INDEX idx_be_DataStoreSettings_BlogId -ON be_DataStoreSettings (BlogId); - --- --- Update be_PingService --- -CREATE TABLE be_PingServiceNew ( -[PingServiceID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogID] VARCHAR(36) NOT NULL, -[Link] VARCHAR(255) NOT NULL -); - -INSERT INTO be_PingServiceNew (BlogID, Link) -SELECT '27604f05-86ad-47ef-9e05-950bb762570c', p.Link -FROM be_PingService p; - -DROP TABLE be_PingService; -ALTER TABLE be_PingServiceNew RENAME TO be_PingService; - -CREATE INDEX idx_be_PingService_BlogID -ON be_PingService (BlogID); - --- --- Update be_Referrers --- -CREATE TABLE be_ReferrersNew ( -[ReferrerRowId] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogId] VARCHAR(36) NOT NULL, -[ReferrerId] VARCHAR(36) NOT NULL, -[ReferralDay] DATE DEFAULT CURRENT_DATE NOT NULL, -[ReferrerUrl] VARCHAR(255) NOT NULL, -[ReferralCount] INTEGER NOT NULL, -[Url] VARCHAR(255) NULL, -[IsSpam] BOOLEAN NULL -); - -INSERT INTO be_ReferrersNew (BlogId, ReferrerId, ReferralDay, ReferrerUrl, ReferralCount, Url, IsSpam) -SELECT '27604f05-86ad-47ef-9e05-950bb762570c', r.ReferrerId, r.ReferralDay, r.ReferrerUrl, r.ReferralCount, r.Url, r.IsSpam -FROM be_Referrers r; - -DROP TABLE be_Referrers; -ALTER TABLE be_ReferrersNew RENAME TO be_Referrers; - -CREATE INDEX idx_be_Referrers_BlogId -ON be_Referrers (BlogId); - --- --- Update be_Profiles --- -CREATE TABLE be_ProfilesNew ( -[ProfileID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogID] VARCHAR(36) NOT NULL, -[UserName] VARCHAR(100) NOT NULL, -[SettingName] VARCHAR(200) NOT NULL, -[SettingValue] TEXT NOT NULL -); - -INSERT INTO be_ProfilesNew (BlogID, UserName, SettingName, SettingValue) -SELECT '27604f05-86ad-47ef-9e05-950bb762570c', p.UserName, p.SettingName, p.SettingValue -FROM be_Profiles p; - -DROP TABLE be_Profiles; -ALTER TABLE be_ProfilesNew RENAME TO be_Profiles; - -CREATE INDEX idx_be_Profiles_BlogID -ON be_Profiles (BlogID); - --- --- Update be_Pages --- -CREATE TABLE be_PagesNew ( -[PageRowID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogID] VARCHAR(36) NOT NULL, -[PageID] VARCHAR(36) NOT NULL, -[Title] VARCHAR(255) NOT NULL, -[Description] TEXT NOT NULL, -[PageContent] TEXT NOT NULL, -[Keywords] TEXT NOT NULL, -[DateCreated] DATETIME NOT NULL, -[DateModified] DATETIME NOT NULL, -[IsPublished] BOOLEAN NOT NULL, -[IsFrontPage] BOOLEAN NOT NULL, -[Parent] VARCHAR(36) NOT NULL, -[ShowInList] BOOLEAN NOT NULL, -[Slug] VARCHAR(255) NOT NULL, -[IsDeleted] BOOLEAN NOT NULL -); - -INSERT INTO be_PagesNew - (BlogID, PageID, Title, Description, PageContent, Keywords, - DateCreated, DateModified, IsPublished, IsFrontPage, Parent, - ShowInList, Slug, IsDeleted) -SELECT - '27604f05-86ad-47ef-9e05-950bb762570c', p.PageID, p.Title, p.Description, p.PageContent, p.Keywords, - p.DateCreated, p.DateModified, p.IsPublished, p.IsFrontPage, p.Parent, - p.ShowInList, coalesce(p.Slug, ''), p.IsDeleted -FROM be_Pages p; - -DROP TABLE be_Pages; -ALTER TABLE be_PagesNew RENAME TO be_Pages; - -CREATE INDEX idx_be_Pages_BlogID -ON be_Pages (BlogID); - --- --- Update be_Categories --- -CREATE TABLE be_CategoriesNew ( -[CategoryRowID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogID] VARCHAR(36) NOT NULL, -[CategoryID] VARCHAR(36) NOT NULL, -[CategoryName] VARCHAR(50) NOT NULL, -[Description] VARCHAR(200) NOT NULL, -[ParentID] VARCHAR(36) NULL -); - -INSERT INTO be_CategoriesNew (BlogID, CategoryID, CategoryName, Description, ParentID) -SELECT '27604f05-86ad-47ef-9e05-950bb762570c', c.CategoryID, c.CategoryName, coalesce(c.Description, ''), c.ParentID -FROM be_Categories c; - -DROP TABLE be_Categories; -ALTER TABLE be_CategoriesNew RENAME TO be_Categories; - -CREATE INDEX idx_be_Categories_BlogID -ON be_Categories (BlogID); - --- --- Update be_PostCategory --- -CREATE TABLE be_PostCategoryNew ( -[PostCategoryID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogID] VARCHAR(36) NOT NULL, -[PostID] VARCHAR(36) NOT NULL, -[CategoryID] VARCHAR(36) NOT NULL -); - -INSERT INTO be_PostCategoryNew (BlogID, PostID, CategoryID) -SELECT '27604f05-86ad-47ef-9e05-950bb762570c', p.PostID, p.CategoryID -FROM be_PostCategory p; - -DROP TABLE be_PostCategory; -ALTER TABLE be_PostCategoryNew RENAME TO be_PostCategory; - -CREATE INDEX idx_be_PostCategory_BlogID_PostID -ON be_PostCategory (BlogID, PostID); - --- --- Update be_PostNotify --- -CREATE TABLE be_PostNotifyNew ( -[PostNotifyID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogID] VARCHAR(36) NOT NULL, -[PostID] VARCHAR(36) NOT NULL, -[NotifyAddress] VARCHAR(255) NOT NULL -); - -INSERT INTO be_PostNotifyNew (BlogID, PostID, NotifyAddress) -SELECT '27604f05-86ad-47ef-9e05-950bb762570c', p.PostID, p.NotifyAddress -FROM be_PostNotify p; - -DROP TABLE be_PostNotify; -ALTER TABLE be_PostNotifyNew RENAME TO be_PostNotify; - -CREATE INDEX idx_be_PostNotify_BlogID_PostID -ON be_PostNotify (BlogID, PostID); - --- --- Update be_PostTag --- -CREATE TABLE be_PostTagNew ( -[PostTagID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogID] VARCHAR(36) NOT NULL, -[PostID] VARCHAR(36) NOT NULL, -[Tag] VARCHAR(50) NOT NULL -); - -INSERT INTO be_PostTagNew (BlogID, PostID, Tag) -SELECT '27604f05-86ad-47ef-9e05-950bb762570c', p.PostID, p.Tag -FROM be_PostTag p; - -DROP TABLE be_PostTag; -ALTER TABLE be_PostTagNew RENAME TO be_PostTag; - -CREATE INDEX idx_be_PostTag_BlogID_PostID -ON be_PostTag (BlogID, PostID); - --- --- Update be_PostComment --- -CREATE TABLE be_PostCommentNew ( -[PostCommentRowID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogID] VARCHAR(36) NOT NULL, -[PostCommentID] VARCHAR(36) NOT NULL, -[PostID] VARCHAR(36) NOT NULL, -[ParentCommentID] VARCHAR(36) NOT NULL, -[CommentDate] DATETIME NOT NULL, -[Author] VARCHAR(255) NOT NULL, -[Email] VARCHAR(255) NOT NULL, -[Website] VARCHAR(255) NOT NULL, -[Comment] TEXT NOT NULL, -[Country] VARCHAR(255) NOT NULL, -[Ip] VARCHAR(50) NOT NULL, -[IsApproved] BOOLEAN NOT NULL, -[ModeratedBy] VARCHAR(100) NOT NULL, -[Avatar] VARCHAR(255) NOT NULL, -[IsSpam] BOOLEAN NOT NULL, -[IsDeleted] BOOLEAN NOT NULL -); - -INSERT INTO be_PostCommentNew - (BlogID, PostCommentID, PostID, ParentCommentID, CommentDate, Author, - Email, Website, Comment, Country, Ip, IsApproved, ModeratedBy, Avatar, - IsSpam, IsDeleted) -SELECT '27604f05-86ad-47ef-9e05-950bb762570c', p.PostCommentID, p.PostID, p.ParentCommentID, p.CommentDate, p.Author, - p.Email, p.Website, p.Comment, p.Country, p.Ip, p.IsApproved, coalesce(p.ModeratedBy,''),coalesce(p.Avatar, ''), p.IsSpam, p.IsDeleted -FROM be_PostComment p; - -DROP TABLE be_PostComment; -ALTER TABLE be_PostCommentNew RENAME TO be_PostComment; - -CREATE INDEX idx_be_PostComment_BlogID_PostID -ON be_PostComment (BlogID, PostID); - --- --- Update be_Posts --- -CREATE TABLE be_PostsNew ( -[PostRowID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogID] VARCHAR(36) NOT NULL, -[PostID] VARCHAR(36) NOT NULL, -[Title] VARCHAR(255) NOT NULL, -[Description] TEXT NOT NULL, -[PostContent] TEXT NOT NULL, -[DateCreated] DATETIME NOT NULL, -[DateModified] DATETIME NOT NULL, -[Author] VARCHAR(50) NOT NULL, -[IsPublished] BOOLEAN NOT NULL, -[IsCommentEnabled] BOOLEAN NOT NULL, -[Raters] INTEGER NOT NULL, -[Rating] REAL NOT NULL, -[Slug] VARCHAR(255) NOT NULL, -[IsDeleted] BOOLEAN NOT NULL -); - -INSERT INTO be_PostsNew - (BlogID, PostID, Title, Description, PostContent, DateCreated, - DateModified, Author, IsPublished, IsCommentEnabled, Raters, - Rating, Slug, IsDeleted) -SELECT '27604f05-86ad-47ef-9e05-950bb762570c', p.PostID, p.Title, p.Description, p.PostContent, p.DateCreated, - p.DateModified, p.Author, p.IsPublished, p.IsCommentEnabled, p.Raters, - p.Rating, p.Slug, p.IsDeleted -FROM be_Posts p; - -DROP TABLE be_Posts; -ALTER TABLE be_PostsNew RENAME TO be_Posts; - -CREATE INDEX idx_be_Posts_BlogID_PostID -ON be_Posts (BlogID, PostID); - - - diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.5To2.6.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.5To2.6.txt deleted file mode 100644 index 12a70842d..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.5To2.6.txt +++ /dev/null @@ -1,92 +0,0 @@ - --- --- dbo.be_Packages --- -CREATE TABLE be_Packages ( -[PackageId] VARCHAR(128) NOT NULL PRIMARY KEY, -[Version] VARCHAR(128) NOT NULL); - --- --- be_PackageFiles --- -CREATE TABLE be_PackageFiles ( -[PackageId] VARCHAR(128) NOT NULL, -[FileOrder] INTEGER NOT NULL, -[FilePath] VARCHAR(255) NOT NULL, -[IsDirectory] BOOLEAN NOT NULL, -PRIMARY KEY ([PackageId], [FileOrder])); - --- --- be_QuickNotes --- -CREATE TABLE be_QuickNotes ( -[QuickNoteID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[NoteID] VARCHAR(36) NOT NULL, -[BlogID] VARCHAR(36) NOT NULL, -[UserName] VARCHAR(100) NOT NULL, -[Note] TEXT NOT NULL, -[Updated] DATETIME NULL); - -CREATE INDEX idx_be_NoteId_BlogId_UserName -ON be_QuickNotes (NoteID, BlogID, UserName); - --- --- be_QuickSettings --- -CREATE TABLE be_QuickSettings ( -[QuickSettingID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, -[BlogID] VARCHAR(36) NOT NULL, -[UserName] VARCHAR(100) NOT NULL, -[SettingName] VARCHAR(255) NOT NULL, -[SettingValue] VARCHAR(255) NULL); - --- --- be_FileStoreDirectory --- -CREATE TABLE be_FileStoreDirectory ( -[Id] VARCHAR(36) NOT NULL PRIMARY KEY, -[ParentID] VARCHAR(36) NOT NULL, -[BlogID] VARCHAR(36) NOT NULL, -[Name] VARCHAR(255) NOT NULL, -[FullPath] VARCHAR(1000) NOT NULL, -[CreateDate] DATETIME NOT NULL, -[LastAccess] DATETIME NOT NULL, -[LastModify] DATETIME NOT NULL); - --- --- be_FileStoreFiles (No Casade delete) --- -CREATE TABLE be_FileStoreFiles ( -[FileID] VARCHAR(36) NOT NULL PRIMARY KEY, -[ParentDirectoryID] VARCHAR(36) NOT NULL, -[Name] VARCHAR(255) NOT NULL, -[FullPath] VARCHAR(1000) NOT NULL, -[Contents] BLOB NOT NULL, -[Size] INTEGER NOT NULL, -[CreateDate] DATETIME NOT NULL, -[LastAccess] DATETIME NOT NULL, -[LastModify] DATETIME NOT NULL); - --- --- be_FileStoreFileThumbs (No Casade delete) --- -CREATE TABLE be_FileStoreFileThumbs ( -[thumbnailId] VARCHAR(36) NOT NULL PRIMARY KEY, -[FileId] VARCHAR(36) NOT NULL, -[Contents] BLOB NOT NULL, -[Size] INTEGER NOT NULL); - --- --- be_Blogs --- -ALTER TABLE be_Blogs -ADD IsSiteAggregation BOOLEAN NOT NULL DEFAULT 0; - - - - - - - - - diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.6To3.0.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.6To3.0.txt deleted file mode 100644 index 32a3366e1..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom2.6To3.0.txt +++ /dev/null @@ -1,21 +0,0 @@ - --- --- dbo.be_CustomFields --- -CREATE TABLE be_CustomFields( - [CustomType] [varchar](100) NOT NULL, - [ObjectId] [varchar](250) NOT NULL, - [BlogId] VARCHAR(36) NOT NULL, - [Key] [varchar](250) NOT NULL, - [Value] TEXT NOT NULL, - [Attribute] [varchar](250) NULL -); - - - - - - - - - diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom3.0To3.1.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom3.0To3.1.txt deleted file mode 100644 index 3e267b031..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeFrom3.0To3.1.txt +++ /dev/null @@ -1,43 +0,0 @@ --- --- be_Pages SortOrder --- -ALTER TABLE be_Pages -ADD SortOrder INTEGER NOT NULL DEFAULT 0; - --- --- add new rights to administrators --- -INSERT INTO be_RightRoles (BlogId, RightName, Role) -VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ViewDashboard', 'Administrators'); - -INSERT INTO be_RightRoles (BlogId, RightName, Role) -VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManageExtensions', 'Administrators'); - -INSERT INTO be_RightRoles (BlogId, RightName, Role) -VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManageThemes', 'Administrators'); - -INSERT INTO be_RightRoles (BlogId, RightName, Role) -VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManagePackages', 'Administrators'); - - -INSERT INTO be_Rights (BlogId, RightName) -VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ViewDashboard'); - -INSERT INTO be_Rights (BlogId, RightName) -VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManageExtensions'); - -INSERT INTO be_Rights (BlogId, RightName) -VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManageThemes'); - -INSERT INTO be_Rights (BlogId, RightName) -VALUES ('27604f05-86ad-47ef-9e05-950bb762570c', 'ManagePackages'); - - - - - - - - - - diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeTo1.5.0From1.4.5.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeTo1.5.0From1.4.5.txt deleted file mode 100644 index f3ff964a1..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLite/Archive/SQLiteUpgradeTo1.5.0From1.4.5.txt +++ /dev/null @@ -1,5 +0,0 @@ -ALTER TABLE be_PostComment -ADD [ParentCommentID] VARCHAR(36) NULL DEFAULT '00000000-0000-0000-0000-000000000000'; - -UPDATE be_PostComment -SET ParentCommentID = '00000000-0000-0000-0000-000000000000' \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/BlogEngine.s3db b/BlogEngine/BlogEngine.NET/setup/SQLite/BlogEngine.s3db deleted file mode 100644 index 6ba933507..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/SQLite/BlogEngine.s3db and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/ReadMe.txt b/BlogEngine/BlogEngine.NET/setup/SQLite/ReadMe.txt deleted file mode 100644 index 514e34898..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLite/ReadMe.txt +++ /dev/null @@ -1,94 +0,0 @@ -Running BlogEngine.NET using SQLite: - -If you wish to use SQLite to store all your blog data, this is the guide for you. -Included in this folder is a default SQLite database, that you can use to get you -started with your blog. In addition, you will find a sample web.config file with -the needed changes to use SQLite and an upgrade scripts for current SQLite users -who wish to upgrade from previous version. - -Instructions for new setup: - -1. Copy System.Data.SQLite.DLL from the /setup/SQLite to your blog's bin folder. -2. Copy BlogEngine.s3db from the SQLite folder to your App_Data folder. -3. Rename SQLiteWeb.Config to Web.config and copy it to your blog folder. (This will -overwrite your existing web.config file. If this is not a new installation, make sure -you have a backup). -4. Surf out to your Blog and see the welcome post. -5. Login with the username Admin and password admin. Change the password. Note: This -data is case sensitive. - -Upgrading from 2.6 - -1. If you don't already have SQLite Admin tool installed, you'll need to get one. SQLite -Admin has worked great for me. (http://sqliteadmin.orbmu2k.de/) -2. Open your BlogEngine.s3db database. (You will likely need to copy your BlogEngine.s3db -file from your web server, perform the update, and copy it back out after these changes -depending on your setup.) -3. Execute the upgrade script for 2.6 to 3.0 against the database. - -Upgrading from 2.5 - -1. If you don't already have SQLite Admin tool installed, you'll need to get one. SQLite -Admin has worked great for me. (http://sqliteadmin.orbmu2k.de/) -2. Open your BlogEngine.s3db database. (You will likely need to copy your BlogEngine.s3db -file from your web server, perform the update, and copy it back out after these changes -depending on your setup.) -3. Execute the upgrade script for 2.5 to 2.6 against the database. -4. The web.config file has changed in 2.7. It will likely be easiest to start -with the sample web.config file as described above, but if you have other changes in it, -you'll need to merge them. - -Upgrading from 2.0 - -1. If you don't already have SQLite Admin tool installed, you'll need to get one. SQLite -Admin has worked great for me. (http://sqliteadmin.orbmu2k.de/) -2. Open your BlogEngine.s3db database. (You will likely need to copy your BlogEngine.s3db -file from your web server, perform the update, and copy it back out after these changes -depending on your setup.) -3. Execute the upgrade script for 2.0 to 2.5 against the database. -4. The web.config file has changed in 2.5. It will likely be easiest to start -with the sample web.config file as described above, but if you have other changes in it, -you'll need to merge them. - -Upgrading from 1.6 - -1. If you don't already have SQLite Admin tool installed, you'll need to get one. SQLite -Admin has worked great for me. (http://sqliteadmin.orbmu2k.de/) -2. Open your BlogEngine.s3db database. (You will likely need to copy your BlogEngine.s3db -file from your web server, perform the update, and copy it back out after these changes -depending on your setup.) -3. Execute the upgrade script for 1.6 to 2.0 against the database. -4. The web.config file has changed in 2.0. It will likely be easiest to start -with the sample web.config file as described above, but if you have other changes in it, -you'll need to merge them. - -Upgrading from 1.5 - -1. If you don't already have SQLite Admin tool installed, you'll need to get one. SQLite -Admin has worked great for me. (http://sqliteadmin.orbmu2k.de/) -2. Open your BlogEngine.s3db database. (You will likely need to copy your BlogEngine.s3db -file from your web server, perform the update, and copy it back out after these changes -depending on your setup.) -3. Execute the upgrade script for 1.5 to 1.6 against the database. -4. You will need to manually edit the be_PostComments table. Change the field -"ParentCommentID" to have the field constraint of NOT NULL. -5. The web.config file has changed in 1.6.0. It will likely be easiest to start -with the sample web.config file as described above, but if you have other changes in it, -you'll need to merge them. - -Upgrading from 1.4.5 - -1. If you don't already have SQLite Admin tool installed, you'll need to get one. SQLite -Admin has worked great for me. (http://sqliteadmin.orbmu2k.de/) -2. Open your BlogEngine.s3db database. (You will likely need to copy your BlogEngine.s3db -file from your web server, perform the update, and copy it back out after these changes -depending on your setup.) -3. Execute the upgrade script for 1.4.5 to 1.5 against the database. -4. Execute the upgrade script for 1.5 to 1.6 against the database. -5. You will need to manually edit the be_PostComments table. Change the field -"ParentCommentID" to have the field constraint of NOT NULL. -6. The web.config file has changed in 1.6.0. It will likely be easiest to start -with the sample web.config file as described above, but if you have other changes in it, -you'll need to merge them. - -Additional information can be found at http://dotnetblogengine.net \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/SQLiteWeb.Config b/BlogEngine/BlogEngine.NET/setup/SQLite/SQLiteWeb.Config deleted file mode 100644 index a920230ff..000000000 --- a/BlogEngine/BlogEngine.NET/setup/SQLite/SQLiteWeb.Config +++ /dev/null @@ -1,278 +0,0 @@ - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/SQLite/System.Data.SQLite.dll b/BlogEngine/BlogEngine.NET/setup/SQLite/System.Data.SQLite.dll deleted file mode 100644 index b6e2d0742..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/SQLite/System.Data.SQLite.dll and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.flv b/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.flv deleted file mode 100644 index 799d137e6..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.flv and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.png b/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.png deleted file mode 100644 index bdd4bdf56..000000000 Binary files a/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.png and /dev/null differ diff --git a/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.txt b/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.txt deleted file mode 100644 index 4aa5f8f48..000000000 --- a/BlogEngine/BlogEngine.NET/setup/TestFiles/sample.txt +++ /dev/null @@ -1 +0,0 @@ -This is a sample text file. \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/Web.config b/BlogEngine/BlogEngine.NET/setup/Web.config deleted file mode 100644 index 2e1c58729..000000000 --- a/BlogEngine/BlogEngine.NET/setup/Web.config +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/BlogEngine/BlogEngine.NET/setup/upgrade/Updater.asmx b/BlogEngine/BlogEngine.NET/setup/upgrade/Updater.asmx deleted file mode 100644 index 348b34e04..000000000 --- a/BlogEngine/BlogEngine.NET/setup/upgrade/Updater.asmx +++ /dev/null @@ -1,763 +0,0 @@ -<%@ WebService Language="C#" Class="Updater" %> -using System; -using System.Collections.Generic; -using System.Web.Script.Services; -using System.Web.Services; -using System.Web.Hosting; -using System.Web; -using System.IO; -using ICSharpCode.SharpZipLib.Core; -using ICSharpCode.SharpZipLib.Zip; -using System.Collections.Specialized; -using System.Net; -using BlogEngine.Core; - -[WebService(Namespace = "http://tempuri.org/")] -[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] -[ScriptService] -public class Updater : WebService { - - private StringCollection _ignoreDirs; - private List _installed; - private string _root; - private string _newZip; - private string _oldZip; - private static string _upgradeReleases = BlogConfig.GalleryFeedUrl.Replace("nuget", "/Releases/"); - //private static string _upgradeReleases = "http://dnbe.net/v01/Releases/"; - private string _downloadUrl = _upgradeReleases + "{0}.zip"; - private string _versionsTxt = _upgradeReleases + "versions.txt"; - private bool _test = false; // when set to "true" will run in test mode without actually updating site - private int _tries; - - public Updater() - { - _root = HostingEnvironment.MapPath("~/"); - if (_root.EndsWith("\\")) _root = _root.Substring(0, _root.Length - 1); - - _newZip = _root + "\\setup\\upgrade\\backup\\new.zip"; - _oldZip = _root + "\\setup\\upgrade\\backup\\old.zip"; - - _ignoreDirs = new StringCollection(); - _ignoreDirs.Add(_root + "\\Custom"); - _ignoreDirs.Add(_root + "\\setup\\upgrade"); - - _installed = new List(); - } - - [WebMethod] - public string Check(string version) - { - try - { - WebClient client = new WebClient(); - Stream stream = client.OpenRead(_versionsTxt); - StreamReader reader = new StreamReader(stream); - string line = ""; - - while (reader.Peek() >= 0) - { - line = reader.ReadLine(); - if (!string.IsNullOrEmpty(version) && line.Contains("|")) - { - var iCurrent = int.Parse(version.Replace(".", "")); - var iFrom = int.Parse(line.Substring(0, line.IndexOf("|")).Replace(".", "")); - var iTo = int.Parse(line.Substring(line.LastIndexOf("|") + 1).Replace(".", "")); - - if (iCurrent >= iFrom && iCurrent < iTo) - { - return line.Substring(line.LastIndexOf("|") + 1); - } - } - } - return ""; - } - catch (Exception) - { - return ""; - } - } - - [WebMethod] - public string Download(string version) - { - if (_test) - { - System.Threading.Thread.Sleep(2000); - return ""; - } - try - { - if (!Directory.Exists(_root + "\\setup\\upgrade\\backup")) - Directory.CreateDirectory(_root + "\\setup\\upgrade\\backup"); - - if (File.Exists(_newZip)) - File.Delete(_newZip); - - var startTime = DateTime.UtcNow; - var request = WebRequest.Create(string.Format(_downloadUrl, version.Replace(".", ""))); - var response = request.GetResponse(); - using (Stream responseStream = response.GetResponseStream()) - { - using (Stream fileStream = File.OpenWrite(_newZip)) - { - byte[] buffer = new byte[4096]; - int bytesRead = responseStream.Read(buffer, 0, 4096); - while (bytesRead > 0) - { - fileStream.Write(buffer, 0, bytesRead); - DateTime nowTime = DateTime.UtcNow; - if ((nowTime - startTime).TotalMinutes > 5) - { - throw new ApplicationException( - "Download timed out"); - } - bytesRead = responseStream.Read(buffer, 0, 4096); - } - } - } - Utils.Log(string.Format("Upgrade: downloaded version {0} by {1}", version, Security.CurrentUser.Identity.Name)); - return ""; - } - catch (Exception ex) - { - return ex.Message; - } - } - - [WebMethod] - public string Extract() - { - if (_test) - { - System.Threading.Thread.Sleep(2000); - return ""; - } - - ZipFile zf = null; - string outFolder = _root + "\\setup\\upgrade\\backup\\be"; - try - { - if (!Directory.Exists(outFolder)) - Directory.CreateDirectory(outFolder); - - FileStream fs = File.OpenRead(_newZip); - zf = new ZipFile(fs); - - foreach (ZipEntry zipEntry in zf) - { - if (!zipEntry.IsFile) - { - continue; - } - String entryFileName = zipEntry.Name; - - byte[] buffer = new byte[4096]; - Stream zipStream = zf.GetInputStream(zipEntry); - - String fullZipToPath = Path.Combine(outFolder, entryFileName); - string directoryName = Path.GetDirectoryName(fullZipToPath); - if (directoryName.Length > 0) - Directory.CreateDirectory(directoryName); - - using (FileStream streamWriter = File.Create(fullZipToPath)) - { - StreamUtils.Copy(zipStream, streamWriter, buffer); - } - } - return ""; - } - catch(Exception ex) - { - return ex.Message; - } - finally - { - if (zf != null) - { - zf.IsStreamOwner = true; - zf.Close(); - } - } - } - - [WebMethod] - public string Backup() - { - if (_test) - { - System.Threading.Thread.Sleep(2000); - return ""; - } - - try - { - var backupDir = HostingEnvironment.MapPath("~/setup/upgrade/backup"); - var blogDir = HostingEnvironment.MapPath("~/"); - - if (!Directory.Exists(backupDir)) - Directory.CreateDirectory(backupDir); - - if (File.Exists(_oldZip)) - File.Delete(_oldZip); - - var fsOut = File.Create(_oldZip); - var zipStream = new ZipOutputStream(fsOut); - - zipStream.SetLevel(3); - int folderOffset = blogDir.Length + (blogDir.EndsWith("\\") ? 0 : 1); - - CompressFolder(blogDir, zipStream, folderOffset); - - zipStream.IsStreamOwner = true; - zipStream.Close(); - - return ""; - } - catch (Exception ex) - { - return ex.Message; - } - } - - [WebMethod] - public string Delete() - { - if (_test) - { - System.Threading.Thread.Sleep(2000); - return ""; - } - try - { - DeleteDir("\\api"); - DeleteDir("\\editors"); - DeleteDir("\\Modules"); - DeleteDir("\\pics"); - - // in version 3.3.0.0 widgets framework updated - // and no longer compatible. delete for lesser versions - int version = int.Parse(BlogSettings.Instance.Version().Replace(".", "")); - if (version < 3300) - { - DeleteDir("\\App_Data\\datastore\\widgets"); - } - - ReplaceDir("\\Account"); - ReplaceDir("\\admin"); - ReplaceDir("\\fonts"); - - ReplaceDir("\\setup\\Mono"); - ReplaceDir("\\setup\\MySQL"); - ReplaceDir("\\setup\\SQL_CE"); - ReplaceDir("\\setup\\SQLite"); - ReplaceDir("\\setup\\SQLServer"); - - ReplaceDir("\\App_GlobalResources"); - ReplaceDir("\\Scripts"); - ReplaceDir("\\Content"); - ReplaceDir("\\Custom\\Themes\\Standard"); - ReplaceDir("\\Custom\\Widgets"); - - return ""; - } - catch (Exception ex) - { - return ex.Message; - } - } - - [WebMethod] - public string Install() - { - if (_test) - { - CopyWebConfig(); - - System.Threading.Thread.Sleep(2000); - return ""; - } - try - { - ReplaceFile("archive.aspx"); - ReplaceFile("contact.aspx"); - ReplaceFile("default.aspx"); - ReplaceFile("error.aspx"); - ReplaceFile("error404.aspx"); - ReplaceFile("page.aspx"); - ReplaceFile("post.aspx"); - ReplaceFile("search.aspx"); - ReplaceFile("web.sitemap"); - ReplaceFile("wlwmanifest.xml"); - - ReplaceFilesInDir("bin"); - - ReplaceLabelsFile(); - - CopyWebConfig(); - - ReplaceFile("Global.asax"); - - FixSH(); - - // add few new custom controls - string from = "{0}\\setup\\upgrade\\backup\\be\\Custom\\Controls\\{1}"; - string to = "{0}\\Custom\\Controls\\{1}"; - CopyFile(string.Format(from, _root, "CommentList.ascx"), string.Format(to, _root, "CommentList.ascx")); - CopyFile(string.Format(from, _root, "PostList.ascx"), string.Format(to, _root, "PostList.ascx")); - CopyFile(string.Format(from, _root, "Defaults\\CommentView.ascx"), string.Format(to, _root, "Defaults\\CommentView.ascx")); - CopyFile(string.Format(from, _root, "Defaults\\PostView.ascx"), string.Format(to, _root, "Defaults\\PostView.ascx")); - - Directory.Delete(_root + "\\setup\\upgrade\\backup", true); - Utils.Log(string.Format("Upgrade completed by {0}", Security.CurrentUser.Identity.Name)); - - return ""; - } - catch (Exception ex) - { - return ex.Message; - } - } - - public void CopyWebConfig() - { - string webConfig = _root + "\\web.config"; - StreamReader reader = new StreamReader(webConfig); - string content = reader.ReadToEnd(); - reader.Close(); - - if (content.Contains("defaultProvider=\"DbBlogProvider")) - { - ReplaceDbConfig(content); - } - else - { - ReplaceXMLConfig(content); - } - } - - void ReplaceLabelsFile() - { - string sourceFile = _root + "\\setup\\upgrade\\backup\\be\\App_Data\\labels.txt"; - string targetFile = _root + "\\App_Data\\labels.txt"; - - if (File.Exists(sourceFile) && File.Exists(targetFile)) - { - File.Delete(targetFile); - File.Copy(sourceFile, targetFile); - } - } - - void ReplaceXMLConfig(string content) - { - string targetFile = _root + "\\Web.config"; - DeleteFile(targetFile); - - content = UpdateWebConfig(content); - - var writer = new StreamWriter(targetFile); - writer.Write(content); - writer.Close(); - } - - void ReplaceDbConfig(string content) - { - string oldCon = System.Web.Configuration.WebConfigurationManager.ConnectionStrings["BlogEngine"].ConnectionString; - string conPrv = System.Web.Configuration.WebConfigurationManager.ConnectionStrings["BlogEngine"].ProviderName; - string sourceFile = _root + "\\setup\\upgrade\\backup\\be\\web.config"; - string defCon = ""; - - if (conPrv.StartsWith("System.Data.SqlServerCe")) - { - sourceFile = _root + "\\setup\\upgrade\\backup\\be\\setup\\SQL_CE\\SQL_CE_Web.Config"; - defCon = @"Data Source=|DataDirectory|BlogEngine.sdf;"; - } - else if (conPrv.StartsWith("MySql.Data.MySqlClient")) - { - sourceFile = _root + "\\setup\\upgrade\\backup\\be\\setup\\MySQL\\MySQLWeb.Config"; - defCon = @"Server=localhost;Database=blogengine;Uid=beUser;Pwd=password;"; - } - else if (conPrv.StartsWith("System.Data.SQLite")) - { - sourceFile = _root + "\\setup\\upgrade\\backup\\be\\setup\\SQLite\\SQLiteWeb.Config"; - defCon = @"Data Source=|DataDirectory|\BlogEngine.s3db;Version=3;BinaryGUID=False;"; - } - else if (conPrv == "System.Data.SqlClient") - { - sourceFile = _root + "\\setup\\upgrade\\backup\\be\\setup\\SQLServer\\DbWeb.Config"; - defCon = @"Server=.\SQLEXPRESS;Database=BlogEngine;Trusted_Connection=True;"; - } - - string targetFile = _root + "\\Web.config"; - - DeleteFile(targetFile); - CopyFile(sourceFile, targetFile); - - // replace connection string - StreamReader reader = new StreamReader(targetFile); - string webContent = reader.ReadToEnd(); - reader.Close(); - - webContent = webContent.Replace(defCon, oldCon); - webContent = UpdateWebConfig(webContent); - - StreamWriter writer = new StreamWriter(targetFile); - writer.Write(webContent); - writer.Close(); - } - - string UpdateWebConfig(string content) - { - var defaultValidationKey = "D9F7287EFDE8DF4CAFF79011D5308643D8F62AE10CDF30DAB640B7399BF6C57B0269D60A23FBCCC736FC2487ED695512BA95044DE4C58DC02C2BA0C4A266454C"; - var defaultDecryptionKey = "BDAAF7E00B69BA47B37EEAC328929A06A6647D4C89FED3A7D5C52B12B23680F4"; - - string validationKey = CreateKey(Convert.ToInt32(64)); - string decryptionKey = CreateKey(Convert.ToInt32(24)); - - content = content.Replace(defaultValidationKey, validationKey); - content = content.Replace(defaultDecryptionKey, decryptionKey); - - // replace old editor path in web.config - content = content.Replace("~/editors", "~/admin/editors"); - - // replace runtime tag in web.config - var newWebConfig = _root + "\\setup\\upgrade\\backup\\be\\Web.Config"; - try - { - StreamReader reader = new StreamReader(newWebConfig); - string newContent = reader.ReadToEnd(); - reader.Close(); - - var oldRuntimeTag = content.Substring(content.IndexOf(""), (content.IndexOf ("") - content.IndexOf("") + 11)); - var newRuntimeTag = newContent.Substring(newContent.IndexOf(""), (newContent.IndexOf ("") - newContent.IndexOf("") + 11)); - - if(oldRuntimeTag.Length > 0 && newRuntimeTag.Length > 0) - { - content = content.Replace(oldRuntimeTag, newRuntimeTag); - } - } - catch (Exception) - { - } - return content; - } - - static String CreateKey(int numBytes) - { - var rng = new System.Security.Cryptography.RNGCryptoServiceProvider(); - byte[] buff = new byte[numBytes]; - - rng.GetBytes(buff); - return BytesToHexString(buff); - } - - static String BytesToHexString(byte[] bytes) - { - var hexString = new System.Text.StringBuilder(64); - - for (int counter = 0; counter < bytes.Length; counter++) - { - hexString.Append(String.Format("{0:X2}", bytes[counter])); - } - return hexString.ToString(); - } - - [WebMethod] - public string Rollback() - { - try - { - foreach (var item in _installed) - { - if (item.IsDirectory) - { - var source = new DirectoryInfo(item.To); - var target = new DirectoryInfo(item.From); - - //Log(source.FullName, target.FullName, true); - CopyRecursive(source, target); - } - else - { - File.Copy(item.To, item.From, true); - } - } - return ""; - } - catch (Exception ex) - { - return ex.Message; - } - } - - //---------------------------------------------- - - void ReplaceDir(string dir) - { - try - { - DeleteDir(dir); - CopyDir(dir); - _tries = 0; - Utils.Log(string.Format("Updater: replaced directory {0}", dir)); - } - catch (Exception ex) - { - // wait 2 seconds then repeat - System.Threading.Thread.Sleep(2000); - _tries++; - - if (_tries == 3) - { - _tries = 0; - throw new ApplicationException(string.Format("Failed to replace directory {0}; error: {1}", dir, ex.Message)); - } - - if (_tries < 4) - { - ReplaceDir(dir); - } - } - } - - void DeleteDir(string dir) - { - if (Directory.Exists(_root + dir)) - { - Directory.Delete(_root + dir, true); - } - } - - void CopyDir(string dir) - { - var source = new DirectoryInfo(_root + "\\setup\\upgrade\\backup\\be\\" + dir); - var target = new DirectoryInfo(_root + "\\" + dir); - - //Log(source.FullName, target.FullName, true); - CopyRecursive(source, target); - } - - //------------------------------------------------ - - void ReplaceFile(string file) - { - string sourceFile = _root + "\\setup\\upgrade\\backup\\be\\" + file; - string targetFile = _root + "\\" + file; - - try - { - DeleteFile(targetFile); - } - catch (Exception ex) - { - Utils.Log(string.Format("Updater: failed to delete file {0}; error: {1}", file, ex.Message)); - } - - if (!File.Exists(targetFile)) - { - CopyFile(sourceFile, targetFile); - } - } - - void DeleteFile(string file) - { - if (File.Exists(file)) - File.Delete(file); - } - - void CopyFile(string from, string to) - { - File.Copy(from, to, true); - } - - void ReplaceFilesInDir(string dir) - { - string sourceDir = _root + "\\setup\\upgrade\\backup\\be\\" + dir; - string[] files = Directory.GetFiles(sourceDir); - - foreach (string sourceFile in files) - { - string fileName = sourceFile.Substring(sourceFile.LastIndexOf(@"\") + 1); - ReplaceFile(dir + "\\" + fileName); - } - } - - //--------------------------------------------------- - - void CompressFolder(string path, ZipOutputStream zipStream, int folderOffset) - { - if (IgnoredDirectory(path)) - return; - - string[] files = Directory.GetFiles(path); - - foreach (string filename in files) - { - FileInfo fi = new FileInfo(filename); - string entryName = filename.Substring(folderOffset); - entryName = ZipEntry.CleanName(entryName); - ZipEntry newEntry = new ZipEntry(entryName); - newEntry.DateTime = fi.LastWriteTime; - newEntry.Size = fi.Length; - zipStream.PutNextEntry(newEntry); - - byte[] buffer = new byte[4096]; - using (FileStream streamReader = File.OpenRead(filename)) - { - StreamUtils.Copy(streamReader, zipStream, buffer); - } - zipStream.CloseEntry(); - } - string[] folders = Directory.GetDirectories(path); - foreach (string folder in folders) - { - CompressFolder(folder, zipStream, folderOffset); - } - } - - void ExtractZipFile(string archiveFilenameIn, string outFolder) - { - ZipFile zf = null; - try - { - FileStream fs = File.OpenRead(archiveFilenameIn); - zf = new ZipFile(fs); - - foreach (ZipEntry zipEntry in zf) - { - if (!zipEntry.IsFile) - continue; - - String entryFileName = zipEntry.Name; - - byte[] buffer = new byte[4096]; - Stream zipStream = zf.GetInputStream(zipEntry); - - String fullZipToPath = Path.Combine(outFolder, entryFileName); - string directoryName = Path.GetDirectoryName(fullZipToPath); - if (directoryName.Length > 0) - Directory.CreateDirectory(directoryName); - - using (FileStream streamWriter = File.Create(fullZipToPath)) - { - StreamUtils.Copy(zipStream, streamWriter, buffer); - } - } - } - finally - { - if (zf != null) - { - zf.IsStreamOwner = true; - zf.Close(); - } - } - } - - static void CopyRecursive(DirectoryInfo source, DirectoryInfo target) - { - var rootPath = HttpContext.Current.Server.MapPath(BlogEngine.Core.Utils.RelativeWebRoot); - - if (!Directory.Exists(target.FullName)) - Directory.CreateDirectory(target.FullName); - - foreach (var dir in source.GetDirectories()) - { - var dirPath = Path.Combine(target.FullName, dir.Name); - var relPath = dirPath.Replace(rootPath, ""); - - CopyRecursive(dir, Directory.CreateDirectory(dirPath)); - } - - foreach (var file in source.GetFiles()) - { - var filePath = Path.Combine(target.FullName, file.Name); - - var relPath = filePath.Replace(rootPath, ""); - - file.CopyTo(filePath); - } - } - - bool IgnoredDirectory(string item) - { - return _ignoreDirs.Contains(item) ? true : false; - } - - //---------------------------------------------------- - void FixSH() - { - var themesPath = HttpContext.Current.Server.MapPath(BlogEngine.Core.Utils.RelativeWebRoot + "Custom/Themes"); - - if (!Directory.Exists(themesPath)) - return; - - var themes = new DirectoryInfo(themesPath); - - foreach (var dir in themes.GetDirectories()) - { - if (dir.Name != "RazorHost") - { - System.Diagnostics.Debug.WriteLine(dir.Name); - - foreach (var file in dir.GetFiles()) - { - if (file.Name.Contains(".cs") || - file.Name.Contains(".ascx") || - file.Name.Contains(".cshtml") || - file.Name.Contains(".master")) - { - ReplaceInFile(file.FullName, "editors/tiny_mce_3_5_8/plugins", "Scripts"); - } - } - } - } - } - static void ReplaceInFile(string filePath, string searchText, string replaceText) - { - var cnt = 0; - StreamReader reader = new StreamReader(filePath); - string content = reader.ReadToEnd(); - cnt = content.Length; - reader.Close(); - - content = System.Text.RegularExpressions.Regex.Replace(content, searchText, replaceText); - - if (cnt > 0 && cnt != content.Length) - { - Utils.Log(string.Format("Updater: replacing in {0} from {1} to {2}", filePath, searchText, replaceText)); - } - - StreamWriter writer = new StreamWriter(filePath); - writer.Write(content); - writer.Close(); - } - //---------------------------------------------------- - - //void Log(string from, string to = "", bool directory = false, Operation action = Operation.Copy) - //{ - // _installed.Add(new InstalledLog { IsDirectory = directory, Action = action, From = from, To = to }); - - // string s = action == Operation.Copy ? "UPGRADE: Copy " : "UPGRADE: Delete "; - // s = s + (directory ? "directory " : "file "); - - // if (action == Operation.Copy) - // BlogEngine.Core.Utils.Log(string.Format("{0} from {1} to {2}", s, from, to)); - // else - // BlogEngine.Core.Utils.Log(string.Format("{0} from {1}", s, from)); - //} -} - -public class InstalledLog -{ - public InstalledLog(){} - public Operation Action { get; set; } - public bool IsDirectory { get; set; } - public string From { get; set; } - public string To { get; set; } -} - -public enum Operation -{ - Copy, - Delete -} \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/upgrade/Updater.js b/BlogEngine/BlogEngine.NET/setup/upgrade/Updater.js deleted file mode 100644 index fb888b552..000000000 --- a/BlogEngine/BlogEngine.NET/setup/upgrade/Updater.js +++ /dev/null @@ -1,254 +0,0 @@ -$(document).ready(function () { - Check(); -}); - -var newVersion = ""; - -function Check() { - // CurrentVersion - CheckVersion(); - - if (!newVersion) { newVersion = ""; } - - if (newVersion.length > 0) { - $("#spin1").hide(); - $("#spin2").hide(); - $("#spin3").hide(); - $("#spin4").hide(); - $("#spin5").hide(); - $("#spin9").hide(); - $("#step9").hide(); - $('#msg-success').hide(); - $('#spnNewVersion').html(newVersion); - } - else { - $("#frm").hide(); - $("#btnRun").hide(); - $("h2").html("Looks like you already running latest version!"); - } -} - -function CheckVersion() { - $("#spin1").show(); - $.ajax({ - url: AppRoot + "setup/upgrade/Updater.asmx/Check", - data: "{ version: '" + CurrentVersion + "' }", - type: "POST", - contentType: "application/json; charset=utf-8", - dataType: "json", - async: false, - success: function (result) { - newVersion = result.d; // "3.2.0.0"; - } - }); -} - -var upgrade = function () { - $("#btnRun").prop("disabled", true); - $("#btnHome").prop("disabled", true); - $("#btnBack").prop("disabled", true); - Download(); -} - -// returns version to which blog can be upgrated -function Download() { - $("#spin1").show(); - $.ajax({ - url: AppRoot + "setup/upgrade/Updater.asmx/Download", - data: "{ version: '" + newVersion + "' }", - type: "POST", - contentType: "application/json; charset=utf-8", - dataType: "json", - success: function (result) { - var rt = result.d; - if (rt.length > 0) { - $("#spin1").hide(); - ShowError("1", rt); - } - else { - ShowSuccess("1"); - Extract(); - } - } - }); -} - -function Extract() { - $("#spin2").show(); - $.ajax({ - url: AppRoot + "setup/upgrade/Updater.asmx/Extract", - data: "{ }", - type: "POST", - contentType: "application/json; charset=utf-8", - dataType: "json", - success: function (result) { - var rt = result.d; - if (rt.length > 0) { - $("#spin2").hide(); - ShowError("2", rt); - } - else { - ShowSuccess("2"); - Backup(); - } - } - }); -} - -function Backup() { - $("#spin3").show(); - $.ajax({ - url: AppRoot + "setup/upgrade/Updater.asmx/Backup", - data: "{ }", - type: "POST", - contentType: "application/json; charset=utf-8", - dataType: "json", - success: function (result) { - var rt = result.d; - if (rt.length > 0) { - $("#spin3").hide(); - ShowError("3", rt); - } - else { - ShowSuccess("3"); - Delete(); - } - } - }); -} - -function Delete() { - $("#spin4").show(); - $.ajax({ - url: AppRoot + "setup/upgrade/Updater.asmx/Delete", - data: "{ }", - type: "POST", - contentType: "application/json; charset=utf-8", - dataType: "json", - success: function (result) { - var rt = result.d; - if (rt.length > 0) { - $("#spin4").hide(); - ShowError("4", rt); - } - else { - ShowSuccess("4"); - Install(); - } - } - }); -} - -function Install() { - $("#spin5").show(); - $.ajax({ - url: AppRoot + "setup/upgrade/Updater.asmx/Install", - data: "{ }", - type: "POST", - contentType: "application/json; charset=utf-8", - dataType: "json", - success: function (result) { - var rt = result.d; - if (rt.length > 0) { - $("#spin5").hide(); - ShowError("5", rt); - } - else { - ShowSuccess("5"); - $('#msg-success').show(); - $("#btnHome").prop("disabled", false); - $("#btnBack").prop("disabled", false); - } - } - }); -} - -function Rollback() { - $("#step9").show(); - $("#spin9").show(); - $.ajax({ - url: AppRoot + "setup/upgrade/Updater.asmx/Rollback", - data: "{ }", - type: "POST", - contentType: "application/json; charset=utf-8", - dataType: "json", - success: function (result) { - var rt = result.d; - if (rt.length > 0) { - $("#step9").html("Sorry, roll back failed: " + rt + ". Please check our forum for solution."); - $("#spin9").hide(); - } - else { - var rt = result.d; - $("#step9").html("Installation has ben rolled back. Please try again and, if it does not work, check our forum for solution."); - $("#step9").removeClass("alert-danger"); - $("#step9").addClass("alert-success"); - - $("#btnHome").prop("disabled", false); - $("#btnBack").prop("disabled", false); - } - } - }); -} - -function ShowSuccess(item) { - if ($("#spin" + item)) { - $("#spin" + item).hide(); - } - $("#step" + item).removeClass("alert-info"); - $("#step" + item).addClass("alert-success"); - - // clean up if error in the step fixed by restart - $("#step" + item).removeClass("alert-danger"); - if (item === "4") { - $("#step4").html('4 Replace old files with new version'); - } - if (item === "5") { - $("#step5").html('5 Configuration and cleanup'); - } -} - -function ShowError(item, msg) { - if ($("#spin" + item)) { - $("#spin" + item).hide(); - } - $("#step" + item).removeClass("alert-info"); - $("#step" + item).addClass("alert-danger"); - $("#step" + item).find("strong").html(msg); - $("#btnHome").prop("disabled", false); - $("#btnBack").prop("disabled", false); - // TODO: - //Rollback(); - $("#btnRun").prop("disabled", false); - $("#btnRun").html('Restart'); -} - -function CheckPermissions() { - $("#msgList").empty(); - CheckPermission("trust"); - CheckPermission("root"); - CheckPermission("data"); - CheckPermission("Custom"); -} - -function CheckPermission(p) { - $.ajax({ - url: AppRoot + "api/tools/" + p, - type: "GET", - contentType: "application/json; charset=utf-8", - dataType: "json", - async: false, - success: function (result) { - addMsg(result); - } - }); -} - -addMsg = function (data) { - if (data.success === true) { - $("#msgList").append('
' + data.msg + '
'); - } - else { - $("#msgList").append('
' + data.msg + '
'); - } -} \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/upgrade/bootstrap.min.css b/BlogEngine/BlogEngine.NET/setup/upgrade/bootstrap.min.css deleted file mode 100644 index c547283bb..000000000 --- a/BlogEngine/BlogEngine.NET/setup/upgrade/bootstrap.min.css +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * Bootstrap v3.0.3 (http://getbootstrap.com) - * Copyright 2013 Twitter, Inc. - * Licensed under http://www.apache.org/licenses/LICENSE-2.0 - */ - -/*! normalize.css v2.1.3 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden],template{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a{background:transparent}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}@media print{*{color:#000!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}@page{margin:2cm .5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.table td,.table th{background-color:#fff!important}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}}*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:hover,a:focus{color:#2a6496;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}img{vertical-align:middle}.img-responsive{display:block;height:auto;max-width:100%}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;height:auto;max-width:100%;padding:4px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:500;line-height:1.1;color:inherit}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small,.h1 small,.h2 small,.h3 small,.h4 small,.h5 small,.h6 small,h1 .small,h2 .small,h3 .small,h4 .small,h5 .small,h6 .small,.h1 .small,.h2 .small,.h3 .small,.h4 .small,.h5 .small,.h6 .small{font-weight:normal;line-height:1;color:#999}h1,h2,h3{margin-top:20px;margin-bottom:10px}h1 small,h2 small,h3 small,h1 .small,h2 .small,h3 .small{font-size:65%}h4,h5,h6{margin-top:10px;margin-bottom:10px}h4 small,h5 small,h6 small,h4 .small,h5 .small,h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:200;line-height:1.4}@media(min-width:768px){.lead{font-size:21px}}small,.small{font-size:85%}cite{font-style:normal}.text-muted{color:#999}.text-primary{color:#428bca}.text-primary:hover{color:#3071a9}.text-warning{color:#8a6d3b}.text-warning:hover{color:#66512c}.text-danger{color:#a94442}.text-danger:hover{color:#843534}.text-success{color:#3c763d}.text-success:hover{color:#2b542c}.text-info{color:#31708f}.text-info:hover{color:#245269}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ol ul,ul ol,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}.list-inline>li:first-child{padding-left:0}dl{margin-top:0;margin-bottom:20px}dt,dd{line-height:1.428571429}dt{font-weight:bold}dd{margin-left:0}@media(min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}.dl-horizontal dd:before,.dl-horizontal dd:after{display:table;content:" "}.dl-horizontal dd:after{clear:both}}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #999}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;border-left:5px solid #eee}blockquote p{font-size:17.5px;font-weight:300;line-height:1.25}blockquote p:last-child{margin-bottom:0}blockquote small,blockquote .small{display:block;line-height:1.428571429;color:#999}blockquote small:before,blockquote .small:before{content:'\2014 \00A0'}blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0}blockquote.pull-right p,blockquote.pull-right small,blockquote.pull-right .small{text-align:right}blockquote.pull-right small:before,blockquote.pull-right .small:before{content:''}blockquote.pull-right small:after,blockquote.pull-right .small:after{content:'\00A0 \2014'}blockquote:before,blockquote:after{content:""}address{margin-bottom:20px;font-style:normal;line-height:1.428571429}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;white-space:nowrap;background-color:#f9f2f4;border-radius:4px}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.428571429;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}.container:before,.container:after{display:table;content:" "}.container:after{clear:both}@media(min-width:768px){.container{width:750px}}@media(min-width:992px){.container{width:970px}}@media(min-width:1200px){.container{width:1170px}}.row{margin-right:-15px;margin-left:-15px}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.row:before,.row:after{display:table;content:" "}.row:after{clear:both}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666666666666%}.col-xs-10{width:83.33333333333334%}.col-xs-9{width:75%}.col-xs-8{width:66.66666666666666%}.col-xs-7{width:58.333333333333336%}.col-xs-6{width:50%}.col-xs-5{width:41.66666666666667%}.col-xs-4{width:33.33333333333333%}.col-xs-3{width:25%}.col-xs-2{width:16.666666666666664%}.col-xs-1{width:8.333333333333332%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666666666666%}.col-xs-pull-10{right:83.33333333333334%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666666666666%}.col-xs-pull-7{right:58.333333333333336%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666666666667%}.col-xs-pull-4{right:33.33333333333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.666666666666664%}.col-xs-pull-1{right:8.333333333333332%}.col-xs-pull-0{right:0}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666666666666%}.col-xs-push-10{left:83.33333333333334%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666666666666%}.col-xs-push-7{left:58.333333333333336%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666666666667%}.col-xs-push-4{left:33.33333333333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.666666666666664%}.col-xs-push-1{left:8.333333333333332%}.col-xs-push-0{left:0}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666666666666%}.col-xs-offset-10{margin-left:83.33333333333334%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666666666666%}.col-xs-offset-7{margin-left:58.333333333333336%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666666666667%}.col-xs-offset-4{margin-left:33.33333333333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.666666666666664%}.col-xs-offset-1{margin-left:8.333333333333332%}.col-xs-offset-0{margin-left:0}@media(min-width:768px){.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666666666666%}.col-sm-10{width:83.33333333333334%}.col-sm-9{width:75%}.col-sm-8{width:66.66666666666666%}.col-sm-7{width:58.333333333333336%}.col-sm-6{width:50%}.col-sm-5{width:41.66666666666667%}.col-sm-4{width:33.33333333333333%}.col-sm-3{width:25%}.col-sm-2{width:16.666666666666664%}.col-sm-1{width:8.333333333333332%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666666666666%}.col-sm-pull-10{right:83.33333333333334%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666666666666%}.col-sm-pull-7{right:58.333333333333336%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666666666667%}.col-sm-pull-4{right:33.33333333333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.666666666666664%}.col-sm-pull-1{right:8.333333333333332%}.col-sm-pull-0{right:0}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666666666666%}.col-sm-push-10{left:83.33333333333334%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666666666666%}.col-sm-push-7{left:58.333333333333336%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666666666667%}.col-sm-push-4{left:33.33333333333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.666666666666664%}.col-sm-push-1{left:8.333333333333332%}.col-sm-push-0{left:0}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666666666666%}.col-sm-offset-10{margin-left:83.33333333333334%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666666666666%}.col-sm-offset-7{margin-left:58.333333333333336%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666666666667%}.col-sm-offset-4{margin-left:33.33333333333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.666666666666664%}.col-sm-offset-1{margin-left:8.333333333333332%}.col-sm-offset-0{margin-left:0}}@media(min-width:992px){.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666666666666%}.col-md-10{width:83.33333333333334%}.col-md-9{width:75%}.col-md-8{width:66.66666666666666%}.col-md-7{width:58.333333333333336%}.col-md-6{width:50%}.col-md-5{width:41.66666666666667%}.col-md-4{width:33.33333333333333%}.col-md-3{width:25%}.col-md-2{width:16.666666666666664%}.col-md-1{width:8.333333333333332%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666666666666%}.col-md-pull-10{right:83.33333333333334%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666666666666%}.col-md-pull-7{right:58.333333333333336%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666666666667%}.col-md-pull-4{right:33.33333333333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.666666666666664%}.col-md-pull-1{right:8.333333333333332%}.col-md-pull-0{right:0}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666666666666%}.col-md-push-10{left:83.33333333333334%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666666666666%}.col-md-push-7{left:58.333333333333336%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666666666667%}.col-md-push-4{left:33.33333333333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.666666666666664%}.col-md-push-1{left:8.333333333333332%}.col-md-push-0{left:0}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666666666666%}.col-md-offset-10{margin-left:83.33333333333334%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666666666666%}.col-md-offset-7{margin-left:58.333333333333336%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666666666667%}.col-md-offset-4{margin-left:33.33333333333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.666666666666664%}.col-md-offset-1{margin-left:8.333333333333332%}.col-md-offset-0{margin-left:0}}@media(min-width:1200px){.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666666666666%}.col-lg-10{width:83.33333333333334%}.col-lg-9{width:75%}.col-lg-8{width:66.66666666666666%}.col-lg-7{width:58.333333333333336%}.col-lg-6{width:50%}.col-lg-5{width:41.66666666666667%}.col-lg-4{width:33.33333333333333%}.col-lg-3{width:25%}.col-lg-2{width:16.666666666666664%}.col-lg-1{width:8.333333333333332%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666666666666%}.col-lg-pull-10{right:83.33333333333334%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666666666666%}.col-lg-pull-7{right:58.333333333333336%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666666666667%}.col-lg-pull-4{right:33.33333333333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.666666666666664%}.col-lg-pull-1{right:8.333333333333332%}.col-lg-pull-0{right:0}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666666666666%}.col-lg-push-10{left:83.33333333333334%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666666666666%}.col-lg-push-7{left:58.333333333333336%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666666666667%}.col-lg-push-4{left:33.33333333333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.666666666666664%}.col-lg-push-1{left:8.333333333333332%}.col-lg-push-0{left:0}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666666666666%}.col-lg-offset-10{margin-left:83.33333333333334%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666666666666%}.col-lg-offset-7{margin-left:58.333333333333336%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666666666667%}.col-lg-offset-4{margin-left:33.33333333333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.666666666666664%}.col-lg-offset-1{margin-left:8.333333333333332%}.col-lg-offset-0{margin-left:0}}table{max-width:100%;background-color:transparent}th{text-align:left}.table{width:100%;margin-bottom:20px}.table>thead>tr>th,.table>tbody>tr>th,.table>tfoot>tr>th,.table>thead>tr>td,.table>tbody>tr>td,.table>tfoot>tr>td{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>thead>tr>th,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{background-color:#f9f9f9}.table-hover>tbody>tr:hover>td,.table-hover>tbody>tr:hover>th{background-color:#f5f5f5}table col[class*="col-"]{position:static;display:table-column;float:none}table td[class*="col-"],table th[class*="col-"]{display:table-cell;float:none}.table>thead>tr>.active,.table>tbody>tr>.active,.table>tfoot>tr>.active,.table>thead>.active>td,.table>tbody>.active>td,.table>tfoot>.active>td,.table>thead>.active>th,.table>tbody>.active>th,.table>tfoot>.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>.active:hover,.table-hover>tbody>.active:hover>td,.table-hover>tbody>.active:hover>th{background-color:#e8e8e8}.table>thead>tr>.success,.table>tbody>tr>.success,.table>tfoot>tr>.success,.table>thead>.success>td,.table>tbody>.success>td,.table>tfoot>.success>td,.table>thead>.success>th,.table>tbody>.success>th,.table>tfoot>.success>th{background-color:#dff0d8}.table-hover>tbody>tr>.success:hover,.table-hover>tbody>.success:hover>td,.table-hover>tbody>.success:hover>th{background-color:#d0e9c6}.table>thead>tr>.danger,.table>tbody>tr>.danger,.table>tfoot>tr>.danger,.table>thead>.danger>td,.table>tbody>.danger>td,.table>tfoot>.danger>td,.table>thead>.danger>th,.table>tbody>.danger>th,.table>tfoot>.danger>th{background-color:#f2dede}.table-hover>tbody>tr>.danger:hover,.table-hover>tbody>.danger:hover>td,.table-hover>tbody>.danger:hover>th{background-color:#ebcccc}.table>thead>tr>.warning,.table>tbody>tr>.warning,.table>tfoot>tr>.warning,.table>thead>.warning>td,.table>tbody>.warning>td,.table>tfoot>.warning>td,.table>thead>.warning>th,.table>tbody>.warning>th,.table>tfoot>.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>.warning:hover,.table-hover>tbody>.warning:hover>td,.table-hover>tbody>.warning:hover>th{background-color:#faf2cc}@media(max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-x:scroll;overflow-y:hidden;border:1px solid #ddd;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}fieldset{padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;margin-bottom:5px;font-weight:bold}input[type="search"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type="radio"],input[type="checkbox"]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type="file"]{display:block}select[multiple],select[size]{height:auto}select optgroup{font-family:inherit;font-size:inherit;font-style:inherit}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}input[type="number"]::-webkit-outer-spin-button,input[type="number"]::-webkit-inner-spin-button{height:auto}output{display:block;padding-top:7px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.428571429;color:#555;vertical-align:middle;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 8px rgba(102,175,233,0.6)}.form-control:-moz-placeholder{color:#999}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee}textarea.form-control{height:auto}.form-group{margin-bottom:15px}.radio,.checkbox{display:block;min-height:20px;padding-left:20px;margin-top:10px;margin-bottom:10px;vertical-align:middle}.radio label,.checkbox label{display:inline;margin-bottom:0;font-weight:normal;cursor:pointer}.radio input[type="radio"],.radio-inline input[type="radio"],.checkbox input[type="checkbox"],.checkbox-inline input[type="checkbox"]{float:left;margin-left:-20px}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:normal;vertical-align:middle;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type="radio"][disabled],input[type="checkbox"][disabled],.radio[disabled],.radio-inline[disabled],.checkbox[disabled],.checkbox-inline[disabled],fieldset[disabled] input[type="radio"],fieldset[disabled] input[type="checkbox"],fieldset[disabled] .radio,fieldset[disabled] .radio-inline,fieldset[disabled] .checkbox,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}textarea.input-sm{height:auto}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-lg{height:46px;line-height:46px}textarea.input-lg{height:auto}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);box-shadow:inset 0 1px 1px rgba(0,0,0,0.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,0.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.form-control-static{margin-bottom:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media(min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block}.form-inline select.form-control{width:auto}.form-inline .radio,.form-inline .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:none;margin-left:0}}.form-horizontal .control-label,.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .radio,.form-horizontal .checkbox{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-group:before,.form-horizontal .form-group:after{display:table;content:" "}.form-horizontal .form-group:after{clear:both}.form-horizontal .form-control-static{padding-top:7px}@media(min-width:768px){.form-horizontal .control-label{text-align:right}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:normal;line-height:1.428571429;text-align:center;white-space:nowrap;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid transparent;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,.btn:focus{color:#333;text-decoration:none}.btn:active,.btn.active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default:hover,.btn-default:focus,.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{color:#333;background-color:#ebebeb;border-color:#adadad}.btn-default:active,.btn-default.active,.open .dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#fff}.btn-primary{color:#fff;background-color:#428bca;border-color:#357ebd}.btn-primary:hover,.btn-primary:focus,.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{color:#fff;background-color:#3276b1;border-color:#285e8e}.btn-primary:active,.btn-primary.active,.open .dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca;border-color:#357ebd}.btn-primary .badge{color:#428bca;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:hover,.btn-warning:focus,.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{color:#fff;background-color:#ed9c28;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open .dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:hover,.btn-danger:focus,.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{color:#fff;background-color:#d2322d;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open .dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:hover,.btn-success:focus,.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{color:#fff;background-color:#47a447;border-color:#398439}.btn-success:active,.btn-success.active,.open .dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:hover,.btn-info:focus,.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{color:#fff;background-color:#39b3d7;border-color:#269abc}.btn-info:active,.btn-info.active,.open .dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-link{font-weight:normal;color:#428bca;cursor:pointer;border-radius:0}.btn-link,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#2a6496;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,fieldset[disabled] .btn-link:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:focus{color:#999;text-decoration:none}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%;padding-right:0;padding-left:0}.btn-block+.btn-block{margin-top:5px}input[type="submit"].btn-block,input[type="reset"].btn-block,input[type="button"].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition:height .35s ease;transition:height .35s ease}@font-face{font-family:'Glyphicons Halflings';src:url('../fonts/glyphicons-halflings-regular.eot');src:url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),url('../fonts/glyphicons-halflings-regular.woff') format('woff'),url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'),url('../fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:normal;line-height:1;-moz-osx-font-smoothing:grayscale}.glyphicon:empty{width:1em}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,0.175);box-shadow:0 6px 12px rgba(0,0,0,0.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:normal;line-height:1.428571429;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;background-color:#428bca;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#999}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.428571429;color:#999}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px}@media(min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,.btn-group-vertical>.btn{position:relative;float:left}.btn-group>.btn:hover,.btn-group-vertical>.btn:hover,.btn-group>.btn:focus,.btn-group-vertical>.btn:focus,.btn-group>.btn:active,.btn-group-vertical>.btn:active,.btn-group>.btn.active,.btn-group-vertical>.btn.active{z-index:2}.btn-group>.btn:focus,.btn-group-vertical>.btn:focus{outline:0}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar:before,.btn-toolbar:after{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar:before,.btn-toolbar:after{display:table;content:" "}.btn-toolbar:after{clear:both}.btn-toolbar .btn-group{float:left}.btn-toolbar>.btn+.btn,.btn-toolbar>.btn-group+.btn,.btn-toolbar>.btn+.btn-group,.btn-toolbar>.btn-group+.btn-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child>.btn:last-child,.btn-group>.btn-group:first-child>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child>.btn:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group-xs>.btn{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-sm>.btn{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-lg>.btn{padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,0.125);box-shadow:inset 0 3px 5px rgba(0,0,0,0.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{display:table;content:" "}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-right-radius:0;border-bottom-left-radius:4px;border-top-left-radius:0}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child>.btn:last-child,.btn-group-vertical>.btn-group:first-child>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child>.btn:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;border-collapse:separate;table-layout:fixed}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}[data-toggle="buttons"]>.btn>input[type="radio"],[data-toggle="buttons"]>.btn>input[type="checkbox"]{display:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*="col-"]{float:none;padding-right:0;padding-left:0}.input-group .form-control{width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.33;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:normal;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type="radio"],.input-group-addon input[type="checkbox"]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;white-space:nowrap}.input-group-btn:first-child>.btn{margin-right:-1px}.input-group-btn:last-child>.btn{margin-left:-1px}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-4px}.input-group-btn>.btn:hover,.input-group-btn>.btn:active{z-index:2}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav:before,.nav:after{display:table;content:" "}.nav:after{clear:both}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#999}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#999;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#428bca}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.428571429;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media(min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#428bca}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media(min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border:1px solid #ddd}@media(min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}.navbar:before,.navbar:after{display:table;content:" "}.navbar:after{clear:both}@media(min-width:768px){.navbar{border-radius:4px}}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}.navbar-header:before,.navbar-header:after{display:table;content:" "}.navbar-header:after{clear:both}@media(min-width:768px){.navbar-header{float:left}}.navbar-collapse{max-height:340px;padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);-webkit-overflow-scrolling:touch}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse:before,.navbar-collapse:after{display:table;content:" "}.navbar-collapse:after{clear:both}.navbar-collapse.in{overflow-y:auto}@media(min-width:768px){.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-right:0;padding-left:0}}.container>.navbar-header,.container>.navbar-collapse{margin-right:-15px;margin-left:-15px}@media(min-width:768px){.container>.navbar-header,.container>.navbar-collapse{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media(min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}@media(min-width:768px){.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}@media(min-width:768px){.navbar>.container .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media(min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media(max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}}@media(min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-nav.navbar-right:last-child{margin-right:-15px}}@media(min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1),0 1px 0 rgba(255,255,255,0.1)}@media(min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block}.navbar-form select.form-control{width:auto}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;padding-left:0;margin-top:0;margin-bottom:0}.navbar-form .radio input[type="radio"],.navbar-form .checkbox input[type="checkbox"]{float:none;margin-left:0}}@media(max-width:767px){.navbar-form .form-group{margin-bottom:5px}}@media(min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-form.navbar-right:last-child{margin-right:-15px}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-nav.pull-right>li>.dropdown-menu,.navbar-nav>li>.dropdown-menu.pull-right{right:0;left:auto}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media(min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}.navbar-text.navbar-right:last-child{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#ccc}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{color:#555;background-color:#e7e7e7}@media(max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#999}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#999}.navbar-inverse .navbar-nav>li>a{color:#999}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{color:#fff;background-color:#080808}@media(max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#999}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#999}.navbar-inverse .navbar-link:hover{color:#fff}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#999}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.428571429;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:hover,.pagination>li>span:hover,.pagination>li>a:focus,.pagination>li>span:focus{background-color:#eee}.pagination>.active>a,.pagination>.active>span,.pagination>.active>a:hover,.pagination>.active>span:hover,.pagination>.active>a:focus,.pagination>.active>span:focus{z-index:2;color:#fff;cursor:default;background-color:#428bca;border-color:#428bca}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#999;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager:before,.pager:after{display:table;content:" "}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#999;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label[href]:hover,.label[href]:focus{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#999}.label-default[href]:hover,.label-default[href]:focus{background-color:#808080}.label-primary{background-color:#428bca}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#3071a9}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:bold;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#999;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}a.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#428bca;background-color:#fff}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px;margin-bottom:30px;font-size:21px;font-weight:200;line-height:2.1428571435;color:inherit;background-color:#eee}.jumbotron h1,.jumbotron .h1{line-height:1;color:inherit}.jumbotron p{line-height:1.4}.container .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron{padding-right:60px;padding-left:60px}.jumbotron h1,.jumbotron .h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.428571429;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.thumbnail>img,.thumbnail a>img{display:block;height:auto;max-width:100%;margin-right:auto;margin-left:auto}a.thumbnail:hover,a.thumbnail:focus,a.thumbnail.active{border-color:#428bca}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:bold}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable{padding-right:35px}.alert-dismissable .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.1);box-shadow:inset 0 1px 2px rgba(0,0,0,0.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#428bca;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,0.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.media,.media-body{overflow:hidden;zoom:1}.media,.media .media{margin-top:15px}.media:first-child{margin-top:0}.media-object{display:block}.media-heading{margin:0 0 5px}.media>.pull-left{margin-right:10px}.media>.pull-right{margin-left:10px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus{text-decoration:none;background-color:#f5f5f5}a.list-group-item.active,a.list-group-item.active:hover,a.list-group-item.active:focus{z-index:2;color:#fff;background-color:#428bca;border-color:#428bca}a.list-group-item.active .list-group-item-heading,a.list-group-item.active:hover .list-group-item-heading,a.list-group-item.active:focus .list-group-item-heading{color:inherit}a.list-group-item.active .list-group-item-text,a.list-group-item.active:hover .list-group-item-text,a.list-group-item.active:focus .list-group-item-text{color:#e1edf7}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.05);box-shadow:0 1px 1px rgba(0,0,0,0.05)}.panel-body{padding:15px}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel-body:before,.panel-body:after{display:table;content:" "}.panel-body:after{clear:both}.panel>.list-group{margin-bottom:0}.panel>.list-group .list-group-item{border-width:1px 0}.panel>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.panel>.list-group .list-group-item:last-child{border-bottom:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive{border-top:1px solid #ddd}.panel>.table>tbody:first-child th,.panel>.table>tbody:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:last-child>th,.panel>.table-responsive>.table-bordered>thead>tr:last-child>th,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.panel>.table-bordered>thead>tr:last-child>td,.panel>.table-responsive>.table-bordered>thead>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-group .panel{margin-bottom:0;overflow:hidden;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse .panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse .panel-body{border-top-color:#ddd}.panel-default>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#428bca}.panel-primary>.panel-heading{color:#fff;background-color:#428bca;border-color:#428bca}.panel-primary>.panel-heading+.panel-collapse .panel-body{border-top-color:#428bca}.panel-primary>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#428bca}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse .panel-body{border-top-color:#d6e9c6}.panel-success>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#d6e9c6}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse .panel-body{border-top-color:#faebcc}.panel-warning>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse .panel-body{border-top-color:#ebccd1}.panel-danger>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#ebccd1}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse .panel-body{border-top-color:#bce8f1}.panel-info>.panel-footer+.panel-collapse .panel-body{border-bottom-color:#bce8f1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,0.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:bold;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:auto;overflow-y:scroll}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;-moz-transition:-moz-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.modal-dialog{position:relative;z-index:1050;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,0.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5);box-shadow:0 3px 9px rgba(0,0,0,0.5);background-clip:padding-box}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1030;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{min-height:16.428571429px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.428571429}.modal-body{position:relative;padding:20px}.modal-footer{padding:19px 20px 20px;margin-top:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer:before,.modal-footer:after{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer:before,.modal-footer:after{display:table;content:" "}.modal-footer:after{clear:both}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}@media screen and (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,0.5);box-shadow:0 5px 15px rgba(0,0,0,0.5)}}.tooltip{position:absolute;z-index:1030;display:block;font-size:12px;line-height:1.4;opacity:0;filter:alpha(opacity=0);visibility:visible}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-left .tooltip-arrow{bottom:0;left:5px;border-top-color:#000;border-width:5px 5px 0}.tooltip.top-right .tooltip-arrow{right:5px;bottom:0;border-top-color:#000;border-width:5px 5px 0}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-right-color:#000;border-width:5px 5px 5px 0}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-left-color:#000;border-width:5px 0 5px 5px}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-left .tooltip-arrow{top:0;left:5px;border-bottom-color:#000;border-width:0 5px 5px}.tooltip.bottom-right .tooltip-arrow{top:0;right:5px;border-bottom-color:#000;border-width:0 5px 5px}.popover{position:absolute;top:0;left:0;z-index:1010;display:none;max-width:276px;padding:1px;text-align:left;white-space:normal;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,0.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,0.2);box-shadow:0 5px 10px rgba(0,0,0,0.2);background-clip:padding-box}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;font-weight:normal;line-height:18px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover .arrow,.popover .arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover .arrow{border-width:11px}.popover .arrow:after{border-width:10px;content:""}.popover.top .arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,0.25);border-bottom-width:0}.popover.top .arrow:after{bottom:1px;margin-left:-10px;border-top-color:#fff;border-bottom-width:0;content:" "}.popover.right .arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,0.25);border-left-width:0}.popover.right .arrow:after{bottom:-10px;left:1px;border-right-color:#fff;border-left-width:0;content:" "}.popover.bottom .arrow{top:-11px;left:50%;margin-left:-11px;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,0.25);border-top-width:0}.popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#fff;border-top-width:0;content:" "}.popover.left .arrow{top:50%;right:-11px;margin-top:-11px;border-left-color:#999;border-left-color:rgba(0,0,0,0.25);border-right-width:0}.popover.left .arrow:after{right:1px;bottom:-10px;border-left-color:#fff;border-right-width:0;content:" "}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>img,.carousel-inner>.item>a>img{display:block;height:auto;max-width:100%;line-height:1}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6);opacity:.5;filter:alpha(opacity=50)}.carousel-control.left{background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.5) 0),color-stop(rgba(0,0,0,0.0001) 100%));background-image:linear-gradient(to right,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.0001) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000',endColorstr='#00000000',GradientType=1)}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,color-stop(rgba(0,0,0,0.0001) 0),color-stop(rgba(0,0,0,0.5) 100%));background-image:linear-gradient(to right,rgba(0,0,0,0.0001) 0,rgba(0,0,0,0.5) 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#80000000',GradientType=1)}.carousel-control:hover,.carousel-control:focus{color:#fff;text-decoration:none;outline:0;opacity:.9;filter:alpha(opacity=90)}.carousel-control .icon-prev,.carousel-control .icon-next,.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .icon-prev,.carousel-control .glyphicon-chevron-left{left:50%}.carousel-control .icon-next,.carousel-control .glyphicon-chevron-right{right:50%}.carousel-control .icon-prev,.carousel-control .icon-next{width:20px;height:20px;margin-top:-10px;margin-left:-10px;font-family:serif}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicons-chevron-left,.carousel-control .glyphicons-chevron-right,.carousel-control .icon-prev,.carousel-control .icon-next{width:30px;height:30px;margin-top:-15px;margin-left:-15px;font-size:30px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.clearfix:before,.clearfix:after{display:table;content:" "}.clearfix:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important;visibility:hidden!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs,tr.visible-xs,th.visible-xs,td.visible-xs{display:none!important}@media(max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}th.visible-xs,td.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-xs.visible-sm{display:block!important}table.visible-xs.visible-sm{display:table}tr.visible-xs.visible-sm{display:table-row!important}th.visible-xs.visible-sm,td.visible-xs.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-xs.visible-md{display:block!important}table.visible-xs.visible-md{display:table}tr.visible-xs.visible-md{display:table-row!important}th.visible-xs.visible-md,td.visible-xs.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-xs.visible-lg{display:block!important}table.visible-xs.visible-lg{display:table}tr.visible-xs.visible-lg{display:table-row!important}th.visible-xs.visible-lg,td.visible-xs.visible-lg{display:table-cell!important}}.visible-sm,tr.visible-sm,th.visible-sm,td.visible-sm{display:none!important}@media(max-width:767px){.visible-sm.visible-xs{display:block!important}table.visible-sm.visible-xs{display:table}tr.visible-sm.visible-xs{display:table-row!important}th.visible-sm.visible-xs,td.visible-sm.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}th.visible-sm,td.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-sm.visible-md{display:block!important}table.visible-sm.visible-md{display:table}tr.visible-sm.visible-md{display:table-row!important}th.visible-sm.visible-md,td.visible-sm.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-sm.visible-lg{display:block!important}table.visible-sm.visible-lg{display:table}tr.visible-sm.visible-lg{display:table-row!important}th.visible-sm.visible-lg,td.visible-sm.visible-lg{display:table-cell!important}}.visible-md,tr.visible-md,th.visible-md,td.visible-md{display:none!important}@media(max-width:767px){.visible-md.visible-xs{display:block!important}table.visible-md.visible-xs{display:table}tr.visible-md.visible-xs{display:table-row!important}th.visible-md.visible-xs,td.visible-md.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-md.visible-sm{display:block!important}table.visible-md.visible-sm{display:table}tr.visible-md.visible-sm{display:table-row!important}th.visible-md.visible-sm,td.visible-md.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}th.visible-md,td.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-md.visible-lg{display:block!important}table.visible-md.visible-lg{display:table}tr.visible-md.visible-lg{display:table-row!important}th.visible-md.visible-lg,td.visible-md.visible-lg{display:table-cell!important}}.visible-lg,tr.visible-lg,th.visible-lg,td.visible-lg{display:none!important}@media(max-width:767px){.visible-lg.visible-xs{display:block!important}table.visible-lg.visible-xs{display:table}tr.visible-lg.visible-xs{display:table-row!important}th.visible-lg.visible-xs,td.visible-lg.visible-xs{display:table-cell!important}}@media(min-width:768px) and (max-width:991px){.visible-lg.visible-sm{display:block!important}table.visible-lg.visible-sm{display:table}tr.visible-lg.visible-sm{display:table-row!important}th.visible-lg.visible-sm,td.visible-lg.visible-sm{display:table-cell!important}}@media(min-width:992px) and (max-width:1199px){.visible-lg.visible-md{display:block!important}table.visible-lg.visible-md{display:table}tr.visible-lg.visible-md{display:table-row!important}th.visible-lg.visible-md,td.visible-lg.visible-md{display:table-cell!important}}@media(min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}th.visible-lg,td.visible-lg{display:table-cell!important}}.hidden-xs{display:block!important}table.hidden-xs{display:table}tr.hidden-xs{display:table-row!important}th.hidden-xs,td.hidden-xs{display:table-cell!important}@media(max-width:767px){.hidden-xs,tr.hidden-xs,th.hidden-xs,td.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-xs.hidden-sm,tr.hidden-xs.hidden-sm,th.hidden-xs.hidden-sm,td.hidden-xs.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-xs.hidden-md,tr.hidden-xs.hidden-md,th.hidden-xs.hidden-md,td.hidden-xs.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-xs.hidden-lg,tr.hidden-xs.hidden-lg,th.hidden-xs.hidden-lg,td.hidden-xs.hidden-lg{display:none!important}}.hidden-sm{display:block!important}table.hidden-sm{display:table}tr.hidden-sm{display:table-row!important}th.hidden-sm,td.hidden-sm{display:table-cell!important}@media(max-width:767px){.hidden-sm.hidden-xs,tr.hidden-sm.hidden-xs,th.hidden-sm.hidden-xs,td.hidden-sm.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-sm,tr.hidden-sm,th.hidden-sm,td.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-sm.hidden-md,tr.hidden-sm.hidden-md,th.hidden-sm.hidden-md,td.hidden-sm.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-sm.hidden-lg,tr.hidden-sm.hidden-lg,th.hidden-sm.hidden-lg,td.hidden-sm.hidden-lg{display:none!important}}.hidden-md{display:block!important}table.hidden-md{display:table}tr.hidden-md{display:table-row!important}th.hidden-md,td.hidden-md{display:table-cell!important}@media(max-width:767px){.hidden-md.hidden-xs,tr.hidden-md.hidden-xs,th.hidden-md.hidden-xs,td.hidden-md.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-md.hidden-sm,tr.hidden-md.hidden-sm,th.hidden-md.hidden-sm,td.hidden-md.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-md,tr.hidden-md,th.hidden-md,td.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-md.hidden-lg,tr.hidden-md.hidden-lg,th.hidden-md.hidden-lg,td.hidden-md.hidden-lg{display:none!important}}.hidden-lg{display:block!important}table.hidden-lg{display:table}tr.hidden-lg{display:table-row!important}th.hidden-lg,td.hidden-lg{display:table-cell!important}@media(max-width:767px){.hidden-lg.hidden-xs,tr.hidden-lg.hidden-xs,th.hidden-lg.hidden-xs,td.hidden-lg.hidden-xs{display:none!important}}@media(min-width:768px) and (max-width:991px){.hidden-lg.hidden-sm,tr.hidden-lg.hidden-sm,th.hidden-lg.hidden-sm,td.hidden-lg.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.hidden-lg.hidden-md,tr.hidden-lg.hidden-md,th.hidden-lg.hidden-md,td.hidden-lg.hidden-md{display:none!important}}@media(min-width:1200px){.hidden-lg,tr.hidden-lg,th.hidden-lg,td.hidden-lg{display:none!important}}.visible-print,tr.visible-print,th.visible-print,td.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table}tr.visible-print{display:table-row!important}th.visible-print,td.visible-print{display:table-cell!important}.hidden-print,tr.hidden-print,th.hidden-print,td.hidden-print{display:none!important}} \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/upgrade/bootstrap.min.js b/BlogEngine/BlogEngine.NET/setup/upgrade/bootstrap.min.js deleted file mode 100644 index 1a6258efc..000000000 --- a/BlogEngine/BlogEngine.NET/setup/upgrade/bootstrap.min.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * Bootstrap v3.0.3 (http://getbootstrap.com) - * Copyright 2013 Twitter, Inc. - * Licensed under http://www.apache.org/licenses/LICENSE-2.0 - */ - -if("undefined"==typeof jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]'),b=!0;if(a.length){var c=this.$element.find("input");"radio"===c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?b=!1:a.find(".active").removeClass("active")),b&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}b&&this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid.bs.carousel",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid.bs.carousel")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid.bs.carousel")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(jQuery); \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/upgrade/index.cshtml b/BlogEngine/BlogEngine.NET/setup/upgrade/index.cshtml deleted file mode 100644 index 5cf6a49ac..000000000 --- a/BlogEngine/BlogEngine.NET/setup/upgrade/index.cshtml +++ /dev/null @@ -1,103 +0,0 @@ -@using BlogEngine.Core -@{ - if (!Security.IsAuthorizedTo(Rights.AccessAdminPages)) - { - Security.RedirectForUnauthorizedRequest(); - } - var curVersion = BlogSettings.Instance.Version(); - var iCurVersion = int.Parse(curVersion.Replace(".", "")); -} - - - @BlogSettings.Instance.Name (@Security.CurrentMembershipUser.UserName) - - - - - - - - - - - -
- -
-

Before you begin

-
    -
  • Make sure you backup your site before upgrade
  • -
  • It is recommended to run upgrade on secondary IIS and then move upgraded site to production
  • -
-
-
- Identity: @System.Security.Principal.WindowsIdentity.GetCurrent().Name - -
-
-
-
- 1 Download latest version (depending on your connection, might take a while) - -
-
- 2 Extract downloaded files - -
-
- 3 Backup current version - -
-
- 4 Replace old files with new version - -
-
- 5 Configuration and cleanup - -
-
- There was error during upgrade. Rolling back. - -
-
-

Congratulations, your blog has been upgraded!

-

You might need to refresh browser cache for changes to show up (Ctrl+F5)

-
-
-
- - -
-
- - \ No newline at end of file diff --git a/BlogEngine/BlogEngine.NET/setup/upgrade/jquery-2.0.3.min.js b/BlogEngine/BlogEngine.NET/setup/upgrade/jquery-2.0.3.min.js deleted file mode 100644 index 2be209dd2..000000000 --- a/BlogEngine/BlogEngine.NET/setup/upgrade/jquery-2.0.3.min.js +++ /dev/null @@ -1,6 +0,0 @@ -/*! jQuery v2.0.3 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license -//@ sourceMappingURL=jquery-2.0.3.min.map -*/ -(function(e,undefined){var t,n,r=typeof undefined,i=e.location,o=e.document,s=o.documentElement,a=e.jQuery,u=e.$,l={},c=[],p="2.0.3",f=c.concat,h=c.push,d=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,x=function(e,n){return new x.fn.init(e,n,t)},b=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,w=/\S+/g,T=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^-ms-/,N=/-([\da-z])/gi,E=function(e,t){return t.toUpperCase()},S=function(){o.removeEventListener("DOMContentLoaded",S,!1),e.removeEventListener("load",S,!1),x.ready()};x.fn=x.prototype={jquery:p,constructor:x,init:function(e,t,n){var r,i;if(!e)return this;if("string"==typeof e){if(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:T.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:o,!0)),C.test(r[1])&&x.isPlainObject(t))for(r in t)x.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=o.getElementById(r[2]),i&&i.parentNode&&(this.length=1,this[0]=i),this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?n.ready(e):(e.selector!==undefined&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return d.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,t,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[1]||{},a=2),"object"==typeof s||x.isFunction(s)||(s={}),u===a&&(s=this,--a);u>a;a++)if(null!=(e=arguments[a]))for(t in e)n=s[t],r=e[t],s!==r&&(l&&r&&(x.isPlainObject(r)||(i=x.isArray(r)))?(i?(i=!1,o=n&&x.isArray(n)?n:[]):o=n&&x.isPlainObject(n)?n:{},s[t]=x.extend(l,o,r)):r!==undefined&&(s[t]=r));return s},x.extend({expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=a),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){(e===!0?--x.readyWait:x.isReady)||(x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(o,[x]),x.fn.trigger&&x(o).trigger("ready").off("ready")))},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[m.call(e)]||"object":typeof e},isPlainObject:function(e){if("object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}return!0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||o;var r=C.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:JSON.parse,parseXML:function(e){var t,n;if(!e||"string"!=typeof e)return null;try{n=new DOMParser,t=n.parseFromString(e,"text/xml")}catch(r){t=undefined}return(!t||t.getElementsByTagName("parsererror").length)&&x.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){var t,n=eval;e=x.trim(e),e&&(1===e.indexOf("use strict")?(t=o.createElement("script"),t.text=e,o.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(k,"ms-").replace(N,E)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,s=j(e);if(n){if(s){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(s){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:function(e){return null==e?"":v.call(e)},makeArray:function(e,t){var n=t||[];return null!=e&&(j(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:g.call(t,e,n)},merge:function(e,t){var n=t.length,r=e.length,i=0;if("number"==typeof n)for(;n>i;i++)e[r++]=t[i];else while(t[i]!==undefined)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){var r,i=[],o=0,s=e.length;for(n=!!n;s>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,s=j(e),a=[];if(s)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(a[a.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(a[a.length]=r);return f.apply([],a)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(n=e[t],t=e,e=n),x.isFunction(e)?(r=d.call(arguments,2),i=function(){return e.apply(t||this,r.concat(d.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):undefined},access:function(e,t,n,r,i,o,s){var a=0,u=e.length,l=null==n;if("object"===x.type(n)){i=!0;for(a in n)x.access(e,t,a,n[a],!0,o,s)}else if(r!==undefined&&(i=!0,x.isFunction(r)||(s=!0),l&&(s?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(x(e),n)})),t))for(;u>a;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:l?t.call(e):u?t(e[0],n):o},now:Date.now,swap:function(e,t,n,r){var i,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=s[o];return i}}),x.ready.promise=function(t){return n||(n=x.Deferred(),"complete"===o.readyState?setTimeout(x.ready):(o.addEventListener("DOMContentLoaded",S,!1),e.addEventListener("load",S,!1))),n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function j(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}t=x(o),function(e,undefined){var t,n,r,i,o,s,a,u,l,c,p,f,h,d,g,m,y,v="sizzle"+-new Date,b=e.document,w=0,T=0,C=st(),k=st(),N=st(),E=!1,S=function(e,t){return e===t?(E=!0,0):0},j=typeof undefined,D=1<<31,A={}.hasOwnProperty,L=[],q=L.pop,H=L.push,O=L.push,F=L.slice,P=L.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",W="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",$=W.replace("w","w#"),B="\\["+M+"*("+W+")"+M+"*(?:([*^$|!~]?=)"+M+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+$+")|)|)"+M+"*\\]",I=":("+W+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+B.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=RegExp("^"+M+"*,"+M+"*"),X=RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=RegExp(M+"*[+~]"),Y=RegExp("="+M+"*([^\\]'\"]*)"+M+"*\\]","g"),V=RegExp(I),G=RegExp("^"+$+"$"),J={ID:RegExp("^#("+W+")"),CLASS:RegExp("^\\.("+W+")"),TAG:RegExp("^("+W.replace("w","w*")+")"),ATTR:RegExp("^"+B),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:RegExp("^(?:"+R+")$","i"),needsContext:RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Q=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/^(?:input|select|textarea|button)$/i,et=/^h\d$/i,tt=/'|\\/g,nt=RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),rt=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{O.apply(L=F.call(b.childNodes),b.childNodes),L[b.childNodes.length].nodeType}catch(it){O={apply:L.length?function(e,t){H.apply(e,F.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function ot(e,t,r,i){var o,s,a,u,l,f,g,m,x,w;if((t?t.ownerDocument||t:b)!==p&&c(t),t=t||p,r=r||[],!e||"string"!=typeof e)return r;if(1!==(u=t.nodeType)&&9!==u)return[];if(h&&!i){if(o=K.exec(e))if(a=o[1]){if(9===u){if(s=t.getElementById(a),!s||!s.parentNode)return r;if(s.id===a)return r.push(s),r}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(a))&&y(t,s)&&s.id===a)return r.push(s),r}else{if(o[2])return O.apply(r,t.getElementsByTagName(e)),r;if((a=o[3])&&n.getElementsByClassName&&t.getElementsByClassName)return O.apply(r,t.getElementsByClassName(a)),r}if(n.qsa&&(!d||!d.test(e))){if(m=g=v,x=t,w=9===u&&e,1===u&&"object"!==t.nodeName.toLowerCase()){f=gt(e),(g=t.getAttribute("id"))?m=g.replace(tt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",l=f.length;while(l--)f[l]=m+mt(f[l]);x=U.test(e)&&t.parentNode||t,w=f.join(",")}if(w)try{return O.apply(r,x.querySelectorAll(w)),r}catch(T){}finally{g||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,r,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>i.cacheLength&&delete t[e.shift()],t[n]=r}return t}function at(e){return e[v]=!0,e}function ut(e){var t=p.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function lt(e,t){var n=e.split("|"),r=e.length;while(r--)i.attrHandle[n[r]]=t}function ct(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function pt(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return at(function(t){return t=+t,at(function(n,r){var i,o=e([],n.length,t),s=o.length;while(s--)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}s=ot.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},n=ot.support={},c=ot.setDocument=function(e){var t=e?e.ownerDocument||e:b,r=t.defaultView;return t!==p&&9===t.nodeType&&t.documentElement?(p=t,f=t.documentElement,h=!s(t),r&&r.attachEvent&&r!==r.top&&r.attachEvent("onbeforeunload",function(){c()}),n.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ut(function(e){return e.appendChild(t.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=ut(function(e){return e.innerHTML="
",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),n.getById=ut(function(e){return f.appendChild(e).id=v,!t.getElementsByName||!t.getElementsByName(v).length}),n.getById?(i.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){return e.getAttribute("id")===t}}):(delete i.find.ID,i.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=n.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==j?t.getElementsByTagName(e):undefined}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},i.find.CLASS=n.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==j&&h?t.getElementsByClassName(e):undefined},g=[],d=[],(n.qsa=Q.test(t.querySelectorAll))&&(ut(function(e){e.innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll(":checked").length||d.push(":checked")}),ut(function(e){var n=t.createElement("input");n.setAttribute("type","hidden"),e.appendChild(n).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&d.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||d.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),d.push(",.*:")})),(n.matchesSelector=Q.test(m=f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ut(function(e){n.disconnectedMatch=m.call(e,"div"),m.call(e,"[s!='']:x"),g.push("!=",I)}),d=d.length&&RegExp(d.join("|")),g=g.length&&RegExp(g.join("|")),y=Q.test(f.contains)||f.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},S=f.compareDocumentPosition?function(e,r){if(e===r)return E=!0,0;var i=r.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(r);return i?1&i||!n.sortDetached&&r.compareDocumentPosition(e)===i?e===t||y(b,e)?-1:r===t||y(b,r)?1:l?P.call(l,e)-P.call(l,r):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,n){var r,i=0,o=e.parentNode,s=n.parentNode,a=[e],u=[n];if(e===n)return E=!0,0;if(!o||!s)return e===t?-1:n===t?1:o?-1:s?1:l?P.call(l,e)-P.call(l,n):0;if(o===s)return ct(e,n);r=e;while(r=r.parentNode)a.unshift(r);r=n;while(r=r.parentNode)u.unshift(r);while(a[i]===u[i])i++;return i?ct(a[i],u[i]):a[i]===b?-1:u[i]===b?1:0},t):p},ot.matches=function(e,t){return ot(e,null,null,t)},ot.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&c(e),t=t.replace(Y,"='$1']"),!(!n.matchesSelector||!h||g&&g.test(t)||d&&d.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return ot(t,p,null,[e]).length>0},ot.contains=function(e,t){return(e.ownerDocument||e)!==p&&c(e),y(e,t)},ot.attr=function(e,t){(e.ownerDocument||e)!==p&&c(e);var r=i.attrHandle[t.toLowerCase()],o=r&&A.call(i.attrHandle,t.toLowerCase())?r(e,t,!h):undefined;return o===undefined?n.attributes||!h?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null:o},ot.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},ot.uniqueSort=function(e){var t,r=[],i=0,o=0;if(E=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(S),E){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return e},o=ot.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=o(t);return n},i=ot.selectors={cacheLength:50,createPseudo:at,match:J,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(nt,rt),e[3]=(e[4]||e[5]||"").replace(nt,rt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ot.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ot.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return J.CHILD.test(e[0])?null:(e[3]&&e[4]!==undefined?e[2]=e[4]:n&&V.test(n)&&(t=gt(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(nt,rt).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&C(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ot.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,p,f,h,d,g=o!==s?"nextSibling":"previousSibling",m=t.parentNode,y=a&&t.nodeName.toLowerCase(),x=!u&&!a;if(m){if(o){while(g){p=t;while(p=p[g])if(a?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;d=g="only"===e&&!d&&"nextSibling"}return!0}if(d=[s?m.firstChild:m.lastChild],s&&x){c=m[v]||(m[v]={}),l=c[e]||[],h=l[0]===w&&l[1],f=l[0]===w&&l[2],p=h&&m.childNodes[h];while(p=++h&&p&&p[g]||(f=h=0)||d.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[w,h,f];break}}else if(x&&(l=(t[v]||(t[v]={}))[e])&&l[0]===w)f=l[1];else while(p=++h&&p&&p[g]||(f=h=0)||d.pop())if((a?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(x&&((p[v]||(p[v]={}))[e]=[w,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||ot.error("unsupported pseudo: "+e);return r[v]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?at(function(e,n){var i,o=r(e,t),s=o.length;while(s--)i=P.call(e,o[s]),e[i]=!(n[i]=o[s])}):function(e){return r(e,0,n)}):r}},pseudos:{not:at(function(e){var t=[],n=[],r=a(e.replace(z,"$1"));return r[v]?at(function(e,t,n,i){var o,s=r(e,null,i,[]),a=e.length;while(a--)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:at(function(e){return function(t){return ot(e,t).length>0}}),contains:at(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:at(function(e){return G.test(e||"")||ot.error("unsupported lang: "+e),e=e.replace(nt,rt).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return et.test(e.nodeName)},input:function(e){return Z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},i.pseudos.nth=i.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=pt(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=ft(t);function dt(){}dt.prototype=i.filters=i.pseudos,i.setFilters=new dt;function gt(e,t){var n,r,o,s,a,u,l,c=k[e+" "];if(c)return t?0:c.slice(0);a=e,u=[],l=i.preFilter;while(a){(!n||(r=_.exec(a)))&&(r&&(a=a.slice(r[0].length)||a),u.push(o=[])),n=!1,(r=X.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(z," ")}),a=a.slice(n.length));for(s in i.filter)!(r=J[s].exec(a))||l[s]&&!(r=l[s](r))||(n=r.shift(),o.push({value:n,type:s,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?ot.error(e):k(e,u).slice(0)}function mt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function yt(e,t,n){var i=t.dir,o=n&&"parentNode"===i,s=T++;return t.first?function(t,n,r){while(t=t[i])if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,a){var u,l,c,p=w+" "+s;if(a){while(t=t[i])if((1===t.nodeType||o)&&e(t,n,a))return!0}else while(t=t[i])if(1===t.nodeType||o)if(c=t[v]||(t[v]={}),(l=c[i])&&l[0]===p){if((u=l[1])===!0||u===r)return u===!0}else if(l=c[i]=[p],l[1]=e(t,n,a)||r,l[1]===!0)return!0}}function vt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,s=[],a=0,u=e.length,l=null!=t;for(;u>a;a++)(o=e[a])&&(!n||n(o,r,i))&&(s.push(o),l&&t.push(a));return s}function bt(e,t,n,r,i,o){return r&&!r[v]&&(r=bt(r)),i&&!i[v]&&(i=bt(i,o)),at(function(o,s,a,u){var l,c,p,f=[],h=[],d=s.length,g=o||Ct(t||"*",a.nodeType?[a]:a,[]),m=!e||!o&&t?g:xt(g,f,e,a,u),y=n?i||(o?e:d||r)?[]:s:m;if(n&&n(m,y,a,u),r){l=xt(y,h),r(l,[],a,u),c=l.length;while(c--)(p=l[c])&&(y[h[c]]=!(m[h[c]]=p))}if(o){if(i||e){if(i){l=[],c=y.length;while(c--)(p=y[c])&&l.push(m[c]=p);i(null,y=[],l,u)}c=y.length;while(c--)(p=y[c])&&(l=i?P.call(o,p):f[c])>-1&&(o[l]=!(s[l]=p))}}else y=xt(y===s?y.splice(d,y.length):y),i?i(null,s,y,u):O.apply(s,y)})}function wt(e){var t,n,r,o=e.length,s=i.relative[e[0].type],a=s||i.relative[" "],l=s?1:0,c=yt(function(e){return e===t},a,!0),p=yt(function(e){return P.call(t,e)>-1},a,!0),f=[function(e,n,r){return!s&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;o>l;l++)if(n=i.relative[e[l].type])f=[yt(vt(f),n)];else{if(n=i.filter[e[l].type].apply(null,e[l].matches),n[v]){for(r=++l;o>r;r++)if(i.relative[e[r].type])break;return bt(l>1&&vt(f),l>1&&mt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&wt(e.slice(l,r)),o>r&&wt(e=e.slice(r)),o>r&&mt(e))}f.push(n)}return vt(f)}function Tt(e,t){var n=0,o=t.length>0,s=e.length>0,a=function(a,l,c,f,h){var d,g,m,y=[],v=0,x="0",b=a&&[],T=null!=h,C=u,k=a||s&&i.find.TAG("*",h&&l.parentNode||l),N=w+=null==C?1:Math.random()||.1;for(T&&(u=l!==p&&l,r=n);null!=(d=k[x]);x++){if(s&&d){g=0;while(m=e[g++])if(m(d,l,c)){f.push(d);break}T&&(w=N,r=++n)}o&&((d=!m&&d)&&v--,a&&b.push(d))}if(v+=x,o&&x!==v){g=0;while(m=t[g++])m(b,y,l,c);if(a){if(v>0)while(x--)b[x]||y[x]||(y[x]=q.call(f));y=xt(y)}O.apply(f,y),T&&!a&&y.length>0&&v+t.length>1&&ot.uniqueSort(f)}return T&&(w=N,u=C),b};return o?at(a):a}a=ot.compile=function(e,t){var n,r=[],i=[],o=N[e+" "];if(!o){t||(t=gt(e)),n=t.length;while(n--)o=wt(t[n]),o[v]?r.push(o):i.push(o);o=N(e,Tt(i,r))}return o};function Ct(e,t,n){var r=0,i=t.length;for(;i>r;r++)ot(e,t[r],n);return n}function kt(e,t,r,o){var s,u,l,c,p,f=gt(e);if(!o&&1===f.length){if(u=f[0]=f[0].slice(0),u.length>2&&"ID"===(l=u[0]).type&&n.getById&&9===t.nodeType&&h&&i.relative[u[1].type]){if(t=(i.find.ID(l.matches[0].replace(nt,rt),t)||[])[0],!t)return r;e=e.slice(u.shift().value.length)}s=J.needsContext.test(e)?0:u.length;while(s--){if(l=u[s],i.relative[c=l.type])break;if((p=i.find[c])&&(o=p(l.matches[0].replace(nt,rt),U.test(u[0].type)&&t.parentNode||t))){if(u.splice(s,1),e=o.length&&mt(u),!e)return O.apply(r,o),r;break}}}return a(e,f)(o,t,!h,r,U.test(e)),r}n.sortStable=v.split("").sort(S).join("")===v,n.detectDuplicates=E,c(),n.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(p.createElement("div"))}),ut(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||lt("type|href|height|width",function(e,t,n){return n?undefined:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ut(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||lt("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?undefined:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||lt(R,function(e,t,n){var r;return n?undefined:(r=e.getAttributeNode(t))&&r.specified?r.value:e[t]===!0?t.toLowerCase():null}),x.find=ot,x.expr=ot.selectors,x.expr[":"]=x.expr.pseudos,x.unique=ot.uniqueSort,x.text=ot.getText,x.isXMLDoc=ot.isXML,x.contains=ot.contains}(e);var D={};function A(e){var t=D[e]={};return x.each(e.match(w)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?D[e]||A(e):x.extend({},e);var t,n,r,i,o,s,a=[],u=!e.once&&[],l=function(p){for(t=e.memory&&p,n=!0,s=i||0,i=0,o=a.length,r=!0;a&&o>s;s++)if(a[s].apply(p[0],p[1])===!1&&e.stopOnFalse){t=!1;break}r=!1,a&&(u?u.length&&l(u.shift()):t?a=[]:c.disable())},c={add:function(){if(a){var n=a.length;(function s(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&c.has(n)||a.push(n):n&&n.length&&"string"!==r&&s(n)})})(arguments),r?o=a.length:t&&(i=n,l(t))}return this},remove:function(){return a&&x.each(arguments,function(e,t){var n;while((n=x.inArray(t,a,n))>-1)a.splice(n,1),r&&(o>=n&&o--,s>=n&&s--)}),this},has:function(e){return e?x.inArray(e,a)>-1:!(!a||!a.length)},empty:function(){return a=[],o=0,this},disable:function(){return a=u=t=undefined,this},disabled:function(){return!a},lock:function(){return u=undefined,t||c.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!a||n&&!u||(t=t||[],t=[e,t.slice?t.slice():t],r?u.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var s=o[0],a=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var s=o[2],a=o[3];r[o[1]]=s.add,a&&s.add(function(){n=a},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=s.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=d.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),s=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?d.call(arguments):r,n===a?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},a,u,l;if(r>1)for(a=Array(r),u=Array(r),l=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(s(t,l,n)).fail(o.reject).progress(s(t,u,a)):--i;return i||o.resolveWith(l,n),o.promise()}}),x.support=function(t){var n=o.createElement("input"),r=o.createDocumentFragment(),i=o.createElement("div"),s=o.createElement("select"),a=s.appendChild(o.createElement("option"));return n.type?(n.type="checkbox",t.checkOn=""!==n.value,t.optSelected=a.selected,t.reliableMarginRight=!0,t.boxSizingReliable=!0,t.pixelPosition=!1,n.checked=!0,t.noCloneChecked=n.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!a.disabled,n=o.createElement("input"),n.value="t",n.type="radio",t.radioValue="t"===n.value,n.setAttribute("checked","t"),n.setAttribute("name","t"),r.appendChild(n),t.checkClone=r.cloneNode(!0).cloneNode(!0).lastChild.checked,t.focusinBubbles="onfocusin"in e,i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===i.style.backgroundClip,x(function(){var n,r,s="padding:0;margin:0;border:0;display:block;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box",a=o.getElementsByTagName("body")[0];a&&(n=o.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",a.appendChild(n).appendChild(i),i.innerHTML="",i.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%",x.swap(a,null!=a.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===i.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(i,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(i,null)||{width:"4px"}).width,r=i.appendChild(o.createElement("div")),r.style.cssText=i.style.cssText=s,r.style.marginRight=r.style.width="0",i.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),a.removeChild(n))}),t):t}({});var L,q,H=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,O=/([A-Z])/g;function F(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=x.expando+Math.random()}F.uid=1,F.accepts=function(e){return e.nodeType?1===e.nodeType||9===e.nodeType:!0},F.prototype={key:function(e){if(!F.accepts(e))return 0;var t={},n=e[this.expando];if(!n){n=F.uid++;try{t[this.expando]={value:n},Object.defineProperties(e,t)}catch(r){t[this.expando]=n,x.extend(e,t)}}return this.cache[n]||(this.cache[n]={}),n},set:function(e,t,n){var r,i=this.key(e),o=this.cache[i];if("string"==typeof t)o[t]=n;else if(x.isEmptyObject(o))x.extend(this.cache[i],t);else for(r in t)o[r]=t[r];return o},get:function(e,t){var n=this.cache[this.key(e)];return t===undefined?n:n[t]},access:function(e,t,n){var r;return t===undefined||t&&"string"==typeof t&&n===undefined?(r=this.get(e,t),r!==undefined?r:this.get(e,x.camelCase(t))):(this.set(e,t,n),n!==undefined?n:t)},remove:function(e,t){var n,r,i,o=this.key(e),s=this.cache[o];if(t===undefined)this.cache[o]={};else{x.isArray(t)?r=t.concat(t.map(x.camelCase)):(i=x.camelCase(t),t in s?r=[t,i]:(r=i,r=r in s?[r]:r.match(w)||[])),n=r.length;while(n--)delete s[r[n]]}},hasData:function(e){return!x.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}},L=new F,q=new F,x.extend({acceptData:F.accepts,hasData:function(e){return L.hasData(e)||q.hasData(e)},data:function(e,t,n){return L.access(e,t,n)},removeData:function(e,t){L.remove(e,t)},_data:function(e,t,n){return q.access(e,t,n)},_removeData:function(e,t){q.remove(e,t)}}),x.fn.extend({data:function(e,t){var n,r,i=this[0],o=0,s=null;if(e===undefined){if(this.length&&(s=L.get(i),1===i.nodeType&&!q.get(i,"hasDataAttrs"))){for(n=i.attributes;n.length>o;o++)r=n[o].name,0===r.indexOf("data-")&&(r=x.camelCase(r.slice(5)),P(i,r,s[r]));q.set(i,"hasDataAttrs",!0)}return s}return"object"==typeof e?this.each(function(){L.set(this,e)}):x.access(this,function(t){var n,r=x.camelCase(e);if(i&&t===undefined){if(n=L.get(i,e),n!==undefined)return n;if(n=L.get(i,r),n!==undefined)return n;if(n=P(i,r,undefined),n!==undefined)return n}else this.each(function(){var n=L.get(this,r);L.set(this,r,t),-1!==e.indexOf("-")&&n!==undefined&&L.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){L.remove(this,e)})}});function P(e,t,n){var r;if(n===undefined&&1===e.nodeType)if(r="data-"+t.replace(O,"-$1").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:H.test(n)?JSON.parse(n):n}catch(i){}L.set(e,t,n)}else n=undefined;return n}x.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=q.get(e,t),n&&(!r||x.isArray(n)?r=q.access(e,t,x.makeArray(n)):r.push(n)),r||[]):undefined},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),s=function(){x.dequeue(e,t) -};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return q.get(e,n)||q.access(e,n,{empty:x.Callbacks("once memory").add(function(){q.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),n>arguments.length?x.queue(this[0],e):t===undefined?this:this.each(function(){var n=x.queue(this,e,t);x._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=x.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=undefined),e=e||"fx";while(s--)n=q.get(o[s],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(t)}});var R,M,W=/[\t\r\n\f]/g,$=/\r/g,B=/^(?:input|select|textarea|button)$/i;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})},addClass:function(e){var t,n,r,i,o,s=0,a=this.length,u="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];a>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(W," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,s=0,a=this.length,u=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];a>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(W," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,i=0,o=x(this),s=e.match(w)||[];while(t=s[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===r||"boolean"===n)&&(this.className&&q.set(this,"__className__",this.className),this.className=this.className||e===!1?"":q.get(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(W," ").indexOf(t)>=0)return!0;return!1},val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=x.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,x(this).val()):e,null==i?i="":"number"==typeof i?i+="":x.isArray(i)&&(i=x.map(i,function(e){return null==e?"":e+""})),t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&t.set(this,i,"value")!==undefined||(this.value=i))});if(i)return t=x.valHooks[i.type]||x.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&(n=t.get(i,"value"))!==undefined?n:(n=i.value,"string"==typeof n?n.replace($,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,s=o?null:[],a=o?i+1:r.length,u=0>i?a:o?i:0;for(;a>u;u++)if(n=r[u],!(!n.selected&&u!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),s=i.length;while(s--)r=i[s],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,t,n){var i,o,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===r?x.prop(e,t,n):(1===s&&x.isXMLDoc(e)||(t=t.toLowerCase(),i=x.attrHooks[t]||(x.expr.match.bool.test(t)?M:R)),n===undefined?i&&"get"in i&&null!==(o=i.get(e,t))?o:(o=x.find.attr(e,t),null==o?undefined:o):null!==n?i&&"set"in i&&(o=i.set(e,n,t))!==undefined?o:(e.setAttribute(t,n+""),n):(x.removeAttr(e,t),undefined))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(w);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,o,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return o=1!==s||!x.isXMLDoc(e),o&&(t=x.propFix[t]||t,i=x.propHooks[t]),n!==undefined?i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||B.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),M={set:function(e,t,n){return t===!1?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var n=x.expr.attrHandle[t]||x.find.attr;x.expr.attrHandle[t]=function(e,t,r){var i=x.expr.attrHandle[t],o=r?undefined:(x.expr.attrHandle[t]=undefined)!=n(e,t,r)?t.toLowerCase():null;return x.expr.attrHandle[t]=i,o}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){return x.isArray(t)?e.checked=x.inArray(x(e).val(),t)>=0:undefined}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var I=/^key/,z=/^(?:mouse|contextmenu)|click/,_=/^(?:focusinfocus|focusoutblur)$/,X=/^([^.]*)(?:\.(.+)|)$/;function U(){return!0}function Y(){return!1}function V(){try{return o.activeElement}catch(e){}}x.event={global:{},add:function(e,t,n,i,o){var s,a,u,l,c,p,f,h,d,g,m,y=q.get(e);if(y){n.handler&&(s=n,n=s.handler,o=s.selector),n.guid||(n.guid=x.guid++),(l=y.events)||(l=y.events={}),(a=y.handle)||(a=y.handle=function(e){return typeof x===r||e&&x.event.triggered===e.type?undefined:x.event.dispatch.apply(a.elem,arguments)},a.elem=e),t=(t||"").match(w)||[""],c=t.length;while(c--)u=X.exec(t[c])||[],d=m=u[1],g=(u[2]||"").split(".").sort(),d&&(f=x.event.special[d]||{},d=(o?f.delegateType:f.bindType)||d,f=x.event.special[d]||{},p=x.extend({type:d,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&x.expr.match.needsContext.test(o),namespace:g.join(".")},s),(h=l[d])||(h=l[d]=[],h.delegateCount=0,f.setup&&f.setup.call(e,i,g,a)!==!1||e.addEventListener&&e.addEventListener(d,a,!1)),f.add&&(f.add.call(e,p),p.handler.guid||(p.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,p):h.push(p),x.event.global[d]=!0);e=null}},remove:function(e,t,n,r,i){var o,s,a,u,l,c,p,f,h,d,g,m=q.hasData(e)&&q.get(e);if(m&&(u=m.events)){t=(t||"").match(w)||[""],l=t.length;while(l--)if(a=X.exec(t[l])||[],h=g=a[1],d=(a[2]||"").split(".").sort(),h){p=x.event.special[h]||{},h=(r?p.delegateType:p.bindType)||h,f=u[h]||[],a=a[2]&&RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;while(o--)c=f[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,p.remove&&p.remove.call(e,c));s&&!f.length&&(p.teardown&&p.teardown.call(e,d,m.handle)!==!1||x.removeEvent(e,h,m.handle),delete u[h])}else for(h in u)x.event.remove(e,h+t[l],n,r,!0);x.isEmptyObject(u)&&(delete m.handle,q.remove(e,"events"))}},trigger:function(t,n,r,i){var s,a,u,l,c,p,f,h=[r||o],d=y.call(t,"type")?t.type:t,g=y.call(t,"namespace")?t.namespace.split("."):[];if(a=u=r=r||o,3!==r.nodeType&&8!==r.nodeType&&!_.test(d+x.event.triggered)&&(d.indexOf(".")>=0&&(g=d.split("."),d=g.shift(),g.sort()),c=0>d.indexOf(":")&&"on"+d,t=t[x.expando]?t:new x.Event(d,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=g.join("."),t.namespace_re=t.namespace?RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=r),n=null==n?[t]:x.makeArray(n,[t]),f=x.event.special[d]||{},i||!f.trigger||f.trigger.apply(r,n)!==!1)){if(!i&&!f.noBubble&&!x.isWindow(r)){for(l=f.delegateType||d,_.test(l+d)||(a=a.parentNode);a;a=a.parentNode)h.push(a),u=a;u===(r.ownerDocument||o)&&h.push(u.defaultView||u.parentWindow||e)}s=0;while((a=h[s++])&&!t.isPropagationStopped())t.type=s>1?l:f.bindType||d,p=(q.get(a,"events")||{})[t.type]&&q.get(a,"handle"),p&&p.apply(a,n),p=c&&a[c],p&&x.acceptData(a)&&p.apply&&p.apply(a,n)===!1&&t.preventDefault();return t.type=d,i||t.isDefaultPrevented()||f._default&&f._default.apply(h.pop(),n)!==!1||!x.acceptData(r)||c&&x.isFunction(r[d])&&!x.isWindow(r)&&(u=r[c],u&&(r[c]=null),x.event.triggered=d,r[d](),x.event.triggered=undefined,u&&(r[c]=u)),t.result}},dispatch:function(e){e=x.event.fix(e);var t,n,r,i,o,s=[],a=d.call(arguments),u=(q.get(this,"events")||{})[e.type]||[],l=x.event.special[e.type]||{};if(a[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),t=0;while((i=s[t++])&&!e.isPropagationStopped()){e.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(o.namespace))&&(e.handleObj=o,e.data=o.data,r=((x.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a),r!==undefined&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,s=[],a=t.delegateCount,u=e.target;if(a&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!==this;u=u.parentNode||this)if(u.disabled!==!0||"click"!==e.type){for(r=[],n=0;a>n;n++)o=t[n],i=o.selector+" ",r[i]===undefined&&(r[i]=o.needsContext?x(i,this).index(u)>=0:x.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return t.length>a&&s.push({elem:this,handlers:t.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,s=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||o,r=n.documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||s===undefined||(e.which=1&s?1:2&s?3:4&s?2:0),e}},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,s=e,a=this.fixHooks[i];a||(this.fixHooks[i]=a=z.test(i)?this.mouseHooks:I.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new x.Event(s),t=r.length;while(t--)n=r[t],e[n]=s[n];return e.target||(e.target=o),3===e.target.nodeType&&(e.target=e.target.parentNode),a.filter?a.filter(e,s):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==V()&&this.focus?(this.focus(),!1):undefined},delegateType:"focusin"},blur:{trigger:function(){return this===V()&&this.blur?(this.blur(),!1):undefined},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&x.nodeName(this,"input")?(this.click(),!1):undefined},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)},x.Event=function(e,t){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.getPreventDefault&&e.getPreventDefault()?U:Y):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,undefined):new x.Event(e,t)},x.Event.prototype={isDefaultPrevented:Y,isPropagationStopped:Y,isImmediatePropagationStopped:Y,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=U,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=U,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=U,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&o.addEventListener(e,r,!0)},teardown:function(){0===--n&&o.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,t,n,r,i){var o,s;if("object"==typeof e){"string"!=typeof t&&(n=n||t,t=undefined);for(s in e)this.on(s,t,n,e[s],i);return this}if(null==n&&null==r?(r=t,n=t=undefined):null==r&&("string"==typeof t?(r=n,n=undefined):(r=n,n=t,t=undefined)),r===!1)r=Y;else if(!r)return this;return 1===i&&(o=r,r=function(e){return x().off(e),o.apply(this,arguments)},r.guid=o.guid||(o.guid=x.guid++)),this.each(function(){x.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,x(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return(t===!1||"function"==typeof t)&&(n=t,t=undefined),n===!1&&(n=Y),this.each(function(){x.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?x.event.trigger(e,t,n,!0):undefined}});var G=/^.[^:#\[\.,]*$/,J=/^(?:parents|prev(?:Until|All))/,Q=x.expr.match.needsContext,K={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){var e=0;for(;n>e;e++)if(x.contains(this,t[e]))return!0})},not:function(e){return this.pushStack(et(this,e||[],!0))},filter:function(e){return this.pushStack(et(this,e||[],!1))},is:function(e){return!!et(this,"string"==typeof e&&Q.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],s=Q.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(s?s.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?g.call(x(e),this[0]):g.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function Z(e,t){while((e=e[t])&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return Z(e,"nextSibling")},prev:function(e){return Z(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return e.contentDocument||x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(K[e]||x.unique(i),J.test(e)&&i.reverse()),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,t,n){var r=[],i=n!==undefined;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&x(e).is(n))break;r.push(e)}return r},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function et(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(G.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return g.call(t,e)>=0!==n})}var tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,nt=/<([\w:]+)/,rt=/<|&#?\w+;/,it=/<(?:script|style|link)/i,ot=/^(?:checkbox|radio)$/i,st=/checked\s*(?:[^=]|=\s*.checked.)/i,at=/^$|\/(?:java|ecma)script/i,ut=/^true\/(.*)/,lt=/^\s*\s*$/g,ct={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ct.optgroup=ct.option,ct.tbody=ct.tfoot=ct.colgroup=ct.caption=ct.thead,ct.th=ct.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===undefined?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=pt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=pt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(mt(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&dt(mt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(mt(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!it.test(e)&&!ct[(nt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(tt,"<$1>");try{for(;r>n;n++)t=this[n]||{},1===t.nodeType&&(x.cleanData(mt(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=f.apply([],e);var r,i,o,s,a,u,l=0,c=this.length,p=this,h=c-1,d=e[0],g=x.isFunction(d);if(g||!(1>=c||"string"!=typeof d||x.support.checkClone)&&st.test(d))return this.each(function(r){var i=p.eq(r);g&&(e[0]=d.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(r=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),i=r.firstChild,1===r.childNodes.length&&(r=i),i)){for(o=x.map(mt(r,"script"),ft),s=o.length;c>l;l++)a=r,l!==h&&(a=x.clone(a,!0,!0),s&&x.merge(o,mt(a,"script"))),t.call(this[l],a,l);if(s)for(u=o[o.length-1].ownerDocument,x.map(o,ht),l=0;s>l;l++)a=o[l],at.test(a.type||"")&&!q.access(a,"globalEval")&&x.contains(u,a)&&(a.src?x._evalUrl(a.src):x.globalEval(a.textContent.replace(lt,"")))}return this}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=[],i=x(e),o=i.length-1,s=0;for(;o>=s;s++)n=s===o?this:this.clone(!0),x(i[s])[t](n),h.apply(r,n.get());return this.pushStack(r)}}),x.extend({clone:function(e,t,n){var r,i,o,s,a=e.cloneNode(!0),u=x.contains(e.ownerDocument,e);if(!(x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(s=mt(a),o=mt(e),r=0,i=o.length;i>r;r++)yt(o[r],s[r]);if(t)if(n)for(o=o||mt(e),s=s||mt(a),r=0,i=o.length;i>r;r++)gt(o[r],s[r]);else gt(e,a);return s=mt(a,"script"),s.length>0&&dt(s,!u&&mt(e,"script")),a},buildFragment:function(e,t,n,r){var i,o,s,a,u,l,c=0,p=e.length,f=t.createDocumentFragment(),h=[];for(;p>c;c++)if(i=e[c],i||0===i)if("object"===x.type(i))x.merge(h,i.nodeType?[i]:i);else if(rt.test(i)){o=o||f.appendChild(t.createElement("div")),s=(nt.exec(i)||["",""])[1].toLowerCase(),a=ct[s]||ct._default,o.innerHTML=a[1]+i.replace(tt,"<$1>")+a[2],l=a[0];while(l--)o=o.lastChild;x.merge(h,o.childNodes),o=f.firstChild,o.textContent=""}else h.push(t.createTextNode(i));f.textContent="",c=0;while(i=h[c++])if((!r||-1===x.inArray(i,r))&&(u=x.contains(i.ownerDocument,i),o=mt(f.appendChild(i),"script"),u&&dt(o),n)){l=0;while(i=o[l++])at.test(i.type||"")&&n.push(i)}return f},cleanData:function(e){var t,n,r,i,o,s,a=x.event.special,u=0;for(;(n=e[u])!==undefined;u++){if(F.accepts(n)&&(o=n[q.expando],o&&(t=q.cache[o]))){if(r=Object.keys(t.events||{}),r.length)for(s=0;(i=r[s])!==undefined;s++)a[i]?x.event.remove(n,i):x.removeEvent(n,i,t.handle);q.cache[o]&&delete q.cache[o]}delete L.cache[n[L.expando]]}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}});function pt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ft(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ht(e){var t=ut.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function dt(e,t){var n=e.length,r=0;for(;n>r;r++)q.set(e[r],"globalEval",!t||q.get(t[r],"globalEval"))}function gt(e,t){var n,r,i,o,s,a,u,l;if(1===t.nodeType){if(q.hasData(e)&&(o=q.access(e),s=q.set(t,o),l=o.events)){delete s.handle,s.events={};for(i in l)for(n=0,r=l[i].length;r>n;n++)x.event.add(t,i,l[i][n])}L.hasData(e)&&(a=L.access(e),u=x.extend({},a),L.set(t,u))}}function mt(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return t===undefined||t&&x.nodeName(e,t)?x.merge([e],n):n}function yt(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ot.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}x.fn.extend({wrapAll:function(e){var t;return x.isFunction(e)?this.each(function(t){x(this).wrapAll(e.call(this,t))}):(this[0]&&(t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var vt,xt,bt=/^(none|table(?!-c[ea]).+)/,wt=/^margin/,Tt=RegExp("^("+b+")(.*)$","i"),Ct=RegExp("^("+b+")(?!px)[a-z%]+$","i"),kt=RegExp("^([+-])=("+b+")","i"),Nt={BODY:"block"},Et={position:"absolute",visibility:"hidden",display:"block"},St={letterSpacing:0,fontWeight:400},jt=["Top","Right","Bottom","Left"],Dt=["Webkit","O","Moz","ms"];function At(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Dt.length;while(i--)if(t=Dt[i]+n,t in e)return t;return r}function Lt(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function qt(t){return e.getComputedStyle(t,null)}function Ht(e,t){var n,r,i,o=[],s=0,a=e.length;for(;a>s;s++)r=e[s],r.style&&(o[s]=q.get(r,"olddisplay"),n=r.style.display,t?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&Lt(r)&&(o[s]=q.access(r,"olddisplay",Rt(r.nodeName)))):o[s]||(i=Lt(r),(n&&"none"!==n||!i)&&q.set(r,"olddisplay",i?n:x.css(r,"display"))));for(s=0;a>s;s++)r=e[s],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[s]||"":"none"));return e}x.fn.extend({css:function(e,t){return x.access(this,function(e,t,n){var r,i,o={},s=0;if(x.isArray(t)){for(r=qt(e),i=t.length;i>s;s++)o[t[s]]=x.css(e,t[s],!1,r);return o}return n!==undefined?x.style(e,t,n):x.css(e,t)},e,t,arguments.length>1)},show:function(){return Ht(this,!0)},hide:function(){return Ht(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Lt(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=vt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=x.camelCase(t),u=e.style;return t=x.cssProps[a]||(x.cssProps[a]=At(u,a)),s=x.cssHooks[t]||x.cssHooks[a],n===undefined?s&&"get"in s&&(i=s.get(e,!1,r))!==undefined?i:u[t]:(o=typeof n,"string"===o&&(i=kt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(x.css(e,t)),o="number"),null==n||"number"===o&&isNaN(n)||("number"!==o||x.cssNumber[a]||(n+="px"),x.support.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&(n=s.set(e,n,r))===undefined||(u[t]=n)),undefined)}},css:function(e,t,n,r){var i,o,s,a=x.camelCase(t);return t=x.cssProps[a]||(x.cssProps[a]=At(e.style,a)),s=x.cssHooks[t]||x.cssHooks[a],s&&"get"in s&&(i=s.get(e,!0,n)),i===undefined&&(i=vt(e,t,r)),"normal"===i&&t in St&&(i=St[t]),""===n||n?(o=parseFloat(i),n===!0||x.isNumeric(o)?o||0:i):i}}),vt=function(e,t,n){var r,i,o,s=n||qt(e),a=s?s.getPropertyValue(t)||s[t]:undefined,u=e.style;return s&&(""!==a||x.contains(e.ownerDocument,e)||(a=x.style(e,t)),Ct.test(a)&&wt.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=s.width,u.width=r,u.minWidth=i,u.maxWidth=o)),a};function Ot(e,t,n){var r=Tt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function Ft(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;for(;4>o;o+=2)"margin"===n&&(s+=x.css(e,n+jt[o],!0,i)),r?("content"===n&&(s-=x.css(e,"padding"+jt[o],!0,i)),"margin"!==n&&(s-=x.css(e,"border"+jt[o]+"Width",!0,i))):(s+=x.css(e,"padding"+jt[o],!0,i),"padding"!==n&&(s+=x.css(e,"border"+jt[o]+"Width",!0,i)));return s}function Pt(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=qt(e),s=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=vt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Ct.test(i))return i;r=s&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+Ft(e,t,n||(s?"border":"content"),r,o)+"px"}function Rt(e){var t=o,n=Nt[e];return n||(n=Mt(e,t),"none"!==n&&n||(xt=(xt||x("