This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set($urlName = $core_v2_urls.Current) | |
#set($isRegistered = $core_v2_user.IsRegistered($core_v2_user.Accessing.Id)) | |
## List of pages anonymous users are allowed to access | |
#set($allowedPages = [ "LogIn", "LogOut", "Message", "GetForgottenPassword", "AddUser" ]) | |
#if(!$isRegistered && !$allowedPages.Contains($urlName)) | |
$core_v2_page.Redirect($core_v2_urls.LogIn()) | |
#end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Chello.Core; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using TrelloCFD.Factories; | |
using Chello.ScrumExtensions; | |
namespace TrelloCFD.Domain | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Print 'Creating...te_vw_ModerationAction' | |
SET QUOTED_IDENTIFIER ON; | |
SET ANSI_NULLS ON; | |
GO | |
IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = OBJECT_ID(N'[dbo].[te_vw_ModerationAction]') AND OBJECTPROPERTY(id, N'IsView') = 1) | |
DROP VIEW [dbo].[te_vw_ModerationAction] | |
GO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version":"2012-10-17", | |
"Statement":[ | |
{ | |
"Sid":"ElasticBeanstalkEnvironmentPermissions", | |
"Effect":"Allow", | |
"Action":[ | |
"elasticbeanstalk:DescribeEnvironmentResources", | |
"elasticbeanstalk:DescribeEnvironments", | |
"elasticbeanstalk:DescribeEvents", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version":"2012-10-17", | |
"Statement":[ | |
{ | |
"Sid":"EC2EnvironmentInstances", | |
"Effect":"Allow", | |
"Action":[ | |
"ec2:MonitorInstances", | |
"ec2:UnmonitorInstances", | |
"ec2:RebootInstances", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Statement":[ | |
{ | |
"Effect":"Allow", | |
"Action":[ | |
"s3:ListAllMyBuckets" | |
], | |
"Resource":"arn:aws:s3:::*" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$server = '.' | |
$database = 'MyDatabase' | |
$s3Bucket = 's3-sql-backups' | |
$backupPath = 'C:\SqlBackup\' | |
$region = 'eu-west-1' | |
# accessKey and secretKey can be removed if running on an EC2 instance and using IAM roles for security | |
$accessKey = 'USER-ACCESS-KEY' | |
$secretKey = 'USER-SECRET-KEY' | |
$timestamp = get-date -format yyyyMMddHHmmss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The version number for this release | |
$versionNumber = $Env:APPVEYOR_BUILD_VERSION | |
# The Commit SHA for corresponding to this release | |
$commitId = $Env:APPVEYOR_REPO_COMMIT | |
# The notes to accompany this release, uses the commit message in this case | |
$releaseNotes = $Env:APPVEYOR_REPO_COMMIT_MESSAGE | |
# The folder artifacts are built to | |
$artifactOutputDirectory = $Env:APPVEYOR_BUILD_FOLDER | |
# The name of the file to attach to this release | |
$artifact = 'xunit-build-runner.zip' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Statement":[ | |
{ | |
"Effect":"Allow", | |
"Action":[ | |
"s3:ListAllMyBuckets" | |
], | |
"Resource":"arn:aws:s3:::*" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "Global", | |
"Effect": "Allow", | |
"Action": [ | |
"rds:DescribeEngineDefaultParameters", | |
"rds:DescribeDBInstances", | |
"rds:DescribeDBParameterGroups", |
OlderNewer