commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
d8917646df8c673944db19176a58c0e38a8c076e
grails-app/views/home/templates/_projects.gsp
grails-app/views/home/templates/_projects.gsp
<script type="text/ng-template" id="projects.html"> <div class="panel panel-light" ng-controller="projectListCtrl"> <div class="panel-heading"> <h3 ng-if="type == 'public'" class="panel-title"><i class="fa fa-folder-open"></i> ${message(code: 'is.panel.project.public')}</h3> <h3 ng-i...
<script type="text/ng-template" id="projects.html"> <div class="panel panel-light" ng-controller="projectListCtrl"> <div class="panel-heading"> <h3 ng-if="type == 'public'" class="panel-title"><i class="fa fa-folder-open"></i> ${message(code: 'is.panel.project.public')}</h3> <h3 ng-i...
Fix open project in home project list
Fix open project in home project list
Groovy Server Pages
agpl-3.0
icescrum/iceScrum,icescrum/iceScrum
9db4fbc0161c642974e1deb1b17dc614a72fd1cb
grails-app/views/appinfo/memory.gsp
grails-app/views/appinfo/memory.gsp
<head> <meta name='layout' content='appinfo' /> <title>Memory</title> </head> <body> <script type='text/javascript' src='http://www.google.com/jsapi'></script> <script> google.load('visualization', '1', {'packages':['columnchart']}); </script> <table> <caption>Memory</caption> <tr> <td> <appinfo:chart name='h...
<head> <meta name='layout' content='appinfo' /> <title>Memory</title> </head> <body> <g:if test="${request.secure}"> <script type='text/javascript' src='https://www.google.com/jsapi'></script> </g:if> <g:else> <script type='text/javascript' src='http://www.google.com/jsapi'></script> </g:else> <script> google....
Use secure Google jsapi if page is https
Use secure Google jsapi if page is https
Groovy Server Pages
apache-2.0
burtbeckwith/grails-app-info,burtbeckwith/grails-app-info,burtbeckwith/grails-app-info
e0d8e0edc8b0e0a46bdbf19b44f94a2ca3ebe6ee
grails-app/views/index.gsp
grails-app/views/index.gsp
<!DOCTYPE html> <html> <head> <meta name="layout" content="main"/> <title>Welcome NSL Services</title> </head> <body> <div id="page-body" role="main"> <h1>Welcome NSL Services</h1> <p>Click one of the search links in the menu above, e.g. APNI or APC to search the APNI database.</p> </div> </body> </html>
<!DOCTYPE html> <html> <head> <meta name="layout" content="main"/> <title>NSL Services</title> </head> <body> <div id="page-body" role="main"> <h1>Welcome to NSL Services</h1> <p>Click one of the search links in the menu above, e.g. APNI or APC to search the APNI database.</p> </div> </body> </html>
Adjust title and heading of home page - minor.
Adjust title and heading of home page - minor.
Groovy Server Pages
apache-2.0
bio-org-au/services,bio-org-au/services,bio-org-au/services
f03ecc213572e3455526242d0cee92a3f4d0b66e
omod/src/main/webapp/fragments/extension.gsp
omod/src/main/webapp/fragments/extension.gsp
<% config.require("extension") config.require("contextModel") def applyMoustacheTemplate = { template, model -> model.each { template = template.replace("{{" + it.key + "}}", "" + it.value) } return template } %> <% if (config.extension.type == 'link') { %> <a h...
<% config.require("extension") config.require("contextModel") def applyMoustacheTemplate = { template, model -> model.each { template = template.replace("{{" + it.key + "}}", "" + it.value) } return template } %> <% if (config.extension.type == 'link') { %> <a h...
Support for setting the 'id' attribute of the <a> element
Support for setting the 'id' attribute of the <a> element
Groovy Server Pages
mpl-2.0
yadamz/first-module,jdegraft/openmrs-module-uicommons,yadamz/first-module,yadamz/first-module,jdegraft/openmrs-module-uicommons,jdegraft/openmrs-module-uicommons,jdegraft/openmrs-module-uicommons,yadamz/first-module
773550455c908384dbcaea999dd58e61ca374e2c
grails-app/views/templates/_header_simple.gsp
grails-app/views/templates/_header_simple.gsp
<%@ page import="streama.Settings" %> <header class="main" ng-if="!isCurrentState('player')"> <div class="pull-left flex"> <a class="logo" ui-sref="dash"> <g:imgSetting setting="${Settings.findByName('logo').value}"></g:imgSetting> <g:if test="${Settings.findByName('show_version_num').value == 'true'}...
<%@ page import="streama.Settings" %> <header class="main" ng-if="!isCurrentState('player')"> <div class="pull-left flex"> <a class="logo" ui-sref="dash"> <g:imgSetting setting="${Settings.findByName('logo').value}"></g:imgSetting> </a> </div> <i class="ion-navicon navbar-toggle collapsed" data-tog...
Remove version number from header_simple
Remove version number from header_simple
Groovy Server Pages
mit
dularion/streama,dularion/streama
ebff54874ce490e02fedd71bdc931aa9a965a1a3
rundeckapp/grails-app/views/common/_errorFragment.gsp
rundeckapp/grails-app/views/common/_errorFragment.gsp
<g:if test="${flash.error || flash.message || beanErrors || error || message}"> <div id="error" class="alert alert-dismissable alert-danger"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button> <g:enc>${flash.error?: flash.message?: error ?: message}</g:enc> ...
<g:if test="${beanErrors || flash.errors || flash.error || request.error || request.errors || flash.errorCode || request.errorCode}"> <div id="error" class="alert alert-dismissable alert-danger"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button> <g:render t...
Update errorFragment for all possible error message output
Update errorFragment for all possible error message output
Groovy Server Pages
apache-2.0
damageboy/rundeck,variacode95/rundeck,jgpacker/rundeck,rundeck/rundeck,jamieps/rundeck,variacode/rundeck,damageboy/rundeck,variacode95/rundeck,tjordanchat/rundeck,rophy/rundeck,jamieps/rundeck,paul-krohn/rundeck,damageboy/rundeck,patcadelina/rundeck,variacode/rundeck,rophy/rundeck,jgpacker/rundeck,patcadelina/rundeck,r...
2803862111da180c1932d0486d292e9ecb8c2295
grails-app/views/questions/_MultipleChoiceAnswerBlock.gsp
grails-app/views/questions/_MultipleChoiceAnswerBlock.gsp
%{-- - Copyright (C) 2013-2016 Université Toulouse 3 Paul Sabatier - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at ...
%{-- - Copyright (C) 2013-2016 Université Toulouse 3 Paul Sabatier - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at ...
Fix autoformat problem in one file
Fix autoformat problem in one file
Groovy Server Pages
agpl-3.0
TSaaP/tsaap-notes,elaastic/elaastic-questions,TSaaP/tsaap-notes,elaastic/elaastic-questions,elaastic/elaastic-questions
6be9ff1b82ef7e683abbe96a26c45de72692fb7b
grails-app/views/home/templates/_projects.gsp
grails-app/views/home/templates/_projects.gsp
<script type="text/ng-template" id="projects.html"> <div class="panel panel-light" ng-controller="projectListCtrl"> <div class="panel-heading"> <h3 ng-if="type == 'public'" class="panel-title"><i class="fa fa-folder-open"></i> ${message(code: 'is.panel.project.public')}</h3> <h3 ng-i...
<script type="text/ng-template" id="projects.html"> <div class="panel panel-light" ng-controller="projectListCtrl"> <div class="panel-heading"> <h3 ng-if="type == 'public'" class="panel-title"><i class="fa fa-folder-open"></i> ${message(code: 'is.panel.project.public')}</h3> <h3 ng-i...
Fix open project in home project list - bis
Fix open project in home project list - bis
Groovy Server Pages
agpl-3.0
icescrum/iceScrum,icescrum/iceScrum
7937c25663250051c784ed8b32dadb38ef21694d
grails-app/views/login/auth.gsp
grails-app/views/login/auth.gsp
<head> <meta name='layout' content='login' /> <title>CollabNet Subversion Edge <g:message code="login.page.auth.title" /></title> </head> <content tag="title"> <g:message code="login.page.auth.title" /> </content> <body> <div class="content"> <div class="row"> <div class="login-form"> <...
<head> <meta name='layout' content='login' /> <title>CollabNet Subversion Edge <g:message code="login.page.auth.title" /></title> </head> <content tag="title"> <g:message code="login.page.auth.title" /> </content> <body> <div class="content"> <div class="row"> <div class="login-form"> <...
Update look and feel of main application UI
[artf7028] : Update look and feel of main application UI * grails-app/views/login/auth.gsp Attempt fix functional tests by changing button control to input as before git-svn-id: ec3c21ed833430e32134c61539c75518a6355d4e@2894 03e8f217-bfc6-4b7c-bcb7-0738c91e2c5f
Groovy Server Pages
agpl-3.0
marcellodesales/svnedge-console,marcellodesales/svnedge-console,marcellodesales/svnedge-console,marcellodesales/svnedge-console,marcellodesales/svnedge-console
2c5e85bfeb59832c18bc20c0f171d55787f5ed21
branding/grails-app/views/templates/_frfooter.gsp
branding/grails-app/views/templates/_frfooter.gsp
<fr:isLoggedIn> Logged in as <strong><fr:principalName /></strong> ( TargetedID: <fr:principal /> )<br><br> </fr:isLoggedIn> Federation Registry <strong>version <g:meta name="app.version"/></strong> <br> Developed for the <a href="http://www.aaf.edu.au">Australian Access Federation</a> by <a href="http://bradleybeddo...
<fr:isLoggedIn> Logged in as <strong><fr:principalName /></strong> ( TargetedID: <fr:principal /> )<br><br> </fr:isLoggedIn> Federation Registry <strong>version <g:meta name="app.version"/></strong> <br> Developed for the <a href="http://www.aaf.edu.au">Australian Access Federation</a> by <a href="http://bradleybeddo...
Remove Grails version from footer
UI: Remove Grails version from footer
Groovy Server Pages
apache-2.0
REANNZ/federationregistry2-Tuakiri,REANNZ/federationregistry2-Tuakiri,University-of-Auckland/federationregistry2-Tuakiri,ausaccessfed/federationregistry,University-of-Auckland/federationregistry2-Tuakiri,REANNZ/federationregistry2-Tuakiri,University-of-Auckland/federationregistry2-Tuakiri,ausaccessfed/federationregistr...
3982cfa794a4880857fc29809c8ac7aa42d2a5d8
rundeckapp/grails-app/views/common/_progressBar.gsp
rundeckapp/grails-app/views/common/_progressBar.gsp
<div id="${containerId}" class="progressContainer small ${className} ${indefinite?'indefinite':''} ${(!completePercent || completePercent < 1 ) ? 'empty':''}" > <div id="${barId}" class="progressBar ${(!completePercent || completePercent < 1 ) ? 'empty':''} ${className} ${completePercent>=100?'full'...
<g:set var="usewidth" value="${width?:100}"/> <div id="${containerId}" class="progressContainer small ${className} ${indefinite?'indefinite':''} ${(!completePercent || completePercent < 1 ) ? 'empty':''}" style="width:${usewidth+9}px"> <div id="${barId}" class="progressBar ${(!completePercent || com...
Allow custom progress bar width
Allow custom progress bar width
Groovy Server Pages
apache-2.0
rundeck/rundeck,jamieps/rundeck,jamieps/rundeck,tjordanchat/rundeck,patcadelina/rundeck,paul-krohn/rundeck,variacode/rundeck,jgpacker/rundeck,variacode95/rundeck,jamieps/rundeck,rundeck/rundeck,variacode95/rundeck,rundeck/rundeck,jgpacker/rundeck,rophy/rundeck,rophy/rundeck,variacode95/rundeck,jamieps/rundeck,rundeck/r...
cb6e8a94aa9ee5853ed8bf025fc2cb5c8c233740
rundeckapp/webhooks/grails-app/views/webhook/admin.gsp
rundeckapp/webhooks/grails-app/views/webhook/admin.gsp
%{-- - Copyright 2019 Rundeck, Inc. (http://rundeck.com) - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless requir...
%{-- - Copyright 2019 Rundeck, Inc. (http://rundeck.com) - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless requir...
Change tabpage for webhooks to be unique
Change tabpage for webhooks to be unique Fixes #6472
Groovy Server Pages
apache-2.0
variacode/rundeck,variacode/rundeck,rundeck/rundeck,rundeck/rundeck,rundeck/rundeck,variacode/rundeck,rundeck/rundeck,rundeck/rundeck,variacode/rundeck,variacode/rundeck
991622c146ac4b1dbdc2bfcd69b5549c616b601f
yarm_app/grails-app/views/home/loggedInIndex.gsp
yarm_app/grails-app/views/home/loggedInIndex.gsp
<!doctype html> <html> <head> <meta name="layout" content="main"/> <title>YARM</title> <asset:link rel="icon" href="favicon.ico" type="image/x-ico" /> </head> <body> <div class="container-fluid"> <div class="row"> <div class="container-fluid"> <div class="btn-group"> <button ty...
<!doctype html> <html> <head> <meta name="layout" content="main"/> <title>YARM</title> <asset:link rel="icon" href="favicon.ico" type="image/x-ico" /> </head> <body> <div class="container-fluid"> <div class="row"> <div class="container-fluid"> <div class="btn-group"> <button ty...
Create new org restricted to admins now
Create new org restricted to admins now
Groovy Server Pages
apache-2.0
k-int/yarm,k-int/yarm,k-int/yarm
e24efe255ba9b2de0d6bb60ba30a8f8f750cbfe4
grails-app/views/widgets/quickProjects/_widget.gsp
grails-app/views/widgets/quickProjects/_widget.gsp
<is:widget widgetDefinition="${widgetDefinition}"> <div class="btn-group buttons-margin-bottom" ng-repeat="project in projects"> <a href="{{:: getProjectUrl(project) }}" class="btn btn-default" role="button">{{ ::project.name }}</a> <a href="{{:: getProjectUrl(project, 'backlog') }}" class="btn btn-...
<is:widget widgetDefinition="${widgetDefinition}"> <div class="btn-group buttons-margin-bottom" ng-repeat="project in projects"> <a href="{{:: getProjectUrl(project) }}" class="btn btn-default" role="button">{{ ::project.name }}</a> <a href="{{:: getProjectUrl(project, 'backlog') }}" class="btn btn-...
Fix layout create project buttons
Fix layout create project buttons
Groovy Server Pages
agpl-3.0
icescrum/iceScrum,icescrum/iceScrum
0cc3e4df484f2bd6052e919a947bb780eeb0e27b
grails-app/views/login/auth.gsp
grails-app/views/login/auth.gsp
<head> <meta name='layout' content='login' /> <title>CollabNet Subversion Edge <g:message code="login.page.auth.title" /></title> </head> <content tag="title"> <g:message code="login.page.auth.title" /> </content> <body> <div class="content"> <div class="row"> <div class="login-form"> <...
<head> <meta name='layout' content='login' /> <title>CollabNet Subversion Edge <g:message code="login.page.auth.title" /></title> </head> <content tag="title"> <g:message code="login.page.auth.title" /> </content> <body> <div class="content"> <div class="row"> <div class="login-form"> <...
Update look and feel of main application UI
[artf7028] : Update look and feel of main application UI * grails-app/views/login/auth.gsp Try to fix functional tests by putting Login value back on button. git-svn-id: ec3c21ed833430e32134c61539c75518a6355d4e@2889 03e8f217-bfc6-4b7c-bcb7-0738c91e2c5f
Groovy Server Pages
agpl-3.0
marcellodesales/svnedge-console,marcellodesales/svnedge-console,marcellodesales/svnedge-console,marcellodesales/svnedge-console,marcellodesales/svnedge-console
3ecd4b54e17b91e66441ecd416cc12cc2315a035
rundeckapp/grails-app/views/framework/_projectSelect.gsp
rundeckapp/grails-app/views/framework/_projectSelect.gsp
<g:set var="projectSet" value="${[]}"/> <g:each in="${projects*.name.sort()}" var="proj"> %{ projectSet << ['key': proj, 'value': proj] }% </g:each> <auth:resourceAllowed action="create" kind="project" context="application"> <g:if test="${!params.nocreate}"> %{ projectSet << [val...
<g:set var="projectSet" value="${[]}"/> <g:each in="${projects*.name.sort()}" var="proj"> %{ projectSet << ['key': proj, 'value': proj] }% </g:each> <auth:resourceAllowed action="create" kind="project" context="application"> <g:if test="${!params.nocreate}"> %{ projectSet << [val...
Remove error message in project select area
Remove error message in project select area
Groovy Server Pages
apache-2.0
paul-krohn/rundeck,jgpacker/rundeck,variacode/rundeck,patcadelina/rundeck,paul-krohn/rundeck,variacode95/rundeck,paul-krohn/rundeck,jamieps/rundeck,jgpacker/rundeck,variacode/rundeck,tjordanchat/rundeck,rophy/rundeck,patcadelina/rundeck,jamieps/rundeck,rundeck/rundeck,variacode95/rundeck,damageboy/rundeck,variacode95/r...
af62e196bb3ce54f90b9444ea353f52c1251d7f0
rundeckapp/grails-app/views/framework/_projectSelect.gsp
rundeckapp/grails-app/views/framework/_projectSelect.gsp
<g:set var="projectSet" value="${projects*.name.sort()}"/> <g:set var="selectParams" value="${selectParams?:[:]}"/> <a data-toggle="dropdown" href="#"> Project: ${session.project} <i class="caret"></i> </a> <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"> <auth:resourceAllowed...
<g:set var="projectSet" value="${projects*.name.sort()}"/> <g:set var="selectParams" value="${selectParams?:[:]}"/> <a data-toggle="dropdown" href="#"> <i class="glyphicon glyphicon-tasks"></i> ${session.project} <i class="caret"></i> </a> <ul class="dropdown-menu" role="menu" aria-l...
Add icon for projects menu
Add icon for projects menu
Groovy Server Pages
apache-2.0
jgpacker/rundeck,rophy/rundeck,jamieps/rundeck,variacode/rundeck,variacode/rundeck,variacode95/rundeck,damageboy/rundeck,rundeck/rundeck,rundeck/rundeck,rophy/rundeck,variacode/rundeck,patcadelina/rundeck,variacode/rundeck,tjordanchat/rundeck,tjordanchat/rundeck,variacode/rundeck,paul-krohn/rundeck,rundeck/rundeck,tjor...
b4ef2da9879eee1e905538fee420a69027272e07
grails-app/views/statistics/index.gsp
grails-app/views/statistics/index.gsp
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="layout" content="main" /> <title>CollabNet Subversion Edge <g:message code="statistics.page.index.title" /></title> </head> <content tag="title"> <g:message code="statistics.page.title" /...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="layout" content="main" /> <title>CollabNet Subversion Edge <g:message code="statistics.page.title" /></title> </head> <content tag="title"> <g:message code="statistics.page.title" /> ...
Fix the page title for Statistics page. Pointing to a non-existing resource.
Fix the page title for Statistics page. Pointing to a non-existing resource. git-svn-id: ec3c21ed833430e32134c61539c75518a6355d4e@3111 03e8f217-bfc6-4b7c-bcb7-0738c91e2c5f
Groovy Server Pages
agpl-3.0
marcellodesales/svnedge-console,marcellodesales/svnedge-console,marcellodesales/svnedge-console,marcellodesales/svnedge-console,marcellodesales/svnedge-console
e1d7083126f7fbfcc272f4467997700bf21c11f8
app/plugins/metadata/grails-app/views/wayf/generateconfiguration.gsp
app/plugins/metadata/grails-app/views/wayf/generateconfiguration.gsp
<?php // WAYF IDP Configuration File // Generation: ${new Date()} by Federation Registry <g:meta name="app.version"/> <g:each var="ot" in="${organizationTypes}"> $IDProviders['${ot.name}'] = array ( 'Name' => '${ot.description}', 'Type' => 'category', ); <g:each var="idp" in="${ot.idpList.sort { it.displayName }}">...
<?php // WAYF IDP Configuration File // Generation: ${new Date()} by Federation Registry <g:meta name="app.version"/> <g:each var="ot" in="${organizationTypes.sort{it.description}}"> $IDProviders['${ot.name}'] = array ( 'Name' => '${ot.description}', 'Type' => 'category', ); <g:each var="idp" in="${ot.idpList.sort ...
Correct WAYF ordering to be alphabetical on description.
metadata: Correct WAYF ordering to be alphabetical on description. Closes #61.
Groovy Server Pages
apache-2.0
ausaccessfed/federationregistry,ausaccessfed/federationregistry,University-of-Auckland/federationregistry2-Tuakiri,University-of-Auckland/federationregistry2-Tuakiri,ausaccessfed/federationregistry,REANNZ/federationregistry2-Tuakiri,University-of-Auckland/federationregistry2-Tuakiri,ausaccessfed/federationregistry,REAN...
1b48b7c23ce507f9321588a38e475ef9351c69ca
rundeckapp/grails-app/views/common/error.gsp
rundeckapp/grails-app/views/common/error.gsp
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="layout" content="base"/> <title>${flash.title ?: request.title ?: 'Error'}</title> </head> <body> <div class="row row-space"> <div class="col-sm-6 col-sm-offset-3"> <div class="panel panel-default"> <div...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta name="layout" content="base"/> <g:set var="pageTitle" value="${flash.title ?: request.title ?: request.titleCode ? g.message(code: request.titleCode) : g.message(code: 'request.error.title')}"/> <title>${pag...
Allow title code, use in page body
Allow title code, use in page body
Groovy Server Pages
apache-2.0
damageboy/rundeck,jamieps/rundeck,jgpacker/rundeck,rundeck/rundeck,paul-krohn/rundeck,variacode95/rundeck,variacode95/rundeck,jamieps/rundeck,rophy/rundeck,tjordanchat/rundeck,jamieps/rundeck,jgpacker/rundeck,variacode95/rundeck,variacode/rundeck,paul-krohn/rundeck,patcadelina/rundeck,variacode95/rundeck,rundeck/rundec...
f64096beea709fce8146c5a14358b18d423919d8
branding/grails-app/views/templates/_frfooter.gsp
branding/grails-app/views/templates/_frfooter.gsp
<fr:isLoggedIn> Logged in as <strong><fr:principalName /></strong> ( TargetedID: <small><fr:principal /></small> )<br><br> </fr:isLoggedIn> Federation Registry <strong>version <g:meta name="app.version"/></strong> <br> Developed for the <a href="http://www.aaf.edu.au">Australian Access Federation</a> by <a href="http...
<fr:isLoggedIn> Logged in as <strong><fr:principalName /></strong> ( TargetedID: <small><fr:principal /></small> )<br><br> </fr:isLoggedIn> Federation Registry <strong>version <g:meta name="app.version"/></strong> <br> Developed by the <a href="http://www.aaf.edu.au">Australian Access Federation</a>. <r:script> if...
Clean up footer text for FR
Clean up footer text for FR
Groovy Server Pages
apache-2.0
University-of-Auckland/federationregistry2-Tuakiri,ausaccessfed/federationregistry,REANNZ/federationregistry2-Tuakiri,University-of-Auckland/federationregistry2-Tuakiri,University-of-Auckland/federationregistry2-Tuakiri,REANNZ/federationregistry2-Tuakiri,ausaccessfed/federationregistry,ausaccessfed/federationregistry,R...
c8309b7082081395f83fd1981d4de25fa8b9a90a
grails-app/views/scrumOS/api.gsp
grails-app/views/scrumOS/api.gsp
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="UTF-8"> <title>iceScrum Service Swagger</title> <asset:stylesheet src="swagger-ui/swagger-ui.css"/> </head> <body> <div id="swagger-ui"></div> <asset:javascript src="swagger-ui/swagger-u...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="UTF-8"> <title>iceScrum Service Swagger</title> <asset:stylesheet src="swagger-ui/swagger-ui.css"/> </head> <body> <div id="swagger-ui"></div> <asset:javascript src="swagger-ui/swagger-u...
Remove topbar of swagger doc
Remove topbar of swagger doc
Groovy Server Pages
agpl-3.0
icescrum/iceScrum,icescrum/iceScrum
2029c1f1186eb24df1120c11652621dc590a0e56
rundeckapp/grails-app/views/scheduledExecution/_editForm.gsp
rundeckapp/grails-app/views/scheduledExecution/_editForm.gsp
<div class="pageBody form"> <g:render template="/common/errorFragment"/> <g:form controller="scheduledExecution" method="post" onsubmit="if(typeof(validateJobEditForm)=='function'){return validateJobEditForm(this);}"> <g:render template="edit" model="[scheduledExecution:scheduledExecution, crontab:cront...
<div class="pageBody "> <g:render template="/common/errorFragment"/> <g:form controller="scheduledExecution" method="post" onsubmit="if(typeof(validateJobEditForm)=='function'){return validateJobEditForm(this);}"> <g:render template="edit" model="[scheduledExecution:scheduledExecution, crontab:crontab, ...
Remove border style from edit page
Remove border style from edit page
Groovy Server Pages
apache-2.0
jgpacker/rundeck,variacode95/rundeck,variacode95/rundeck,paul-krohn/rundeck,damageboy/rundeck,jgpacker/rundeck,patcadelina/rundeck,jamieps/rundeck,damageboy/rundeck,tjordanchat/rundeck,variacode95/rundeck,rundeck/rundeck,jgpacker/rundeck,variacode/rundeck,tjordanchat/rundeck,tjordanchat/rundeck,rundeck/rundeck,paul-kro...
a4308e020515aa24578760fd0599d33bd1a39389
grails-app/views/changeset/index.gsp
grails-app/views/changeset/index.gsp
<!doctype html> <html> <head> <g:javascript library="jquery" /> <r:layoutResources/> </head> <body> <div id="content"> </div> <a href="#" id="getdata-button">Get Last Changes</a> <div id="showdata"></div> <script type="text/javascript"> ...
<!doctype html> <html> <head> <g:javascript library="jquery" /> <r:layoutResources/> <link href="http://borismoore.github.com/jsviews/demos/resources/presentation.css" rel="stylesheet" type="text/css" /> <link href="http://borismoore.github.com/jsviews/demos/resources/syntaxhighlight...
Index page updated using jsviews templating. Nice table and button to get last changes.
Index page updated using jsviews templating. Nice table and button to get last changes.
Groovy Server Pages
apache-2.0
TouK/airboat
926f67aad11a8633e20fd6451452137964804eec
rundeckapp/grails-app/views/execution/_scriptDetailDisplay.gsp
rundeckapp/grails-app/views/execution/_scriptDetailDisplay.gsp
<%-- Copyright 2010 DTO Labs, Inc. (http://dtolabs.com) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
<%-- Copyright 2010 DTO Labs, Inc. (http://dtolabs.com) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
Fix script workflow item display for windows
Fix script workflow item display for windows
Groovy Server Pages
apache-2.0
damageboy/rundeck,rophy/rundeck,variacode/rundeck,paul-krohn/rundeck,jgpacker/rundeck,variacode/rundeck,paul-krohn/rundeck,variacode/rundeck,rundeck/rundeck,rundeck/rundeck,damageboy/rundeck,damageboy/rundeck,patcadelina/rundeck,tjordanchat/rundeck,jamieps/rundeck,rundeck/rundeck,variacode95/rundeck,jgpacker/rundeck,pa...
d4967cd2b865160ad756ae143af14772a286d255
subprojects/integ-test/src/integTest/groovy/org/gradle/integtests/MixedNativeAndJvmProjectIntegrationTest.groovy
subprojects/integ-test/src/integTest/groovy/org/gradle/integtests/MixedNativeAndJvmProjectIntegrationTest.groovy
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Fix usage of now removed 'cpp-lib' and 'cpp-exe' plugins.
Fix usage of now removed 'cpp-lib' and 'cpp-exe' plugins.
Groovy
apache-2.0
gradle/gradle,blindpirate/gradle,blindpirate/gradle,gstevey/gradle,lsmaira/gradle,blindpirate/gradle,gstevey/gradle,gstevey/gradle,robinverduijn/gradle,gstevey/gradle,blindpirate/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle...
6f7b95d52cbbaa9023384b9c6fb84c54937f712a
src/main/groovy/com/github/benmanes/gradle/versions/VersionsPlugin.groovy
src/main/groovy/com/github/benmanes/gradle/versions/VersionsPlugin.groovy
/* * Copyright 2012-2014 Ben Manes. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright 2012-2014 Ben Manes. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Fix error `Failed to apply plugin 'com.github.ben-manes.versions'. > Cannot add task 'dependencyUpdates' as a task with that name already exists.` when global added plugin
Fix error `Failed to apply plugin 'com.github.ben-manes.versions'. > Cannot add task 'dependencyUpdates' as a task with that name already exists.` when global added plugin
Groovy
apache-2.0
ben-manes/gradle-versions-plugin
28dd59da170ce6ea7ddb57039ea213c452f2a1a1
examples/layer_voronoidiagram.groovy
examples/layer_voronoidiagram.groovy
import geoscript.layer.* import geoscript.feature.* import geoscript.geom.* // Get the Shapefile Shapefile shp = new Shapefile('states.shp') // Create a new Schema Schema schema = new Schema('states_voronoi', [['the_geom','MultiPolygon','EPSG:4326']]) // Create the new Layer Layer diagramLayer = shp.workspace.create...
import geoscript.layer.* import geoscript.feature.* import geoscript.geom.* // Get the Shapefile Shapefile shp = new Shapefile('states.shp') // Create a new Schema Schema schema = new Schema('states_voronoi', [['the_geom','MultiPolygon','EPSG:4326']]) // Create the new Layer Layer diagramLayer = shp.workspace.create...
Add map and styling to this example.
Add map and styling to this example.
Groovy
mit
geoscript/geoscript-groovy,sbortman/geoscript-groovy,sbortman/geoscript-groovy,geoscript/geoscript-groovy
023ed34f420056cacb8c59f637f5b0c6bba029c7
jenkins/workflow.groovy
jenkins/workflow.groovy
def src = 'https://github.com/cloudhotspot/pypackage-docker.git' node { git url: src stage 'Build Base Images' sh 'make image docker/base' sh 'make image docker/dev' sh 'make image docker/agent' stage 'Run Unit/Integration Tests' sh 'make test' stage 'Build Application Artefacts' ...
def src = 'https://github.com/cloudhotspot/pypackage-docker.git' node { try { git url: src stage 'Build Base Images' sh 'make image docker/base' sh 'make image docker/dev' sh 'make image docker/agent' stage 'Run Unit/Integration Tests' sh 'make test' ...
Add exception handling to try and capture test results under failure
Add exception handling to try and capture test results under failure
Groovy
mit
cloudhotspot/pypackage-docker,cloudhotspot/pypackage-docker,cloudhotspot/pypackage-docker,cloudhotspot/pypackage-docker
c30c768f7684b3c8ddb276468f6e8e12f7a7e056
test/projects/joda-time-test/grails-app/conf/BuildConfig.groovy
test/projects/joda-time-test/grails-app/conf/BuildConfig.groovy
grails.project.work.dir = 'target' grails.project.class.dir = 'target/classes' grails.project.test.class.dir = 'target/test-classes' grails.project.test.reports.dir = 'target/test-reports' grails.project.dependency.resolution = { inherits 'global' log 'warn' repositories { grailsPlugins() grailsHome() grails...
grails.project.work.dir = 'target' grails.project.class.dir = 'target/classes' grails.project.test.class.dir = 'target/test-classes' grails.project.test.reports.dir = 'target/test-reports' grails.project.dependency.resolution = { inherits 'global' log 'warn' repositories { grailsPlugins() grailsHome() grails...
Use latest plugins in test app
Use latest plugins in test app
Groovy
apache-2.0
tcrossland/grails-joda-time,stokito/grails-java-time,puneetbehl/grails-joda-time,stokito/grails-java-time,gpc/joda-time
0b972c7d8eb16aede15af02c17637cf698de478b
grails-app/conf/BuildConfig.groovy
grails-app/conf/BuildConfig.groovy
grails.project.class.dir = "target/classes" grails.project.test.class.dir = "target/test-classes" grails.project.test.reports.dir = "target/test-reports" grails.project.dependency.resolution = { inherits( "global" ) log "warn" repositories { grailsPlugins() grailsHome() mavenCentral() mavenRepo "http://downl...
grails.project.class.dir = "target/classes" grails.project.test.class.dir = "target/test-classes" grails.project.test.reports.dir = "target/test-reports" grails.project.dependency.resolution = { inherits( "global" ) log "warn" repositories { grailsPlugins() grailsHome() mavenCentral() mavenRepo "http://downl...
Remove reference to inline plugin.
Remove reference to inline plugin.
Groovy
apache-2.0
DialloAbdourahamane/rendering,gpc/rendering,krloss/grails-rendering,goeh/grails-rendering
fc726ccbb2420c2bc69c13106e22245c04604526
subprojects/launcher/src/integTest/groovy/org/gradle/launcher/continuous/BuildSrcContinuousIntegrationTest.groovy
subprojects/launcher/src/integTest/groovy/org/gradle/launcher/continuous/BuildSrcContinuousIntegrationTest.groovy
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Fix test after change to making continuous build use long lived process mode.
Fix test after change to making continuous build use long lived process mode. Even though we don't yet watch buildSrc task inputs, using long lived process mode means that if the buildSrc code changes we actually propagate the change to the classloader structures.
Groovy
apache-2.0
robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,gstevey/gradle,gstevey/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gstevey/gradle,gstevey/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,lsmai...
bba80af4e921ca399dcb1ac2bf5f6a4899a1af6c
buildSrc/src/main/groovy/com/uber/okbuck/composer/AndroidBuildConfigRuleComposer.groovy
buildSrc/src/main/groovy/com/uber/okbuck/composer/AndroidBuildConfigRuleComposer.groovy
package com.uber.okbuck.composer import com.uber.okbuck.core.model.AndroidTarget import com.uber.okbuck.rule.AndroidBuildConfigRule final class AndroidBuildConfigRuleComposer extends AndroidBuckRuleComposer { private AndroidBuildConfigRuleComposer() { // no instance } static AndroidBuildConfigRu...
package com.uber.okbuck.composer import com.uber.okbuck.core.model.AndroidTarget import com.uber.okbuck.rule.AndroidBuildConfigRule final class AndroidBuildConfigRuleComposer extends AndroidBuckRuleComposer { private AndroidBuildConfigRuleComposer() { // no instance } static AndroidBuildConfigRu...
Use package instead of applicationId in build config rule
Use package instead of applicationId in build config rule
Groovy
mit
aj-michael/okbuck,aj-michael/okbuck,OkBuilds/OkBuck,OkBuilds/OkBuck,Piasy/OkBuck,seanabraham/OkBuck,seanabraham/OkBuck,Piasy/OkBuck,seanabraham/OkBuck,cwoodwar6/okbuck,cwoodwar6/okbuck,cwoodwar6/okbuck
4864be4e702de7e0a1064c92e3a91b59cdb5faf6
jaxrs/src/groovy/org/grails/jaxrs/support/RequestStreamAdapter.groovy
jaxrs/src/groovy/org/grails/jaxrs/support/RequestStreamAdapter.groovy
package org.grails.jaxrs.support import java.io.InputStream; import javax.servlet.ServletInputStream import org.springframework.mock.web.MockHttpServletRequest; class RequestStreamAdapter extends MockHttpServletRequest { InputStream stream String format RequestStreamAdapter(InputS...
package org.grails.jaxrs.support import java.io.InputStream; import javax.servlet.ServletInputStream import org.springframework.mock.web.DelegatingServletInputStream; import org.springframework.mock.web.MockHttpServletRequest; class RequestStreamAdapter extends MockHttpServletRequest { InputStream str...
Fix for failing unit test
Fix for failing unit test
Groovy
apache-2.0
budjb/grails-jaxrs,budjb/grails-jaxrs,krasserm/grails-jaxrs,budjb/grails-jaxrs
d4cb52357963a3e708d3619ab40a7626cb6bef44
src/itest/groovy/com/lmax/ant/paralleljunit/IntegrationTestSpec.groovy
src/itest/groovy/com/lmax/ant/paralleljunit/IntegrationTestSpec.groovy
package com.lmax.ant.paralleljunit import org.apache.tools.ant.BuildException import org.apache.tools.ant.Project import org.apache.tools.ant.ProjectHelper import spock.lang.Ignore import spock.lang.Specification class IntegrationTestSpec extends Specification { @Ignore def 'First approach'() { // C...
package com.lmax.ant.paralleljunit import org.apache.tools.ant.BuildException import org.apache.tools.ant.Project import org.apache.tools.ant.ProjectHelper import spock.lang.Ignore import spock.lang.Specification class IntegrationTestSpec extends Specification { def 'First approach'() { // Create the An...
Remove @Ignore from integration test
Remove @Ignore from integration test
Groovy
apache-2.0
LMAX-Exchange/parallel-junit,kidaa/parallel-junit
61ef17cba76efcb8836d1ad1f23ceac07d36091a
src/whelks-core/src/main/groovy/whelks/Converters.groovy
src/whelks-core/src/main/groovy/whelks/Converters.groovy
package se.kb.libris.conch.converter import se.kb.libris.util.marc.Controlfield import se.kb.libris.util.marc.MarcRecord import se.kb.libris.util.marc.io.Iso2709MarcRecordReader class MarcJSONConverter { static String toJSONString(MarcRecord record) { def builder = new groovy.json.JsonBuilder() b...
package se.kb.libris.conch.converter import se.kb.libris.util.marc.Controlfield import se.kb.libris.util.marc.MarcRecord import se.kb.libris.util.marc.io.Iso2709MarcRecordReader /** * * A mechanical transcription of {@link MarcRecord}s into JSON. The result is * compliant with the <a href="http://dilettantes.code4...
Make the result JSON compliant with MARC-in-JSON
Make the result JSON compliant with MARC-in-JSON
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
a2334811456d708ecb7c52fa5c40f4217f33af18
web-console/grails-app/utils/brooklyn/web/console/entity/EntitySummary.groovy
web-console/grails-app/utils/brooklyn/web/console/entity/EntitySummary.groovy
package brooklyn.web.console.entity; import brooklyn.entity.Entity import brooklyn.entity.EntityClass import brooklyn.entity.Group import brooklyn.entity.Effector import brooklyn.entity.basic.AbstractEntity import brooklyn.event.AttributeSensor import brooklyn.event.Sensor import brooklyn.location.Location /** Summar...
package brooklyn.web.console.entity; import brooklyn.entity.Entity import brooklyn.entity.EntityClass import brooklyn.entity.Group /** Summary of a Brookln Entity */ public class EntitySummary { final String id; final EntityClass entityClass; final String displayName; final String applicationId; ...
Change Location to LocationSummary in EntitySummmary
Change Location to LocationSummary in EntitySummmary
Groovy
apache-2.0
aledsage/legacy-brooklyn,neykov/incubator-brooklyn,aledsage/legacy-brooklyn,aledsage/legacy-brooklyn,bmwshop/brooklyn,andreaturli/legacy-brooklyn,neykov/incubator-brooklyn,andreaturli/legacy-brooklyn,andreaturli/legacy-brooklyn,aledsage/legacy-brooklyn,bmwshop/brooklyn,neykov/incubator-brooklyn,andreaturli/legacy-brook...
ad4e3909b6ff6892997919eb8cc7a59f4c1d366f
jenkins/bootstrap-job/templates/init.groovy.d/80_configure-bootstrap-job.groovy
jenkins/bootstrap-job/templates/init.groovy.d/80_configure-bootstrap-job.groovy
println("** Configuring bootstrap job") final JOB_NAME = 'bootstrap-jenkins-instance' final JOB_COMMANDS = '''\ job('bootstrap-jenkins') { scm { git { remote { name('origin') url('{{git_repo}}') } branch('{{git_branch}}') } } ...
println("** Configuring bootstrap job") final JOB_NAME = 'bootstrap-jenkins-instance' final JOB_COMMANDS = '''\ job('bootstrap-jenkins') { scm { git { remote { name('origin') url('{{git_repo}}') } branch('{{git_branch}}') } } ...
Correct path for bootstrap job
Correct path for bootstrap job
Groovy
bsd-3-clause
jansenm/ansible-jenkins-roles
a384deb9b6e45f8bc5b2dd6084e6f2e928f93f17
groovytuttwo.groovy
groovytuttwo.groovy
class GroovyTutTwo { static void main(String[] args) { // a string variable def vocation = 'doctor'; def name = "John Doe"; println(vocation.class.name); // => java.lang.String println(name.class.name); // => java.lang.String def sentence = 'Welcome, ${name}!'; def anotherSentence = "Wel...
class GroovyTutTwo { static void main(String[] args) { // a string variable def vocation = 'doctor'; def name = "John Doe"; println(vocation.class.name); // => java.lang.String println(name.class.name); // => java.lang.String def sentence = 'Welcome, ${name}!'; def anotherSentence = "Wel...
Fix statement about 1..6 range
Fix statement about 1..6 range
Groovy
mit
nbkhope/groovy-notes
af46678401d44e20c6365a0092ae9090bc4a429d
subprojects/execution/src/test/groovy/org/gradle/internal/execution/DeferrableExecutionTest.groovy
subprojects/execution/src/test/groovy/org/gradle/internal/execution/DeferrableExecutionTest.groovy
/* * Copyright 2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Make test pass on Java 8
Make test pass on Java 8
Groovy
apache-2.0
gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle
b22d2b7a2a2364b250c7dba47bcdac30bdafcfb5
jenkins/lib/vars/notifyStatus.groovy
jenkins/lib/vars/notifyStatus.groovy
// Copyright (C) 2017 The Bazel Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
// Copyright (C) 2017 The Bazel Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
Add a message when sending an email
Add a message when sending an email Or the step appears empty in the Blue Ocean API Change-Id: I262b16ea825b2ff367b1041670057d55976d96ca
Groovy
apache-2.0
bazelbuild/continuous-integration,bazelbuild/continuous-integration,bazelbuild/continuous-integration,bazelbuild/continuous-integration,bazelbuild/continuous-integration,bazelbuild/continuous-integration,bazelbuild/continuous-integration,bazelbuild/continuous-integration
75938098b54edfd09799a29c568cc040edc36aa9
src/test/groovy/graphql/validation/SpecValidation562Test.groovy
src/test/groovy/graphql/validation/SpecValidation562Test.groovy
package graphql.validation import graphql.validation.SpecValidationSchema import graphql.parser.Parser import graphql.validation.ValidationError import graphql.validation.Validator import spock.lang.Specification /** * validation examples used in the spec in given section * http://facebook.github.io/graphql/#sec-Va...
package graphql.validation import graphql.validation.SpecValidationSchema import graphql.parser.Parser import graphql.validation.ValidationError import graphql.validation.Validator import spock.lang.Specification /** * validation examples used in the spec in given section * http://facebook.github.io/graphql/#sec-Va...
Add test for inline fragment validation
Add test for inline fragment validation
Groovy
mit
graphql-java/graphql-java,graphql-java/graphql-java
6393d7ca6eb566a5dcb25d9c13d2fea7d8a5602c
JasperGrailsPlugin.groovy
JasperGrailsPlugin.groovy
class JasperGrailsPlugin { def version = "1.11.0" def grailsVersion = "2.1.0 > *" def author = "Craig Andrews" def authorEmail = "candrews@integralblue.com" def license = "Apache License 2.0" def issueManagement = [system: "JIRA", url: "http://jira.grails.org/browse/GPJASPER"] def scm = [url...
class JasperGrailsPlugin { def version = "1.12.0-SNAPSHOT" def grailsVersion = "2.1.0 > *" def author = "Craig Andrews" def authorEmail = "candrews@integralblue.com" def license = "Apache License 2.0" def issueManagement = [system: "JIRA", url: "http://jira.grails.org/browse/GPJASPER"] def s...
Set the version to 1.12.0-SNAPSHOT
Set the version to 1.12.0-SNAPSHOT
Groovy
apache-2.0
candrews/grails-jasper,candrews/grails-jasper
ef8a4696a0b5103f62ac2ae07b559a5f323f29ee
grails-app/services/especies/TaxonService.groovy
grails-app/services/especies/TaxonService.groovy
package especies import grails.transaction.Transactional @Transactional class TaxonService { List list(params) { params = params + [max: 50] return Taxon.list(params) } Taxon save(taxon) { taxon.save() } Taxon addGbifDetails(scientificName, sourceId, gbifId, gbifName) { Taxon taxon if(source...
package especies import grails.transaction.Transactional @Transactional class TaxonService { List list(params) { params = params + [max: 50] params = params + [sort: "scientificName", order: "asc"] return Taxon.list(params) } Taxon save(taxon) { taxon.save() } Taxon addGbifDetails(scientificNa...
Sort results by scientific name
Sort results by scientific name
Groovy
mit
unepwcmc/Taxonify,unepwcmc/Taxonify
ed86afaaae4532c52a85a30bd5ddccc68f55becb
.test-infra/jenkins/job_PostCommit_Python3_Verify.groovy
.test-infra/jenkins/job_PostCommit_Python3_Verify.groovy
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Use same trigger for Py2 and Py3 postcommit test suites.
Use same trigger for Py2 and Py3 postcommit test suites.
Groovy
apache-2.0
RyanSkraba/beam,apache/beam,robertwb/incubator-beam,robertwb/incubator-beam,chamikaramj/beam,RyanSkraba/beam,robertwb/incubator-beam,robertwb/incubator-beam,robertwb/incubator-beam,apache/beam,apache/beam,RyanSkraba/beam,RyanSkraba/beam,chamikaramj/beam,lukecwik/incubator-beam,chamikaramj/beam,lukecwik/incubator-beam,r...
e0712170b9f6a89794dc45177cd67031aaf3e62c
JcaptchaGrailsPlugin.groovy
JcaptchaGrailsPlugin.groovy
/** * Simplest. Plugin. Class. Ever. * * @author LD <ld@ldaley.com> */ class JcaptchaGrailsPlugin { def title = "Grails JCaptcha Plugin" def description = 'Makes using JCaptcha within a Grails app simple' def author = "Luke Daley" def authorEmail = "ld@ldaley.com" def documentation = "http://grails.org/plugin/...
/** * Simplest. Plugin. Class. Ever. * * @author LD <ld@ldaley.com> */ class JcaptchaGrailsPlugin { def title = "Grails JCaptcha Plugin" def description = 'Makes using JCaptcha within a Grails app simple' def author = "Luke Daley" def authorEmail = "ld@ldaley.com" def documentation = "http://grails.org/plugin/...
Set the version to 1.5.0-SNAPSHOT
Set the version to 1.5.0-SNAPSHOT
Groovy
apache-2.0
candrews/grails-jcaptcha-plugin
edb8957bc22a63fdab17779fef8a6caef3391240
src/main/groovy/com/antigenomics/vdjdb/text/SegmentFilter.groovy
src/main/groovy/com/antigenomics/vdjdb/text/SegmentFilter.groovy
/* * Copyright 2015 Mikhail Shugay * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
/* * Copyright 2015 Mikhail Shugay * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Check segment match both sides (for IS data)
Check segment match both sides (for IS data)
Groovy
unknown
antigenomics/vdjdb-standalone,antigenomics/vdjdb-standalone,antigenomics/vdjdb,mikessh/vdjdb
18b4a7d814f1a3b180abb93d7240918819d0d73c
src/main/groovy/org/dm/gradle/plugins/bundle/BundlePlugin.groovy
src/main/groovy/org/dm/gradle/plugins/bundle/BundlePlugin.groovy
package org.dm.gradle.plugins.bundle import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.plugins.JavaBasePlugin import org.gradle.api.plugins.JavaPlugin /** * A bundle plugin which internally uses * <a href="http://www.aqute.biz/Bnd/Bnd">the bnd tool</a> * for generating bundles. */ c...
package org.dm.gradle.plugins.bundle import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.plugins.JavaBasePlugin import org.gradle.api.plugins.JavaPlugin /** * A bundle plugin which internally uses * <a href="http://www.aqute.biz/Bnd/Bnd">the bnd tool</a> * for generating bundles. */ c...
Use new api to support gradle-1.x and 2.0 style plugins
Use new api to support gradle-1.x and 2.0 style plugins
Groovy
apache-2.0
TomDmitriev/gradle-bundle-plugin,rotty3000/gradle-bundle-plugin
a641880a13adc7f6e201ea25dbcf57e1997eb1bd
test/integration/LogSpec.groovy
test/integration/LogSpec.groovy
import grails.plugin.spock.* import collectiontypes.list.* import spock.lang.* class LogSpec extends IntegrationSpec { def fixtureLoader def "log available in the fixtureLoader"() { when: def f = fixtureLoader.load { log.info "Shouldn't fail" } then: true //a log should be available } def "log av...
import grails.plugin.spock.* import collectiontypes.list.* import spock.lang.* class LogSpec extends IntegrationSpec { def fixtureLoader def "log available in the fixtureLoader"() { when: def f = fixtureLoader.load { log.info "Shouldn't fail" } then: notThrown(Exception) } def "log available in f...
Use more idiomatic technique for asserting that an exception was not thrown in this test.
Use more idiomatic technique for asserting that an exception was not thrown in this test.
Groovy
apache-2.0
sbglasius/fixtures,gpc/fixtures
cc60b7b5b4bd9bdaedec10edc23dfad5c2aa64e9
subprojects/groovy-sql/src/test/groovy/groovy/sql/SqlWithBuilderTest.groovy
subprojects/groovy-sql/src/test/groovy/groovy/sql/SqlWithBuilderTest.groovy
package groovy.sql import groovy.xml.MarkupBuilder /** * @author Brian McCallister * @version $Revision$ */ class SqlWithBuilderTest extends SqlHelperTestCase { void testSqlQuery() { def sql = createSql() println "Created ${sql}" def doc = new MarkupBuilder() ...
package groovy.sql /** * @author Brian McCallister * @version $Revision$ */ class SqlWithBuilderTest extends SqlHelperTestCase { void testSqlQuery() { def sql = createSql() println "Created ${sql}" def doc = new NodeBuilder() doc.people { sql.e...
Replace MarkupBuilder with NodeBuilder to remove unnecessary dependency on Groovy XML
Replace MarkupBuilder with NodeBuilder to remove unnecessary dependency on Groovy XML
Groovy
apache-2.0
kenzanmedia/incubator-groovy,adjohnson916/groovy-core,shils/groovy,dpolivaev/groovy,russel/incubator-groovy,guangying945/incubator-groovy,christoph-frick/groovy-core,adjohnson916/groovy-core,bsideup/groovy-core,kidaa/incubator-groovy,jwagenleitner/groovy,samanalysis/incubator-groovy,kenzanmedia/incubator-groovy,armsarg...
e32f751f5d4586b00a22e6f71a7aa5d3e9b1eab8
functional-tests/src/test/groovy/pages/app/HomePage.groovy
functional-tests/src/test/groovy/pages/app/HomePage.groovy
package pages.app import geb.Page import extensions.ReactJSAware class HomePage extends Page implements ReactJSAware { static at = { reactReady && title == "MOTI Hired Equipment Tracking System" && $("h1", text: startsWith("Roland Stens"))} static url = "?#/home" static content = { HomeLink { $("...
package pages.app import geb.Page import extensions.ReactJSAware class HomePage extends Page implements ReactJSAware { static at = { reactReady && title == "MOTI Hired Equipment Tracking System" && $("#navbar-current-user > li > a", text: startsWith("Hets Test"))} static url = "?#/home" static content = ...
Update page definition to recognize updated screen element.
Update page definition to recognize updated screen element.
Groovy
apache-2.0
swcurran/hets,bcgov/hets,swcurran/hets,asanchezr/hets,asanchezr/hets,bcgov/hets,bcgov/hets,swcurran/hets,asanchezr/hets,asanchezr/hets,swcurran/hets,swcurran/hets,bcgov/hets
da82b37522b349aff414f571d2037682acd84f27
src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowExtension.groovy
src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowExtension.groovy
package com.github.jengelman.gradle.plugins.shadow import org.gradle.api.Project import org.gradle.api.artifacts.SelfResolvingDependency import org.gradle.api.file.CopySpec import org.gradle.api.publish.maven.MavenPom import org.gradle.api.publish.maven.MavenPublication class ShadowExtension { CopySpec applicati...
package com.github.jengelman.gradle.plugins.shadow import org.gradle.api.Project import org.gradle.api.artifacts.ProjectDependency import org.gradle.api.artifacts.SelfResolvingDependency import org.gradle.api.file.CopySpec import org.gradle.api.publish.maven.MavenPom import org.gradle.api.publish.maven.MavenPublicatio...
Support project dependencies in the shadow configuration.
Support project dependencies in the shadow configuration.
Groovy
apache-2.0
johnrengelman/shadow,johnrengelman/shadow,johnrengelman/shadow
e9cf7227cb4022ff29ff4f1ec3c5608aa72dde73
groovySrc/us/ihmc/gradle/IHMCBuild.groovy
groovySrc/us/ihmc/gradle/IHMCBuild.groovy
package us.ihmc.gradle import org.gradle.api.Plugin import org.gradle.api.Project /** * Created by dstephen on 1/26/16. */ class IHMCBuild implements Plugin<Project> { @Override void apply(Project project) { project.configure(project) { apply plugin: 'java' apply plugin: 'gr...
package us.ihmc.gradle import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.plugins.GroovyPlugin import org.gradle.api.plugins.JavaPlugin /** * Created by dstephen on 1/26/16. */ class IHMCBuild implements Plugin<Project> { @Override void apply(Project project) { addExte...
Clean up the way the source sets structuring is done.
Clean up the way the source sets structuring is done. Detect whether or not the project has Java/Groovy applied to it instead of forcing the project to have it applied. Also set up source sets based on detection instead of giving everything the same setup.
Groovy
apache-2.0
ihmcrobotics/ihmc-build,ihmcrobotics/ihmc-build
4bda4f42db4b55e4c4a0589fcc9ea977abee2287
biz.aQute.bnd.gradle/test/aQute/bnd/gradle/TestHelper.groovy
biz.aQute.bnd.gradle/test/aQute/bnd/gradle/TestHelper.groovy
package aQute.bnd.gradle import org.gradle.api.JavaVersion import org.gradle.testkit.runner.GradleRunner class TestHelper { private TestHelper() { } public static GradleRunner getGradleRunner() { return GradleRunner.create() .withGradleVersion(JavaVersion.current().isJava9Compatible() ? "4.2.1" ...
package aQute.bnd.gradle import org.gradle.api.JavaVersion import org.gradle.testkit.runner.GradleRunner class TestHelper { private TestHelper() { } public static GradleRunner getGradleRunner() { return GradleRunner.create() .withGradleVersion(gradleVersion()) } private static String gradle...
Use gradle 4.5 as base gradle version for Java 10 testing
gradle: Use gradle 4.5 as base gradle version for Java 10 testing Signed-off-by: BJ Hargrave <3d26bb3930946e3370762d769a073cece444c2d8@bjhargrave.com>
Groovy
apache-2.0
psoreide/bnd,psoreide/bnd,psoreide/bnd
a4cad986196fd3b579904336f1a4eb9af4acf14e
src/main/groovy/edu/oregonstate/mist/locations/LocationConfiguration.groovy
src/main/groovy/edu/oregonstate/mist/locations/LocationConfiguration.groovy
package edu.oregonstate.mist.locations import com.fasterxml.jackson.annotation.JsonProperty import edu.oregonstate.mist.api.Credentials import io.dropwizard.Configuration import javax.validation.Valid import javax.validation.constraints.NotNull import io.dropwizard.db.DataSourceFactory class LocationConfiguration ex...
package edu.oregonstate.mist.locations import com.fasterxml.jackson.annotation.JsonProperty import edu.oregonstate.mist.api.Credentials import io.dropwizard.Configuration import javax.validation.Valid import javax.validation.constraints.NotNull import io.dropwizard.db.DataSourceFactory class LocationConfiguration ex...
Add the "database" config option back
Add the "database" config option back Re-add the "database" config option so that old config files still work, but make it optional, so newer config files also still work. Everybody wins!
Groovy
agpl-3.0
osu-mist/locations-api
c7ea828c3fc67ad07216607cfeaa8c0473765d95
grails-app/controllers/scareflix/SearchController.groovy
grails-app/controllers/scareflix/SearchController.groovy
package scareflix import groovy.json.* class SearchController { def index() { def baseUrl = "http://localhost:8001/movies/" def foundResults = false def resultsList // Get the search term def title = params.title def actor = params.actor // Perform the se...
package scareflix import groovy.json.* class SearchController { def index() { def baseUrl = "http://localhost:8001/movies/" def foundResults = false def resultsList // Get the search term def title = params.title def actor = params.actor // Perform the se...
Fix how empty results are handled
Fix how empty results are handled Change the search results so that it displays an error message when no results are returned for a search. Closes #1
Groovy
mit
ISC329-Team-Scare/scareflix-server
c2b9cff0e969503aefefdf63752ad72b27f487ee
src/main/groovy/com/github/sherter/googlejavaformatgradleplugin/GoogleJavaFormatExtension.groovy
src/main/groovy/com/github/sherter/googlejavaformatgradleplugin/GoogleJavaFormatExtension.groovy
package com.github.sherter.googlejavaformatgradleplugin import groovy.transform.CompileStatic @CompileStatic class GoogleJavaFormatExtension { String toolVersion = '0.1-alpha' }
package com.github.sherter.googlejavaformatgradleplugin import groovy.transform.CompileStatic @CompileStatic class GoogleJavaFormatExtension { String toolVersion = '1.0' }
Update default google-java-format version to v1.0
Update default google-java-format version to v1.0
Groovy
mit
sherter/google-java-format-gradle-plugin,sherter/google-java-format-gradle-plugin
3f65a4dbb36c37287f425a56af4011c66742aff2
subprojects/gradle-griffon-plugin/src/main/groovy/org/codehaus/griffon/gradle/GriffonExtension.groovy
subprojects/gradle-griffon-plugin/src/main/groovy/org/codehaus/griffon/gradle/GriffonExtension.groovy
/* * Copyright 2008-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright 2008-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Update default griffon version on GriffonPlugin
Update default griffon version on GriffonPlugin
Groovy
apache-2.0
griffon/griffon,griffon/griffon
c5a83c355c2a90bd38dd6cf627a25b9b86864956
db/migrate/004_release4/006_modify_audit_events.groovy
db/migrate/004_release4/006_modify_audit_events.groovy
class ModifyAuditEvents extends edu.northwestern.bioinformatics.bering.Migration { void up() { renameColumn("audit_events", "user_name", "username"); renameColumn("audit_events", "class_name", "object_class"); renameColumn("audit_event_values", "new_value", "current_value"); // exis...
class ModifyAuditEvents extends edu.northwestern.bioinformatics.bering.Migration { void up() { // have to delete current contents b/c changing nullabilities execute("DELETE FROM audit_events") renameColumn("audit_events", "user_name", "username"); renameColumn("audit_events", "class...
Modify so that down() will run
Modify so that down() will run
Groovy
bsd-3-clause
NCIP/psc,NCIP/psc,NCIP/psc,NCIP/psc
1bab41646df6f47aea84ea3febeeec1c76cd2e79
src/funcTest/groovy/me/champeau/gradle/MultiLanguageSpec.groovy
src/funcTest/groovy/me/champeau/gradle/MultiLanguageSpec.groovy
/* * Copyright 2014-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright 2014-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Disable configuration cache in tests involving the kotlin plugin
Disable configuration cache in tests involving the kotlin plugin See https://youtrack.jetbrains.com/issue/KT-33908
Groovy
apache-2.0
melix/jmh-gradle-plugin,melix/jmh-gradle-plugin
f23d67703ee98e3d0a8287d08bef7f60df543670
buildSrc/src/main/groovy/com/github/okbuilds/okbuck/composer/AptRuleComposer.groovy
buildSrc/src/main/groovy/com/github/okbuilds/okbuck/composer/AptRuleComposer.groovy
package com.github.okbuilds.okbuck.composer import com.github.okbuilds.core.model.Target import com.github.okbuilds.okbuck.rule.AptRule final class AptRuleComposer extends JavaBuckRuleComposer { private AptRuleComposer() { // no instance } static AptRule compose(Target target) { return n...
package com.github.okbuilds.okbuck.composer import com.github.okbuilds.core.model.JavaTarget import com.github.okbuilds.okbuck.rule.AptRule final class AptRuleComposer extends JavaBuckRuleComposer { private AptRuleComposer() { // no instance } static AptRule compose(JavaTarget target) { ...
Reduce apt jar target dependencies
Reduce apt jar target dependencies
Groovy
mit
Piasy/OkBuck,aj-michael/okbuck,seanabraham/OkBuck,seanabraham/OkBuck,cwoodwar6/okbuck,Piasy/OkBuck,cwoodwar6/okbuck,OkBuilds/OkBuck,seanabraham/OkBuck,OkBuilds/OkBuck,cwoodwar6/okbuck,aj-michael/okbuck
25841a1bd959e4c327e6919e5382792a1dca7c47
core/src/main/resources/hudson/triggers/SlowTriggerAdminMonitor/message.groovy
core/src/main/resources/hudson/triggers/SlowTriggerAdminMonitor/message.groovy
package hudson.triggers.SlowTriggerAdminMonitor import hudson.triggers.SlowTriggerAdminMonitor SlowTriggerAdminMonitor tam = my dl { div(class: "alert alert-warning") { form(method: "post", name: "clear", action: rootURL + "/" + tam.url + "/clear") { input(name: "clear", type: "submit", value...
package hudson.triggers.SlowTriggerAdminMonitor import hudson.triggers.SlowTriggerAdminMonitor SlowTriggerAdminMonitor tam = my dl { div(class: "alert alert-warning") { form(method: "post", name: "clear", action: rootURL + "/" + tam.url + "/clear") { input(name: "clear", type: "submit", value...
Fix Groovy compilation error that breaks the UI.
JENKINS-58938: Fix Groovy compilation error that breaks the UI.
Groovy
mit
viqueen/jenkins,recena/jenkins,patbos/jenkins,stephenc/jenkins,Vlatombe/jenkins,MarkEWaite/jenkins,ikedam/jenkins,ikedam/jenkins,jenkinsci/jenkins,damianszczepanik/jenkins,ikedam/jenkins,viqueen/jenkins,rsandell/jenkins,jenkinsci/jenkins,daniel-beck/jenkins,MarkEWaite/jenkins,daniel-beck/jenkins,oleg-nenashev/jenkins,p...
055c6755fc5a4d654897420982fab1b3a9f99efc
src/groovy/grails/plugin/remotecontrol/RemoteControlServlet.groovy
src/groovy/grails/plugin/remotecontrol/RemoteControlServlet.groovy
/* * Copyright 2010 Luke Daley * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright 2010 Luke Daley * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
Put the app in the command context as well.
Put the app in the command context as well.
Groovy
apache-2.0
puneetbehl/grails-remote-control
ac96814889ad91d2e276f745ce1c813e2484913f
build/removeModuleProperties/test/RemoveModulePropertiesTest.groovy
build/removeModuleProperties/test/RemoveModulePropertiesTest.groovy
import spock.lang.Specification import static org.jfrog.artifactory.client.ArtifactoryClient.create import groovy.json.* class RemoveModulePropertiesTest extends Specification { def 'removeModulePropertiesTest'() { setup: def baseurl = 'http://localhost:8088/artifactory' def artifactory = ...
import spock.lang.Specification import static org.jfrog.artifactory.client.ArtifactoryClient.create import groovy.json.* class RemoveModulePropertiesTest extends Specification { def 'removeModulePropertiesTest'() { setup: def baseurl = 'http://localhost:8088/artifactory' def artifactory = ...
Update path to build.json file
Update path to build.json file
Groovy
apache-2.0
JFrogDev/artifactory-user-plugins
2209a5614b3a1ef4264f146ea9e7c47754f1c4a8
app1/src/integration-test/groovy/functionaltests/InjectingDataSourceServiceSpec.groovy
app1/src/integration-test/groovy/functionaltests/InjectingDataSourceServiceSpec.groovy
package functionaltests import grails.testing.mixin.integration.Integration import spock.lang.PendingFeature import spock.lang.Specification @Integration(applicationClass = Application) class InjectingDataSourceServiceSpec extends Specification { InjectingDataSourceService injectingDataSourceService @Pendin...
package functionaltests import grails.testing.mixin.integration.Integration import spock.lang.PendingFeature import spock.lang.Specification @Integration(applicationClass = Application) class InjectingDataSourceServiceSpec extends Specification { InjectingDataSourceService injectingDataSourceService def "yo...
Remove @PendingFeature now that GORM upgraded
Remove @PendingFeature now that GORM upgraded
Groovy
apache-2.0
grails/grails3-functional-tests,grails/grails3-functional-tests
78db65ddde37dacb2efc8a5f8ce969d858300a9b
groovy/grails-test/grails-app/domain/langpop/Score.groovy
groovy/grails-test/grails-app/domain/langpop/Score.groovy
package langpop class Score { Date date Integer score static belongsTo = [lang: Lang, site: Site] static constraints = { } public void setDate(Date date) { // Remove the time component since we only want the date this.date = date.clearTime() } }
package langpop class Score { Date date Integer score static belongsTo = [lang: Lang, site: Site] static constraints = { // Only allow one score per date, lang, site date(unique: ['lang', 'site']) } void setDate(Date date) { // Remove the time ...
Use constraints to ensure scores are unique per date, lang, site
Use constraints to ensure scores are unique per date, lang, site
Groovy
mit
bmaupin/junkpile,bmaupin/junkpile,bmaupin/junkpile,bmaupin/junkpile,bmaupin/junkpile,bmaupin/junkpile,bmaupin/junkpile,bmaupin/junkpile,bmaupin/junkpile
d2209ac690842b396e1bb7f8e02c0bb91dc5c645
grails-app/services/streama/ViewingStatusService.groovy
grails-app/services/streama/ViewingStatusService.groovy
package streama import grails.transaction.Transactional import static org.springframework.http.HttpStatus.NOT_ACCEPTABLE @Transactional class ViewingStatusService { def springSecurityService def createNew(params){ User currentUser = springSecurityService.currentUser Video video = Video.get(params.getIn...
package streama import grails.transaction.Transactional import static org.springframework.http.HttpStatus.NOT_ACCEPTABLE @Transactional class ViewingStatusService { def springSecurityService def createNew(params){ User currentUser = springSecurityService.currentUser Video video = Video.get(params.getIn...
Fix viewing status for movies
Fix viewing status for movies
Groovy
mit
dularion/streama,dularion/streama
032470d7cdda5e8ad41b5095ab8e157f940ad4dc
src/test/groovy/com/tidyjava/bp/HomeControllerSpec.groovy
src/test/groovy/com/tidyjava/bp/HomeControllerSpec.groovy
package com.tidyjava.bp import spock.lang.Specification class HomeControllerSpec extends Specification { def "test"() { given: println("Test running again!") expect: false } }
package com.tidyjava.bp import spock.lang.Specification class HomeControllerSpec extends Specification { def "test"() { given: println("Test running again!") expect: true } }
Make Travis build work again
Make Travis build work again
Groovy
unlicense
tidyjava/blogging-platform
82b0da5010157f89fba4183cb684a3028f916170
omnij-core/src/test/groovy/foundation/omni/GroovyNumberIssue.groovy
omnij-core/src/test/groovy/foundation/omni/GroovyNumberIssue.groovy
package foundation.omni import spock.lang.Specification /** * Tests that illustrate a (NOW FIXED) Groovy Bug * See https://issues.apache.org/jira/browse/GROOVY-7608 */ class GroovyNumberIssue extends Specification { // Worked in Groovy 2.4.x def "Equality works for integer values"() { expect: ...
package foundation.omni import spock.lang.Specification /** * Tests that illustrate a (NOW FIXED) Groovy Bug * See https://issues.apache.org/jira/browse/GROOVY-7608 */ class GroovyNumberIssue extends Specification { // Works in Groovy 2.4.x and Groovy 2.5 def "Equality works for integer values"() { ...
Make comment a little clearer
Make comment a little clearer
Groovy
apache-2.0
OmniLayer/OmniJ,OmniLayer/OmniJ,OmniLayer/OmniJ
277d021339f8c4a4af2937f0a4fc6ca956a433e8
JcaptchaGrailsPlugin.groovy
JcaptchaGrailsPlugin.groovy
/** * Simplest. Plugin. Class. Ever. * * @author LD <ld@ldaley.com> */ class JcaptchaGrailsPlugin { def title = "Grails JCaptcha Plugin" def description = 'Makes using JCaptcha within a Grails app simple' def author = "Luke Daley" def authorEmail = "ld@ldaley.com" def documentation = "http://grails.org/plugin/...
/** * Simplest. Plugin. Class. Ever. * * @author LD <ld@ldaley.com> */ class JcaptchaGrailsPlugin { def title = "Grails JCaptcha Plugin" def description = 'Makes using JCaptcha within a Grails app simple' def author = "Luke Daley" def authorEmail = "ld@ldaley.com" def documentation = "http://grails.org/plugin/...
Set the version to 1.4.0-SNAPSHOT
Set the version to 1.4.0-SNAPSHOT
Groovy
apache-2.0
candrews/grails-jcaptcha-plugin
4c3b2e79205ac1c14d94e6826d8fa20c3888b7cd
app1/src/integration-test/groovy/functionaltests/LoadAfterSpec.groovy
app1/src/integration-test/groovy/functionaltests/LoadAfterSpec.groovy
package functionaltests import geb.spock.GebSpec import grails.testing.mixin.integration.Integration import spock.lang.Ignore @Integration class LoadAfterSpec extends GebSpec { @Ignore("Ignored until spring-security-core is migrated") void "Test override one plugin view from another plugin"() { when:...
package functionaltests import geb.spock.GebSpec import grails.testing.mixin.integration.Integration @Integration class LoadAfterSpec extends GebSpec { void "Test override one plugin view from another plugin"() { when: go '/login/auth' then: title == "My Plugin Login Auth" } ...
Revert "Ignore tests until spring-security-core is migrated"
Revert "Ignore tests until spring-security-core is migrated" This reverts commit d561833ce75d4253321b128f126ab8d227101322. Close: https://github.com/grails/grails3-functional-tests/issues/20
Groovy
apache-2.0
grails/grails3-functional-tests,grails/grails3-functional-tests
5a25aa7a5c11288609018dae2ed178d04ebe1fae
src/me/therin/brovine/TestBaskets.groovy
src/me/therin/brovine/TestBaskets.groovy
package me.therin.brovine import me.therin.mining.itemsets.data.BasketIterator import me.therin.mining.itemsets.data.Basket /** * TestBaskets.java * * TODO: Class description * * @author TODO: tcirwin * @version TODO: the version * @date Mar 09, 2013 */ class TestBaskets implements BasketIterator<Character> ...
package me.therin.brovine import me.therin.mining.itemsets.data.BasketIterator import me.therin.mining.itemsets.data.Basket /** * TestBaskets.java * * TODO: Class description * * @author TODO: tcirwin * @version TODO: the version * @date Mar 09, 2013 */ class TestBaskets implements BasketIterator<Character> ...
Return baskets in same order as unique items list
Return baskets in same order as unique items list
Groovy
apache-2.0
brovine-developers/freq-itemset-gen
e010b1d76877252af498bdbeecf4bd59a024913f
adminservice/src/intTest/groovy/nu/yona/server/AdminConnectTest.groovy
adminservice/src/intTest/groovy/nu/yona/server/AdminConnectTest.groovy
/******************************************************************************* * Copyright (c) 2022 Stichting Yona Foundation * This Source Code Form is subject to the terms of the Mozilla Public License, * v.2.0. If a copy of the MPL was not distributed with this file, You can * obtain one at https://mozilla.org...
/******************************************************************************* * Copyright (c) 2022 Stichting Yona Foundation * This Source Code Form is subject to the terms of the Mozilla Public License, * v.2.0. If a copy of the MPL was not distributed with this file, You can * obtain one at https://mozilla.org...
Change the test into a noop
Change the test into a noop
Groovy
mpl-2.0
yonadev/yona-server,yonadev/yona-server,yonadev/yona-server,yonadev/yona-server
f406993c65ad2fd6b2d82f8e65f836541466861f
grails-app/conf/UrlMappings.groovy
grails-app/conf/UrlMappings.groovy
class UrlMappings { static mappings = { "/$controller/$action?/$id?(.$format)?" { constraints { // apply constraints here } } "/"(redirect: '/annotator/index') "500"(view: '/error') "/menu"(view: '/menu') "/version.jsp"(contr...
class UrlMappings { static mappings = { "/$controller/$action?/$id?(.$format)?" { constraints { // apply constraints here } } "/"(redirect: '/annotator/index') "500"(view: '/error') "/menu"(view: '/menu') "/version.jsp"(contr...
Handle filenames at root level of data folder in addition to deep paths
Handle filenames at root level of data folder in addition to deep paths
Groovy
bsd-3-clause
erasche/Apollo,erasche/Apollo,erasche/Apollo,erasche/Apollo,erasche/Apollo
80094ddb47f0483b4bb7581b49f3d57b86dcfadb
src/test/groovy/org/mastercoin/consensus/ConsensusComparisonSpec.groovy
src/test/groovy/org/mastercoin/consensus/ConsensusComparisonSpec.groovy
package org.mastercoin.consensus import spock.lang.Specification import static org.mastercoin.CurrencyID.* /** * */ class ConsensusComparisonSpec extends Specification { static ConsensusComparison compareSmall1 = new ConsensusComparison(SnapshotData.small1(), SnapshotData.small1()) def "is immutable"() { ...
package org.mastercoin.consensus import spock.lang.Specification import static org.mastercoin.CurrencyID.* /** * */ class ConsensusComparisonSpec extends Specification { static ConsensusComparison compareSmall1 = new ConsensusComparison(SnapshotData.small1(), SnapshotData.small1()) def "is immutable"() { ...
Add explicit test of ConsensusComparison Iterator
Add explicit test of ConsensusComparison Iterator
Groovy
apache-2.0
OmniLayer/OmniJ,dexX7/OmniJ,dexX7/bitcoin-spock,dexX7/OmniJ,OmniLayer/OmniJ,dexX7/bitcoin-spock,OmniLayer/OmniJ
6b8176e1f5f60aba6b7f9dc8f12c5d5342c76847
subprojects/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/FindBugsPluginIntegrationTest.groovy
subprojects/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/FindBugsPluginIntegrationTest.groovy
/* * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Fix another broken int test
Fix another broken int test
Groovy
apache-2.0
robinverduijn/gradle,blindpirate/gradle,lsmaira/gradle,gstevey/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,gstevey/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,gstevey/gradle,gstevey/gradl...
61199b77622988d3e55081601cac3a67d8797f21
ReferenceLibrary/src/test/easyb/new_reference_creation_Story.groovy
ReferenceLibrary/src/test/easyb/new_reference_creation_Story.groovy
import referencelibrary.* import referencelibrary.UI.* import referencelibrary.data.StubDao description """A new bookreference can be added to referencelibrary""" scenario "New bookreference can be added to system", { given 'command add book is selected and reference info is typed', { io =...
import referencelibrary.* import referencelibrary.UI.* import referencelibrary.data.StubDao description """A new reference can be added to referencelibrary""" scenario "New bookreference can be added to system", { given 'command add book is selected and reference info is typed', { io = new...
Remove copy paste from easyb tests
Remove copy paste from easyb tests
Groovy
mit
Mahtimursut/ohtu
03ccdb4734722760c05f0a5e5636e7c6d2015795
src/whelks-core/src/main/groovy/whelks/Converters.groovy
src/whelks-core/src/main/groovy/whelks/Converters.groovy
package se.kb.libris.conch.converter import se.kb.libris.util.marc.Controlfield import se.kb.libris.util.marc.MarcRecord import se.kb.libris.util.marc.io.Iso2709Deserializer import se.kb.libris.util.marc.io.StrictIso2709Reader class MarcJSONConverter { static String toJSONString(MarcRecord record) { def ...
package se.kb.libris.conch.converter import se.kb.libris.util.marc.Controlfield import se.kb.libris.util.marc.MarcRecord import se.kb.libris.util.marc.io.Iso2709MarcRecordReader class MarcJSONConverter { static String toJSONString(MarcRecord record) { def builder = new groovy.json.JsonBuilder() b...
Use the higher-level Iso2709MarcRecordReader in MarcJSONConverter
Use the higher-level Iso2709MarcRecordReader in MarcJSONConverter
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
f61d8fb5c0b5e7998d2adc708ca45ad85c2496cf
src/main/groovy/jetpacker/api/configuration/Releases.groovy
src/main/groovy/jetpacker/api/configuration/Releases.groovy
package jetpacker.api.configuration import groovy.transform.CompileStatic /** * Created by donny on 30/10/16. */ @CompileStatic class Releases { String label = 'Version' String selectedVersion String defaultVersion List<String> versions }
package jetpacker.api.configuration import groovy.transform.CompileStatic /** * Created by donny on 30/10/16. */ @CompileStatic class Releases { String defaultVersion List<String> versions Property property }
Remove label and selectedVersion. Introduce property
Remove label and selectedVersion. Introduce property
Groovy
mit
jetpacker/jetpacker-api
9d56a05ab460711059f33ae046386ce30c99c48c
Projects.groovy
Projects.groovy
// Copyright 2016, RadiantBlue Technologies, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
// Copyright 2016, RadiantBlue Technologies, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
Add a real pipeline job
Add a real pipeline job
Groovy
apache-2.0
venicegeo/jenkins
638ae36f30f3b4252b7861f4ed81811a95072341
runtime/src/main/groovy/greenmoonsoftware/tidewater/config/Tidewater.groovy
runtime/src/main/groovy/greenmoonsoftware/tidewater/config/Tidewater.groovy
package greenmoonsoftware.tidewater.config class Tidewater { static final String WORKSPACE_ROOT = '/Users/robert/tmp/tidewater' }
package greenmoonsoftware.tidewater.config class Tidewater { static final String WORKSPACE_ROOT = System.properties['tidewaterHome'] ?: '/Users/robert/tmp/tidewater' }
Add ability to change tidewater home directory via system property
Add ability to change tidewater home directory via system property
Groovy
apache-2.0
greathouse/tidewater,greathouse/tidewater,greathouse/tidewater
fbd511d8c1e3f604f3341aaaf3c9e3571786a856
clean-deployments.groovy
clean-deployments.groovy
node('spin-k8s-test') { try { properties([ pipelineTriggers([cron('@daily')]) ]) checkout scm stage('Delete deployments') { def script_path = 'scripts/clean-deployments.sh' sh 'sudo chmod +x ' + script_path withCredentials([usernamePa...
node('spin-k8s-test') { try { properties([ pipelineTriggers([cron('@daily')]) ]) checkout scm stage('Delete deployments') { def script_path = 'scripts/clean-deployments.sh' sh 'sudo chmod +x ' + script_path withCredentials([usernamePa...
Fix service princpal for clean job
Fix service princpal for clean job
Groovy
mit
azure-devops/ci
928327ff07211f87d8d499d046a470edc2437b96
rundeckapp/grails-app/domain/rundeck/ScheduledExecutionStats.groovy
rundeckapp/grails-app/domain/rundeck/ScheduledExecutionStats.groovy
package rundeck import com.fasterxml.jackson.core.JsonParseException import com.fasterxml.jackson.databind.ObjectMapper class ScheduledExecutionStats { String content static belongsTo=[se:ScheduledExecution] static transients = ['contentMap'] static mapping = { content type: 'text' } ...
package rundeck import com.fasterxml.jackson.core.JsonParseException import com.fasterxml.jackson.databind.ObjectMapper class ScheduledExecutionStats { String content static belongsTo=[se:ScheduledExecution] static transients = ['contentMap'] static mapping = { version false content...
Disable optimistic concurrncy on job stats
Disable optimistic concurrncy on job stats
Groovy
apache-2.0
variacode/rundeck,variacode/rundeck,variacode/rundeck,rundeck/rundeck,variacode/rundeck,variacode/rundeck,rundeck/rundeck,rundeck/rundeck,rundeck/rundeck,rundeck/rundeck
d6e23ab255af3d881f0023c838655bb2e612adab
src/test/groovy/pl/tomaszdziurko/jvm_bloggers/view/login/UserAuthenticatorSpec.groovy
src/test/groovy/pl/tomaszdziurko/jvm_bloggers/view/login/UserAuthenticatorSpec.groovy
package pl.tomaszdziurko.jvm_bloggers.view.login import org.apache.wicket.authroles.authorization.strategies.role.Roles import spock.lang.Specification import spock.lang.Subject class UserAuthenticatorSpec extends Specification { @Subject UserAuthenticator authenticator = new UserAuthenticator(); def "S...
package pl.tomaszdziurko.jvm_bloggers.view.login import org.apache.wicket.authroles.authorization.strategies.role.Roles import spock.lang.Specification import spock.lang.Subject class UserAuthenticatorSpec extends Specification { static String PASSWORD = "secretPassword"; @Subject UserAuthenticator auth...
Set password via property before tests are executed
Set password via property before tests are executed
Groovy
mit
sobkowiak/jvm-bloggers,kraluk/jvm-bloggers,szpak/jvm-bloggers,jvm-bloggers/jvm-bloggers,szpak/jvm-bloggers,szpak/jvm-bloggers,kraluk/jvm-bloggers,jvm-bloggers/jvm-bloggers,tdziurko/jvm-bloggers,kraluk/jvm-bloggers,kraluk/jvm-bloggers,szpak/jvm-bloggers,jvm-bloggers/jvm-bloggers,tdziurko/jvm-bloggers,sobkowiak/jvm-blogg...
371afe70e739edd60f41352efb11017747e55bae
smuggler-plugin-2.0.0/src/main/groovy/io/mironov/smuggler/plugin/SmugglerPlugin.groovy
smuggler-plugin-2.0.0/src/main/groovy/io/mironov/smuggler/plugin/SmugglerPlugin.groovy
package io.mironov.smuggler.plugin import org.gradle.api.Plugin import org.gradle.api.Project public class SmugglerPlugin implements Plugin<Project> { @Override public void apply(final Project project) { onPrepareDependencies(project) onPrepareTransforms(project) } private static void onPrepareDepend...
package io.mironov.smuggler.plugin import org.gradle.api.Plugin import org.gradle.api.Project public class SmugglerPlugin implements Plugin<Project> { @Override public void apply(final Project project) { onPrepareDependencies(project) onPrepareTransforms(project) } private static void onPrepareDepend...
Add smuggler-runtime to androidTestCompile dependencies
Add smuggler-runtime to androidTestCompile dependencies
Groovy
mit
nsk-mironov/smuggler
1788207784eef420c5f33a8b174b7cbd37cb95c9
rundeckapp/src/groovy/com/dtolabs/rundeck/server/plugins/storage/DbStoragePlugin.groovy
rundeckapp/src/groovy/com/dtolabs/rundeck/server/plugins/storage/DbStoragePlugin.groovy
package com.dtolabs.rundeck.server.plugins.storage import com.dtolabs.rundeck.core.plugins.Plugin import com.dtolabs.rundeck.core.storage.ResourceMeta import com.dtolabs.rundeck.core.storage.StorageUtil import com.dtolabs.rundeck.plugins.ServiceNameConstants import com.dtolabs.rundeck.plugins.descriptions.PluginDescri...
package com.dtolabs.rundeck.server.plugins.storage import com.dtolabs.rundeck.core.plugins.Plugin import com.dtolabs.rundeck.core.storage.ResourceMeta import com.dtolabs.rundeck.core.storage.StorageUtil import com.dtolabs.rundeck.plugins.ServiceNameConstants import com.dtolabs.rundeck.plugins.descriptions.PluginDescri...
Use null namespace if config is blank
Use null namespace if config is blank
Groovy
apache-2.0
jgpacker/rundeck,variacode/rundeck,jgpacker/rundeck,jgpacker/rundeck,patcadelina/rundeck,paul-krohn/rundeck,jamieps/rundeck,variacode/rundeck,tjordanchat/rundeck,variacode95/rundeck,variacode/rundeck,jamieps/rundeck,variacode95/rundeck,tjordanchat/rundeck,patcadelina/rundeck,rundeck/rundeck,rundeck/rundeck,tjordanchat/...
96668f618113468d6e59428c403e97d5a792ff93
src/groovy/org/grails/plugin/hibernate/filter/HibernateFilterDomainConfiguration.groovy
src/groovy/org/grails/plugin/hibernate/filter/HibernateFilterDomainConfiguration.groovy
package org.grails.plugin.hibernate.filter import org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsAnnotationConfiguration import org.codehaus.groovy.grails.commons.GrailsApplication import org.hibernate.MappingException class HibernateFilterDomainConfiguration extends GrailsAnnotationConfiguration { private Grai...
package org.grails.plugin.hibernate.filter import org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsAnnotationConfiguration import org.codehaus.groovy.grails.commons.GrailsApplication import org.hibernate.MappingException class HibernateFilterDomainConfiguration extends GrailsAnnotationConfiguration { private Grai...
Fix NPE that occurs during schema update
Fix NPE that occurs during schema update https://jira.grails.org/browse/GPHIBERNATEFILTER-17
Groovy
apache-2.0
burtbeckwith/grails-hibernate-filter
6be6b5f72d62936b81e93e1916038b76a0ea2273
src/main/groovy/com/recknerd/flexget/domain/model/FlexGetTemplateGroup.groovy
src/main/groovy/com/recknerd/flexget/domain/model/FlexGetTemplateGroup.groovy
package com.recknerd.flexget.domain.model import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty import groovy.util.logging.Slf4j import jdk.nashorn.internal.objects.annotations.Getter @JsonIgnoreProperties(ignoreUnknown = true) @Slf4j class FlexGetTemplateGr...
package com.recknerd.flexget.domain.model import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonProperty import groovy.util.logging.Slf4j import jdk.nashorn.internal.objects.annotations.Getter @JsonIgnoreProperties(ignoreUnknown = true) @Slf4j class FlexGetTemplateGr...
Remove quality from tv template
Remove quality from tv template
Groovy
mit
jreckner/flexget-series-ui,jreckner/flexget-series-ui
432304bb02d23b22b1ac8c94c5352e5034dbbde9
src/main/webapp/WEB-INF/groovy/inbox.groovy
src/main/webapp/WEB-INF/groovy/inbox.groovy
import groovyx.net.http.RESTClient if(params.clnt) { def url = new URL(request.requestURL.toString()) def ctxPath = request.contextPath ? "/$request.contextPath" : '' def rest = new RESTClient(new URL("$url.protocol://$url.host:${url.port}$ctxPath/api/")) request.setAttribute('metadata', rest.get(path: 'messages',...
import groovyx.net.http.RESTClient if(params.clnt) { def url = new URL(request.requestURL.toString()) def ctxPath = request.contextPath ? "/$request.contextPath" : '' def rest = new RESTClient(new URL("$url.protocol://localhost:${url.port}$ctxPath/api/")) request.setAttribute('metadata', rest.get(path: 'messages',...
Use localhost for internal api client calls
Use localhost for internal api client calls
Groovy
apache-2.0
Slugger/pseudosmtp,Slugger/pseudosmtp
5225feb9e5d4d6186616b4b4707d8c0306d86633
src/groovy/com/radiadesign/relationalscope/NotRelationalScope.groovy
src/groovy/com/radiadesign/relationalscope/NotRelationalScope.groovy
package com.radiadesign.relationalscope import org.hibernate.criterion.* import org.codehaus.groovy.grails.commons.DefaultGrailsDomainClass class NotRelationalScope extends OrRelationalScope { // -------------------------------------------------------------------------- // Constructors // -------------------...
package com.radiadesign.relationalscope import org.hibernate.criterion.* import org.codehaus.groovy.grails.commons.DefaultGrailsDomainClass class NotRelationalScope extends OrRelationalScope { // -------------------------------------------------------------------------- // Constructors // -------------------...
Use options.associationPath instead of just associationPath.
Use options.associationPath instead of just associationPath.
Groovy
mit
jcoleman/RelationalScopeQueryPlugin,jcoleman/RelationalScopeQueryPlugin
d5b34685cb98142dd2529f3c9ea1238bbf25fe68
src/main/groovy/com/wiredforcode/zim/config/MongoConfiguration.groovy
src/main/groovy/com/wiredforcode/zim/config/MongoConfiguration.groovy
package com.wiredforcode.zim.config import com.mongodb.Mongo import org.springframework.context.annotation.Configuration import org.springframework.data.mongodb.config.AbstractMongoConfiguration import static com.mongodb.WriteConcern.SAFE @Configuration public class MongoConfiguration extends AbstractMongoConfigurati...
package com.wiredforcode.zim.config import com.mongodb.Mongo import org.springframework.context.annotation.Configuration import org.springframework.data.mongodb.config.AbstractMongoConfiguration @Configuration public class MongoConfiguration extends AbstractMongoConfiguration { String getDatabaseName() { ...
Trim excessive code from mongo config.
Trim excessive code from mongo config.
Groovy
apache-2.0
marcoVermeulen/zim-service,marc0der/zim-service
d8018caf6e9f3e5d93a4defafa3e5876238cb121
src/main/groovy/nebula/test/dependencies/DependencyGraphBuilder.groovy
src/main/groovy/nebula/test/dependencies/DependencyGraphBuilder.groovy
package nebula.test.dependencies class DependencyGraphBuilder { private static final DEFAULT_STATUS = 'integration' Map<String, DependencyGraphNode> modules = [:] DependencyGraphBuilder addModule(String coordinate) { def (group, artifact, version, status) = coordinate.trim().tokenize(':') ...
package nebula.test.dependencies class DependencyGraphBuilder { private static final DEFAULT_STATUS = 'integration' Map<String, DependencyGraphNode> modules = [:] DependencyGraphBuilder addModule(String coordinate) { def (group, artifact, version, status) = coordinate.trim().tokenize(':') ...
Add new method that defautls to integration
Add new method that defautls to integration
Groovy
apache-2.0
nebula-plugins/nebula-test
6e339e80b6b8b99f8d23fa25323baa815bcd15fe
src/main/groovy/com/dorongold/gradle/tasktree/TaskTreePlugin.groovy
src/main/groovy/com/dorongold/gradle/tasktree/TaskTreePlugin.groovy
package com.dorongold.gradle.tasktree import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.Task import org.gradle.api.invocation.Gradle /** * User: dorongold * Date: 16/09/15 */ class TaskTreePlugin implements Plugin<Project> { void apply(Project project) { project.allproje...
package com.dorongold.gradle.tasktree import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.Task import org.gradle.api.plugins.PluginInstantiationException /** * User: dorongold * Date: 16/09/15 */ class TaskTreePlugin implements Plugin<Project> { public static final String TASK_TR...
Verify that the taskTree task name does not already exist
Verify that the taskTree task name does not already exist
Groovy
apache-2.0
dorongold/gradle-task-tree
c0121000333268074cb1f854d77d60d7c2f69214
src/test/groovy/org/gradle/plugins/signing/SignOperationSpec.groovy
src/test/groovy/org/gradle/plugins/signing/SignOperationSpec.groovy
/* * Copyright 2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
/* * Copyright 2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
Remove the signature before running the test.
Remove the signature before running the test.
Groovy
apache-2.0
gradle/gradle,gstevey/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,gstevey/gradle,lsmaira/gradle,gstevey/gradle,blindpirate/gradle,gstevey/gradle,lsmaira/gradle,gstevey/gradle,gradle/gradle,lsmaira/gradle,blindpirate/gradle,lsmaira/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gra...
51eca40e78ad7320d0ceb0eec106da965590c904
whelktool/scripts/2018/11/cleanup-publication-duplicates.groovy
whelktool/scripts/2018/11/cleanup-publication-duplicates.groovy
import whelk.converter.marc.RestructPropertyValuesAndFlagStep merger = new RestructPropertyValuesAndFlagStep( matchValuePattern: '^[0-9u]{4}$', fuzzyMergeProperty: "date", fuzzPattern: "[^0-9]+", magicValueParts: ["u": "[0-9nuxNUX?-]"] ) boolean checkFuzzyDate(obj, target) { def props = ['year'] /...
import whelk.converter.marc.RestructPropertyValuesAndFlagStep merger = new RestructPropertyValuesAndFlagStep( matchValuePattern: '^[0-9u]{4}$', fuzzyMergeProperty: "date", fuzzPattern: "[^0-9]+", magicValueParts: ["u": "[0-9nuxNUX?-]"] ) boolean checkFuzzyDate(obj, target) { def props = 'startYea...
Add check to also handle startYear/endYear
Add check to also handle startYear/endYear
Groovy
apache-2.0
libris/librisxl,libris/librisxl,libris/librisxl
ed8203c4556a33f6b0e95a3249186cab7774c1f7
projects-parent/archetypes-parent/student-archetype/src/test/resources/projects/coverage/verify.groovy
projects-parent/archetypes-parent/student-archetype/src/test/resources/projects/coverage/verify.groovy
File buildLog = new File(basedir, "project/coverage/build.log"); if (!buildLog.isFile()) { throw new FileNotFoundException("Couldn't find build log: " + buildLog) } String logText = buildLog.text def expectedJavaDoc = "Coverage checks have not been met" if (!logText.contains(expectedJavaDoc)) { throw new IllegalS...
File buildLog = new File(basedir, "project/coverage/build.log"); if (!buildLog.isFile()) { throw new FileNotFoundException("Couldn't find build log: " + buildLog) } String logText = buildLog.text def expectedCoverage = "Coverage checks have not been met" if (!logText.contains(expectedCoverage)) { throw new Illega...
Fix variable name in script.
Fix variable name in script.
Groovy
apache-2.0
DavidWhitlock/PortlandStateJava,DavidWhitlock/PortlandStateJava
df355389f2bdcc0115b24b4fc310d9ce39b62290
plugin/src/main/groovy/com/github/ksoichiro/web/resource/task/TriremeBaseTask.groovy
plugin/src/main/groovy/com/github/ksoichiro/web/resource/task/TriremeBaseTask.groovy
package com.github.ksoichiro.web.resource.task import com.github.ksoichiro.web.resource.util.PathResolver import com.github.ksoichiro.web.resource.extension.WebResourceExtension import org.gradle.api.DefaultTask import org.gradle.api.logging.LogLevel /** * Base task to run JavaScript on Trireme. * * @author Soichi...
package com.github.ksoichiro.web.resource.task import com.github.ksoichiro.web.resource.util.PathResolver import com.github.ksoichiro.web.resource.extension.WebResourceExtension import org.gradle.api.DefaultTask import org.gradle.api.logging.LogLevel /** * Base task to run JavaScript on Trireme. * * @author Soichi...
Change default log level to WARN
Change default log level to WARN
Groovy
apache-2.0
ksoichiro/gradle-web-resource-plugin
e9ebfcc14a90c8d61bbb9e079a48c031231b72dc
subprojects/test-kit/src/integTest/groovy/org/gradle/testkit/TestKitSamplesIntegrationTest.groovy
subprojects/test-kit/src/integTest/groovy/org/gradle/testkit/TestKitSamplesIntegrationTest.groovy
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Put it back into the state that uses annotations. Previously failing tests were not causes by the actual test code.
Put it back into the state that uses annotations. Previously failing tests were not causes by the actual test code. +review REVIEW-5533
Groovy
apache-2.0
lsmaira/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,gstevey/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,lsmaira/gradle,gstevey/gradle,gstevey/gradle,blindpirate/gradle,gstevey/gradle,blindpi...
95d5560863d71aa3927b7f20126c4f8ec526d2de
vars/jplCheckoutSCM.groovy
vars/jplCheckoutSCM.groovy
/** Checkout SCM Get the code from SCM and init / update submodules Leave the repository on the actual branch, instead of "deatached" Parameters: * jplConfig project config class */ def call(jplConfig) { timestamps { ansiColor('xterm') { script { checkout scm ...
/** Checkout SCM Get the code from SCM and init / update submodules Leave the repository on the actual branch, instead of "deatached" Parameters: * jplConfig project config class */ def call(jplConfig) { timestamps { ansiColor('xterm') { script { checkout([ ...
Include submodule init in checkout
Include submodule init in checkout
Groovy
mit
red-panda-ci/jenkins-pipeline-library,pedroamador/jenkins-pipeline-library
cb37ee7fc01362c098057b27e4cb0e5aa806d6c1
ci/checkAppCatalogLight.groovy
ci/checkAppCatalogLight.groovy
import hudson.model.Result import jenkins.model.Jenkins def check_light = build.buildVariables["CHECK_LIGHT"] if (check_light == "false") { print "\n* Not checking the App Catalog light! *\n\n" } else if (build.project.lastCompletedBuild.result != Result.SUCCESS) { print "\n*** CAN'T AUTO-BUMP BECAUSE APP CATA...
import hudson.model.Result import jenkins.model.Jenkins def check_light = build.buildVariables["CHECK_LIGHT"] if (check_light == "false") { print "\n* Not checking the App Catalog light! *\n\n" } else if (Jenkins.instance.getItem('master-app-catalog-continuous').lastCompletedBuild.result != Result.SUCCESS) { p...
Revert "update check app catalog light to use local build info"
Revert "update check app catalog light to use local build info" This reverts commit b14754aec6ecbf31171e058298f6b6175851b904.
Groovy
mit
wrackzone/app-catalog,wrackzone/app-catalog,kcorkan/app-catalog,RallyApps/app-catalog,jcwaco/PIKanbanMods,JackBaxter/test-report,SteveRhoadsCA/app-catalog,travisc5/app-catalog,RallyApps/app-catalog,wrackzone/app-catalog,jcwaco/PIKanbanMods,RallyApps/app-catalog,KilobytesandBits/app-catalog,KilobytesandBits/app-catalog,...