repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
thiagosgarcia/Whisperer-DailyMeeting-Slackbot | Whisperer/App_Start/FilterConfig.cs | 264 | using System.Web;
using System.Web.Mvc;
namespace Whisperer
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
}
}
| agpl-3.0 |
fabricematrat/charmstore | config/config.go | 7476 | // Copyright 2014 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
// The config package defines configuration parameters for
// the charm store.
package config // import "gopkg.in/juju/charmstore.v5/config"
import (
"crypto"
"crypto/x509"
"encoding/pem"
"fmt"
"io/ioutil"
"os"
"string... | agpl-3.0 |
Zepheus/javanx | src/net/zepheus/nxjava/NXFile.java | 8841 | /**
* nxjava: a library for loading the NX file format
* Copyright (C) 2012 Cedric Van Goethem
*
* 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,... | agpl-3.0 |
o2oa/o2oa | o2server/x_organization_assemble_authentication/src/main/java/com/x/organization/assemble/authentication/jaxrs/bind/BindAction.java | 1479 | package com.x.organization.assemble.authentication.jaxrs.bind;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.container.AsyncResponse;
import javax.ws.rs.container.Suspen... | agpl-3.0 |
ebeshero/Pittsburgh_Frankenstein | collateXPrep/python/Part4-allWitnessIM_collation_to_xml.py | 11125 | from collatex import *
from xml.dom import pulldom
import re
import glob
from datetime import datetime, date
# import pytz
# from tzlocal import get_localzone
# today = date.today()
# utc_dt = datetime(today, tzinfo=pytz.utc)
# dateTime = utc_dt.astimezone(get_localzone())
# strDateTime = str(dateTime)
now = datetime... | agpl-3.0 |
Tesora/tesora-dve-pub | tesora-dve-core/src/test/java/com/tesora/dve/sql/IgnoreForeignKeyTest.java | 8393 | package com.tesora.dve.sql;
/*
* #%L
* Tesora Inc.
* Database Virtualization Engine
* %%
* Copyright (C) 2011 - 2014 Tesora Inc.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Soft... | agpl-3.0 |
davecheney/juju | provider/openstack/config_test.go | 13516 | // Copyright 2012, 2013 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package openstack
import (
"os"
jc "github.com/juju/testing/checkers"
gc "gopkg.in/check.v1"
"github.com/juju/juju/cloud"
"github.com/juju/juju/environs"
"github.com/juju/juju/environs/config"
envtesting "githu... | agpl-3.0 |
KWZwickau/KREDA-Sphere | Library/MOC-V/Component/Database/Vendor/Doctrine2ORM/2.5-Master/lib/Doctrine/ORM/LazyCriteriaCollection.php | 3561 | <?php
/*
* 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 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
* OWNER OR CONTRIBUTORS B... | agpl-3.0 |
dondonz/rorganize.it | spec/features/sign_in_spec.rb | 2450 | require 'spec_helper'
describe 'Signing in', :type => :feature do
subject { page }
before { visit new_person_session_path }
let(:person) { create(:person) }
context 'with the correct information' do
before do
sign_in person
end
it 'goes to the main page' do
expect(current_path).to e... | agpl-3.0 |
shihjay2/nosh-core | app/models/Vaccine_temp.php | 148 | <?php
class Vaccine_temp extends Eloquent
{
public $timestamps = false;
protected $table = 'vaccine_temp';
protected $primaryKey = 'temp_id';
}
| agpl-3.0 |
google-code-export/fullmetalgalaxy | src/com/fullmetalgalaxy/model/persist/gamelog/EbEvtRepair.java | 5063 | /* *********************************************************************
*
* This file is part of Full Metal Galaxy.
* http://www.fullmetalgalaxy.com
*
* Full Metal Galaxy 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 |
hiveship/enssat-serveur-voeux | application/views/errors/cli/error_php.php | 645 | <?php
defined( 'BASEPATH' ) or exit( 'No direct script access allowed' );
?>
A PHP Error was encountered
Severity: <?php echo $severity;?>
Message: <?php echo $message;?>
Filename: <?php echo $filepath;?>
Line Number: <?php echo $line;?>
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?... | agpl-3.0 |
martinp23/elabchem | make_csv.php | 4090 | <?php
/********************************************************************************
* *
* Copyright 2012 Nicolas CARPi (nicolas.carpi@gmail.com) *
* http://www.elabftw.net/ ... | agpl-3.0 |
CiviCooP/no.maf.corrections | api/v3/SmsFinal/Load.php | 1875 | <?php
/**
* SmsFinal.Cancel API
* Find contacts for pswincom file
*
* @param array $params
* @return array API result descriptor
* @see civicrm_api3_create_success
* @see civicrm_api3_create_error
* @throws API_Exception
*/
function civicrm_api3_sms_final_load($params) {
set_time_limit(0);
$returnValues =... | agpl-3.0 |
ihanli/puzzlesBackEnd | app/models/battle.rb | 1714 | class Battle < ActiveRecord::Base
acts_as_state_machine :initial => :pending
state :pending
state :opened#, :enter => :copy_decks
state :drawing
state :placing
state :attacking
state :finished, :enter => :clean_up
private
# TODO: test me
def clean_up
destroy
end
# TODO: test me
def copy_... | agpl-3.0 |
livingcomputermuseum/ContrAlto | Contralto/UI/AlternateBootWindow.cs | 5844 | /*
This file is part of ContrAlto.
ContrAlto 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.
ContrAlto is... | agpl-3.0 |
subugoe/gdz-backend | app/workers/process_mets_file_set.rb | 423 | require 'helper/process_mets_file_set_helper'
class ProcessMetsFileSet
include Sidekiq::Worker
sidekiq_options queue: :metsfileset, backtrace: true, retry: false
def initialize
@logger = Logger.new(STDOUT)
@logger.level = Logger::DEBUG
end
def perform(ppn, work_id)
ProcessMetsFileSetHelp... | agpl-3.0 |
hacklabr/viradacultural-social-api | viradacultural_social_api/serializer.py | 851 | from rest_framework import serializers
from .models import FbUser, Event
class EventsListingField(serializers.RelatedField):
def to_representation(self, value):
return value.event_id
class FbUserSerializer(serializers.ModelSerializer):
position_timestamp = serializers.DateTimeField(format='%Y-%m-%d... | agpl-3.0 |
GemBoutique/GBReact | app/controllers/api/customer_requests_controller.rb | 1104 | class Api::CustomerRequestsController < ApplicationController
def index
@messages = CustomerRequest.all
render "/api/customer_requests/index"
end
def create
@request = CustomerRequest.new
@request.attributes = customer_request_params.reject {|k, v| !@request.attributes.keys.member?(k.to_s)}
if verify_rec... | agpl-3.0 |
Som-Energia/plantmeter | som_plantmeter/__init__.py | 23 | import som_plantmeter
| agpl-3.0 |
ChristophWurst/weinstein_server | app/Validation/Validator.php | 3499 | <?php
/**
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distribut... | agpl-3.0 |
Tanaguru/Tanaguru | rules/accessiweb2.2/src/main/java/org/tanaguru/rules/accessiweb22/Aw22Rule12101.java | 1509 | /*
* 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 |
ubtue/ub_tools | cpp/marc_tools/marc_head.cc | 1991 | /** \brief Utility for extracting the first N records from a collection of MARC records.
* have some metadata for these items.
* \author Dr. Johannes Ruscheinski (johannes.ruscheinski@uni-tuebingen.de)
*
* \copyright 2021 Universitätsbibliothek Tübingen. All rights reserved.
*
* This program is free s... | agpl-3.0 |
sgmap/tps | app/models/champs/engagement_champ.rb | 492 | # == Schema Information
#
# Table name: champs
#
# id :integer not null, primary key
# private :boolean default(FALSE), not null
# row :integer
# type :string
# value :string
# created_at :datetime
# updated_at :datetime
# ... | agpl-3.0 |
HongPong/intersango | orderbook.php | 2185 | <?php
require 'util.php';
function display_double_entry($curr_a, $curr_b, $base_curr)
{
echo "<div class='content_box'>\n";
echo "<h3>People offering $curr_a for $curr_b</h3>\n";
$exchange_fields = calc_exchange_rate($curr_a, $curr_b, $base_curr);
if (!$exchange_fields) {
echo "<p... | agpl-3.0 |
dlkw/ceylon-graphql | source/de/dlkw/graphql/antlr4java/generated/GraphQLBaseListener.java | 13612 | // Generated from de.dlkw.graphql.antlr4java.generated/GraphQL.g4 by ANTLR 4.6
package de.dlkw.graphql.antlr4java.generated;
import org.antlr.v4.runtime.ParserRuleContext;
import org.antlr.v4.runtime.tree.ErrorNode;
import org.antlr.v4.runtime.tree.TerminalNode;
/**
* This class provides an empty implementation of {... | agpl-3.0 |
mathijshenquet/dnsleergemeenschap | cache/frontend/prod/config/config_factories.yml.php | 5472 | <?php
// auto-generated by sfFactoryConfigHandler
// date: 2010/04/09 11:48:25
$class = sfConfig::get('sf_factory_logger', 'sfNoLogger');
$this->factories['logger'] = new $class($this->dispatcher, array_merge(array('auto_shutdown' => false), sfConfig::get('sf_factory_logger_parameters', array (
'level' => 'err',... | agpl-3.0 |
aakhmerov/battlehack_2015 | backend/melder_dal/src/main/java/com/battlehack/melder/api/domain/entities/MelderUser.java | 331 | package com.battlehack.melder.api.domain.entities;
import org.springframework.data.jpa.domain.AbstractPersistable;
import javax.persistence.Entity;
import javax.xml.bind.annotation.XmlRootElement;
/**
* Created by aakhmerov on 21.06.15.
*/
@Entity
@XmlRootElement
public class MelderUser extends AbstractPersistable... | agpl-3.0 |
malikov/platform-android | ushahidi/src/main/java/com/ushahidi/android/data/repository/datasource/post/PostApiDataSource.java | 6079 | /*
* Copyright (c) 2015 Ushahidi 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 (at your option)
* any later version.
*
* This progr... | agpl-3.0 |
schiessle/locationtracker | appinfo/routes.php | 1051 | <?php
/**
* @copyright Copyright (c) 2016 Bjoern Schiessle <bjoern@schiessle.org>
*
* @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 Affero General Public License as
* published by the Free Software Foundat... | agpl-3.0 |
vhost-api/vhost-api | init.rb | 2929 | # frozen_string_literal: true
require 'yaml'
lp = File.expand_path(__dir__)
@environment = ENV['RACK_ENV'] || 'development'
# rubocop:disable Security/YAMLLoad
@dbconfig = YAML.load(File.read("#{lp}/config/database.yml"))[@environment]
# rubocop:enable Security/YAMLLoad
require 'bundler/setup'
require 'fileutils'
... | agpl-3.0 |
Bram28/LEGUP | code/edu/rpi/phil/legup/puzzles/lightup/CaseSatisfyNumber.java | 17798 | package edu.rpi.phil.legup.puzzles.lightup;
import java.awt.Point;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.Vector;
import javax.swing.ImageIcon;
import edu.rpi.phil.legup.Contradiction;
import edu.... | agpl-3.0 |
Turan-no/Turan | apps/turan/migrations/0026_auto__chg_field_component_removed.py | 27387 | # encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Changing field 'Component.removed'
db.alter_column('turan_component', 'removed', self.gf('django.db.mode... | agpl-3.0 |
SPnl/nl.sp.reports | CRM/Reports/Form/Report/Kerncijfers.php | 8785 | <?php
class CRM_Reports_Form_Report_Kerncijfers extends CRM_Report_Form {
protected $_summary = NULL;
protected $_noFields = TRUE;
private $_membershipTypes;
private $_membershipStatuses;
private $_rowHeaders;
public function __construct() {
$this->_columns = [];
$this->_groupFilter = FALSE... | agpl-3.0 |
BirkbeckCTP/janeway | src/press/migrations/0023_auto_20200718_1117.py | 468 | # -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2020-07-18 11:17
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('press', '0022_press_disable_journals'),
]
operations = [
migrations.AlterF... | agpl-3.0 |
ludaac/noosfero-mx | plugins/bsc/test/functional/bsc_plugin_admin_controller_test.rb | 3163 | require File.dirname(__FILE__) + '/../../../../test/test_helper'
require File.dirname(__FILE__) + '/../../controllers/bsc_plugin_admin_controller'
require File.dirname(__FILE__) + '/../../../../app/models/uploaded_file'
# Re-raise errors caught by the controller.
class BscPluginAdminController; def rescue_action(e) ra... | agpl-3.0 |
fqqb/yamcs | yamcs-web/src/main/webapp/src/app/shared/dialogs/SelectParameterDialog.ts | 2129 | import { ChangeDetectionStrategy, Component, Inject, OnInit } from '@angular/core';
import { FormControl, Validators } from '@angular/forms';
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
import { Observable } from 'rxjs';
import { debounceTime, map, switchMap } from 'rxjs/operators';
import... | agpl-3.0 |
yajinni/WoWAnalyzer | analysis/priestdiscipline/src/normalizers/AtonementSuccessiveDamage.test.js | 2839 | import { AtonementOnPlayer1, AtonementOnPlayer2, DamagingEvent1, DamagingEvent2, thisPlayer } from '@wowanalyzer/priest-discipline/src/test-fixtures/TestingEvents';
import AtonementSuccessiveDamage from './AtonementSuccessiveDamage';
describe('DisciplinePriest.Reordering', () => {
let atonementSuccessiveDamageNorma... | agpl-3.0 |
brosnanyuen/Project-S | Babylon.js-master/Babylon/babylon.mixins.ts | 2633 | // Mixins
interface Window {
mozIndexedDB(func: any): any;
webkitIndexedDB(func: any): any;
IDBTransaction(func: any): any;
webkitIDBTransaction(func: any): any;
msIDBTransaction(func: any): any;
IDBKeyRange(func: any): any;
webkitIDBKeyRange(func: any): any;
msIDBKeyRange(func: any): a... | agpl-3.0 |
gSafe/mark | mark-pdf/src/main/java/fr/novapost/mark/pdf/PDFBuilder.java | 5306 | package fr.novapost.mark.pdf;
/*
* #%L
* mark-pdf
* %%
* Copyright (C) 2013 - 2015 gSafe
* %%
* 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 |
splicemachine/spliceengine | splice_machine/src/main/java/com/splicemachine/derby/stream/function/CogroupFullOuterJoinRestrictionFlatMapFunction.java | 5216 | /*
* Copyright (c) 2012 - 2020 Splice Machine, Inc.
*
* This file is part of Splice Machine.
* Splice Machine 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, or (at your option) ... | agpl-3.0 |
sinnwerkstatt/landmatrix | apps/grid/forms/deal_spatial_form.py | 8927 | from django.contrib.gis import forms
from django.forms.models import BaseFormSet, formset_factory
from django.utils.translation import ugettext_lazy as _
from apps.grid.fields import AreaField, CountryField, TitleField
from apps.grid.gis import parse_shapefile
from apps.grid.widgets import AreaWidget, CommentInput
fro... | agpl-3.0 |
rwl/openpowersystem | dynamics/dynamics/power_system_stabilizers/pss_sb4.py | 1445 | #------------------------------------------------------------------------------
# Copyright (C) 2009 Richard Lincoln
#
# 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; version 2 dated June... | agpl-3.0 |
adfinis-sygroup/timed-frontend | tests/integration/components/progress-tooltip/component-test.js | 4885 | import EmberObject from "@ember/object";
import { render } from "@ember/test-helpers";
import { setupRenderingTest } from "ember-qunit";
import wait from "ember-test-helpers/wait";
import hbs from "htmlbars-inline-precompile";
import moment from "moment";
import { module, skip, test } from "qunit";
import { startMirage... | agpl-3.0 |
PedroFelipe/cm42-central | app/operations/project_operations.rb | 534 | module ProjectOperations
class Create < BaseOperations::Create
end
class Update < BaseOperations::Update
end
class Destroy < BaseOperations::Destroy
protected
def operate!
# because of dependent => destroy it can take a very long time to delete a project
# FIXME instead of deleting we ... | agpl-3.0 |
yonkon/nedvig | custom/modules/Tasks/metadata/subpanels/default.php | 3604 | <?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/*********************************************************************************
* SugarCRM is a customer relationship management program developed by
* SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
*
* This program is free so... | agpl-3.0 |
TEA-ebook/teabook-reader-ffox-app | app/js/reader/gestures.js | 4784 | /*global define, ReadiumSDK, window*/
/*jslint nomen: true*/
// Copyright (c) 2014 Readium Foundation and/or its licensees. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
// 1. Redistributi... | agpl-3.0 |
boob-sbcm/3838438 | src/main/java/com/rapidminer/tools/att/AttributeDataSource.java | 12469 | /**
* 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 |
sgRomaric/scheduling | rest/rest-smartproxy/src/test/java/functionaltests/RestSmartProxyTest.java | 17541 | /*
* ProActive Parallel Suite(TM):
* The Open Source library for parallel and distributed
* Workflows & Scheduling, Orchestration, Cloud Automation
* and Big Data Analysis on Enterprise Grids & Clouds.
*
* Copyright (c) 2007 - 2017 ActiveEon
* Contact: contact@activeeon.com
*
* This library is free software: y... | agpl-3.0 |
weiss19ja/amos-ss16-proj2 | backend/src/main/java/de/developgroup/mrf/server/handler/SingleDriverHandler.java | 1283 | /**
* This file is part of Mobile Robot Framework.
* Mobile Robot Framework is free software under the terms of GNU AFFERO GENERAL PUBLIC LICENSE.
*/
package de.developgroup.mrf.server.handler;
public interface SingleDriverHandler {
/**
* Acquires exclusive driver mode. There can only be one driver at a time so... | agpl-3.0 |
muhammadnadeem/diagnostic-feedback | diagnostic_feedback/helpers/__init__.py | 230 | from buzzfeed_choice import BuzzfeedChoice
from category import Category
from choice import Choice
from diagnostic_choice import DiagnosticChoice
from question import Question
from range import Range
from helper import MainHelper
| agpl-3.0 |
MuwuM/wiki | client/js/helpers/lodash.js | 1482 | 'use strict'
// ====================================
// Load minimal lodash
// ====================================
import cloneDeep from 'lodash/cloneDeep'
import concat from 'lodash/concat'
import debounce from 'lodash/debounce'
import deburr from 'lodash/deburr'
import delay from 'lodash/delay'
import filter from ... | agpl-3.0 |
N7-Consulting/Incipio | src/Service/Publish/SiajeEtudeImporter.php | 13281 | <?php
namespace App\Service\Publish;
use App\Entity\Personne\Employe;
use App\Entity\Personne\Membre;
use App\Entity\Personne\Personne;
use App\Entity\Personne\Prospect;
use App\Entity\Project\Ap;
use App\Entity\Project\Cc;
use App\Entity\Project\Etude;
use App\Entity\Project\GroupePhases;
use App\Entity\Project\Phas... | agpl-3.0 |
o2oa/o2oa | o2server/x_processplatform_assemble_bam/src/main/java/com/x/processplatform/assemble/bam/jaxrs/state/TimerOrganization.java | 9789 | package com.x.processplatform.assemble.bam.jaxrs.state;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Date;
import java.util.List;
import java.util.stream.Collectors;
import javax.persistence.EntityManager;
import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteri... | agpl-3.0 |
Asqatasun/Asqatasun | rules/rules-rgaa2.2/src/main/java/org/asqatasun/rules/rgaa22/Rgaa22Rule05081.java | 1471 | /*
* Asqatasun - Automated webpage assessment
* Copyright (C) 2008-2020 Asqatasun.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 y... | agpl-3.0 |
mapcentia/geocloud2 | public/js/heron/ux/oleditor/ole/client/lib/Editor/Control/Gc2Load.js | 1186 | OpenLayers.Editor.Control.Gc2Load = OpenLayers.Class(OpenLayers.Control.Button, {
layer: null,
initialize: function (layer, options) {
this.layer = layer;
OpenLayers.Control.Button.prototype.initialize.apply(this, [options]);
this.trigger = this.load;
this.title = OpenLayers.i18n... | agpl-3.0 |
bantolov/Rhetos | CommonConcepts/Plugins/Rhetos.Dom.DefaultConcepts/Persistence/EntityFrameworkGenerateMetadataFiles.cs | 6204 | /*
Copyright (C) 2014 Omega software d.o.o.
This file is part of Rhetos.
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 |
grafana/grafana | public/app/plugins/datasource/prometheus/configuration/AzureAuthSettings.tsx | 1953 | import React, { FunctionComponent, useMemo } from 'react';
import { InlineFormLabel, Input } from '@grafana/ui';
import { config } from '@grafana/runtime';
import { KnownAzureClouds, AzureCredentials } from './AzureCredentials';
import { getCredentials, updateCredentials } from './AzureCredentialsConfig';
import { Azur... | agpl-3.0 |
floored1585/pixel | lib/instance.rb | 5178 | #
# Pixel is an open source network monitoring system
# Copyright (C) 2016 all Pixel contributors!
#
# 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 |
nlv/suitecrm | modules/Employees/language/ru_ru.lang.php | 9828 | <?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-2012 SugarCRM Inc.
*
* This progr... | agpl-3.0 |
opensourceBIM/BIMserver | PluginBase/generated/org/bimserver/models/geometry/impl/BoundsImpl.java | 3673 | /**
* Copyright (C) 2009-2014 BIMserver.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 your option) any later version.
*
... | agpl-3.0 |
PaloAlto/jbilling | test/unit/com/sapienter/jbilling/server/process/task/SftpUploadTaskTest.java | 2381 | package com.sapienter.jbilling.server.process.task;
import com.sapienter.jbilling.common.Util;
import com.sapienter.jbilling.server.pluggableTask.admin.PluggableTaskDTO;
import com.sapienter.jbilling.server.pluggableTask.admin.PluggableTaskParameterDTO;
import com.sapienter.jbilling.server.pluggableTask.admin.Pluggabl... | agpl-3.0 |
sybreon/inorout | controllers/users_controller.php | 4722 | <?php
/**
INOROUT - Social Discussion Platform.
Copyright (C) 2010 Shawn Tan <shawn.tan@sybreon.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
th... | agpl-3.0 |
maxdelo77/replyit-master-3.2-final | src/java/com/sapienter/jbilling/common/SystemProperties.java | 5558 | /*
* JBILLING CONFIDENTIAL
* _____________________
*
* [2003] - [2012] Enterprise jBilling Software Ltd.
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Enterprise jBilling Software.
* The intellectual and technical concepts contained
* herein are proprie... | agpl-3.0 |
xurizaemon/civix | src/CRM/ClientBundle/ClientFactory.php | 3566 | <?php
namespace CRM\ClientBundle;
/**
* An adaptor which allows us to use CiviCRM's 'class.api.php' as
* a Symfony service.
*/
class ClientFactory {
/**
* Instantiate a configured API connection
*
* @return \civicrm_api3
*/
public function get() {
$origDir = $this->getPwd();
list ($cmsRoo... | agpl-3.0 |
Extentsoftware/Quest | src/Quest.Common/Messages/Job/GetJobsRequest.cs | 180 | using System;
namespace Quest.Common.Messages.Job
{
[Serializable]
public class GetJobsRequest: Request
{
public int Skip;
public int Take;
}
}
| agpl-3.0 |
hiddentao/browsermail | src/js/alerts.js | 382 | /**
* User alerts
* @param msg
*/
_alert = function(type, msg) {
var classes = 'alert-box round ';
switch (type) {
case 'error':
classes += 'alert';
}
var a = $('<div class="' + classes + '">' + msg + '</div>');
$('#alerts').append(a);
setTimeout(function() {
a.fadeOut(500);
}, 2000);
};... | agpl-3.0 |
jcstrang-edu/CodePlay | src/database/Operator.java | 7434 | import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.ArrayList;
import javax.swing.JFileChooser;
imp... | agpl-3.0 |
romain-li/edx-platform | cms/djangoapps/contentstore/tests/test_tasks.py | 4041 | """
Unit tests for course import and export Celery tasks
"""
from __future__ import absolute_import, division, print_function
import copy
import json
import mock
from uuid import uuid4
from django.conf import settings
from django.contrib.auth.models import User
from django.test.utils import override_settings
from us... | agpl-3.0 |
dukedorje/dreamcatcher | app/assets/javascripts/dreamcatcher-jmvc/scripts/docs.js | 155 | //js cookbook/scripts/doc.js
load('steal/rhino/steal.js');
steal.plugins("documentjs").then(function(){
DocumentJS('dreamcatcher/dreamcatcher.html');
}); | agpl-3.0 |
zamentur/owncloud-file-licence | tests/js/unit/controllers/maincontrollerSpec.js | 1163 |
/**
* ownCloud - Files Licencewizard app
*
* @author Valentin GRIMAUD
*
* @copyright 2013 Valentin GRIMAUD <valentin@grimaud.me>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Fo... | agpl-3.0 |
vvfosprojects/sovvf | src/frontend/prototipi/cruscottoIntegratoSB/src/app/layout/bs-component/bs-component.module.ts | 1346 | import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { BsComponentRoutingModule } from './bs-component-routing.module';
import { BsComponentComponent } ... | agpl-3.0 |
diederikd/DeBrug | languages/ObjectiefRecht/source_gen/ObjectiefRecht/editor/RechtsSubject_EditorBuilder_a.java | 29540 | package ObjectiefRecht.editor;
/*Generated by MPS */
import jetbrains.mps.editor.runtime.descriptor.AbstractEditorBuilder;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.openapi.editor.EditorContext;
import jetbrains.mps.openapi.editor.cells.EditorCell;
im... | agpl-3.0 |
befair/soulShape | wp/soulshape.earth/wp-content/plugins/users-ultra/xooclasses/xoo.userultra.class.php | 112568 | <?php
class XooUserUltra
{
public $classes_array = array();
public $registration_fields;
public $login_fields;
public $fields;
public $allowed_inputs;
public $use_captcha = "no";
var $_aPostableTypes = array(
'post',
'page',
'attachment',
);
public function __co... | agpl-3.0 |
eBay-Opportunity-Hack-Chennai-2014/Chennai_Street_Fix | web/js/map-OpenLayers.js | 23447 | // This function might be passed either an OpenLayers.LonLat (so has
// lon and lat) or an OpenLayers.Geometry.Point (so has x and y)
function fixmystreet_update_pin(lonlat) {
lonlat.transform(
fixmystreet.map.getProjectionObject(),
new OpenLayers.Projection("EPSG:4326")
);
document.getEleme... | agpl-3.0 |
pollopolea/core | lib/l10n/nl.js | 19116 | OC.L10N.register(
"lib",
{
"Cannot write into \"config\" directory!" : "Kan niet schrijven naar de \"config\" directory!",
"This can usually be fixed by giving the webserver write access to the config directory" : "Dit kan hersteld worden door de webserver schrijfrechten te geven op de de config directo... | agpl-3.0 |
ComPlat/chemotion_ELN | app/packs/src/admin/MessagePublish.js | 2932 | import React from 'react';
import ReactDOM from 'react-dom';
import { FormGroup, ControlLabel, FormControl, Button, Panel } from 'react-bootstrap';
import Select from 'react-select';
import MessagesFetcher from '../components/fetchers/MessagesFetcher';
export default class MessagePublish extends React.Component {
c... | agpl-3.0 |
astrobin/astrobin | astrobin/static/astrobin/ckeditor/plugins/a11yhelp/dialogs/lang/et.js | 4924 | /**
* @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang( 'a11yhelp', 'et', {
title: 'Hõlbustuste kasutamise juhised',
contents: 'Abi sisu. Selle dialoogi sulgemiseks va... | agpl-3.0 |
lairdubois/lairdubois | src/Ladb/CoreBundle/Controller/Core/ResourceController.php | 489 | <?php
namespace Ladb\CoreBundle\Controller\Core;
use Symfony\Component\Routing\Annotation\Route;
use Ladb\CoreBundle\Controller\AbstractController;
use Ladb\CoreBundle\Handler\ResourceUploadHandler;
/**
* @Route("/resources")
*/
class ResourceController extends AbstractController {
/**
* @Route("/upload", name... | agpl-3.0 |
chk1/openmensa | vendor/assets/javascripts/leaflet.markercluster.js | 74547 | /*
Leaflet.markercluster, Provides Beautiful Animated Marker Clustering functionality for Leaflet, a JS library for interactive maps.
https://github.com/Leaflet/Leaflet.markercluster
(c) 2012-2013, Dave Leaver, smartrak
*/
(function (window, document, undefined) {
/*
* L.MarkerClusterGroup extends L.Featur... | agpl-3.0 |
24eme/AVA | project/plugins/acVinTiragePlugin/lib/model/Tirage/Tirage.class.php | 9101 | <?php
/**
* Model for Tirage
*
*/
class Tirage extends BaseTirage implements InterfaceDeclarantDocument, InterfaceDeclaration, InterfacePieceDocument {
protected $declarant_document;
protected $piece_document = null;
public function __construct() {
parent::__construct();
$this->initDoc... | agpl-3.0 |
maestrano/processmaker | workflow/engine/methods/cases/debug_triggers.php | 2378 | <?php
if (isset( $_SESSION['TRIGGER_DEBUG']['info'] )) {
$aTriggers = $_SESSION['TRIGGER_DEBUG']['info'];
} else {
$aTriggers[0] = $_SESSION['TRIGGER_DEBUG'];
}
//print_r($aTriggers);die;
$triggersList = Array ();
$i = 0;
foreach ($aTriggers as $aTrigger) {
if ($aTrigger['NUM_TRIGGERS'] != 0) {
f... | agpl-3.0 |
mwwscott0/WoWAnalyzer | src/Parser/HolyPaladin/Modules/PaladinCore/BeaconHealOriginMatcher.js | 8527 | import SPELLS from 'common/SPELLS';
import Module from 'Parser/Core/Module';
import Combatants from 'Parser/Core/Modules/Combatants';
import BeaconTargets from './BeaconTargets';
import { BEACON_TRANSFERING_ABILITIES, BEACON_TYPES } from '../../Constants';
import LightOfDawn from './LightOfDawn';
const debug = false... | agpl-3.0 |
PUMNL/nl.pum.expenseclaims | api/v3/ClaimLineLog/Get.php | 3724 | <?php
/**
* ClaimLineLog.Get API specification (optional)
* This is used for documentation and validation.
*
* @param array $spec description of fields supported by this API call
* @return void
* @see http://wiki.civicrm.org/confluence/display/CRM/API+Architecture+Standards
*/
function _civicrm_api3_claim_line_... | agpl-3.0 |
ethanlim/MinorityViewport | Algorithms/MinorityViewportAlgo.cpp | 18976 | #include "MinorityViewportAlgo.h"
using namespace std;
namespace MinorityViewport{
MinorityViewportAlgo::MinorityViewportAlgo(Timer *curTime,ClientsList *clients)
:_curTime(curTime),_clients(clients)
{
//Create the global scene
this->_globalScene = new Scene(10,10,10,curTime);
}
MinorityViewportAlgo::~Min... | agpl-3.0 |
jcamins/biblionarrator | src/graphworker/tasks/mapper.js | 5920 | "use strict";
var environment = require('../../lib/environment'),
graphstore = environment.graphstore,
g = graphstore.g,
async = require('async');
module.exports = function (input, callback) {
var list = new g.ArrayList();
var recordtypes = new g.ArrayList();
input.depth = input.depth || 1;
... | agpl-3.0 |
wujf/rethinkdb | src/rdb_protocol/datum_stream.cc | 45289 | // Copyright 2010-2013 RethinkDB, all rights reserved.
#include "rdb_protocol/datum_stream.hpp"
#include <map>
#include "boost_utils.hpp"
#include "rdb_protocol/batching.hpp"
#include "rdb_protocol/env.hpp"
#include "rdb_protocol/func.hpp"
#include "rdb_protocol/term.hpp"
#include "rdb_protocol/val.hpp"
#include "uti... | agpl-3.0 |
MartinHaeusler/chronos | org.chronos.benchmarks/src/test/java/org/chronos/benchmarks/chronosphere/itlandscape/ItLandscapeBenchmark.java | 19806 | package org.chronos.benchmarks.chronosphere.itlandscape;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import org.apache.commons.io.IOUtils;
import org.chronos.benchmarks.util.BenchmarkUtils;
import org.chronos.chronodb.api.Order;
import org.chronos.chronodb.internal.api.Chron... | agpl-3.0 |
jdpage/caesura | caesura/server/web/server.py | 3455 | """HTTP server component.
"""
__author__ = "Jonathan David Page"
__copyright__ = "Copyright 2014, Jonathan David Page"
import logging
import asyncio
from aiohttp.server import ServerHttpProtocol
import aiohttp
import time
from werkzeug.routing import Map, Rule, NotFound, RequestRedirect
from . import api
logger = log... | agpl-3.0 |
veo-labs/openveo-core | app/client/admin/js/ov/ApplicationController.js | 6218 | 'use strict';
(function(app) {
/**
* Defines the user controller for the user page.
*/
function ApplicationController($scope, $filter, entityService, scopes) {
var entityType = 'applications';
/**
* Translates name and description of each scope.
*/
function translateScopes() {
a... | agpl-3.0 |
swalladge/hit326-project | src/Model/Entity/OpeningHour.php | 687 | <?php
namespace App\Model\Entity;
use Cake\ORM\Entity;
/**
* OpeningHour Entity
*
* @property int $id
* @property int $weekday
* @property string $start_time
* @property string $end_time
*/
class OpeningHour extends Entity
{
/**
* Fields that can be mass assigned using newEntity() or patchEntity().
... | agpl-3.0 |
StartupdotSC/Lemyr | app/models/user_status.rb | 453 | class UserStatus < ActiveRecord::Base
belongs_to :user
belongs_to :checkin_status
attr_accessible :checkin, :checkin_status_id, :comment, :user_id, :user
def self.get_currently_checked_in()
checkins = []
User.where("last_status_id IS NOT NULL").each do |u|
status = UserStatus.find(u.last_statu... | agpl-3.0 |
RojavaCrypto/libbitcoin-c | include/bitcoin/bitcoin/c/internal/chain/script/operation.hpp | 1576 | /**
* Copyright (c) 2011-2016 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* libbitcoin is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free Software
* Fo... | agpl-3.0 |
Vauxoo/stock-logistics-warehouse | stock_request_kanban/tests/test_inventory_kanban.py | 4353 | # Copyright 2017 Creu Blanca
# Copyright 2017 Eficent Business and IT Consulting Services, S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
from .base_test import TestBaseKanban
class TestKanban(TestBaseKanban):
def setUp(self):
super().setUp()
self.main_company = self.e... | agpl-3.0 |
strongswan/strongTNC | apps/swid/migrations/0003_tag_version.py | 479 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('packages', '__first__'),
('swid', '0002_rename_to_version_str'),
]
operations = [
migrations.AddField(
m... | agpl-3.0 |
helloimcasper/GalaxyEmulator | galaxy.core/habbolib/catalog/CatalogPage.cs | 4592 | using System.Collections.Generic;
namespace galaxy.core.habbolib.catalog
{
public class CatalogPage
{
private int _id;
private int _parentId;
private string _caption;
private string _pageLink;
private int _icon;
private int _minRank;
private int _minVIP;... | agpl-3.0 |
precog/labcoat-legacy | js/ace/mode/css_worker.js | 4644 | /*
* _ _ _
* | | | | | |
* | | __ _| |__ ___ ___ __ _| |_ Labcoat (R)
* | |/ _` | '_ \ / __/ _ \ / _` | __| Powerful development environment for Quirrel.
* | | (_| | |_) | (_| (_) | (_| | |_ Copyright (C) 2010 - 2013... | agpl-3.0 |
Netsend/mastersync | lib/versioned_system.js | 34264 | /**
* Copyright 2014 Netsend.
*
* This file is part of Mastersync.
*
* Mastersync 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
*... | agpl-3.0 |
fronteerio/grasshopper | node_modules/gh-core/lib/api.js | 8346 | /**
* Copyright (c) 2015 "Fronteer LTD"
* Grasshopper Event Engine
*
* 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 late... | agpl-3.0 |
vivekdevrari/litecrm | cache-old/smarty/templates_c/%%E1^E11^E112718D%%en_us.DetailView.tpl.php | 5146 | <?php /* Smarty version 2.6.29, created on 2016-10-17 16:35:45
compiled from include/SugarFields/Fields/Address/en_us.DetailView.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'sugarvar_connector', 'include/SugarField... | agpl-3.0 |