<commit_before>grails.config.locations = ["file:${userHome}/.grails/${appName}-config.properties"]

grails {
    mail {
        host = "smtp.gmail.com"
        port = 465
        username = "<EMAIL>"
        props = ["mail.smtp.auth":"true",
                 "mail.smtp.socketFactory.port":"465",
                 "mail.smtp.socketFactory.class":"javax.net.ssl.SSLSocketFactory",
                 "mail.smtp.ssl.enable": "true",
                 "mail.smtp.socketFactory.fallback":"false"]
    }
}

// environment specific settings
environments {
	development {
		dataSource {
			logSql = true
			driverClassName = "org.postgresql.Driver"
			dialect = "org.hibernate.dialect.PostgreSQLDialect"
			url = "jdbc:postgresql://localhost:5432/tekvideo-dev"
			username = "devuser"
			password = "<PASSWORD>"
		}
	}
	test {
		dataSource {
			logSql = false
			dbCreate = "create-drop"
			driverClassName = "org.postgresql.Driver"
			dialect = "org.hibernate.dialect.PostgreSQLDialect"
			url = "jdbc:postgresql://localhost:5432/tekvideo-test"
			username = "devuser"
			password = "<PASSWORD>"
		}
	}
	production {
		dataSource {
			logSql = false
			driverClassName = "org.postgresql.Driver"
			dialect = "org.hibernate.dialect.PostgreSQLDialect"
			url = "jdbc:postgresql://localhost:5432/tekvideo"
		}
	}
}

// Added by the Spring Security Core plugin:
grails.plugin.springsecurity.userLookup.userDomainClassName = 'dk.sdu.tekvideo.User'
grails.plugin.springsecurity.userLookup.authorityJoinClassName = 'dk.sdu.tekvideo.UserRole'
grails.plugin.springsecurity.authority.className = 'dk.sdu.tekvideo.Role'
grails.plugin.springsecurity.controllerAnnotations.staticRules = [
	[pattern: '/',               access: ['permitAll']],<commit_msg>Should actually fix the external config problem<commit_after>grails.config.locations = ["file:${System.getProperty("user.home")}/.grails/tekvideo-config.properties"]

grails {
    mail {
        host = "smtp.gmail.com"
        port = 465
        username = "<EMAIL>"
        props = ["mail.smtp.auth":"true",
                 "mail.smtp.socketFactory.port":"465",
                 "mail.smtp.socketFactory.class":"javax.net.ssl.SSLSocketFactory",
                 "mail.smtp.ssl.enable": "true",
                 "mail.smtp.socketFactory.fallback":"false"]
    }
}

// environment specific settings
environments {
	development {
		dataSource {
			logSql = true
			driverClassName = "org.postgresql.Driver"
			dialect = "org.hibernate.dialect.PostgreSQLDialect"
			url = "jdbc:postgresql://localhost:5432/tekvideo-dev"
		}
	}
	test {
		dataSource {
			logSql = false
			dbCreate = "create-drop"
			driverClassName = "org.postgresql.Driver"
			dialect = "org.hibernate.dialect.PostgreSQLDialect"
			url = "jdbc:postgresql://localhost:5432/tekvideo-test"
		}
	}
	production {
		dataSource {
			logSql = false
			driverClassName = "org.postgresql.Driver"
			dialect = "org.hibernate.dialect.PostgreSQLDialect"
			url = "jdbc:postgresql://localhost:5432/tekvideo"
		}
	}
}

// Added by the Spring Security Core plugin:
grails.plugin.springsecurity.userLookup.userDomainClassName = 'dk.sdu.tekvideo.User'
grails.plugin.springsecurity.userLookup.authorityJoinClassName = 'dk.sdu.tekvideo.UserRole'
grails.plugin.springsecurity.authority.className = 'dk.sdu.tekvideo.Role'
grails.plugin.springsecurity.controllerAnnotations.staticRules = [
	[pattern: '/',               access: ['permitAll']],
{'fraction_non_alphanumeric': 0.1360842844600527, 'fraction_numerical': 0.010535557506584723, 'mean_word_length': 3.321112515802781, 'pattern_counts': {'":': 10, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4719634', 'n_tokens_mistral': 1245, 'n_tokens_neox': 1106, 'n_words': 153}