repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
harish-patel/ecrm | modules/WorkFlowAlerts/CreateStep1.php | 6939 | <?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* The contents of this file are subject to the SugarCRM Master Subscription
* Agreement ("License") which can be viewed at
* http://www.sugarcrm.com/crm/e... | agpl-3.0 |
axiomsoftware/axiom-stack | src/java/axiom/scripting/rhino/debug/AxiomDebugger.java | 13108 | /*
* Axiom Stack Web Application Framework
* Copyright (C) 2008 Axiom Software Inc.
*
* 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 ... | agpl-3.0 |
Metatavu/kunta-api-spec | jaxrs-spec-generated/src/main/java/fi/metatavu/kuntaapi/server/rest/model/PrintableFormServiceChannel.java | 13567 | package fi.metatavu.kuntaapi.server.rest.model;
import fi.metatavu.kuntaapi.server.rest.model.Address;
import fi.metatavu.kuntaapi.server.rest.model.Area;
import fi.metatavu.kuntaapi.server.rest.model.Email;
import fi.metatavu.kuntaapi.server.rest.model.LocalizedValue;
import fi.metatavu.kuntaapi.server.rest.model.Pho... | agpl-3.0 |
Kachachan/musicblocks | js/rhythmruler.js | 30098 | // Copyright (c) 2016 Walter Bender
// Copyright (c) 2016 Hemant Kasat
// This program is free software; you can redistribute it and/or
// modify it under the terms of the The GNU Affero General Public
// License as published by the Free Software Foundation; either
// version 3 of the License, or (at your option) any l... | agpl-3.0 |
decidim/decidim | decidim-admin/lib/decidim/admin/test/filters_participatory_space_users_examples.rb | 2034 | # frozen_string_literal: true
shared_examples "filterable participatory space users" do
context "when filtering by invitation sent at" do
context "when filtering by null" do
it "returns participatory space users" do
apply_filter("Invitation sent", "Not sent")
within ".stack tbody" do
... | agpl-3.0 |
InfinniPlatform/InfinniPlatform | InfinniPlatform.SandboxApp/Program.cs | 3038 | using System;
using System.IO;
using InfinniPlatform.Logging;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Serilog;
using Serilog.Core;
using Serilog.Events;
using Serilog.Filters;
namespace InfinniPlatform.SandboxApp
{
public class Program
{
public static void M... | agpl-3.0 |
Tanaguru/Tanaguru | rules/rgaa4-2019/src/test/java/org/tanaguru/rules/rgaa42019/Rgaa42019Rule131002Test.java | 4472 | /*
* Tanaguru - Automated webpage assessment
* Copyright (C) 2008-2015 Tanaguru.org
*
* 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 you... | agpl-3.0 |
dev-pnt/gers-pruebas | cache/modules/Contacts/Contactvardefs.php | 34165 | <?php
$GLOBALS["dictionary"]["Contact"]=array (
'table' => 'contacts',
'audited' => true,
'unified_search' => true,
'full_text_search' => true,
'unified_search_default_enabled' => true,
'duplicate_merge' => true,
'fields' =>
array (
'id' =>
array (
'name' => 'id',
'vname' => 'LBL... | agpl-3.0 |
carthach/essentia | test/src/unittests/synthesis/test_hprmodel_streaming.py | 9212 | #!/usr/bin/env python
# Copyright (C) 2006-2016 Music Technology Group - Universitat Pompeu Fabra
#
# This file is part of Essentia
#
# Essentia 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 (FSF), e... | agpl-3.0 |
hivam/doctor_biological_risk | __init__.py | 34 | from models import *
import report | agpl-3.0 |
shoaib-fazal16/yourown | modules/yo_Subdivisions/Dashlets/yo_SubdivisionsDashlet/yo_SubdivisionsDashlet.meta.php | 3143 | <?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
* SuiteCRM... | agpl-3.0 |
opblanco/facturascripts | model/articulo.php | 33603 | <?php
/*
* This file is part of FacturaSctipts
* Copyright (C) 2014 Carlos Garcia Gomez neorazorx@gmail.com
*
* 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 t... | agpl-3.0 |
carbonadona/pm | workflow/engine/methods/reports/reports_View.php | 8434 | <?php
/**
* reports_View.php
*
* ProcessMaker Open Source Edition
* Copyright (C) 2004 - 2008 Colosa Inc.23
*
* 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 t... | agpl-3.0 |
jzinedine/CMDBuild | cmdbuild/src/main/webapp/javascripts/cmdbuild/controller/administration/classes/CMGeoAttributePanelController.js | 4137 | (function() {
Ext.define("CMDBuild.controller.administration.classes.CMGeoAttributeController", {
constructor: function(view) {
this.view = view;
this.form = view.form;
this.grid = view.grid;
this.gridSM = this.grid.getSelectionModel();
this.gridSM.on('selectionchange', onSelectionChanged , this);
... | agpl-3.0 |
ging/isabel | lib/SDK/src/sources/v4lUnified/v4luStub.cc | 3482 | /////////////////////////////////////////////////////////////////////////
//
// ISABEL: A group collaboration tool for the Internet
// Copyright (C) 2009 Agora System S.A.
//
// This file is part of Isabel.
//
// Isabel is free software: you can redistribute it and/or modify
// it under the terms of the Affero GNU Ge... | agpl-3.0 |
lolgzs/opacce | library/Class/Folder/Manager.php | 1839 | <?php
/**
* Copyright (c) 2012, Agence Française Informatique (AFI). All rights reserved.
*
* AFI-OPAC 2.0 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.
*
* There are special exceptions to the ... | agpl-3.0 |
gelnior/newebe | newebe/apps/activities/_design/views/full/map.js | 81 | function(doc) {
if("Activity" == doc.doc_type) {
emit(doc._id, doc);
}
}
| agpl-3.0 |
DraXus/andaluciapeople | tracking/templatetags/tracking_tags.py | 1704 | from django import template
from tracking.models import Visitor
register = template.Library()
class VisitorsOnSite(template.Node):
"""
Injects the number of active users on your site as an integer into the context
"""
def __init__(self, varname, same_page=None):
self.varname = varname
... | agpl-3.0 |
addradio/mpeg-audio-streams | src/main/java/net/addradio/codec/mpeg/audio/model/BitMaskFlag.java | 687 | /**
* Class: BitMaskFlag<br/>
* <br/>
* Created: 20.10.2017<br/>
* Filename: BitMaskFlag.java<br/>
* Version: $Revision: $<br/>
* <br/>
* last modified on $Date: $<br/>
* by $Author: $<br/>
* <br/>
* @author <a href="mailto:sebastian.weiss@nacamar.de">Sebastian A. Weiss, nacamar GmbH</a>
... | agpl-3.0 |
harish-patel/ecrm | modules/Charts/Dashlets/OutcomeByMonthDashlet/OutcomeByMonthDashlet.nb_NO.lang.php | 1966 | <?php
/*********************************************************************************
* The contents of this file are subject to the SugarCRM Master Subscription
* Agreement ("License") which can be viewed at
* http://www.sugarcrm.com/crm/en/msa/master_subscription_agreement_11_April_2011.pdf
* By installing or... | agpl-3.0 |
gnosygnu/xowa_android | _100_core/src/main/java/gplx/core/lists/Iterator_null.java | 446 | package gplx.core.lists; import gplx.*; import gplx.core.*;
public class Iterator_null implements java.util.Iterator {//_20110320 //#<>java.util.Iterator~java.util.Iterator
public boolean hasNext() {return false;}//#<>MoveNext~hasNext
public Object next() {return null;}//#<>Current {get {return null;}}~next() {ret... | agpl-3.0 |
cejebuto/OrfeoWind | include/class/adodb/tests/test5.php | 1321 | <?php
/*
V4.80 8 Mar 2006 (c) 2000-2007 John Lim (jlim#natsoft.com.my). All rights reserved.
Released under both BSD license and Lesser GPL library license.
Whenever there is any discrepancy between the two licenses,
the BSD license will take precedence.
Set tabs to 4 for best viewing.
Latest version i... | agpl-3.0 |
PRX/feeder.prx.org | db/migrate/20151008163401_fix_deleted_at_type.rb | 387 | class FixDeletedAtType < ActiveRecord::Migration
def change
to_delete = Episode.deleted.all.collect{|e| e.id}
remove_column :episodes, :deleted_at
remove_column :podcasts, :deleted_at
add_column :episodes, :deleted_at, :timestamp
add_column :podcasts, :deleted_at, :timestamp
to_delete.each{ ... | agpl-3.0 |
hivetech/judo | juju-core/state/relationunit.go | 13025 | // Copyright 2013 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package state
import (
stderrors "errors"
"fmt"
"strings"
"labix.org/v2/mgo"
"labix.org/v2/mgo/txn"
"launchpad.net/juju-core/charm"
errors "launchpad.net/juju-core/errors"
"launchpad.net/juju-core/names"
"launchpad... | agpl-3.0 |
metelkinp/CRM | custom/modulebuilder/builds/test/SugarModules/modules/test_module/metadata/listviewdefs.php | 2563 | <?php
/**
*
* SugarCRM Community Edition is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
*
* SuiteCRM is an extension to SugarCRM Community Edition developed by SalesAgility Ltd.
* Copyright (C) 2011 - 2017 SalesAgility Ltd.
*
* This program is f... | agpl-3.0 |
trezy/eidetica | src/panes/components/Switch.js | 642 | import PropTypes from 'prop-types'
import React from 'react'
const Switch = (props) => {
const {
checked,
id,
onChange,
} = props
return (
<React.Fragment>
<input
checked={checked}
className="switch-control"
hidden
id={id}
onChange={onChange}
... | agpl-3.0 |
pku9104038/edx-platform | common/djangoapps/student/tests/test_login.py | 13422 | '''
Tests for student activation and login
'''
import json
import unittest
from mock import patch
from django.test import TestCase
from django.test.client import Client
from django.test.utils import override_settings
from django.conf import settings
from django.core.cache import cache
from django.core.urlresolvers imp... | agpl-3.0 |
moneypot/shiba | Cmd/Profit.js | 1302 | 'use strict';
const debug = require('debug')('shiba:cmd:profit');
const ProfitParser = require('./ProfitParser').parser;
const Pg = require('../Pg');
function Profit() {
}
Profit.prototype.handle = function*(client, msg, rawInput) {
debug('Handling profit: %s', JSON.stringify(rawInput));
let in... | agpl-3.0 |
Power-to-the-People/p2p | P2P EE/model/api/P2P EE model api/src/nz/org/p2p/model/member/api/DefaultPassKeyIdentifier.java | 1472 | package nz.org.p2p.model.member.api;
import java.util.Map;
import java.util.WeakHashMap;
/**
* <p>The pass key class provides Provide a type safe object for PassKeys .</p>
*
* <p>This software is offered under the terms of the GNU AFERO GENERAL PUBLIC LICENCE of 2007,
* <b>See</b> {@link nz.org.p2p.model.member... | agpl-3.0 |
BernardFW/bernard | src/bernard/engine/responder.py | 2501 | # coding: utf-8
from typing import (
TYPE_CHECKING,
List,
Union,
)
from bernard.layers import (
BaseLayer,
Stack,
)
if TYPE_CHECKING:
from .platform import Platform
from .request import Request
Layers = Union[Stack, List[BaseLayer]]
class ResponderError(Exception):
"""
Base res... | agpl-3.0 |
grafana/loki | pkg/querier/queryrange/ordering.go | 2309 | package queryrange
import (
"sort"
"github.com/grafana/loki/pkg/logproto"
)
/*
Utils for manipulating ordering
*/
type entries []logproto.Entry
func (m entries) start() int64 {
if len(m) == 0 {
return 0
}
return m[0].Timestamp.UnixNano()
}
type byDir struct {
markers []entries
direction logproto.Direct... | agpl-3.0 |
sameetb-cuelogic/edx-platform-test | common/djangoapps/student/views.py | 86478 | """
Student Views
"""
import datetime
import logging
import uuid
import time
import json
from collections import defaultdict
from pytz import UTC
from ipware.ip import get_ip
from django.conf import settings
from django.contrib.auth import logout, authenticate, login
from django.contrib.auth.models import User, Anonym... | agpl-3.0 |
Tisseo/EndivBundle | Entity/LineStatus.php | 2499 | <?php
namespace Tisseo\EndivBundle\Entity;
/**
* LineStatus
*/
class LineStatus
{
/**
* @var int
*/
private $id;
/**
* @var \DateTime
*/
private $dateTime;
/**
* @var string
*/
private $login;
/**
* @var int
*/
private $status;
/**
... | agpl-3.0 |
printedheart/opennars | nars_lab/src/main/java/ptrman/difficultyEnvironment/interactionComponents/BiasedRandomAIComponent.java | 1782 | package ptrman.difficultyEnvironment.interactionComponents;
import ptrman.difficultyEnvironment.EntityDescriptor;
import ptrman.difficultyEnvironment.JavascriptDescriptor;
import java.util.Random;
/**
* A random generator of movement of an agent.
* The output for the controller is biased because else the actor wou... | agpl-3.0 |
frafra/remotelauncher | remotelauncher/urls.py | 415 | from django.conf.urls import include, url
from django.contrib import admin
urlpatterns = [
# Examples:
# url(r'^$', 'remotelauncher.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
url(r'^admin/', include(admin.site.urls)),
url(r'^', include('launcher.urls')),
]
admin.site.site_... | agpl-3.0 |
DDMoReThoughtflow/ThoughtflowGUI | DDMoRe-BWF-Web/src/main/java/eu/ddmore/workflow/bwf/web/bean/FileBean.java | 3049 | package eu.ddmore.workflow.bwf.web.bean;
import org.primefaces.model.ByteArrayContent;
import org.primefaces.model.StreamedContent;
import eu.ddmore.workflow.bwf.client.enumeration.ProvType;
import eu.ddmore.workflow.bwf.client.model.Activity;
import eu.ddmore.workflow.bwf.client.model.File;
public class FileBean ex... | agpl-3.0 |
coast-team/mute-structs | src/operations/delete/logootsdel.ts | 4305 | /*
This file is part of MUTE-structs.
Copyright (C) 2017 Matthieu Nicolas, Victorien Elvinger
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
... | agpl-3.0 |
dmeltzer/snipe-it | app/Http/Controllers/SettingsController.php | 42459 | <?php
namespace App\Http\Controllers;
use enshrined\svgSanitize\Sanitizer;
use App\Helpers\Helper;
use App\Http\Requests\ImageUploadRequest;
use App\Http\Requests\SetupUserRequest;
use App\Models\Setting;
use App\Models\User;
use App\Notifications\FirstAdminNotification;
use App\Notifications\MailTest;
use Artisan;
u... | agpl-3.0 |
openmole/openmole | openmole/plugins/org.openmole.plugin.sampling.combine/src/test/scala/org/openmole/plugin/sampling/combine/CombineSpec.scala | 2049 | package org.openmole.plugin.sampling.combine
import org.scalatest._
/*
* Copyright (C) 2021 Romain Reuillon
*
* 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 th... | agpl-3.0 |
harish-patel/ecrm | modules/Connectors/connectors/sources/ext/rest/zoominfoperson/language/cs_CZ.lang.php | 4168 | <?php
/*********************************************************************************
* The contents of this file are subject to the SugarCRM Master Subscription
* Agreement ("License") which can be viewed at
* http://www.sugarcrm.com/crm/en/msa/master_subscription_agreement_11_April_2011.pdf
* By installing or... | agpl-3.0 |
archesproject/arches | arches/app/models/migrations/3210_card_components.py | 2035 | # -*- coding: utf-8 -*-
# Generated by Django 1.11.10 on 2018-05-09 14:45
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import django.db.models.deletion
import uuid
class Migration(migrations.Migration):
dependencies = [
('models', '3201_remove_node_and_nodetype_b... | agpl-3.0 |
gladk/palabos | jlabos/src/precompiled/lattice/parallelMultiBlockLattice3D.cpp | 1445 | /* This file is part of the Palabos library.
*
* Copyright (C) 2011-2017 FlowKit Sarl
* Route d'Oron 2
* 1010 Lausanne, Switzerland
* E-mail contact: contact@flowkit.com
*
* The most recent release of Palabos can be downloaded at
* <http://www.palabos.org/>
*
* The library Palabos is free software: you can r... | agpl-3.0 |
jzinedine/CMDBuild | bim/bimserver/src/main/java/org/cmdbuild/bim/service/bimserver/BimserverListAttribute.java | 1411 | package org.cmdbuild.bim.service.bimserver;
import java.util.ArrayList;
import java.util.List;
import org.bimserver.interfaces.objects.SDataValue;
import org.bimserver.interfaces.objects.SListDataValue;
import org.bimserver.interfaces.objects.SReferenceDataValue;
import org.bimserver.interfaces.objects.SSimpleDataVal... | agpl-3.0 |
orthagh/fusioninventory-for-glpi | ajax/taskjob_itemtypes.php | 1944 | <?php
/*
------------------------------------------------------------------------
FusionInventory
Copyright (C) 2010-2016 by the FusionInventory Development Team.
http://www.fusioninventory.org/ http://forge.fusioninventory.org/
------------------------------------------------------------------------... | agpl-3.0 |
pixiv/mastodon | app/policies/pawoo/report_target_policy.rb | 149 | # frozen_string_literal: true
class Pawoo::ReportTargetPolicy < ApplicationPolicy
def index?
staff?
end
def create?
staff?
end
end
| agpl-3.0 |
k10r/shopware | engine/Shopware/Bundle/StoreFrontBundle/Service/Core/ManufacturerService.php | 3389 | <?php
/**
* Shopware 5
* Copyright (c) shopware AG
*
* According to our dual licensing model, this program can be used either
* under the terms of the GNU Affero General Public License, version 3,
* or under a proprietary license.
*
* The texts of the GNU Affero General Public License with an additional
* perm... | agpl-3.0 |
Zarel/Pokemon-Showdown-Client | website/news/manage.php | 6399 | <?php
error_reporting(E_ALL);
include_once '../../lib/ntbb-session.lib.php';
include_once __DIR__ . '/../../config/news.inc.php';
include_once 'include.php';
if (!$users->isLeader()) die('access denied');
function saveNews() {
global $newsCache, $latestNewsCache;
file_put_contents(__DIR__ . '/../../config/news.in... | agpl-3.0 |
abramhindle/UnnaturalCodeFork | python/testdata/launchpad/utilities/smoke-test-librarian.py | 779 | #! /usr/bin/python -S
#
# Copyright 2010 Canonical Ltd. This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).
"""Perform simple librarian operations to verify the current configuration.
"""
import _pythonpath
import sys
from zope.component import getUtility
from... | agpl-3.0 |
amdw/gopoker | poker/testhelpers.go | 6913 | /*
Copyright 2017 Andrew Medworth
This file is part of Gopoker, a set of miscellaneous poker-related functions
written in the Go programming language (http://golang.org).
Gopoker 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 Fre... | agpl-3.0 |
AegisEmu/AegisEmu | src/arcemu-world/LogonCommHandler.cpp | 13213 | /*
* ArcEmu MMORPG Server
* Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/>
* Copyright (C) 2008 <http://www.ArcEmu.org/>
*
* 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 Foun... | agpl-3.0 |
Hoot215/TheWalls2 | src/me/Hoot215/TheWalls2/TheWalls2PlayerListener.java | 16241 | /*
* TheWalls2: The Walls 2 plugin. Copyright (C) 2012 Andrew Stevanus (Hoot215)
* <hoot893@gmail.com>
*
* 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 Lic... | agpl-3.0 |
tcitworld/FaceClone | Model/Post.php | 1541 | <?php
class Post {
private $idpost;
private $idmembre;
private $contenupost;
private $datemessage;
private $database;
private $user;
private $likes;
private $comments;
private $attachment;
function __construct($idpost) {
$this->idpost = $idpost;
$this->database = new Database();
$post = $this->databa... | agpl-3.0 |
wojons/rethinkdb | test/interface/precise_stats.py | 8282 | #!/usr/bin/env python
# Copyright 2010-2012 RethinkDB, all rights reserved.
# This file tests the `rethinkdb.stats` admin table.
# Here, we run very particular queries and verify that the 'total' stats are exactly
# correct. This includes point reads/writes, range reads/replaces, backfills, and
# sindex construction.... | agpl-3.0 |
nextcloud/spreed | tests/php/Command/Stun/AddTest.php | 3559 | <?php
/**
* @copyright 2018, Denis Mosolov <denismosolov@gmail.com>
*
* @author Denis Mosolov <denismosolov@gmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Afferoq General Public License as
... | agpl-3.0 |
mrexodia/fabiano-swagger-of-doom | wServer/networking/handlers/GoToQuestRoomHandler.cs | 476 | #region
using System;
using wServer.networking.cliPackets;
#endregion
namespace wServer.networking.handlers
{
internal class GoToQuestRoomHandler : PacketHandlerBase<GoToQuestRoomPacket>
{
public override PacketID ID
{
get { return PacketID.QUEST_ROOM_MSG; }
}
pr... | agpl-3.0 |
denkbar/step | step-plans/step-plans-core/src/main/java/step/datapool/DataPoolConfiguration.java | 1433 | /*******************************************************************************
* Copyright (C) 2020, exense GmbH
*
* This file is part of STEP
*
* STEP 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 Sof... | agpl-3.0 |
openego/eDisGo | edisgo/opf/results/opf_result_class.py | 10874 | import json
import pandas as pd
import logging
from edisgo.tools.preprocess_pypsa_opf_structure import (
preprocess_pypsa_opf_structure,
aggregate_fluct_generators,
)
logger = logging.getLogger("edisgo")
def read_from_json(edisgo_obj, path, mode="mv"):
"""
Read optimization results from json file.
... | agpl-3.0 |
InstitutoPascal/campuswebpro | controllers/setup_alumnos.py | 20314 | # coding: utf8
# intente algo como
def index(): return dict(message="hello from setup_alumnos.py")
####### FUNCION DE PRUEBA---INSERT EN TABLA ALUMNOS---######
db1= DAL("postgres://luka:1234@127.0.0.1:5432/practica")
def insert_alumnos():
filas= db1.executesql('SELECT * FROM alumnos', as_dict= True)
... | agpl-3.0 |
Sparfel/iTop-s-Portal | library/Zend/Form/Element/Xhtml.php | 1125 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... | agpl-3.0 |
gnosygnu/xowa_android | _400_xowa/src/main/java/gplx/xowa/xtns/pfuncs/exprs/Func_tkn_round.java | 958 | package gplx.xowa.xtns.pfuncs.exprs; import gplx.*; import gplx.xowa.*; import gplx.xowa.xtns.*; import gplx.xowa.xtns.pfuncs.*;
import gplx.xowa.parsers.*;
class Func_tkn_round extends Func_tkn_base {
public Func_tkn_round(String v) {this.Ctor(v);}
@Override public int ArgCount() {return 2;}
@Override public ... | agpl-3.0 |
edbaskerville/mc3kit | src/mc3kit/types/doublevalue/distributions/ImproperUniformDistribution.java | 1867 | /***
This file is part of mc3kit.
Copyright (C) 2013 Edward B. Baskerville
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 your option) a... | agpl-3.0 |
mezuro/kalibro_gatekeeper | spec/routing/ranges_routing_spec.rb | 443 | require "rails_helper"
describe RangesController, :type => :routing do
describe "routing" do
it { is_expected.to route(:post, 'ranges/save').
to(controller: :ranges, action: :save) }
it { is_expected.to route(:post, 'ranges/destroy').
to(controller: :ranges, action: :destr... | agpl-3.0 |
guerrerocarlos/fiware-IoTAgent-Cplusplus | tests/e2e_tests/component/iot_manager_api/manager_devices/update/setup.py | 1139 | from lettuce import step, world
from common.functions import Functions
from common.steps import service_with_path_created_precond, device_with_attr_or_cmd_created_precond, update_device_data_manager, check_device_data_updated
functions = Functions()
@step('I try to update the device data of device "([^"]*)" wit... | agpl-3.0 |
blckshrk/Weboob | modules/rockradio/backend.py | 3418 | # -*- coding: utf-8 -*-
# Copyright(C) 2013 Pierre Mazière
#
# Based on somafm backend
#
# This file is part of weboob.
#
# weboob 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 th... | agpl-3.0 |
armanbilge/phyloHMC | src/main/scala/group/matsen/phylohmc/Z.scala | 560 | package group.matsen.phylohmc
import spire.algebra.Field
import spire.syntax.field._
case class Z[R : Field, N, G](q: Tree[R, N], p: IndexedSeq[R])(_U: => (R, G), _K: => (R, G)) {
lazy val (u, dU) = _U
lazy val (k, dK) = _K
lazy val H = u + k
def copy(q: Tree[R, N] = this.q, p: IndexedSeq[R] = this.p)(_U: => ... | agpl-3.0 |
npcdoom/ZelosOnline | globald/certd/state_certify.cpp | 1916 | /*********************************************************************************
*
* This file is part of ZelosOnline.
*
* ZelosOnline 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 vers... | agpl-3.0 |
Tanaguru/Tanaguru | rules/rgaa3-2016/src/test/java/org/tanaguru/rules/rgaa32016/Rgaa32016Rule120101Test.java | 3380 | /*
* Tanaguru - Automated webpage assessment
* Copyright (C) 2008-2016 Tanaguru.org
*
* 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 you... | agpl-3.0 |
LYY/code2docx | vendor/baliance.com/gooxml/schema/soo/dml/CT_GvmlTextShapeChoice.go | 2632 | // Copyright 2017 Baliance. All rights reserved.
//
// DO NOT EDIT: generated by gooxml ECMA-376 generator
//
// Use of this source code is governed by the terms of the Affero GNU General
// Public License version 3.0 as published by the Free Software Foundation and
// appearing in the file LICENSE included in the pack... | agpl-3.0 |
jpmml/jpmml-sparkml | src/main/java/org/jpmml/sparkml/model/DecisionTreeClassificationModelConverter.java | 1592 | /*
* Copyright (c) 2016 Villu Ruusmann
*
* This file is part of JPMML-SparkML
*
* JPMML-SparkML 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 your opt... | agpl-3.0 |
karlkoorna/Bussiaeg | web/src/i18n.js | 650 | import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';
import en from './locales/en.json';
import et from './locales/et.json';
import ru from './locales/ru.json';
function genResources(langs) {
const resources = {};
for (const lang of Object.entries(langs)) resources[lang[0]] = { translation:... | agpl-3.0 |
Codeminer42/cm42-central | spec/factories/membership_factory.rb | 111 | FactoryBot.define do
factory :membership do |m|
m.association :project
m.association :user
end
end
| agpl-3.0 |
omkelderman/osu-web | resources/lang/uk/beatmapset_watches.php | 1026 | <?php
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.
return [
'index' => [
'description' => 'Тут показуються карти, на оновлення яких ви підписані. Ви будете сповіщені, якщо з\'... | agpl-3.0 |
AnkiUniversal/Anki-Universal | AnkiU/Views/TemplateInformationView.xaml.cs | 10063 | /*
Copyright (C) 2016 Anki Universal Team <ankiuniversal@outlook.com>
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 your option) any later version.
... | agpl-3.0 |
protyposis/Aurio | Aurio/Aurio.Soxr.UnitTest/SoxResamplerTest.cs | 8728 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Aurio.Soxr.UnitTest {
[TestClass]
public class SoxResamplerTest {
[TestMethod]
public void CreateInstance() {
var r = new SoxResampler(44100, 96000, 2);
Assert.IsNotNull(r);
}
... | agpl-3.0 |
boob-sbcm/3838438 | src/main/java/com/rapidminer/operator/features/weighting/ForestBasedWeighting.java | 8597 | /**
* Copyright (C) 2001-2017 by RapidMiner and the contributors
*
* Complete list of developers available at our web site:
*
* http://rapidminer.com
*
* 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 ... | agpl-3.0 |
USAID-DELIVER-PROJECT/elmis | modules/core/src/main/java/org/openlmis/core/repository/GeographicZoneRepository.java | 4356 | /*
* This program is part of the OpenLMIS logistics management information system platform software.
* Copyright © 2013 VillageReach
*
* 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, eith... | agpl-3.0 |
epforgpl/web-parldata.eu | wp-content/themes/scribe/admin/page-builder/blocks/countdown-block.php | 1606 | <?php
class PG_Countdown_Block extends AQ_Block {
//set and create block
function __construct() {
$block_options = array(
'name' => 'Countdown',
'size' => 'span6',
);
//create the block
parent::__construct('pg_countdown_block', $block_options);
}
function form($instance) {
$defaults = arr... | agpl-3.0 |
BlaBlaNet/BlaBlaNet | extend/addon/blablanet/openid/Mod_Openid.php | 6160 | <?php
namespace GeditLab\Module;
require_once('library/openid/openid.php');
require_once('include/auth.php');
class Openid extends \GeditLab\Web\Controller {
function get() {
$noid = get_config('system','disable_openid');
if($noid)
goaway(z_root());
logger('mod_openid ' . print_r($_REQUEST,true), LOG... | agpl-3.0 |
maandree/tbrpg | src/MediumShield.cc | 3974 | // -*- mode: c++ , coding: utf-8 -*-
/**
* tbrpg – Text based roll playing game
*
* Copyright © 2012, 2013 Mattias Andrée (maandree@kth.se)
*
* 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... | agpl-3.0 |
Intermesh/groupoffice-webclient | app/core/directives/form/autoselect-directive.js | 744 | 'use strict';
/**
* @ngdoc directive
* @name GO.Core.goAutoselect
* @element input
*
* @description
* Put autofocus on an input. The standard autofocus attribute doesn't work on
* firefox
*
* @example
<input ng-Model="text" go-autoselect="{expression}" />
*/
angular.module('GO.Core')
.directive(... | agpl-3.0 |
AsherBond/MondocosmOS | mangos/src/game/GameObject.cpp | 69079 | /*
* Copyright (C) 2005-2011 MaNGOS <http://getmangos.com/>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
... | agpl-3.0 |
helfertool/helfertool | src/registration/migrations/0056_auto_20211106_1621.py | 878 | # Generated by Django 3.2.9 on 2021-11-06 15:21
from django.db import migrations
import helfertool.forms.fields
import registration.models.event
class Migration(migrations.Migration):
dependencies = [
('registration', '0055_event_corona'),
]
operations = [
migrations.AlterField(
... | agpl-3.0 |
HotChalk/canvas-lms | spec/selenium/grades/speedgrader/speedgrader_teacher_spec.rb | 14888 | require_relative "../../common"
require_relative "../../helpers/speed_grader_common"
require_relative "../../helpers/gradebook2_common"
require_relative "../../helpers/quizzes_common"
require_relative "../../helpers/groups_common"
describe "speed grader" do
include_context "in-process server selenium tests"
includ... | agpl-3.0 |
nilcy/yoyo | yoyo-framework/yoyo-framework-standard/src/main/java/yoyo/framework/standard/app/package-info.java | 466 | // ========================================================================
// Copyright (C) YOYO Project Team. All rights reserved.
// GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007
// http://www.gnu.org/licenses/agpl-3.0.txt
// =======================================================================... | agpl-3.0 |
Nivocer/webenq | libraries/Doctrine/Validator/Unsigned.php | 2009 | <?php
/*
* $Id: Unsigned.php,v 1.2 2011/07/12 13:38:58 bart Exp $
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
* A PARTICULAR PURPOSE ARE DISCLAIM... | agpl-3.0 |
be-lb/sdi-clients | view/src/queries/app.ts | 4764 |
/*
* Copyright (C) 2017 Atelier Cartographique <contact@atelier-cartographique.be>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3 of the License.
*
* This program is di... | agpl-3.0 |
RoumenGeorgiev/AndroidAPS | app/src/main/java/info/nightscout/androidaps/plugins/InsulinFastacting/InsulinFastactingFragment.java | 1782 | package info.nightscout.androidaps.plugins.InsulinFastacting;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import info.nightscout.androidaps.MainApp;
import info.nightscout... | agpl-3.0 |
bosman/raven.testsuite | Imports/Newtonsoft.Json/Src/Newtonsoft.Json/Linq/JEnumerable.cs | 4111 | #region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy,... | agpl-3.0 |
lmaslag/test | engine/Library/Zend/Json/Server/Smd.php | 11645 | <?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the ... | agpl-3.0 |
worknenjoy/gitpay | migration/migrations/20181227152503-create-offer.js | 1122 | 'use strict';
module.exports = {
up: function (queryInterface, Sequelize) {
return queryInterface.createTable('Offers', {
id: {
allowNull: false,
autoIncrement: true,
primaryKey: true,
type: Sequelize.INTEGER
},
userId: {
type: Sequelize.INTEGER,
... | agpl-3.0 |
Maslosoft/IlmatarWidgets | src/Renderers/Form/HtmlArea.php | 633 | <?php
/**
* This software package is licensed under AGPL or Commercial license.
*
* @package maslosoft/ilmatar-widgets
* @licence AGPL or Commercial
* @copyright Copyright (c) Piotr Masełkowski <pmaselkowski@gmail.com>
* @copyright Copyright (c) Maslosoft
* @link http://maslosoft.com/ilmatar-widgets/
*/
names... | agpl-3.0 |
Amos2016GroupOne/amos-ss16-proj1 | tests/unit-tests/SettingsCtrl.tests.js | 11388 | /*
* Projectname: amos-ss16-proj1
*
* Copyright (c) 2016 de.fau.cs.osr.amos2016.gruppe1
*
* This file is part of the AMOS Project 2016 @ FAU
* (Friedrich-Alexander University Erlangen-Nürnberg)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero Gener... | agpl-3.0 |
protogalaxy/service-device-presence | Godeps/_workspace/src/github.com/golang/protobuf/proto/proto3_test.go | 3210 | // Go support for Protocol Buffers - Google's data interchange format
//
// Copyright 2014 The Go Authors. All rights reserved.
// https://github.com/golang/protobuf
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met... | agpl-3.0 |
SourceMod-Store/WebPanel-Core | app/Http/Controllers/WebPanel/Store/VersionsController.php | 9223 | <?php namespace App\Http\Controllers\WebPanel\Store;
//Copyright (c) 2015 "Werner Maisl"
//
//This file is part of the Store Webpanel V2.
//
//The Store Webpanel V2 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 ... | agpl-3.0 |
kc5nra/RevTK | apps/core/modules/includes/actions/componentDemo1Component.php | 480 | <?php
/**
* Example component, using one action per file.
*
* @package RevTK
* @author Fabrice Denis
* @see documentation/helpers/partial
*/
class componentDemo1Component extends coreComponent
{
public function execute()
{
$this->component_set_var = 'Error';
if (isset($this->include_component_v... | agpl-3.0 |
gabrys/wikidot | php/db/DB_PageFtsEntryPeer.php | 998 | <?php
/**
* Wikidot - free wiki collaboration software
* Copyright (c) 2008, Wikidot Inc.
*
* 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 ... | agpl-3.0 |
vladnicoara/superdesk-client-core | test-server/gunicorn_config.py | 145 |
import os
bind = '0.0.0.0:%s' % os.environ.get('PORT', '5000')
reload = False
workers = 2
timeout = 8
max_requests = 500
loglevel = 'error'
| agpl-3.0 |
jazztpt/edx-platform | lms/djangoapps/teams/static/teams/js/views/edit_team.js | 8758 | ;(function (define) {
'use strict';
define(['backbone',
'underscore',
'gettext',
'js/views/fields',
'teams/js/models/team',
'text!teams/templates/edit-team.underscore'],
function (Backbone, _, gettext, FieldViews, TeamModel, editTeamTemplate) ... | agpl-3.0 |
avikivity/scylla | test/alternator/test_key_conditions.py | 29297 | # -*- coding: utf-8 -*-
# Copyright 2020 ScyllaDB
#
# This file is part of Scylla.
#
# Scylla 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 your option) any l... | agpl-3.0 |
harrowio/harrow | api/src/github.com/harrowio/harrow/domain/capability_list.go | 1682 | package domain
import "fmt"
// capabilityList is a helper for constructing lists of capabilities.
type capabilityList []string
func newCapabilityList() *capabilityList {
capabilities := capabilityList([]string{})
return &capabilities
}
func (l *capabilityList) writesFor(thing string) *capabilityList {
*l = appen... | agpl-3.0 |